/* ==========================================================================
   Prominent Property — site styles
   Warm, editorial design system inspired by modern interior studios.
   ========================================================================== */

:root {
  --ink: #0e0e0e;
  --ink-2: #151515;
  --paper: #ffffff;
  --sand: #fbf9f5;
  --stone: #585858;
  --muted: #bfbfbf;
  --line: #e8e5df;
  --line-dark: rgba(255, 255, 255, 0.16);
  --teal: #4e888f;
  --max: 1320px;
  --pad: clamp(1.25rem, 4.2vw, 3.75rem);
  --ease: cubic-bezier(0.22, 0.7, 0.25, 1);
  --nav-h: 64px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--teal);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 400;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--ink);
  border-radius: 6px;
  font-size: 0.9rem;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.container--narrow {
  max-width: 1120px;
}

.section {
  position: relative;
  padding-block: clamp(2rem, 4vw, 3rem)
}

.section--sand {
  background: var(--sand);
}

.section--dark {
  background: var(--ink);
  color: #fff;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

h1,
h2,
h3,
h4,
p,
figure {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.h3 {
  font-size: clamp(2rem, 3.4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--stone);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--stone);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.72rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #fff;
  color: #111;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s,
    color 0.25s, border-color 0.25s;
}

.btn:hover {
  transform: scale(0.97);
}

.btn svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: #2a2a2a;
}

.btn--ghost {
  background: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--nav {
  min-height: 40px;
  padding: 0.6rem 1.15rem;
  font-size: 0.85rem;
  border-radius: 7px;
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 0 clamp(0.75rem, 2.5vw, 1.5rem);
  transition: padding 0.3s var(--ease);
}

.nav-shell {
  max-width: 1080px;
  margin-inline: auto;
  background: rgba(12, 12, 12, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled .nav-shell {
  background: rgba(10, 10, 10, 0.9);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-h);
  padding: 0 12px 0 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: #fff;
}

.brand img {
  width: auto;
  height: 30px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
}

.brand-text span {
  margin-top: 0.32rem;
  font-size: 0.54rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 2.1rem);
}

.nav-link {
  position: relative;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link[aria-expanded="true"] {
  color: #fff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.nav-dropdown-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 0.25s var(--ease);
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  min-width: 224px;
  padding: 0.45rem;
  background: #141414;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease),
    visibility 0.25s;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  transition: background-color 0.2s, color 0.2s;
}

.nav-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.menu-toggle {
  display: none;
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.12);
  flex: 0 0 42px;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  margin-left: -9px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 20px;
}

.menu-toggle span:nth-child(3) {
  top: 25px;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem var(--pad) 2rem;
  background: var(--ink);
  color: #fff;
  transform: translateY(-102%);
  visibility: hidden;
  transition: transform 0.55s var(--ease), visibility 0.55s;
}

.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
}

.mobile-nav a {
  padding: 0.5rem 0;
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav a:hover {
  color: #fff;
}

.mobile-menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.mobile-menu-foot a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Section headers
   -------------------------------------------------------------------------- */

.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
}

.section-head--dark {
  border-color: var(--line-dark);
}

.section-tag {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-shrink: 0;
}

.section-tag .num {
  font-size: clamp(2.4rem, 4.5vw, 4.25rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.06em;
}

.section-tag .label {
  padding-top: 0.3rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--stone);
}

.section-head--dark .label {
  color: rgba(255, 255, 255, 0.55);
}

.section-note {
  max-width: 300px;
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--stone);
}

.section-head--dark .section-note {
  color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #1a1a1a;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  transform: scale(1.08);
  animation: hero-zoom 22s var(--ease) forwards;
}

@keyframes hero-zoom {
  from {
    transform: scale(1.12);
  }
  to {
    transform: scale(1.02);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.66) 0%,
    rgba(8, 8, 8, 0.3) 38%,
    rgba(8, 8, 8, 0.8) 100%
  );
}

.hero-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 7rem;
  padding-bottom: 2rem;
  text-align: center;
}

.hero-inner > * {
  animation: hero-rise 0.9s var(--ease) both;
}

.hero-inner > :nth-child(1) { animation-delay: 0.05s; }
.hero-inner > :nth-child(2) { animation-delay: 0.13s; }
.hero-inner > :nth-child(3) { animation-delay: 0.21s; }
.hero-inner > :nth-child(4) { animation-delay: 0.29s; }

.hero-stats {
  animation: hero-rise 0.9s var(--ease) 0.37s both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 1.4rem;
}

.hero h1 {
  max-width: 1050px;
  font-size: clamp(2.9rem, 7.2vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}

.hero-sub {
  max-width: 620px;
  margin: 1.6rem auto 2.2rem;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.hero-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.4rem var(--pad) 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-stat {
  padding: 0.25rem clamp(0.5rem, 2vw, 1.5rem);
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-stat:first-child {
  border-left: 0;
}

.hero-stat strong {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.hero-stat span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about {
  background: var(--sand);
}

.about-title {
  max-width: 760px;
  margin-top: clamp(3rem, 6vw, 3rem);
  margin-left: 19%;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 8vw, 8rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-left: 19%;
}

.about-copy p {
  max-width: 36rem;
  color: var(--stone);
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  line-height: 1.6;
}

.about-copy--right {
  padding-top: clamp(3rem, 8vw, 1rem);
}

.about-figure {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e7e3dc;
}

.about-figure--right img {
  aspect-ratio: 1 / 1;
}

.about-figure figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding-top: 0.7rem;
  border-top: 1px solid var(--line);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.about-figure figcaption span:last-child {
  color: #6b6b6b;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Approach / numbers
   -------------------------------------------------------------------------- */

.approach-top {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.approach-quote {
  max-width: 840px;
  font-size: clamp(1.9rem, 3.8vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.approach-copy {
  max-width: 380px;
  margin-left: auto;
  color: var(--stone);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}

.stat {
  padding: 1.5rem clamp(1rem, 2vw, 1.5rem) 0 0;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  padding-left: 0;
  border-left: 0;
}

.stat strong {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat span {
  display: block;
  max-width: 13rem;
  margin-top: 0.65rem;
  color: var(--stone);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Featured work
   -------------------------------------------------------------------------- */

.work {
  background: var(--ink);
  color: #fff;
}

.work-top {
  display: grid;
  grid-template-columns: 1.45fr 0.7fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.work-top h2 {
  max-width: 820px;
}

.work-intro {
  max-width: 360px;
  justify-self: end;
}

.work-intro p {
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  line-height: 1.55;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem) clamp(2rem, 8vw, 9rem);
  margin-top: clamp(3rem, 7vw, 6rem);
}

.work-card:nth-child(2) {
  margin-top: clamp(2rem, 4vw, 2rem);
}

.work-card:nth-child(3) {
  margin-top: -1rem;
}

.work-card:nth-child(4) {
  margin-top: clamp(1rem, 3vw, 3rem);
}

.work-media {
  display: block;
  overflow: hidden;
  background: #1a1a1a;
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

/*.work-card:nth-child(1) .work-media {
  aspect-ratio: 16 / 10;
}*/

.work-card:nth-child(2) .work-media {
  aspect-ratio: 1 / 1;
}

.work-card:nth-child(3) .work-media {
  aspect-ratio: 4 / 3;
}

.work-card:nth-child(4) .work-media {
  aspect-ratio: 16 / 10;
}

.work-card:hover .work-media img {
  transform: scale(1.04);
}

.work-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-dark);
}

.work-meta h3 {
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.work-meta p {
  margin-top: 0.35rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.work-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding-top: 0.15rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.work-link:hover {
  color: #fff;
}

.work-link svg {
  width: 12px;
  height: 12px;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 7rem);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.process-heading {
  max-width: 520px;
}

.process-intro p {
  max-width: 360px;
  margin-top: 1.5rem;
  color: var(--stone);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.6;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-item {
  display: grid;
  grid-template-columns: 36px 120px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}

.process-item > .num {
  padding-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--stone);
}

.process-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #eeeae4;
}

.process-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.process-item:hover .process-thumb img {
  transform: scale(1.05);
}

.process-body h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}

.process-body p {
  max-width: 34rem;
  margin-top: 0.5rem;
  color: var(--stone);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-heading {
  max-width: 760px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.faq-list {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
  padding: 1.35rem 0;
  text-align: left;
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

.faq-q:hover {
  color: var(--teal);
}

.faq-icon {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}

.faq-icon::before {
  top: 8px;
  left: 0;
  width: 18px;
  height: 1.5px;
}

.faq-icon::after {
  top: 0;
  left: 8px;
  width: 1.5px;
  height: 18px;
}

.faq-item.is-open .faq-icon::after {
  transform: scaleY(0);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

.faq-a p {
  max-width: 54rem;
  padding: 0 0 1.5rem;
  color: var(--stone);
  font-size: 1rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact CTA
   -------------------------------------------------------------------------- */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86vh;
  padding-block: clamp(4rem, 8vw, 7rem);
  overflow: hidden;
  color: #fff;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.42),
    rgba(8, 8, 8, 0.64)
  );
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.glass-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(340px, 42vw, 460px);
  padding: clamp(2rem, 4vw, 3.5rem);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.05)
  );
  border: 1px solid rgba(255, 255, 255, 0.28);
  -webkit-backdrop-filter: blur(26px) saturate(115%);
  backdrop-filter: blur(26px) saturate(115%);
}

.glass-card .eyebrow {
  color: rgba(255, 255, 255, 0.68);
}

.glass-card h2 {
  max-width: 520px;
  margin-top: 1.5rem;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.glass-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  margin-top: 2.5rem;
}

.glass-actions .phone {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.glass-actions .phone:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: #fff;
  padding-top: clamp(4rem, 7vw, 6rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: clamp(3rem, 7vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.footer-title {
  max-width: 430px;
  font-size: clamp(2.2rem, 3.8vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.footer-note {
  max-width: 300px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
}

.footer-col a,
.footer-col span {
  display: block;
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-wordmark {
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: clamp(0.5rem, 1.5vw, 1rem);
  border-top: 1px solid var(--line-dark);
}

.footer-wordmark .word {
  font-size: clamp(3.2rem, 14.2vw, 6rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: #fff;
}

.footer-wordmark .word::after {
  content: "";
  display: inline-block;
  width: 0.095em;
  height: 0.095em;
  margin-left: 0.035em;
  background: var(--teal);
  vertical-align: baseline;
  transform: translateY(-0.02em);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.52);
}

/* --------------------------------------------------------------------------
   Gallery pages
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 72vh;
  padding: 9rem 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  color: #fff;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 8, 0.55) 0%,
    rgba(8, 8, 8, 0.32) 45%,
    rgba(8, 8, 8, 0.82) 100%
  );
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs [aria-current="page"] {
  color: rgba(255, 255, 255, 0.9);
}

.page-hero .eyebrow {
  display: block;
  margin-bottom: 1.1rem;
}

.page-hero h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.page-hero p {
  max-width: 560px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.55;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.75rem;
  margin-top: 2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.gallery-section {
  background: var(--sand);
}

.gallery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.1rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
}

.gallery-head p {
  max-width: 420px;
  color: var(--stone);
  font-size: 0.95rem;
}

.gallery-count {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}

.gallery-grid {
  columns: 3;
  column-gap: clamp(0.75rem, 1.4vw, 1.25rem);
}

.gallery--accent .gallery-grid {
  columns: 2;
}

.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 clamp(0.75rem, 1.4vw, 1.25rem);
  padding: 0;
  overflow: hidden;
  break-inside: avoid;
  background: #e9e6e0;
  text-align: left;
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: auto;
  transition: transform 0.8s var(--ease);
}

.gallery--drywall .gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery--drywall .gallery-item:nth-child(4n + 2) img {
  aspect-ratio: 3 / 4;
}

.gallery--drywall .gallery-item:nth-child(4n + 3) img {
  aspect-ratio: 1 / 1;
}

.gallery--drywall .gallery-item:nth-child(4n + 4) img {
  aspect-ratio: 16 / 10;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 2.5rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  color: #fff;
  font-size: 0.78rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: none;
}

.gallery-caption .idx {
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.65);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(6, 6, 6, 0.97);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
}

.lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 76vh;
  margin-inline: auto;
  object-fit: contain;
}

.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.lightbox-counter {
  flex-shrink: 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  transition: background-color 0.2s, border-color 0.2s;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-close svg,
.lightbox-nav svg {
  width: 18px;
  height: 18px;
}

/* --------------------------------------------------------------------------
   Mini CTA (gallery pages)
   -------------------------------------------------------------------------- */

.mini-cta {
  padding-block: clamp(3.5rem, 6vw, 5rem);
  background: var(--ink);
  color: #fff;
}

.mini-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.mini-cta h2 {
  max-width: 640px;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.mini-cta .eyebrow {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.55);
}

.mini-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------------------------------------------------------------------------
   Contact modal
   -------------------------------------------------------------------------- */

body.modal-open {
  overflow: hidden;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(8, 8, 8, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.contact-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal__panel {
  position: relative;
  width: min(640px, 100%);
  max-height: calc(100svh - clamp(2rem, 8vw, 5rem));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: clamp(1.75rem, 4.5vw, 3rem);
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(16px) scale(0.985);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.contact-modal.is-open .contact-modal__panel {
  opacity: 1;
  transform: none;
}

.contact-modal__close {
  position: absolute;
  top: clamp(0.9rem, 2.5vw, 1.35rem);
  right: clamp(0.9rem, 2.5vw, 1.35rem);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.contact-modal__close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.contact-modal__close svg {
  width: 16px;
  height: 16px;
}

.contact-modal__head {
  padding-right: 3rem;
}

.contact-modal__head .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--teal);
}

.contact-modal__head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.contact-modal__desc {
  max-width: 42ch;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--stone);
}

.contact-form {
  margin-top: 2rem;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
}

.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--stone);
}

.field label span {
  color: var(--teal);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.82rem 0.95rem;
  font: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: 7px;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(78, 136, 143, 0.18);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
  line-height: 1.55;
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #a33a2e;
  background: #fff8f6;
}

.field__error {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #a33a2e;
}

.field__error:empty {
  display: none;
}

.contact-form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__status {
  margin: 0.25rem 0 1rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #a33a2e;
  background: #fff8f6;
  border: 1px solid rgba(163, 58, 46, 0.25);
  border-radius: 7px;
}

.contact-form__status:empty {
  display: none;
}

.contact-form__submit {
  width: 100%;
  min-height: 50px;
  border-radius: 8px;
  font-size: 0.95rem;
}

.contact-form__submit[disabled] {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.contact-form__submit.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: contact-spin 0.7s linear infinite;
}

.contact-form__submit.is-loading svg {
  display: none;
}

@keyframes contact-spin {
  to {
    transform: rotate(360deg);
  }
}

.contact-form__note {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
  color: var(--stone);
}

.contact-form__note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form__note a:hover {
  color: var(--ink);
}

.contact-success {
  padding-top: 0.25rem;
}

.contact-success__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: rgba(78, 136, 143, 0.12);
  color: var(--teal);
}

.contact-success__icon svg {
  width: 26px;
  height: 26px;
}

.contact-success h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.contact-success h2:focus {
  outline: none;
}

.contact-success p {
  max-width: 42ch;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--stone);
}

.contact-success .btn {
  margin-top: 2rem;
}

@media screen and (max-width: 559px) {
  .contact-modal {
    padding: 0.75rem;
  }

  .contact-modal__panel {
    max-height: calc(100svh - 1.5rem);
    padding: 1.75rem 1.35rem;
    border-radius: 12px;
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .field textarea {
    min-height: 118px;
  }
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg img {
    animation: none;
    transform: scale(1.02);
  }

  .hero-inner > *,
  .hero-stats {
    animation: none;
    opacity: 1;
    transform: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media screen and (max-width: 1100px) {
  .about-title,
  .about-grid {
    margin-left: 12%;
    padding-left: 0;
  }

  .about-grid {
    padding-left: 12%;
  }
}

@media screen and (max-width: 991px) {
  .about-title {
    margin-left: 0;
  }

  .about-grid {
    margin-left: 0;
    padding-left: 0;
  }

  .work-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .work-intro {
    max-width: 480px;
    justify-self: start;
  }

  .process-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .process-intro p {
    max-width: 560px;
  }

  .cta-grid {
    grid-template-columns: 1fr;
  }

  .glass-card {
    min-height: 300px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 860px) {
  .nav-links,
  .btn--nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-inner {
    padding-right: 10px;
  }
}

@media screen and (max-width: 767px) {
  .hero {
    min-height: 100svh;
  }

  .hero-inner {
    padding-top: 6rem;
  }

  .hero-stats {
    padding-bottom: 1.5rem;
  }

  .hero-stat span {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-copy--right {
    padding-top: 2rem;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
    border-top: 0;
  }

  .stat {
    padding: 1.5rem 1rem 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .stat:nth-child(even) {
    padding-left: 1rem;
    border-left: 1px solid var(--line);
  }

  .stat:first-child,
  .stat:nth-child(2) {
    padding-top: 0;
  }

  .work-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .work-card:nth-child(2),
  .work-card:nth-child(3),
  .work-card:nth-child(4) {
    margin-top: 0;
  }

  .work-card:nth-child(2) .work-media,
  .work-card:nth-child(3) .work-media,
  .work-card:nth-child(4) .work-media {
    aspect-ratio: 4 / 3;
  }

  .process-item {
    grid-template-columns: 28px 100px 1fr;
    gap: 1rem;
  }

  .gallery-grid,
  .gallery--accent .gallery-grid {
    columns: 2;
  }

  .page-hero {
    min-height: 66vh;
    padding-top: 8rem;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media screen and (max-width: 559px) {
  .brand-text strong {
    font-size: 0.68rem;
  }

  .brand-text span {
    font-size: 0.48rem;
  }

  .section-head {
    flex-direction: column;
    gap: 1rem;
  }

  .section-note {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 11.5vw, 3.4rem);
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .hero-stat strong {
    font-size: 1.65rem;
  }

  .hero-stat span {
    font-size: 0.54rem;
  }

  .work-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .process-item {
    grid-template-columns: 26px 1fr;
  }

  .process-thumb {
    display: none;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
    font-size: 0.7rem;
  }

  .gallery-head {
    flex-direction: column;
    gap: 0.75rem;
  }

  .mini-cta-inner {
    align-items: flex-start;
  }

  .footer-wordmark .word {
    font-size: clamp(2.8rem, 13.6vw, 5rem);
  }
}

@media screen and (max-width: 479px) {
  .nav-inner {
    padding-left: 14px;
  }

  .brand img {
    height: 26px;
  }

  .hero-stat span {
    letter-spacing: 0.08em;
  }

  .about-figure figcaption {
    font-size: 0.62rem;
  }

  .glass-card {
    min-height: 0;
    padding: 1.75rem;
  }

  .glass-card h2 {
    font-size: 2rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 1.25rem;
    transform: none;
  }

  .lightbox-prev {
    left: 1.25rem;
  }

  .lightbox-next {
    right: 1.25rem;
  }

  .lightbox-figure {
    max-height: 74vh;
  }

  .lightbox-image {
    max-height: 64vh;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (hover: none) {
  .gallery-caption {
    opacity: 1;
    transform: none;
  }
}
