/* ==========================================================================
   Dune theme
   Black, off-white and light grey (the dune layout, in black and white). Loaded after site.css and overrides
   its tokens and the handful of rules that carried the black and white
   look: the marker highlight, the bloom motif, the button colours.
   Display type is Bodoni Moda, text is Jost. Section changes are dune
   waves rather than hard edges.
   ========================================================================== */

@font-face {
  font-family: 'Bodoni Moda';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/bodoni-moda.woff2') format('woff2');
}
@font-face {
  font-family: 'Bodoni Moda';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('../fonts/bodoni-moda-italic.woff2') format('woff2');
}
/* ADA Hybrid is a licensed font. Drop the licensed file in as
   assets/fonts/ada-hybrid.woff2 and the wordmark picks it up; until then
   the wordmark falls back to Bodoni Moda. */
@font-face {
  font-family: 'ADA Hybrid';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/ada-hybrid.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/jost.woff2') format('woff2');
}

:root {
  --forest: #0a0a0a;
  --forest-2: #1c1c1c;
  --sand-light: #f6f6f4;
  --sand-mid: #d9d9d5;
  --gold: #F1A430;          /* marigold, only on black or as a fill behind black text */
  --gold-deep: #4a4a4a;

  --ink: var(--forest);
  --slate: #3a3a3a;
  --steel: #5c5c5c;
  --greige: #bdbdbd;
  --marigold: var(--gold);
  --sand: var(--gold);
  --mist: #d9d9d9;
  --petrol: var(--forest);
  --petrol-mid: var(--forest-2);
  --paper: var(--sand-light);
  --pure: #ffffff;
  --surface: #fdfdfc;
  --white: #ffffff;

  --line: rgb(0 0 0 / .16);
  --line-strong: rgb(0 0 0 / .38);
  --line-dark: rgb(255 255 255 / .18);

  --font: 'Jost', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;

  --r-panel: 22px;
  --r-soft: 14px;

  --logo-ground: var(--forest);
  --logo-ink: #ffffff;
}

html, body { background: var(--paper); }
body { font-weight: 400; letter-spacing: .005em; }

h1, h2, h3, h4, .brand-name, .big-result, .quiz-legend, .founder-small .signature {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.005em;
}
.brand-name { font-family: 'ADA Hybrid', var(--font-display); font-weight: 600; letter-spacing: 2.6px; }
h1 em, h2 em, h3 em, .hero h1 .turn {
  background: none; padding: 0; margin: 0;
  font-style: normal; font-weight: inherit; color: inherit;
}
.hero h1 .turn { color: inherit; font-style: normal; }
::selection { background: var(--gold); color: var(--forest); }

/* Motifs. The blooms go; the arcs come in. */
.hero::before,
.band-ink:not(.hero)::before, .band-ink:not(.hero)::after,
.gap::before, .cta-box::before { display: none; }

.hero::before { display: none; }
.hero-copy { max-width: none; }

/* Dune dividers */
/* Section changes are straight edges. */
#ventures { padding-top: 88px; }
.cta { padding-top: 88px; }

/* Dark bands */
.band-ink, .band-petrol { --body-muted: var(--mist); --label: var(--gold); --eyebrow: var(--gold); --focus: var(--gold); --accent: var(--gold); --surface: rgb(255 255 255 / .07); }
.band-ink { background: var(--forest); }
.band-ink h1, .band-ink h2, .band-ink h3, .band-ink h4 { color: var(--sand-light); }
.hero.band-ink h1 { color: var(--sand-light); }
.hero.band-ink .sub b { color: var(--sand-light); }
.hero.band-ink .cta-note em { color: var(--gold); }

/* Navigation on the green */
.nav { background: var(--forest); border-bottom: 1px solid rgb(255 255 255 / .14); }
.brand-name { color: #ffffff; }
.nav-links a { color: var(--sand-light); }
.brand-name span { color: #ffffff; font-weight: 800; }
.nav-links a { color: var(--mist); font-weight: 500; }
.nav-links a:hover { color: var(--sand-light); text-decoration-color: var(--gold); }
.nav-cta { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.nav-cta:hover { background: var(--sand-light); border-color: var(--sand-light); color: var(--forest); }
.nav-toggle { border-color: rgb(255 255 255 / .4); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { background: var(--sand-light); color: var(--sand-light); }
.nav .social a { color: var(--mist); border-color: rgb(255 255 255 / .35); }
.nav-sheet-panel { background: var(--sand-light); }
.nav-sheet-panel .brand-name { color: var(--forest); }
.nav-sheet-panel .brand-name span { color: var(--gold-deep); }
.nav-sheet-panel { --logo-ground: var(--sand-light); --logo-ink: var(--forest); }
.nav-sheet-panel .nav-toggle-bars, .nav-sheet-panel .nav-toggle-bars::before, .nav-sheet-panel .nav-toggle-bars::after { background: var(--forest); color: var(--forest); }

/* Buttons */
.btn { background: var(--forest); border-color: var(--forest); color: var(--sand-light); font-family: var(--font); font-weight: 600; }
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.btn .arw { color: var(--gold); }
.hero.band-ink .ctas .btn, .cta-box .btn, .gap .btn, .band-ink .btn:not(.ghost) { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.hero.band-ink .ctas .btn:hover, .cta-box .btn:hover, .gap .btn:hover, .band-ink .btn:not(.ghost):hover { background: var(--sand-light); border-color: var(--sand-light); color: var(--forest); }
.pill { color: var(--forest); font-weight: 600; }
a.pill:hover { background: var(--forest); color: var(--sand-light); }
.band-ink .pill { color: var(--gold); }
.band-ink a.pill:hover { background: var(--gold); color: var(--forest); border-color: var(--gold); }
.chip { font-weight: 600; }

/* Eyebrows and labels */
.eyebrow { font-weight: 600; }
.eyebrow b { color: var(--forest); }
.band-ink .eyebrow b { color: var(--sand-light); }

/* Capability tiles */
.tile { background: var(--surface); border-color: rgb(0 0 0 / .12); }
.tile.accent { background: var(--sand-mid); border-color: var(--sand-mid); }
.tile.accent h3, .tile.accent p:not(.num), .tile.accent .num { color: var(--forest); }
.tile.accent .chip { color: var(--forest); border-color: rgb(0 0 0 / .3); }
.tile.dark { background: var(--forest); border-color: var(--forest); }
.tile.dark h3 { color: var(--sand-light); }
.tile.dark .num { color: var(--gold); }
.tile.dark .chip { color: var(--mist); border-color: var(--line-dark); }
.tile h3 { font-size: 28px; }

/* Gap Report */
.gap { background: var(--forest); color: var(--sand-light); }
.gap h2 { color: var(--sand-light); }
.gap-label { border-color: rgb(255 255 255 / .6); color: var(--gold); }
.gap-next b { color: var(--sand-light); }
.panel { background: rgb(255 255 255 / .07); border-color: var(--line-dark); }
.meter-fill { background: var(--gold); }
.meter-fill.low { background: var(--sand-light); }
.logo-sprite, .brand { --logo-ink: #ffffff; }
.meter-note, .meter-note #scoreBand { color: var(--gold); }
.quiz-legend { font-size: 24px; color: var(--sand-light); }
.quiz-opt:has(input:checked) { border-color: var(--gold); }
.quiz-opt input:checked + .quiz-opt-mark { border-color: var(--gold); }
.quiz-opt input:checked + .quiz-opt-mark::after { background: var(--gold); }
.diag-start, .quiz-btn { background: var(--gold); border-color: var(--gold); color: var(--forest); font-family: var(--font); font-weight: 600; }
.diag-start:hover, .quiz-btn:hover { background: var(--sand-light); border-color: var(--sand-light); }
.quiz-btn.ghost { background: transparent; color: var(--sand-light); border-color: rgb(255 255 255 / .35); }
.result-verdict h4 strong { color: var(--gold); }
.note { background: rgb(0 0 0 / .05); border-color: rgb(255 255 255 / .45); border-left-color: var(--forest); }

/* Worked example */
.case, .case-side, .work-card { background: var(--surface); border-color: rgb(0 0 0 / .12); }
.badge { color: var(--forest); border-color: rgb(0 0 0 / .35); font-weight: 600; }
.big-result { font-weight: 500; }
.big-result .delta { background: var(--gold); color: var(--forest); }
.case-step b { font-family: var(--font); font-weight: 600; }
.work-tags li { font-weight: 600; border-color: rgb(0 0 0 / .3); }
.work-tags li:first-child { background: var(--gold); border-color: var(--gold); color: var(--forest); }
.work-shot { border-color: rgb(0 0 0 / .14); }

/* Ventures on the green */
.venture-card { background: rgb(255 255 255 / .06); border-color: var(--line-dark); }
.venture-card h3 { color: var(--sand-light); }
.venture-shot { border-color: rgb(255 255 255 / .2); box-shadow: 0 24px 60px rgb(0 0 0 / .3); }
#ventures { padding-top: 24px; }

/* Contact box */
.cta-box { background: var(--forest); --eyebrow: var(--gold); }
.cta-box h2 { color: var(--sand-light); }
.cta-alt a { color: var(--sand-light); text-decoration-color: var(--gold); }
.cta { padding-top: 40px; }

/* Founder and footer on the sand */
.founder-small { border-top-color: var(--line); }
.founder-small .signature { font-size: 20px; }
.founder-small .signature span { font-family: var(--font); }
.creds li::before { background: var(--gold); }

footer {
  position: relative; overflow: hidden;
  background: var(--sand-light); color: var(--slate);
  border-top: 1px solid var(--line);
}
footer::before { display: none; }
footer > * { position: relative; z-index: 1; }
.foot-meta { color: var(--forest); }
.foot-meta .contact { color: var(--slate); }
.foot-meta .contact a:hover, .footer-links a:hover { color: var(--gold-deep); }
.footer-links a { color: var(--forest); }
.footer-links span { color: var(--steel); }
footer .social a { color: var(--forest); border-color: rgb(0 0 0 / .35); }
footer .social a:hover { background: var(--forest); border-color: var(--forest); color: var(--sand-light); }
.footer-note { color: var(--steel); }

/* Legal */
.legal a { color: var(--forest); }

/* Type scale, a little more air for the serif */
.sub { max-width: 64ch; }
.section-head h2 { font-size: clamp(32px, 3.8vw, 50px); line-height: 1.08; }
.cta-box h2 { font-size: clamp(32px, 4.2vw, 58px); }
.sub { font-size: 19px; font-weight: 400; }
.gap h2 { font-size: clamp(28px, 3.4vw, 42px); }

@media (max-width: 1000px) {
  .hero-copy { max-width: none; }
}

@media (max-width: 620px) {
  .hero::before { display: none; }
  .hero h1 .turn, h2 em {
    display: inline; text-decoration: none; background: none;
    font-style: normal; color: inherit;
  }
}

/* --------------------------------------------------------------------------
   Logo colours, by class (the CSP forbids style attributes)
   -------------------------------------------------------------------------- */
.lg-ground { fill: var(--logo-ground, #fff); }
.lg-ink { fill: var(--logo-ink, #111); }
.lg-ink-stroke { stroke: var(--logo-ink, #111); }
.lg-ground-stroke { stroke: var(--logo-ground, #fff); }

/* --------------------------------------------------------------------------
   Hero slideshow
   -------------------------------------------------------------------------- */
.hero { padding: 0; }
.hero-slides { position: relative; min-height: min(680px, 78vh); display: grid; }
.slide {
  grid-area: 1 / 1;
  display: flex; align-items: center;
  padding: 72px 0 96px;
  opacity: 0; transition: opacity .7s ease;
  position: relative; overflow: hidden;
}
.slide::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity .9s ease, transform 8s linear;
  transform: scale(1.04);
}
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(10 10 10 / .97) 0%, rgb(10 10 10 / .9) 40%, rgb(10 10 10 / .55) 100%);
  opacity: 0; transition: opacity .9s ease;
}
.slide.is-active { opacity: 1; z-index: 1; }
.slide.is-active::before { opacity: .38; transform: scale(1); }
.slide.is-active::after { opacity: 1; }
.slide.is-leaving { opacity: 0; z-index: 0; }
.slide > .wrap { position: relative; z-index: 2; }
.slide .hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.slide.is-active .hero-copy > * { opacity: 1; transform: none; }
.slide.is-active .hero-copy > :nth-child(2) { transition-delay: .08s; }
.slide.is-active .hero-copy > :nth-child(3) { transition-delay: .16s; }
.slide.is-active .hero-copy > :nth-child(4) { transition-delay: .24s; }
.slide-eyebrow { margin: 0 0 22px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.slide-title, .hero h1 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(44px, 7vw, 104px); line-height: 1.0; letter-spacing: -.015em;
  max-width: 14ch; margin: 0; color: var(--sand-light);
}
.slide-title .turn { font-style: normal; color: inherit; }
.hero-copy { max-width: 1100px; }
.slide .ctas { margin-top: 36px; }

.hero-tabs-wrap { display: flex; align-items: flex-end; gap: 24px; border-top: 1px solid rgb(255 255 255 / .14); }
.hero-tabs { display: grid; grid-template-columns: repeat(4, 1fr); flex: 1; }
.hero-tab {
  position: relative; background: none; border: 0; cursor: pointer;
  padding: 22px 0 26px; text-align: left; font-family: var(--font);
  font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  color: rgb(255 255 255 / .55); transition: color .2s ease;
}
.hero-tab:hover, .hero-tab.is-active { color: #fff; }
.tab-bar { position: absolute; top: -1px; left: 0; right: 24px; height: 2px; background: rgb(255 255 255 / .12); overflow: hidden; }
.tab-fill { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hero-tab.is-running .tab-fill { animation: tabfill 7s linear forwards; }
.hero-tab.is-active:not(.is-running) .tab-fill { transform: scaleX(1); }
@keyframes tabfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-pause {
  flex: none; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%;
  border: 1px solid rgb(255 255 255 / .35); background: transparent; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.pause-ic { width: 10px; height: 12px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero-pause.is-paused .pause-ic { border: 0; width: 0; height: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* --------------------------------------------------------------------------
   Story slider
   -------------------------------------------------------------------------- */
.story-track { display: grid; }
.story { grid-area: 1 / 1; }
.story.work-card {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0 40px; align-items: center; align-content: center;
  padding: 28px; opacity: 0; transform: translateY(14px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.story.is-active { opacity: 1; transform: none; }
.story .work-shot { order: 2; }
.story .work-meta { grid-column: 1; margin-top: 0; }
.story h3 { grid-column: 1; font-size: clamp(26px, 3vw, 40px); margin: 14px 0 12px; }
.story > p:not(.work-meta) { grid-column: 1; font-size: 16px; }
.story .work-tags { grid-column: 1; margin: 0; padding-top: 22px; }
.story .work-shot { grid-column: 2; grid-row: 1 / span 4; }
.story-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 22px; }
.story-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; font-size: 18px; color: var(--forest);
  transition: background .2s ease, color .2s ease;
}
.story-btn:hover { background: var(--forest); color: var(--sand-light); }
.story-dots { display: flex; gap: 10px; }
.story-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgb(0 0 0 / .22); cursor: pointer; }
.story-dot.is-active { background: var(--gold); }

/* --------------------------------------------------------------------------
   Scroll reveals
   -------------------------------------------------------------------------- */
.has-rv .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.has-rv .rv.in { opacity: 1; transform: none; }
.has-rv .rv-d1.in { transition-delay: .08s; }
.has-rv .rv-d2.in { transition-delay: .16s; }
.has-rv .rv-d3.in { transition-delay: .24s; }

@media (max-width: 1000px) {
  .hero-tabs { grid-template-columns: repeat(2, 1fr); }
  .story.work-card { grid-template-columns: 1fr; gap: 0; align-content: start; }
  .story .work-shot { margin-bottom: 18px; }
  .story h3 { margin: 10px 0 8px; }
  .story .work-shot { grid-column: 1; grid-row: auto; order: -1; }
  .story .work-meta, .story h3, .story > p, .story .work-tags { grid-column: 1; }
}
@media (max-width: 620px) {
  .hero-slides { min-height: 0; }
  .slide { padding: 44px 0 40px; }
  .slide-title, .hero h1 { font-size: clamp(32px, 9.4vw, 44px); line-height: 1.06; max-width: none; }
  .slide-eyebrow { margin-bottom: 16px; }
  .slide .ctas { margin-top: 24px; }
  /* Story-style bars: four segments in one row, only the current name shown. */
  .hero-tabs-wrap { gap: 14px; align-items: center; border-top: 0; padding: 14px 24px 18px; }
  .hero-tabs { grid-template-columns: repeat(4, 1fr); gap: 6px; position: relative; padding-bottom: 26px; }
  .hero-tab { position: static; padding: 0; font-size: 11px; letter-spacing: 1.2px; }
  .tab-bar { position: relative; top: auto; left: auto; right: auto; display: block; height: 3px; border-radius: 2px; overflow: hidden; }
  .tab-label { display: none; }
  .hero-tab.is-active .tab-label { display: block; position: absolute; left: 0; top: 12px; color: #fff; }
  .hero-pause { margin-bottom: 0; width: 36px; height: 36px; align-self: flex-start; }
  .story.work-card { padding: 12px 12px 22px; }
  .story-nav { gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .slide::before, .slide::after, .slide .hero-copy > *, .story.work-card { transition: none; }
  .hero-tab.is-running .tab-fill { animation: none; transform: scaleX(1); }
}

/* --------------------------------------------------------------------------
   Hero slide backgrounds. Full-bleed photography, no blur, the way Bain
   does it: a dark scrim on the left for the copy, a slow push-in while the
   slide is on screen, a crossfade between slides. Photographs from
   Unsplash (licence permits commercial use); credits in assets/img/CREDITS.txt.
   -------------------------------------------------------------------------- */
.slide::before, .slide::after { display: block; }
.slide::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.0);
  transition: opacity 1.1s ease, transform 9s linear;
}
.slide::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background:
    linear-gradient(180deg, rgb(10 10 10 / .55) 0%, rgb(10 10 10 / 0) 30%, rgb(10 10 10 / 0) 70%, rgb(10 10 10 / .7) 100%),
    linear-gradient(90deg, rgb(10 10 10 / .88) 0%, rgb(10 10 10 / .62) 42%, rgb(10 10 10 / .18) 100%);
  transition: opacity 1.1s ease;
}
.slide.is-active::before { opacity: 1; transform: scale(1.07); }
.slide.is-active::after { opacity: 1; }

.slide-systems::before { background-image: url("../img/hero-systems.webp"); background-position: 70% center; }
.slide-gap::before { background-image: url("../img/hero-gap.webp"); background-position: center 40%; }
.slide-os::before { background-image: url("../img/hero-os.webp"); background-position: 60% center; }
.slide-work::before { background-image: url("../img/hero-work.webp"); background-position: 78% center; }

.hero-slides { min-height: min(720px, 82vh); }
.slide-title, .hero h1 { max-width: 14ch; }
.slide .hero-grid { display: block; }

@media (max-width: 900px) {
  .slide-systems::before { background-image: url("../img/hero-systems-m.webp"); }
  .slide-gap::before { background-image: url("../img/hero-gap-m.webp"); }
  .slide-os::before { background-image: url("../img/hero-os-m.webp"); }
  .slide-work::before { background-image: url("../img/hero-work-m.webp"); }
}
@media (max-width: 620px) {
  .slide::after { background: linear-gradient(180deg, rgb(10 10 10 / .78) 0%, rgb(10 10 10 / .66) 55%, rgb(10 10 10 / .88) 100%); }
  .slide.is-active::before { transform: scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .slide::before { transition: opacity .01ms; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Practices: four equal tiles and a full-width difference row
   -------------------------------------------------------------------------- */
.practices .tile.large { grid-column: span 6; min-height: 0; }
.practices .tile.wide12 { grid-column: span 12; }
.tile-lead { font-size: 17px !important; line-height: 1.5 !important; color: var(--ink) !important; font-weight: 500; margin: 0 0 12px !important; max-width: none !important; }
.tile.dark .tile-lead { color: var(--sand-light) !important; }
.tile.accent .tile-lead { color: var(--forest) !important; }
.practices .tile p:not(.num):not(.tile-lead):not(.caps-label) { max-width: none; }
.caps { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.tile.dark .caps { border-top-color: var(--line-dark); }
.tile.accent .caps { border-top-color: rgb(0 0 0 / .18); }
.caps-label { margin: 0 0 10px !important; font-size: 11px !important; letter-spacing: 1.8px; text-transform: uppercase; color: var(--steel) !important; font-weight: 700; line-height: 1.4 !important; }
.tile.dark .caps-label { color: var(--gold) !important; }
.tile.accent .caps-label { color: var(--forest) !important; }
.caps .chips { margin-top: 0; }
.difference { background: var(--forest); border-color: var(--forest); }
.difference h3, .difference .tile-lead { color: var(--sand-light) !important; }
.difference .num { color: var(--gold); }
.difference p:not(.num):not(.tile-lead) { color: var(--mist); }
.diff-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; width: 100%; }
.method { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.method li {
  counter-increment: step; display: flex; align-items: center; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .16);
  font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); color: var(--sand-light);
}
.method li:first-child { border-top: 1px solid rgb(255 255 255 / .16); }
.method li::before { content: counter(step, decimal-leading-zero); font-family: var(--font); font-size: 11px; letter-spacing: 2px; color: var(--gold); min-width: 26px; }
@media (max-width: 1000px) {
  .practices .tile.large, .practices .tile.wide12 { grid-column: auto; }
  .practices { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* Phones: capabilities as a plain dotted line, not a stack of pills */
@media (max-width: 620px) {
  .caps { margin-top: 18px; padding-top: 14px; }
  .caps .chips { display: block; line-height: 1.8; }
  .caps .chip {
    display: inline; border: 0; padding: 0; border-radius: 0;
    font-size: 13px !important; font-weight: 500; letter-spacing: 0 !important; text-transform: none;
    color: var(--slate);
  }
  .caps .chip:not(:last-child)::after { content: "\00a0\00b7 "; color: var(--gold); font-weight: 700; }
  .tile.dark .caps .chip { color: var(--mist); }
  .tile.accent .caps .chip { color: var(--forest); }
}

/* Wordmark hyphen drawn as a rule, since the serif hyphen is hairline thin */
.brand-name .brand-dash { display: inline-block; width: .5em; height: .15em; background: currentColor; vertical-align: .22em; margin: 0 .12em; border-radius: 1px; }
.brand-name .brand-dash { color: #fff; }

/* ── Logo draw-on ─────────────────────────────────────────────────────
   Chrome's <use> shadow-tree only exposes elements to SINGLE-CLASS CSS
   selectors; compound and descendant selectors do not cross that boundary.
   Animation gated via --lg-play, inherited from html.has-logo-anim (set by
   motion.js). fill-mode:both + play-state:paused applies the from-state at
   first paint so paths are invisible until JS runs and triggers the reveal.

   Timing: outer ring fill fades in → outer radials draw on → inner ring
   fill fades in → inner radials draw on. ~1.3 s total sequence.

   Dasharray maths: pattern period = 2 × dasharray. To guarantee a path is
   invisible at dashoffset = dasharray: offset ≡ dasharray mod 2·dasharray
   → first dash starts at pattern position dasharray, outside [0, path_len].
   ─────────────────────────────────────────────────────────────────────*/
html.has-logo-anim { --lg-play: running; }

/* Outer ring fill — fades in first */
.lg-ground {
  animation: lgFadeIn 0.5s ease 0.12s both;
  animation-play-state: var(--lg-play, paused);
}
/* All stroke paths — outer radials + ring outlines draw on.
   dasharray:8000 → dashoffset:8000 puts the entire path in the gap. */
.lg-ink-stroke {
  stroke-dasharray: 8000;
  animation: lgDraw8 0.85s cubic-bezier(0.4,0,0.2,1) 0.3s both;
  animation-play-state: var(--lg-play, paused);
}
/* Inner radials draw on; dasharray:4000, period:8000. */
.lg-ground-stroke {
  stroke-dasharray: 4000;
  animation: lgDraw4 0.5s cubic-bezier(0.4,0,0.2,1) 0.8s both;
  animation-play-state: var(--lg-play, paused);
}
/* Inner ring fill + central circle fade in */
.lg-ink {
  animation: lgFadeIn 0.4s ease 0.7s both;
  animation-play-state: var(--lg-play, paused);
}

@keyframes lgFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lgDraw8 {
  from { stroke-dashoffset: 8000; }
  to   { stroke-dashoffset: 0; }
}
@keyframes lgDraw4 {
  from { stroke-dashoffset: 4000; }
  to   { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .lg-ground, .lg-ink-stroke, .lg-ground-stroke, .lg-ink {
    animation: none !important;
  }
}
.nav-sheet-panel .brand-name .brand-dash { color: var(--forest); }
