/* ===== cash-ology.com, v3 =====
   Built by the same hands as the CASH and CONVENIENCE sites: paper pages, Caslon headlines,
   lane-style tag labels and real archival photographs. Palette per Marvin: blue, copper and teal.
   Navy and paper carry the page. Teal is the brand color on dark, deep teal on paper. Copper is the accent only
   (tags, rules, stamps, prices). Buttons are navy on paper and teal on navy.
   Libre Caslon Text for headlines and names, General Sans for reading and labels. */
:root {
  --text-xs: clamp(0.75rem, 0.71rem + 0.2vw, 0.85rem);
  --text-sm: clamp(0.875rem, 0.82rem + 0.3vw, 1rem);
  --text-base: clamp(1rem, 0.96rem + 0.22vw, 1.125rem);
  --text-lg: clamp(1.1rem, 1rem + 0.55vw, 1.35rem);
  --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);

  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.25rem;
  --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem; --space-12: 3rem; --space-16: 4rem;
  --space-20: 5rem; --space-24: 6rem;

  --navy: #0B2430;
  --navy-2: #0f2e3c;
  --navy-3: #16394a;
  --navy-deep: #071a22;
  --teal: #1BC4AE;
  --teal-hover: #45d6c3;
  --teal-ink: #0b6e66;
  --teal-ink-hover: #08564f;
  --copper: #b4652f;
  --copper-ink: #9a4f22;
  --copper-light: #e3a173;
  --paper: #f5eee0;
  --paper-2: #fbf7ee;
  --paper-3: #ece2cd;
  --receipt: #fffdf7;
  --ink: #13232b;
  --ink-2: #33444c;
  --muted: #55646b;
  --on-navy: #eef3f2;
  --on-navy-2: #b9cbcf;
  --line: rgba(11, 36, 48, .14);
  --line-strong: rgba(11, 36, 48, .3);
  --line-dark: rgba(233, 241, 241, .16);

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 36, 48, .1);
  --shadow-md: 0 10px 26px rgba(11, 36, 48, .14);
  --shadow-lg: 0 30px 70px rgba(7, 26, 34, .32);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --font-display: 'Cashology Caslon', 'Libre Caslon Text', Georgia, 'Times New Roman', serif;
  --font-body: 'General Sans', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'General Sans', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: none; text-size-adjust: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { min-height: 100dvh; line-height: 1.6; font-family: var(--font-body); font-size: var(--text-base); color: var(--ink); background: var(--paper); overflow-x: hidden; }
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
ul[role='list'], ol[role='list'] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.1; }
p, li, dd { text-wrap: pretty; }
[hidden] { display: none !important; }
::selection { background: rgba(27, 196, 174, .3); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: var(--radius-sm); }
button { cursor: pointer; background: none; border: none; }
a, button, select { transition: color 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--navy); color: var(--paper); border-radius: var(--radius-md); }
.skip:focus { left: 8px; }
.title { font-weight: 700; letter-spacing: 0; }
.link { color: var(--teal-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.link:hover { color: var(--teal-ink-hover); }
.fine { font-size: var(--text-xs); color: var(--muted); margin-top: var(--space-4); }
.note { margin-top: var(--space-8); font-size: var(--text-sm); color: var(--muted); max-width: 70ch; padding-left: var(--space-4); border-left: 3px solid var(--copper); }

/* ===== Ticker ===== */
.ticker { background: var(--navy); color: var(--on-navy-2); font-family: var(--font-mono); font-size: .72rem; letter-spacing: 0;  overflow: hidden; white-space: nowrap; border-bottom: 2px solid var(--copper); }
.ticker__track { display: flex; width: max-content; animation: tape 60s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__inner { display: flex; align-items: center; gap: 18px; padding: 8px 9px; }
.ticker a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.ticker__dot { color: var(--copper-light); }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; background: rgba(245, 238, 224, .93); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); min-height: 70px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { width: 148px; height: auto; }
.nav { display: flex; align-items: center; }
.nav__list { display: flex; align-items: center; gap: clamp(.6rem, 1.4vw, 1.4rem); }
.nav__list a { position: relative; display: inline-block; white-space: nowrap; padding: 8px 2px; font-size: .95rem; font-weight: 500; color: var(--navy); text-decoration: none; }
.nav__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform 220ms var(--ease); }
.nav__list a:hover::after, .nav__list a[aria-current='page']::after { transform: scaleX(1); }
.nav__list a[aria-current='page'] { font-weight: 600; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: var(--radius-md); color: var(--navy); }
.header__cta { flex-shrink: 0; }
@media (max-width: 1140px) {
  .nav__toggle { display: inline-flex; }
  .nav { order: 3; }
  .nav__list { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: var(--space-2) var(--gutter) var(--space-5); background: var(--paper); border-bottom: 2px solid var(--copper); box-shadow: var(--shadow-md); display: none; }
  .nav__list.is-open { display: flex; }
  .nav__list a { padding: 13px 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0;  border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current='page'] { color: var(--copper-ink); }
  .header__row { position: relative; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 420px) { .header__cta { display: none; } .logo img { width: 132px; } }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 1.35rem; border-radius: var(--radius-md); font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap; }
.btn--sm { min-height: 40px; padding: 0 1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: 0 1.7rem; font-size: 1.05rem; }
.btn--navy { background: var(--navy); color: var(--paper); box-shadow: 0 3px 0 var(--navy-deep); }
.btn--navy:hover { background: var(--navy-3); transform: translateY(-1px); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--paper); }
.btn--teal { background: var(--teal); color: var(--navy); box-shadow: 0 3px 0 #0f8f7f; }
.btn--teal:hover { background: var(--teal-hover); transform: translateY(-1px); }
.btn--ghost { border-color: rgba(238, 243, 242, .55); color: var(--on-navy); }
.btn--ghost:hover { background: var(--on-navy); color: var(--navy); }
.btn:active { transform: translateY(1px); }

/* ===== Type ===== */
.kicker { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); margin-bottom: var(--space-4); }
.kicker--light { color: var(--teal); }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 9px 1px; background: var(--copper-ink); color: #fff; font-family: var(--font-body); font-weight: 600; font-size: .86rem; letter-spacing: 0;  border-radius: 3px; box-shadow: 2px 2px 0 rgba(11, 36, 48, .25); }
.kicker--light .tag { background: var(--copper); box-shadow: 2px 2px 0 rgba(0, 0, 0, .35); }
.display, .h2, .page-title { font-family: var(--font-display); font-weight: 400;  letter-spacing: .005em; color: var(--navy); line-height: 1.14; }
.hl { color: var(--copper-ink); }
.section--navy .hl, .page-hero--photo .hl, .page-hero--dark .hl, .books .hl, .h2--light .hl { color: var(--teal); }
.h2 { font-size: clamp(1.794rem, .936rem + 3.12vw, 3.432rem); }
.h2--light { color: var(--on-navy); }
.h3 { font-family: var(--font-display); font-weight: 400;  font-size: clamp(1.26rem, .99rem + .9vw, 1.71rem); line-height: 1.14; color: var(--navy); }

/* ===== Sections ===== */
.section { position: relative; padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.75rem, 5vw, 4.5rem); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy p { color: var(--on-navy-2); }
.section--mist, .section--paper2 { background: var(--paper-3); }
.section--paper2 { background: linear-gradient(180deg, #efe6d3, #ebe1cc); }
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: 760px; }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--space-8); align-items: end; max-width: none; }
.sec-head__note { font-size: var(--text-base); color: var(--ink-2); max-width: 46ch; }
.section--navy .sec-head__note { color: var(--on-navy-2); }
.sec-head .h2 + .sec-head__note { margin-top: var(--space-4); }
.sec-foot { margin-top: clamp(2rem, 4vw, 3rem); display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 860px) { .sec-head--split { grid-template-columns: minmax(0, 1fr); align-items: start; gap: var(--space-4); } }

/* Guilloche rosette, colored through a mask so it can take any brand color */
.rosette { position: absolute; pointer-events: none; aspect-ratio: 1; background: currentColor; -webkit-mask: url(assets/img/rosette.svg) center / contain no-repeat; mask: url(assets/img/rosette.svg) center / contain no-repeat; animation: spin 240s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Home hero ===== */
.hero { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 5vw, 4.75rem) clamp(3rem, 6vw, 5.5rem); background: var(--paper); }
.hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0 39px, rgba(11, 110, 102, .055) 39px 40px); pointer-events: none; }
.hero .rosette { width: min(980px, 92vw); right: -16%; top: 50%; margin-top: calc(min(980px, 92vw) / -2); color: rgba(11, 110, 102, .13); }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero__title { font-size: clamp(2.34rem, .39rem + 4.368vw, 4.992rem); margin-bottom: var(--space-6); }
.hero__title span { display: block; }
.hero__title .hl { color: var(--copper-ink); }
.hero__lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 54ch; margin-bottom: var(--space-3); }
.hero__lede--sm { font-size: var(--text-base); color: var(--muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__by { margin-top: var(--space-6); font-size: var(--text-sm); color: var(--muted); }
.hero__art { position: relative; min-height: 560px; }

/* The research note: an engraved frame around a real photograph. Not modeled on any real currency. */
.rnote { position: absolute; top: 0; right: 0; width: 92%; margin: 0; transform: rotate(2.2deg); animation: note-in 1.1s var(--ease) .15s both; }
.rnote__frame { position: relative; padding: 16px; background: var(--paper-2); border-radius: 6px; box-shadow: var(--shadow-lg);
  background-image: repeating-linear-gradient(45deg, rgba(11, 110, 102, .08) 0 1px, transparent 1px 6px), repeating-linear-gradient(-45deg, rgba(11, 110, 102, .08) 0 1px, transparent 1px 6px); }
.rnote__frame::before { content: ''; position: absolute; inset: 7px; border: 1.5px solid rgba(11, 36, 48, .5); border-radius: 3px; pointer-events: none; }
.rnote__frame::after { content: ''; position: absolute; inset: 11px; border: 1px solid rgba(154, 79, 34, .55); border-radius: 2px; pointer-events: none; }
.rnote__photo { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 2px; filter: contrast(1.05); }
.rnote__band { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; background: linear-gradient(0deg, rgba(7, 26, 34, .92), rgba(7, 26, 34, .55)); color: var(--paper); font-family: var(--font-mono); font-size: .66rem; letter-spacing: 0;  }
.rnote__band b { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; letter-spacing: 0; color: var(--copper-light); }
.rnote__rose { position: absolute; width: 74px; height: 74px; color: var(--teal-ink); opacity: .85; }
.rnote__rose--tl { top: -22px; left: -22px; }
.rnote__rose--br { bottom: -22px; right: -22px; color: var(--copper); }
.rnote__cap { position: absolute; z-index: 2; top: 26px; right: 26px; max-width: 74%; margin: 0; padding: 5px 9px; border-radius: 2px; background: rgba(7, 26, 34, .74); font-family: var(--font-mono); font-size: .58rem; line-height: 1.45; letter-spacing: 0; color: rgba(245, 238, 224, .92); text-align: right;  }
.rnote__cap a { color: inherit; }
@keyframes note-in { from { opacity: 0; transform: translate(40px, 18px) rotate(7deg); } to { opacity: 1; transform: rotate(2.2deg); } }

.badge { position: absolute; z-index: 4; top: -14px; left: 4%; width: 138px; height: 138px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--paper); color: var(--copper-ink); border: 3px solid var(--copper); box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px rgba(154, 79, 34, .5), var(--shadow-md); transform: rotate(-10deg); animation: badge-in .9s var(--ease) .9s both; }
.badge span { font-family: var(--font-mono); font-size: .6rem; font-weight: 600; letter-spacing: 0;  line-height: 1.25; }
.badge b { font-family: var(--font-body); font-weight: 600; font-size: 2.9rem; line-height: .95; color: var(--navy); }
@keyframes badge-in { from { opacity: 0; transform: scale(.4) rotate(-40deg); } to { opacity: 1; transform: scale(1) rotate(-10deg); } }

/* Receipt printer */
.printer { position: absolute; z-index: 3; left: 0; bottom: -24px; width: 270px; margin: 0; padding-top: 12px; transform: rotate(-3deg); }
.printer__body { position: relative; z-index: 2; height: 54px; border-radius: 12px 12px 6px 6px; background: linear-gradient(180deg, var(--navy-3), var(--navy) 70%); box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,.08); display: flex; align-items: center; justify-content: space-between; padding: 0 16px 10px; }
.printer__led { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.printer__label { font-family: var(--font-body); font-size: .82rem; letter-spacing: 0;  color: var(--on-navy-2); font-weight: 600; }
.printer__slot { position: relative; z-index: 3; height: 10px; margin: -14px 12px 0; border-radius: 0 0 6px 6px; background: var(--navy-deep); box-shadow: inset 0 3px 4px rgba(0,0,0,.5); }
.receipt { position: relative; z-index: 1; margin: -4px 20px 0; overflow: hidden; }
.receipt__paper { position: relative; background: var(--receipt); color: #2a3236; font-family: var(--font-mono); font-size: .68rem; line-height: 1.5; letter-spacing: 0;  padding: 16px 15px 22px; box-shadow: var(--shadow-md);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 8px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 12px 8px repeat-x;
  animation: feed 3.2s steps(30, end) .8s both; }
@keyframes feed { from { transform: translateY(-100%); } to { transform: translateY(0); } }
.receipt__paper p { margin: 0; }
.r-logo { font-family: var(--font-body); text-transform: none; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; text-align: center; color: var(--teal-ink); line-height: 1.1; }
.r-tag { text-align: center; font-size: .58rem; letter-spacing: 0; color: var(--muted); margin-bottom: 4px !important; }
.r-cut { border-top: 1.5px dashed rgba(42, 50, 54, .45); margin: 7px 0 !important; }
.r-head { text-align: center; font-weight: 600; letter-spacing: 0; }
.r-row { display: flex; justify-content: space-between; gap: 8px; }
.r-row b { font-weight: 600; }
.r-line { display: flex; align-items: baseline; gap: 6px; }
.r-line i { flex: 1; border-bottom: 2px dotted rgba(42, 50, 54, .35); transform: translateY(-3px); }
.r-line span:last-child { font-weight: 600; }
.r-total { display: flex; justify-content: space-between; font-weight: 600; font-size: .84rem; color: var(--navy); }
.r-foot { text-align: center; font-size: .6rem; letter-spacing: 0; }
.r-barcode { height: 26px; margin-top: 9px !important; background: repeating-linear-gradient(90deg, #2a3236 0 2px, transparent 2px 4px, #2a3236 4px 5px, transparent 5px 8px, #2a3236 8px 11px, transparent 11px 12px); opacity: .8; }
@media (prefers-reduced-motion: reduce) { .receipt__paper, .rnote, .badge, .rosette { animation: none; } }

@media (max-width: 1100px) { .hero__art { min-height: 500px; } .printer { width: 240px; } }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { min-height: 0; padding: 30px 0 0; }
  .rnote { position: relative; width: 100%; }
  .printer { position: relative; left: auto; bottom: auto; width: min(280px, 82%); margin: -60px auto 0 4%; }
  .badge { top: 0; left: auto; right: 2%; width: 112px; height: 112px; }
  .rnote__cap { right: auto; left: 26px; max-width: 62%; text-align: left; }
  .badge b { font-size: 2.3rem; }
  .hero .rosette { right: -40%; top: 14%; margin-top: 0; }
}

/* ===== Strap band (like the lane band on the CASH site) ===== */
.strap { position: relative; z-index: 2; background: var(--teal-ink); color: var(--paper); border-block: 3px solid var(--navy); overflow: hidden; }
.strap__row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: .4rem 1.4rem; min-height: 64px; padding: 12px var(--gutter); font-family: var(--font-body); font-size: clamp(1.15rem, .8rem + 1.4vw, 1.9rem); letter-spacing: 0;  text-align: center; font-weight: 600; }
.strap__arrow { width: 54px; height: 14px; color: var(--copper-light); flex-shrink: 0; }
@media (max-width: 640px) { .strap__row { flex-direction: column; gap: 2px; padding-block: 14px; } .strap__arrow { transform: rotate(90deg); width: 26px; height: 12px; } }

/* ===== Six ways in: photo tiles ===== */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: clamp(1.25rem, 2.4vw, 1.75rem); border-radius: var(--radius-lg); overflow: hidden; color: var(--on-navy); text-decoration: none; background: var(--navy); isolation: isolate; box-shadow: var(--shadow-md); }
.tile__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease); }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 26, 34, 0) 18%, rgba(7, 26, 34, .58) 52%, rgba(7, 26, 34, .96) 100%); }
.tile:hover .tile__img { transform: scale(1.06); }
.tile__tag { position: absolute; top: 16px; left: 16px; }
.tile__name { font-family: var(--font-display); font-size: clamp(1.56rem, 1.092rem + 1.248vw, 2.184rem); line-height: 1.14;  color: #fff; margin-bottom: 8px; }
.tile__text { font-size: .96rem; line-height: 1.45; color: rgba(238, 243, 242, .88); max-width: 36ch; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: .92rem; color: var(--teal); }
.tile__go::after { content: ''; width: 26px; height: 2px; background: currentColor; transition: width 240ms var(--ease); }
.tile:hover .tile__go::after { width: 44px; }
.tile--light::before { background: linear-gradient(180deg, rgba(7, 26, 34, 0) 30%, rgba(7, 26, 34, .7) 60%, rgba(7, 26, 34, .97) 100%); }
@media (max-width: 960px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .tiles { grid-template-columns: minmax(0, 1fr); } .tile { min-height: 320px; } }

/* ===== Newswire board ===== */
.board { overflow: hidden; }
.board .rosette { width: 760px; left: -280px; top: -260px; color: rgba(27, 196, 174, .07); }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(27, 196, 174, .6); animation: live 1.8s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(27, 196, 174, .55); } 100% { box-shadow: 0 0 0 12px rgba(27, 196, 174, 0); } }
.wire { position: relative; border-top: 2px solid var(--line-strong); }
.wire--dark { border-top-color: rgba(227, 161, 115, .6); }
.wire__item { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto; gap: var(--space-5); align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.wire--dark .wire__item { border-bottom-color: var(--line-dark); }
.wire__item:hover { background: rgba(27, 196, 174, .06); }
.wire__src { justify-self: start; padding: 4px 8px 3px; border-radius: 3px; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: 0;  color: var(--navy); background: var(--copper-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wire__title { font-weight: 600; font-size: 1.04rem; line-height: 1.35; color: var(--ink); text-decoration: none; }
.wire--dark .wire__title { color: var(--on-navy); }
.wire__title:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.wire__time { font-family: var(--font-mono); font-size: .72rem; color: var(--teal); white-space: nowrap; letter-spacing: 0; }
.wire__loading, .wire__empty { padding: 22px 4px; font-family: var(--font-mono); font-size: .85rem; color: var(--on-navy-2); }
.wire__fallback { padding: 22px 4px; color: var(--on-navy-2); }
.wire__fallback ul { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 10px; }
.wire__fallback a { color: var(--teal); }
.wire__updated { margin-top: var(--space-4); font-family: var(--font-mono); font-size: .74rem; color: var(--on-navy-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-6); }
.filter { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(238, 243, 242, .35); color: var(--on-navy); font-weight: 600; font-size: .9rem; }
.filter:hover { border-color: var(--teal); }
.filter.is-on { background: var(--teal); border-color: var(--teal); color: var(--navy); }
@media (max-width: 720px) {
  .wire__item { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; padding: 14px 2px; }
  .wire__src { grid-column: 1; }
  .wire__time { grid-column: 2; grid-row: 1; justify-self: end; }
  .wire__title { grid-column: 1 / -1; }
}

/* ===== Article cards ===== */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.card { position: relative; display: flex; flex-direction: column; padding: clamp(1.4rem, 2.4vw, 1.9rem); background: var(--paper-2); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: 0 6px 0 var(--navy); transition: transform 240ms var(--ease), box-shadow 240ms var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 0 var(--navy); }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: 0;  color: var(--muted); }
.card__tag { padding: 3px 8px 2px; background: var(--copper-ink); color: #fff; border-radius: 3px; font-weight: 600; }
.card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.305rem, .99rem + .9vw, 1.665rem); line-height: 1.14;  margin-bottom: 12px; }
.card__title a { color: var(--navy); text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.card p { color: var(--ink-2); font-size: .97rem; }
.card__go { position: relative; z-index: 1; margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--teal-ink); text-decoration: none; font-size: .93rem; }
.card__go::after { content: ' \2192'; }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ===== Every number labeled: stamps ===== */
.method { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.method__copy p { color: var(--ink-2); margin-top: var(--space-4); max-width: 48ch; }
.labels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5); }
.label { padding: 22px 20px 20px; background: var(--paper-2); border-radius: var(--radius-md); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.label p { margin-top: 14px; font-size: .95rem; color: var(--ink-2); }
.label__stamp { display: inline-block; padding: 6px 14px 4px; border: 3px solid currentColor; border-radius: 6px; font-family: var(--font-body); font-size: 1.7rem; letter-spacing: 0;  line-height: 1; transform: rotate(-4deg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 2.1'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); font-weight: 600; }
.label--reported .label__stamp { color: var(--navy); }
.label--calculated .label__stamp { color: var(--teal-ink); transform: rotate(3deg); }
.label--estimated .label__stamp { color: var(--copper-ink); transform: rotate(-2deg); }
.label--illustrative .label__stamp { color: #4b5a61; border-style: dashed; transform: rotate(4deg); }
@media (max-width: 900px) { .method { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .labels { grid-template-columns: minmax(0, 1fr); } }

/* ===== Books band ===== */
.books { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 15% 40%, #143a49 0%, var(--navy) 55%, var(--navy-deep) 100%); color: var(--on-navy); }
.books .rosette { width: 900px; left: -180px; top: 50%; margin-top: -450px; color: rgba(27, 196, 174, .08); }
.books__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.books__covers { display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.books__covers a { display: block; transition: transform 400ms var(--ease); filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .45)); }
.books__covers a:first-child { transform: rotate(-4deg) translateX(18px); z-index: 1; }
.books__covers a:last-child { transform: rotate(3deg) translateX(-18px) translateY(10px); }
.books__covers a:hover { transform: translateY(-10px) rotate(0); z-index: 2; }
.books__covers img { width: clamp(150px, 19vw, 250px); height: auto; }
.books__copy p { color: var(--on-navy-2); margin-top: var(--space-4); max-width: 50ch; }
.books__copy .title { color: var(--on-navy); }
@media (max-width: 860px) { .books__grid { grid-template-columns: minmax(0, 1fr); } .books__covers { order: -1; } }

/* ===== Shop teaser ===== */
.teaser { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
.teaser a { display: flex; flex-direction: column; text-decoration: none; color: var(--navy); }
.teaser img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); transition: transform 400ms var(--ease), box-shadow 400ms var(--ease); }
.teaser a:hover img { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-md); }
.teaser__name { margin-top: 14px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.14;  }
.teaser__price { margin-top: 6px; font-family: var(--font-body); font-size: 1.1rem; color: var(--copper-ink); letter-spacing: 0; font-weight: 600; }
@media (max-width: 900px) { .teaser { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Inner-page heroes: full-bleed archival photo ===== */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6.5rem) clamp(2.75rem, 5vw, 4.5rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero--photo { color: var(--on-navy); background-color: var(--navy); background-image: var(--ph); background-position: var(--pp, center 40%); background-size: cover; background-repeat: no-repeat; border-bottom: 3px solid var(--copper); }
.page-hero--photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 26, 34, .96) 0%, rgba(7, 26, 34, .86) 42%, rgba(7, 26, 34, .45) 75%, rgba(7, 26, 34, .25) 100%), linear-gradient(0deg, rgba(7, 26, 34, .7), transparent 45%); }
.page-hero--dark { color: var(--on-navy); background: radial-gradient(110% 120% at 85% 20%, #164251 0%, var(--navy) 50%, var(--navy-deep) 100%); border-bottom: 3px solid var(--copper); }
.page-hero--dark .rosette { width: 820px; right: -200px; top: -200px; color: rgba(27, 196, 174, .1); }
.page-hero > .wrap { position: relative; }
.page-title { font-size: clamp(2.34rem, .78rem + 4.992vw, 5.46rem); max-width: 15ch; margin-bottom: var(--space-6); }
.page-hero--photo .page-title, .page-hero--dark .page-title { color: #fff; }
.page-lede { font-size: var(--text-lg); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.page-hero--photo .page-lede, .page-hero--dark .page-lede { color: rgba(238, 243, 242, .9); }
.page-hero .hero__ctas { margin-top: var(--space-8); }
.page-hero--photo .btn--line, .page-hero--dark .btn--line { border-color: rgba(238, 243, 242, .6); color: var(--on-navy); }
.page-hero--photo .btn--line:hover, .page-hero--dark .btn--line:hover { background: var(--on-navy); color: var(--navy); }
.page-hero--photo .btn--navy, .page-hero--dark .btn--navy { background: var(--teal); color: var(--navy); box-shadow: 0 3px 0 #0f8f7f; }
.page-hero--photo .btn--navy:hover, .page-hero--dark .btn--navy:hover { background: var(--teal-hover); }
.page-hero__credit { position: absolute; right: var(--gutter); bottom: 12px; max-width: 46ch; font-family: var(--font-mono); font-size: .62rem; letter-spacing: 0;  color: rgba(238, 243, 242, .7); text-align: right; }
.page-hero__credit a { color: inherit; }
@media (max-width: 720px) { .page-hero--photo::before { background: linear-gradient(180deg, rgba(7, 26, 34, .78), rgba(7, 26, 34, .94)); } .page-hero__credit { position: relative; right: auto; bottom: auto; text-align: left; margin: var(--space-6) var(--gutter) 0; } }

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.chip { display: inline-flex; align-items: center; min-height: 42px; padding: 0 var(--space-4); border: 1.5px solid var(--line-strong); border-radius: 999px; font-size: var(--text-sm); font-weight: 600; color: var(--navy); text-decoration: none; background: var(--paper-2); }
.chip:hover { border-color: var(--navy); background: #fff; }
.page-hero--photo .chip, .page-hero--dark .chip { background: rgba(7, 26, 34, .45); color: var(--on-navy); border-color: rgba(238, 243, 242, .4); }
.page-hero--photo .chip:hover, .page-hero--dark .chip:hover { background: var(--teal); color: var(--navy); border-color: var(--teal); }

/* ===== Lists: articles and columns ===== */
.list { border-top: 3px solid var(--navy); }
.list__item { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: var(--space-6); align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line); }
.list__date { display: flex; flex-direction: column; gap: 6px; font-family: var(--font-mono); font-size: .74rem; letter-spacing: 0;  color: var(--muted); }
.list__date b { align-self: flex-start; padding: 3px 8px 2px; background: var(--copper-ink); color: #fff; border-radius: 3px; font-weight: 600; }
.list__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.215rem, .945rem + .81vw, 1.62rem); line-height: 1.14;  }
.list__title a { color: var(--navy); text-decoration: none; }
.list__title a:hover { color: var(--teal-ink); }
.list__sum { margin-top: 8px; color: var(--ink-2); font-size: .97rem; max-width: 70ch; }
.list__go { align-self: center; font-weight: 600; font-size: .9rem; color: var(--teal-ink); white-space: nowrap; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
@media (max-width: 760px) { .list__item { grid-template-columns: minmax(0, 1fr); gap: 10px; } .list__date { flex-direction: row; align-items: center; } .list__go { justify-self: start; } }

/* ===== Free report feature ===== */
.report-feature { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.report-feature__copy > p { color: var(--ink-2); margin-top: var(--space-4); }
.report-feature__copy .btn { margin-top: var(--space-6); }
.cover-card { position: relative; display: flex; flex-direction: column; aspect-ratio: 8.5 / 11; padding: 34px 30px; border-radius: 6px; overflow: hidden; color: var(--on-navy); background: radial-gradient(120% 80% at 80% 10%, #174453, var(--navy) 60%, var(--navy-deep)); box-shadow: var(--shadow-lg), 10px 10px 0 var(--copper); transform: rotate(-2deg); }
.cover-card::before { content: ''; position: absolute; width: 130%; aspect-ratio: 1; right: -55%; bottom: -45%; background: rgba(27, 196, 174, .2); -webkit-mask: url(assets/img/rosette.svg) center / contain no-repeat; mask: url(assets/img/rosette.svg) center / contain no-repeat; }
.cover-card__kicker { position: relative; font-family: var(--font-mono); font-size: .7rem; letter-spacing: 0;  color: var(--teal); }
.cover-card__title { position: relative; margin-top: 26px; font-family: var(--font-display); font-size: clamp(1.872rem, 1.092rem + 2.028vw, 2.964rem); line-height: 1.14;  color: #fff; }
.cover-card__sub { position: relative; margin-top: 16px; font-size: 1rem; color: var(--on-navy-2); max-width: 22ch; }
.cover-card__mark { position: absolute; right: 22px; top: 22px; display: grid; place-content: center; width: 74px; height: 74px; border-radius: 50%; background: var(--paper); color: var(--copper-ink); font-family: var(--font-body); font-size: 1.35rem; letter-spacing: 0;  transform: rotate(12deg); box-shadow: 0 0 0 4px var(--copper); font-weight: 600; }
.cover-card--sm { max-width: 320px; margin-inline: auto; }
.futures { margin-top: var(--space-6); display: grid; gap: 10px; counter-reset: f; }
.futures li { position: relative; padding: 14px 16px 14px 58px; background: var(--paper-2); border-radius: var(--radius-md); border: 1px solid var(--line); color: var(--ink-2); font-size: .97rem; counter-increment: f; }
.futures li::before { content: counter(f, decimal-leading-zero); position: absolute; left: 14px; top: 12px; font-family: var(--font-body); font-size: 1.5rem; line-height: 1; color: var(--copper-ink); font-weight: 600; }
.futures b { color: var(--navy); }
@media (max-width: 860px) { .report-feature { grid-template-columns: minmax(0, 1fr); } .report-feature__cover { max-width: 360px; } }

/* Assessment pages */
.pages-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.5rem); }
.pages-row li { transition: transform 400ms var(--ease); }
.pages-row li:nth-child(1) { transform: rotate(-2.5deg); }
.pages-row li:nth-child(2) { transform: rotate(1.5deg) translateY(10px); }
.pages-row li:nth-child(3) { transform: rotate(-1deg); }
.pages-row li:nth-child(4) { transform: rotate(2.5deg) translateY(8px); }
.pages-row li:hover { transform: translateY(-8px) rotate(0); z-index: 2; }
.pages-row img { width: 100%; height: auto; border-radius: 3px; background: #fff; box-shadow: var(--shadow-md); }
.pages-row--sm { margin-top: var(--space-10); }
@media (max-width: 700px) { .pages-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Reports ===== */
.kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); }
.kind { position: relative; padding: 30px 26px 26px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 6px 0 var(--teal-ink); }
.kind__no { display: block; font-family: var(--font-body); font-size: 4.2rem; line-height: .85; color: var(--copper-ink); margin-bottom: 14px; font-weight: 600; }
.kind h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.62rem;  color: var(--navy); line-height: 1.14; margin-bottom: 10px; }
.kind p { color: var(--ink-2); font-size: .97rem; }
.ask { margin-top: 12px; display: grid; gap: 8px; }
.ask li { padding: 10px 12px; background: var(--paper); border-left: 3px solid var(--copper); font-weight: 600; font-size: .93rem; color: var(--navy); border-radius: 0 6px 6px 0; }
@media (max-width: 900px) { .kinds { grid-template-columns: minmax(0, 1fr); } }

.example { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.example__copy > p { color: var(--ink-2); margin-top: var(--space-4); }
.example__for { font-weight: 600; color: var(--navy) !important; }
.example__pages { grid-column: 1 / -1; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: var(--space-6); }
.facts div { padding: 14px 14px 12px; background: var(--navy); border-radius: var(--radius-md); min-width: 0; }
.facts dt { font-family: var(--font-mono); font-size: .64rem; letter-spacing: 0;  color: var(--on-navy-2); }
.facts dd { margin-top: 4px; font-family: var(--font-display); font-size: clamp(1.215rem, .9rem + .9vw, 1.71rem); line-height: 1.14; color: var(--teal); overflow-wrap: anywhere; }
.toc__title { font-family: var(--font-display); font-weight: 400; font-size: 1.44rem;  color: var(--navy); margin-bottom: 12px; }
.example__toc { padding: 26px; background: var(--paper-2); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.toc { display: grid; gap: 0; }
.toc li { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px dashed var(--line-strong); font-size: .95rem; color: var(--ink-2); }
.toc li span { font-family: var(--font-mono); font-weight: 600; color: var(--copper-ink); }
.example--two .example__aside { align-self: center; }
@media (max-width: 900px) { .example { grid-template-columns: minmax(0, 1fr); } .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.different { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.different__copy p { margin-top: var(--space-4); }
.points { display: grid; gap: 12px; }
.points li { padding: 18px 20px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark); border-left: 4px solid var(--teal); }
.points h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.26rem;  color: #fff; line-height: 1.14; }
.points p { margin-top: 6px; font-size: .95rem; }
@media (max-width: 900px) { .different { grid-template-columns: minmax(0, 1fr); } }

.cta-band { background: var(--paper-3); border-top: 3px solid var(--navy); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.cta-band__inner p { margin-top: var(--space-3); color: var(--ink-2); max-width: 60ch; }

/* ===== Advisory ===== */
.areas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); }
.areas--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.area { padding: 26px 24px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 6px solid var(--navy); }
.area:nth-child(3n+2) { border-top-color: var(--teal-ink); }
.area:nth-child(3n) { border-top-color: var(--copper); }
.area h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.395rem;  color: var(--navy); line-height: 1.14; margin-bottom: 12px; }
.area p { color: var(--ink-2); font-size: .96rem; }
.area ul { display: grid; gap: 7px; }
.area ul li { position: relative; padding-left: 18px; font-size: .96rem; color: var(--ink-2); }
.area ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--copper); border-radius: 2px; transform: rotate(45deg); }
@media (max-width: 1000px) { .areas, .areas--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .areas, .areas--four { grid-template-columns: minmax(0, 1fr); } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.steps__no { display: grid; place-content: center; width: 54px; height: 54px; border-radius: 50%; background: var(--navy); color: var(--teal); font-family: var(--font-body); font-size: 1.7rem; margin-bottom: 14px; box-shadow: 0 0 0 4px var(--paper-2), 0 0 0 6px var(--copper); font-weight: 600; }
.steps h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.305rem;  color: var(--navy); line-height: 1.14; margin-bottom: 8px; }
.steps p { font-size: .95rem; color: var(--ink-2); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ===== Studio ===== */
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); margin-top: var(--space-8); }
.proof__item > a, .proof__list { display: block; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: #fff; }
.proof__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 700ms var(--ease); }
.proof__item > a:hover img { transform: scale(1.04); }
.proof__item h3 { margin-top: 16px; font-family: var(--font-display); font-weight: 400; font-size: 1.53rem;  color: var(--navy); line-height: 1.14; }
.proof__item p { margin-top: 6px; color: var(--ink-2); font-size: .97rem; }
.proof__list { display: grid; align-content: center; gap: 14px; aspect-ratio: 16 / 10; padding: clamp(1.25rem, 3vw, 2.25rem); background: var(--navy); color: var(--on-navy-2); }
.proof__list p { margin: 0; color: var(--on-navy-2); font-size: 1rem; padding-left: 16px; border-left: 3px solid var(--teal); }
.proof__list b { color: #fff; }
@media (max-width: 760px) { .proof { grid-template-columns: minmax(0, 1fr); } .proof__list { aspect-ratio: auto; } }
.two-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); }
.two-ways__item { padding: 28px; border-radius: var(--radius-lg); background: var(--navy); color: var(--on-navy-2); }
.two-ways__item:last-child { background: var(--teal-ink); color: rgba(255, 255, 255, .88); }
.two-ways__item h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.56rem;  color: #fff; line-height: 1.14; margin-bottom: 8px; }
@media (max-width: 640px) { .two-ways { grid-template-columns: minmax(0, 1fr); } }
.speaking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); }
.speaking p { margin-top: var(--space-3); color: var(--ink-2); max-width: 62ch; }

/* ===== Publications ===== */
.bookcards { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.bookcard { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius-lg); background: var(--paper-2); border: 1px solid var(--line); box-shadow: 0 8px 0 var(--navy); }
.bookcard:nth-child(2) { box-shadow: 0 8px 0 var(--copper); }
.bookcard__cover { display: block; justify-self: center; filter: drop-shadow(0 24px 30px rgba(11, 36, 48, .35)); transition: transform 400ms var(--ease); }
.bookcard__cover:hover { transform: translateY(-8px) rotate(-1.5deg); }
.bookcard__cover img { width: clamp(180px, 22vw, 280px); height: auto; }
.bookcard__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.34rem, 1.248rem + 3.12vw, 4.212rem); line-height: 1.14; color: var(--navy); }
.bookcard__sub { margin-top: 10px; font-family: var(--font-display); font-size: clamp(1.035rem, .9rem + .54vw, 1.35rem);  line-height: 1.1; color: var(--copper-ink); }
.bookcard__copy > p:not([class]) { margin-top: var(--space-4); color: var(--ink-2); }
.bookcard__fmt { margin-top: var(--space-4); font-family: var(--font-mono); font-size: .76rem; letter-spacing: 0;  color: var(--teal-ink); }
.bookcard__ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
@media (max-width: 760px) { .bookcard { grid-template-columns: minmax(0, 1fr); } }
.more-pubs p { margin-top: var(--space-3); color: var(--ink-2); }

/* ===== Shop ===== */
.order-note { margin-top: var(--space-8); max-width: 680px; padding: 20px 22px; border-radius: var(--radius-md); background: rgba(7, 26, 34, .72); border: 1px solid rgba(238, 243, 242, .25); border-left: 4px solid var(--teal); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.order-note h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;  color: #fff; line-height: 1.14; margin-bottom: 8px; }
.order-note p { color: rgba(238, 243, 242, .88); font-size: .97rem; }
.coll { padding-block: clamp(3rem, 6vw, 5rem); border-bottom: 1px solid var(--line); }
.coll:nth-child(even) { background: var(--paper-3); }
.coll__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.coll__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.028rem, 1.092rem + 3.12vw, 3.588rem); line-height: 1.14;  color: var(--navy); }
.coll__tag { display: inline-flex; align-items: center; min-height: 30px; padding: 3px 12px 2px; background: var(--copper-ink); color: #fff; border-radius: 3px; font-family: var(--font-body); font-size: 1rem; letter-spacing: 0;  box-shadow: 2px 2px 0 rgba(11, 36, 48, .25); font-weight: 600; }
.coll__blurb { margin-top: 12px; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); max-width: 66ch; color: var(--ink-2); }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.product { display: flex; flex-direction: column; min-width: 0; }
.product__media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.product__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 380ms var(--ease), transform 600ms var(--ease); }
.product__img--b { opacity: 0; }
.product__media:hover .product__img--b, .product__media:focus-within .product__img--b { opacity: 1; }
.product__media:hover .product__img { transform: scale(1.03); }
.product__flag { position: absolute; z-index: 2; top: 10px; left: 10px; padding: 3px 8px 2px; border-radius: 3px; background: var(--navy); color: var(--paper); font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: 0;  }
.product__name { margin-top: 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.17rem, .99rem + .45vw, 1.395rem); line-height: 1.14;  color: var(--navy); }
.product__kind { margin-top: 6px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: 0;  color: var(--muted); }
.product__line { margin-top: 8px; font-size: .92rem; line-height: 1.45; color: var(--ink-2); }
.product__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.product__price { font-family: var(--font-body); font-size: 1.45rem; letter-spacing: 0; color: var(--copper-ink); font-weight: 600; }
.product__size { min-height: 40px; padding: 0 30px 0 12px; border-radius: var(--radius-md); border: 1.5px solid var(--line-strong); background: var(--paper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230B2430' stroke-width='2'/%3E%3C/svg%3E") right 10px center / 12px no-repeat; -webkit-appearance: none; appearance: none; font-weight: 600; font-size: .9rem; color: var(--navy); }
.product .btn { margin-top: 12px; width: 100%; }
@media (max-width: 1100px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 800px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .product__line { display: none; } .product__name { font-size: 1.15rem; } .product__buy { flex-wrap: wrap; } .product .btn { font-size: .86rem; padding: 0 .6rem; } }

/* ===== About ===== */
.about { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about__photo { position: relative; margin: 0; }
.about__photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 12px 12px 0 var(--teal-ink); }
.about__copy > p:not(.kicker):not(.page-lede) { margin-top: var(--space-4); color: var(--ink-2); max-width: 64ch; }
.about__copy .page-title { font-size: clamp(2.184rem, .78rem + 3.9vw, 4.368rem); }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); } .about__photo { max-width: 360px; } }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.contact p { margin-top: var(--space-3); }
.contact__ways { display: grid; gap: 12px; }
.contact__way { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius-md); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); text-decoration: none; color: var(--on-navy); }
.contact__way:hover { border-color: var(--teal); background: rgba(27, 196, 174, .08); }
.contact__way span { font-family: var(--font-mono); font-size: .7rem; letter-spacing: 0;  color: var(--teal); }
.contact__way b { font-size: 1.05rem; overflow-wrap: anywhere; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* ===== Footer ===== */
.footer { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--on-navy-2); padding-block: clamp(3rem, 6vw, 4.5rem) var(--space-8); border-top: 3px solid var(--copper); }
.footer .rosette { width: 620px; right: -160px; bottom: -330px; color: rgba(27, 196, 174, .08); }
.footer__big { position: relative; font-family: var(--font-display); font-size: clamp(2.028rem, .78rem + 4.68vw, 4.836rem); line-height: 1.14;  color: var(--on-navy); max-width: 14ch; }
.footer__big .hl { color: var(--teal); }
.footer__row { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6); margin-top: clamp(2rem, 4vw, 3rem); padding-top: var(--space-6); border-top: 1px solid var(--line-dark); }
.logo--footer img { width: 160px; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__nav a { color: var(--on-navy); text-decoration: none; font-weight: 500; font-size: .95rem; }
.footer__nav a:hover { color: var(--teal); }
.footer__fine { position: relative; display: grid; gap: 6px; margin-top: var(--space-6); font-size: .8rem; color: var(--on-navy-2); }
.footer__fine a { color: var(--on-navy); }

/* ===== Pages (pages.js): one page shows at a time, chosen by data-page on <html> ===== */
.js-pages main > .page { display: none; }
.js-pages[data-page="home"] main > .page[data-page="home"],
.js-pages[data-page="free"] main > .page[data-page="free"],
.js-pages[data-page="news"] main > .page[data-page="news"],
.js-pages[data-page="speaking"] main > .page[data-page="speaking"],
.js-pages[data-page="free-tools"] main > .page[data-page="free-tools"],
.js-pages[data-page="guides"] main > .page[data-page="guides"],
.js-pages[data-page="reports"] main > .page[data-page="reports"],
.js-pages[data-page="advisory"] main > .page[data-page="advisory"],
.js-pages[data-page="studio"] main > .page[data-page="studio"],
.js-pages[data-page="publications"] main > .page[data-page="publications"],
.js-pages[data-page="shop"] main > .page[data-page="shop"],
.js-pages[data-page="custom"] main > .page[data-page="custom"],
.js-pages[data-page="about"] main > .page[data-page="about"] { display: block; }
.page.page-in { animation: page-in .36s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes page-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Scroll reveal (app.js adds .rv-on to <html> only when it can observe; content is visible without it) */
.rv-on .rv { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease), transform 900ms var(--ease); }
.rv-on .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .page.page-in, .live-dot, .printer__led { animation: none; } .rv-on .rv { opacity: 1; transform: none; } }

.nowrap { white-space: nowrap; }
.product__cta { width: 100%; justify-content: center; }

/* Wave 3 design cards: one button per product */
.opts__label { margin-top: auto; padding-top: 12px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: 0;  color: var(--muted); }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.opt { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 40px; padding: 0 10px; border: 1.5px solid var(--navy); border-radius: var(--radius-md); background: transparent; color: var(--navy); font-weight: 600; font-size: .86rem; line-height: 1.1; text-decoration: none; transition: background 160ms var(--ease), color 160ms var(--ease); }
.opt b { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; color: var(--copper-ink); white-space: nowrap; }
.opt:hover, .opt:focus-visible { background: var(--navy); color: var(--paper); }
.opt:hover b, .opt:focus-visible b { color: var(--paper); }
@media (max-width: 420px) { .opts { grid-template-columns: 1fr; } .opt { font-size: .8rem; } }

/* ===== Free Tools and Guides (Oct 2026) ===== */
.fc-src { margin-top: var(--space-6); max-width: 70ch; font-size: var(--text-xs); color: rgba(238, 243, 242, .72); }
.fc-src a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.fc-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); counter-reset: none; }
.fc-counts li { position: relative; padding: 24px 22px 20px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); border-top: 6px solid var(--navy); display: flex; flex-direction: column; }
.fc-counts li:nth-child(3n+2) { border-top-color: var(--teal-ink); }
.fc-counts li:nth-child(3n) { border-top-color: var(--copper); }
.fc-counts__n { font-family: var(--font-mono); font-weight: 600; font-size: .8rem; letter-spacing: 0; color: var(--copper-ink); }
.fc-counts h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.71rem;  color: var(--navy); line-height: 1.14; margin: 6px 0 10px; }
.fc-counts p { color: var(--ink-2); font-size: .98rem; flex: 1; }
.fc-counts__tool { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line-strong); font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); }
.fc-run { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-8); }
.fc-run li { padding: 18px 18px 20px; background: var(--receipt); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.fc-run span { font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: 0;  color: var(--copper-ink); }
.fc-run h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;  color: var(--navy); line-height: 1.14; margin: 8px 0 6px; }
.fc-run p { color: var(--ink-2); font-size: .94rem; }
.fc-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2.4vw, 2rem); margin-top: var(--space-8); }
.fc-docs__card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; transition: transform 200ms var(--ease), box-shadow 200ms var(--ease); }
.fc-docs__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.fc-docs__card img { width: 100%; height: auto; aspect-ratio: 480 / 621; object-fit: cover; border-radius: var(--radius-sm); background: var(--navy); box-shadow: var(--shadow-sm); }
.fc-docs__name { margin-top: 6px; font-family: var(--font-display); font-size: 1.35rem;  color: var(--navy); line-height: 1.14; }
.fc-docs__text { color: var(--ink-2); font-size: .96rem; flex: 1; }
.fc-docs__go { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); }
.fc-seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: var(--space-8); }
.fc-seg li { padding: 18px; background: var(--paper-2); border: 1px solid var(--line); border-left: 4px solid var(--teal-ink); border-radius: var(--radius-md); display: grid; gap: 6px; }
.fc-seg b { font-weight: 600; color: var(--navy); font-size: 1.02rem; }
.fc-seg span { color: var(--ink-2); font-size: .94rem; }
.fc-prices { margin-top: var(--space-6); font-family: var(--font-mono); font-size: .84rem; letter-spacing: 0; color: var(--ink-2); }
.fc-prices b { color: var(--navy); }
.sec-foot .btn + .btn { margin-left: 10px; }
.fc-ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); }
.fc-ways li { padding: 24px 22px; border: 1px solid var(--line-dark); border-top: 4px solid var(--teal); border-radius: var(--radius-lg); background: rgba(15, 46, 60, .6); display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.fc-ways h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.395rem;  color: #fff; line-height: 1.14; }
.fc-ways p { color: var(--on-navy-2); font-size: .97rem; flex: 1; }
.fc-note { margin-top: var(--space-8); font-size: var(--text-sm); color: var(--on-navy-2); max-width: 70ch; padding-left: var(--space-4); border-left: 3px solid var(--copper); }
.fc-cover { width: 100%; max-width: 340px; height: auto; border-radius: var(--radius-sm); box-shadow: var(--shadow-md); background: var(--navy); }

.guides-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.guides-hero__img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transform: rotate(-1.5deg); }
.order-note--paper { margin-top: 0; max-width: 860px; background: var(--receipt); border: 1px solid var(--line); border-left: 4px solid var(--teal-ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.order-note--paper h2 { color: var(--navy); }
.order-note--paper p { color: var(--ink-2); }
.order-note--paper p + p { margin-top: 8px; }
.gcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin-top: var(--space-8); }
.gcard { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 18px; padding: 18px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); align-items: start; }
.gcard__cover { display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-md); background: var(--navy); }
.gcard__cover img { display: block; width: 100%; height: auto; }
.gcard__body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.gcard__no { font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: 0;  color: var(--copper-ink); }
.gcard__title { font-family: var(--font-display); font-weight: 400; font-size: 1.305rem;  color: var(--navy); line-height: 1.14; }
.gcard__blurb { color: var(--ink-2); font-size: .95rem; }
.gcard__meta { font-family: var(--font-mono); font-size: .72rem; letter-spacing: 0;  color: var(--muted); }
.gcard__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 4px; }
.gcard__price { font-family: var(--font-body); font-size: 1.3rem; color: var(--navy); letter-spacing: 0; margin-right: 4px; font-weight: 600; }
.gcard__soon { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); }
.gcards--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); }
.coming { margin-top: var(--space-10); padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); }
.coming h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.26rem;  color: var(--navy); margin-bottom: 10px; }
.coming__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.coming__list li { padding: 5px 10px 4px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9rem; color: var(--ink-2); background: var(--paper-2); }
.coming p { color: var(--ink-2); font-size: .96rem; }
.kitband { margin-top: var(--space-8); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; padding: 22px 24px; background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); border-left: 6px solid var(--teal); }
.kitband h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem;  color: #fff; line-height: 1.14; }
.kitband__price { color: var(--teal); margin-left: 8px; }
.kitband p { color: var(--on-navy-2); max-width: 62ch; margin-top: 6px; font-size: .97rem; }
.kitband__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.kitband .btn--navy { background: var(--teal); color: var(--navy); box-shadow: 0 3px 0 #0f8f7f; }
.kitband .btn--line { border-color: rgba(238, 243, 242, .6); color: var(--on-navy); }
.newline__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.newline__copy > p:not(.kicker) { color: var(--ink-2); margin-top: var(--space-4); max-width: 60ch; }
.newline__copy .hero__ctas { margin-top: var(--space-6); }
.newline__art img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); transform: rotate(1.2deg); transition: transform 240ms var(--ease); }
.newline__art:hover img { transform: rotate(0deg) translateY(-3px); }
@media (max-width: 1000px) { .fc-run { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fc-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fc-counts, .fc-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .guides-hero, .newline__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .fc-counts, .fc-ways, .fc-docs, .fc-seg, .fc-run { grid-template-columns: minmax(0, 1fr); } .gcard { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 14px; } .sec-foot .btn + .btn { margin-left: 0; margin-top: 10px; } }
@media (max-width: 380px) { .gcard { grid-template-columns: minmax(0, 1fr); } .gcard__cover { max-width: 150px; } }
.nw { white-space: nowrap; }
@media (max-width: 640px) { .fc-docs__card img { max-width: 260px; } }

/* ============================================================ TEAM STORE */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Hero: copy on the left, four sample products on the right */
.cx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: clamp(2rem, 4vw, 3.75rem); align-items: center; }
.cx-hero__title { font-size: clamp(2.028rem, .78rem + 2.808vw, 3.588rem); max-width: 17ch; }
.cx-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: var(--space-6); }
.cx-facts li { padding: 6px 12px 5px; border: 1px solid rgba(238, 243, 242, .28); border-radius: 999px; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: 0;  color: var(--on-navy); }
.cx-hero .hero__ctas { margin-top: var(--space-6); }
.cx-hero__acct { margin-top: var(--space-4); font-size: .95rem; color: var(--on-navy-2); }
.cx-hero__link { padding: 0; font-weight: 600; color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.cx-hero__link:hover { color: var(--teal-hover); }
.cx-collage__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cx-collage__tile { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.cx-collage__tile figcaption { display: flex; justify-content: space-between; gap: 8px; padding: 8px 12px 9px; background: var(--navy-deep); font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: 0;  color: var(--on-navy); }
.cx-collage__tile figcaption span:last-child { color: var(--teal); white-space: nowrap; }
.cx-collage__note { margin-top: 12px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: 0;  color: var(--on-navy-2); }

/* Product photo previews, drawn by custom.js */
.cx-photo { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: #efeae0; }
.cx-photo:not(.is-ready)::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%) -150% 0 / 60% 100% no-repeat; animation: cx-shine 1.4s linear infinite; }
@keyframes cx-shine { to { background-position: 250% 0; } }
.cx-photo__main { display: block; width: 100%; height: 100%; object-fit: cover; }
.cx-photo__zoom { position: absolute; right: 7%; bottom: 7%; width: 38%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #fff; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(11, 36, 48, .28); }
.cx-photo__zoom img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cx-photo__zoomlabel { position: absolute; right: calc(7% + 19%); bottom: calc(7% - 9px); transform: translateX(50%); padding: 2px 7px 1px; border-radius: 999px; background: var(--navy); color: var(--paper); font-family: var(--font-mono); font-size: .58rem; font-weight: 600; letter-spacing: 0;  white-space: nowrap; }
.cx-photo__error { position: absolute; left: 8px; bottom: 8px; padding: 3px 7px; border-radius: 4px; background: rgba(255, 255, 255, .92); font-size: .74rem; color: var(--ink-2); }
.cx-photo--large { border-radius: var(--radius-lg); border: 1px solid var(--line); }
.cx-photo--large .cx-photo__zoomlabel { font-size: .66rem; }

/* Why it works for dealers */
.cx-why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cx-why__card { padding: 20px 20px 22px; background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--copper); border-radius: var(--radius-md); }
.cx-why__num { display: block; margin-bottom: 10px; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: 0; color: var(--copper-ink); }
.cx-why__card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.26rem;  color: var(--navy); line-height: 1.14; margin-bottom: 8px; }
.cx-why__card p { font-size: .95rem; color: var(--ink-2); }

/* Sample companies */
.cx-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cx-sample { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.cx-sample__id { display: flex; align-items: center; gap: 12px; }
.cx-sample__id img { flex: none; width: 64px; height: 64px; object-fit: contain; }
.cx-sample__label { font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: 0;  color: var(--copper-ink); }
.cx-sample__name { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem;  color: var(--navy); line-height: 1.14; margin: 2px 0; }
.cx-sample__where { font-size: .84rem; color: var(--muted); }
.cx-sample__goods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.cx-sample__goods .cx-photo { border-radius: 8px; }
.cx-sample__goods .cx-photo__zoom { border-width: 2px; right: 5%; bottom: 5%; }
.cx-sample__goods .cx-photo__zoomlabel { display: none; }
.cx-sample__list { font-size: .84rem; color: var(--ink-2); }
.cx-sample .btn { align-self: flex-start; margin-top: auto; }

/* Builder */
.cx { padding-block: clamp(3rem, 6vw, 5rem); }
#custom-app { position: relative; }
#custom-app.is-busy::after { content: 'Reading your file…'; position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; padding: 10px 16px; background: var(--navy); color: var(--on-navy); border-radius: var(--radius-md); font-weight: 600; box-shadow: var(--shadow-md); }
.cx-step { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.6vw, 30px); }
.cx-step + .cx-step { margin-top: clamp(1rem, 2.4vw, 1.75rem); }
.cx-step__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 18px; }
.cx-step__head .h3 { margin: 0; }
.cx-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--paper); font-family: var(--font-body); font-size: 1.15rem; line-height: 1; flex: none; font-weight: 600; }
.cx-setup { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 2.6vw, 2rem); align-items: start; }
.cx-hint { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.cx-hint--lead { margin: -6px 0 14px; max-width: 72ch; color: var(--ink-2); }
.cx-err { color: #9b2c1f; font-weight: 600; font-size: .95rem; }
.cx-err:empty { display: none; }
.cx-err:not(:empty) { margin-top: 10px; }
.cx-drop { position: relative; display: grid; place-items: center; align-content: center; gap: 6px; min-height: 200px; padding: 24px; text-align: center; border: 2px dashed var(--line-strong); border-radius: var(--radius-md); background: var(--receipt); cursor: pointer; transition: border-color 160ms, background 160ms; }
.cx-drop[hidden] { display: none; }
.cx-drop:hover, .cx-drop.is-over, .cx-drop:focus-within { border-color: var(--teal-ink); background: #f3faf7; }
.cx-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.cx-drop__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231BC4AE' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 16V5'/%3E%3Cpath d='M7 10l5-5 5 5'/%3E%3Cpath d='M5 19h14'/%3E%3C/svg%3E") center / 22px no-repeat; }
.cx-drop__big { font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.cx-drop__small { font-size: .88rem; color: var(--muted); max-width: 38ch; }
.cx-logo { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 18px; align-items: start; }
.cx-logo[hidden] { display: none; }
.cx-logo__img { display: grid; place-items: center; aspect-ratio: 1; padding: 12px; border-radius: var(--radius-md); border: 1px solid var(--line); background-color: #fff; background-image: linear-gradient(45deg, #eee9dd 25%, transparent 25%), linear-gradient(-45deg, #eee9dd 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee9dd 75%), linear-gradient(-45deg, transparent 75%, #eee9dd 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.cx-logo__canvas { display: block; max-width: 100%; max-height: 132px; width: auto; height: auto; }
.cx-logo__opts { display: grid; gap: 12px; }
.cx-radios { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.cx-radios legend { width: 100%; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.cx-radios label { display: inline-flex; align-items: center; gap: 6px; font-size: .95rem; cursor: pointer; }
.cx-radios input, .co-check input { accent-color: var(--teal-ink); width: 18px; height: 18px; }
.cx-colorpick { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; }
.cx-colorpick input { width: 44px; height: 34px; padding: 2px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.cx-logo__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.cx-logo__btns .co-link { font-size: .95rem; }
.cx-try { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; color: var(--muted); }
.cx-try__btn { min-height: 36px; padding: 0 12px; border: 1px dashed var(--line-strong); border-radius: 999px; background: #fff; font-size: .86rem; font-weight: 600; color: var(--navy); }
.cx-try__btn:hover { border-color: var(--navy); }
.cx-try__btn.is-on { background: var(--navy); color: var(--paper); border: 1px solid var(--navy); }
.cx-samplebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 14px; margin-bottom: 16px; padding: 10px 12px 10px 16px; background: #fbf1e7; border: 1px solid rgba(154, 79, 34, .35); border-radius: var(--radius-md); font-size: .94rem; color: var(--ink); }
.cx-samplebar[hidden] { display: none; }
.cx-subhead { margin: 22px 0 12px; font-family: var(--font-mono); font-size: .76rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); }
.cx-step--gear .cx-subhead:first-of-type { margin-top: 4px; }

/* Kits */
.cx-kits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cx-kit { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cx-kit__thumbs { display: flex; gap: 6px; margin-bottom: 4px; }
.cx-kit__thumbs img { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: #efeae0; }
.cx-kit__name { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem;  color: var(--navy); line-height: 1.14; }
.cx-kit__detail { font-size: .9rem; color: var(--ink-2); }
.cx-kit__price { font-weight: 700; color: var(--ink); }
.cx-kit .btn { align-self: flex-start; margin-top: auto; }

/* Category tabs and product cards */
.cx-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cx-tab { min-height: 40px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; font-size: .92rem; font-weight: 600; color: var(--navy); }
.cx-tab:hover { border-color: var(--navy); }
.cx-tab.is-on { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.cx-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); gap: 16px; }
.cx-prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow 180ms var(--ease), transform 180ms var(--ease); }
.cx-prod:hover { box-shadow: var(--shadow-md); }
.cx-prod[hidden] { display: none; }
.cx-prod__open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.cx-prod__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; flex: 1; }
.cx-prod__method { font-family: var(--font-mono); font-size: .66rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); }
.cx-prod__name { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem;  color: var(--navy); line-height: 1.14; }
.cx-prod__maker { font-size: .84rem; color: var(--muted); }
.cx-prod__price { font-weight: 700; color: var(--ink); }
.cx-prod__color { font-size: .82rem; color: var(--ink-2); }
.cx-prod .btn { margin-top: auto; width: 100%; }
.cx-prod .cx-swatches { margin-top: 2px; }

/* Color swatches */
.cx-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.cx-sw { position: relative; width: 26px; height: 26px; padding: 0; border-radius: 50%; background: var(--sw); border: 1px solid rgba(11, 36, 48, .28); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45); cursor: pointer; }
.cx-sw:hover { transform: scale(1.08); }
.cx-sw.is-on { outline: 2px solid var(--navy); outline-offset: 2px; }
.cx-swatches--named { gap: 6px; }
.cx-swatches--named .cx-sw { display: inline-flex; align-items: center; gap: 7px; width: auto; height: auto; min-height: 36px; padding: 4px 11px 4px 5px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: none; font-size: .84rem; font-weight: 500; color: var(--ink); }
.cx-swatches--named .cx-sw:hover { transform: none; border-color: var(--navy); }
.cx-swatches--named .cx-sw span:first-child { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(11, 36, 48, .25); }
.cx-swatches--named .cx-sw.is-on { outline: 0; border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); font-weight: 700; }

/* Themes and slogans band */
.cx-themes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.cx-themes__body { display: grid; gap: 14px; justify-items: start; }
.cx-themes__body p { max-width: 56ch; }
.cx-themes__price { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.cx-themes__price strong { font-family: var(--font-body); font-weight: 600; font-size: 2.6rem; line-height: 1; color: #fff; }
.cx-themes__price span { font-size: .95rem; }

/* Premium line */
.cx-premium__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.cx-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.cx-pcard img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.cx-pcard__body { padding: 12px 14px 15px; }
.cx-pcard__brand { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink); }
.cx-pcard h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem;  color: var(--navy); line-height: 1.14; margin: 3px 0 5px; }
.cx-pcard__price { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.cx-premium__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: end; margin-top: 22px; }
.cx-premium__notes { display: grid; gap: 8px; max-width: 76ch; font-size: .94rem; color: var(--ink-2); }
.cx-premium__notes strong { color: var(--navy); }
.cx-credits { margin-top: 18px; font-size: .74rem; line-height: 1.5; color: var(--muted); max-width: 120ch; }
.cx-credits a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Product, kit and themes dialogs */
.co-dlg.cx-pdlg { width: min(1000px, calc(100vw - 24px)); }
.co-dlg.cx-kdlg { width: min(880px, calc(100vw - 24px)); }
.co-dlg.cx-tdlg { width: min(720px, calc(100vw - 24px)); }
.cx-pdlg__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(18px, 3vw, 30px); align-items: start; }
.cx-pdlg__visual { position: sticky; top: 0; }
.cx-pdlg__maker { font-weight: 600; color: var(--ink-2); }
.cx-pdlg__spec { font-size: .9rem; color: var(--muted); margin-top: 2px; }
.cx-option-title { margin: 18px 0 8px; font-family: var(--font-body); font-size: .95rem; font-weight: 700; color: var(--navy); text-transform: none; }
.cx-option-title span { margin-left: 6px; font-weight: 500; color: var(--muted); }
.cx-pdesigns { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.cx-pdesign { display: flex; flex-direction: column; gap: 6px; padding: 5px 5px 8px; border: 2px solid var(--line); border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.cx-pdesign:hover:not(:disabled) { border-color: var(--line-strong); }
.cx-pdesign.is-on { border-color: var(--teal-ink); box-shadow: inset 0 0 0 1px var(--teal-ink); }
.cx-pdesign:disabled { cursor: default; background: var(--paper); }
.cx-pdesign:disabled .cx-photo { opacity: .55; }
.cx-pdesign .cx-photo { border-radius: 6px; }
.cx-pdesign strong { padding: 0 3px; font-size: .8rem; color: var(--navy); line-height: 1.2; }
.cx-pdesign small { padding: 0 3px; font-size: .7rem; color: var(--muted); line-height: 1.25; }
.cx-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(66px, 1fr)); gap: 6px; }
.cx-sizes label { display: grid; gap: 2px; text-align: center; font-family: var(--font-mono); font-size: .74rem; font-weight: 600; color: var(--ink-2); }
.cx-sizes label small { font-size: .66rem; font-weight: 500; color: var(--muted); }
.cx-sizes label.is-off { opacity: .5; }
.cx-sizes input, .cx-sel input, .cx-sel select, .cx-line__qty input { width: 100%; min-height: 40px; padding: 6px 6px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; font-size: .95rem; text-align: center; background: #fff; color: var(--ink); }
.cx-sel select { text-align: left; padding-inline: 8px; }
.cx-sel { display: grid; gap: 3px; font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.cx-pdlg__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 16px 0 10px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.cx-pdlg__sum strong { font-size: 1.15rem; color: var(--navy); }
.cx-pdlg__notice { margin-top: 0; }
.cx-pdlg__add, .cx-kdlg [data-add-kit] { width: 100%; margin-top: 6px; }
.cx-pdlg__add:disabled, .cx-kdlg [data-add-kit]:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.cx-added { margin-top: 10px; padding: 12px 14px; background: #eef7f4; border: 1px solid rgba(11, 110, 102, .3); border-radius: var(--radius-md); }
.cx-added p { margin-bottom: 10px; font-weight: 600; color: var(--teal-ink); }
.cx-kit-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 6px; }
.cx-kit-item { display: flex; flex-direction: column; gap: 8px; }
.cx-kit-item .cx-photo { border-radius: 8px; border: 1px solid var(--line); }
.cx-kit-item strong { font-size: .9rem; color: var(--navy); line-height: 1.2; }
.cx-tprice { margin: 0 0 16px; padding: 10px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink-2); }
.cx-tprice strong { color: var(--navy); }
.cx-themes-form .co-field > span { font-weight: 600; color: var(--ink); }
.cx-required { margin-left: 4px; font-family: var(--font-mono); font-size: .62rem; font-weight: 600; letter-spacing: 0;  color: var(--copper-ink); }

/* Order */
.cx-orderwrap { max-width: 980px; }
.cx-empty { padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper-2); color: var(--ink-2); }
.cx-lines { display: grid; gap: 10px; }
.cx-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) 84px 92px auto; gap: 14px; align-items: center; padding: 10px 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.cx-line__img { display: block; width: 72px; height: 72px; border-radius: 6px; background: #efeae0; overflow: hidden; }
.cx-line__img img, .co-line__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cx-service-mark { display: grid; place-items: center; width: 100%; height: 100%; background: var(--navy); color: var(--teal); font-family: var(--font-body); font-size: 1.15rem; letter-spacing: 0; font-weight: 600; }
.cx-line__txt { display: grid; gap: 2px; min-width: 0; }
.cx-line__txt strong { color: var(--navy); }
.cx-line__txt span { font-size: .86rem; color: var(--muted); }
.cx-line__amt { font-weight: 700; text-align: right; }
.cx-line__x { background: none; border: 0; padding: 6px 4px; font: inherit; font-size: .86rem; color: var(--teal-ink); text-decoration: underline; cursor: pointer; }
.cx-total { margin-top: 18px; margin-left: auto; max-width: 380px; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.cx-total .btn { width: 100%; margin-top: 12px; }
.cx-bar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 55; display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px; background: var(--navy); color: var(--on-navy); border-radius: 999px; box-shadow: var(--shadow-lg); font-weight: 600; white-space: nowrap; }
.cx-bar[hidden] { display: none; }
.cx-bar { transition: opacity .2s ease, transform .2s ease; }
.cx-bar.is-away { opacity: 0; pointer-events: none; }

/* Account */
.cx-acct > p { color: var(--ink-2); max-width: 62ch; }
.cx-acct__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cx-acct__who { margin-bottom: 6px; }
.cx-acct__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2rem); margin-top: 16px; }
.cx-acct__cols .h3 { margin-bottom: 12px; }
.cx-brands, .cx-orders { display: grid; gap: 10px; }
.cx-brand, .cx-ord { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); }
.cx-brand__img { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 6px; background: #fff; border: 1px solid var(--line); overflow: hidden; font-family: var(--font-body); font-size: 1.4rem; color: var(--navy); font-weight: 600; }
.cx-brand__img img { max-width: 48px; max-height: 48px; }
.cx-brand__txt, .cx-ord__txt { display: grid; gap: 2px; flex: 1; min-width: 0; }
.cx-brand__txt span, .cx-ord__txt span { font-size: .84rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.cx-ord__st { font-family: var(--font-mono); font-size: .72rem !important; font-weight: 600; letter-spacing: 0;  color: var(--teal-ink) !important; }
.cx-fine { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 22px; border-top: 1px solid var(--line); max-width: 860px; }
.cx-fine .h3 { margin-bottom: 10px; }
.cx-fine ul { display: grid; gap: 6px; padding-left: 1.1em; list-style: disc; color: var(--ink-2); font-size: .96rem; }

@media (max-width: 1100px) {
  .cx-why__grid, .cx-premium__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cx-samples { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
}
@media (max-width: 900px) {
  .cx-hero__grid, .cx-setup, .cx-acct__cols, .cx-themes__grid, .cx-pdlg__grid, .cx-premium__foot { grid-template-columns: minmax(0, 1fr); }
  .cx-hero__title { max-width: 16ch; }
  .cx-collage { max-width: 560px; }
  .cx-kits { grid-template-columns: minmax(0, 1fr); }
  .cx-pdlg__visual { position: static; max-width: 460px; }
  .cx-premium__foot .btn { justify-self: start; }
}
@media (max-width: 640px) {
  .cx-why__grid { grid-template-columns: minmax(0, 1fr); }
  .cx-logo { grid-template-columns: minmax(0, 1fr); }
  .cx-logo__img { max-width: 180px; }
  .cx-line { grid-template-columns: 60px minmax(0, 1fr) 70px; gap: 10px; }
  .cx-line__img { width: 60px; height: 60px; }
  .cx-line__amt { grid-column: 2; text-align: left; }
  .cx-line__x { grid-column: 3; justify-self: end; }
  .cx-total { max-width: none; }
  .cx-bar { left: 12px; right: 12px; transform: none; justify-content: space-between; }
  .cx-collage__tile figcaption { flex-direction: column; gap: 1px; font-size: .6rem; padding: 7px 9px 8px; }
}
@media (max-width: 560px) {
  .cx-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cx-prod__body { padding: 10px 10px 12px; gap: 5px; }
  .cx-prod__name { font-size: 1.02rem; }
  .cx-prod__maker, .cx-prod__color { font-size: .76rem; }
  .cx-prod__price { font-size: .92rem; }
  .cx-prod .cx-sw { width: 22px; height: 22px; }
  .cx-prod .cx-swatches { gap: 6px; }
  .cx-prod .btn { min-height: 38px; padding: 0 8px; font-size: .86rem; }
  .cx-photo__zoomlabel { display: none; }
  .cx-premium__grid { gap: 10px; }
  .cx-pcard h3 { font-size: 1.05rem; }
  .cx-tab { min-height: 36px; padding: 0 12px; font-size: .86rem; flex: 0 0 auto; }
  .cx-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .cx-tabs::-webkit-scrollbar { display: none; }
  .cx-kits { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 6px; }
  .cx-kit { scroll-snap-align: start; }
  .cx-facts { gap: 6px 6px; }
  .cx-facts li { padding: 5px 10px 4px; font-size: .66rem; }
}

/* ============================================================ CHECKOUT DIALOGS */
html.co-dlg-open, html.co-dlg-open body { overflow: hidden; }
.co-dlg { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; }
.co-dlg::backdrop { background: rgba(7, 26, 34, .62); }
.co-dlg__in { position: relative; padding: clamp(20px, 4vw, 34px); }
.co-dlg__x { position: absolute; z-index: 3; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 1.6rem; line-height: 1; color: var(--navy); cursor: pointer; }
.co-dlg__x:hover { background: rgba(11, 36, 48, .08); }
.co-dlg__kicker { font-family: var(--font-mono); font-size: .74rem; font-weight: 600; letter-spacing: 0;  color: var(--copper-ink); }
.co-dlg__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.326rem, 1.014rem + 1.248vw, 1.794rem); line-height: 1.14;  color: var(--navy); margin: 6px 40px 10px 0; }
.co-dlg__lede { color: var(--ink-2); margin-bottom: 14px; }
.co-dlg__h3 { font-weight: 700; font-size: 1rem; color: var(--navy); margin: 18px 0 8px; }
.co-dlg__foot { margin-top: 16px; font-size: .86rem; color: var(--muted); }
.co-tabs { display: flex; gap: 4px; margin: 4px 0 16px; padding: 4px; background: var(--paper-3); border-radius: var(--radius-md); }
.co-tabs button { flex: 1; min-height: 40px; border: 0; border-radius: 6px; background: transparent; font: inherit; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.co-tabs button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.co-form { display: grid; gap: 12px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.co-field { display: grid; gap: 4px; font-size: .88rem; font-weight: 600; color: var(--ink-2); }
.co-field--wide { grid-column: 1 / -1; }
.co-field em { font-style: normal; font-weight: 500; color: var(--muted); }
.co-field input, .co-field select, .co-field textarea { width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: #fff; font: inherit; font-size: 1rem; font-weight: 400; color: var(--ink); }
.co-field textarea { min-height: 84px; resize: vertical; line-height: 1.45; }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus, .cx-sizes input:focus, .cx-sel input:focus, .cx-sel select:focus, .cx-line__qty input:focus { outline: 2px solid var(--teal-ink); outline-offset: 1px; border-color: var(--teal-ink); }
.co-check { display: flex; align-items: flex-start; gap: 10px; font-size: .94rem; color: var(--ink-2); cursor: pointer; }
.co-check[hidden] { display: none; }
.co-check input { flex: none; margin-top: 2px; }
.co-pw[hidden] { display: none; }
.co-hint { font-size: .86rem; color: var(--muted); }
.co-hint--center { text-align: center; }
.co-err { color: #9b2c1f; font-weight: 600; font-size: .94rem; }
.co-err:empty { display: none; }
.co-test { padding: 10px 12px; border: 1px dashed var(--copper-ink); border-radius: var(--radius-sm); background: #fbf1e7; color: var(--copper-ink); font-size: .88rem; font-weight: 600; }
.co-sum { display: grid; gap: 6px; padding: 14px 16px; margin: 14px 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }
.co-sum__row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.co-sum__row--total { padding-top: 8px; margin-top: 2px; border-top: 1px solid var(--line); font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.co-lines { display: grid; gap: 8px; max-height: 240px; overflow: auto; margin-bottom: 4px; }
.co-lines.is-scroll { padding-bottom: 10px; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 60px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 60px), transparent); }
.co-lines.is-scroll.is-end { -webkit-mask-image: none; mask-image: none; }
.co-lines__more { margin: 6px 0 12px; }
.co-line { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .9rem; }
.co-line__img { display: block; width: 48px; height: 48px; border-radius: 5px; background: #f1ece1; overflow: hidden; }
.co-line__txt { display: grid; min-width: 0; }
.co-line__txt span { color: var(--muted); font-size: .82rem; }
.co-line__amt { font-weight: 700; }
.co-next { display: grid; gap: 8px; margin: 14px 0; padding-left: 1.2em; list-style: decimal; color: var(--ink-2); }
.co-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--teal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.co-submit { width: 100%; margin-top: 6px; }
.co-submit:disabled, .cx-add:disabled { opacity: .55; cursor: not-allowed; transform: none; }
@media (max-width: 560px) { .co-grid { grid-template-columns: minmax(0, 1fr); } }
.co-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.co-form legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: 1rem; color: var(--navy); }
.cx-sizes input::-webkit-inner-spin-button, .cx-sizes input::-webkit-outer-spin-button, .cx-sel input::-webkit-inner-spin-button, .cx-line__qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cx-sizes input, .cx-sel input[type=number], .cx-line__qty input { -moz-appearance: textfield; appearance: textfield; }
.cx-sizes input { padding: 4px 2px; }
#cx-start, #custom-order, #custom-account, .cx-step { scroll-margin-top: 92px; }
.gcard__cover--type { aspect-ratio: 480 / 621; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 14px; color: var(--paper, #f5eee0); }
.gcard__cover--type span { font-family: var(--font-body); font-weight: 600; font-size: 0.62rem; letter-spacing: 0;  color: #1BC4AE; }
.gcard__cover--type strong { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.14;  }
.gcard__soon { font-family: var(--font-body); font-weight: 600; font-size: 0.72rem; letter-spacing: 0;  color: #0b6e66; }
.co-line:not(:has(.co-line__img)) { grid-template-columns: minmax(0, 1fr) auto; }
.co-line--text { grid-template-columns: minmax(0, 1fr) auto; }
.co-dlg { margin: auto; }

/* ---------- Shop v6: hero with real products, type buttons, clickable photos */
.shop-hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(2rem, 4vw, 3.25rem); background: radial-gradient(90% 120% at 100% 0%, #fff6e6 0%, var(--paper) 55%); }
.shop-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.shop-hero .page-lede { max-width: 34ch; }
.shop-hero__fine { margin-top: var(--space-4); color: var(--ink-2); font-size: .98rem; }
.shop-hero__team { margin-top: var(--space-6); padding: 14px 16px; border: 1.5px solid var(--line-strong); border-left: 4px solid var(--teal); border-radius: var(--radius-md); background: #fff; font-weight: 600; color: var(--navy); }
.shop-hero__team .link { white-space: nowrap; }
.shop-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 14px); list-style: none; margin: 0; padding: 0; }
.shop-mosaic li { min-width: 0; }
.mosaic__item { display: block; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform 300ms var(--ease), box-shadow 300ms var(--ease); }
.mosaic__item img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.mosaic__item:hover, .mosaic__item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shop-bar { padding-block: 18px 20px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.shop-types { display: flex; flex-wrap: wrap; gap: 8px; }
.tbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; }
.tbtn:hover { background: var(--paper-3); }
.tbtn[aria-pressed="true"] { background: var(--navy); color: var(--paper); }
.tbtn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.chips--shop { margin-top: 12px; }
.chips--shop .chip { min-height: 36px; font-size: .85rem; }
.product__namelink { color: inherit; text-decoration: none; }
.product__namelink:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.product__media:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
@media (max-width: 860px) {
  .shop-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .shop-hero .page-lede { max-width: none; }
}
@media (max-width: 520px) {
  .shop-types { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 4px; scrollbar-width: none; }
  .shop-types::-webkit-scrollbar { display: none; }
  .tbtn { flex: 0 0 auto; min-height: 42px; padding: 0 14px; font-size: .9rem; }
  .opts { grid-template-columns: minmax(0, 1fr); }
}
/* Oct 26: trade show giveaway band */
.give-band { margin-top: var(--space-4); padding: 16px 18px; border-radius: var(--radius-md); background: var(--navy); color: #F5EEE0; }
.give-band__title { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .01em;  color: #FFC23C; margin: 0 0 6px; }
.give-band__text { margin: 0 0 12px; font-size: .98rem; line-height: 1.45; }
.give-band__links { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.give-band .btn { background: #FFC23C; color: #0B2430; border-color: #FFC23C; }
.give-band .btn:hover { background: #ffd36e; }
.give-band .link { color: #F5EEE0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Shop cards: one tap opens the product picker */
.pcard { display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; border: 0; background: none; color: var(--navy); font: inherit; text-align: left; cursor: pointer; }
.pcard .product__media { display: block; width: 100%; }
.pcard:hover .product__img { transform: scale(1.03); }
.pcard:hover .product__name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pcard:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: var(--radius-lg); }
.pcard .product__name { display: block; }
.pcard__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 8px; }
.pcard__meta b { font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; letter-spacing: 0; color: var(--copper-ink); white-space: nowrap; }
.pcard__meta span { font-family: var(--font-mono); font-size: .68rem; letter-spacing: 0;  color: var(--muted); text-align: right; }
button.mosaic__item { width: 100%; padding: 0; cursor: pointer; }

/* ---------- Product picker dialog */
html.qv-open { overflow: hidden; }
.qv { margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg); width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); background: var(--paper-2); color: var(--ink); box-shadow: var(--shadow-lg); overflow: auto; overscroll-behavior: contain; }
.qv::backdrop { background: rgba(7, 26, 34, .66); }
.qv__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: clamp(1rem, 3vw, 2.25rem); padding: clamp(1rem, 3vw, 2rem); }
.qv__media img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); }
.qv__x { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--navy); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.qv__x:hover { background: var(--navy); color: var(--paper); }
.qv__x:focus-visible, .qopt:focus-visible, .qv__buy:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.qv__body { display: flex; flex-direction: column; min-width: 0; padding-top: 4px; }
.qv__cat { padding-right: 52px; font-family: var(--font-mono); font-size: .72rem; letter-spacing: 0;  color: var(--copper-ink); }
.qv__title { margin-top: 8px; padding-right: 52px; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.482rem, 1.014rem + 1.404vw, 2.262rem); line-height: 1.14;  color: var(--navy); }
.qv__label { margin-top: 20px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: 0;  color: var(--muted); }
.qv__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; margin-top: 8px; }
.qopt { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 0; padding: 6px 6px 8px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-md); background: #fff; color: var(--navy); font: inherit; font-size: .8rem; font-weight: 600; line-height: 1.15; text-align: center; cursor: pointer; }
.qopt img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 5px; margin-bottom: 3px; }
.qopt b { font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; letter-spacing: 0; color: var(--copper-ink); }
.qopt:hover { border-color: var(--navy); }
.qopt.is-on { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy); background: var(--paper-3); }
.qv__buy { margin-top: 20px; width: 100%; }
.qv__fine { margin-top: 10px; font-size: .86rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) {
  .qv { width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border-radius: 0; }
  .qv__box { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px 14px 28px; }
  .qv__media img { max-height: 46dvh; object-fit: contain; }
  .qv__x { top: 18px; right: 20px; }
  .qv__body { padding-top: 0; }
  .qv__cat, .qv__title { padding-right: 0; }
  .qv__title { font-size: 1.85rem; }
  .qv__label { margin-top: 12px; }
  .qv__opts { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .qopt { font-size: .74rem; padding: 4px 4px 6px; }
  .qv__buy { position: sticky; bottom: 10px; margin-top: 16px; box-shadow: 0 6px 18px rgba(7, 26, 34, .28); }
}


/* ===== v15: warmer type, no patterns =====
   Headings use Libre Caslon Text Bold (self-hosted, mapped to every weight), everything else uses General Sans.
   No all caps, no wide tracking, no mono labels, no rosette or line patterns. */
@font-face { font-family: 'Cashology Caslon'; src: url(assets/fonts/LibreCaslonText-Bold.woff2) format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
.rosette, .cover-card::before, .hero::before { display: none !important; }
.rnote__frame { background-image: none !important; }
.ticker, .strap, .badge { display: none !important; }
.hl, .section--navy .hl, .page-hero--photo .hl, .page-hero--dark .hl, .books .hl, .h2--light .hl, .hero__title .hl, .footer__big .hl { color: inherit !important; }
.hero__title span { display: inline; }
.display, .h2, .page-title, .h3 { letter-spacing: -.005em; }
.page-title { max-width: 20ch; }
.hero__title { max-width: 17ch; }
.receipt__paper { font-family: 'Courier New', Courier, monospace; }
.page-hero__credit { font-size: .8rem; opacity: .85; }
.sec-head__note, .page-lede, .hero__lede { text-wrap: pretty; }
.h2, .page-title, .hero__title { text-wrap: balance; }

/* ===== v15: speaking and news ===== */
.speak-band { background: var(--paper); }
.speak-band__grid { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.speak-band__photo { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-md), 10px 10px 0 var(--teal-ink); }
.speak-band__copy > p { color: var(--ink-2); max-width: 62ch; margin-top: var(--space-4); }
.speak-band__next { padding: 14px 18px; background: var(--paper-3); border-left: 4px solid var(--copper); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.speak-band__next b { color: var(--navy); }
.speak-band .hero__ctas { margin-top: var(--space-6); }
@media (max-width: 760px) { .speak-band__grid { grid-template-columns: 1fr; } .speak-band__photo { max-width: 210px; } }

.speak-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 320px); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.speak-hero__photo { margin: 0; }
.speak-hero__photo img { width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg), 12px 12px 0 var(--teal-ink); }
@media (max-width: 860px) { .speak-hero__grid { grid-template-columns: 1fr; } .speak-hero__photo { order: -1; max-width: 200px; } }

.talk-next { max-width: 880px; padding: clamp(1.4rem, 3vw, 2.2rem); background: var(--navy); color: var(--on-navy); border-radius: var(--radius-lg); border-top: 4px solid var(--copper); }
.talk-next__when { font-weight: 600; color: var(--copper-light); margin-bottom: 6px; }
.talk-next .h3 { color: #fff; }
.talk-next p:last-child { margin-top: 10px; color: var(--on-navy-2); max-width: 64ch; }

.talks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6); }
.talks li { padding: clamp(1.25rem, 2.5vw, 1.75rem); background: var(--receipt); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.talks h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.2; color: var(--navy); margin-bottom: 10px; }
.talks p { color: var(--ink-2); }
.talks .talks__for { margin-top: 12px; font-weight: 600; font-size: .93rem; color: var(--teal-ink); }
@media (max-width: 760px) { .talks { grid-template-columns: 1fr; } }

.speak-two { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.speak-two .h3 { margin-bottom: 10px; }
.speak-two p { color: var(--ink-2); }
@media (max-width: 900px) { .speak-two { grid-template-columns: 1fr; } }

.news-sec { padding-top: clamp(1.75rem, 3vw, 2.75rem); }
.wire__src { font-size: .74rem; }
.wire__time { font-size: .8rem; }

/* v15: plain number labels and logbook title blocks */
.label__stamp, .label--calculated .label__stamp, .label--estimated .label__stamp, .label--illustrative .label__stamp { transform: none; border-width: 2px; border-style: solid; font-size: 1.15rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.gcard__cover--type strong { font-size: 1rem; line-height: 1.15; overflow-wrap: anywhere; hyphens: auto; }

/* v15: twelve menu items fit on laptop screens; the logo is the home link there */
@media (min-width: 1141px) {
  .nav__home { display: none; }
}
@media (min-width: 1141px) and (max-width: 1440px) {
  .header__row { gap: 1rem; }
  .logo img { width: 132px; }
  .nav__list { gap: clamp(.55rem, 1vw, 1rem); }
  .nav__list a { font-size: .9rem; }
  .header__cta.btn { padding: 0 1rem; min-height: 42px; font-size: .9rem; }
}

/* ---------- Shop layout (Oct 27): collections down the side, one row of product tabs */
.shop-hero { padding-block: clamp(2.25rem, 4.5vw, 4rem) clamp(2rem, 4vw, 3rem); }
.shop-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
.shop-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 3rem); align-items: start; padding-block: clamp(1.25rem, 2.5vw, 2rem) clamp(3rem, 6vw, 5rem); }
.shop-side { position: sticky; top: calc(var(--hdr, 72px) + 20px); max-height: calc(100vh - var(--hdr, 72px) - 40px); overflow-y: auto; scrollbar-width: thin; padding: 6px 4px 12px 0; }
.shop-side__title { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; color: var(--navy); }
.shop-side__list { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.shop-side__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-left: -2px; padding: 7px 10px 7px 14px; border-left: 2px solid transparent; color: var(--ink-2); font-size: .95rem; line-height: 1.3; text-decoration: none; }
.shop-side__list a b { flex: 0 0 auto; font-size: .82rem; font-weight: 500; color: var(--muted); }
.shop-side__list a:hover { color: var(--navy); background: var(--paper-2); }
.shop-side__list a.is-on { border-left-color: #0b6e66; color: var(--navy); font-weight: 600; background: var(--paper-2); }
.shop-side__list a:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.shop-side__team { display: block; margin-top: 22px; padding: 16px; border-radius: var(--radius-md); background: var(--navy); color: #F5EEE0; text-decoration: none; }
.shop-side__team b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; line-height: 1.2; color: #fff; }
.shop-side__team span { display: block; margin-top: 6px; font-size: .9rem; line-height: 1.45; color: rgba(245, 238, 224, .86); }
.shop-side__team:hover b, .shop-side__team:focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.shop-bar { position: sticky; top: var(--hdr, 72px); z-index: 20; display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.shop-types { display: flex; flex: 1 1 auto; flex-wrap: nowrap; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.shop-types::-webkit-scrollbar { display: none; }
.shop-bar .tbtn { flex: 0 0 auto; min-height: 40px; padding: 0 14px; font-size: .88rem; font-weight: 600; }
.shop-jump { display: none; flex: 0 0 auto; }
.shop-jump select { appearance: none; -webkit-appearance: none; max-width: 156px; min-height: 40px; padding: 0 32px 0 14px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230B2430' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; color: var(--navy); font: inherit; font-size: .88rem; font-weight: 600; text-overflow: ellipsis; cursor: pointer; }
.shop-jump select:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.scoll { padding-block: clamp(1.75rem, 3vw, 2.5rem); border-bottom: 1px solid var(--line); }
.scoll:last-child { border-bottom: 0; }
.scoll__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.scoll__name { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 1.25rem + 1vw, 2.15rem); line-height: 1.15; color: var(--navy); }
.scoll__count { flex: 0 0 auto; color: var(--muted); font-size: .9rem; }
.scoll__note { margin: -6px 0 18px; color: var(--ink-2); }
.shop-main .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.9rem, 1.6vw, 1.25rem); }
@media (max-width: 1180px) { .shop-main .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
  .shop-layout { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .shop-side { display: none; }
  .shop-bar { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .shop-jump { display: block; }
}
@media (max-width: 800px) { .shop-main .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .shop-hero__ctas .btn { width: 100%; }
  .shop-bar { padding-block: 10px; }
  .shop-jump select { max-width: 132px; }
}
/* Oct 27: product types live in the sidebar as a list; phones get two dropdowns */
.shop-hero .page-title { font-size: clamp(2.6rem, 1.7rem + 3.4vw, 4.6rem); }
.shop-side__title--2 { margin-top: 24px; }
.shop-side .shop-types { display: block; overflow: visible; }
.shop-side .tbtn { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; width: 100%; min-height: 0; margin: 0 0 0 -2px; padding: 6px 10px 6px 14px; border: 0; border-left: 2px solid transparent; border-radius: 0; background: none; color: var(--ink-2); font: inherit; font-size: .95rem; font-weight: 400; line-height: 1.3; text-align: left; cursor: pointer; }
.shop-side .tbtn b { flex: 0 0 auto; font-size: .82rem; font-weight: 500; color: var(--muted); }
.shop-side .tbtn:hover { color: var(--navy); background: var(--paper-2); }
.shop-side .tbtn[aria-pressed="true"] { border-left-color: #0b6e66; color: var(--navy); font-weight: 600; background: var(--paper-2); }
.shop-side .tbtn:focus-visible { outline: 3px solid var(--teal); outline-offset: 1px; }
.shop-side__list a { padding-block: 6px; }
.shop-bar { display: none; }
.shop-main .scoll:first-child { padding-top: 6px; }
@media (max-width: 1023px) {
  .shop-bar { display: flex; gap: 8px; }
  .shop-bar .shop-jump { flex: 1 1 0; min-width: 0; }
  .shop-bar .shop-jump select { width: 100%; max-width: none; }
  .shop-main .scoll:first-child { padding-top: clamp(1.25rem, 3vw, 2rem); }
}
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 252px minmax(0, 1fr); } }
.shop-side .tbtn, .shop-side__list a { padding-block: 5px; font-size: .93rem; }

/* ---------- News (Oct 27): a lead story with a big photo, then a card grid */
.news-hero { padding-block: clamp(2.25rem, 4.5vw, 3.75rem) clamp(1.25rem, 2.5vw, 2rem); background: radial-gradient(90% 120% at 100% 0%, #fff6e6 0%, var(--paper) 55%); }
.news-hero .page-lede { max-width: 64ch; }
.news-sec2 { padding-block: 0 clamp(3rem, 6vw, 5rem); }
.nchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 clamp(1.25rem, 2.5vw, 2rem); }
.nchip { min-height: 40px; padding: 0 15px; border: 1.5px solid var(--navy); border-radius: 999px; background: #fff; color: var(--navy); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.nchip:hover { background: var(--paper-3); }
.nchip[aria-pressed="true"] { background: var(--navy); color: #F5EEE0; }
.nchip:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.nmeta { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: .8rem; color: var(--muted); }
.nmeta__src { font-weight: 700; color: #0b6e66; }
.nph { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #123544; }
.nph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.nph--none { display: flex; align-items: flex-end; padding: 16px 18px; background: linear-gradient(135deg, #0B2430 0%, #15394a 100%); }
.nph--none b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; color: #e3a173; }
.nlead { margin-bottom: clamp(1.25rem, 2.5vw, 2rem); }
.nlead__a { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); }
.nph--lead { aspect-ratio: auto; min-height: 360px; }
.nlead__body { display: flex; flex-direction: column; gap: 12px; padding: clamp(1.25rem, 3vw, 2.25rem); }
.nlead__t { font-family: var(--font-display); font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.35rem); line-height: 1.12; color: var(--navy); }
.nlead__x { color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.nlead__go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
.nlead__a:hover .nph img, .ncard a:hover .nph img { transform: scale(1.03); }
.nlead__a:hover .nlead__t, .ncard a:hover .ncard__t { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.ncard a { display: flex; flex-direction: column; height: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; color: inherit; text-decoration: none; }
.ncard__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; }
.ncard__t { font-family: var(--font-display); font-size: 1.22rem; line-height: 1.2; color: var(--navy); }
.nlead__a:focus-visible, .ncard a:focus-visible, .nrow a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.ngrid .wire__loading, .ngrid .wire__empty, .ngrid .wire__fallback { grid-column: 1 / -1; color: var(--ink-2); }
.ngrid .wire__fallback a { color: #0b6e66; }
.nupdated { margin-top: 18px; font-size: .85rem; color: var(--muted); }
.nhelp { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: clamp(2rem, 4vw, 3rem); padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); background: var(--navy); }
.nhelp__text { max-width: 58ch; margin: 0; color: #F5EEE0; font-family: var(--font-display); font-size: clamp(1.2rem, 1rem + .6vw, 1.5rem); line-height: 1.3; }
.nhelp__ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.nhome { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(1rem, 2.5vw, 2rem); align-items: start; }
.nhome .nlead__a { grid-template-columns: minmax(0, 1fr); }
.nhome .nph--lead { min-height: 0; aspect-ratio: 16 / 9; }
.nhome .nlead__t { font-size: clamp(1.4rem, 1.05rem + 1vw, 1.9rem); }
.nhome__list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.nrow a { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 14px; align-items: start; padding: 10px; border: 1px solid rgba(238, 243, 242, .14); border-radius: var(--radius-md); background: rgba(255, 255, 255, .05); color: inherit; text-decoration: none; }
.nrow a.nrow--text { grid-template-columns: minmax(0, 1fr); }
.nrow a:hover { background: rgba(27, 196, 174, .08); }
.nrow__ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #15394a; }
.nrow__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nrow__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.nrow__t { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.22; color: #fff; }
.nrow a:hover .nrow__t { text-decoration: underline; text-underline-offset: 3px; }
.nhome .nrow .nmeta { color: rgba(238, 243, 242, .72); }
.nhome .nrow .nmeta__src { color: #1BC4AE; }
.nhome .wire__loading, .nhome .wire__fallback { grid-column: 1 / -1; color: var(--on-navy-2); }
@media (max-width: 1000px) {
  .ngrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nlead__a { grid-template-columns: minmax(0, 1fr); }
  .nph--lead { min-height: 0; aspect-ratio: 16 / 9; }
}
@media (max-width: 900px) { .nhome { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .ngrid { grid-template-columns: minmax(0, 1fr); }
  .nchips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .nchips::-webkit-scrollbar { display: none; }
  .nchip { flex: 0 0 auto; }
  .nrow a { grid-template-columns: 92px minmax(0, 1fr); }
}
.nchips { gap: 6px; }
.nchip { padding: 0 13px; font-size: .87rem; }
@media (min-width: 1001px) { .nph--lead { min-height: 320px; } }
