/* =========================================================================
   meloonex.com — ink navy / brass / warm white
   Every color pairing used here was resolved to a WCAG ratio in
   tools/palette.py before this file was written. Do not introduce a new
   pairing without adding it there first.
   ========================================================================= */

:root {
  --ink: #101d2e;
  --ink-2: #172a40;
  --navy: #1f3a5c;
  --navy-m: #2d5280;
  --navy-lt: #cddcec;
  --brass: #b4832e;
  --brass-hi: #e0ad52;
  --brass-dp: #7c5a1c;
  --sand: #f6f1e8;
  --sand-2: #efe7d9;
  --paper: #fdfcfa;
  --white: #ffffff;
  --body: #33404f;
  --muted: #5b6878;
  --line: #dfd8cc;
  --line-d: #2b3f58;

  --head: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1180px;
  --r: 10px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 29, 46, .05), 0 8px 24px rgba(16, 29, 46, .06);
  --shadow-lg: 0 2px 6px rgba(16, 29, 46, .07), 0 18px 48px rgba(16, 29, 46, .12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--body);
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  /* clip, not hidden: overflow-x:hidden turns the body into a scroll
     container and silently kills position:sticky on every descendant */
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--navy-m); }

h1, h2, h3, h4 {
  font-family: var(--head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(34px, 4.8vw, 54px); }
h2 { font-size: clamp(27px, 3.6vw, 41px); }
h3 { font-size: clamp(19px, 2vw, 22px); line-height: 1.3; }
p { margin-bottom: 17px; }
p:last-child { margin-bottom: 0; }
b, strong { font-weight: 600; color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* the registered mark renders at full text size by default, which reads as a
   typo at heading sizes; tools/regmark.py wraps it so it can be scaled */
.reg { font-size: .5em; vertical-align: .52em; line-height: 0; letter-spacing: 0; font-weight: inherit; }
h1 .reg, h2 .reg { font-size: .4em; vertical-align: .78em; }
.btn .reg, .pk .reg { font-size: .46em; vertical-align: .62em; }

/* ---------------------------------------------------------------- header */
.topbar { background: var(--ink); color: var(--navy-lt); font-size: 13.6px; overflow: hidden; }
.ticker { display: flex; justify-content: center; align-items: center; gap: 12px;
  padding: 9px 22px; text-align: center; flex-wrap: wrap; }
.ticker b { color: var(--brass-hi); font-weight: 600; }
.ticker .sep { color: var(--line-d); }

.nav { position: sticky; top: 0; z-index: 90; background: var(--white);
  border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between;
  gap: 18px; padding: 15px 22px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-height: 44px; }
.brand svg { width: 38px; height: 38px; border-radius: 9px; flex: none; }
.brand-t { font-family: var(--head); font-weight: 600; font-size: 23px; color: var(--ink);
  letter-spacing: -.015em; }
.brand-t sup { font-size: .44em; vertical-align: .82em; font-weight: 500; }
.menu { display: none; gap: 27px; align-items: center; }
.menu a { font-size: 15.2px; font-weight: 500; color: var(--body); }
.menu a:hover { color: var(--navy); }
.menu a.btn-navy { color: var(--white); }
.menu a.btn-navy:hover { color: var(--white); }
@media (min-width: 1000px) { .menu { display: flex; } }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--white); cursor: pointer; align-items: center; }
.burger span { width: 20px; height: 2px; background: var(--ink); display: block; }
@media (min-width: 1000px) { .burger { display: none; } }

.drawer { position: fixed; inset: 0 0 0 auto; width: min(86vw, 350px); background: var(--white);
  z-index: 120; transform: translateX(100%); transition: transform .28s ease;
  padding: 24px 24px 40px; overflow-y: auto; box-shadow: var(--shadow-lg); }
.drawer.open { transform: none; }
.drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: 16.5px; color: var(--ink); font-weight: 500; }
.drawer .btn { margin-top: 20px; }
.drawer-x { background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink);
  float: right; line-height: 1; width: 44px; height: 44px; display: inline-flex;
  align-items: center; justify-content: center; }
.scrim { position: fixed; inset: 0; background: rgba(16, 29, 46, .5); z-index: 110;
  opacity: 0; pointer-events: none; transition: opacity .28s ease; }
.scrim.on { opacity: 1; pointer-events: auto; }

/* --------------------------------------------------------------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 16.4px; line-height: 1.2;
  padding: 17px 30px; border-radius: var(--r); border: 1px solid transparent;
  cursor: pointer; text-align: center; transition: background .18s ease, transform .18s ease; }
.btn-gold { background: var(--brass-hi); color: var(--ink); }
.btn-gold:hover { background: var(--brass); color: var(--ink); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-m); color: var(--white); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--navy); color: var(--navy); }
.btn-big { width: 100%; font-size: 18px; padding: 20px 28px; }

/* -------------------------------------------------------------- sections */
.sec { padding: 72px 0; }
@media (min-width: 820px) { .sec { padding: 96px 0; } }
.sec-paper { background: var(--paper); }
.sec-white { background: var(--white); }
.sec-sand { background: var(--sand); }
.sec-sand2 { background: var(--sand-2); }
.sec-ink { background: var(--ink); }
.sec-ink h2, .sec-ink h3 { color: var(--white); }
.sec-ink p, .sec-ink li { color: var(--navy-lt); }
.sec-ink .eyebrow { color: var(--brass-hi); }
.sec-ink .lead { color: var(--navy-lt); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans);
  font-size: 12.6px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--brass-dp); margin-bottom: 15px; }
.eyebrow:before { content: ""; width: 26px; height: 1px; background: currentColor; display: block; }
.sec-head { max-width: 50rem; margin-bottom: 8px; }
.sec-head.mid { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.mid .eyebrow { justify-content: center; }
.lead { font-size: clamp(17.5px, 2vw, 19.5px); color: var(--muted); margin-top: 17px;
  max-width: 62ch; line-height: 1.65; }
.sec-head.mid .lead { margin-left: auto; margin-right: auto; }

.sec-in { display: grid; gap: 38px; align-items: center; }
@media (min-width: 900px) {
  .sec-in { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .sec-in.flip .sec-img { order: 2; }
  /* the photo holds its place while the column of text travels past it.
     align-items:start above is what gives it room to travel; the offset clears
     the sticky nav. Single-column layouts below 900px get no stickiness. */
  .sec-img { position: sticky; top: 96px; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 880px) {
  .sec-img, .hero-img, .final-img { position: static; }
}
/* one size for every large section photo, whatever shape the source is */
.sec-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

/* ------------------------------------------------------------------ hero */
.hero { background: var(--paper); padding: 54px 0 64px; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .hero { padding: 76px 0 86px; } }
.hero-in { display: grid; gap: 30px; align-items: center; }
.hero-copy { order: 1; } .hero-img { order: 2; } .hero-rest { order: 3; }
@media (min-width: 900px) {
  .hero-in { grid-template-columns: 1.14fr .86fr; column-gap: 54px; row-gap: 20px;
    grid-template-areas: "copy img" "rest img"; align-items: center; }
  .hero-copy { grid-area: copy; } .hero-rest { grid-area: rest; }
  /* align-self:start overrides the grid's align-items:center, which would
     otherwise leave the photo no room inside its area to travel */
  .hero-img { grid-area: img; position: sticky; top: 96px; align-self: start; }
}
.hero-kick { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brass-dp); background: var(--sand-2);
  border-radius: 999px; padding: 8px 16px; margin-bottom: 20px; }
.hero h1 .pop { display: block; color: var(--navy); }
.hero-p { font-size: clamp(17.5px, 2vw, 20px); color: var(--muted); margin-top: 20px;
  max-width: 54ch; line-height: 1.62; }
.hero-ticks { list-style: none; margin: 26px 0 0; display: grid; gap: 12px; }
.hero-ticks li { display: grid; grid-template-columns: auto 1fr; gap: 11px; align-items: start;
  font-size: 16.2px; }
.hero-ticks svg { width: 20px; height: 20px; color: var(--brass); margin-top: 3px; flex: none; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero-note { font-size: 13.8px; color: var(--muted); margin-top: 15px; }
.hero-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }

.trust { background: var(--ink); color: var(--navy-lt); }
.trust-in { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 32px;
  padding: 17px 22px; font-size: 14.4px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--brass-hi); }

/* ------------------------------------------------- the 90-day protocol */
.days { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 780px) { .days { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.day { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 26px 30px; }
.sec-ink .day { background: var(--ink-2); border-color: var(--line-d); }
.day-n { display: inline-flex; align-items: baseline; gap: 7px; font-family: var(--head);
  font-weight: 600; color: var(--brass-dp); font-size: 15px; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 13px; }
.sec-ink .day-n { color: var(--brass-hi); }
/* the global b/strong rule paints ink, which is invisible on a dark band */
.sec-ink b, .sec-ink strong, .final b, .final strong { color: var(--white); }
.day-n b, .sec-ink .day-n b { color: inherit; }
.day-n b { font-size: 31px; font-weight: 600; letter-spacing: -.02em; }
.day h3 { margin-bottom: 9px; }
.day p { font-size: 15.8px; color: var(--muted); }
.sec-ink .day p { color: var(--navy-lt); }

/* numbered step list */
.steps { display: grid; gap: 0; margin-top: 34px; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 25px 0;
  border-bottom: 1px solid var(--line); align-items: start; }
.step:last-child { border-bottom: 0; }
.sec-ink .step { border-bottom-color: var(--line-d); }
.step-n { font-family: var(--head); font-weight: 600; font-size: 16px; color: var(--white);
  background: var(--navy); width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex: none; }
.sec-ink .step-n { background: var(--brass-hi); color: var(--ink); }
.step h3 { margin-bottom: 7px; }
.step p { font-size: 16.2px; }
@media (min-width: 760px) { .step { gap: 26px; } }

/* recognition cards */
.cards { display: grid; gap: 15px; margin-top: 36px; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; gap: 18px 26px; } }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 25px 24px; }
.card h3 { font-size: 18.6px; margin-bottom: 7px; }
.card p { font-size: 15.9px; color: var(--muted); }
.cards-foot { margin-top: 30px; text-align: center; font-size: 16.6px; color: var(--body);
  max-width: 64ch; margin-left: auto; margin-right: auto; }

/* benefit tiles */
.bens { display: grid; gap: 16px; margin-top: 38px; }
@media (min-width: 760px) { .bens { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ben { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; }
.sec-ink .ben { background: var(--ink-2); border-color: var(--line-d); }
.ben-n { width: 44px; height: 44px; border-radius: 10px; background: var(--sand-2);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sec-ink .ben-n { background: rgba(224, 173, 82, .16); }
.ben-n svg { width: 22px; height: 22px; color: var(--brass-dp); }
.sec-ink .ben-n svg { color: var(--brass-hi); }
.ben h3 { margin-bottom: 8px; }
.ben p { font-size: 15.8px; color: var(--muted); }
.sec-ink .ben p { color: var(--navy-lt); }

/* note / callout */
.note { background: var(--sand); border-left: 3px solid var(--brass); border-radius: 0 var(--r) var(--r) 0;
  padding: 19px 22px; margin-top: 26px; font-size: 16px; color: var(--body); }
.note b { display: block; margin-bottom: 5px; color: var(--ink); }
.sec-ink .note { background: var(--ink-2); border-left-color: var(--brass-hi); color: var(--navy-lt); }
.sec-ink .note b { color: var(--white); }
.note.mid { max-width: 72ch; margin-left: auto; margin-right: auto; }

/* ingredients */
.ing-list { display: grid; gap: 15px; margin-top: 36px; }
@media (min-width: 860px) { .ing-list { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.ing { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; }
.ing-tag { font-size: 12.4px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-dp); margin-bottom: 10px; display: block; }
.ing h3 { font-size: 19.5px; margin-bottom: 9px; }
.ing p { font-size: 15.7px; color: var(--muted); }
.ing-other { margin-top: 26px; font-size: 15.6px; color: var(--muted); max-width: 70ch; }

/* ------------------------------------------------------------- packages */
.packs { display: grid; gap: 22px; margin-top: 42px; align-items: start; }
/* stacked on a phone, the best-value box leads rather than sitting in the
   middle where it has to be scrolled past */
.pk.best { order: -1; }
@media (min-width: 900px) { .pk.best { order: 0; } }
@media (min-width: 900px) { .packs { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.pk { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.pk-top { background: var(--navy); color: var(--white); text-align: center;
  font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .06em;
  text-transform: uppercase; padding: 13px 16px; }
.pk.best { box-shadow: var(--shadow-lg); border-color: var(--brass); }
.pk.best .pk-top { background: var(--brass-hi); color: var(--ink); }
.pk-in { padding: 26px 24px 28px; text-align: center; display: flex; flex-direction: column;
  flex: 1; }
.pk-qty { font-family: var(--head); font-size: 30px; font-weight: 600; color: var(--ink); }
.pk-sub { font-size: 14.6px; color: var(--muted); margin-top: 2px; }
.pk-img { height: 192px; display: flex; align-items: center; justify-content: center; margin: 16px 0 6px; }
.pk-img img { height: 192px; width: 100%; object-fit: contain; }
.pk-price { display: flex; align-items: flex-start; justify-content: center; gap: 4px;
  color: var(--ink); margin-top: 6px; }
.pk-price .cur { font-family: var(--head); font-size: 25px; font-weight: 600; margin-top: 12px; }
.pk-price .amt { font-family: var(--head); font-size: 64px; font-weight: 600; line-height: .96;
  letter-spacing: -.03em; }
.pk-price .per { font-size: 14.4px; color: var(--muted); text-align: left; margin-top: 14px;
  line-height: 1.25; }
.pk-row { border-top: 1px dotted var(--line); padding: 11px 0; font-size: 15.2px; color: var(--body); }
.pk-row b { color: var(--ink); }
.pk-btn { margin-top: 18px; }
.pk-cards { max-width: 236px; width: 100%; margin: 15px auto 0; }
.pk-total { font-size: 17px; color: var(--ink); margin-top: 13px; }
.pk-total s { color: var(--muted); font-weight: 400; }
.pk-ship { font-weight: 600; color: var(--brass-dp); font-size: 15.6px; margin-top: 4px; }
.packs-foot { margin-top: 30px; text-align: center; font-size: 15.4px; color: var(--muted); }

/* guarantee */
.guar { display: grid; gap: 28px; align-items: center; margin-top: 8px; }
@media (min-width: 800px) { .guar { grid-template-columns: auto 1fr; gap: 42px; } }
.guar-seal { width: 164px; margin: 0 auto; }
.guar h2 { margin-bottom: 12px; }

/* reviews */
.revs { display: grid; gap: 18px; margin-top: 38px; }
@media (min-width: 860px) { .revs { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.rev { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; display: flex; flex-direction: column; }
.stars { color: var(--brass); font-size: 16px; letter-spacing: 2px; margin-bottom: 13px; }
.rev p { font-size: 15.8px; color: var(--body); }
.rev-who { display: flex; align-items: center; gap: 13px; margin-top: 19px;
  padding-top: 17px; border-top: 1px solid var(--line); }
.rev-who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.rev-who b { display: block; font-size: 15.2px; color: var(--ink); }
.rev-who span { font-size: 13.4px; color: var(--muted); }

/* standards / badges */
.marks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
@media (min-width: 760px) { .marks { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.mark { text-align: center; }
.mark img { width: 88px; margin: 0 auto 12px; }
.mark b { display: block; font-size: 15.4px; color: var(--ink); }
.mark span { font-size: 13.8px; color: var(--muted); }

/* --------------------------------------------------------------- FAQ */
.faq { max-width: 50rem; margin: 38px auto 0; }
.qa { border-bottom: 1px solid var(--line); }
.qa-btn { width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  padding: 22px 0; font-family: var(--head); font-size: 19px; font-weight: 600;
  color: var(--ink); line-height: 1.35; }
.caret { font-family: var(--sans); font-size: 23px; color: var(--brass-dp); line-height: 1;
  flex: none; transition: transform .2s ease; }
.qa.open .caret { transform: rotate(45deg); }
.qa-body { display: none; padding: 0 0 22px; }
.qa.open .qa-body { display: block; }
.qa-body p { font-size: 16.2px; color: var(--body); }

/* final CTA */
.final { background: var(--ink); color: var(--navy-lt); padding: 76px 0 84px; }
.final h2, .final h3 { color: var(--white); }
/* .final is a dark band but is not .sec-ink, so it has to opt in to the dark
   treatment itself or light-background colors leak into it */
.final .eyebrow { color: var(--brass-hi); }
.final p, .final li { color: var(--navy-lt); }
.final .lead { color: var(--navy-lt); }
.final-in { display: grid; gap: 34px; align-items: center; }
@media (min-width: 880px) {
  .final-in { grid-template-columns: .85fr 1.15fr; gap: 56px; }
  .final-img { position: sticky; top: 96px; align-self: start; }
}
.final-img img { width: 100%; border-radius: var(--r-lg); }
.final-ticks { list-style: none; margin: 22px 0 28px; display: grid; gap: 11px; }
.final-ticks li { display: grid; grid-template-columns: auto 1fr; gap: 11px; font-size: 16.2px; }
.final-ticks svg { width: 19px; height: 19px; color: var(--brass-hi); margin-top: 3px; }
.cta-sub { font-size: 14px; color: var(--navy-lt); margin-top: 14px; opacity: .85; }

/* ---------------------------------------------------------------- footer */
.foot { background: var(--ink-2); color: var(--navy-lt); padding: 54px 0 32px; }
.foot-top { display: grid; gap: 32px; }
@media (min-width: 880px) { .foot-top { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 38px; } }
.foot .brand-t { color: var(--white); }
.foot-ab { font-size: 14.4px; margin-top: 15px; max-width: 42ch; opacity: .9; }
.foot-blog { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px;
  background: var(--navy); color: var(--white); font-weight: 600; font-size: 14.6px;
  padding: 12px 20px; border-radius: var(--r); }
.foot-blog:hover { background: var(--navy-m); color: var(--white); }
.foot-blog svg { width: 18px; height: 18px; }
.foot h4 { color: var(--white); font-family: var(--sans); font-size: 13.4px; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.foot-l { display: grid; }
.foot-l a { font-size: 14.8px; color: var(--navy-lt); padding: 9px 0; display: block; opacity: .92; }
.foot-l a:hover { color: var(--white); }
.foot-legal { margin-top: 38px; padding-top: 24px; border-top: 1px solid var(--line-d); }
.foot-legal p { font-size: 12.8px; line-height: 1.68; opacity: .78; margin-bottom: 11px; }

/* -------------------------------------------------------- sticky order bar */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--white);
  border-top: 1px solid var(--line); padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  display: none; gap: 14px; align-items: center; justify-content: space-between;
  box-shadow: 0 -6px 22px rgba(16, 29, 46, .1); }
.dock.on { display: flex; }
@media (min-width: 1000px) { .dock { display: none !important; } }
.dock-t { font-size: 13.6px; color: var(--muted); line-height: 1.3; }
.dock-t b { display: block; font-size: 15.4px; color: var(--ink); }
.dock .btn { padding: 14px 20px; font-size: 15.4px; }

/* back to top */
.top-btn { position: fixed; right: 18px; bottom: 86px; z-index: 70; width: 46px; height: 46px;
  border-radius: 50%; background: var(--navy); color: var(--white); border: 0; cursor: pointer;
  display: none; align-items: center; justify-content: center; font-size: 19px;
  box-shadow: var(--shadow-lg); }
.top-btn.on { display: inline-flex; }
@media (min-width: 1000px) { .top-btn { bottom: 24px; } }

/* ------------------------------------------------------------- articles */
.crumbs { font-size: 13.6px; color: var(--muted); padding: 20px 0 0; }
.crumbs a { color: var(--navy); }
.crumbs span { margin: 0 8px; color: var(--line); }
.art-head { padding: 26px 0 8px; }
.art-head h1 { font-size: clamp(30px, 4.3vw, 46px); }
.art-meta { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14.2px;
  color: var(--muted); margin-top: 18px; align-items: center; }
.art-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.art-wrap { max-width: 46rem; margin: 0 auto; padding: 0 22px 70px; }
.art-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg);
  margin: 26px 0 34px; box-shadow: var(--shadow); }
.art p { font-size: 17.4px; margin-bottom: 20px; }
.art h2 { font-size: clamp(24px, 3vw, 31px); margin: 40px 0 15px; }
.art h3 { font-size: 20.5px; margin: 28px 0 11px; }
.art ul, .art ol { margin: 0 0 22px 22px; }
.art li { font-size: 17.2px; margin-bottom: 10px; }
.art .note { margin: 28px 0; }
.art-cta { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 26px 24px; margin: 38px 0 10px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 680px) { .art-cta { grid-template-columns: 150px 1fr; gap: 26px; } }
.art-cta img { width: 100%; border-radius: var(--r); }
.art-cta h3 { margin-bottom: 8px; }
.art-cta p { font-size: 15.8px; margin-bottom: 15px; }
.art-disc { font-size: 13.6px; color: var(--muted); border-top: 1px solid var(--line);
  padding-top: 20px; margin-top: 36px; }
.pa { margin-top: 34px; }
.pa-q { font-size: 19px; margin: 24px 0 8px; }
.more { background: var(--sand); padding: 54px 0 62px; }
.more-links { display: grid; gap: 14px; margin-top: 24px; }
@media (min-width: 760px) { .more-links { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.more-links a { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 22px; display: block; font-weight: 500; color: var(--ink); font-size: 16px; }
.more-links a:hover { border-color: var(--navy); }

/* blog index */
.j-grid { display: grid; gap: 22px; margin-top: 38px; }
@media (min-width: 720px) { .j-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .j-grid { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.j-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; display: block; transition: border-color .18s ease, transform .18s ease; }
.j-card:hover { border-color: var(--navy); transform: translateY(-2px); }
.j-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.j-b { padding: 21px 22px 24px; }
.j-cat { font-size: 12.2px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass-dp); }
.j-b h3 { font-size: 19.5px; margin: 9px 0 9px; color: var(--ink); }
.j-b p { font-size: 15.3px; color: var(--muted); margin-bottom: 13px; }
.j-meta { font-size: 13.2px; color: var(--muted); }
.j-lead { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--white); margin-top: 34px; }
@media (min-width: 900px) { .j-lead { grid-template-columns: 1.1fr 1fr; } }
.j-lead img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; }
.j-lead-b { padding: 32px 30px 34px; display: flex; flex-direction: column; justify-content: center; }
.j-lead-b h2 { font-size: clamp(23px, 2.6vw, 31px); margin: 11px 0 12px; }
.j-lead-b p { color: var(--muted); font-size: 16.4px; }

/* legal pages */
.legal { max-width: 46rem; margin: 0 auto; padding: 36px 22px 72px; }
.legal h2 { font-size: 24px; margin: 34px 0 12px; }
.legal p, .legal li { font-size: 16.2px; }
.legal ul { margin: 0 0 20px 22px; }
.legal-note { background: var(--sand); border-left: 3px solid var(--brass); padding: 18px 20px;
  border-radius: 0 var(--r) var(--r) 0; margin: 22px 0; }

/* reveal on scroll */
.rise { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
/* a transform on a sticky element creates a containing block and fights the
   pinning, so the reveal on the photos is opacity only */
.sec-img.rise, .hero-img.rise, .final-img.rise { transform: none; }
.rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
