/* Bezalel by ATOFARATÍ. Tokens from brand/tokens.json; rules from brand/README.md.
   Light leads. Blue does the work. Purple is the one offset shadow per screen.
   Scarlet is the halo and one "start here" point per screen, graphics only.
   Gradients only in the homepage hero and small tiles. */

:root {
  /* colour: roles */
  --surface: #FFFFFF;
  --surface-soft: #F6F5FB;
  --text: #0D0B26;
  --text-muted: #55546A;
  --line: #E5E3EF;
  --primary: #2633FF;
  --primary-hover: #1C27D9;
  --on-primary: #FFFFFF;
  --accent: #8B2CF5;
  --halo: #FF3B5C;
  --highlight-text: #C21A3D;
  --danger: #C21A3D;
  --success: #0B7A54;
  --deep: #0D0B26;
  --field-border: #55546A; /* inputs need 3:1 against white (WCAG 1.4.11) */

  /* colour: scales used here */
  --blue-50: #EEF0FF; --blue-300: #8C93FF; --blue-500: #2633FF; --blue-700: #161FAD;
  --purple-50: #F5EEFF; --purple-300: #BE91FB; --purple-400: #A55EF8; --purple-500: #8B2CF5; --purple-600: #7420D6;
  --scarlet-50: #FFEEF1; --scarlet-200: #FFB8C5; --scarlet-300: #FF8A9E; --scarlet-500: #FF3B5C; --scarlet-700: #C21A3D;
  --neutral-300: #A9A6C9; --neutral-700: #2A2840;

  /* deep sections */
  --deep-text: #F6F5FB;
  --deep-muted: #A9A6C9;
  --deep-line: #2A2840;
  --deep-primary: #8C93FF;

  /* the house's cocoa: the family bar only (FAMILY.md section 3) */
  --house-cocoa: #2A211C;
  --house-text: #F8F5F1;

  /* gradients */
  --gradient-dawn: linear-gradient(135deg, #0D0B26 0%, #2633FF 45%, #8B2CF5 85%);
  --gradient-glow: radial-gradient(60% 80% at 100% 100%, #FF3B5C 0%, rgba(255, 59, 92, 0) 70%);
  --gradient-tabernacle: linear-gradient(135deg, #2633FF 0%, #8B2CF5 55%, #FF3B5C 100%);

  /* shadow: the only one Bezalel uses */
  --shadow-offset: 4px 4px 0 0 #8B2CF5;
  --shadow-offset-sm: 2px 2px 0 0 #8B2CF5;

  /* type */
  --font-sans: "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-accent: "Instrument Serif", Georgia, serif;
  --font-endorse: "Montserrat", system-ui, sans-serif;

  /* space and radius */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-10: 40px; --space-16: 64px;
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;

  --gutter: 16px;
  --max: 1200px;
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"] { list-style: none; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--blue-50); color: var(--text); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: var(--radius-md); font-weight: 600; }
.skip:focus { top: 8px; color: var(--on-primary); }

/* Yoruba tone marks and underdots: Sora drops them, Montserrat has them. */
.t-accents { font-family: var(--font-endorse); font-weight: inherit; }
.endorse { font-family: var(--font-endorse); font-weight: 500; font-size: 11px; line-height: 14px; letter-spacing: 2.75px; text-transform: uppercase; color: var(--purple-600); }

/* ---------- type ---------- */
.display { font-size: clamp(34px, 3.2vw + 22px, 56px); line-height: 1.08; letter-spacing: -1px; }
.h-l { font-size: clamp(27px, 1.4vw + 22px, 36px); line-height: 1.22; letter-spacing: -0.5px; }
.h-m { font-size: 22px; line-height: 30px; }
.lead { font-size: 18px; line-height: 29px; color: var(--text-muted); max-width: 40em; }
.body-s { font-size: 14px; line-height: 22px; color: var(--text-muted); }
.label { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--text-muted); }
.label--primary { color: var(--primary); }
.prose p + p { margin-top: var(--space-4); }
.prose p { max-width: 40em; }

/* The ONE highlighted word: Instrument Serif italic at about 1.15 times the headline. */
.hl {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15em;
  line-height: 0.9;
  letter-spacing: 0;
  color: var(--highlight-text);
  padding-right: 0.04em;
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 12px 22px;
  font: 600 15px/20px var(--font-sans);
  border-radius: var(--radius-md); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--primary); color: var(--on-primary); }
.btn--primary:hover { background: var(--primary-hover); color: var(--on-primary); }
.btn--outline { background: var(--surface); color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--blue-50); color: var(--primary-hover); }
.btn--pill { border-radius: var(--radius-pill); min-height: 40px; padding: 8px 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 16px 28px; font-size: 16px; }
/* On the gradient: white button, deep text. Nothing coloured. */
.btn--light { background: #FFFFFF; color: var(--deep); }
.btn--light:hover { background: var(--surface-soft); color: var(--deep); }
.btn--ghost-light { background: transparent; color: #FFFFFF; border-color: rgba(255, 255, 255, .85); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }

.arrow-link { font-weight: 600; font-size: 15px; color: var(--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.arrow-link::after { content: "→"; transition: transform .15s ease; }
a.arrow-link:hover { text-decoration: underline; }
a.arrow-link:hover::after, .has-link:hover .arrow-link::after { transform: translateX(3px); }

/* The offset shadow: the one featured element per screen stands on a purple block. */
.offset { box-shadow: var(--shadow-offset); margin-right: 4px; }

/* ---------- family bar (FAMILY.md section 3): the house's bar, in the house's colours ---------- */
.fb {
  background: var(--house-cocoa); color: var(--house-text);
  font: 600 10px/32px var(--font-endorse); letter-spacing: 2px; text-transform: uppercase;
  height: 32px; overflow: hidden;
}
.fb__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 32px; white-space: nowrap; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.fb a, .fb span { color: var(--house-text); text-decoration: none; }
.fb a:focus-visible { outline: 2px solid var(--house-text); outline-offset: 2px; }
.fb__house { opacity: 1; }
.fb__arms { display: flex; gap: 20px; }
.fb__arm { display: inline-flex; align-items: center; gap: 6px; opacity: .75; transition: opacity .15s ease; }
.fb__arm.is-current, a.fb__arm:hover, a.fb__arm:focus-visible { opacity: 1; }
.fb__dot { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.fb__dot--media { background: #FF6A1A; }
.fb__dot--lifestyle { background: #C9A24A; }
.fb__dot--technology { background: #8B2CF5; }
.fb__short { display: none; }
@media (max-width: 760px) {
  .fb__full { display: none; }
  .fb__short { display: inline; }
  .fb__arms { gap: 12px; }
}
/* Never two lines: on the narrowest phones the tracking tightens instead. */
@media (max-width: 420px) {
  .fb { letter-spacing: 1px; }
  .fb__inner { padding: 0 12px; gap: 8px; }
  .fb__arms { gap: 9px; }
  .fb__arm { gap: 4px; }
}

/* ---------- header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 72px; }
.header__brand { display: block; flex: none; }
.header__brand img { height: 40px; width: auto; }
.nav ul { display: flex; gap: var(--space-6); }
.nav a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover { color: var(--primary); }
.nav a[aria-current="page"]:not(.btn) { color: var(--primary); border-bottom-color: var(--primary); }
.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px;
  background: var(--surface); color: var(--text); border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  font: 600 14px/20px var(--font-sans); cursor: pointer;
}
.menu-toggle__bars, .menu-toggle__bars::before { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.menu-toggle__bars::before { content: ""; position: absolute; top: 5px; }
.menu-toggle__bars { top: -2px; }
@media (min-width: 880px) {
  .nav { display: flex; align-items: center; gap: var(--space-10); }
}
@media (max-width: 879px) {
  .js .menu-toggle { display: inline-flex; }
  .js .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); padding: var(--space-4) var(--gutter) var(--space-6); }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; margin-bottom: var(--space-4); }
  .js .nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .js .nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); }
  .js .nav .btn { width: 100%; min-height: 48px; }
  /* Without JavaScript the links sit in a row under the logo. */
  .no-js .header__inner { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
  .no-js .nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; width: 100%; }
  .no-js .nav ul { flex-wrap: wrap; gap: 4px 20px; }
}

/* ---------- sections ---------- */
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: var(--space-16) 0 80px; } }
.section--tight { padding-top: 0; }
.band { background: var(--surface-soft); }
.deep { background: var(--deep); color: var(--deep-text); }
.deep .lead, .deep .body-s { color: var(--deep-muted); }
.deep a:not(.btn) { color: var(--deep-primary); }
.deep :focus-visible { outline-color: #FFFFFF; }
.deep .hl { color: var(--scarlet-300); }
.deep .btn--primary { background: var(--deep-primary); color: var(--deep); }
.deep .btn--primary:hover { background: #B7BBFF; color: var(--deep); }
.section__head { margin-bottom: var(--space-10); max-width: 46rem; }
.section__head .label { display: block; margin-bottom: var(--space-3); }
.section__head .lead { margin-top: var(--space-4); }
.grid-2 { display: grid; gap: var(--space-10); }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* ---------- home hero: gradient-dawn with the scarlet glow in one corner ---------- */
.hero {
  background: var(--gradient-glow), var(--gradient-dawn);
  color: #FFFFFF;
  padding: 72px 0 112px;
}
@media (min-width: 900px) { .hero { padding: 120px 0 144px; } }
.hero__inner { max-width: 50rem; }
.hero .label { color: #FFFFFF; display: block; margin-bottom: var(--space-6); }
.hero h1 { color: #FFFFFF; }
.hero .hl { color: var(--scarlet-200); }
.hero__lead { margin-top: var(--space-6); font-size: 18px; line-height: 29px; max-width: 34em; color: #FFFFFF; }
.hero .btn-row { margin-top: var(--space-10); }
.hero :focus-visible { outline-color: #FFFFFF; }

/* ---------- page heroes (light) ---------- */
.page-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .page-hero { padding: 88px 0 72px; } }
.page-hero .label { display: block; margin-bottom: var(--space-4); }
.page-hero .lead { margin-top: var(--space-6); }
.page-hero .btn-row { margin-top: var(--space-10); }

/* ---------- threads: each product's one colour ---------- */
.thread--blue { --thread: var(--blue-500); --thread-ink: var(--blue-500); --thread-tint: var(--blue-50); }
.thread--purple { --thread: var(--purple-500); --thread-ink: var(--purple-600); --thread-tint: var(--purple-50); }
.thread--scarlet { --thread: var(--scarlet-500); --thread-ink: var(--scarlet-700); --thread-tint: var(--scarlet-50); }
.thread--all { --thread: var(--gradient-tabernacle); --thread-ink: var(--purple-600); --thread-tint: var(--purple-50); }
.thread-bar { display: inline-block; width: 32px; height: 4px; border-radius: 2px; background: var(--thread, var(--primary)); flex: none; }

/* ---------- status chips ---------- */
.status {
  display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px;
  border: 1px solid var(--line); border-radius: var(--radius-pill);
  font-size: 12px; line-height: 18px; font-weight: 600; color: var(--text); background: var(--surface);
  white-space: nowrap;
}

/* ---------- placeholders: they must look like placeholders ---------- */
.ph {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border: 1.5px dashed var(--neutral-300); border-radius: var(--radius-sm);
  color: var(--text-muted); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(13, 11, 38, .03) 8px 16px);
  font-size: 11px; line-height: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
}
.ph--logo { height: 32px; padding: 0 10px; }
.ph--shot { display: flex; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); padding: var(--space-6); }

/* ---------- product cards ---------- */
.product-grid { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.product-card {
  position: relative; display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color .15s ease;
}
.band .product-card { border-color: var(--line); }
.product-card.has-link:hover { border-color: var(--primary); }
.product-card:focus-within { outline: 3px solid var(--primary); outline-offset: 2px; }
.product-card__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.product-card__logo { min-height: 32px; display: flex; align-items: center; margin-top: var(--space-2); }
.product-card__logo img { height: 32px; width: auto; }
.product-card__name { font-size: 22px; line-height: 30px; }
.product-card__name a { color: var(--text); text-decoration: none; }
.product-card__name a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-lg); }
.product-card__name a:focus-visible { outline: none; }
.product-card p { color: var(--text-muted); }
.product-card__aud { font-size: 14px; line-height: 22px; margin-top: auto; padding-top: var(--space-2); }
.product-card__aud span, .featured__aud span { font-weight: 600; color: var(--text); margin-right: 4px; }
.product-card .arrow-link { margin-top: var(--space-2); }

/* ---------- the featured card (flagship) ---------- */
.featured {
  display: grid; gap: var(--space-10);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--space-6);
}
@media (min-width: 600px) { .featured { padding: var(--space-10); } }
@media (min-width: 960px) { .featured { grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px; } }
.featured__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.featured__logo { height: 48px; width: auto; }
.featured__name { font-size: 36px; line-height: 44px; }
.featured__lead { font-size: clamp(22px, 1vw + 18px, 28px); line-height: 1.3; font-weight: 600; margin-top: var(--space-6); max-width: 22em; }
.featured__aud { margin-top: var(--space-4); color: var(--text-muted); font-size: 14px; }
.featured .btn-row { margin-top: var(--space-10); }
.featured__points { display: grid; gap: 0; align-content: start; }
.featured__points li { padding: var(--space-4) 0; border-top: 1px solid var(--line); }
.featured__points li:last-child { border-bottom: 1px solid var(--line); }
.featured__points strong { display: block; font-weight: 600; }
.featured__points span { color: var(--text-muted); }

/* ---------- why Bezalel ---------- */
.why { display: grid; gap: var(--space-6); counter-reset: why; }
@media (min-width: 900px) { .why { grid-template-columns: repeat(3, 1fr); gap: var(--space-10); } }
.why li { border-top: 2px solid var(--text); padding-top: var(--space-6); }
.why h3 { font-size: 20px; line-height: 28px; margin-bottom: var(--space-3); }
.why p { color: var(--text-muted); }

/* ---------- closing call ---------- */
.closing { text-align: left; }
.closing__inner { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .closing__inner { grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; } }
.closing .btn-row { justify-content: flex-start; }
@media (min-width: 900px) { .closing .btn-row { justify-content: flex-end; } }

/* ---------- product pages ---------- */
.product-hero__brand { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); margin-bottom: var(--space-6); }
.product-hero__logo img, .product-hero__logo .product-logo { height: 48px; width: auto; }
.product-hero__name { font-size: 28px; line-height: 36px; font-weight: 600; }
.product-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); margin-bottom: var(--space-4); }
.product-hero__aud { margin-top: var(--space-4); color: var(--text-muted); font-size: 15px; }
.product-hero__aud span { font-weight: 600; color: var(--text); margin-right: 4px; }

.split { display: grid; gap: var(--space-6); padding: var(--space-10) 0; border-top: 1px solid var(--line); }
.split:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 4fr 8fr; gap: 64px; } }
.split h2 { font-size: 22px; line-height: 30px; }
.points { display: grid; gap: var(--space-6); }
@media (min-width: 700px) { .points--3 { grid-template-columns: repeat(3, 1fr); } .points--2 { grid-template-columns: repeat(2, 1fr); } }
.points li strong { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.points li span { color: var(--text-muted); }
.tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-6); }
.tag { display: inline-flex; min-height: 32px; align-items: center; padding: 4px 14px; border-radius: var(--radius-pill); background: var(--surface-soft); border: 1px solid var(--line); font-weight: 600; font-size: 14px; }

/* A product's own panel: EZER and Thresh in their current brands (SCOPE.md 2). */
.brand-panel { background: var(--p-bg); color: var(--p-ink); border-radius: var(--radius-lg); padding: var(--space-6); margin: var(--space-10) 0; }
@media (min-width: 700px) { .brand-panel { padding: 48px; } }
.brand-panel__rule { display: block; width: 48px; height: 3px; background: var(--p-accent); border-radius: 2px; margin-bottom: var(--space-6); }
.brand-panel__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-6); }
.brand-panel__top img { height: 36px; width: auto; }
.brand-panel h2 { font-size: clamp(24px, 1vw + 20px, 30px); line-height: 1.25; }
.brand-panel .points { margin-top: var(--space-6); }
.brand-panel .points li { border-top: 1px solid color-mix(in srgb, var(--p-ink) 22%, transparent); padding-top: var(--space-4); }
.brand-panel .points li span { color: var(--p-ink); opacity: .88; }
.brand-panel :focus-visible { outline-color: var(--p-ink); }
/* BRANDS:START */
.brand--ezer { --p-bg: #5E2A34; --p-ink: #FBF7EF; --p-accent: #B0894A; }
.brand--thresh { --p-bg: #171614; --p-ink: #F2EEE7; --p-accent: #0F8A76; }
.brand--morning-altar { --p-bg: #0D0B26; --p-ink: #FFFFFF; --p-accent: #8B2CF5; }
.brand--awo { --p-bg: #0D0B26; --p-ink: #FFFFFF; --p-accent: #2633FF; }
/* BRANDS:END */

.shots { margin-top: var(--space-10); }

/* The page's one call to action stands on the offset shadow. */
.cta-box { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); padding: var(--space-6); }
@media (min-width: 700px) { .cta-box { padding: 48px; } }
.cta-box h2 { font-size: clamp(24px, 1vw + 20px, 32px); line-height: 1.25; }
.cta-box .lead { margin-top: var(--space-3); }
.cta-box .btn-row, .cta-box .form { margin-top: var(--space-6); }

/* ---------- for ministries ---------- */
.offer { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .offer { grid-template-columns: repeat(3, 1fr); } }
.offer li { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); background: var(--surface); display: flex; flex-direction: column; gap: var(--space-3); }
.offer h3 { font-size: 20px; line-height: 28px; }
.offer p { color: var(--text-muted); }
.offer .arrow-link, .offer .btn-row { margin-top: auto; padding-top: var(--space-3); }
.offer__who { font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-muted); }
.steps { display: grid; gap: var(--space-6); counter-reset: step; margin-top: var(--space-6); }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
.steps li { counter-increment: step; display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: start; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--surface-soft); border: 1px solid var(--line); font-weight: 600; }
.steps strong { display: block; }
.steps p { color: var(--text-muted); margin-top: 2px; }

/* ---------- about ---------- */
.scripture { margin: 0; padding: var(--space-6) 0 var(--space-6) var(--space-6); border-left: 2px solid var(--text); }
.scripture p { font-size: clamp(20px, 1vw + 16px, 24px); line-height: 1.45; }
.scripture cite { display: block; margin-top: var(--space-3); font-style: normal; font-size: 14px; color: var(--text-muted); }
.jobs { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.jobs li { padding-top: var(--space-4); border-top: 1px solid var(--line); }
.jobs strong { display: block; }
.jobs span { color: var(--text-muted); }
.about-mark { width: 72px; height: auto; margin-bottom: var(--space-6); }

/* ---------- forms ---------- */
.form { display: grid; gap: var(--space-4); max-width: 44rem; }
.form__row { display: grid; gap: var(--space-4); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-weight: 600; font-size: 14px; line-height: 20px; }
.field__opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: 400 16px/24px var(--font-sans); color: var(--text);
  background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius-md);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.field [aria-invalid="true"] { border-color: var(--danger); border-width: 2px; }
.field__error { font-size: 14px; line-height: 20px; color: var(--danger); font-weight: 600; }
.field__error:not(:empty)::before { content: "!"; display: inline-grid; place-items: center; width: 16px; height: 16px; margin-right: 6px; border-radius: 50%; background: var(--danger); color: #FFFFFF; font-size: 11px; line-height: 1; vertical-align: -2px; }
.form .btn { justify-self: start; }
.form-status { font-size: 15px; line-height: 24px; }
.form-status:empty { display: none; }
.form-status--ok, .form-status--err, .form-status--info { padding: 12px 16px; border-radius: var(--radius-md); }
.form-status--ok { background: #E8F5EF; color: var(--success); font-weight: 600; }
.form-status--ok::before { content: "✓ "; }
.form-status--err { background: var(--scarlet-50); color: var(--danger); font-weight: 600; }
.form-status--err::before { content: "! "; }
.form-status--info { background: var(--surface-soft); color: var(--text-muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.notice { background: var(--surface-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-6); }
.notice strong { display: block; margin-bottom: var(--space-1); }
.notice p { color: var(--text-muted); }
.notice + .notice { margin-top: var(--space-4); }

/* ---------- 404 ---------- */
.not-found { padding: 96px 0 120px; }
.not-found .btn-row { margin-top: var(--space-10); }

/* ---------- footer (FAMILY.md section 4) ---------- */
.site-footer { background: var(--deep); color: var(--deep-text); padding: 56px 0 32px; }
.site-footer a { color: var(--deep-text); text-decoration: none; }
.site-footer a:hover { color: #FFFFFF; text-decoration: underline; }
.site-footer :focus-visible { outline-color: #FFFFFF; }
.footer__grid { display: grid; gap: var(--space-10); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer__brand img { height: 48px; width: auto; }
.footer__brand p { margin-top: var(--space-4); color: var(--deep-muted); max-width: 22em; }
.footer__title { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--deep-muted); margin-bottom: var(--space-4); }
.footer__title--gap { margin-top: var(--space-6); }
.footer__list li + li { margin-top: var(--space-2); }
.footer__family { margin-top: 48px; padding-top: var(--space-6); border-top: 1px solid var(--deep-line); display: grid; gap: var(--space-2); font-size: 14px; line-height: 22px; color: var(--deep-muted); }
.footer__family a { color: var(--deep-text); text-decoration: underline; text-decoration-color: rgba(246, 245, 251, .4); }
.footer__endorse { color: var(--deep-text); font-weight: 600; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* small helpers */
.after-quote { margin-top: var(--space-6); }
.product-hero__meta { margin-top: var(--space-6); }
.closing .lead { margin-top: var(--space-4); }

/* ---------- home: the story behind the name ---------- */
.story { display: grid; gap: var(--space-6); }
@media (min-width: 900px) { .story { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.story .label { display: block; margin-bottom: var(--space-3); }
.story .prose p { font-size: 18px; line-height: 29px; }
