/* ==========================================================================
   Commerce Resource Group — print editorial.
   Burgundy on bone, Playfair Display display face, Inter grotesque text face.
   Square radius language, double-rule system, drop caps, editorial column grid.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Burgundy tonal ramp — the brand hue with real range, not one flat value. */
  --bur-950: #2C0B17;
  --bur-900: #401021;
  --bur-800: #4E1429;
  --bur-700: #6B1F3B;
  --bur-600: #7E2A48;
  --bur-500: #94405D;
  --bur-400: #B06A81;
  --bur-300: #CE9AAB;
  --bur-200: #E6C8D2;
  --bur-100: #F3E4E9;
  --bur-50:  #FAF1F4;

  /* Legacy aliases — every existing rule keeps working. */
  --burgundy: var(--bur-700);
  --burgundy-deep: var(--bur-800);

  /* Paper */
  --paper:   #FAF7F2;
  --paper-2: #F4EFE6;
  --paper-3: #ECE4D8;
  --white:   #FFFFFF;
  --bone: var(--paper);
  --bone-deep: var(--paper-2);

  /* Ink */
  --ink-900: #1C1A19;
  --ink-800: #2E2C2A;
  --ink-700: #403C39;
  --ink-600: #524D49;
  --ink-500: #6B6461;
  --ink-300: #9A928D;
  --graphite: var(--ink-800);
  --muted: var(--ink-500);

  /* Rules — the double-rule system */
  --rule:        #DED5C9;
  --rule-hair:   rgba(46, 44, 42, 0.13);
  --rule-strong: var(--ink-800);
  --rule-brand:  var(--bur-700);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Fluid type scale */
  --step--2: clamp(0.72rem, 0.705rem + 0.07vw, 0.77rem);
  --step--1: clamp(0.83rem, 0.80rem + 0.14vw, 0.92rem);
  --step-0:  clamp(1rem,    0.975rem + 0.13vw, 1.07rem);
  --step-1:  clamp(1.18rem, 1.13rem + 0.26vw, 1.33rem);
  --step-2:  clamp(1.40rem, 1.31rem + 0.46vw, 1.66rem);
  --step-3:  clamp(1.67rem, 1.51rem + 0.78vw, 2.07rem);
  --step-4:  clamp(1.98rem, 1.74rem + 1.20vw, 2.59rem);
  --step-5:  clamp(2.36rem, 1.99rem + 1.84vw, 3.24rem);
  --step-6:  clamp(2.80rem, 2.22rem + 2.90vw, 4.30rem);

  --lh-display: 1.08;
  --lh-title:   1.16;
  --lh-body:    1.62;
  --lh-tight:   1.34;

  --track-display: -0.028em;
  --track-title:   -0.016em;
  --track-caps:    0.17em;

  /* Space scale */
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 88px; --s10: 128px;
  --s11: 168px;

  /* Radius language — this is a print property. It is square. */
  --r-0: 0px;
  --r-1: 2px;
  --r-2: 3px;

  /* Shadows: layered, low opacity, tinted with the burgundy hue. */
  --shadow-sm: 0 1px 1px rgba(64, 16, 33, 0.05),
               0 1px 3px rgba(64, 16, 33, 0.05);
  --shadow-md: 0 1px 2px rgba(64, 16, 33, 0.05),
               0 4px 10px rgba(64, 16, 33, 0.06),
               0 8px 20px rgba(64, 16, 33, 0.04);
  --shadow-lg: 0 2px 4px rgba(64, 16, 33, 0.05),
               0 10px 22px rgba(64, 16, 33, 0.07),
               0 22px 48px rgba(64, 16, 33, 0.07);
  --shadow-xl: 0 4px 8px rgba(64, 16, 33, 0.06),
               0 18px 38px rgba(64, 16, 33, 0.09),
               0 40px 84px rgba(64, 16, 33, 0.10);

  /* Motion */
  --ease: cubic-bezier(.2, .7, .3, 1);
  --t-fast: 160ms;
  --t-mid:  240ms;
  --t-slow: 620ms;

  --maxw: 1180px;
  --maxw-wide: 1340px;
  --measure: 68ch;
  --gutter: var(--s5);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s7);
}

body {
  margin: 0;
  counter-reset: figure;
  background: var(--paper);
  color: var(--ink-700);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: var(--lh-body);
  overflow-x: hidden;
  font-feature-settings: "kern" 1, "liga" 1;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

[hidden] { display: none !important; }

a {
  color: var(--bur-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}
a:hover { color: var(--bur-800); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--bur-700);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

::selection { background: var(--bur-200); color: var(--bur-950); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--bur-700); color: var(--paper);
  padding: var(--s3) var(--s4); z-index: 90;
  font-size: var(--step--1); font-weight: 600;
}
.skip:focus { left: var(--s4); top: var(--s4); }

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: var(--maxw-wide); }

/* --------------------------------------------------------------------------
   3. Type
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink-900);
  margin: 0 0 var(--s4);
  line-height: var(--lh-title);
  letter-spacing: var(--track-title);
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: var(--step-6); line-height: var(--lh-display); letter-spacing: var(--track-display); }
h2 { font-size: var(--step-4); letter-spacing: -0.02em; }
h3 { font-size: var(--step-2); line-height: 1.22; }
h4 { font-size: var(--step-1); line-height: 1.28; }
h5 { font-size: var(--step-0); }

p { margin: 0 0 var(--s4); text-wrap: pretty; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--bur-700);
  margin: 0 0 var(--s3);
  font-feature-settings: "kern" 1;
}
.eyebrow-muted { color: var(--ink-500); }

/* Eyebrow with a hairline that runs to the end of its column. */
.eyebrow-rule {
  display: flex; align-items: center; gap: var(--s4);
}
.eyebrow-rule::after {
  content: ""; flex: 1 1 auto; height: 1px;
  background: var(--rule); min-width: var(--s6);
}

.lede {
  font-size: var(--step-1);
  line-height: 1.52;
  color: var(--ink-600);
  max-width: 58ch;
  text-wrap: pretty;
}
.dek   { color: var(--ink-500); }
.small { font-size: var(--step--1); }
.num-tab { font-variant-numeric: tabular-nums; }

/* ---- The double-rule system ------------------------------------------------
   .rule-double        heavy over hair, the masthead rule
   .rule-double-lite   hair over hair, section-internal
   .rule-thin          single hairline
   -------------------------------------------------------------------------- */
.rule-double {
  border-top: 3px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  height: 4px;
}
.rule-double-lite {
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  height: 3px;
}
.rule-thin { border: 0; border-top: 1px solid var(--rule); margin: var(--s7) 0; }
.rule-brand { border: 0; border-top: 2px solid var(--bur-700); width: 56px; margin: 0 0 var(--s5); }
.figure-flush { margin: 0; }

/* ---- Drop cap -------------------------------------------------------------- */
.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 4.05em;
  line-height: 0.79;
  padding: 0.06em 0.10em 0 0;
  margin: 0.02em 0.02em -0.04em 0;
  color: var(--bur-700);
  letter-spacing: -0.03em;
}
.dropcap::first-line {
  font-variant-caps: small-caps;
  letter-spacing: 0.02em;
  color: var(--ink-900);
}

/* ---- Editorial figure captions ---------------------------------------------- */
figcaption {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--ink-500);
  text-wrap: pretty;
}
.article-figure { counter-increment: figure; }
.article-figure figcaption::before {
  content: "Fig. " counter(figure);
  display: inline-block;
  margin-right: 0.65em;
  font-family: var(--sans);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bur-700);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   4. Masthead
   -------------------------------------------------------------------------- */
.masthead { background: var(--paper); position: relative; z-index: 40; }
.masthead-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s5) var(--gutter);
  flex-wrap: wrap;
}

.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; color: var(--ink-900); }
.brand-mark { color: var(--bur-700); display: inline-flex; transition: color var(--t-fast) var(--ease); }
.brand:hover .brand-mark { color: var(--bur-800); }
.brand-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}
.brand-sub {
  display: block;
  font-size: 0.63rem;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 4px;
}

.nav ul { display: flex; gap: var(--s6); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a {
  font-size: var(--step--2);
  letter-spacing: 0.155em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-800);
  text-decoration: none;
  padding-bottom: 4px;
  position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1px; background: var(--bur-700);
  transition: right var(--t-mid) var(--ease);
}
.nav a:hover { color: var(--bur-700); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--bur-700); }

.navtoggle {
  display: none;
  align-items: center;
  gap: var(--s2);
  background: none;
  border: 1px solid var(--rule);
  color: var(--ink-800);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  padding: var(--s2) var(--s3);
  cursor: pointer;
  border-radius: var(--r-0);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.navtoggle:hover { border-color: var(--bur-700); color: var(--bur-700); }
.navtoggle:active { background: var(--paper-2); }
.navtoggle-bars { display: inline-flex; flex-direction: column; gap: 3px; }
.navtoggle-bars i { display: block; width: 15px; height: 1.5px; background: currentColor; }

/* --------------------------------------------------------------------------
   5. Hero — front-page composition
   -------------------------------------------------------------------------- */
.hero { padding: var(--s8) 0 0; position: relative; z-index: 1; }

/* Folio strip: the issue line, ruled top and bottom like a masthead folio. */
.folio {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s6);
  padding: var(--s3) 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
  margin-bottom: var(--s7);
}
.folio span {
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: var(--track-caps);
  text-transform: uppercase;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.folio span:first-child { color: var(--bur-700); }
.folio .folio-end { margin-left: auto; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: var(--s7) var(--s8);
  align-items: start;
}
.hero-head { min-width: 0; }
.hero h1 { margin-bottom: var(--s5); max-width: 16ch; }
.hero h1 em { font-style: italic; color: var(--bur-700); }
.hero-lede { max-width: 46ch; font-size: var(--step-1); color: var(--ink-600); }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }

/* Slim trust row — three items, no badges, no stars, no invented numbers. */
.trustrow {
  display: flex; flex-wrap: wrap; gap: var(--s4) var(--s6);
  margin-top: var(--s6);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
  list-style: none;
  padding-left: 0;
}
.trustrow li {
  display: flex; align-items: flex-start; gap: var(--s2);
  font-size: var(--step--1);
  color: var(--ink-500);
  max-width: 24ch;
  line-height: 1.42;
}
.trustrow svg { flex: 0 0 auto; color: var(--bur-700); margin-top: 3px; }

.hero-meta {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 3px solid var(--rule-strong);
}
.hero-meta div {
  padding: var(--s4) 0;
  border-bottom: 1px solid var(--rule);
  max-width: none;
}
.hero-meta dt {
  font-size: var(--step--2); letter-spacing: var(--track-caps); text-transform: uppercase;
  color: var(--bur-700); font-weight: 600; margin-bottom: var(--s2);
}
.hero-meta dd { margin: 0; font-size: var(--step--1); color: var(--ink-500); line-height: 1.5; }

/* The plate: wide photograph with a card that hangs past its lower boundary. */
.hero-plate { position: relative; margin: var(--s8) 0 0; }
/* Offset colour block, registered behind the plate like a printed second pass. */
.hero-plate::before {
  content: "";
  position: absolute;
  inset: -34px -3.5% auto 68%;
  height: 74%;
  background: var(--bur-100);
  z-index: 0;
}
.hero-plate figure { margin: 0; position: relative; z-index: 1; }
.hero-plate img {
  width: 100%;
  height: clamp(260px, 42vw, 500px);
  object-fit: cover;
  filter: saturate(0.66) contrast(1.05);
  box-shadow: var(--shadow-lg);
}
.hero-plate figcaption {
  padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  margin-top: var(--s3);
  max-width: 46ch;
}

.plate-card {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: -52px;
  width: min(430px, 100%);
  background: var(--paper);
  border-top: 3px solid var(--bur-700);
  padding: var(--s5) var(--s5) var(--s4);
  box-shadow: var(--shadow-xl);
}
.plate-card .eyebrow { margin-bottom: var(--s2); }
.plate-card h2 {
  font-size: var(--step-2);
  margin-bottom: var(--s3);
  letter-spacing: -0.018em;
}
.plate-card h2 a { color: inherit; text-decoration: none; }
.plate-card h2 a:hover { color: var(--bur-700); }
.plate-card p { font-size: var(--step--1); color: var(--ink-500); margin-bottom: var(--s3); }

/* Legacy banner figure (kept for any page still using it). */
.hero-band { margin-top: var(--s7); position: relative; }
.hero-band img { width: 100%; height: clamp(240px, 40vw, 460px); object-fit: cover; filter: saturate(0.7) contrast(1.03); }
.hero-band figcaption { padding-top: var(--s3); border-top: 1px solid var(--rule); margin-top: var(--s3); max-width: 52ch; }

/* --------------------------------------------------------------------------
   6. Sections
   -------------------------------------------------------------------------- */
.section       { padding: var(--s10) 0; }
.section-tight { padding: var(--s9) 0; }
.section-tone  { background: var(--paper-2); }
.section-tone + .section-tone { border-top: 1px solid var(--rule); }

.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s5); flex-wrap: wrap;
  padding-bottom: var(--s4);
  border-bottom: 3px solid var(--rule-strong);
  box-shadow: 0 2px 0 0 var(--rule);
  margin-bottom: var(--s8);
}
.section-head h2 { margin: 0; }
.section-head .eyebrow { margin: 0; }
.section-intro { max-width: 62ch; margin: calc(var(--s7) * -1) 0 var(--s7); color: var(--ink-600); }

/* --------------------------------------------------------------------------
   7. Lead article block — commands the page
   -------------------------------------------------------------------------- */
.lead-article {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--s8);
  align-items: start;
}
.lead-article figure { margin: 0; }
.lead-article img { width: 100%; height: clamp(260px, 32vw, 400px); object-fit: cover; filter: saturate(0.72); }
.lead-article h3 { font-size: var(--step-4); margin-bottom: var(--s4); }
.lead-article h3 a { color: inherit; text-decoration: none; }
.lead-article h3 a:hover { color: var(--bur-700); }
.lead-body p { color: var(--ink-600); }

/* The feature variant used on the front page. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: var(--s8);
  align-items: stretch;
  border-top: 3px solid var(--rule-strong);
  padding-top: var(--s6);
  position: relative;
}
.feature::after {
  content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px;
  background: var(--rule);
}
.feature-figure { margin: 0; position: relative; }
.feature-figure img {
  width: 100%; height: 100%; min-height: clamp(300px, 38vw, 480px);
  object-fit: cover; filter: saturate(0.68) contrast(1.04);
}
.feature-figure figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: var(--s6) var(--s4) var(--s3);
  color: var(--bur-100);
  background: linear-gradient(to top, rgba(44, 11, 23, 0.82), rgba(44, 11, 23, 0));
  font-size: var(--step--2);
}
.feature-body { display: flex; flex-direction: column; }
.feature-body .kicker-line {
  display: flex; align-items: center; gap: var(--s3);
  margin-bottom: var(--s4);
}
.feature-body .kicker-line .eyebrow { margin: 0; }
.feature-body .kicker-line::after {
  content: ""; flex: 1 1 auto; height: 1px; background: var(--rule);
}
.feature-body h3 {
  font-size: var(--step-5);
  line-height: 1.06;
  letter-spacing: var(--track-display);
  margin-bottom: var(--s4);
  max-width: 16ch;
}
.feature-body h3 a { color: inherit; text-decoration: none; }
.feature-body h3 a:hover { color: var(--bur-700); }
.feature-standfirst {
  font-family: var(--serif);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.42;
  color: var(--bur-800);
  max-width: 40ch;
  margin-bottom: var(--s5);
}
.feature-body .cols { column-count: 2; column-gap: var(--s6); column-rule: 1px solid var(--rule); }
.feature-body .cols p { font-size: var(--step--1); color: var(--ink-600); }
.feature-body .cols p:last-child { margin-bottom: 0; }
.feature-foot { margin-top: auto; padding-top: var(--s5); }
.byline {
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: var(--s3);
}

/* --------------------------------------------------------------------------
   8. Grids and entries
   -------------------------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8) var(--s7); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s7) var(--s6); }

.entry {
  border-top: 1px solid var(--rule);
  padding-top: var(--s5);
  transition: transform var(--t-mid) var(--ease);
}
.entry img {
  width: 100%; height: 210px; object-fit: cover;
  filter: saturate(0.72);
  margin-bottom: var(--s4);
  transition: filter var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.entry:hover img { filter: saturate(0.95) contrast(1.03); }
.entry h3 { margin-bottom: var(--s3); font-size: var(--step-2); }
.entry h3 a { color: inherit; text-decoration: none; background-image: linear-gradient(var(--bur-700), var(--bur-700)); background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size var(--t-mid) var(--ease), color var(--t-fast) var(--ease); }
.entry h3 a:hover { color: var(--bur-700); background-size: 100% 1px; }
.entry p { color: var(--ink-500); font-size: var(--step--1); }

.readmore {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase;
  font-weight: 600; text-decoration: none; color: var(--bur-700);
}
.readmore svg { transition: transform var(--t-mid) var(--ease); }
.readmore:hover svg { transform: translateX(5px); }
.readmore:hover { color: var(--bur-800); }

/* --------------------------------------------------------------------------
   9. Numbered practice list
   -------------------------------------------------------------------------- */
.practice { list-style: none; margin: 0; padding: 0; }
.practice li {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: var(--s5);
  padding: var(--s5) 0;
  border-top: 1px solid var(--rule);
}
.practice li:last-child { border-bottom: 1px solid var(--rule); }
.practice .num {
  font-family: var(--serif);
  font-size: 2.1rem;
  color: var(--bur-700);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}
.practice h4 { margin-bottom: var(--s2); }
.practice p { margin: 0; color: var(--ink-500); font-size: var(--step--1); max-width: 62ch; }

/* --------------------------------------------------------------------------
   10. Connected step flow — "how it works"
   -------------------------------------------------------------------------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s7);
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.flow li { position: relative; z-index: 1; }
/* Connector runs from the edge of one node to the next, never past the last. */
.flow li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 56px;
  right: calc(var(--s7) * -1);
  height: 1px;
  background: repeating-linear-gradient(to right, var(--bur-300) 0 6px, transparent 6px 12px);
  z-index: 0;
}
.flow li:last-child::before { display: none; }
.flow .node {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--bur-700);
  background: var(--paper);
  color: var(--bur-700);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
  margin-bottom: var(--s5);
  transition: background var(--t-mid) var(--ease), color var(--t-mid) var(--ease);
}
.flow li:hover .node { background: var(--bur-700); color: var(--paper); }
.flow h4 { margin-bottom: var(--s2); }
.flow p { color: var(--ink-500); font-size: var(--step--1); margin: 0; max-width: 34ch; }

/* --------------------------------------------------------------------------
   11. Pull quote
   -------------------------------------------------------------------------- */
.pullquote {
  position: relative;
  margin: 0;
  padding: var(--s8) 0 var(--s7);
  border-top: 3px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: var(--s5);
  align-items: start;
}
.pullquote::before {
  content: "\201C";
  grid-column: 1;
  font-family: var(--serif);
  font-size: 8.5rem;
  line-height: 0.66;
  color: var(--bur-300);
  margin-top: -0.06em;
}
.pullquote-body { grid-column: 2; }
.pullquote p {
  font-family: var(--serif);
  font-size: var(--step-4);
  line-height: 1.24;
  font-style: italic;
  letter-spacing: -0.018em;
  color: var(--ink-900);
  max-width: 22ch;
  margin: 0 0 var(--s5);
  text-wrap: balance;
}
.pullquote footer {
  font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase;
  color: var(--ink-500); font-weight: 600;
  padding-top: var(--s3);
  border-top: 1px solid var(--rule);
  display: inline-block;
}

/* In-article pull quote — sits in the text column, hangs into the margin. */
.pull {
  margin: var(--s7) 0;
  padding: var(--s5) 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule);
}
.pull p {
  font-family: var(--serif);
  font-size: var(--step-2);
  font-style: italic;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--bur-800);
  margin: 0;
  max-width: 26ch;
  text-wrap: balance;
}

/* --------------------------------------------------------------------------
   12. Guided match — the reader's response card
   -------------------------------------------------------------------------- */
.match {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: var(--s8);
  align-items: start;
  background: var(--paper-2);
  border-top: 3px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
  padding: var(--s7) var(--s7) var(--s8);
}
.match-head { max-width: 46ch; margin-bottom: var(--s6); }
.match-head h2 { font-size: var(--step-3); margin-bottom: var(--s3); }
.match-head p { color: var(--ink-600); font-size: var(--step--1); margin: 0; }

.match-q { border: 0; margin: 0 0 var(--s6); padding: 0; }
.match-q:last-of-type { margin-bottom: var(--s5); }
.match-q legend {
  padding: 0;
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-800);
  margin-bottom: var(--s4);
  display: flex; align-items: baseline; gap: var(--s3);
}
.match-q legend .qn {
  color: var(--bur-700);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.match-opts { display: flex; flex-wrap: wrap; gap: var(--s2); }
.match-opts input {
  position: absolute; opacity: 0; width: 1px; height: 1px;
  margin: 0; pointer-events: none;
}
.match-opts label {
  display: inline-flex; align-items: center;
  padding: 10px var(--s4);
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-700);
  font-size: var(--step--1);
  line-height: 1.25;
  cursor: pointer;
  user-select: none;
  transition: border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.match-opts label:hover { border-color: var(--bur-500); color: var(--bur-800); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.match-opts label:active { transform: translateY(0); }
.match-opts input:checked + label {
  background: var(--bur-700);
  border-color: var(--bur-700);
  color: var(--paper);
  box-shadow: var(--shadow-md);
}
.match-opts input:focus-visible + label {
  outline: 2px solid var(--bur-700);
  outline-offset: 3px;
}

.match-progress {
  display: flex; align-items: center; gap: var(--s3);
  font-size: var(--step--2);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-500);
  font-variant-numeric: tabular-nums;
}
.match-pips { display: inline-flex; gap: 5px; }
.match-pips i {
  display: block; width: 22px; height: 3px;
  background: var(--rule);
  transition: background var(--t-mid) var(--ease);
}
.match-pips i.on { background: var(--bur-700); }
.match-reset {
  margin-left: auto;
  background: none; border: 0; padding: 0;
  font-family: var(--sans);
  font-size: var(--step--2); letter-spacing: 0.13em; text-transform: uppercase; font-weight: 600;
  color: var(--bur-700); cursor: pointer;
  border-bottom: 1px solid transparent;
}
.match-reset:hover { border-bottom-color: var(--bur-700); }

/* Live results preview card */
.match-card {
  background: var(--paper);
  border-top: 3px solid var(--bur-700);
  padding: var(--s5);
  box-shadow: var(--shadow-lg);
  position: sticky;
  top: var(--s5);
}
.match-card .eyebrow { margin-bottom: var(--s3); }
.match-card h3 {
  font-size: var(--step-2);
  margin-bottom: var(--s3);
  letter-spacing: -0.018em;
  transition: opacity var(--t-mid) var(--ease);
}
.match-card p { font-size: var(--step--1); color: var(--ink-600); }
.match-why {
  border-top: 1px solid var(--rule);
  padding-top: var(--s3);
  margin-top: var(--s4);
  font-size: var(--step--1);
  color: var(--ink-500);
}
.match-why strong { color: var(--ink-800); font-weight: 600; }
.match-card .btn { width: 100%; justify-content: center; margin-top: var(--s3); }
.match-card.is-swapping .match-swap { opacity: 0; transform: translateY(6px); }
.match-swap { transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease); }

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 3px solid var(--rule-strong); max-width: 76ch; }
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s5) var(--s7) var(--s5) 0;
  position: relative;
  font-family: var(--serif);
  font-size: var(--step-1);
  line-height: 1.3;
  color: var(--ink-900);
  letter-spacing: -0.012em;
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--bur-700); }
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: var(--s3);
  top: 50%;
  background: var(--bur-700);
  transition: transform var(--t-mid) var(--ease), opacity var(--t-mid) var(--ease);
}
.faq summary::before { width: 15px; height: 1.5px; margin-top: -0.75px; }
.faq summary::after  { width: 1.5px; height: 15px; margin-top: -7.5px; right: calc(var(--s3) + 6.75px); }
.faq details[open] summary::after { transform: rotate(90deg); opacity: 0; }
.faq .faq-a { padding: 0 var(--s7) var(--s5) 0; max-width: 64ch; }
.faq .faq-a p { color: var(--ink-600); font-size: var(--step--1); }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   14. Bands and buttons
   -------------------------------------------------------------------------- */
.band {
  background:
    radial-gradient(120% 140% at 12% 0%, var(--bur-800) 0%, var(--bur-900) 46%, var(--bur-950) 100%);
  color: #F4E9EC;
  padding: var(--s10) 0;
  margin-top: var(--s10);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(to right, var(--bur-500), var(--bur-300) 40%, var(--bur-500));
  opacity: 0.5;
}
.band h2 { color: var(--paper); font-size: var(--step-4); }
.band .eyebrow { color: var(--bur-300); }
.band p { color: var(--bur-200); max-width: 54ch; }
.band-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s8); align-items: center; }
.band-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.band-note {
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid rgba(244, 233, 236, 0.18);
  font-size: var(--step--2);
  color: var(--bur-300);
  max-width: 46ch;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--sans);
  font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase; font-weight: 600;
  padding: var(--s4) var(--s6);
  border: 1px solid var(--bur-700);
  background: var(--bur-700);
  color: var(--paper);
  text-decoration: none;
  cursor: pointer;
  border-radius: var(--r-0);
  box-shadow: var(--shadow-sm);
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              transform var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.btn:hover { background: var(--bur-800); border-color: var(--bur-800); color: var(--paper); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-sm); }
.btn svg { flex: 0 0 auto; }

.btn-ghost { background: transparent; color: var(--ink-800); border-color: var(--ink-800); box-shadow: none; }
.btn-ghost:hover { background: var(--ink-800); color: var(--paper); border-color: var(--ink-800); }
.btn-light { background: var(--paper); color: var(--bur-800); border-color: var(--paper); }
.btn-light:hover { background: var(--white); color: var(--bur-900); border-color: var(--white); }
.btn-outline-light { background: transparent; color: #F4E9EC; border-color: var(--bur-500); box-shadow: none; }
.btn-outline-light:hover { background: rgba(244, 233, 236, 0.09); color: var(--paper); border-color: var(--bur-300); }
.btn-sm { padding: var(--s3) var(--s5); }

/* --------------------------------------------------------------------------
   15. Article pages
   -------------------------------------------------------------------------- */
.article-head { padding: var(--s8) 0 var(--s6); border-bottom: 1px solid var(--rule); }
.breadcrumb { font-size: var(--step--2); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: var(--s5); }
.breadcrumb a { color: var(--ink-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--bur-700); }
.article-head h1 { font-size: var(--step-5); max-width: 20ch; }
.article-head .lede { max-width: 58ch; }

.article-figure { margin: var(--s7) 0; }
.article-figure img {
  width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover;
  filter: saturate(0.7) contrast(1.04);
  box-shadow: var(--shadow-md);
}
.article-figure figcaption {
  border-top: 1px solid var(--rule); margin-top: var(--s3); padding-top: var(--s3);
  max-width: 56ch;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 268px;
  gap: var(--s10);
  padding: var(--s8) 0 var(--s9);
}
.prose { max-width: var(--measure); }
.prose h2 {
  position: relative;
  margin-top: var(--s8);
  padding-top: var(--s5);
  border-top: 1px solid var(--rule);
  font-size: var(--step-3);
}
.prose h2::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 58px; height: 3px;
  background: var(--bur-700);
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h2:first-child::before { display: none; }
.prose h3 { margin-top: var(--s6); font-size: var(--step-1); }
.prose p { color: var(--ink-700); }
.prose ul, .prose ol { margin: 0 0 var(--s5); padding-left: var(--s5); color: var(--ink-700); }
.prose li { margin-bottom: var(--s3); }
.prose li::marker { color: var(--bur-700); }
.prose ol li::marker { font-family: var(--serif); font-variant-numeric: tabular-nums; }
.prose strong { font-weight: 600; color: var(--ink-900); }

.callout {
  border-left: 3px solid var(--bur-700);
  background: var(--paper-2);
  padding: var(--s5) var(--s5) var(--s3);
  margin: var(--s7) 0;
  box-shadow: var(--shadow-sm);
}
.callout p:last-child { margin-bottom: var(--s4); }
.callout .eyebrow { margin-bottom: var(--s2); }

.termtable {
  width: 100%; border-collapse: collapse; margin: var(--s7) 0;
  font-size: var(--step--1);
  font-variant-numeric: tabular-nums;
}
.termtable caption { text-align: left; font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase; color: var(--ink-500); padding-bottom: var(--s3); font-weight: 600; }
.termtable th, .termtable td { text-align: left; padding: var(--s3) var(--s4) var(--s3) 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.termtable thead th { border-bottom: 2px solid var(--rule-strong); font-family: var(--sans); font-size: var(--step--2); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-900); }
.termtable tbody tr { transition: background var(--t-fast) var(--ease); }
.termtable tbody tr:hover { background: var(--paper-2); }
.termtable td:first-child { font-weight: 600; color: var(--ink-900); white-space: nowrap; padding-right: var(--s5); }

.aside { position: sticky; top: var(--s5); align-self: start; }
.aside .eyebrow { padding-bottom: var(--s3); border-bottom: 3px solid var(--rule-strong); box-shadow: 0 2px 0 0 var(--rule); }
.aside ul { list-style: none; margin: 0 0 var(--s7); padding: 0; }
.aside li { border-bottom: 1px solid var(--rule); }
.aside li a {
  display: block; padding: var(--s3) 0;
  font-size: var(--step--1); color: var(--ink-800); text-decoration: none; line-height: 1.4;
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.aside li a:hover { color: var(--bur-700); padding-left: 5px; }
.aside li a[aria-current="page"] { color: var(--bur-700); font-weight: 600; }

.nextprev { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); padding: var(--s7) 0 var(--s9); border-top: 3px solid var(--rule-strong); }
.nextprev a {
  text-decoration: none; color: var(--ink-800); display: block;
  padding: var(--s5) var(--s5) var(--s5) 0;
  transition: transform var(--t-mid) var(--ease);
}
.nextprev a:hover { transform: translateY(-3px); }
.nextprev a:hover h4 { color: var(--bur-700); }
.nextprev h4 { margin: 0; }
.nextprev .eyebrow { margin-bottom: var(--s2); }

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: 1fr 340px; gap: var(--s10); padding: var(--s8) 0 var(--s9); }
.field { margin-bottom: var(--s5); }
.field label {
  display: block;
  font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-900); margin-bottom: var(--s2);
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: var(--step-0);
  color: var(--ink-900);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--r-0);
  padding: var(--s3) var(--s4);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--bur-400); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bur-700); box-shadow: var(--shadow-sm); }
.field textarea { min-height: 170px; resize: vertical; }
.field .hint { font-size: var(--step--1); color: var(--ink-500); margin: var(--s2) 0 0; letter-spacing: 0; text-transform: none; font-weight: 400; }

.notice { padding: var(--s4) var(--s5); margin-bottom: var(--s6); border-left: 3px solid var(--bur-700); background: var(--paper-2); box-shadow: var(--shadow-sm); }
.notice p { margin: 0; font-size: var(--step--1); }
.notice-bad { border-left-color: #96242C; }
.notice ul { margin: var(--s2) 0 0; padding-left: var(--s5); font-size: var(--step--1); }

.info-card { border-top: 3px solid var(--rule-strong); padding-top: var(--s4); }
.info-card dl { margin: 0; }
.info-card dt { font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase; color: var(--bur-700); font-weight: 600; margin-top: var(--s5); }
.info-card dt:first-child { margin-top: 0; }
.info-card dd { margin: var(--s2) 0 0; color: var(--ink-500); font-size: var(--step--1); }

/* --------------------------------------------------------------------------
   17. Calculator
   -------------------------------------------------------------------------- */
.calc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); margin-top: var(--s4); }
.calc-grid .field { margin-bottom: 0; }
.calc-grid .field label { font-size: 0.66rem; letter-spacing: 0.12em; }
.calc-out {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5);
  margin: var(--s5) 0 var(--s4);
  padding-top: var(--s4);
  border-top: 1px solid var(--rule);
}
.calc-out dt { font-size: var(--step--2); letter-spacing: 0.155em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; }
.calc-out dd {
  margin: var(--s2) 0 0;
  font-family: var(--serif);
  font-size: var(--step-4);
  color: var(--bur-700);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.025em;
}

/* --------------------------------------------------------------------------
   18. Legal, 404, footer
   -------------------------------------------------------------------------- */
.legal { padding: var(--s8) 0 var(--s9); }
.legal .prose h2 { font-size: var(--step-2); }

.err { padding: var(--s11) 0 var(--s10); text-align: center; }
.err .code {
  font-family: var(--serif);
  font-size: clamp(5rem, 18vw, 11rem);
  line-height: 0.86;
  color: var(--bur-700);
  margin: 0 0 var(--s5);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.err h1 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.err .lede { margin-left: auto; margin-right: auto; }
.err ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s5); justify-content: center; margin: var(--s7) 0 0; }

.foot { padding: var(--s8) 0 var(--s7); margin-top: var(--s10); }
.band + .foot { margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--s7); padding: var(--s7) 0; }
.foot-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; margin: 0 0 var(--s3); letter-spacing: -0.02em; }
.foot-line { color: var(--ink-500); font-size: var(--step--1); max-width: 38ch; }
.foot-meta { font-size: var(--step--1); margin-top: var(--s5); }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: var(--s3); }
.foot-list a { color: var(--ink-800); text-decoration: none; font-size: var(--step--1); }
.foot-list a:hover { color: var(--bur-700); text-decoration: underline; }
.foot-bar { border-top: 1px solid var(--rule); padding-top: var(--s5); }
.foot-bar p { font-size: var(--step--1); color: var(--ink-500); margin: 0 0 var(--s3); }
.foot-disclaimer { max-width: 90ch; }

/* --------------------------------------------------------------------------
   19. Sticky mobile CTA
   -------------------------------------------------------------------------- */
.stickycta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  display: none;
  gap: var(--s2);
  padding: var(--s3) var(--s4) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  background: rgba(250, 247, 242, 0.96);
  border-top: 3px solid var(--rule-strong);
  box-shadow: 0 -8px 24px rgba(64, 16, 33, 0.10);
  transform: translateY(110%);
  transition: transform var(--t-mid) var(--ease);
}
.stickycta.is-up { transform: translateY(0); }
.stickycta .btn { flex: 1 1 0; padding: var(--s3) var(--s4); font-size: 0.66rem; }

/* --------------------------------------------------------------------------
   20. Reveal / motion
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .stickycta { transition: none; }
  .hero-plate::before { transform: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   21. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: var(--s7); }
  .feature { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s7); }
  .feature-body .cols { column-count: 1; }
  .article-layout, .form-layout { gap: var(--s8); }
}

@media (max-width: 980px) {
  .hero-grid, .lead-article, .grid-2, .band-in, .article-layout, .form-layout, .match {
    grid-template-columns: 1fr;
    gap: var(--s7);
  }
  .hero h1 { max-width: 18ch; }
  .feature { grid-template-columns: 1fr; }
  .feature-figure img { min-height: 280px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .aside, .match-card { position: static; }
  .article-layout .aside .eyebrow { border-top: 1px solid var(--rule); padding-top: var(--s5); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-plate::before { display: none; }
  .plate-card { position: static; width: 100%; margin-top: var(--s5); }
  .match { padding: var(--s6) var(--s5) var(--s7); }
}

@media (max-width: 760px) {
  .navtoggle { display: inline-flex; }
  .nav { display: none; width: 100%; order: 3; }
  .nav.is-open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding-top: var(--s4); align-items: stretch; }
  .nav li { border-top: 1px solid var(--rule); }
  .nav a { display: block; padding: var(--s4) 0; }
  .nav a::after { display: none; }

  .hero { padding-top: var(--s6); }
  .section { padding: var(--s9) 0; }
  .section-tight, .band, .foot { padding-top: var(--s8); padding-bottom: var(--s8); }
  .band, .foot { margin-top: var(--s8); }

  .grid-3, .nextprev, .foot-grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; gap: var(--s6); }
  .flow li::before { display: none; }
  .flow .node { margin-bottom: var(--s4); }

  .pullquote { grid-template-columns: 1fr; gap: 0; padding-top: var(--s7); }
  .pullquote::before { grid-column: 1; font-size: 5.5rem; line-height: 0.5; }
  .pullquote-body { grid-column: 1; }

  .practice li { grid-template-columns: 54px 1fr; gap: var(--s4); }
  .practice .num { font-size: 1.65rem; }
  .termtable { display: block; overflow-x: auto; }

  .dropcap::first-letter { font-size: 3.3em; }

  .stickycta { display: flex; }
  body { padding-bottom: 0; }
  .foot-bar { padding-bottom: var(--s8); }
}

@media (max-width: 460px) {
  .calc-grid { grid-template-columns: 1fr 1fr; }
  .calc-out { grid-template-columns: 1fr; gap: var(--s4); }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  .wrap { padding: 0 var(--s4); }
  .brand-name { font-size: 1.08rem; }
  .brand-sub { font-size: 0.56rem; letter-spacing: 0.16em; }
  .btn { padding: var(--s3) var(--s5); }
  .match { padding: var(--s5) var(--s4) var(--s6); }
  .match-opts label { padding: 9px var(--s3); }
}

@media (max-width: 380px) {
  .calc-grid { grid-template-columns: 1fr; }
}
