/* =============================================================
   1. Tokens
   ============================================================= */
@property --mesh-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --mesh-x     { syntax: "<percentage>"; inherits: false; initial-value: 30%; }
@property --mesh-y     { syntax: "<percentage>"; inherits: false; initial-value: 40%; }
@property --angle      { syntax: "<angle>"; inherits: false; initial-value: 0deg; }

:root {
  --bg:        #0a1330;
  --bg-2:      #0e1a3f;
  --bg-3:      #142150;
  --bg-4:      #1b2c63;
  --cream:     #f4efe3;
  --cream-2:   #d3cdbd;
  --cream-3:   #8992b0;
  --gold:      #c9a961;
  --gold-2:    #e6c988;
  --gold-dim:  rgba(201,169,97,0.45);
  --line:      rgba(244,239,227,.14);
  --line-gold: rgba(201,169,97,.35);

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono:  "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --nav-h: 84px;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--bg);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-weight: 700; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold); color: var(--bg); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* =============================================================
   3. Utilities
   ============================================================= */
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--gold); color: var(--bg);
  border-radius: 6px; font-weight: 600; transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2.5rem; } }
@media (min-width: 1280px) { .container { padding-inline: 3rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.kicker {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.kicker .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

.eyebrow-line {
  width: 40px; height: 1px; background: var(--gold);
  display: inline-block;
}

.section { position: relative; padding: 7rem 0; }
.section-tight { padding: 4.5rem 0; }
@media (min-width: 960px) { .section { padding: 9rem 0; } }

.section-head { max-width: 640px; margin-bottom: 3.5rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-top: .9rem; }
.section-head p { margin-top: 1.1rem; color: var(--cream-2); font-size: 1.05rem; max-width: 52ch; }
.section-head.is-center { margin-inline: auto; text-align: center; }

/* =============================================================
   4. Typography components
   ============================================================= */
.split-word, .split-char { display: inline-block; will-change: transform, opacity; }
[data-split] { opacity: 1; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   5. Components
   ============================================================= */

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1rem 1.9rem;
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  letter-spacing: .01em;
  border-radius: 3px;
  transition: transform .45s var(--ease-soft), box-shadow .45s var(--ease-soft), background .35s var(--ease-out), color .35s var(--ease-out);
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 4px 20px rgba(201,169,97,0.18);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(201,169,97,0.32), 0 6px 18px rgba(0,0,0,0.35);
}
.btn-gold:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-block { width: 100%; }

/* Nav */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease-out), backdrop-filter .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10,19,48,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-gold);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.nav-brand { display: flex; align-items: center; gap: .8rem; }
.nav-brand .mark { width: 44px; height: 44px; }
.nav-brand-name { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .02em; line-height: 1.1; }
.nav-brand-name small { display: block; font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; color: var(--gold); text-transform: uppercase; margin-top: .2rem; }

@media (min-width: 540px) {
  .nav-brand { gap: 1rem; }
  .nav-brand .mark { width: 54px; height: 54px; }
  .nav-brand-name { font-size: 1.35rem; }
  .nav-brand-name small { font-size: 0.68rem; }
}

.nav-links { display: none; align-items: center; gap: 2.1rem; }
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; font-size: .88rem; font-weight: 500; color: var(--cream-2);
  padding: .3rem 0; transition: color .3s var(--ease-out);
}
.nav-link:hover { color: var(--cream); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta { display: none; }
@media (min-width: 720px) { .nav-cta { display: inline-flex; padding: .75rem 1.5rem; font-size: .82rem; } }

.nav-toggle {
  display: grid; place-items: center; width: 42px; height: 42px;
}
@media (min-width: 960px) { .nav-toggle { display: none; } }
.nav-toggle-bars { position: relative; width: 20px; height: 14px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--cream);
  transition: transform .35s var(--ease-out), opacity .3s;
}
.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; }
.is-nav-open .nav-toggle-bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.is-nav-open .nav-toggle-bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 400;
  background: var(--bg-2);
  display: grid; place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-soft);
}
.nav-mobile[data-open="true"] { clip-path: inset(0); }
.nav-mobile-list { display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.nav-mobile-list a { font-family: var(--serif); font-size: 2rem; color: var(--cream); }
.nav-mobile-list a:hover { color: var(--gold); }
.nav-mobile-foot { position: absolute; bottom: 2.5rem; text-align: center; color: var(--cream-3); font-size: .82rem; }

/* Logo mark */
.mark { display: block; border-radius: 50%; object-fit: contain; }

/* Cards: practice areas */
.practice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px)  { .practice-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .practice-grid { grid-template-columns: repeat(3, 1fr); } }

/* La última tarjeta rellena la celda sobrante para no dejar huecos */
@media (min-width: 640px) and (max-width: 959px) {
  .practice-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .practice-card:last-child:nth-child(3n + 2) { grid-column: auto / span 2; }
}

.practice-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; isolation: isolate;
  background: var(--bg);
  padding: 2.6rem 2.1rem;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform .55s var(--ease-soft), background .5s var(--ease-out);
}
.practice-card:hover { transition-duration: .15s; background: var(--bg-3); }
.practice-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%),
    rgba(201,169,97,.14), transparent 65%);
  opacity: 0; transition: opacity .4s;
}
.practice-card:hover::before { opacity: 1; }
.practice-num {
  font-family: var(--mono); font-size: .72rem; color: var(--gold-dim);
  letter-spacing: .1em;
}
.practice-icon {
  display: inline-block;
  width: 26px; height: 26px; margin: 1.1rem 0 1.2rem;
  color: var(--gold);
  transform: translateZ(30px);
}
.practice-icon svg { display: block; width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.practice-card h3 {
  font-size: 1.12rem; font-weight: 600; line-height: 1.3;
  transform: translateZ(30px);
}
.practice-card p {
  margin-top: .7rem; font-size: .92rem; color: var(--cream-3); line-height: 1.55;
  transform: translateZ(20px);
}
.practice-list {
  margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .55rem;
  transform: translateZ(20px);
}
.practice-list li {
  position: relative; padding-left: 1.1rem;
  font-size: .82rem; color: var(--cream-3); line-height: 1.45;
}
.practice-list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 5px; height: 1px; background: var(--gold);
}

/* Pillars (about) */
.pillars { display: grid; gap: 2.4rem; margin-top: 2.8rem; }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.pillar { border-top: 1px solid var(--line-gold); padding-top: 1.4rem; }
.pillar-num { font-family: var(--mono); color: var(--gold); font-size: .78rem; letter-spacing: .12em; }
.pillar h3 { font-size: 1.2rem; margin-top: .8rem; }
.pillar p { margin-top: .6rem; color: var(--cream-3); font-size: .95rem; }

/* Quote / manifesto */
.quote-section { text-align: center; }
.quote-mark {
  font-family: var(--serif); font-size: 4.5rem; color: var(--gold-dim);
  line-height: 1; margin-bottom: 1rem; font-style: italic;
}
.quote-text {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 2.5rem);
  max-width: 20ch; margin-inline: auto; color: var(--cream);
  line-height: 1.35;
}
.quote-attrib {
  margin-top: 1.6rem; font-family: var(--mono); font-size: .74rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold);
}

/* Contact cards */
.contact-grid { display: grid; gap: 1.1rem; margin-top: 2.6rem; }
@media (min-width: 540px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 2rem 1.8rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform .5s var(--ease-soft), border-color .4s, background .4s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--line-gold); background: var(--bg-4); }
.contact-card-icon { width: 30px; height: 30px; color: var(--gold); }
.contact-card-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.contact-card h3 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; }
.contact-card p { color: var(--cream-3); font-size: .9rem; }
.contact-card .contact-value { color: var(--gold-2); font-family: var(--mono); font-size: .8rem; word-break: normal; overflow-wrap: normal; white-space: nowrap; }
@media (max-width: 419px) { .contact-card .contact-value { white-space: normal; } }
.contact-card-link { margin-top: auto; font-size: .84rem; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: .4rem; }
.contact-card-link::after { content: "→"; transition: transform .3s var(--ease-out); }
.contact-card:hover .contact-card-link::after { transform: translateX(4px); }

.footer-credits { font-size: .78rem; color: var(--cream-3); }
.footer-credits a { color: var(--gold-dim); text-decoration: underline; text-underline-offset: 3px; }
.footer-credits a:hover { color: var(--gold); }

/* Contact form */
.contact-form-card {
  margin-top: 2.6rem;
  max-width: 640px;
  padding: 2.4rem 2rem;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 4px;
  position: relative;
  isolation: isolate;
}
.contact-form-intro h3 { font-size: 1.3rem; }
.contact-form-intro p { margin-top: .6rem; color: var(--cream-3); font-size: .92rem; }

.contact-form { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1.3rem; }

.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 1.35rem 1rem .55rem;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--cream);
  font-family: var(--sans);
  font-size: .95rem;
  transition: border-color .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field label {
  position: absolute; left: 1rem; top: 1.05rem;
  color: var(--cream-3); font-size: .95rem;
  pointer-events: none;
  transition: all .25s var(--ease-out);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  top: .4rem; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold);
}
.field-error {
  display: none;
  margin-top: .45rem; font-size: .8rem; color: #e08a7c;
}
.field.is-invalid input, .field.is-invalid textarea { border-color: #e08a7c; }
.field.is-invalid .field-error { display: block; }

.contact-form-error {
  font-size: .85rem; color: #e08a7c;
  padding: .7rem .9rem;
  background: rgba(224,138,124,.1);
  border: 1px solid rgba(224,138,124,.35);
  border-radius: 4px;
}

.contact-form-submit { position: relative; margin-top: .3rem; }
.contact-form-submit .cta-form-spinner {
  position: absolute; inset: 0; display: none; align-items: center; justify-content: center;
}
.contact-form-submit .cta-form-spinner::after {
  content: ""; width: 18px; height: 18px;
  border: 2px solid rgba(10,19,48,.25); border-top-color: var(--bg);
  border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
form.is-sending .cta-form-label { visibility: hidden; }
form.is-sending .cta-form-spinner { display: flex; }

.contact-form-success {
  display: none;
  flex-direction: column; align-items: center; text-align: center; gap: .8rem;
  padding: 2.4rem 0;
}
.contact-form-success-icon {
  width: 44px; height: 44px; color: var(--gold);
}
.contact-form-success-icon path {
  stroke: currentColor; stroke-width: 2; fill: none;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset .6s var(--ease-out) .1s;
}
.contact-form-success h3 { font-size: 1.3rem; }
.contact-form-success p { color: var(--cream-3); font-size: .92rem; max-width: 40ch; }
.contact-form-card.is-sent .contact-form { display: none; }
.contact-form-card.is-sent .contact-form-success { display: flex; }
.contact-form-card.is-sent .contact-form-success .contact-form-success-icon path { stroke-dashoffset: 0; }

/* =============================================================
   6. Sections
   ============================================================= */

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--bg);
  display: grid; place-items: center;
  pointer-events: auto;
  transition: opacity .9s, clip-path 1.1s var(--ease-soft);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.splash-mark { width: 64px; height: 64px; }
.splash-line { width: 1px; height: 40px; background: var(--line-gold); position: relative; overflow: hidden; }
.splash-line::after {
  content: ""; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  animation: splashDrop 1.6s var(--ease-soft) infinite;
}
@keyframes splashDrop { to { top: 100%; } }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.08) brightness(.85);
}
.hero-bg-tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,19,48,.55) 0%, rgba(10,19,48,.78) 55%, var(--bg) 100%),
    linear-gradient(90deg, rgba(10,19,48,.92) 0%, rgba(10,19,48,.55) 55%, rgba(10,19,48,.85) 100%);
}
.hero-mesh {
  position: absolute; inset: -10%; z-index: -2;
  background:
    radial-gradient(55% 45% at var(--mesh-x) var(--mesh-y), rgba(201,169,97,.22), transparent 62%),
    conic-gradient(from var(--mesh-angle), rgba(201,169,97,.14), rgba(61,90,153,.1), rgba(201,169,97,.1), rgba(201,169,97,.14));
  filter: blur(90px) saturate(120%);
  opacity: .8;
  animation: meshShift 24s linear infinite;
  mix-blend-mode: screen;
}
@keyframes meshShift {
  0%   { --mesh-angle: 0deg;   --mesh-x: 25%; --mesh-y: 30%; }
  50%  { --mesh-angle: 180deg; --mesh-x: 72%; --mesh-y: 58%; }
  100% { --mesh-angle: 360deg; --mesh-x: 25%; --mesh-y: 30%; }
}
.hero-grain {
  position: absolute; inset: 0; z-index: -1;
  pointer-events: none; opacity: 0.05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 220px 220px;
}
.hero-content { position: relative; max-width: 780px; padding-block: 3rem; }
.hero-title {
  margin-top: 1.4rem;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.04;
  max-width: 15ch;
}
.hero-title em { font-style: italic; color: var(--gold-2); font-weight: 600; }
.hero-sub {
  margin-top: 1.6rem; font-size: 1.12rem; color: var(--cream-2);
  max-width: 52ch; line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 2.2rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .6rem;
  color: var(--cream-3); font-family: var(--mono); font-size: .66rem; letter-spacing: .18em;
}
@media (min-width: 720px) { .hero-scroll-cue { display: flex; } }
.hero-scroll-cue-line { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); animation: cueDrop 2.4s var(--ease-soft) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Quote section bg */
.section-quote { background: var(--bg-2); }

/* Practice section */
.section-practice { background: var(--bg); }

/* About / narrative */
.narrative-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .narrative-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.narrative-figure {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 4px;
  border: 1px solid var(--line-gold);
}
.narrative-figure img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}
.narrative-figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,19,48,.15), rgba(10,19,48,.65));
}
.narrative-figure-cap {
  position: absolute; left: 1.4rem; bottom: 1.4rem; z-index: 1;
  font-family: var(--mono); font-size: .7rem; letter-spacing: .14em;
  color: var(--cream); text-transform: uppercase;
}

/* Break / CTA image band */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 6rem 0;
  text-align: center;
}
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: saturate(1.05) brightness(.7); }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,19,48,.88), rgba(10,19,48,.72), rgba(10,19,48,.9));
}
.band-text { max-width: 640px; margin-inline: auto; }
.band h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.band p { margin-top: 1rem; color: var(--cream-2); }
.band .btn { margin-top: 2rem; }

/* Contact */
.section-contact { background: var(--bg-2); }
.contact-head { max-width: 680px; }
.contact-head .section-head { margin-bottom: 0; }
.contact-loc { margin-top: 1.2rem; color: var(--cream-3); font-size: .95rem; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2.2rem; background: var(--bg); }
.footer-top { display: flex; flex-direction: column; gap: 2.2rem; }
@media (min-width: 720px) { .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; } }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-tagline { margin-top: .8rem; color: var(--cream-3); font-size: .88rem; max-width: 36ch; }
.footer-cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a { color: var(--cream-2); font-size: .9rem; transition: color .3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 1rem; font-size: .8rem; color: var(--cream-3);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

/* =============================================================
   7. Effects & reveals
   ============================================================= */
[data-reveal] {
  opacity: 0; transform: translateY(36px);
  transition: opacity .85s var(--ease-soft), transform .85s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-reveal][data-split] { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  z-index: 600; background: rgba(244,239,227,0.06); pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transform-origin: 0 0; transform: scaleX(0); transition: transform .08s linear;
}

/* =============================================================
   8. Responsive breakpoints (mobile-first, additive rules above)
   ============================================================= */
@media (min-width: 540px)  { .hero-actions .btn { min-width: 200px; } }

/* =============================================================
   9. Reduced-motion (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation: none; }
  .hero-scroll-cue-line { animation: none; }
  .splash-line::after { animation: none; }
}

/* =============================================================
   10. FAQ
   ============================================================= */
.faq-list {
  max-width: 860px;
  margin: 3rem auto 0;
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 600;
  color: var(--cream);
  transition: color .3s var(--ease-out);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-2); }
.faq-item summary::after {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  position: relative;
  background:
    linear-gradient(var(--gold), var(--gold)) center / 100% 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) center / 2px 100% no-repeat;
  transition: transform .4s var(--ease-out);
}
.faq-item[open] summary::after { transform: rotate(135deg); }
.faq-answer {
  overflow: hidden;
  padding: 0 0 1.6rem;
  color: var(--cream-2);
  max-width: 70ch;
}
.faq-answer p { margin: 0; }
.faq-answer a,
.section-faq .section-head a {
  color: var(--gold-2);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  transition: border-color .3s var(--ease-out);
}
.faq-answer a:hover,
.section-faq .section-head a:hover { border-color: var(--gold-2); }
.faq-item[open] .faq-answer { animation: faq-reveal .45s var(--ease-out); }
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after,
  .faq-item[open] .faq-answer { transition: none; animation: none; }
}
