/* ═══════════════ RESET ═══════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
blockquote, figure { margin: 0; }
[hidden] { display: none !important; }

/* ═══════════════ THEME TOKENS — MOODY ═══════════════
   Type, palette, spacing rhythm, motion character, image treatment.
   Layout below is token-driven; nothing structural lives in this block. */

html[data-theme="moody"] {
  color-scheme: dark;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', Helvetica, sans-serif;
  --disp-wght: 500;
  --disp-style: normal;
  --disp-track: -0.005em;

  --bg: #141210;          /* charcoal */
  --bg-2: #1B1813;
  --fg: #EBE4D6;          /* warm bone */
  --fg-soft: #B0A794;
  --line: #2C2820;
  --line-strong: #4A4231;
  --eyebrow: #C89B5A;     /* candlelight amber */

  --hero-ph: #1A1712;
  --hero-fg: #EFE8DA;
  --ph-1: #241F18;
  --ph-2: #1E1B15;
  --ph-3: #2A241B;
  --ph-label: #8B7A58;
  --img-filter: sepia(0.14) contrast(1.08) brightness(0.9) saturate(1.02);
  /* Hero runs darker than the page grade so light type holds over bright frames.
     Saturation stays near-neutral here too: her color ("rich and dramatic") is a
     stated part of the work, so the grade no longer fights it — contrast and
     brightness carry the moody read on their own. */
  --hero-img-filter: sepia(0.18) contrast(1.06) brightness(0.6) saturate(0.95);

  --btn-bg: transparent;  --btn-fg: #D2A360;   --btn-border: #8F743F;
  --btn-bg-h: #D2A360;    --btn-fg-h: #171310; --btn-border-h: #D2A360;
  --err: #E29B72;
  --focus: #D2A360;

  --sect: clamp(96px, 12vw, 176px);
  --body-size: 1rem;
  --body-lh: 1.72;
  --dur: 0.85s;
  --ease: cubic-bezier(0.3, 0.55, 0.25, 1);
  --rise: 24px;
  --stagger: 110ms;
  --folio-max: 1440px;
}

/* ═══════════════ BASE ═══════════════ */
body {
  font-family: var(--font-body);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  font-weight: 400;
  background: var(--bg);
  color: var(--fg);
}
::selection { background: var(--fg); color: var(--bg); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: var(--disp-wght);
  font-style: var(--disp-style);
  letter-spacing: var(--disp-track);
  font-optical-sizing: auto;
  line-height: 1.12;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.sec { padding-block: var(--sect); }
.sec--alt { background: var(--bg-2); }
[id] { scroll-margin-top: 92px; }

.skip {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  padding: 10px 18px; background: var(--fg); color: var(--bg);
  font-size: 0.82rem; text-decoration: none;
}
.skip:focus-visible { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Eyebrow labels */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: clamp(18px, 2.6vw, 28px);
}
html[data-theme="moody"] .eyebrow { letter-spacing: 0.3em; }

/* Section headers */
.sec-head { margin-bottom: clamp(52px, 7vw, 92px); }
.sec-head h2 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  max-width: 22ch;
}
html[data-theme="moody"] .sec-head h2 { max-width: 24ch; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 17px 36px;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-border);
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.btn:hover, .btn:focus-visible {
  background: var(--btn-bg-h);
  color: var(--btn-fg-h);
  border-color: var(--btn-border-h);
}
.btn--sm { padding: 11px 22px; font-size: 0.68rem; }

/* Drawn-underline links */
.u {
  position: relative;
  text-decoration: none;
}
.u::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.u:hover::after, .u:focus-visible::after { transform: scaleX(1); }

/* Wordmark */
.wordmark {
  font-family: var(--font-display);
  font-weight: var(--disp-wght);
  font-size: 1.16rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.wordmark span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.56em;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-left: 6px;
}
.wordmark--lg { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.wordmark--lg span { display: block; margin: 10px 0 0 2px; font-size: 0.42em; }

/* ═══════════════ PHOTO SLOTS ═══════════════
   .frame-media reserves the aspect ratio (no layout shift), carries the
   per-theme backdrop tint, and grades any real <img> dropped in later. */
.frame-media {
  position: relative;
  overflow: hidden;
  background: var(--ph-1);
}
.frame-media.t2 { background: var(--ph-2); }
.frame-media.t3 { background: var(--ph-3); }
.frame-media[data-ratio="3x4"]  { aspect-ratio: 3 / 4; }
.frame-media[data-ratio="4x5"]  { aspect-ratio: 4 / 5; }
.frame-media[data-ratio="3x2"]  { aspect-ratio: 3 / 2; }
.frame-media[data-ratio="1x1"]  { aspect-ratio: 1 / 1; }
.frame-media[data-ratio="16x9"] { aspect-ratio: 16 / 9; }

.frame-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: opacity 0.5s ease;
}
.ph { position: absolute; inset: 0; }
.ph::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid color-mix(in srgb, var(--ph-label) 32%, transparent);
  pointer-events: none;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 0.62rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--ph-label);
}

figcaption {
  margin-top: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-soft);
}

/* ═══════════════ NAV ═══════════════ */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--hero-fg);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
.site-nav.scrolled {
  color: var(--fg);
  background: var(--bg);
  border-bottom-color: var(--line);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding-block: 20px;
  transition: padding 0.35s ease;
}
.site-nav.scrolled .nav-bar { padding-block: 13px; }

.nav-links {
  display: flex; align-items: center;
  gap: clamp(22px, 2.8vw, 38px);
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.menu-btn {
  display: none;
  font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 2px;
}

@media (max-width: 480px) {
  /* Wordmark contracts to "Theory"; sub-label stays readable to AT */
  .nav-bar .wordmark span {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .nav-actions { gap: 10px; }
  .nav-actions .btn--sm { padding: 10px 14px; }
}

@media (max-width: 840px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start;
    gap: 4px;
    background: var(--bg); color: var(--fg);
    border-bottom: 1px solid var(--line);
    padding: 14px clamp(20px, 5vw, 56px) 26px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px 0; font-size: 0.86rem; }
}

/* ═══════════════ HERO ═══════════════ */
.hero { position: relative; min-height: 100svh; }
.hero-media { position: absolute; inset: 0; background: var(--hero-ph); overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; filter: var(--hero-img-filter);
}
.hero-media .ph::before { inset: clamp(16px, 3vw, 32px); }
.hero-media .ph::after {
  inset: auto clamp(28px, 4.5vw, 48px) clamp(28px, 4.5vw, 48px) auto;
  display: block;
}

.hero-inner {
  position: relative; z-index: 1;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 120px;
  padding-bottom: clamp(72px, 11vh, 128px);
  color: var(--hero-fg);
  /* Insurance for narrow crops, where cover centers on the bright part of the frame */
  text-shadow: 0 1px 28px rgba(10, 8, 5, 0.45);
}
.hero h1 {
  font-size: clamp(2.45rem, 6.2vw, 4.9rem);
  max-width: 15ch;
  margin-bottom: clamp(22px, 3vw, 34px);
}
.hero .lede {
  max-width: 46ch;
  font-size: clamp(1rem, 1.4vw, 1.13rem);
  color: color-mix(in srgb, var(--hero-fg) 88%, transparent);
  margin-bottom: clamp(30px, 4.5vw, 48px);
}
.hero-cta { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; }
.hero-cta .u { font-size: 0.85rem; letter-spacing: 0.04em; }

html[data-theme="moody"] .hero h1 { max-width: 14ch; }
/* Moody vignette — inset shadow, deliberately not a gradient */
html[data-theme="moody"] .hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  box-shadow:
    inset 0 0 min(26vw, 240px) rgba(8, 6, 3, 0.55),
    inset 0 -30vh 22vh -12vh rgba(8, 6, 3, 0.7);
}

/* Moody film grain — static SVG turbulence tile, ~5% opacity */
html[data-theme="moody"] body::after {
  content: ""; position: fixed; inset: 0; z-index: 90;
  pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ═══════════════ PORTFOLIO ═══════════════ */
#portfolio .container { max-width: var(--folio-max); }

/* Full-bleed wall: viewport-width breakout, zero gap, 6-col grid.
   Row unit ≈ column width (100vw / 6), so spans pack with no holes. */
.wall {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 46vw;
  grid-auto-flow: dense;
  --stagger: 55ms;
}
.wall .tile { grid-column: span 1; grid-row: span 1; }
.wall .tile--feature { grid-column: span 2; }

@media (min-width: 761px) {
  .wall {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 16.4vw;
  }
  /* Category-tile spans live in portfolio.css (.wall--categories). */
}

/* Wall tiles — hover/focus dims the frame and rises a caption inside the
   bottom edge. Touch (hover:none): caption always on, lighter scrim. */
.tile {
  position: relative;
  overflow: hidden;
  min-width: 0;
  margin: 0;
  background: var(--ph-1);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
}
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10, 8, 5, 0.85), rgba(10, 8, 5, 0.3) 52%, transparent 74%),
    rgba(10, 8, 5, 0.16);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.tile figcaption {
  position: absolute; z-index: 1;
  left: 0; right: 0; bottom: 0;
  margin: 0;
  padding: clamp(14px, 2vw, 22px) clamp(16px, 2.2vw, 24px);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}
@media (hover: hover) {
  .tile:hover::after, .tile:focus-visible::after { opacity: 1; }
  .tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; transform: none; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile img { transition: opacity 0.5s ease, transform 1.2s var(--ease); }
  .tile:hover img, .tile:focus-visible img { transform: scale(1.03); }
}
@media (hover: none) {
  .tile::after { opacity: 0.9; }
  .tile figcaption { opacity: 1; transform: none; }
  .tile img { transition: opacity 0.5s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .tile::after, .tile figcaption, .tile img, .frame-media img { transition: none; }
}

.folio-note {
  margin-top: clamp(56px, 8vw, 96px);
  max-width: 44ch;
  color: var(--fg-soft);
  font-size: 0.95rem;
}
/* Inline CTA inside a note needs to read as a link at rest, not only on hover. */
.folio-note a { color: var(--eyebrow); }

/* ═══════════════ STORY ═══════════════ */
.story {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: start;
}
.story-text { max-width: 58ch; }
.story-text .sec-head { margin-bottom: clamp(30px, 4vw, 44px); }
.story-text p + p { margin-top: 1.5em; }
.story-text .opener { font-size: clamp(1.06rem, 1.6vw, 1.2rem); }
.signature {
  margin-top: 2.4em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.5rem;
}
html[data-theme="moody"] .story { grid-template-columns: 7fr 5fr; }
html[data-theme="moody"] .story-media { order: 2; }
html[data-theme="moody"] .story-text { order: 1; }

@media (max-width: 760px) {
  .story { display: block; }
  .story-media { max-width: 420px; margin-bottom: clamp(36px, 9vw, 52px); }
}

/* ═══════════════ EXPERIENCE ═══════════════ */
.movements { max-width: 780px; }
.movements li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: clamp(20px, 4vw, 44px);
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--line);
}
.movements li:last-child { border-bottom: 1px solid var(--line); }
.mv-num {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--eyebrow);
  padding-top: 0.55em;
}
.movements h3 { font-size: clamp(1.32rem, 2.2vw, 1.66rem); margin-bottom: 0.55em; }
.movements p { color: var(--fg-soft); max-width: 56ch; }

html[data-theme="moody"] .movements { max-width: 820px; }

@media (max-width: 640px) {
  .movements li { display: block; }
  .mv-num { display: block; padding: 0 0 12px; }
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.quotes {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(24px, 4vw, 64px);
}
.quote { min-width: 0; }
.q1 { grid-column: 1 / 7; }
.q2 { grid-column: 7 / 13; margin-top: clamp(48px, 8vw, 110px); }
.q3 { grid-column: 3 / 11; margin-top: clamp(48px, 8vw, 110px); }
.quote blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: var(--disp-wght);
  font-size: clamp(1.22rem, 2.1vw, 1.56rem);
  line-height: 1.5;
  letter-spacing: 0;
}
.quote figcaption { margin-top: 22px; }

.awards {
  margin-top: clamp(72px, 9vw, 110px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 52px);
}
.award {
  display: block;
  text-decoration: none;
  border-top: 1px solid var(--line);
  padding-top: clamp(20px, 3vw, 28px);
  transition: border-color 0.35s ease;
}
.award:hover, .award:focus-visible { border-top-color: var(--eyebrow); }
.award-name {
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 10px;
}
.award-rating { font-size: 0.92rem; color: var(--fg-soft); max-width: 48ch; }

@media (max-width: 760px) {
  .awards { grid-template-columns: 1fr; }
}

html[data-theme="moody"] .quote blockquote p { font-size: clamp(1.3rem, 2.4vw, 1.8rem); }
html[data-theme="moody"] .quote figcaption { color: var(--eyebrow); }

@media (max-width: 760px) {
  .quotes { display: block; }
  .quote { margin: 0 0 clamp(48px, 11vw, 64px); }
  .quote:last-of-type { margin-bottom: 0; }
}

/* ═══════════════ INVESTMENT ═══════════════ */
.sec--invest { border-block: 1px solid var(--line); }
.invest { max-width: 760px; }
.invest h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); margin-bottom: clamp(26px, 3.6vw, 38px); }
.invest p { color: var(--fg-soft); }
.invest p + p { margin-top: 1.4em; }
.invest .fine { font-size: 0.9rem; }
.invest .btn { margin-top: clamp(34px, 4.6vw, 48px); }

html[data-theme="moody"] .invest { margin-inline: auto; text-align: center; }
html[data-theme="moody"] .invest .eyebrow { text-align: center; }

/* ═══════════════ FAQ ═══════════════ */
.faq-list { max-width: 780px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; font-family: inherit; letter-spacing: 0; }
.faq-btn {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; width: 100%;
  padding-block: 24px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: var(--disp-wght);
  font-size: clamp(1.12rem, 1.8vw, 1.34rem);
  letter-spacing: var(--disp-track);
}
.faq-ic { position: relative; flex: 0 0 auto; width: 13px; height: 13px; }
.faq-ic::before, .faq-ic::after {
  content: ""; position: absolute; background: var(--eyebrow);
}
.faq-ic::before { left: 0; right: 0; top: 6px; height: 1px; }
.faq-ic::after { top: 0; bottom: 0; left: 6px; width: 1px; transition: transform 0.4s var(--ease); }
.faq-btn[aria-expanded="true"] .faq-ic::after { transform: scaleY(0); }

/* Collapsed panels must also leave the accessibility tree: visibility removes
   them, delayed so the close animation finishes before the content vanishes. */
.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition:
    grid-template-rows var(--dur) var(--ease),
    visibility 0s var(--dur);
}
.faq-panel.open {
  grid-template-rows: 1fr;
  visibility: visible;
  transition:
    grid-template-rows var(--dur) var(--ease),
    visibility 0s 0s;
}
.faq-panel-inner { overflow: hidden; min-height: 0; }
.faq-panel p {
  max-width: 58ch; color: var(--fg-soft);
  padding-bottom: 30px;
}

/* ═══════════════ INQUIRY ═══════════════ */
.inquire-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}
.inquire-intro .sec-head { margin-bottom: clamp(26px, 3.6vw, 40px); }
.inquire-intro p { color: var(--fg-soft); max-width: 42ch; }

.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 24px; }
.field--full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: 10px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 15px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  color: var(--fg);
  transition: border-color 0.3s ease;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  border-color: var(--focus);
  outline: 1px solid var(--focus);
  outline-offset: 2px;
}
.field select {
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23B0A794'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}
/* Empty-value select reads as placeholder, not a chosen answer */
.field select:has(option[value=""]:checked) { color: var(--fg-soft); }
.field textarea { min-height: 170px; resize: vertical; }
.field .hint { font-size: 0.8rem; color: var(--fg-soft); margin-top: 8px; }
.f-err { font-size: 0.82rem; color: var(--err); margin-top: 8px; }
.f-err:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--err); }

/* Honeypot. Kept out of the accessibility tree and off the tab order rather
   than display:none, which some bots detect and skip. */
.hp {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.ts-holder { grid-column: 1 / -1; }
.ts-holder:empty { display: none; }

.form-err {
  grid-column: 1 / -1;
  font-size: 0.86rem; color: var(--err);
  margin-top: 4px;
}
.form-err:empty { display: none; }

.form-foot {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
  margin-top: 8px;
}
.form-foot .note { font-size: 0.82rem; color: var(--fg-soft); }
.form-foot .btn[disabled] { opacity: 0.55; cursor: default; }

.form-success h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 18px;
}
.form-success p { color: var(--fg-soft); max-width: 46ch; }
.form-success p + p { margin-top: 1.2em; }
.form-success:focus-visible { outline: none; }

@media (max-width: 860px) {
  .inquire-grid { display: block; }
  .inquire-intro { margin-bottom: clamp(44px, 8vw, 64px); }
}
@media (max-width: 560px) {
  .f-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
}

/* ═══════════════ FOOTER ═══════════════ */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 88px) clamp(32px, 4vw, 44px);
}
.foot-grid {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: clamp(36px, 6vw, 80px); flex-wrap: wrap;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.foot-col nav { display: flex; flex-direction: column; gap: 12px; }
.foot-col a { font-size: 0.85rem; text-decoration: none; align-self: flex-start; }
.foot-col .foot-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--eyebrow); margin-bottom: 18px;
}
.foot-base {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--fg-soft);
}

/* ═══════════════ MOTION ═══════════════
   Scroll reveals: opacity + small rise, IntersectionObserver adds .in.
   Stagger index --n is set by JS on children of [data-stagger]. */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--rise));
  transition:
    opacity var(--dur) var(--ease),
    transform var(--dur) var(--ease);
  transition-delay: calc(var(--n, 0) * var(--stagger));
}
[data-reveal].in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .faq-panel, .faq-ic::after, .u::after, .btn, .site-nav, .nav-bar { transition: none; }
}

/* ═══════════════ IMAGE FADE-IN ═══════════════
   Content images fade in once decoded — with progressive JPEGs this reads
   as a smooth materialize instead of top-to-bottom banding on slow
   networks. Gated on html.js so a no-JS page never hides images, and the
   hero is excluded (eager LCP element). The opacity transitions live on
   the per-element hover/touch blocks so they never clobber the hover
   scale's transform transition. */
html.js .tile img,
html.js .album-card-media img,
html.js .g-btn img,
html.js .frame-media img {
  opacity: 0;
}
html.js .tile img.is-loaded,
html.js .album-card-media img.is-loaded,
html.js .g-btn img.is-loaded,
html.js .frame-media img.is-loaded {
  opacity: 1;
}

