/* ==========================================================================
   Ferris Legacy Painting — design system + homepage
   Dark luxury: black + gold + warm white. Mobile-first; enhanced at min-widths.
   All colors flow from the tokens in :root — no raw hex below this block.
   ========================================================================== */

/* --- Self-hosted fonts (Google Fonts files, OFL license; latin + latin-ext) --- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/playfairdisplay-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("../fonts/playfairdisplay-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfairdisplay-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/playfairdisplay-italic-latinext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Tokens -------------------------------------------------------------- */
:root {
  --bg:      #0A0A0B;              /* page */
  --bg-2:    #0D0D0F;              /* alternating sections */
  --panel:   #121214;             /* cards */
  --panel-2: #16161A;             /* card hover */
  --line:    rgba(201,164,92,.16);/* hairline borders */
  --line-2:  rgba(201,164,92,.34);/* hover borders */
  --gold:    #C8A45C;
  --gold-2:  #E2C589;             /* bright gold */
  --ink:     #F4F1EA;             /* headings, warm white */
  --body:    #A8A29A;             /* body text */
  --dim:     #6E6A63;             /* fine print */
  --warn:    #C96A5C;             /* inline form-validation red */

  /* placeholder art (kept as tokens so no raw hex escapes :root) */
  --ph-a:      #16161B;              /* lifted panel: top-left */
  --ph-b:      #121216;              /* mid / base fill */
  --ph-c:      #0E0E11;              /* bottom-right */
  --ph-glow:   rgba(201,164,92,.16); /* gold radial glow */
  --ph-horizon: rgba(226,197,137,.14);/* warm dusk horizon (hero) */

  --footer-bg: #080809;
  --header-bg: rgba(10,10,11,.86);
  --drawer-bg: rgba(10,10,11,.98);

  --radius: 2px;
  --radius-lg: 4px;
  --container: 1200px;
  --pad: 24px;                    /* side padding (16px at <=480) */
  --section-pad: clamp(72px, 10vw, 128px);

  --ease: cubic-bezier(.2, .6, .2, 1);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* --- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--body);
  font: 400 16px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;             /* guard against 1px bleed at 320px */
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Keep the `hidden` attribute authoritative even when a class sets display
   (e.g. reviews + social ship hidden until content arrives). */
[hidden] { display: none !important; }

::selection { background: var(--gold); color: var(--bg); }

@media (max-width: 480px) { :root { --pad: 16px; } }

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

.section { padding-block: var(--section-pad); }
.section--alt { background: var(--bg-2); }
.section--bordered { border-block: 1px solid var(--line); }

/* --- Typography ---------------------------------------------------------- */
.kicker {
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.h2 {
  font: 500 clamp(30px, 4vw, 44px)/1.12 var(--serif);
  color: var(--ink);
  letter-spacing: -.01em;
}

.lead { color: var(--body); font-size: 16px; }

.gold { color: var(--gold); }
.ink  { color: var(--ink); }

/* "Coming soon" badge — gold outline pill on transparent, sits beside a title */
.chip-soon {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  padding: 4px 10px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  color: var(--gold);
  font: 600 10px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Section head block (kicker + heading, optionally split with an aside) */
.head { display: grid; gap: 18px; }
.head__title { display: grid; gap: 20px; }
@media (min-width: 1024px) {
  .head--split .head__title {
    grid-template-columns: 1fr minmax(auto, 360px);
    align-items: end;
    gap: 40px;
  }
}
.head__aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 1024px) { .head__aside { justify-items: start; } }

/* --- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius);
  font: 600 13px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease);
}
.btn--sm { padding: 10px 18px; }

.btn__arrow { transition: transform .2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn-outline { border-color: var(--line-2); color: var(--gold); background: transparent; }
.btn-outline:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }

.btn-solid { background: var(--gold); color: var(--bg); }
.btn-solid:hover { background: var(--gold-2); }

/* Gold text link with nudging arrow (Learn more / View all) */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font: 600 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.tlink .btn__arrow { display: inline-block; }
.tlink:hover .btn__arrow { transform: translateX(4px); }

/* --- Focus + skip link --------------------------------------------------- */
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--gold);
  color: var(--bg);
  font: 600 13px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* --- Icons --------------------------------------------------------------- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: none;
}
.icon--28 { width: 28px; height: 28px; }

/* --- Brand mark (monogram + wordmark) ------------------------------------ */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.monogram { color: var(--gold); height: 40px; width: auto; font-family: var(--serif); }

.wordmark { display: grid; gap: 3px; line-height: 1; }
.wordmark__name {
  font: 600 15px/1 var(--serif);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.wordmark__sub {
  font: 400 10px/1 var(--sans);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--gold);
}

/* --- Header -------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: calc(72px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  padding-inline: max(clamp(24px, 3.2vw, 56px), env(safe-area-inset-left)) max(clamp(24px, 3.2vw, 56px), env(safe-area-inset-right));
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--header-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.header__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 30px; }
.nav__link {
  position: relative;
  font: 500 13px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--body);
  padding-block: 6px;
  transition: color .2s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link[aria-current="page"] { color: var(--gold); }
.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--gold);
}

.header__cta { display: none; }

/* Hamburger */
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  color: var(--ink);
}
.burger__lines, .burger__lines::before, .burger__lines::after {
  content: "";
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger__lines { position: relative; }
.burger__lines::before { position: absolute; top: -7px; }
.burger__lines::after  { position: absolute; top: 7px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* --- Drawer (mobile nav) ------------------------------------------------- */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--drawer-bg);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: calc(96px + env(safe-area-inset-top)) var(--pad) calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.drawer.is-open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

.drawer__close {
  position: absolute;
  top: calc(20px + env(safe-area-inset-top));
  right: var(--pad);
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.drawer__nav { display: grid; gap: 8px; margin-top: auto; }
.drawer__link {
  font: 500 28px/1.2 var(--serif);
  color: var(--ink);
  padding-block: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .2s var(--ease);
}
.drawer__link:hover, .drawer__link[aria-current="page"] { color: var(--gold); }
.drawer.is-open .drawer__link { opacity: 1; transform: none; }
.drawer.is-open .drawer__link:nth-child(1) { transition-delay: .08s; }
.drawer.is-open .drawer__link:nth-child(2) { transition-delay: .13s; }
.drawer.is-open .drawer__link:nth-child(3) { transition-delay: .18s; }
.drawer.is-open .drawer__link:nth-child(4) { transition-delay: .23s; }
.drawer.is-open .drawer__link:nth-child(5) { transition-delay: .28s; }
.drawer.is-open .drawer__link:nth-child(6) { transition-delay: .33s; }
.drawer.is-open .drawer__link:nth-child(7) { transition-delay: .38s; }

.drawer__foot {
  margin-top: auto;
  padding-top: 32px;
  display: grid;
  gap: 18px;
  justify-items: start;
}
.drawer__phone {
  font: 500 20px/1 var(--serif);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.drawer__phone .icon { color: var(--gold); }

/* --- Photo placeholders -------------------------------------------------- */
.ph {
  position: relative;
  overflow: hidden;
  background-color: var(--ph-b);
  background-image:
    radial-gradient(60% 50% at 78% 18%, var(--ph-glow), transparent 70%),
    linear-gradient(160deg, var(--ph-a) 0%, var(--ph-b) 55%, var(--ph-c) 100%);
  color: var(--gold);
}
.ph::before {                     /* fine grain: bounded 160px tile, rasterizes once then repeats */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n' x='0' y='0' width='160' height='160' filterUnits='userSpaceOnUse'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 160px 160px;
  opacity: .045;
  z-index: 2;
  pointer-events: none;
}
.ph::after {                      /* inset hairline frame */
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid var(--line-2);
  z-index: 4;
  pointer-events: none;
}
.ph__icon {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px; height: 40px;
  color: var(--gold);
  opacity: .55;
  z-index: 3;
}

/* Real photography wired into a placeholder box (tone-unified, paint-cheap).
   Stack: photo (z0) -> grade scrim + warm tint (z1) -> grain (z2) -> frame (z4). */
.ph--img > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: saturate(.85) contrast(1.03) brightness(.94);
}
.ph--img .ph__icon { display: none; }
.ph--img::before { opacity: .03; }   /* lighter grain over a photo */
.ph__grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,10,11,.34) 0%, rgba(10,10,11,.06) 55%, transparent 100%),
    radial-gradient(52% 42% at 82% 12%, rgba(201,164,92,.05), transparent 70%);
}

/* Natural treatment: real project photos shown honestly — no filter, scrim, or grain.
   Keeps the hairline frame (.ph::after) so natural photos still sit in the site's frame. */
.ph--natural > img { filter: none; }
.ph--natural .ph__grade { display: none; }
.ph--natural::before { content: none; }

/* Full-bleed hero variant: no frame, warm dusk horizon low, soft fade into the page */
.ph--hero {
  background-image:
    radial-gradient(72% 42% at 50% 84%, var(--ph-horizon), transparent 72%),
    radial-gradient(60% 50% at 78% 18%, var(--ph-glow), transparent 70%),
    linear-gradient(160deg, var(--ph-a) 0%, var(--ph-b) 55%, var(--ph-c) 100%);
}
.ph--hero::after {
  inset: 0;
  border: 0;
  background: linear-gradient(to top, var(--bg) 0%, transparent 24%);
}
/* CTA variant: fade the right edge into the alt panel */
.ph--cta::after {
  inset: 0;
  border: 0;
  background: linear-gradient(to right, transparent 40%, var(--bg-2) 100%);
}

/* --- Reveal on scroll ---------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

/* --- 1. Hero ------------------------------------------------------------- */
.hero { position: relative; }
.hero__inner {
  display: grid;
  gap: 0;
}
.hero__text {
  padding-block: clamp(120px, 22vh, 200px) clamp(48px, 8vw, 72px);
  display: grid;
  gap: 26px;
  align-content: center;
}
.hero__title {
  font: 500 clamp(44px, 7vw, 84px)/1.04 var(--serif);
  color: var(--ink);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.hero__title .gold { color: var(--gold); }
.hero__eyebrow {
  font: 600 12px/1.4 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, .8);
}
.hero__body { max-width: 42ch; font-size: 17px; }
.hero__cta { margin-top: 4px; }

.hero__media {
  position: relative;
  min-height: 46vh;
  margin-inline: calc(var(--pad) * -1);   /* bleed to screen edges on mobile */
}
.ph--hero { position: absolute; inset: 0; }

.hero__scroll {
  display: none;
  position: absolute;
  left: var(--pad);
  bottom: 28px;
  align-items: center;
  gap: 12px;
  color: var(--dim);
  font: 600 11px/1 var(--sans);
  letter-spacing: .3em;
  text-transform: uppercase;
}
.hero__scroll svg { color: var(--gold); animation: float 2.4s var(--ease) infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

@media (min-width: 1024px) {
  .hero__inner {
    grid-template-columns: 44% 56%;
    align-items: stretch;
    min-height: 100dvh;
  }
  .hero__text { padding-block: 0; padding-right: clamp(32px, 5vw, 72px); }
  .hero__media { min-height: 100dvh; margin: 0; margin-right: calc((100vw - min(100vw, var(--container))) / -2); }
  .hero__scroll { display: inline-flex; }
}

/* --- 2. Stats bar -------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat__icon { color: var(--gold); }
.stat__num {
  font: 600 22px/1 var(--sans);
  color: var(--ink);
  letter-spacing: .01em;
}
.stat__num .gold { color: var(--gold); }
.stat__label {
  margin-top: 6px;
  font: 600 11px/1.3 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
}
@media (min-width: 1024px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat + .stat { border-left: 1px solid var(--line); padding-left: 28px; }
}

/* --- 3. Services --------------------------------------------------------- */
.services__grid {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 28px);
}
@media (min-width: 640px)  { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { background: var(--panel-2); border-color: var(--line-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.card__media .ph::after { inset: 8px; }
.card:hover .card__media .ph { transform: scale(1.03); }
.card__body { padding: 24px; display: grid; gap: 12px; }
.card__icon { color: var(--gold); }
.card__title {
  font: 600 14px/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color .3s var(--ease);
}
.card:hover .card__title { color: var(--gold); }
.card__text { font-size: 15px; }
.card__link { margin-top: 4px; }

/* --- 4. Featured projects ------------------------------------------------ */
.projects {
  margin-top: clamp(32px, 5vw, 48px);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 72%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.projects::-webkit-scrollbar { display: none; }
@media (min-width: 680px)  { .projects { grid-auto-columns: 42%; } }
@media (min-width: 1280px) {
  .projects {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: auto;
    overflow: visible;
  }
}

.project {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  scroll-snap-align: start;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.project .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.project:hover .ph { transform: scale(1.04); }
.project__cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  display: grid;
  gap: 4px;
  background: linear-gradient(to top, rgba(10,10,11,.82), transparent);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.project:hover .project__cap, .project:focus-within .project__cap { opacity: 1; transform: none; }
.project__cat {
  font: 600 10px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
}
.project__name { font: 500 16px/1.2 var(--serif); color: var(--ink); }

.projects-foot { margin-top: clamp(36px, 5vw, 52px); display: flex; justify-content: center; }

/* --- 5. Why choose us ---------------------------------------------------- */
.why { display: grid; gap: clamp(40px, 6vw, 64px); }
@media (min-width: 1024px) { .why { grid-template-columns: minmax(auto, 360px) 1fr; gap: 64px; } }
.why__items { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 560px)  { .why__items { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why__items { grid-template-columns: repeat(3, 1fr); } }
.why__item { display: grid; gap: 12px; align-content: start; }
.why__icon { color: var(--gold); }
.why__title {
  font: 600 14px/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
}
.why__text { font-size: 15px; }

/* --- 6. Process ---------------------------------------------------------- */
.process { display: grid; gap: clamp(40px, 6vw, 64px); }
@media (min-width: 1024px) { .process { grid-template-columns: 1fr minmax(auto, 380px); gap: 64px; align-items: start; } }

.timeline { margin-top: clamp(36px, 5vw, 52px); display: grid; gap: 32px; }
.step { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.step__node {
  width: 44px; height: 44px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font: 600 14px/1 var(--sans);
  color: var(--gold);
  background: var(--bg);
  flex: none;
}
.section--alt .step__node { background: var(--bg-2); }
.step__body { display: grid; gap: 8px; padding-top: 4px; }
.step__title {
  font: 600 13px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
}
.step__text { font-size: 15px; }
/* vertical connector between step nodes (mobile / stacked) */
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 22px; top: 44px;
  width: 1px; height: calc(100% + 32px - 44px);
  background: var(--line);
}

@media (min-width: 768px) {
  .timeline { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; }
  .step { grid-template-columns: 1fr; gap: 18px; }
  .step__body { padding-top: 0; }
  /* horizontal connector across nodes */
  .step:not(:last-child)::before {
    left: 44px; top: 22px;
    width: calc(100% + 24px - 44px); height: 1px;
  }
}

.process__media { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; }
.process__media .ph { position: absolute; inset: 0; }

/* --- 7. Reviews (built, shipped hidden) ---------------------------------- */
.reviews__grid {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .reviews__grid { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  gap: 18px;
}
.review__stars { display: flex; gap: 4px; color: var(--gold); }
.review__stars .icon { fill: var(--gold); }
.review__quote { font: italic 500 17px/1.6 var(--serif); color: var(--ink); }
.review__by { font-size: 13px; color: var(--dim); }

/* --- 8. CTA banner ------------------------------------------------------- */
.cta { position: relative; overflow: hidden; background: var(--bg-2); }
.cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
  padding-block: clamp(56px, 8vw, 96px);
  max-width: 620px;
  margin-inline: auto;
}
.cta__title { font: 500 clamp(28px, 4vw, 44px)/1.12 var(--serif); color: var(--ink); }
.cta__text { max-width: 46ch; }
.cta__media { position: absolute; inset: 0; z-index: 0; }
.cta__media .ph { position: absolute; inset: 0; }

/* --- 9. Footer ----------------------------------------------------------- */
.footer { background: var(--footer-bg); border-top: 1px solid var(--line); }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-block: clamp(56px, 7vw, 80px);
}
@media (min-width: 620px)  { .footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; } }

.footer__brand { display: grid; gap: 20px; align-content: start; }
.footer .monogram { height: 56px; }
.footer__tagline { font-size: 15px; max-width: 34ch; }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.footer__social a:hover { background: var(--gold); color: var(--bg); }

.footer__col-title {
  font: 600 11px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 20px;
}
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: 15px; color: var(--body); transition: color .2s var(--ease); }
.footer__links a:hover { color: var(--gold); }

.footer__contact { display: grid; gap: 14px; align-content: start; }
.footer__contact li { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.footer__contact .icon { color: var(--gold); width: 18px; height: 18px; }
.footer__contact a { color: var(--body); transition: color .2s var(--ease); }
.footer__contact a:hover { color: var(--gold); }
.footer__contact .btn { margin-top: 6px; }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--dim);
}
.footer__bottom a { color: var(--dim); transition: color .2s var(--ease); }
.footer__bottom a:hover { color: var(--gold); }

/* ==========================================================================
   INNER PAGES (phase 2) — services, work, about, contact, privacy, 404
   Same tokens + language as the homepage. Appended as one block; no hex
   outside :root (rgba scrims reuse the house rgba(10,10,11,...) pattern).
   ========================================================================== */

/* --- Shared inner-page hero (40vh min: kicker + serif H1 + promise) ------ */
.inner-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image:
    radial-gradient(58% 60% at 82% 12%, var(--ph-glow), transparent 70%),
    linear-gradient(160deg, var(--ph-a) 0%, var(--bg) 62%);
}
.inner-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 40vh;
  max-width: 760px;
  display: grid;
  gap: 16px;
  align-content: center;
  padding-block: clamp(128px, 20vh, 200px) clamp(48px, 8vw, 84px);
}
.inner-hero__title {
  font: 500 clamp(38px, 6vw, 68px)/1.05 var(--serif);
  color: var(--ink);
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.inner-hero__title .gold { color: var(--gold); }
.inner-hero__promise { max-width: 54ch; font-size: 17px; }

/* Photo-backed hero (service detail): graded svc image at low opacity */
.inner-hero__bg { position: absolute; inset: 0; z-index: 0; }
.inner-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .26;
  filter: saturate(.85) contrast(1.03) brightness(.9);
}
.inner-hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, var(--bg) 4%, transparent 48%),
    linear-gradient(to right, var(--bg) 4%, transparent 62%);
}

/* --- Prose (craft paragraphs, about story, privacy) ---------------------- */
.prose { max-width: 64ch; display: grid; gap: 18px; }
.prose p { font-size: 16px; }
.prose h3 {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: 10px;
}
.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-2);
}
.prose a:hover { color: var(--gold-2); text-decoration-color: var(--gold-2); }

/* Two-column head + body (about story) */
.two-col { display: grid; gap: clamp(28px, 4vw, 40px); }
@media (min-width: 1024px) {
  .two-col { grid-template-columns: minmax(auto, 340px) 1fr; gap: 64px; align-items: start; }
}

/* --- Checklist (what's included) ----------------------------------------- */
.checklist {
  margin-top: clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 32px;
}
@media (min-width: 560px) { .checklist { grid-template-columns: repeat(2, 1fr); } }
.checklist li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink); font-size: 15px; }
.checklist .icon { color: var(--gold); width: 20px; height: 20px; margin-top: 1px; }
.checklist--mini { grid-template-columns: 1fr; gap: 12px; margin-top: 20px; }

/* --- Services index: alternating full-width rows ------------------------- */
.svc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1fr 1fr; }
  .svc-row--rev .svc-row__media { order: 2; }
}
.svc-row__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.svc-row__media .ph { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.svc-row:hover .svc-row__media .ph { transform: scale(1.03); }
.svc-row__body { display: grid; gap: 14px; align-content: center; }
.svc-row__body .h2 { font-size: clamp(26px, 3.4vw, 38px); }

/* --- FAQ accordion (service detail pages) -------------------------------- */
.faq { margin-top: clamp(28px, 4vw, 44px); max-width: 780px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { margin: 0; }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px;
  text-align: left;
  font: 600 15px/1.4 var(--sans);
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq__trigger:hover { color: var(--gold); }
.faq__ind { flex: none; color: var(--gold); }
.faq__ind .icon { width: 22px; height: 22px; }
.faq__ind .faq__minus { display: none; }
.faq__trigger[aria-expanded="true"] .faq__plus { display: none; }
.faq__trigger[aria-expanded="true"] .faq__minus { display: block; }
.faq__panel { padding: 0 4px 24px; }
.faq__panel p { font-size: 15px; max-width: 66ch; }

/* --- Before / after pairs (work page) ------------------------------------ */
.pair-block + .pair-block { margin-top: clamp(48px, 7vw, 80px); }
.pair-block__title {
  margin-top: 10px;
  font: 500 clamp(22px, 3vw, 30px)/1.14 var(--serif);
  color: var(--ink);
  letter-spacing: -.01em;
}
.pair-block__cap { margin-top: 8px; color: var(--body); font-size: 15px; max-width: 60ch; }
.pair {
  margin-top: clamp(20px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2.4vw, 20px);
}
.pair__fig {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
}
.pair__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  padding: 7px 12px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: rgba(10, 10, 11, .6);
  color: var(--gold);
  font: 600 11px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
}
/* Stack the pair on small screens */
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }

/* --- Contact page -------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }

.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field__label {
  font: 600 12px/1.3 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
}
.field__req { color: var(--gold); }
.field__input, .field__select, .field__textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: 400 16px/1.5 var(--sans);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field__textarea { min-height: 140px; resize: vertical; }
.field__input::placeholder, .field__textarea::placeholder { color: var(--dim); }
.field__input:hover, .field__select:hover, .field__textarea:hover { border-color: var(--line-2); }
.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--panel-2);
}
.select-wrap { position: relative; }
.field__select { appearance: none; -webkit-appearance: none; padding-right: 44px; }
.select-wrap::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px; height: 8px;
  border: solid var(--gold);
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__msg { display: none; font-size: 13px; color: var(--warn); }
.field__input:user-invalid, .field__select:user-invalid, .field__textarea:user-invalid { border-color: var(--warn); }
.field__input:user-invalid ~ .field__msg,
.field__textarea:user-invalid ~ .field__msg { display: block; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { margin-top: 4px; }
.form-status { font-size: 14px; }
.form-status.is-error { color: var(--warn); }
.form-status a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }

.form-thanks {
  background: var(--panel);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  gap: 12px;
  justify-items: start;
}
.form-thanks__title { font: 500 clamp(24px, 3vw, 32px)/1.1 var(--serif); color: var(--ink); }
.form-thanks__text { color: var(--body); }
.form-thanks .tlink { margin-top: 6px; }

.talk-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  display: grid;
  gap: 20px;
  align-content: start;
}
.talk-card__title { font: 500 clamp(22px, 3vw, 28px)/1.15 var(--serif); color: var(--ink); }
.talk-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 500 26px/1 var(--serif);
  color: var(--gold);
}
.talk-card__row { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.talk-card__row .icon { color: var(--gold); width: 20px; height: 20px; }
.talk-card__row a { transition: color .2s var(--ease); }
.talk-card__row a:hover { color: var(--gold); }
.talk-card__note { font-size: 14px; color: var(--dim); }

/* --- 404 ----------------------------------------------------------------- */
.notfound {
  position: relative;
  overflow: hidden;
  min-height: 66dvh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(140px, 22vh, 220px) var(--pad) clamp(64px, 10vw, 100px);
  background-image:
    radial-gradient(60% 50% at 50% 18%, var(--ph-glow), transparent 70%),
    linear-gradient(160deg, var(--ph-a) 0%, var(--bg) 60%);
}
.notfound__inner { display: grid; gap: 18px; justify-items: center; max-width: 540px; }
.notfound__title { font: 500 clamp(36px, 6vw, 64px)/1.06 var(--serif); color: var(--ink); }
.notfound__text { font-size: 17px; }
.notfound .btn { margin-top: 10px; }

/* ==========================================================================
   Reduced motion — content fully visible, no transforms/animation
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .drawer__link { opacity: 1 !important; transform: none !important; }
  .hero__scroll svg { animation: none !important; }
}
