/* ==========================================================================
   GXI Designs — Design Build Solutions
   Black · White · Gold
   ========================================================================== */

:root {
  --black: #0b0b0b;
  --ink: #121212;
  --char: #1a1a1a;
  --white: #ffffff;
  --paper: #f1f0ed;
  --stone: #e7e5e1;
  --text-dark: #1c1c1c;
  --mute-dark: #5f5d58;
  --mute-light: #b9b6ae;
  --gold: #c8a45d;
  --gold-soft: #d9bd82;
  --gold-deep: #a9853f;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(0, 0, 0, 0.14);

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --header-h: 92px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
section[id], [id="top"] { scroll-margin-top: calc(var(--header-h) - 1px); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}
.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200; background: var(--gold); color: var(--black);
  padding: 10px 16px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; transition: top .2s;
}
.skip:focus { top: 12px; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* ---------- Shared type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow .num {
  font-family: var(--serif); font-size: 18px; letter-spacing: .05em; color: inherit;
  padding-right: 14px; border-right: 1px solid currentColor; line-height: 1;
}
.gold-rule {
  display: block; width: 80px; height: 2px; background: var(--gold);
  margin: 26px 0 28px;
}
.center { text-align: center; }
.center .gold-rule { margin-left: auto; margin-right: auto; }
.center .eyebrow { justify-content: center; }
.muted { color: var(--mute-light); }

/* ---------- Buttons ---------- */
.btn {
  --bc: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 50px; padding: 0 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1.5px solid var(--bc); color: var(--white); background: transparent;
  cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); transform-origin: left; }
.btn-outline:hover, .btn-outline:focus-visible { color: var(--black); }
.btn-gold { background: var(--gold); color: var(--black); }
.btn-gold::before { background: var(--white); }
.btn-gold:hover { border-color: var(--white); }
.btn-dark-outline { --bc: var(--black); color: var(--black); }
.btn-dark-outline::before { background: var(--black); }
.btn-dark-outline:hover, .btn-dark-outline:focus-visible { color: var(--gold); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

.chev {
  width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  transform: rotate(45deg); transition: transform .3s var(--ease); margin-left: -2px;
}
.btn:hover .chev { transform: translateX(4px) rotate(45deg); }

/* ---------- Marble texture ---------- */
.marble {
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1800' height='1200'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.00175 .006' numOctaves='5' seed='8' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55  0 0 0 0 .54  0 0 0 0 .52  0 0 0 -7 3.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)' opacity='.22'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #f6f5f2 0%, #ecebe7 55%, #f3f2ef 100%);
  background-size: 1800px 1200px, cover;
  color: var(--text-dark);
}
.dark { background: var(--black); color: var(--white); }
.light { background: var(--white); color: var(--text-dark); }
.light .muted { color: var(--mute-dark); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  background: rgba(11, 11, 11, 0.96);
  border-bottom: 1px solid var(--line-dark);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
  padding-top: env(safe-area-inset-top);
}
@supports (backdrop-filter: blur(10px)) {
  .site-header { background: rgba(11, 11, 11, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
}
.site-header.is-scrolled { box-shadow: 0 10px 40px rgba(0, 0, 0, .45); }
.header-inner {
  max-width: 1440px; margin: 0 auto; height: var(--header-h);
  padding: 0 var(--pad); display: flex; align-items: center; gap: 40px;
}

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; flex-shrink: 0; }
.logo-mark {
  font-family: var(--serif); font-weight: 600; font-size: 46px; letter-spacing: -0.02em; color: var(--white);
}
.logo-sub {
  display: flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: 10px; letter-spacing: .5em; text-transform: lowercase; color: var(--mute-light); padding-left: .5em;
}
.logo-sub::before, .logo-sub::after { content: ""; width: 22px; height: 1px; background: var(--mute-light); opacity: .7; }

.main-nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); margin: 0 auto; }
.main-nav > a {
  position: relative; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 0; color: var(--white); transition: color .3s;
}
.main-nav > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold);
  transform: scaleX(0); transition: transform .35s var(--ease);
}
.main-nav > a:hover, .main-nav > a.is-active { color: var(--gold); }
.main-nav > a:hover::after, .main-nav > a.is-active::after { transform: scaleX(1); }
.nav-mobile-extra { display: none; }

.header-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex-shrink: 0; }
.phone { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: .04em; }
.phone svg { width: 16px; height: 16px; fill: var(--white); }
.phone:hover { color: var(--gold); }
.phone:hover svg { fill: var(--gold); }
.header-cta .btn-sm { min-height: 38px; font-size: 11px; padding: 0 20px; }

.menu-toggle {
  display: none; width: 44px; height: 44px; margin-left: auto; background: none; border: 1px solid var(--line-dark);
  cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent;
}
.menu-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--white);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 17px; }
.menu-toggle span:nth-child(2) { top: 25px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; min-height: min(100svh, 900px); min-height: max(640px, min(100svh, 900px));
  display: flex; align-items: center; overflow: hidden;
  padding: calc(var(--header-h) + 60px + env(safe-area-inset-top)) 0 90px;
  background: var(--black);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%;
  animation: heroZoom 18s var(--ease) both;
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.0); } }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.62) 32%, rgba(8,8,8,.12) 62%, rgba(8,8,8,0) 80%),
    linear-gradient(180deg, rgba(8,8,8,.45) 0%, rgba(8,8,8,0) 26%, rgba(8,8,8,0) 72%, rgba(8,8,8,.7) 100%);
}
.hero-content { position: relative; max-width: 1440px; }
.kicker {
  font-size: clamp(12px, 1.3vw, 17px); font-weight: 400; letter-spacing: .42em; text-transform: uppercase; margin-bottom: 22px;
}
.kicker i { font-style: normal; color: var(--gold); padding: 0 .4em; }
.hero-title {
  font-family: var(--serif); font-weight: 500; text-transform: uppercase;
  font-size: clamp(54px, 9.2vw, 132px); line-height: .9; letter-spacing: 0.005em;
  text-shadow: 0 4px 40px rgba(0,0,0,.35);
}
.hero-sub {
  margin-top: 22px; font-size: clamp(13px, 1.75vw, 23px); font-weight: 400;
  letter-spacing: .52em; text-transform: uppercase;
}
.hero .gold-rule { width: 84px; margin: 34px 0 30px; }
.hero-lede { max-width: 470px; font-size: clamp(15px, 1.3vw, 18px); font-weight: 300; line-height: 1.7; color: #ecebe8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 38px; }

.anim { opacity: 0; transform: translateY(26px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
.hero .gold-rule.anim { transform: scaleX(0); transform-origin: left; animation-name: grow; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { opacity: 1; transform: scaleX(1); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80%, 100% { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   Capability strip
   ========================================================================== */
.capabilities { border-bottom: 1px solid var(--line-light); }
.cap-list { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 34px; padding-bottom: 34px; }
.cap-list li {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; text-align: center;
  padding: 10px 16px; position: relative;
}
.cap-list li + li::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 1px; background: rgba(0,0,0,.28);
}
.cap-list svg {
  width: 56px; height: 56px; fill: none; stroke: var(--text-dark); stroke-width: 1.4; stroke-linejoin: round; stroke-linecap: round;
  transition: stroke .35s, transform .5s var(--ease);
}
.cap-list li:hover svg { stroke: var(--gold-deep); transform: translateY(-4px); }
.cap-list span { font-size: 14px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; line-height: 1.5; max-width: 12ch; }

/* ==========================================================================
   Services
   ========================================================================== */
.services { padding: clamp(70px, 9vw, 120px) 0 clamp(60px, 7vw, 90px); }
.services-grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) 2.1fr; gap: clamp(32px, 4vw, 56px); align-items: center; max-width: 1360px; }
.services-intro p:not(.eyebrow) { color: #d6d3cc; font-weight: 300; font-size: 17px; max-width: 380px; margin-bottom: 36px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile {
  position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3;
  border: 1px solid rgba(200,164,93,.22); background: var(--char);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.88); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%);
  transition: opacity .5s;
}
.tile span {
  position: absolute; left: 12px; right: 12px; bottom: 18px; z-index: 1; text-align: center;
  font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.45;
  transition: transform .5s var(--ease), color .3s;
}
.tile::before {
  content: ""; position: absolute; inset: 10px; z-index: 2; border: 1px solid var(--gold);
  opacity: 0; transform: scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none;
}
.tile:hover img, .tile:focus-visible img { transform: scale(1.07); filter: brightness(1); }
.tile:hover::before, .tile:focus-visible::before { opacity: 1; transform: scale(1); }
.tile:hover span { transform: translateY(-6px); color: var(--gold-soft); }

.service-index {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 0; max-width: 1360px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--line-dark);
}
.service-index span {
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-light); padding: 0 18px; position: relative;
}
.service-index span + span::before {
  content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; margin-top: -2px;
  background: var(--gold); transform: rotate(45deg);
}

/* ==========================================================================
   Projects gallery
   ========================================================================== */
.projects { padding: clamp(70px, 9vw, 120px) 0; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head .eyebrow { color: var(--gold-deep); }
.dark .section-head .eyebrow { color: var(--gold); }
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(200px, 21vw, 300px); gap: 14px; grid-auto-flow: dense;
}
.g-item { margin: 0; position: relative; overflow: hidden; background: var(--char); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g-item::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75));
  opacity: .9; transition: opacity .5s;
}
.g-item figcaption {
  position: absolute; left: 22px; bottom: 18px; right: 22px; z-index: 1; color: var(--white);
  font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); font-weight: 500; line-height: 1.2;
  transform: translateY(6px); transition: transform .5s var(--ease);
}
.g-item figcaption span {
  display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold-soft); margin-bottom: 6px;
}
.g-item:hover img { transform: scale(1.06); }
.g-item:hover figcaption { transform: none; }

/* ==========================================================================
   Feature (service detail) sections
   ========================================================================== */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 620px; }
.feature-media { position: relative; overflow: hidden; min-height: 360px; }
.feature-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature:hover .feature-media > img { transform: scale(1.03); }
.feature-duo { display: grid; grid-template-rows: 1.35fr 1fr; gap: 4px; }
.feature-duo > img { position: relative; inset: auto; }
.feature-copy {
  padding: clamp(56px, 7vw, 110px) clamp(24px, 6vw, 96px);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  position: relative;
}
.feature-copy::before {
  content: ""; position: absolute; top: clamp(28px, 3.5vw, 48px); bottom: clamp(28px, 3.5vw, 48px);
  left: clamp(18px, 3vw, 44px); width: 1px; background: currentColor; opacity: .12;
}
.feature .display { font-size: clamp(34px, 3.6vw, 50px); max-width: 17ch; }
.feature-copy p:not(.eyebrow) { font-weight: 300; font-size: 17px; max-width: 520px; }
.dark .feature-copy p:not(.eyebrow) { color: #d6d3cc; }
.light .eyebrow { color: var(--gold-deep); }
.ticks { margin: 28px 0 38px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; max-width: 540px; }
.ticks li { position: relative; padding-left: 22px; font-size: 14px; letter-spacing: .02em; line-height: 1.5; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg);
}
.feature-flip .feature-media { order: 2; }
.feature-flip { grid-template-columns: 1fr 1.1fr; }

/* ==========================================================================
   About
   ========================================================================== */
.about {
  display: grid; grid-template-columns: 1.25fr 1fr; position: relative; min-height: 600px;
  border-top: 1px solid rgba(200,164,93,.25);
}
.about-media { position: relative; overflow: hidden; min-height: 380px; }
.about-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, var(--black) 100%);
}
.about-copy { padding: clamp(56px, 6vw, 96px) clamp(24px, 5vw, 80px) clamp(56px, 6vw, 96px) clamp(24px, 3vw, 40px); align-self: center; }
.about-copy p:not(.eyebrow) { font-weight: 300; font-size: 17px; color: #d6d3cc; max-width: 520px; }
.about-copy p.muted { margin-top: 16px; color: var(--mute-light); font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; margin: 34px 0 40px; }
.stats div { border-left: 1px solid var(--gold); padding-left: 16px; }
.stats dt { font-family: var(--serif); font-size: 40px; line-height: 1; color: var(--gold); }
.stats dd { margin: 6px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--mute-light); }

/* ==========================================================================
   Process
   ========================================================================== */
.process { padding: clamp(70px, 8vw, 110px) 0; }
.process .section-head .display { font-size: clamp(36px, 4.4vw, 56px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { text-align: center; padding: 0 clamp(12px, 2vw, 32px); position: relative; }
.step + .step::before {
  content: ""; position: absolute; left: -6px; top: 34px; width: 12px; height: 12px;
  border-top: 1.5px solid var(--text-dark); border-right: 1.5px solid var(--text-dark); transform: rotate(45deg);
}
.step svg {
  width: 72px; height: 72px; margin: 0 auto 18px; fill: none; stroke: var(--text-dark); stroke-width: 1.4;
  stroke-linejoin: round; stroke-linecap: round; transition: stroke .35s, transform .5s var(--ease);
}
.step:hover svg { stroke: var(--gold-deep); transform: translateY(-4px); }
.step-wk { display: block; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.step .step-short { font-size: 16px; line-height: 1.5; margin-bottom: 14px; color: var(--text-dark); }
.step p:not(.step-short) { font-size: 13.5px; color: var(--mute-dark); line-height: 1.65; max-width: 260px; margin: 0 auto; padding-top: 14px; border-top: 1px solid var(--line-light); }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { padding: clamp(70px, 9vw, 120px) 0; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.quote { margin: 0; padding: 44px clamp(20px, 3vw, 40px); display: flex; flex-direction: column; }
.quote + .quote { border-left: 1px solid var(--line-dark); }
.quote-type { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.quote blockquote { margin: 0 0 28px; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.45; font-weight: 400; color: #eeece8; flex: 1; }
.quote figcaption { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.quote figcaption span { display: block; margin-top: 4px; font-weight: 400; color: var(--mute-light); letter-spacing: .2em; font-size: 11px; }

/* ==========================================================================
   Contact / Quote
   ========================================================================== */
.contact { position: relative; padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; background: var(--black); }
.contact-bg { position: absolute; inset: 0; }
.contact-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,11,.96) 0%, rgba(11,11,11,.82) 50%, rgba(11,11,11,.7) 100%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info p:not(.eyebrow) { font-weight: 300; font-size: 17px; color: #d6d3cc; max-width: 460px; }
.contact-list { margin-top: 40px; border-top: 1px solid var(--line-dark); }
.contact-list li {
  display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-dark);
  font-size: 15px;
}
.contact-list span { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); padding-top: 3px; }
.contact-list a:hover { color: var(--gold); }

.quote-form {
  background: rgba(14,14,14,.86); border: 1px solid rgba(200,164,93,.35);
  padding: clamp(26px, 4vw, 48px); display: grid; gap: 20px; position: relative;
}
.quote-form::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,255,255,.05); pointer-events: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mute-light); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--white); background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.28); border-radius: 0; padding: 10px 0 12px;
  transition: border-color .3s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px;
  cursor: pointer;
}
.field select option { background: var(--ink); color: var(--white); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.32); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field.is-invalid input, .field.is-invalid select { border-bottom-color: #e07b6a; }
.quote-form .btn { margin-top: 8px; min-height: 56px; }
.form-status { font-size: 14px; min-height: 1.5em; color: var(--mute-light); }
.quote-form.is-error .form-status { color: #f0a090; }
.quote-form.is-success .form-status { color: var(--gold-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: #070707; border-top: 1px solid rgba(200,164,93,.3); padding: clamp(60px, 7vw, 90px) 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr .8fr 1.2fr; gap: clamp(30px, 4vw, 56px); max-width: 1360px; }
.footer-brand .logo { align-items: flex-start; }
.footer-brand .logo-sub { padding-left: 0; }
.footer-brand .logo-sub::before, .footer-brand .logo-sub::after { display: none; }
.footer-tag { margin: 18px 0 14px; font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--gold); }
.site-footer .muted { font-size: 14px; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 22px; color: var(--white);
  padding-bottom: 14px; border-bottom: 1px solid var(--line-dark);
}
.footer-col li + li { margin-top: 10px; }
.footer-col a { font-size: 14px; color: var(--mute-light); transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.newsletter .muted { margin-bottom: 18px; }
.nl-field { display: flex; border: 1px solid rgba(255,255,255,.22); transition: border-color .3s; }
.nl-field:focus-within { border-color: var(--gold); }
.nl-field input {
  flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; font-size: 16px; padding: 0 16px; height: 50px;
}
.nl-field input:focus { outline: none; }
.nl-field input::placeholder { color: rgba(255,255,255,.35); }
.nl-btn {
  background: var(--gold); color: var(--black); border: 0; padding: 0 22px; cursor: pointer;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; transition: background .3s;
}
.nl-btn:hover { background: var(--white); }
.nl-btn[disabled] { opacity: .6; cursor: wait; }
.nl-status { font-size: 13px; margin-top: 10px; min-height: 1.4em; color: var(--mute-light); }
.nl-form.is-error .nl-field { border-color: #e07b6a; }
.nl-form.is-error .nl-status { color: #f0a090; }
.nl-form.is-success .nl-status { color: var(--gold-soft); }

.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; max-width: 1360px;
  margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 12px; letter-spacing: .1em; color: #8a877f;
}
.footer-bottom a:hover { color: var(--gold); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .anim, .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .header-cta .phone { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .services-intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; }
  .services-intro .eyebrow, .services-intro .display, .services-intro .gold-rule { grid-column: 1; }
  .services-intro p:not(.eyebrow) { grid-column: 2; grid-row: 1 / span 3; align-self: end; margin-bottom: 20px; }
  .services-intro .btn { grid-column: 2; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Tablet — iPad portrait & landscape */
@media (max-width: 1024px) {
  :root { --header-h: 80px; }
  .logo-mark { font-size: 40px; }
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11,11,11,.97); }
  .menu-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; justify-content: center; gap: 6px;
    background: #080808; padding: calc(var(--header-h) + 20px) var(--pad) 40px;
    opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
  }
  .main-nav > a {
    font-family: var(--serif); font-size: clamp(30px, 6vw, 44px); font-weight: 500; letter-spacing: .08em; padding: 6px 0;
    opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
  }
  .main-nav > a::after { display: none; }
  .nav-mobile-extra { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 34px; opacity: 0; transition: opacity .5s .35s; }
  .nav-phone { font-size: 16px; letter-spacing: .1em; color: var(--mute-light); }
  .site-header.menu-is-open .main-nav { opacity: 1; visibility: visible; }
  .site-header.menu-is-open .main-nav > a { opacity: 1; transform: none; }
  .site-header.menu-is-open .main-nav > a:nth-child(2) { transition-delay: .05s; }
  .site-header.menu-is-open .main-nav > a:nth-child(3) { transition-delay: .1s; }
  .site-header.menu-is-open .main-nav > a:nth-child(4) { transition-delay: .15s; }
  .site-header.menu-is-open .main-nav > a:nth-child(5) { transition-delay: .2s; }
  .site-header.menu-is-open .main-nav > a:nth-child(6) { transition-delay: .25s; }
  .site-header.menu-is-open .nav-mobile-extra { opacity: 1; }

  .hero { min-height: max(600px, min(100svh, 1000px)); }
  .hero-media img { object-position: 70% 50%; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8,8,8,.86) 0%, rgba(8,8,8,.6) 45%, rgba(8,8,8,.2) 80%),
      linear-gradient(180deg, rgba(8,8,8,.45) 0%, rgba(8,8,8,0) 30%, rgba(8,8,8,.75) 100%);
  }

  .tiles { gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(200px, 30vw, 300px); }
  .g-tall { grid-row: span 2; }

  .feature, .feature-flip { grid-template-columns: 1fr 1fr; min-height: 560px; }
  .ticks { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr 1fr; }
  .stats { gap: 24px; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .step:nth-child(3)::before { display: none; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info p:not(.eyebrow) { max-width: 640px; }
}

@media (max-width: 820px) {
  .cap-list { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-left: 0; padding-right: 0; }
  .cap-list::-webkit-scrollbar { display: none; }
  .cap-list li { scroll-snap-align: start; }
  .cap-list svg { width: 46px; height: 46px; }
  .cap-list span { font-size: 12px; }

  .services-intro { display: block; }
  .services-intro p:not(.eyebrow) { margin-bottom: 32px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }

  .feature, .feature-flip, .about { grid-template-columns: 1fr; min-height: 0; }
  .feature-flip .feature-media { order: 0; }
  .feature-media { min-height: 0; aspect-ratio: 4 / 3; }
  .feature-duo { aspect-ratio: auto; grid-template-rows: none; grid-template-columns: 1.35fr 1fr; }
  .feature-duo > img { aspect-ratio: 4 / 5; height: auto; }
  .feature-copy::before { display: none; }
  .feature .display { max-width: none; }
  .ticks { grid-template-columns: 1fr 1fr; }

  .about-media { min-height: 0; aspect-ratio: 4 / 3; }
  .about-media::after { background: linear-gradient(180deg, transparent 55%, var(--black) 100%); }
  .about-copy { padding-left: var(--pad); padding-right: var(--pad); padding-top: 8px; }

  .quotes { grid-template-columns: 1fr; border-bottom: 0; }
  .quote { padding: 36px 0; border-bottom: 1px solid var(--line-dark); }
  .quote + .quote { border-left: 0; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  body { font-size: 15px; }
  .header-inner { gap: 14px; }
  .logo-mark { font-size: 34px; }
  .logo-sub { font-size: 8.5px; gap: 7px; letter-spacing: .44em; }
  .logo-sub::before, .logo-sub::after { width: 14px; }
  .header-cta { display: none; }

  .hero { min-height: 100svh; align-items: flex-end; padding-bottom: 92px; }
  .hero-media img { object-position: 74% 50%; }
  .hero-shade {
    background: linear-gradient(180deg, rgba(8,8,8,.55) 0%, rgba(8,8,8,.2) 28%, rgba(8,8,8,.55) 52%, rgba(8,8,8,.92) 100%);
  }
  .kicker { letter-spacing: .32em; margin-bottom: 16px; }
  .hero-title { font-size: clamp(42px, 12.4vw, 70px); }
  .hero-sub { letter-spacing: .34em; margin-top: 14px; font-size: 12.5px; }
  .hero .gold-rule { margin: 24px 0 20px; }
  .hero-lede { font-size: 15px; }
  .hero-actions { margin-top: 28px; gap: 12px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .scroll-cue { display: none; }

  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile span { font-size: 11px; letter-spacing: .1em; bottom: 12px; left: 6px; right: 6px; }
  .service-index { justify-content: flex-start; }
  .service-index span { padding: 0 14px 0 0; font-size: 11px; }
  .service-index span + span { padding-left: 14px; }

  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 10px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .g-tall { grid-row: span 1; }

  .feature-copy { padding: 48px var(--pad) 60px; }
  .ticks { grid-template-columns: 1fr; margin: 22px 0 30px; }
  .feature-copy .btn, .about-copy .btn { width: 100%; }

  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stats div { padding-left: 12px; }
  .stats dt { font-size: 32px; }
  .stats dd { font-size: 9.5px; letter-spacing: .14em; }

  .steps { grid-template-columns: 1fr; row-gap: 48px; }
  .step + .step::before { left: 50%; top: -30px; margin-left: -6px; transform: rotate(135deg); }
  .step:nth-child(3)::before { display: block; }

  .field-row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .footer-services { display: none; }
}

@media (hover: none) {
  .tile::before { display: none; }
}

/* ---------- Placeholder markers (replace with real content) ---------- */
.ph { color: var(--gold-soft); font-style: italic; border: 1px dashed currentColor; padding: 1px 6px; letter-spacing: .08em; }
.g-item figcaption .ph { display: inline-block; margin-bottom: 8px; }
.ph-title { display: block; font-style: italic; }
.ph-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2; max-width: calc(100% - 24px);
  background: rgba(11,11,11,.78); color: var(--gold-soft); border: 1px dashed var(--gold);
  font-style: normal; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; line-height: 1.4;
}
.quote-ph blockquote, .quote-ph figcaption { color: var(--gold-soft); font-style: italic; }
.contact-list small.cities { display: block; margin-top: 6px; font-size: 13px; color: var(--mute-light); line-height: 1.6; }
.footer-bottom .ph { font-size: 11px; }
.footer-grid > *, .contact-grid > *, .services-grid > *, .feature > *, .about > * { min-width: 0; }
@media (max-width: 600px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .site-footer .muted { max-width: none; } }
html, body { max-width: 100%; }

/* ==========================================================================
   Final reference-matching adjustments
   ========================================================================== */
:root { --header-h: 104px; }
.logo-mark { font-size: 54px; }
.logo-sub { font-size: 11px; }
.main-nav > a { font-size: 14px; letter-spacing: .12em; }
.header-cta { gap: 8px; }
.header-cta .btn-sm { min-height: 42px; font-size: 12px; padding: 0 24px; }
.phone { font-size: 17px; }

.hero { min-height: max(660px, min(100svh, 860px)); }
.hero-sub { margin-top: 26px; }

.cap-list { padding-top: 38px; padding-bottom: 38px; max-width: 1360px; }
.cap-list svg { width: 66px; height: 66px; stroke-width: 1.6; }
.cap-list span { font-weight: 600; font-size: 15px; }

@media (min-width: 1181px) { .services-grid { grid-template-columns: minmax(320px, 1fr) 2.05fr; } }
.services .display { font-size: clamp(38px, 3.9vw, 56px); }
@media (min-width: 1181px) { .services .display, .about .display { white-space: nowrap; } }
.tile span { font-size: 15px; }

.about { min-height: 560px; }
.about .display { font-size: clamp(34px, 3.4vw, 50px); }
.about-media::after { background: linear-gradient(90deg, transparent 45%, rgba(11,11,11,.6) 80%, var(--black) 100%); }

.process { padding: clamp(60px, 6vw, 84px) 0 clamp(64px, 7vw, 96px); }
.process .section-head { margin-bottom: clamp(36px, 4vw, 52px); }
.step svg { width: 78px; height: 78px; stroke-width: 1.5; }
.step h3 { font-size: 18px; letter-spacing: .14em; }
.step .step-short { font-size: 17px; margin: 0 auto 10px; max-width: 250px; }
.step .step-more { font-size: 13px; color: var(--mute-dark); line-height: 1.6; max-width: 250px; margin: 0 auto; padding-top: 0; border-top: 0; }

.projects .gallery { gap: 16px; }
.projects .g-item { border: 1px solid rgba(200,164,93,.22); }

/* Testimonials on light marble */
.testimonials .quotes { border-color: var(--line-light); }
.testimonials .quote + .quote { border-left-color: var(--line-light); }
.testimonials .quote-type { color: var(--gold-deep); }
.testimonials .quote blockquote { color: var(--text-dark); }
.testimonials .quote figcaption span { color: var(--mute-dark); }
.testimonials .quote-ph blockquote, .testimonials .quote-ph figcaption { color: var(--gold-deep); }

@media (max-width: 1024px) {
  :root { --header-h: 84px; }
  .logo-mark { font-size: 42px; }
}
@media (max-width: 820px) {
  .testimonials .quote { border-bottom-color: var(--line-light); }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .logo-mark { font-size: 34px; }
  .logo-sub { font-size: 8.5px; }
  .cap-list svg { width: 48px; height: 48px; }
  .cap-list span { font-size: 12px; }
  .services .display, .about .display { font-size: clamp(34px, 10vw, 44px); }
}
.step p.step-more { border-top: 0; padding-top: 0; }
.g-item figcaption .ph-title {
  font-family: var(--serif); font-size: clamp(18px, 1.6vw, 22px); font-style: italic; letter-spacing: .01em;
  text-transform: none; color: var(--white); margin: 0;
}
.g-item figcaption .ph { font-size: 10px; letter-spacing: .2em; font-style: normal; }
