/* ============================================================
   Dresses Couture — Site Design System
   Palette: paper #F7F5F2 / ink #20201E / champagne #B8B2A8
            gold #8C6A4F (light bg) / gold-bright #C9A063 (dark bg)
   Type:    Cormorant Garamond (display, variable 400-700)
            Inter (body, variable 100-900)
   Breakpoints: 480 / 768 / 1024 / 1440 — mobile first
   ============================================================ */

/* ---------- Fonts (self-hosted, variable, latin subset) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-normal-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-normal-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #F7F5F2;
  --paper-soft: #EFEBE4;
  --card: #FCFAF7;
  --ink: #20201E;
  --ink-soft: #55524B;
  --line: #DDD7CC;
  --champagne: #B8B2A8;
  --gold: #805C44;
  --gold-deep: #6B4D38;
  --gold-bright: #C9A063;
  --dark-text: #CFCCC4;
  --dark-text-soft: #A6A096;
  --ink-faint: #6E6960;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-hero: clamp(2.55rem, 1.1rem + 5.4vw, 4.85rem);
  --fs-h1: clamp(2.1rem, 1.35rem + 3vw, 3.4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);
  --fs-h3: clamp(1.3rem, 1.15rem + 0.65vw, 1.6rem);
  --fs-lead: clamp(1.08rem, 1rem + 0.45vw, 1.28rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-eyebrow: 0.8125rem;

  --space-section: clamp(4rem, 3rem + 5.5vw, 8.75rem);
  --container: 1240px;
  --gutter: clamp(1.25rem, 4.5vw, 3.5rem);
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
img { font-style: italic; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 1px; }

.skip-link {
  position: absolute; left: 1rem; top: -100%;
  z-index: 200; background: var(--ink); color: #fff;
  padding: 0.75rem 1.25rem; font-size: var(--fs-small);
}
.skip-link:focus { top: 1rem; }

/* Sticky-header anchor offset */
[id] { scroll-margin-top: 88px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: 0.005em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p a:not(.btn), li a:not(.btn):not(.site-nav__link):not(.mobile-menu__link) { border-bottom: 1px solid var(--champagne); transition: border-color .2s var(--ease), color .2s var(--ease); }
p a:not(.btn):hover, li a:not(.btn):not(.site-nav__link):not(.mobile-menu__link):hover { color: var(--gold); border-color: var(--gold); }
.lede { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-soft); font-weight: 400; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); flex: none; }
.eyebrow--bare::before { display: none; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section-head h2 { margin-top: 1.1rem; }
.section-head .lede { margin-top: 1.1rem; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 46rem; }
.section { padding-block: var(--space-section); }
.section--soft { background: var(--paper-soft); }
.section--dark { background: var(--ink); color: var(--dark-text); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--paper); }
.section--dark .lede { color: var(--dark-text-soft); }
.section--dark .eyebrow { color: var(--gold-bright); }
.section--dark .eyebrow::before { background: var(--gold-bright); }

.rule { border: 0; border-top: 1px solid var(--line); }
.section--dark .rule { border-color: rgba(247, 245, 242, 0.14); }
.mt-section { margin-top: clamp(2.5rem, 2rem + 2.5vw, 4.25rem); }

.split { display: grid; gap: clamp(2.25rem, 2rem + 3vw, 5rem); align-items: center; }
@media (min-width: 1024px) {
  .split--75 { grid-template-columns: 7fr 5fr; }
  .split--57 { grid-template-columns: 5fr 7fr; }
  .split--64 { grid-template-columns: 3fr 2fr; }
  .split--46 { grid-template-columns: 2fr 3fr; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1em 1.9em; min-height: 44px;
  font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid transparent;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 0.85em; height: 0.85em; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--solid { background: var(--gold); color: #fff; }
.btn--solid:hover { background: var(--gold-deep); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--light { border-color: rgba(247, 245, 242, 0.45); color: var(--paper); }
.btn--light:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn--solid-light { background: var(--gold-bright); color: var(--ink); }
.btn--solid-light:hover { background: #D8B27A; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 245, 242, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(32, 32, 30, 0.35); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; height: 76px; }
.brand { display: inline-flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: 0.02em; }
.brand__name em { font-style: italic; font-weight: 500; }
.site-nav__list { display: none; align-items: center; gap: clamp(1.4rem, 2.5vw, 2.4rem); }
.site-nav__link {
  position: relative; padding: 0.4rem 0;
  font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.site-nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav__link:hover { color: var(--ink); }
.site-nav__link:hover::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--ink); }
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (min-width: 1024px) {
  .site-nav__list { display: flex; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-right: -8px;
}
.nav-toggle__bars { position: relative; width: 22px; height: 14px; }
.nav-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease), top .3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Mobile overlay menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s .35s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__list { display: grid; gap: 0.4rem; }
.mobile-menu__link {
  display: inline-block; padding: 0.55rem 0;
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 2.9rem); font-weight: 500;
  color: var(--paper); line-height: 1.15;
  transition: color .2s var(--ease), transform .3s var(--ease);
}
.mobile-menu__link:hover { color: var(--gold-bright); transform: translateX(8px); }
.mobile-menu__link[aria-current="page"] { color: var(--gold-bright); font-style: italic; }
.mobile-menu__foot { position: absolute; bottom: 2.5rem; left: var(--gutter); right: var(--gutter); font-size: var(--fs-small); color: var(--dark-text-soft); }
.mobile-menu__foot a { border-bottom: 1px solid rgba(247, 245, 242, 0.25); }
body.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mobile-menu { display: none; } }

/* ---------- Hero (home) ---------- */
.hero { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(78deg, rgba(20, 20, 18, 0.82) 0%, rgba(20, 20, 18, 0.55) 46%, rgba(20, 20, 18, 0.28) 100%);
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(7rem, 5rem + 12vw, 12.5rem); }
.hero__inner .eyebrow { color: var(--gold-bright); }
.hero__inner .eyebrow::before { background: var(--gold-bright); }
.hero__title {
  font-size: var(--fs-hero); font-weight: 500; color: var(--paper);
  max-width: 17ch; margin-top: 1.4rem; line-height: 1.06;
}
.hero__title em { font-style: italic; color: var(--gold-bright); font-weight: 400; }
.hero__lede { max-width: 34rem; margin-top: 1.75rem; color: #D8D3CA; font-size: var(--fs-lead); line-height: 1.65; }
.hero .btn-row { margin-top: 2.75rem; }
.hero__scroll {
  position: absolute; bottom: 2rem; right: var(--gutter); z-index: 1;
  font-size: 0.6875rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(247, 245, 242, 0.55);
  display: none; align-items: center; gap: 0.6rem;
}
@media (min-width: 768px) { .hero__scroll { display: inline-flex; } }
.hero__scroll::after { content: ""; width: 1px; height: 3rem; background: linear-gradient(to bottom, rgba(247, 245, 242, 0.55), transparent); }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-block: clamp(4.5rem, 3.5rem + 6vw, 8.5rem) clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.page-hero h1 { max-width: 22ch; margin-top: 1.25rem; }
.page-hero h1 em { font-style: italic; color: var(--gold); font-weight: 400; }
.page-hero .lede { max-width: 40rem; margin-top: 1.5rem; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: center; font-size: 0.8125rem; letter-spacing: 0.08em; color: var(--ink-faint); margin-bottom: 2.25rem; }
.breadcrumb a { color: var(--ink-soft); border-bottom: 1px solid transparent; transition: color .2s var(--ease); display: inline-flex; align-items: center; min-height: 44px; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--champagne); }
.breadcrumb [aria-current="page"] { color: var(--gold); font-weight: 600; }

/* ---------- Figures & frames ---------- */
.frame { position: relative; overflow: hidden; background: var(--paper-soft); }
.frame picture, .card__media picture, .hero__media picture { display: block; width: 100%; height: 100%; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.frame--32 { aspect-ratio: 3 / 2; }
.frame--45 { aspect-ratio: 4 / 5; }
.frame--11 { aspect-ratio: 1 / 1; }
.frame--tall { aspect-ratio: 3 / 4; }
a:hover > .frame img, a:focus-visible > .frame img { transform: scale(1.045); }
figcaption { font-size: var(--fs-small); color: var(--ink-faint); margin-top: 0.75rem; letter-spacing: 0.02em; }

/* ---------- Service cards ---------- */
.cards { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; position: relative;
  background: var(--card); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover { border-color: var(--champagne); transform: translateY(-4px); box-shadow: 0 24px 48px -32px rgba(32, 32, 30, 0.4); }
.card__body { padding: 1.6rem 1.6rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--ink-faint); }
.card h3 { margin-top: 0.65rem; }
.card p { margin-top: 0.7rem; color: var(--ink-soft); font-size: var(--fs-small); line-height: 1.65; }
.card__link {
  margin-top: auto; padding-top: 1.4rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold);
}
.card__link svg { width: 0.9rem; height: 0.9rem; transition: transform .25s var(--ease); }
.card__link::after { content: ""; position: absolute; inset: 0; }  /* stretched-link：整卡可点，仅一个链接 */
.card:hover .card__link svg { transform: translateX(4px); }
.card:hover .card__link { color: var(--gold-deep); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card h4 { margin-top: 0.65rem; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 600; line-height: 1.12; }

/* Card spec list (services page: suits / commission / deliverables / confirmed per project) */
.card__spec { margin-top: 0.9rem; }
.card__spec dt { margin-top: 0.85rem; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.card__spec dt:first-child { margin-top: 0; }
.card__spec dd { margin-top: 0.2rem; font-size: var(--fs-small); line-height: 1.6; color: var(--ink-soft); }

/* Service groups (services page navigation grouping) */
.svc-group { margin-top: clamp(2.75rem, 2rem + 2.6vw, 4.25rem); }
.section-head + .svc-group { margin-top: 0; }
.svc-group__title { font-size: 1.25rem; }
.svc-group__lede { margin-top: 0.45rem; font-size: var(--fs-small); color: var(--ink-faint); max-width: 62ch; }
.svc-group + .cards { margin-top: 1.5rem; }

/* ---------- Work mosaic ---------- */
.mosaic { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.mosaic__item { position: relative; }
.mosaic__item figcaption { position: absolute; left: 0; bottom: 0; z-index: 1; margin: 0; padding: 2.75rem 1.25rem 1.1rem; width: 100%; color: rgba(247, 245, 242, 0.95); font-size: 0.8125rem; letter-spacing: 0.08em; background: linear-gradient(to top, rgba(20, 20, 18, 0.72), transparent); }
.mosaic .frame { aspect-ratio: auto; height: 100%; min-height: 320px; }
@media (min-width: 1024px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .mosaic__item--w7 { grid-column: span 7; }
  .mosaic__item--w5 { grid-column: span 5; }
  .mosaic .frame { min-height: 440px; }
}

/* ---------- Craft techniques ---------- */
.tech-grid { display: grid; gap: 2rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .tech-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; } }
.tech { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.section--dark .tech { border-color: rgba(247, 245, 242, 0.16); }
.tech__icon { width: 44px; height: 44px; color: var(--gold); }
.section--dark .tech__icon { color: var(--gold-bright); }
.tech h3 { margin-top: 1rem; font-size: 1.2rem; }
.tech p { margin-top: 0.5rem; font-size: var(--fs-small); color: var(--ink-soft); }
.section--dark .tech p { color: var(--dark-text-soft); }

/* ---------- Steps ---------- */
.steps { display: grid; gap: 2.25rem; counter-reset: step; }
@media (min-width: 768px) { .steps--3 { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } .steps--4 { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.section--dark .step { border-color: rgba(247, 245, 242, 0.16); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold);
}
.section--dark .step::before { color: var(--gold-bright); }
.step h3 { margin-top: 0.9rem; }
.step p { margin-top: 0.6rem; color: var(--ink-soft); font-size: var(--fs-small); }
.section--dark .step p { color: var(--dark-text-soft); }

/* ---------- Feature panel (dark narrative) ---------- */
.panel { display: grid; gap: clamp(2rem, 2rem + 2.5vw, 4rem); align-items: center; }
@media (min-width: 1024px) { .panel { grid-template-columns: 1fr 1fr; } }
.panel__media .frame { box-shadow: 0 40px 80px -48px rgba(0, 0, 0, 0.55); }
.panel h2 { max-width: 16ch; }
.panel p + p { margin-top: 1rem; }
.panel .btn { margin-top: 2rem; }

/* ---------- Compare table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; font-size: var(--fs-small); }
.compare th, .compare td { padding: 1.05rem 1.25rem; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--ink); border-top: 0; background: var(--paper-soft); }
.compare tbody th { font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.75rem; color: var(--ink-faint); white-space: nowrap; }
.compare td { color: var(--ink-soft); }
.compare col.hl { background: rgba(140, 106, 79, 0.06); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; min-height: 44px;
  font-family: var(--serif); font-size: 1.25rem; font-weight: 500;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold); }
.faq summary::after {
  content: "+"; flex: none;
  font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1;
  color: var(--gold); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 2.5rem 1.5rem 0; color: var(--ink-soft); max-width: 44rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band h2 { max-width: 18ch; }
.cta-band .lede { max-width: 36rem; margin-top: 1.1rem; }
.cta-band__note { margin-top: 2rem; font-size: var(--fs-small); color: var(--dark-text-soft); }
.cta-band__note a { color: var(--gold-bright); border-bottom: 1px solid rgba(201, 160, 99, 0.4); }
.cta-band__note a:hover { border-color: var(--gold-bright); }

/* ---------- Contact / form (P3 ready) ---------- */
.field { display: grid; gap: 0.45rem; }
.field label { font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; min-height: 44px;
  font: inherit; color: var(--ink);
  background: var(--card); border: 1px solid var(--line); border-radius: 0;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(140, 106, 79, 0.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #A3402F; }
.field__error { font-size: var(--fs-small); color: #A3402F; }
.form-grid { display: grid; gap: 1.4rem; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.form-status { margin-top: 0.4rem; padding: 1rem 1.25rem; border: 1px solid var(--line); background: var(--card); font-size: var(--fs-small); }
.form-status:empty { display: none; }
.form-status.is-success { border-color: var(--gold); color: var(--gold-deep); }
.form-status.is-error { border-color: #A3402F; color: #A3402F; }
.form-fallback { font-size: var(--fs-small); color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--dark-text); }
.site-footer__grid { display: grid; gap: 3rem; padding-block: clamp(3.5rem, 3rem + 3vw, 6rem); }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 4rem; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 4fr 3fr 2.2fr 3fr; gap: 3.5rem; } }
.site-footer .brand__name { color: var(--paper); font-size: 1.6rem; }
.site-footer__blurb { margin-top: 1.4rem; max-width: 24rem; color: var(--dark-text-soft); font-size: var(--fs-small); }
.site-footer h3 { font-family: var(--sans); font-size: var(--fs-eyebrow); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 1.3rem; }
.site-footer__list { display: grid; gap: 0.65rem; font-size: var(--fs-small); }
.site-footer__list a { color: var(--dark-text); transition: color .2s var(--ease); }
.site-footer__list a:hover { color: var(--gold-bright); }
.site-footer__meta { color: var(--dark-text-soft); }
.site-footer__bottom { border-top: 1px solid rgba(247, 245, 242, 0.12); padding-block: 1.6rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: space-between; font-size: 0.8125rem; color: var(--dark-text-soft); }
.site-footer__bottom em { font-family: var(--serif); font-style: italic; color: var(--dark-text); }

/* ---------- Reveal animations (JS-gated) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--fade { transform: none; }

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

/* ---------- Small screens ---------- */
@media (max-width: 479px) {
  .btn { width: 100%; justify-content: center; }
  .btn-row .btn + .btn { margin-top: 0; }
}
