/* ============================================================
   Building With The Browers — Website Design System
   Brand: near-black ink (#1D1F22), warm cream, teal + clay accents
   Type: Barlow / Barlow Condensed
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Brand base */
  --ink: #1D1F22;        /* Charcoal Grey */
  --ink-soft: #393D47;   /* Pantone 4140 */
  --ink-faint: #8a8d93;
  --paper: #f7f4ef;
  --paper-2: #efeae1;
  --cream: #FFF3E6;      /* Dusty White */
  --card: #ffffff;
  --rule: #e4ded3;
  --rule-strong: #d6cfc1;

  /* Accents */
  --teal: #3EB1C8;       /* Pantone 631: marks, accents, text on dark */
  --teal-ink: #2D4D58;   /* Pantone 2216: teal text and links on light */
  --teal-wash: color-mix(in srgb, #3EB1C8 12%, #ffffff);
  --clay: #DC582A;       /* Pantone 7579: icons, marks, accents */
  --clay-ink: #802F2D;   /* Pantone 7624: clay-family text on light */
  --clay-wash: color-mix(in srgb, #DC582A 10%, #ffffff);
  --btn-teal-fg: #ffffff;

  /* Semantic */
  --bg: var(--paper);
  --surface: var(--card);
  --text: var(--ink);
  --text-soft: var(--ink-soft);
  --border: var(--rule);
  --btn-fg: #FFF3E6;
  --btn-bg: #1D1F22;
  --btn-bg-hover: #393D47;
  --focus: var(--teal-ink);

  /* Type */
  --font-sans: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", var(--font-sans);

  /* Layout */
  --maxw: 1140px;
  --maxw-narrow: 760px;
  --gutter: 24px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(29,31,34,.05), 0 1px 1px rgba(29,31,34,.04);
  --shadow: 0 6px 20px -8px rgba(29,31,34,.14), 0 2px 6px -2px rgba(29,31,34,.08);
  --shadow-lg: 0 24px 60px -24px rgba(29,31,34,.28), 0 8px 24px -12px rgba(29,31,34,.14);

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: .22s var(--ease);
}

/* Dark theme — follows system, overridable via [data-theme] */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #FFF3E6;
    --ink-soft: #A39382;
    --ink-faint: #83857e;
    --paper: #131416;
    --paper-2: #1a1c1f;
    --cream: #1D1F22;
    --card: #1D1F22;
    --rule: #2c2f33;
    --rule-strong: #3a3d42;

    --teal-ink: #3EB1C8;
    --teal-wash: color-mix(in srgb, #3EB1C8 16%, #131416);
    --clay-ink: #F68D2E;
    --clay-wash: color-mix(in srgb, #DC582A 16%, #131416);
    --btn-teal-fg: #1D1F22;

    --btn-fg: #1D1F22;
    --btn-bg: #FFF3E6;
    --btn-bg-hover: #ffffff;
    --focus: #3EB1C8;

    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 8px 24px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 28px 64px -24px rgba(0,0,0,.7);
  }
}
:root[data-theme="dark"] {
  --ink: #FFF3E6;
  --ink-soft: #A39382;
  --ink-faint: #83857e;
  --paper: #131416;
  --paper-2: #1a1c1f;
  --cream: #1D1F22;
  --card: #1D1F22;
  --rule: #2c2f33;
  --rule-strong: #3a3d42;
  --teal-ink: #3EB1C8;
  --teal-wash: color-mix(in srgb, #3EB1C8 16%, #131416);
  --clay-ink: #F68D2E;
  --clay-wash: color-mix(in srgb, #DC582A 16%, #131416);
  --btn-teal-fg: #1D1F22;
  --btn-fg: #1D1F22;
  --btn-bg: #FFF3E6;
  --btn-bg-hover: #ffffff;
  --focus: #3EB1C8;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 8px 24px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 28px 64px -24px rgba(0,0,0,.7);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
ul, ol { padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  min-height: 100vh;
  transition: background var(--t), color var(--t);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-ink); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--clay-ink); }
button { font: inherit; cursor: pointer; }

::selection { background: color-mix(in srgb, var(--teal-ink) 24%, transparent); }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 3.75rem); letter-spacing: -0.035em; line-height: 1.06; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.12; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.3; }
p { color: var(--text); text-wrap: pretty; }
.lead { font-size: clamp(1.12rem, 1.9vw, 1.35rem); line-height: 1.55; color: var(--text-soft); font-weight: 400; max-width: 62ch; }

.eyebrow {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: .85rem;
  color: var(--teal-ink);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--teal-ink);
  display: inline-block;
}
.eyebrow.clay { color: var(--clay-ink); }
.eyebrow.clay::before { background: var(--clay-ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: var(--maxw-narrow); }
section { padding-block: clamp(4rem, 7.5vw, 7rem); }
/* Closing CTA panel: one section gap above it, not two, and a tighter run into the footer */
.section-cta { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem); }
section:not([class]) + .section-cta { padding-top: 0; }
.section-cta + .site-footer, main:has(> .section-cta:last-child) + .site-footer { margin-top: 0; }
.section-head { max-width: 640px; margin-bottom: 3.25rem; }
.section-head .eyebrow { margin-bottom: 1.1rem; }
.section-head p { margin-top: 1rem; color: var(--text-soft); font-size: 1.1rem; max-width: 56ch; }
.center { text-align: center; margin-inline: auto; }
.center .lead, .center > p { margin-inline: auto; }
.tint { background: var(--paper-2); }
.tint-cream { background: var(--cream); }
.text-soft { color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; font-size: 1rem;
  padding: .82rem 1.5rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform var(--t), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--btn-bg-hover); color: var(--btn-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--rule-strong); }
.btn-secondary:hover { border-color: var(--text); color: var(--text); transform: translateY(-2px); }
.btn-teal { background: var(--teal-ink); color: var(--btn-teal-fg); }
.btn-teal:hover { background: var(--clay-ink); color: var(--btn-teal-fg); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-ghost { padding-inline: 0; color: var(--teal-ink); border-radius: 4px; }
.btn-ghost:hover { color: var(--clay-ink); gap: .8rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), background var(--t);
}
.site-header.scrolled { border-bottom-color: var(--rule); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 74px;
  position: relative; z-index: 2;   /* sit above the mobile panel */
}
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
/* Logo: the official colored files (no recoloring, no stretching) */
.logo-img { display: block; height: 32px; width: auto; }
.logo-on-dark { display: none; }
:root[data-theme="dark"] .logo-on-light { display: none; }
:root[data-theme="dark"] .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .logo-on-dark { display: block; }
}
.logo-mark {
  display: block;
  width: 30px; height: 32px;        /* mark ratio ~0.937:1 */
  background: var(--ink);
  -webkit-mask: url("https://browers.voixly.us/clients/browers/logos/BWTB%20-%20Logomark%20-%20Dark.svg") no-repeat center / contain;
  mask: url("https://browers.voixly.us/clients/browers/logos/BWTB%20-%20Logomark%20-%20Dark.svg") no-repeat center / contain;
}
.nav-links { display: flex; align-items: center; gap: .1rem; list-style: none; }
.nav-links a {
  position: relative;
  color: var(--text-soft); font-weight: 600; font-size: .95rem;
  padding: .5rem .62rem; border-radius: 8px; white-space: nowrap;
  transition: color var(--t), background var(--t);
}
.nav-links a:hover { color: var(--text); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: 1px;
  height: 2px; border-radius: 2px; background: var(--teal-ink);
}
.nav-right { display: flex; align-items: center; gap: .6rem; flex-shrink: 0; }
/* Seven tabs (with Merry Vetmas) fit the bar down to the 1024px collapse */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav { gap: 1rem; }
  .nav-links a { padding-inline: .4rem; font-size: .9rem; }
}

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: transparent; border: 1px solid var(--rule);
  color: var(--text-soft);
  transition: color var(--t), border-color var(--t), background var(--t);
}
.icon-btn:hover { color: var(--text); border-color: var(--rule-strong); }
.icon-btn svg { width: 19px; height: 19px; stroke-width: 2; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

.menu-btn { display: none; }

/* Mobile nav panel */
.mobile-panel {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  height: 100dvh; z-index: 1;
  background: var(--paper);
  padding: calc(74px + 1.25rem) var(--gutter) 2.5rem;
  flex-direction: column; gap: .25rem;
  overflow-y: auto;
}
.mobile-panel.open { display: flex; }
.mobile-panel a:not(.btn) {
  color: var(--text); font-size: 1.15rem; font-weight: 600;
  padding: .95rem .25rem; border-bottom: 1px solid var(--rule);
}
.mobile-panel a:not(.btn)[aria-current="page"] { color: var(--teal-ink); font-weight: 600; }
.mobile-panel .btn { margin-top: 1.5rem; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
/* hero-inner keeps the container's 1140 width so its left edge lines up with the
   header logo; the text itself is held to a readable measure via its children */
.hero-inner > * { max-width: 820px; }
.hero h1 { margin: 1.5rem 0 1.6rem; }
.hero .lead { max-width: 646px; }
.hero .btn-group { margin-top: 2.5rem; }
.hero-note { margin-top: 1.6rem; font-size: .95rem; color: var(--ink-faint); display:flex; align-items:center; gap:.5rem; }
.hero-note svg { width: 16px; height: 16px; stroke: var(--teal-ink); flex-shrink:0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--rule-strong); }
.card h3 { margin-bottom: .55rem; }
.card p { color: var(--text-soft); font-size: 1rem; line-height: 1.6; }

.icon-tile {
  width: 46px; height: 46px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--teal-wash); color: var(--teal-ink);
  margin-bottom: 1.25rem;
}
.icon-tile.clay { background: var(--clay-wash); color: var(--clay); }
.icon-tile svg { width: 23px; height: 23px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* Service row cards (What We Do) */
.service { display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; align-items: start; }
.service .icon-tile { margin-bottom: 0; }
.service-block { padding-block: 2.4rem; border-bottom: 1px solid var(--rule); }
.service-block:last-child { border-bottom: 0; }
.service-block .meta { color: var(--ink-faint); font-size: .92rem; margin-top: .9rem; }
.service-block .btn-ghost { margin-top: 1.1rem; }

/* Process steps */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.step-num {
  counter-increment: step;
  font-family: var(--font-cond); font-weight: 600;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--teal-ink); flex-shrink: 0;
}
.step-num::before { content: counter(step); }
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--text-soft); font-size: 1rem; }

/* Situation / list chips */
.situations { display: grid; gap: .8rem; }
.situation {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: 1.05rem 1.2rem; background: var(--surface);
  border: 1px solid var(--rule); border-radius: var(--radius-sm);
}
.situation svg { width: 20px; height: 20px; stroke: var(--clay); flex-shrink: 0; margin-top: 2px; fill:none; stroke-width:1.9; }

/* Checklist */
.checklist { list-style: none; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text-soft); }
.checklist li svg { width: 21px; height: 21px; stroke: var(--teal-ink); flex-shrink: 0; margin-top: 3px; fill:none; stroke-width:2; }

/* Timeline table (Six weeks) */
.timeline { display: grid; gap: 0; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.timeline-row { display: grid; grid-template-columns: 120px 1fr 1.3fr; gap: 1.25rem; padding: 1.3rem 1.5rem; border-bottom: 1px solid var(--rule); align-items: start; }
.timeline-row:last-child { border-bottom: 0; }
.timeline-row .wk { display: flex; flex-direction: column; gap: .3rem; }
.timeline-row .wk b { font-family: var(--font-cond); font-size: 1.5rem; font-weight: 600; color: var(--text); line-height: 1; }
.badge {
  display: inline-flex; align-items:center; align-self: flex-start;
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .08em;
  font-size: .72rem; font-weight: 600; padding: .2rem .5rem; border-radius: 5px;
}
.badge.fixed { background: var(--teal-wash); color: var(--teal-ink); }
.badge.flex { background: var(--clay-wash); color: var(--clay-ink); }
.timeline-row .focus { font-weight: 600; color: var(--text); }
.timeline-row .recv { color: var(--text-soft); font-size: .97rem; }

/* Split / media sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.narrow-gap { gap: 2rem; }

/* Panel (callout) */
.panel {
  background: var(--ink); color: var(--cream);
  border-radius: var(--radius-lg); padding: clamp(2.2rem, 5vw, 3.5rem);
  position: relative; overflow: hidden;
}
.panel h2 { color: var(--cream); }
.panel p { color: color-mix(in srgb, var(--cream) 78%, transparent); }
.panel .eyebrow { color: var(--teal); }
.panel .eyebrow::before { background: var(--teal); }
.panel .btn-secondary { color: var(--cream); border-color: color-mix(in srgb, var(--cream) 35%, transparent); }
.panel .btn-secondary:hover { border-color: var(--cream); background: color-mix(in srgb, var(--cream) 10%, transparent); }
.panel::after {
  content:""; position:absolute; right:-80px; top:-80px; width:280px; height:280px;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 40%, transparent), transparent 70%);
  opacity:.5; pointer-events:none;
}

/* People (About) */
.person { text-align: left; }
.person .avatar {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--paper-2), var(--cream));
  border: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem; color: var(--ink-faint);
  font-family: var(--font-cond); font-size: 3.5rem; font-weight: 600;
  letter-spacing: .05em;
}
.person h3 { margin-bottom: .15rem; }
.person .role { color: var(--teal-ink); font-weight: 600; font-size: .92rem; font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; margin-bottom: .7rem; }
.person p { color: var(--text-soft); font-size: 1rem; }

/* Work / experience cards */
/* Flex column so every card's note sits on the same line across a row */
.work-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.75rem 1.5rem; }
.work-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.5rem; }
.work-head .icon-tile { margin-bottom: 0; }
.work-card .tag {
  font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .09em; font-size: .74rem; font-weight: 600; line-height: 1;
  color: var(--text-soft); padding: .45rem .7rem; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--rule); white-space: nowrap;
}
.work-card h3 { font-size: 1.25rem; line-height: 1.3; margin-bottom: .65rem; }
.work-card p { flex-grow: 1; }
.work-card .proof-note {
  margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--rule);
  font-size: .86rem; line-height: 1.5; color: var(--ink-faint); display: flex; gap: .55rem; align-items: flex-start;
}
.work-card .proof-note svg { width: 15px; height: 15px; stroke: currentColor; flex-shrink: 0; margin-top: .15rem; fill: none; }

/* ---------- Forms (Contact) ---------- */
.form-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .45rem; color: var(--text); }
.field .req { color: var(--clay-ink); }
.field .hint { font-weight: 400; color: var(--ink-faint); font-size: .88rem; }
.input, .select, .textarea {
  width: 100%; font: inherit; color: var(--text);
  background: var(--paper); border: 1.5px solid var(--rule); border-radius: var(--radius-sm);
  padding: .8rem .95rem; transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-faint); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--teal-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal-ink) 18%, transparent); background: var(--surface); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238a8d93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-foot { margin-top: 1.4rem; display: flex; flex-direction: column; gap: .9rem; }
.form-error {
  margin-bottom: 1rem; padding: .8rem 1rem; border-radius: var(--radius-sm); font-size: .95rem;
  color: #a4321f; background: #fbebe8; border: 1px solid #f0c9c1;
}
:root[data-theme="dark"] .form-error { color: #ffb4a6; background: #3a1f1a; border-color: #5c2c24; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-error { color: #ffb4a6; background: #3a1f1a; border-color: #5c2c24; } }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--ink-faint); display:flex; gap:.5rem; align-items:flex-start; }
.form-note svg { width:15px; height:15px; stroke: var(--ink-faint); flex-shrink:0; margin-top:3px; fill:none; }

.form-success {
  display: none; text-align: center; padding: 1rem;
}
.form-success.show { display: block; }
.form-success .check {
  width: 60px; height: 60px; border-radius: 50%; background: var(--teal-wash); color: var(--teal-ink);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem;
}
.form-success .check svg { width: 30px; height: 30px; stroke: currentColor; stroke-width: 2.5; fill:none; stroke-linecap: round; stroke-linejoin: round; }

.routes { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: start; }
.route-booking { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius-lg); padding: clamp(1.6rem,3vw,2.2rem); }
.route-booking .icon-tile { background: var(--clay-wash); color: var(--clay); }
.or-divider { display:flex; align-items:center; gap:.6rem; margin:1.3rem 0; color: var(--ink-faint); font-family: var(--font-cond); text-transform:uppercase; letter-spacing:.15em; font-size:.8rem; }
.or-divider::before, .or-divider::after { content:""; height:1px; background: var(--rule); flex:1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: color-mix(in srgb, var(--cream) 72%, transparent); padding-block: 3.5rem 2rem; margin-top: 2rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid color-mix(in srgb, var(--cream) 14%, transparent); }
.footer-logo { display: inline-block; margin-bottom: 1.1rem; }
.footer-logo img { display: block; height: 30px; width: auto; }
.site-footer p { color: color-mix(in srgb, var(--cream) 62%, transparent); font-size: .97rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-cond); text-transform: uppercase; letter-spacing:.12em; font-size:.82rem; color: var(--cream); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .6rem; }
.footer-col a { color: color-mix(in srgb, var(--cream) 70%, transparent); font-size: .97rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items:center; flex-wrap: wrap; gap: 1rem; padding-top: 1.6rem; font-size: .86rem; color: color-mix(in srgb, var(--cream) 50%, transparent); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1; transform:none; } }

/* ---------- Utilities ---------- */
.mt-0{margin-top:0}.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}
.maxw-60{max-width:60ch}
.divider { height:1px; background: var(--rule); border:0; margin:0; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* An odd last work card fills the row instead of sitting alone at half width */
  .grid-3 > .work-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .split { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 90px 1fr; }
  .timeline-row .recv { grid-column: 1 / -1; padding-left: calc(90px + 1.25rem); }
}
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .timeline-row { grid-template-columns: 1fr; }
  .timeline-row .recv { padding-left: 0; }
  .btn-group .btn { flex: 1 1 auto; justify-content: center; }
}

/* ============================================================
   Ambient graphics & depth  — richer, less "flat" visuals
   (brand teal + clay, works in light and dark)
   ============================================================ */

/* ---- Hero atmosphere: soft brand glow + masked fine grid ---- */
.hero { isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(44rem 27rem at 84% -14%, color-mix(in srgb, var(--teal) 24%, transparent), transparent 60%),
    radial-gradient(34rem 24rem at 0% 116%, color-mix(in srgb, var(--clay) 15%, transparent), transparent 62%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--ink) 7%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask: radial-gradient(72% 62% at 48% 34%, #000 0%, transparent 82%);
  mask: radial-gradient(72% 62% at 48% 34%, #000 0%, transparent 82%);
}

/* ---- Hero geometric motif (home) ---- */
.hero-art {
  position: absolute; z-index: -1; top: 50%; right: clamp(-70px, -1vw, 0px);
  transform: translateY(-48%);
  width: min(40vw, 440px); aspect-ratio: 1;
  pointer-events: none; opacity: .9;
}
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .ring { fill: none; stroke: color-mix(in srgb, var(--teal-ink) 55%, transparent); stroke-width: 1.5; }
.hero-art .ring.dash { stroke-dasharray: 3 8; opacity: .75; }
.hero-art .node { fill: var(--teal-ink); }
.hero-art .node.clay, .hero-art .dot { fill: var(--clay); }
.hero-art .trend { fill: none; stroke: var(--teal-ink); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .spark { stroke: var(--teal-ink); stroke-width: 2; stroke-linecap: round; }
.hero-art .spark.clay { stroke: var(--clay); }
.hero-art .halo { fill: radial-gradient(circle, var(--teal), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .hero-art { animation: heroFloat 9s var(--ease) infinite alternate; }
  @keyframes heroFloat { from { transform: translateY(-48%); } to { transform: translateY(-56%); } }
}
@media (max-width: 1040px) { .hero-art { display: none; } }

/* ---- Elevated icon tiles ---- */
.icon-tile {
  background: linear-gradient(150deg, color-mix(in srgb, var(--teal) 28%, var(--surface)), var(--teal-wash) 72%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 26%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--teal-ink) 24%, transparent),
    0 10px 20px -14px color-mix(in srgb, var(--teal-ink) 85%, transparent);
}
.icon-tile.clay {
  background: linear-gradient(150deg, color-mix(in srgb, var(--clay) 26%, var(--surface)), var(--clay-wash) 72%);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, #ffffff 26%, transparent),
    inset 0 0 0 1px color-mix(in srgb, var(--clay-ink) 24%, transparent),
    0 10px 20px -14px color-mix(in srgb, var(--clay-ink) 85%, transparent);
}

/* ---- Card hover accent bar (teal → clay) ---- */
.card { position: relative; overflow: hidden; }
.card-hover::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--clay));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.card-hover:hover::after { transform: scaleX(1); }

/* ---- Process steps: connecting spine ---- */
.step { position: relative; }
.steps .step:not(:last-child)::before {
  content: ""; position: absolute; left: 21px; top: 52px; bottom: -1.25rem; width: 2px;
  background: linear-gradient(color-mix(in srgb, var(--teal-ink) 45%, transparent), color-mix(in srgb, var(--rule-strong) 10%, transparent));
}

/* ---- CTA panel: subtle grid texture over the glow ---- */
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--cream) 8%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--cream) 8%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask: radial-gradient(130% 120% at 100% 0%, #000, transparent 68%);
  mask: radial-gradient(130% 120% at 100% 0%, #000, transparent 68%);
}
.panel > * { position: relative; z-index: 1; }

/* ---- Cursor spotlight on hoverable cards ---- */
.card-hover { --mx: 50%; --my: 0%; }
.card-hover::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(16rem 16rem at var(--mx) var(--my), color-mix(in srgb, var(--teal-ink) 13%, transparent), transparent 60%);
  opacity: 0; transition: opacity var(--t);
}
.card-hover:hover::before { opacity: 1; }
.card-hover > * { position: relative; z-index: 1; }

/* ============================================================
   Interactive: "Find your starting point" picker
   ============================================================ */
.picker { display: grid; grid-template-columns: minmax(230px, 290px) 1fr; gap: 1.5rem; align-items: start; }
.picker-options { display: flex; flex-direction: column; gap: .65rem; }
.picker-opt {
  display: flex; align-items: center; gap: .85rem; text-align: left; width: 100%;
  padding: .95rem 1.1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--rule); background: var(--surface); color: var(--text-soft);
  font-weight: 600; font-size: 1rem;
  transition: transform var(--t), border-color var(--t), color var(--t), background var(--t), box-shadow var(--t);
}
.picker-opt svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--ink-faint); transition: color var(--t); }
.picker-opt:hover { border-color: var(--rule-strong); color: var(--text); transform: translateX(3px); }
.picker-opt:hover svg { color: var(--teal-ink); }
.picker-opt.is-active {
  border-color: color-mix(in srgb, var(--teal-ink) 55%, transparent); color: var(--text);
  background: color-mix(in srgb, var(--teal-wash) 55%, var(--surface)); box-shadow: var(--shadow-sm);
}
.picker-opt.is-active svg { color: var(--teal-ink); }

.picker-panel {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.3rem); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden; min-height: 100%;
}
.picker-panel::after {
  content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--teal) 24%, transparent), transparent 70%); opacity: .55;
}
.picker-rec { display: grid; gap: 1.1rem; position: relative; z-index: 1; }
.picker-rec.swap { animation: pickSwap .4s var(--ease); }
@keyframes pickSwap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .picker-rec.swap { animation: none; } }
.rec-head { display: flex; align-items: center; gap: 1rem; }
.rec-head h3 { font-size: 1.45rem; }
.picker-rec .checklist { margin-top: .1rem; }
.picker-rec .btn-group { margin-top: .5rem; }

@media (max-width: 760px) {
  .picker { grid-template-columns: 1fr; }
  .picker-options { flex-direction: row; flex-wrap: wrap; }
  .picker-opt { flex: 1 1 160px; justify-content: center; }
  .picker-opt:hover { transform: none; }
}

/* ============================================================
   Shared interactive components (chips, stepper, accordion)
   ============================================================ */

/* ---- Chips (nav + filter) ---- */
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem; border-radius: 100px;
  border: 1.5px solid var(--rule); background: var(--surface); color: var(--text-soft);
  font: inherit; font-weight: 600; font-size: .92rem; white-space: nowrap; cursor: pointer;
  transition: transform var(--t), border-color var(--t), color var(--t), background var(--t), box-shadow var(--t);
}
.chip svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.9; color: var(--ink-faint); transition: color var(--t); }
.chip:hover { border-color: var(--rule-strong); color: var(--text); }
.chip:hover svg { color: var(--teal-ink); }
.chip.is-active { background: var(--teal-ink); color: #fff; border-color: var(--teal-ink); box-shadow: var(--shadow-sm); }
.chip.is-active svg { color: #fff; }

/* Sticky in-page section nav (What We Do) */
.chip-nav {
  position: sticky; top: 74px; z-index: 20;
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: .85rem 0; margin-bottom: 2.5rem;
  background: color-mix(in srgb, var(--paper-2) 88%, transparent);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 2.25rem; }
.service-block { scroll-margin-top: 150px; }

/* ---- Filterable cards ---- */
[data-filter-item].is-hidden { display: none; }
[data-filter-item].filtering { animation: pickSwap .35s var(--ease); }

/* ---- Interactive six-week stepper (Intensive) ---- */
.stepper { display: grid; gap: 0; }
.stepper-track { display: flex; gap: .55rem; }
.wk-pill {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: .3rem;
  padding: .85rem .3rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--rule); background: var(--surface); color: var(--text-soft);
  font: inherit; cursor: pointer; transition: transform var(--t), border-color var(--t), background var(--t), box-shadow var(--t);
}
.wk-pill b { font-family: var(--font-cond); font-size: 1.35rem; font-weight: 600; color: var(--text); line-height: 1; }
.wk-pill small { font-size: .68rem; text-transform: uppercase; letter-spacing: .09em; font-weight: 600; }
.wk-pill:hover { border-color: var(--rule-strong); transform: translateY(-2px); }
.wk-pill.is-active { border-color: var(--teal-ink); background: color-mix(in srgb, var(--teal-wash) 50%, var(--surface)); box-shadow: var(--shadow-sm); }
.wk-pill.is-active b { color: var(--teal-ink); }
.wk-progress { height: 5px; background: var(--rule); border-radius: 5px; margin: 1.3rem 0 1.6rem; overflow: hidden; }
.wk-progress > span { display: block; height: 100%; width: 16.66%; background: linear-gradient(90deg, var(--teal), var(--clay)); border-radius: 5px; transition: width .45s var(--ease); }
.wk-detail { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); }
.wk-detail.swap { animation: pickSwap .4s var(--ease); }
@media (prefers-reduced-motion: reduce) { .wk-detail.swap, [data-filter-item].filtering { animation: none; } }
.wk-detail h3 { font-size: 1.4rem; margin-top: .7rem; }
.wk-detail .recv-line { margin-top: 1.1rem; display: flex; gap: .6rem; align-items: flex-start; color: var(--text-soft); }
.wk-detail .recv-line svg { width: 20px; height: 20px; stroke: var(--teal-ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; margin-top: 3px; }
.wk-detail .recv-line b { color: var(--text); font-weight: 600; }
@media (max-width: 620px) {
  .stepper-track { flex-wrap: wrap; }
  .wk-pill { flex: 1 1 28%; }
}

/* ---- Accordion (About, Contact) ---- */
.accordion { display: grid; gap: .75rem; }
.acc-item { border: 1px solid var(--rule); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; transition: border-color var(--t); }
.acc-item.open { border-color: color-mix(in srgb, var(--teal-ink) 18%, var(--rule)); background: color-mix(in srgb, var(--teal-wash) 40%, var(--surface)); }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; text-align: left;
  padding: 1.15rem 1.3rem; font: inherit; font-weight: 600; font-size: 1.05rem; color: var(--text); background: transparent;
  transition: color var(--t);
}
.acc-head:hover { color: var(--teal-ink); }
.acc-icon {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--rule-strong);
  display: flex; align-items: center; justify-content: center; color: var(--text-soft);
  transition: transform var(--t), border-color var(--t), color var(--t), background var(--t);
}
.acc-icon svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2.5; stroke-linecap: round; }
.acc-item.open .acc-icon { transform: rotate(45deg); border-color: var(--teal-ink); color: #fff; background: var(--teal-ink); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.acc-body-inner { padding: 0 1.3rem 1.25rem; color: var(--text-soft); }
.acc-num { font-family: var(--font-cond); font-weight: 600; color: var(--teal-ink); margin-right: .1rem; }

/* ============================================================
   Editorial pass: open layouts and text tabs instead of
   pills and boxed cards
   ============================================================ */

/* ---- Tabs (service nav, work filter): text + underline ---- */
.chip-nav, .filter-bar {
  gap: 0 2rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
  justify-content: flex-start; border-bottom: 1px solid var(--rule);
}
.chip-nav::-webkit-scrollbar, .filter-bar::-webkit-scrollbar { display: none; }
.chip-nav { padding: 0; }
.filter-bar { margin-bottom: 0; }
.chip {
  padding: 1rem 0 .95rem; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; border-radius: 0;
  background: none; box-shadow: none; color: var(--text-soft); font-size: .95rem; font-weight: 600;
}
.chip svg { display: none; }
.chip:hover { color: var(--text); border-color: transparent; }
.chip.is-active { background: none; box-shadow: none; color: var(--text); border-bottom-color: var(--teal-ink); }

/* ---- Six-week stepper: a ruled row of weeks ---- */
.stepper-track { gap: 0; border-bottom: 1px solid var(--rule); }
.wk-pill {
  align-items: flex-start; gap: .35rem; padding: 1.1rem .25rem 1.15rem; margin-bottom: -1px;
  border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; box-shadow: none;
}
.wk-pill b { font-size: 1.6rem; color: var(--ink-faint); transition: color var(--t); }
.wk-pill small { color: var(--ink-faint); }
.wk-pill:hover { transform: none; }
.wk-pill:hover b { color: var(--text); }
.wk-pill.is-active { background: none; box-shadow: none; border-bottom-color: var(--teal-ink); }
.wk-pill.is-active b { color: var(--text); }
.wk-progress { display: none; }
.wk-detail { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 2.25rem 0 0; max-width: 62ch; }
@media (max-width: 620px) {
  .stepper-track { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .wk-pill { flex: 0 0 auto; min-width: 74px; }
}

/* ---- Service index (Home): numbered, ruled, no boxes ---- */
.svc-index { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: clamp(2rem, 4vw, 3.5rem); }
.svc-item {
  display: flex; flex-direction: column; gap: .7rem; padding: 1.75rem 0 2.75rem;
  border-top: 1px solid var(--rule); color: inherit; text-decoration: none; transition: border-color var(--t);
}
.svc-num { font-family: var(--font-cond); font-size: .9rem; font-weight: 600; letter-spacing: .08em; color: var(--teal-ink); }
.svc-item h3 { font-size: 1.3rem; line-height: 1.3; transition: color var(--t); }
.svc-item p { color: var(--text-soft); line-height: 1.6; flex-grow: 1; }
.svc-more { display: inline-flex; align-items: center; gap: .4rem; font-size: .92rem; font-weight: 600; color: var(--text); margin-top: .35rem; }
.svc-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform var(--t); }
.svc-item:hover { border-top-color: var(--teal-ink); }
.svc-item:hover h3 { color: var(--teal-ink); }
.svc-item:hover .svc-more svg { transform: translateX(3px); }
@media (max-width: 920px) { .svc-index { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-index { grid-template-columns: 1fr; } .svc-item { padding-bottom: 2rem; } }

/* ---- Work list (Our Work): editorial rows ---- */
.work-list { border-top: 0; }
.work-row {
  display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 1.5rem clamp(2rem, 4vw, 3.5rem); padding: 2.5rem 0; border-bottom: 1px solid var(--rule);
}
.work-meta { display: flex; flex-direction: column; gap: .5rem; }
.work-num { font-family: var(--font-cond); font-size: .9rem; font-weight: 600; letter-spacing: .08em; color: var(--teal-ink); }
.work-cat { font-family: var(--font-cond); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 600; color: var(--ink-faint); }
.work-row h3 { font-size: clamp(1.35rem, 2.2vw, 1.65rem); line-height: 1.25; }
.work-row p { color: var(--text-soft); line-height: 1.65; }
.work-note { margin-top: .9rem; font-size: .9rem; color: var(--ink-faint); font-style: italic; }
@media (max-width: 920px) {
  .work-row { grid-template-columns: 1fr; gap: .75rem; padding: 2rem 0; }
  .work-meta { flex-direction: row; gap: 1rem; align-items: baseline; }
}

/* ---- Aside note (About): an accent rule, not a box ---- */
.aside-note { border-left: 2px solid var(--teal-ink); padding: .35rem 0 .35rem clamp(1.25rem, 3vw, 2rem); }
.aside-note h3 { font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.3; }

/* Week detail: the Fixed/Flexible marker as a label, not a pill */
.wk-detail .badge { background: none; padding: 0; border-radius: 0; font-family: var(--font-cond); letter-spacing: .1em; }
.wk-detail h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-top: .6rem; }

/* What We Do: bare line icons beside the headings, no tile */
.service { grid-template-columns: 30px 1fr; gap: 1.25rem; }
.service .icon-tile { width: 30px; height: 30px; background: none; box-shadow: none; border-radius: 0; margin-top: .45rem; }
.service .icon-tile svg { width: 28px; height: 28px; stroke-width: 1.5; }


/* ============================================================
   Website feedback fixes (Nov 3)
   ============================================================ */
b, strong { font-weight: 600; }

/* Fade-in: shorter and subtler; content already on screen shows at once */
.reveal { transform: translateY(8px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.reveal.no-anim { transition: none; }

/* Inline form errors */
.field-error { margin-top: .45rem; font-size: .88rem; font-weight: 600; color: #a4321f; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: #a4321f; }
.field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus { box-shadow: 0 0 0 3px color-mix(in srgb, #a4321f 18%, transparent); }
:root[data-theme="dark"] .field-error { color: #ffb4a6; }
:root[data-theme="dark"] .field.has-error .input, :root[data-theme="dark"] .field.has-error .select, :root[data-theme="dark"] .field.has-error .textarea { border-color: #ffb4a6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .field-error { color: #ffb4a6; }
  :root:not([data-theme="light"]) .field.has-error .input, :root:not([data-theme="light"]) .field.has-error .select, :root:not([data-theme="light"]) .field.has-error .textarea { border-color: #ffb4a6; }
}
.form-error .form-error-title { font-weight: 600; margin-bottom: .35rem; }
.form-error ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .2rem; }
.form-error a { color: inherit; text-decoration: underline; }
.form-note a { color: inherit; text-decoration: underline; }

/* Footer legal link */
.footer-legal a { color: color-mix(in srgb, var(--cream) 70%, transparent); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--cream); }

/* Intensive: all six weeks readable without the tabs */
.weeks-all { margin-top: 2.5rem; }
.weeks-all h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.weeks-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.weeks-list li {
  display: grid; grid-template-columns: 5.5rem 1fr auto; gap: .35rem 1.25rem; align-items: baseline;
  padding: .95rem 0; border-bottom: 1px solid var(--rule);
}
.weeks-list .wk-num { font-family: var(--font-cond); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--teal-ink); font-size: .92rem; }
.weeks-list .wk-focus { font-weight: 600; color: var(--text); }
.weeks-list .wk-recv { grid-column: 2; color: var(--text-soft); font-size: .95rem; }
.weeks-list .wk-recv b { color: var(--text); }
.weeks-list .badge { grid-column: 3; grid-row: 1; }
@media (max-width: 560px) {
  .weeks-list li { grid-template-columns: 1fr auto; }
  .weeks-list .wk-num { grid-column: 1; grid-row: 1; }
  .weeks-list .badge { grid-column: 2; grid-row: 1; }
  .weeks-list .wk-focus, .weeks-list .wk-recv { grid-column: 1 / -1; }
}
/* The footer background flips with the theme (it uses --ink), so its logo files are
   swapped in the markup: the light-on-dark file shows in light mode, the dark file in dark mode. */
.footer-logo .logo-on-dark { display: none; }
:root[data-theme="dark"] .footer-logo .logo-on-light { display: none; }
:root[data-theme="dark"] .footer-logo .logo-on-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .footer-logo .logo-on-light { display: none; }
  :root:not([data-theme="light"]) .footer-logo .logo-on-dark { display: block; }
}
