/* ============================================================
   smedigital.ai — Main Stylesheet
   Mobile-first. WCAG 2.1 AA. No frameworks.
   Premium editorial redesign: transparent nav, full-height hero,
   editorial pain list, position statement, service blocks, GSAP.
   ============================================================ */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
ul, ol { list-style: none; }

/* === DESIGN TOKENS === */
:root {
  /* Colours */
  --navy:        #0d1b2e;
  --navy-dark:   #070e1a;
  --navy-mid:    #152335;
  --navy-light:  #1d3152;
  --accent:      #b85c2c;
  --accent-dark: #9a4a22;
  --bg:          #f8f7f3;
  --white:       #ffffff;
  --text:        #1c1c1e;
  --text-muted:  #5c6470;
  --border:      #ddd9d0;
  --success:     #15803d;
  --error:       #dc2626;

  /* Typography */
  --font-serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Layout */
  --container-max:     1100px;
  --container-padding: var(--sp-6);

  /* Shape */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow:    0 4px 14px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);

  /* Motion */
  --t:      0.18s ease;
  --t-slow: 0.35s ease;
}

/* === BASE === */
body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
}
h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.625rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); }
h4 { font-size: 1.0625rem; }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section      { padding: var(--sp-16) 0; }
.section--lg  { padding: var(--sp-24) 0; }
.section--sm  { padding: var(--sp-10) 0; }

.section--dark {
  background: var(--navy);
  color: var(--white);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }

.section--tinted { background: #eeecea; }

/* === SKIP LINK (a11y) === */
.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-4);
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
}
.skip-link:focus { left: var(--sp-4); }

/* === FOCUS === */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* === NAVIGATION === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,27,46,0.95);
  backdrop-filter: blur(12px) saturate(1.5);
  -webkit-backdrop-filter: blur(12px) saturate(1.5);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 1px 0 rgba(0,0,0,0.25);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}


.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav__logo {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: color var(--t);
}
.nav__logo span { color: var(--accent); }

.nav__menu {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}
.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255,255,255,0.60);
  transition: color var(--t);
}
.nav__link:hover,
.nav__link--active { color: var(--white); }

/* CTA: copper on dark nav = high-contrast, premium */
.nav__cta {
  background: var(--accent);
  color: var(--white);
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background var(--t), border-color var(--t);
  border: 1px solid var(--accent);
}
.nav__cta:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: transform var(--t), opacity var(--t);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--navy-mid);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-3) 0 var(--sp-4);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile .nav__link {
  padding: var(--sp-3) var(--container-padding);
  font-size: 1rem;
}
.nav__mobile .nav__cta {
  margin: var(--sp-3) var(--container-padding) 0;
  text-align: center;
  padding: var(--sp-3);
}

@media (min-width: 768px) {
  .nav__menu   { display: flex; }
  .nav__toggle { display: none; }
  .nav__mobile { display: none !important; }
}

/* === HERO (homepage) — full-height, video background === */
/* Grid stacking: video / overlay / content all share one cell */
.hero {
  display: grid;
  grid-template-areas: "stack";
  background-color: var(--navy);
  color: var(--white);
  margin-top: -64px;
  height: 100vh;
  overflow: hidden;
}
.hero__video,
.hero__overlay,
.hero__content { grid-area: stack; }

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  display: block;
}
.hero__overlay {
  background: rgba(7,14,26,0.78);
  z-index: 1;
  pointer-events: none;
}
.hero__content {
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(64px + var(--sp-12));
  padding-bottom: var(--sp-12);
  overflow-y: auto;
}

/* Copper accent line */
.hero::before {
  content: '';
  grid-area: stack;
  align-self: start;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 55%);
  z-index: 3;
  pointer-events: none;
}

/* Hide video for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
}

/* Header row: tag label left, year right */
.hero__header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--sp-12);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #e28a58;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.hero__tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: #e28a58;
}
.hero__year {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.80);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Hero H1 — significantly larger than general h1 */
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.25rem);
  color: var(--white);
  max-width: 900px;
  margin-bottom: var(--sp-6);
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero h1 .highlight {
  color: #f1a06f;
  font-style: italic;
}

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
  margin-bottom: var(--sp-10);
  line-height: 1.75;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }

/* Credentials strip — stat-style items at bottom of hero */
.hero__creds-strip {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex-wrap: wrap;
  margin-top: var(--sp-14);
  padding-top: var(--sp-8);
  border-top: 1px solid rgba(255,255,255,0.10);
}
.hero__cred {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__cred-value {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--white);
  line-height: 1;
}
.hero__cred-label {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.84);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  line-height: 1.2;
}
.hero__cred-divider {
  width: 1px;
  height: 38px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}
@media (max-width: 599px) {
  .hero__cred-divider { display: none; }
  .hero__creds-strip  { gap: var(--sp-6); }
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: var(--sp-16) 0 var(--sp-12);
}
.page-hero .breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--sp-5);
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.45); transition: color var(--t); }
.page-hero .breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.page-hero h1 { color: var(--white); max-width: 760px; }
.page-hero p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.72);
  max-width: 620px;
  margin-top: var(--sp-4);
  margin-bottom: 0;
  line-height: 1.75;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--t);
  margin-left: var(--sp-1);
}
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--primary:hover::after { transform: translateX(3px); }

.btn--outline   { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.45); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn--navy      { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn--outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

/* === CARDS (inner pages) === */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card--accent-top { border-top: 3px solid var(--accent); }
.card h3 { margin-bottom: var(--sp-3); }
.card p  { color: var(--text-muted); font-size: 0.9375rem; }

/* === POSITION STATEMENT (pull quote + text) === */
.position-pull {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--navy);
  line-height: 1.45;
  font-style: italic;
  border: none;
  padding: 0;
  margin-top: var(--sp-5);
}
.position-pull p { color: var(--navy); margin: 0; line-height: 1.45; }

/* === PAIN LIST (editorial numbered) === */
.pain-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.pain-list__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-6);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--border);
  align-items: start;
}
.pain-list__item:last-child { border-bottom: 1px solid var(--border); }

.pain-list__num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  color: var(--accent);
  opacity: 0.32;
  line-height: 1.1;
  user-select: none;
  padding-top: 2px;
}
.pain-list__heading {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: var(--sp-3);
  line-height: 1.35;
  font-family: var(--font-sans);
}
.pain-list__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

@media (min-width: 768px) {
  .pain-list__item {
    grid-template-columns: 80px 1fr;
    gap: var(--sp-10);
    padding: var(--sp-10) 0;
  }
  .pain-list__num { font-size: 3.25rem; }
}

/* Pain list on dark background */
.section--dark .pain-list__item { border-color: rgba(255,255,255,0.10); }
.section--dark .pain-list__item:last-child { border-color: rgba(255,255,255,0.10); }
.section--dark .pain-list__heading { color: var(--white); }
.section--dark .pain-list__body { color: rgba(255,255,255,0.58); }
.section--dark .section-header p { color: rgba(255,255,255,0.65); }

/* === QUOTE BLOCK (dark section) === */
.quote-section { background: var(--navy); }
.quote-block {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: var(--sp-16) var(--sp-6);
}
.quote-block::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 12rem;
  line-height: 0.6;
  color: rgba(255,255,255,0.045);
  position: absolute;
  top: var(--sp-10);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  user-select: none;
}
.quote-block p {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  margin-bottom: var(--sp-6);
  position: relative;
}
.quote-block cite {
  font-style: normal;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.04em;
}

/* === GRIDS === */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--sp-6); }

@media (min-width: 580px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* === SPLIT LAYOUT === */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: start;
}
@media (min-width: 768px) {
  .split           { grid-template-columns: 1fr 1fr; }
  .split--60-40    { grid-template-columns: 3fr 2fr; }
  .split--40-60    { grid-template-columns: 2fr 3fr; }
}

/* === SECTION LABEL & HEADER === */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-header { margin-bottom: var(--sp-10); }
.section-header h2 { margin-bottom: var(--sp-4); }
.section-header p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.75;
}

/* === SERVICE BLOCKS (stacked, 2-col at desktop) === */
.service-blocks {
  display: flex;
  flex-direction: column;
}
.service-block {
  border-top: 1px solid var(--border);
  padding: var(--sp-10) 0;
}
.service-block:last-child { border-bottom: 1px solid var(--border); }

.service-block__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
@media (min-width: 768px) {
  .service-block__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
    align-items: start;
  }
}

.service-block__num {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--accent);
  font-style: italic;
  margin-bottom: var(--sp-2);
  display: block;
}
.service-block__name {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.service-block__body {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}
.service-block__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
}
.service-block__link::after {
  content: '\2192';
  display: inline-block;
  transition: transform var(--t);
}
.service-block__link:hover { color: var(--accent); border-color: var(--accent); }
.service-block__link:hover::after { transform: translateX(4px); }

/* === CHECKLIST === */
.checklist { display: flex; flex-direction: column; gap: var(--sp-3); }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  line-height: 1.6;
}
.checklist li::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px; min-width: 20px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%23b85c2c' stroke-width='1.5'/%3E%3Cpath d='M6 10l3 3 5-5' stroke='%23b85c2c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* === CROSS LIST === */
.crosslist { display: flex; flex-direction: column; gap: var(--sp-3); }
.crosslist li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.crosslist li::before {
  content: '';
  display: inline-block;
  width: 20px; height: 20px; min-width: 20px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%235c6470' stroke-width='1.5'/%3E%3Cpath d='M7 7l6 6M13 7l-6 6' stroke='%235c6470' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* === CALLOUT === */
.callout {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: var(--sp-6) var(--sp-8);
  box-shadow: var(--shadow-sm);
}
.callout p {
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* === STAT GRID === */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-8);
}
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }

.stat { text-align: center; }
.stat__value {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--sp-2);
  font-feature-settings: 'tnum';
}
.stat__label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.50);
  line-height: 1.4;
}

/* === GRADIENT DIVIDER === */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border) 25%, var(--border) 75%, transparent 100%);
  border: none;
  margin: 0;
}

/* === FORMS === */
.form-group   { margin-bottom: var(--sp-5); }
.form-label   { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: var(--sp-2); }
.form-label .req { color: var(--accent); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--t), box-shadow var(--t);
  appearance: none;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(13,27,46,0.10);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #a0a6b0; }
.form-textarea { resize: vertical; min-height: 140px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.form-check a { color: var(--navy); text-decoration: underline; }

.form-submit {
  width: 100%;
  padding: var(--sp-4);
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--t);
}
.form-submit:hover    { background: var(--navy-mid); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  padding: var(--sp-4);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  margin-top: var(--sp-4);
  display: none;
}
.form-message--success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; }
.form-message--error   { background: #fef2f2; border: 1px solid #fecaca; color: #dc2626; }

/* === ACCORDION === */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  background: var(--white);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  gap: var(--sp-4);
  transition: background var(--t);
}
.accordion__trigger:hover { background: var(--bg); }
.accordion__icon {
  width: 24px; height: 24px; min-width: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--t);
  font-size: 1rem; color: var(--text-muted); font-weight: 400;
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__body {
  display: none;
  padding: 0 var(--sp-6) var(--sp-6);
  background: var(--white);
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.accordion__item.is-open .accordion__body { display: block; }

/* === TOOL CARD === */
.tool-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  position: relative;
  overflow: hidden;
  transition: transform var(--t), box-shadow var(--t);
}
.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.tool-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
}
.tool-badge {
  display: inline-block;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px var(--sp-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-4);
}
.tool-badge--live { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.tool-badge--soon { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* === FOOTER === */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--sp-16) 0 var(--sp-8);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}
@media (min-width: 640px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer__logo { font-size: 1.0625rem; font-weight: 700; color: var(--white); }
.footer__logo span { color: var(--accent); }
.footer__brand p { font-size: 0.9375rem; line-height: 1.7; margin-top: var(--sp-3); max-width: 280px; }
.footer__col-head {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: var(--sp-4);
}
.footer__links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__links a { font-size: 0.9375rem; color: rgba(255,255,255,0.6); transition: color var(--t); }
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  font-size: 0.8125rem;
}

/* === COOKIE BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.82);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
}
.cookie-banner p { font-size: 0.875rem; margin-bottom: 0; max-width: 680px; }
.cookie-banner p a { color: rgba(255,255,255,0.82); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: var(--sp-3); flex-shrink: 0; }
.cookie-btn {
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--t);
}
.cookie-btn--accept { background: var(--accent); color: var(--white); border-color: var(--accent); }
.cookie-btn--accept:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.cookie-btn--decline { background: transparent; color: rgba(255,255,255,0.65); border-color: rgba(255,255,255,0.25); }
.cookie-btn--decline:hover { border-color: rgba(255,255,255,0.55); color: var(--white); }

/* === UTILITIES === */
.text-muted   { color: var(--text-muted); }
.text-accent  { color: var(--accent); }
.text-center  { text-align: center; }
.text-sm      { font-size: 0.875rem; }
.mt-2  { margin-top: var(--sp-2); }
.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-10 { margin-bottom: var(--sp-10); }
hr.divider { border: none; border-top: 1px solid var(--border); margin: var(--sp-10) 0; }

/* === BLOG INDEX — article card grid === */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .blog-grid { grid-template-columns: 1fr 1fr 1fr; } }

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.blog-card__topic {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}
.blog-card__title {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: var(--sp-4);
}
.blog-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: var(--sp-6);
}
.blog-card__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-4);
}
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1.5px solid var(--navy);
  padding-bottom: 2px;
  transition: color var(--t), border-color var(--t);
  width: fit-content;
}
.blog-card__link::after { content: '\2192'; transition: transform var(--t); }
.blog-card__link:hover { color: var(--accent); border-color: var(--accent); }
.blog-card__link:hover::after { transform: translateX(4px); }

/* === ARTICLE — individual post === */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-5);
}
.article-meta__divider { opacity: 0.3; }

.article-body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 720px;
}
.article-body h2 {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  color: var(--navy);
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
  padding-top: var(--sp-8);
  border-top: 1px solid var(--border);
}
.article-body h3 {
  font-size: 1.125rem;
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 700;
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}
.article-body p { margin-bottom: var(--sp-5); }
.article-body ul, .article-body ol {
  margin: 0 0 var(--sp-5) var(--sp-6);
}
.article-body li { margin-bottom: var(--sp-2); line-height: 1.7; }
.article-body a { color: var(--navy); text-decoration: underline; }
.article-body a:hover { color: var(--accent); }
.article-body strong { font-weight: 600; color: var(--navy); }

.article-body .callout {
  margin: var(--sp-8) 0;
}

/* Placeholder block — visible to Ant for content he needs to add */
.placeholder {
  background: #fffbeb;
  border: 1.5px dashed #d97706;
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  margin: var(--sp-8) 0;
  font-size: 0.9375rem;
  color: #92400e;
}
.placeholder strong { color: #92400e; }

/* Related articles strip */
.related-articles {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
}
@media (min-width: 640px) { .related-articles { grid-template-columns: 1fr 1fr; } }

.related-article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--sp-5) var(--sp-6);
  transition: border-color var(--t);
}
.related-article:hover { border-color: var(--navy); }
.related-article__label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); display: block; margin-bottom: var(--sp-2); }
.related-article__title { font-family: var(--font-serif); font-size: 1rem; color: var(--navy); line-height: 1.3; }

/* === PRINT === */
@media print {
  .nav, .footer, .cookie-banner { display: none; }
  .hero, .page-hero { background: none; color: var(--text); }
  .hero h1, .page-hero h1, .hero__sub, .page-hero p { color: var(--text); }
}
