/* ==========================================================================
   East Bethel Churches
   Design: "Editorial Light" — magazine typography, hairline structure,
   atmospheric light, generous negative space.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surface — near-white with a faint cool cast, warmed just enough
     that it reads as paper and not as a screen. */
  --bg:          #fbfcfd;
  --bg-sink:     #f3f5f8;
  --bg-deep:     #eceff4;
  --surface:     #ffffff;

  /* Ink */
  --ink:         #10151c;
  --ink-2:       #39424e;
  --ink-3:       #5b6674;
  --ink-4:       #626e7d;

  /* Hairlines */
  --rule:        #e3e7ed;
  --rule-soft:   #edf0f4;
  --rule-strong: #cdd4dd;

  /* Accent — deep ink-blue, used sparingly */
  --accent:      #1d4f7c;
  --accent-2:    #2f6d9f;
  --accent-wash: #eaf1f7;

  /* Atmosphere */
  --bloom-1: rgba(255, 255, 255, 0.95);
  --bloom-2: rgba(159, 197, 226, 0.38);
  --bloom-3: rgba(206, 220, 235, 0.55);

  /* Type */
  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Metrics */
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1420px;
  --measure: 68ch;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "kern", "liga", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
svg { display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }

p { margin: 0 0 1.15em; color: var(--ink-2); }
p:last-child { margin-bottom: 0; }

ul, ol { color: var(--ink-2); }

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

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

/* Fine paper grain — adds depth without reading as texture */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */
.display-xl,
.display-l,
.display-m,
.display-s {
  font-family: var(--display);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.022em;
  line-height: 0.95;
  text-wrap: balance;
}

.display-xl { font-size: clamp(3.4rem, 8.6vw, 8rem); line-height: 0.9; letter-spacing: -0.032em; }
.display-l  { font-size: clamp(2.6rem, 5.6vw, 4.75rem); line-height: 0.94; letter-spacing: -0.028em; }
.display-m  { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.0; }
.display-s  { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.15; letter-spacing: -0.015em; }

.display-xl em,
.display-l em,
.display-m em { font-style: italic; letter-spacing: -0.01em; }

/* Small tracked label — the connective tissue of the whole system */
.label {
  display: block;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-4);
  line-height: 1.4;
}
.label-accent { color: var(--accent); }
.label-ink { color: var(--ink); }

.lede {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.55;
  color: var(--ink-2);
  letter-spacing: -0.011em;
  max-width: 46ch;
  text-wrap: pretty;
}

.prose { max-width: var(--measure); }
.prose p { margin-bottom: 1.2em; }
.prose h2 {
  font-family: var(--display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 2.4em 0 0.6em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin: 2em 0 0.5em;
}
.prose ul, .prose ol { padding-left: 1.15em; margin: 0 0 1.4em; }
.prose li { margin-bottom: 0.7em; padding-left: 0.25em; }
.prose li::marker { color: var(--ink-4); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.prose a:hover { text-decoration-color: var(--accent); }
.prose strong { font-weight: 600; color: var(--ink); }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.band { padding-block: clamp(64px, 9vw, 132px); }
.phero + .band,
.phero + section.band { padding-top: clamp(18px, 2.4vw, 40px); }
.pro-figure + .band { padding-top: clamp(40px, 5vw, 72px); }
.band-tight { padding-block: clamp(44px, 6vw, 80px); }
.band-sink { background: var(--bg-sink); }
.rule-top { border-top: 1px solid var(--rule); }

/* Asymmetric section head: label sits in a left rail, headline beside it */
.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: start;
  padding-bottom: clamp(32px, 4vw, 56px);
}
.sec-head-body { max-width: 54ch; }
.sec-head-wide { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); }
.sec-head-wide .sec-head-body { max-width: 74ch; }
.sec-head-body .display-m { margin-bottom: 0.5em; }
.sec-head-body p { color: var(--ink-2); }
.sec-head-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 200;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.masthead.is-stuck {
  border-bottom-color: var(--rule);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
}

.masthead-in {
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark { display: flex; align-items: baseline; gap: 10px; flex-shrink: 0; }
.wordmark-name {
  font-family: var(--display);
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.wordmark-loc {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  padding-block: 4px;
  position: relative;
  transition: color 0.2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.is-current { color: var(--ink); }
.nav-link.is-current::after { transform: scaleX(1); background: var(--accent); }

/* Dropdown — generous hit area so the pointer never crosses dead space */
.nav-drop { position: relative; }
.nav-drop > .nav-link { display: inline-flex; align-items: center; gap: 5px; }
.nav-drop > .nav-link svg { width: 8px; height: 8px; opacity: 0.5; transition: transform 0.25s var(--ease); }
.nav-drop:hover > .nav-link svg { transform: rotate(180deg); }

.drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  translate: -50% 0;
  padding-top: 16px;
  min-width: 268px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}
.nav-drop:hover .drop-panel,
.nav-drop:focus-within .drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.drop-inner {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 8px;
  box-shadow: 0 1px 2px rgba(16, 21, 28, 0.04), 0 18px 44px -22px rgba(16, 21, 28, 0.22);
}
.drop-inner a {
  display: block;
  padding: 9px 12px;
  border-radius: 3px;
  font-size: 0.875rem;
  color: var(--ink-2);
  transition: background 0.16s var(--ease), color 0.16s var(--ease);
}
.drop-inner a:hover { background: var(--bg-sink); color: var(--ink); }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  cursor: pointer;
  color: var(--ink);
  flex-shrink: 0;
}
.burger span { display: block; width: 17px; height: 1px; background: currentColor; position: relative; transition: background 0.2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 1px; background: currentColor;
  transition: transform 0.28s var(--ease);
}
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 168px) clamp(56px, 7vw, 104px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 150%;
  z-index: -1;
  background:
    radial-gradient(58% 46% at 22% 8%, var(--bloom-1) 0%, transparent 62%),
    radial-gradient(48% 44% at 82% 2%, var(--bloom-2) 0%, transparent 60%),
    radial-gradient(70% 55% at 50% 100%, var(--bloom-3) 0%, transparent 65%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
}
.hero h1 { margin-bottom: 0; max-width: 15ch; }
.hero-sub {
  display: grid;
  grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 72px);
  align-items: start;
}
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-top: 34px; }

/* Metadata strip — hairline separated, replaces "stat cards" */
.meta-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border-top: 1px solid var(--rule);
  margin-top: clamp(48px, 6vw, 84px);
}
.meta-cell {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--rule);
}
.meta-cell:last-child { border-right: none; }
.meta-cell .label { margin-bottom: 8px; }
.meta-val {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.meta-val-sm { font-size: clamp(1.15rem, 1.5vw, 1.35rem); }

/* Page hero (interior pages) */
.phero {
  position: relative;
  padding-block: clamp(52px, 7vw, 104px) clamp(36px, 4.5vw, 64px);
  overflow: hidden;
  isolation: isolate;
}
.phero::before {
  content: "";
  position: absolute;
  inset: -60% -10% auto -10%;
  height: 190%;
  z-index: -1;
  background:
    radial-gradient(52% 50% at 18% 12%, var(--bloom-1) 0%, transparent 60%),
    radial-gradient(44% 46% at 86% 0%, var(--bloom-2) 0%, transparent 58%);
}
.phero h1 { margin-bottom: 0.35em; max-width: 18ch; }
.phero .lede { max-width: 58ch; }

/* --------------------------------------------------------------------------
   7. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding-inline: 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.008em;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn svg { width: 15px; height: 15px; transition: transform 0.28s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn-ink { background: var(--ink); color: var(--bg); }
.btn-ink:hover { background: #000; transform: translateY(-1px); }

.btn-line {
  background: transparent;
  color: var(--ink);
  border-color: var(--rule-strong);
}
.btn-line:hover { border-color: var(--ink); background: var(--surface); }

.btn-sm { height: 42px; padding-inline: 20px; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* Underline-animation text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-bottom: 3px;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform-origin: right;
  transition: transform 0.34s var(--ease);
}
.tlink:hover::after { transform: scaleX(0); transform-origin: left; }
.tlink svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   8. Directory index — the signature component
   -------------------------------------------------------------------------- */
.index { border-top: 1px solid var(--rule); position: relative; }

.irow {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 15rem) minmax(0, 12rem) 2.5rem;
  align-items: center;
  gap: 20px;
  padding-block: clamp(24px, 2.6vw, 34px);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding-inline 0.4s var(--ease);
}
.irow::before {
  content: "";
  position: absolute;
  inset: 0 -16px;
  background: var(--surface);
  opacity: 0;
  border-radius: 4px;
  transition: opacity 0.32s var(--ease);
  z-index: -1;
}
.irow:hover::before { opacity: 1; }
.irow:hover { padding-inline: 16px; }

.irow-num {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink-4);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s var(--ease);
}
.irow:hover .irow-num { color: var(--accent); }

.irow-name {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.irow-where {
  display: block;
  font-size: 0.8125rem;
  color: var(--ink-4);
  margin-top: 5px;
  letter-spacing: -0.005em;
}
.irow-col { display: block; font-size: 0.875rem; color: var(--ink-2); letter-spacing: -0.006em; }
.irow-col .label { margin-bottom: 5px; }
.irow-col-muted { color: var(--ink-4); }

.irow-go {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--ink-4);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.irow-go svg { width: 17px; height: 17px; }
.irow:hover .irow-go { color: var(--ink); transform: translateX(4px); }

/* Cursor-following image reveal */
.peek {
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 200px;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 26px 60px -24px rgba(16, 21, 28, 0.42);
  transform: translate3d(-50%, -50%, 0) scale(0.94);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.peek.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #dfe8f1 0%, #c3d3e2 55%, #a9bfd4 100%);
  font-family: var(--display);
  font-size: 3.4rem;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.03em;
}

/* --------------------------------------------------------------------------
   9. Guide cards — editorial, ruled, not boxed
   -------------------------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 1080px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .guide-grid { grid-template-columns: minmax(0, 1fr); } }
.guide-cell {
  background: var(--bg);
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.4vw, 36px);
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: background 0.3s var(--ease);
}
.guide-cell:hover { background: var(--surface); }
.guide-cell .label { margin-bottom: 18px; }
.guide-cell h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 1.9vw, 1.7rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.guide-cell p { font-size: 0.9375rem; color: var(--ink-3); flex: 1; margin-bottom: 22px; }
.guide-cell .tlink { font-size: 0.875rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   10. Tables
   -------------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.ledger {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
table.ledger thead th {
  text-align: left;
  padding: 0 24px 14px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
}
table.ledger tbody td {
  padding: 20px 24px 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--ink-2);
  vertical-align: top;
}
table.ledger tbody tr:hover td { background: var(--surface); }
table.ledger .cell-name {
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.018em;
  line-height: 1.2;
  color: var(--ink);
}
table.ledger .cell-name a:hover { color: var(--accent); }
table.ledger .cell-time { font-variant-numeric: tabular-nums; color: var(--ink); }
table.ledger .cell-muted { color: var(--ink-4); }

/* --------------------------------------------------------------------------
   11. FAQ / accordion
   -------------------------------------------------------------------------- */
.qa { border-top: 1px solid var(--rule); }
.qa-item { border-bottom: 1px solid var(--rule); }
.qa-item summary {
  list-style: none;
  cursor: pointer;
  padding-block: clamp(20px, 2.2vw, 28px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 24px;
  align-items: start;
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.qa-item summary::-webkit-details-marker { display: none; }
.qa-item summary:hover { color: var(--accent); }
.qa-sign {
  position: relative;
  width: 16px; height: 16px;
  margin-top: 8px;
  justify-self: end;
  flex-shrink: 0;
}
.qa-sign::before, .qa-sign::after {
  content: "";
  position: absolute;
  background: var(--ink-3);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.qa-sign::before { top: 50%; left: 0; width: 16px; height: 1px; translate: 0 -50%; }
.qa-sign::after  { left: 50%; top: 0; width: 1px; height: 16px; translate: -50% 0; }
.qa-item[open] .qa-sign::after { transform: rotate(90deg); }
.qa-item[open] .qa-sign::before, .qa-item[open] .qa-sign::after { background: var(--accent); }
.qa-body {
  padding-bottom: clamp(22px, 2.4vw, 30px);
  padding-right: 52px;
  max-width: 74ch;
}
.qa-body p { color: var(--ink-2); font-size: 1rem; }
.qa-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   12. Profile pages
   -------------------------------------------------------------------------- */
.pro-hero {
  position: relative;
  padding-block: clamp(48px, 6vw, 88px) clamp(32px, 4vw, 52px);
  overflow: hidden;
  isolation: isolate;
}
.pro-hero::before {
  content: "";
  position: absolute;
  inset: -70% -10% auto -10%;
  height: 200%;
  z-index: -1;
  background:
    radial-gradient(50% 48% at 16% 10%, var(--bloom-1) 0%, transparent 60%),
    radial-gradient(46% 46% at 88% 0%, var(--bloom-2) 0%, transparent 58%);
}
.pro-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.pro-hero h1 { margin-bottom: 0.3em; }
.pro-where {
  font-size: 1rem;
  color: var(--ink-3);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pro-where svg { width: 15px; height: 15px; color: var(--ink-4); flex-shrink: 0; }
.pro-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.pro-figure {
  margin-block: clamp(8px, 2vw, 24px) 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 21 / 8;
  background: linear-gradient(150deg, #e4ecf3, #c3d3e2);
}
.pro-figure img { width: 100%; height: 100%; object-fit: cover; }

.pro-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.pro-main > section + section { margin-top: clamp(44px, 5vw, 68px); }
.pro-main .sec-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}
.pro-main .sec-title h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.pro-rail { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 34px; }

/* Hairline spec list */
.spec { border-top: 1px solid var(--ink); }
.spec-row {
  display: grid;
  grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
  gap: 16px;
  padding-block: 15px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
}
.spec-row dt { color: var(--ink-4); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 3px; }
.spec-row dd { margin: 0; color: var(--ink-2); }
.spec-row dd a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.spec-row dd.is-empty { color: var(--ink-4); }

.times-list { border-top: 1px solid var(--ink); }
.times-list li {
  list-style: none;
  padding-block: 13px;
  border-bottom: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.times-list { padding: 0; margin: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding-inline: 13px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: -0.003em;
  color: var(--ink-2);
  background: color-mix(in srgb, var(--surface) 70%, transparent);
}

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  background: var(--surface);
  font-size: 0.875rem;
  color: var(--ink-2);
}
.chip svg { width: 13px; height: 13px; color: var(--accent); flex-shrink: 0; }

/* Note / callout */
.note {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 24px;
  max-width: 68ch;
}
.note h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  letter-spacing: -0.018em;
  line-height: 1.15;
  margin-bottom: 9px;
}
.note p { font-size: 0.9375rem; color: var(--ink-3); }
.note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Wide CTA band */
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
  padding: clamp(34px, 4vw, 54px) 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}
.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 10px;
  max-width: 22ch;
}
.cta-band p { color: var(--ink-3); max-width: 52ch; font-size: 0.9375rem; margin: 0; }

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 9px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  padding: 10px 0;
  transition: border-color 0.24s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-4); }
.field select { appearance: none; cursor: pointer; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.foot {
  background: var(--ink);
  color: #b9c1cb;
  padding-block: clamp(56px, 7vw, 92px) 34px;
}
.foot a { color: #b9c1cb; transition: color 0.2s var(--ease); }
.foot a:hover { color: #fff; }
.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.foot-mark {
  font-family: var(--display);
  font-size: 1.75rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 12ch;
}
.foot-blurb { font-size: 0.875rem; color: #9aa4b0; max-width: 34ch; line-height: 1.6; }
.foot-col h5 {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #79838f;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 11px; }
.foot-col a { font-size: 0.875rem; }
.foot-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: #8a94a1;
}

/* --------------------------------------------------------------------------
   15. Breadcrumb
   -------------------------------------------------------------------------- */
.crumb {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--ink-4);
  margin-bottom: clamp(22px, 3vw, 36px);
}
.crumb a:hover { color: var(--ink); }
.crumb .sep { opacity: 0.5; }

/* --------------------------------------------------------------------------
   16. Reveal animation
   -------------------------------------------------------------------------- */
.rev {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.rev.in { opacity: 1; transform: none; }

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

/* --------------------------------------------------------------------------
   17. Utilities
   -------------------------------------------------------------------------- */
.hr { height: 1px; background: var(--rule); border: none; margin-block: clamp(40px, 5vw, 72px); }
.stack-sm > * + * { margin-top: 14px; }
.mt-l { margin-top: clamp(36px, 4vw, 56px); }
/* Honeypot — visually and semantically gone, but a bot still fills it in */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.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;
}

/* --------------------------------------------------------------------------
   18. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .irow { grid-template-columns: 3.5rem minmax(0, 1fr) minmax(0, 12rem) 2rem; }
  .irow-col-3 { display: none; }
  .pro-body { grid-template-columns: minmax(0, 1fr) minmax(0, 19rem); }
}

@media (max-width: 900px) {
  .sec-head, .hero-sub { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pro-body { grid-template-columns: minmax(0, 1fr); }
  .pro-rail { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: minmax(0, 1fr); gap: 26px; }
}

@media (max-width: 860px) {
  .burger { display: flex; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 26px;
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    display: none;
    box-shadow: 0 24px 40px -28px rgba(16, 21, 28, 0.3);
  }
  .nav.is-open { display: flex; }
  .nav-link { padding-block: 14px; border-bottom: 1px solid var(--rule-soft); font-size: 1rem; }
  .nav-link::after { display: none; }
  .nav-drop { position: static; }
  .nav-drop > .nav-link svg { display: none; }
  .drop-panel {
    position: static;
    translate: none;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding-top: 0;
    padding-bottom: 8px;
  }
  .drop-inner { border: none; box-shadow: none; background: transparent; padding: 4px 0 4px 14px; }
  .drop-inner a { padding: 9px 0; color: var(--ink-3); }
  .drop-inner a:hover { background: transparent; }
  .nav .btn { margin-top: 18px; }
}

@media (max-width: 760px) {
  .irow {
    grid-template-columns: 2.75rem minmax(0, 1fr) 1.5rem;
    gap: 14px;
    padding-block: 22px;
  }
  .irow-col { display: none; }
  .irow-name { font-size: 1.4rem; }
  .irow:hover { padding-inline: 0; }
  .irow::before { display: none; }
  .peek { display: none; }
  .meta-cell {
    padding-right: 16px;
    border-right: none;
    border-bottom: 1px solid var(--rule);
  }
  .meta-strip > .meta-cell:last-child { border-bottom: none; }
  .qa-body { padding-right: 0; }
  .spec-row { grid-template-columns: minmax(0, 7rem) minmax(0, 1fr); gap: 12px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .foot-bottom { flex-direction: column; gap: 8px; }
  .pro-figure { aspect-ratio: 16 / 10; }
}
