/* Black Tie Solutions — boutique fulfillment site. No stock or generated warehouse photos. */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("../fonts/inter-tight-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 Tight"; font-style: italic; font-weight: 400 500; font-display: swap; src: url("../fonts/inter-tight-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; }
:root {
  --navy: #0c0c0c;
  --navy-2: #1a1a1a;
  --ink: #141414;
  --ink-soft: #5a554c;
  --paper: #f7f3ea;
  --paper-2: #efe6d6;
  --white: #fffdf8;
  --gold: #c6a56a;
  --gold-dark: #a4843f;
  --gold-on-cream: #7A5C24;
  --gold-soft: #e8d7a8;
  --rule: rgba(12, 12, 12, 0.1);
  --slot: #e8e2d6;
  --ok: #1c6b4a;
  --err: #9c2a2a;
  --shadow: 0 12px 40px rgba(11, 31, 51, 0.08);
  --shadow-soft: 0 8px 24px rgba(11, 31, 51, 0.06);
  --font-display: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter Tight", "Inter", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  --gutter: 24px;
  --radius: 16px;
  --header-h: 72px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 80px;
  --prose: 65ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
  color: var(--navy);
}
p { margin: 0 0 1em; max-width: var(--prose); }
ul, ol { margin: 0 0 1em; padding: 0 0 0 1.15em; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--paper);
  padding: 8px 16px;
  z-index: 100;
}
.skip:focus { left: 16px; top: 16px; }

.wrap {
  width: min(var(--wrap), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--rule);
  box-shadow: var(--shadow-soft);
  background: color-mix(in srgb, var(--paper) 94%, white);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}
.logo {
  text-decoration: none;
  display: grid;
  line-height: 1.1;
  min-width: 0;
}
.logo .mark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.logo .sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  margin-top: 2px;
}

nav.primary { display: none; }
nav.primary ul {
  list-style: none;
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  align-items: center;
}
nav.primary a,
nav.primary .menu-toggle {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
  font-weight: 500;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--navy);
  border-radius: 999px;
}
nav.primary a:hover,
nav.primary .menu-toggle:hover,
nav.primary a[aria-current="page"] {
  background: color-mix(in srgb, var(--gold) 16%, transparent);
}
.has-menu { position: relative; }
.mega {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: min(760px, 72vw);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
  padding: 16px;
  display: none;
  z-index: 50;
}
.has-menu.is-open .mega { display: block; }
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.mega a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
}
.mega a:hover,
.mega a[aria-current="page"] { background: var(--paper); }
.mega strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 650;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--navy);
  margin: 0;
}
.mega span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 2px;
  font-weight: 400;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle:hover { border-color: var(--navy); }
.nav-toggle-bars {
  position: relative;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
  display: block;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--navy);
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: color-mix(in srgb, var(--navy) 28%, transparent);
  z-index: 35;
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  margin-left: auto;
  width: min(100%, 400px);
  height: 100%;
  background: var(--white);
  padding: 16px 24px 40px;
  overflow: auto;
  box-shadow: var(--shadow);
}
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav a,
.mobile-nav .drawer-toggle {
  display: block;
  width: 100%;
  text-align: left;
  text-decoration: none;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.mobile-nav .sub-links { padding: 4px 0 12px 12px; }
.mobile-nav .sub-links a {
  font-weight: 500;
  padding: 10px 0;
  border: 0;
  color: var(--ink-soft);
}
.mobile-nav .drawer-cta {
  margin-top: 24px;
  width: 100%;
  text-align: center;
  border: 0;
}
.header-cta { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  background: var(--navy);
  color: var(--paper);
  border: 1px solid var(--navy);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: none;
}
.btn:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}
.btn:active { transform: none; }
.btn:focus-visible,
.btn-ghost:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid var(--rule);
  padding: 12px 22px;
  background: transparent;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border-radius: 999px;
  color: var(--navy);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.btn-ghost:hover { border-color: var(--navy); background: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Hero */
.hero {
  padding: 48px 0 64px;
}
.eyebrow, .kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-cream);
  font-weight: 600;
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.15rem, 6.4vw, 4.1rem);
  font-weight: 600;
  max-width: 16ch;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero .lede {
  font-size: 1.05rem;
  max-width: var(--prose);
  color: var(--ink-soft);
  margin-bottom: 0;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}
.hero-meta li {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  border: 1px solid var(--rule);
  padding: 6px 12px;
  background: var(--white);
  border-radius: 999px;
  color: var(--navy);
}
.hero-meta .ac {
  background: var(--navy);
  color: var(--paper);
  border-color: var(--navy);
}


.hero-grid { display: grid; gap: 32px; align-items: center; }
.hero-visual {
  position: relative;
  min-height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.hero-fallback, .hero-scene { width: 100%; height: 100%; }
.hero-fallback { display: block; min-height: 200px; }
.hero-fallback svg { width: 100%; height: 200px; }
.hero-scene {
  display: none;
  height: 420px;
  perspective: 900px;
  perspective-origin: 50% 40%;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(198, 165, 106, 0.16), transparent 50%),
    linear-gradient(180deg, #161616, #0c0c0c 70%);
}
.hero-world {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-16deg) scale(0.95);
  will-change: transform;
}
.hero-floor {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22%;
  bottom: 4%;
  background:
    linear-gradient(90deg, rgba(198,165,106,0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(0deg, rgba(198,165,106,0.08) 1px, transparent 1px) 0 0 / 32px 32px,
    #141414;
  border: 1px solid rgba(198, 165, 106, 0.28);
  transform: translateZ(-8px);
}
.hero-bay {
  position: absolute;
  left: 12%;
  top: 8%;
  width: 22%;
  height: 28%;
  border: 2px solid rgba(198, 165, 106, 0.55);
  border-bottom: 0;
  transform: translateZ(20px) rotateX(-90deg);
  box-shadow: inset 0 0 24px rgba(198, 165, 106, 0.12);
}
.hero-bay::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 18%;
  bottom: 0;
  background: linear-gradient(180deg, rgba(198,165,106,0.2), transparent);
}
.rack {
  position: absolute;
  bottom: 12%;
  width: 14%;
  height: 42%;
  border: 1px solid rgba(198, 165, 106, 0.45);
  background:
    repeating-linear-gradient(180deg, transparent 0 18%, rgba(198,165,106,0.35) 18% 20%),
    rgba(255, 253, 248, 0.03);
  transform-style: preserve-3d;
}
.rack:nth-child(1) { left: 38%; transform: translateZ(30px); height: 48%; }
.rack:nth-child(2) { left: 54%; transform: translateZ(10px); height: 44%; }
.rack:nth-child(3) { left: 70%; transform: translateZ(-10px); height: 40%; }
.hero-plane {
  position: absolute;
  width: 72px;
  height: 24px;
  offset-path: path("M-40,260 C 120,220 280,80 520,40");
  offset-rotate: auto;
  animation: plane-fly 14s linear infinite;
  filter: drop-shadow(0 8px 10px rgba(0,0,0,0.45));
}
.hero-plane svg { width: 72px; height: 24px; }
@keyframes plane-fly {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  88% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}
.facility-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.facility-points li {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 8px 14px;
  border-radius: 999px;
}
.ac-band .facility-points li {
  color: var(--paper);
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(232, 215, 168, 0.28);
}
/* AC band */
.ac-band {
  background: var(--navy);
  color: var(--paper);
  padding: 64px 0;
}
.ac-band h2 { color: var(--paper); font-size: clamp(1.7rem, 4vw, 2.6rem); }
.ac-band p { max-width: var(--prose); color: #d7dde4; margin-bottom: 0; }
.ac-band strong { color: var(--paper); }
.ac-band .eyebrow { color: var(--gold-soft); }
.ac-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.ac-products li {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(232, 215, 168, 0.35);
  color: var(--gold-soft);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Sections */
section { padding: 64px 0; }
.section-rule { border-top: 1px solid var(--rule); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
.subhead { max-width: var(--prose); color: var(--ink-soft); }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.card, .service-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  display: block;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
a.service-card:hover, a.service-card:focus-visible, .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--gold) 45%, var(--rule));
}
.card h3, .service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35em;
}
.service-card p { margin-bottom: 0; color: var(--ink-soft); }
.num {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-on-cream);
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

/* Handoff steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 32px 0 0; }
.steps li {
  position: relative;
  padding: 20px 0 20px 56px;
  border-top: 1px solid var(--rule);
  max-width: var(--prose);
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 20px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-on-cream);
  font-weight: 600;
}

/* Scroll sequence */
.run-sequence { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.stage-art {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  min-height: 280px;
  padding: 16px;
  margin: 24px 0 16px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.stage-art svg { width: 100%; height: auto; }
.stage-caption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  max-width: var(--prose);
}
.stage-tabs {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}
.stage-tabs button {
  width: 100%;
  text-align: left;
  border: 1px solid var(--rule);
  padding: 16px;
  cursor: pointer;
  background: var(--white);
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.stage-tabs button:hover { border-color: color-mix(in srgb, var(--gold) 50%, var(--rule)); }
.stage-tabs button[aria-selected="true"] {
  border-color: var(--navy);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}
.stage-tabs strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.stage-tabs span { display: block; color: var(--ink-soft); font-size: 0.92rem; margin-top: 4px; }

.seq .comp, .seq .kit, .seq .ship { transition: transform 0.7s ease, opacity 0.7s ease; }
.seq[data-stage="0"] .kit, .seq[data-stage="0"] .ship { opacity: 0.18; }
.seq[data-stage="0"] .comp { transform: translateX(0); }
.seq[data-stage="1"] .comp { opacity: 0.28; transform: translateX(12px); }
.seq[data-stage="1"] .ship { opacity: 0.18; }
.seq[data-stage="1"] .kit { transform: scale(1.02); }
.seq[data-stage="2"] .comp, .seq[data-stage="2"] .kit { opacity: 0.22; }
.seq[data-stage="2"] .ship { opacity: 1; transform: translateX(8px); }

/* Estimator */
.estimator {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label, .field .label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}
.field .hint { font-size: 0.85rem; color: var(--ink-soft); font-weight: 400; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 12px 14px;
  border-radius: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
  outline: none;
}
.field textarea { min-height: 7rem; resize: vertical; }
.slider-row { display: grid; gap: 10px; }
.check-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 2px 0 0;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  line-height: 1.2;
}
.check-inline input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin: 0;
  padding: 0;
  flex: 0 0 20px;
  box-sizing: border-box;
  border: 1.5px solid var(--navy);
  border-radius: 4px;
  background: #fff;
  display: inline-grid;
  place-content: center;
  box-shadow: none;
}
.check-inline input[type="checkbox"]::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
}
.check-inline input[type="checkbox"]:checked {
  background: var(--navy);
  border-color: var(--navy);
}
.check-inline input[type="checkbox"]:checked::after { opacity: 1; }
.check-inline input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 28%, transparent);
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
  height: 32px;
}
.slider-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}
.est-note {
  background: var(--paper);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  font-size: 0.95rem;
  margin: 8px 0 20px;
  border-radius: 0 12px 12px 0;
  max-width: none;
}

/* Photo slots */
.photo-slot {
  border: 1px dashed color-mix(in srgb, var(--navy) 28%, transparent);
  background:
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(11, 31, 51, 0.03) 8px, rgba(11, 31, 51, 0.03) 16px),
    var(--slot);
  min-height: 200px;
  padding: 16px;
  position: relative;
  display: grid;
  align-content: space-between;
  border-radius: var(--radius);
  margin: 0;
}
.photo-slot .slot-tag {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--paper);
  display: inline-block;
  padding: 4px 8px;
  width: max-content;
  border-radius: 6px;
  font-weight: 600;
}
.photo-slot h3, .photo-slot p { margin: 8px 0 0; }
.photo-slot h3 { font-size: 1.15rem; }
.photo-grid { display: grid; gap: 16px; margin-top: 24px; }

/* Proof / packing spec */
.spec {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.spec-banner {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--navy);
  color: var(--paper);
  display: inline-block;
  padding: 6px 10px;
  margin-bottom: 16px;
  border-radius: 6px;
  font-weight: 600;
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
th, td {
  border-bottom: 1px solid var(--rule);
  text-align: left;
  padding: 12px 8px;
  vertical-align: top;
}
th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Forms */
.form-status { margin: 12px 0; padding: 12px 16px; border: 1px solid transparent; border-radius: 12px; max-width: none; }
.form-status.error { border-color: var(--err); background: #f8e8e6; color: var(--err); }
.form-status.success { border-color: var(--ok); background: #e7f4ee; color: var(--ok); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.85rem; margin-top: 6px; display: none; }
.field.has-error .field-error { display: block; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.placeholder-note {
  font-size: 0.9rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--rule);
  margin-top: 32px;
  padding-top: 16px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 40px;
  background: var(--navy);
  color: #d7dde4;
  font-size: 0.95rem;
}
.site-footer h2, .site-footer strong, .site-footer .kicker { color: var(--paper); }
.site-footer .kicker { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 32px; }
.site-footer a { text-underline-offset: 3px; color: var(--paper); }
.site-footer p { max-width: 42ch; }
.site-footer .tiny {
  font-size: 0.78rem;
  color: #9aa6b2;
  letter-spacing: 0.02em;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Desktop */
@media (min-width: 800px) {
  .nav-toggle { display: none; }
  nav.primary { display: block; }
  .header-cta { display: inline-flex; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .hero-visual img { aspect-ratio: 16 / 9; }
  section { padding: 80px 0; }
  .ac-band { padding: 80px 0; }
  .stage-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: start; }
  .stage-art { min-height: 360px; margin-top: 0; }
  .photo-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, a.service-card:hover, .card:hover { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .seq .comp, .seq .kit, .seq .ship { transition: none; }
  .stage-art img { transition: none; }
}

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


.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow);
}
.hero-visual picture, .hero-visual img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-visual img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}
.visual-caption {
  margin: 0;
  padding: 0;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(247, 243, 234, 0.78);
}
.hero-visual .visual-caption,
.editorial-frame .visual-caption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 3px 8px;
  background: rgba(12, 12, 12, 0.42);
  border-radius: 2px;
  z-index: 1;
}
.editorial-frame { position: relative; }
.vis-tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.editorial-frame {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}
.editorial-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.stage-art {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  margin: 0 0 16px;
  background: var(--navy);
}
.stage-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.7s ease;
}
.stage-art img.is-active { opacity: 1; }


/* Official image slots — one file path each; see CHECKPOINT-2026-11-21.md */
.hero-visual.image-slot img,
.image-slot[data-slot="hero"] img {
  aspect-ratio: 16 / 9;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
.slot-grid {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.slot-grid .image-slot {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}
.slot-grid .image-slot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}
.slot-grid .visual-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 12px;
  background: var(--navy);
}
.slot-grid .vis-tag {
  font-size: 0.6rem;
  color: var(--gold-soft);
  opacity: 0.7;
  flex: 0 0 auto;
}
.slot-grid .slot-name {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  color: var(--paper);
  margin-bottom: 4px;
}
.stage-copy { max-width: none; }
@media (min-width: 800px) {
  .slot-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.form-fallback { margin: 10px 0 0; font-size: 0.95rem; }

/* SEO pages: service photo, FAQ list, link rows */
.svc-photo-wrap { padding: 0 0 8px; }
.svc-photo { margin: 0; }
.svc-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--slot); }
.faq-list { max-width: var(--prose); }
.faq-list h3 { font-size: 1.08rem; margin: 28px 0 8px; }
.faq-list p { color: var(--ink-soft); margin: 0; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; font-size: 0.95rem; }
.link-row span { color: var(--ink-soft); }
.link-row a { color: var(--ink); text-underline-offset: 3px; }
.services-hub { padding: 56px 0; }
.hub-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.hub-links a { display: block; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 12px; background: var(--white); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.hub-links a:hover, .hub-links a:focus-visible { border-color: var(--navy); }
@media (min-width: 860px) { .hub-links { grid-template-columns: repeat(4, 1fr); } }
.services-hub .subhead { max-width: var(--prose); color: var(--ink-soft); margin-bottom: 24px; }
