/* Educational Services look. The bones are the cohort pages' recipes (type, glass bar, frost and glass, reveal, sheen, dust),
   kept whole; the palette is sage-led, the photographs are macro nature studies, and the page is always light. */
@font-face { font-family: "Instrument Serif"; src: url("fonts/instrument-serif-normal.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; font-weight: 400 700; src: url("fonts/instrument-sans-latin-400-700.woff2") format("woff2"); font-display: swap; }
:root {
  /* sage leads */
  --sage-100: #e3ebe1; --sage-300: #b5c8b6; --sage-500: #7f9d87; --sage-700: #4f6b59; --sage-900: #2f4537;
  /* the grounds: light, always */
  --paper: #fcfaf6; --linen: #f5f2ea;
  /* harbor slate: water and sky, the second data color */
  --slate-300: #a9c2da; --slate-500: #6f93b5; --slate-700: #3e5f80;
  /* sand: warmth, and the color for a change for the worse (never red) */
  --sand-100: #f6efe4; --sand-300: #e6d3b8; --sand-500: #c9a77f;
  /* lavender: comparison lines only */
  --lav-300: #cdc8e6; --lav-500: #9d97c4; --lav-700: #6d6894;
  /* the district accent: the navy from the district's own email signature. The district is not green; sage is the personal layer. */
  --district: #2e487b;
  --ink: #1f2522; --body: #4a524c; --muted: #6b7268;
  --serif: "Instrument Serif", Georgia, serif; --sans: "Instrument Sans", system-ui, sans-serif; --gut: clamp(20px, 7vw, 150px);
  --moving: linear-gradient(90deg, #2f4537, #4f6b59, #7f9d87, #8fb0b8, #6f93b5, #4f6b59, #2f4537);
  --button: linear-gradient(110deg, #2f4537, #4f6b59, #7f9d87, #4f6b59, #2f4537);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 18px/1.62 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; } .skip:focus { left: 12px; z-index: 50; background: #fff; color: var(--ink); padding: 8px 12px; }

h1, h2, h3 { font-family: var(--sans); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -.028em; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 88px); line-height: 1.02; }
h2 { font-size: clamp(32px, 4vw, 62px); line-height: 1.06; }
h3 { font-size: clamp(19px, 1.5vw, 23px); line-height: 1.2; font-weight: 500; letter-spacing: -.01em; }
/* the turn: italic, in the slowly cycling sage; padding and margin give the italic room so the gradient never clips */
.turn { font-family: var(--serif); font-style: italic; letter-spacing: -.005em; color: transparent; background: var(--moving); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: moving 10s ease-in-out infinite;
  padding: .06em .14em .12em .1em; margin: 0 -.08em 0 -.1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.glass .turn { color: #fff; background: none; animation: none; }
@keyframes moving { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--sage-700); margin: 0 0 22px; }
.lede { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.6; max-width: 32em; margin: 26px 0 0; }
.sample { display: inline-block; padding: 6px 11px; border-radius: 99px; background: var(--sand-100); border: 1px solid rgba(201,167,127,.5); color: #6a5236; font: 700 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; vertical-align: middle; }

/* clear glass over a photograph: for titles on an image, white words */
.glass { position: relative; overflow: hidden; color: #fff; border: 1px solid rgba(255,255,255,.34); border-radius: 18px;
  background: linear-gradient(135deg, rgba(118,158,146,.40) 0%, rgba(150,142,196,.26) 50%, rgba(206,170,140,.24) 100%);
  -webkit-backdrop-filter: blur(10px) saturate(1.3); backdrop-filter: blur(10px) saturate(1.3); box-shadow: 0 30px 80px rgba(20,30,25,.28), inset 0 1px 0 rgba(255,255,255,.45); }
.glass h1, .glass h2, .glass h3 { color: #fff; }
.glass .eyebrow { color: rgba(255,255,255,.86); }
/* frost: the white frosted card, the default surface for words and numbers */
.frost { position: relative; overflow: hidden; background: linear-gradient(135deg, rgba(255,253,248,.82), rgba(255,253,248,.68)); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; -webkit-backdrop-filter: blur(9px) saturate(1.25); backdrop-filter: blur(9px) saturate(1.25); box-shadow: 0 30px 80px rgba(40,60,50,.16), inset 0 1px 0 #fff; color: var(--ink); }
/* the light crossing the glass */
.glass::after, .frost.sheen::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.10) 47%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.10) 53%, transparent 62%); transform: translateX(-40%); transition: transform 2.6s cubic-bezier(.2,.7,.2,1); }
.glass.in::after, .in .glass::after, .frost.sheen.in::after { transform: translateX(40%); }
/* the soft ground: sage, mist, sand and a breath of lavender */
.pastel { background: radial-gradient(58% 70% at 12% 18%, #dfe9dc 0, rgba(223,233,220,0) 62%), radial-gradient(52% 64% at 88% 22%, #d9e5ef 0, rgba(217,229,239,0) 64%), radial-gradient(64% 60% at 62% 92%, #f1e4d0 0, rgba(241,228,208,0) 62%), radial-gradient(48% 52% at 26% 88%, #e4e1f1 0, rgba(228,225,241,0) 62%), #f8f8f2; }
/* photographs come in through --img, set inline as url(img/name.webp): the path is read from this assets folder */
/* a photograph washed into the page: quiet texture behind words */
.wash { position: relative; background: var(--linen); }
.wash::before { content: ""; position: absolute; inset: 0; background: var(--img) center / cover no-repeat; opacity: .11; filter: saturate(.6) brightness(1.6); pointer-events: none; }
.wash > * { position: relative; }

.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].in { opacity: 1; transform: none; }
[data-d="1"] { transition-delay: .1s; } [data-d="2"] { transition-delay: .2s; } [data-d="3"] { transition-delay: .3s; } [data-d="4"] { transition-delay: .4s; }
[data-fx~="rise"] { transform: translate3d(0, calc((1 - var(--e, 1)) * 56px), 0) scale(calc(.955 + var(--e, 1) * .045)); opacity: var(--e, 1); will-change: transform, opacity; }
.glass[data-fx~="sheen"]::after, .frost[data-fx~="sheen"]::after { transition: none; transform: translate3d(calc(var(--k, .5) * 70% - 35%), 0, 0); }

/* top bar: the cohort glass slab, floating inset once you scroll */
.bar { position: fixed; z-index: 20; top: 10px; left: clamp(10px, 2vw, 28px); right: clamp(10px, 2vw, 28px); height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 clamp(14px, 2vw, 26px); color: var(--sage-900); border: 1px solid rgba(255,255,255,.5); border-radius: 18px; isolation: isolate;
  background: radial-gradient(130% 160% at 8% -20%, rgba(255,255,255,.7), rgba(255,255,255,0) 55%), radial-gradient(90% 120% at 96% 120%, rgba(127,157,135,.18), rgba(127,157,135,0) 60%), linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.08)), rgba(255,255,255,.3);
  -webkit-backdrop-filter: blur(42px) saturate(1.8) brightness(1.04); backdrop-filter: blur(42px) saturate(1.8) brightness(1.04);
  box-shadow: 0 1px 2px rgba(20,35,28,.05), 0 18px 50px -6px rgba(20,35,28,.18), inset 0 1px 0 rgba(255,255,255,.9), inset 0 -1px 0 rgba(255,255,255,.22), inset 0 0 22px rgba(255,255,255,.18);
  transition: top .5s cubic-bezier(.2,.7,.2,1), left .5s cubic-bezier(.2,.7,.2,1), right .5s cubic-bezier(.2,.7,.2,1), background .4s ease, border-color .4s ease, box-shadow .4s ease, border-radius .5s ease; }
.bar::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none; transition: opacity .4s ease;
  background: linear-gradient(118deg, rgba(255,255,255,.95), rgba(255,255,255,.28) 28%, rgba(255,255,255,.06) 50%, rgba(255,255,255,.22) 72%, rgba(255,255,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.bar::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: linear-gradient(105deg, transparent 36%, rgba(255,255,255,.16) 46%, rgba(255,255,255,.3) 50%, rgba(255,255,255,.16) 54%, transparent 64%); transform: translateX(-70%); transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .4s ease; }
.bar:hover::after { transform: translateX(70%); }
.js .bar.atop { top: 0; left: 0; right: 0; height: 64px; padding: 0 var(--gut); border-color: transparent; border-radius: 0; background: rgba(255,255,255,0); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.js .bar.atop::before, .js .bar.atop::after { opacity: 0; }
.bar .brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; font: 500 14px/1.2 var(--sans); }
.bar .brand img { width: 28px; height: 28px; flex: none; }
.bar .brand .unit { color: var(--sage-700); }
.bar .brand .dot { color: var(--sage-500); margin: 0 2px; }
.bar nav { position: relative; display: flex; gap: 2px; }
.bar nav a { position: relative; z-index: 1; font: 500 14px/1 var(--sans); text-decoration: none; color: var(--sage-900); opacity: .78; padding: 11px 14px; border-radius: 99px; transition: opacity .25s ease, transform .25s ease; }
.bar nav a:hover, .bar nav a:focus-visible, .bar nav a.on { opacity: 1; }
.bar nav a:hover { transform: translateY(-1px); }
.navpill { position: absolute; z-index: 0; left: 0; top: 0; height: 100%; width: 0; border-radius: 99px; opacity: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.62)); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 6px 18px rgba(30,50,40,.12), inset 0 1px 0 #fff, inset 0 -1px 0 rgba(30,50,40,.06);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1), opacity .3s ease; }
.navpill.show { opacity: 1; }
.bar a.start, .act.main { position: relative; overflow: hidden; color: #fff; border: 1px solid transparent; background: var(--button); background-size: 300% 100%; animation: moving 10s ease-in-out infinite; box-shadow: 0 10px 24px -12px rgba(30,50,40,.6), inset 0 1px 0 rgba(255,255,255,.4); }
.bar a.start { display: inline-flex; flex: none; align-items: center; min-height: 38px; padding: 0 18px; border-radius: 99px; font: 500 14px/1 var(--sans); text-decoration: none; transition: transform .25s ease; }
.bar a.start::after, .act.main::after { content: ""; position: absolute; inset: -40% -60%; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.22) 47%, rgba(255,255,255,.34) 50%, rgba(255,255,255,.22) 53%, transparent 62%); transform: translateX(-60%); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.bar a.start:hover, .act.main:hover { transform: translateY(-1px); } .bar a.start:hover::after, .act.main:hover::after { transform: translateX(60%); }
.js .bar.atop .navpill { background: rgba(255,255,255,.5); }

/* 1. the opening: a macro photograph that drifts with the scroll, a field of grains that settles, a frosted window over it */
.open { position: relative; height: 100vh; height: 100svh; }
@media (prefers-reduced-motion: no-preference) { .js .open { height: 200vh; height: 200svh; } }
.stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--slate-300); }
.still { position: absolute; inset: -3%; background: var(--img) center / cover no-repeat; will-change: transform; }
.stick .shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,250,245,.5), rgba(251,250,245,0) 22%, rgba(30,45,40,.10) 70%, rgba(251,250,245,.2)); pointer-events: none; }
#field { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.stick::after { content: ""; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 26vh; pointer-events: none; background: linear-gradient(180deg, rgba(251,250,245,0), var(--paper)); opacity: 1; }
.js .stick::after { opacity: var(--x, 0); }
.openline { position: absolute; z-index: 4; left: 50%; top: 52%; width: min(900px, 90vw); text-align: center; padding: clamp(30px, 5vw, 64px) clamp(20px, 5vw, 70px); border-radius: 32px; transform: translate(-50%, calc(-50% - var(--x, 0) * 46px)); opacity: calc(1 - var(--x, 0)); }
.openline .lede { margin: 24px auto 0; color: var(--body); }
.openline .cta { margin: 30px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.js .openline [data-in] { opacity: 0; transform: translateY(12px); transition: opacity 1.1s ease, transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .openline [data-in].in { opacity: 1; transform: none; }
.grabber { display: block; width: 112px; height: 6px; margin: 18px auto 0; border-radius: 4px; background: rgba(255,255,255,.75); box-shadow: 0 1px 6px rgba(20,35,28,.12); }

/* sections */
.sec { padding: clamp(100px, 16vh, 190px) var(--gut); }
.sec.linen { background: var(--linen); }
.yes { padding: clamp(100px, 16vh, 180px) var(--gut); text-align: center; }
.yes h2 { max-width: 15em; margin: 0 auto; }
.yes p { margin: 24px auto 0; max-width: 32em; font-size: clamp(18px, 1.45vw, 21px); }
.top { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.top .side { margin: 0 0 6px auto; max-width: 26em; font-size: 17.5px; }
.cut { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 90px); align-items: center; }

/* color */
.ramp { display: grid; grid-template-columns: repeat(5, 1fr); margin: clamp(40px, 5vw, 60px) 0 0; border-radius: 18px; overflow: hidden; box-shadow: 0 2px 4px rgba(30,50,40,.05), 0 30px 60px -40px rgba(30,50,40,.5); }
.ramp div { min-height: clamp(150px, 16vw, 230px); padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 14px; line-height: 1.35; }
.ramp b { font: 500 clamp(17px, 1.3vw, 20px)/1.2 var(--sans); }
.ramp code, .sw code { font: 500 12.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace; opacity: .8; }
.ramp .lt { color: var(--ink); } .ramp .dk { color: #fff; }
.swatches { list-style: none; margin: clamp(18px, 2vw, 26px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 18px); }
.sw { background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid rgba(30,50,40,.08); box-shadow: 0 20px 40px -34px rgba(30,50,40,.5); }
.sw .chips { display: grid; grid-template-columns: 2fr 1fr; height: 92px; }
.sw .chips.one { grid-template-columns: 1fr; }
.sw .chips span { display: block; }
.sw div.t { padding: 14px 16px 16px; }
.sw b { display: block; font: 500 18px/1.25 var(--sans); color: var(--ink); }
.sw p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.45; }
.ratio { margin: clamp(26px, 3vw, 36px) 0 0; font-size: 16px; max-width: 46em; }
.ratio b { color: var(--ink); font-weight: 600; }

/* type */
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 16px 0 17px; border-top: 1px solid rgba(30,50,40,.14); font-size: 17px; line-height: 1.5; }
.facts li > b { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 8px; }
.spec-1 { font: 400 clamp(36px, 4vw, 58px)/1.05 var(--sans); color: var(--ink); letter-spacing: -.028em; }
.spec-2 { font: 500 clamp(22px, 2vw, 28px)/1.2 var(--sans); color: var(--ink); letter-spacing: -.01em; }
.spec-n { font: 400 clamp(56px, 6vw, 88px)/1 var(--sans); color: var(--sage-900); letter-spacing: -.04em; font-variant-numeric: lining-nums; }
.logos { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; margin: clamp(32px, 3.6vw, 48px) 0 0; padding: clamp(22px, 2.6vw, 32px); }
.logos img { width: clamp(84px, 8vw, 110px); height: auto; }
.slot { margin: 0; padding: 18px 20px; border-radius: 12px; border: 1.5px dashed rgba(79,107,89,.5); background: rgba(255,255,255,.55); font-size: 15px; line-height: 1.5; color: var(--sage-900); }
.slot b { display: block; font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-700); margin-bottom: 6px; }
.logos .note { grid-column: 1 / -1; margin: 0; font-size: 15px; }

/* images: nature cards with light glass captions */
.tiles { list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.3vw, 18px); }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; aspect-ratio: 4 / 3.6; border-radius: 3px; overflow: hidden; background: var(--slate-300); box-shadow: 0 2px 4px rgba(30,50,40,.06), 0 24px 48px -30px rgba(30,50,40,.45); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s cubic-bezier(.2,.7,.2,1); }
.tile:hover img { transform: scale(1.05); }
.tcap { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; padding: 14px 16px 15px; border-radius: 12px; background: rgba(255,253,248,.74); border: 1px solid rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px) saturate(1.2); backdrop-filter: blur(8px) saturate(1.2); color: var(--ink); }
.tcap h3 { font-size: clamp(20px, 1.5vw, 23px); }
.tcap p { margin: 5px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--body); }
.tcap code { font: 500 12px/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--sage-700); }
.swipe { display: none; font: 600 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--sage-700); margin: 26px 0 0; }
.credit { margin: 22px 0 0; font-size: 14px; color: var(--muted); }

/* glass: a photograph under the two cards */
.photo { position: relative; overflow: hidden; padding: clamp(100px, 15vh, 170px) var(--gut); background: var(--slate-500) var(--img) center / cover no-repeat; }
.photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20,30,28,.18); }
.photo > * { position: relative; z-index: 2; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); max-width: 1180px; margin: 0 auto; }
.pair > div { padding: clamp(26px, 3.4vw, 44px); }
.pair p { margin: 14px 0 0; font-size: 17px; line-height: 1.55; }
.glass p { color: rgba(255,255,255,.95); }
.recipe { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid rgba(30,50,40,.14); font: 400 13.5px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--body); overflow-wrap: anywhere; }
.glass .recipe { border-top-color: rgba(255,255,255,.3); color: rgba(255,255,255,.9); }

/* components */
.kit { max-width: 1180px; margin: 0 auto; padding: clamp(26px, 4vw, 56px); }
.kitrow { display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: center; padding: 20px 0; border-top: 1px solid rgba(30,50,40,.12); }
.kitrow:first-of-type { border-top: 0; }
.kitrow > span { font: 600 12px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sage-700); }
.kitrow .row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.act { cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 22px; border-radius: 99px; font: 500 15px/1 var(--sans); text-decoration: none; color: var(--sage-900); background: transparent; border: 1px solid rgba(47,69,55,.32); transition: transform .25s ease, background .25s ease; }
.act:hover { transform: translateY(-1px); background: rgba(255,255,255,.7); }
.pill { display: inline-flex; align-items: center; font: 500 14px/1 var(--sans); color: var(--sage-900); text-decoration: none; padding: 13px 20px; border-radius: 99px; background: rgba(255,255,255,.9); box-shadow: 0 10px 24px -12px rgba(20,30,25,.45); transition: transform .25s ease; }
.pill:hover { transform: translateY(-1px); }
.marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.marks li { font: 500 14px/1 var(--sans); color: var(--sage-900); padding: 11px 16px; border-radius: 99px; background: rgba(255,255,255,.7); border: 1px solid rgba(47,69,55,.16); }
/* the select keeps its own thin chevron, never the native arrow */
.sel { position: relative; display: inline-block; min-width: 220px; }
.sel select { width: 100%; min-height: 44px; margin: 0; padding: 0 42px 0 16px; font: 500 15px/1.2 var(--sans); color: var(--sage-900); background: rgba(255,255,255,.82); border: 1px solid rgba(47,69,55,.24); border-radius: 99px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.sel select::-ms-expand { display: none; }
.sel select:focus { outline: none; border-color: var(--sage-700); box-shadow: 0 0 0 3px rgba(127,157,135,.25); }
.sel::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid var(--sage-900); border-bottom: 1.5px solid var(--sage-900); transform: translateY(-70%) rotate(45deg); pointer-events: none; }

/* charts: warm paper cards, sage and slate, no red */
.charts { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(14px, 1.6vw, 20px); margin: clamp(40px, 5vw, 60px) 0 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 18px); margin: clamp(40px, 5vw, 60px) 0 0; }
.kpi { padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 20px 40px -30px rgba(30,50,40,.45); transition: transform .28s ease; }
.kpi:hover { transform: translateY(-2px); }
.kpi span { display: block; font: 600 12px/1.35 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kpi b { display: block; margin-top: 8px; font: 400 clamp(36px, 3.2vw, 50px)/1 var(--sans); letter-spacing: -.035em; color: var(--ink); font-variant-numeric: tabular-nums; }
.kpi small { display: block; margin-top: 6px; font-size: 13.5px; color: var(--body); }
.kpi small em { font-style: normal; font-weight: 600; color: var(--sage-700); }
.kpi small em.down { color: #8a6a43; }
.card { position: relative; padding: 22px 24px; border-radius: 18px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 20px 40px -26px rgba(30,50,40,.4); display: grid; grid-template-rows: auto 1fr auto; gap: 12px; min-width: 0; transition: box-shadow .28s ease, transform .28s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -28px rgba(30,50,40,.5); }
.card h4 { margin: 0; font: 600 17px/1.3 var(--sans); color: var(--ink); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.card h4 small { flex-basis: 100%; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.card svg { display: block; width: 100%; height: auto; overflow: visible; }
.card svg text { font-family: var(--sans); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend i.dash { width: 16px; height: 0; border-radius: 0; border-top: 2px dashed var(--lav-700); vertical-align: 3px; }
.src { margin: 0; font-size: 12.5px; color: var(--muted); }
.tip { position: absolute; z-index: 5; pointer-events: none; display: none; gap: 2px; padding: 9px 12px 10px; border-radius: 12px; background: rgba(255,255,255,.97); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 12px 30px -14px rgba(0,0,0,.3); }
.tip.on { display: grid; }
.tip span { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip b { font: 700 19px/1.1 var(--sans); color: var(--sage-900); font-variant-numeric: tabular-nums; }
.hb .hbar { transition: opacity .2s ease; } .hb:hover .hbar { opacity: .45; } .hb g.r:hover .hbar, .hb g.r.hot .hbar { opacity: 1; }
.chartrules { list-style: none; margin: clamp(30px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); }
.chartrules li, .cols div { border-top: 1px solid rgba(30,50,40,.14); padding-top: 18px; font-size: 17px; }
.chartrules b, .cols b { display: block; font: 500 clamp(18px, 1.4vw, 21px)/1.25 var(--sans); letter-spacing: -.01em; color: var(--ink); margin-bottom: 4px; }

/* do and don't */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 72px); margin: clamp(40px, 5vw, 60px) 0 0; }
.cols ul { list-style: none; margin: 8px 0 0; padding: 0; }
.cols li { position: relative; padding: 9px 0 9px 26px; font-size: 17.5px; line-height: 1.5; }
.cols li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--sage-500); }
.cols .dont li::before { background: none; border: 1.5px solid var(--sand-500); }

/* close */
.closer { min-height: 78svh; display: grid; place-items: center; }
.closer .frost { width: min(820px, 100%); padding: clamp(30px, 4.4vw, 60px); text-align: center; }
.closer .lede { margin-left: auto; margin-right: auto; }
.closer .row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px 0 0; }
footer { padding: 30px var(--gut) 40px; display: flex; flex-wrap: wrap; gap: 10px 30px; justify-content: space-between; font-size: 14px; color: var(--muted); background: var(--paper); border-top: 1px solid rgba(30,50,40,.07); }
footer b { color: var(--sage-900); font-weight: 600; }

@media (max-width: 1100px) {
  .bar .brand .unit, .bar .brand .dot { display: none; }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles.four { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  body { font-size: 16px; }
  .bar nav { display: none; }
  .top, .cut, .pair, .charts, .cols, .chartrules { grid-template-columns: 1fr; }
  .top { gap: 14px; } .top .side { margin: 0; }
  .ramp { grid-template-columns: 1fr; } .ramp div { min-height: 76px; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .shelf { padding-left: 0; padding-right: 0; } .shelf .top, .shelf .swipe, .shelf .credit { padding-left: var(--gut); padding-right: var(--gut); }
  .tiles { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 4px var(--gut) 18px; scroll-padding: 0 var(--gut); scrollbar-width: none; } .tiles::-webkit-scrollbar { display: none; }
  .tile { flex: 0 0 78vw; aspect-ratio: 3 / 4; scroll-snap-align: start; } .tile[data-reveal] { opacity: 1; transform: none; }
  .swipe { display: block; }
  .kitrow { grid-template-columns: 1fr; gap: 12px; }
  .photo, .closer { padding-left: 14px; padding-right: 14px; }
  .kit { padding: 26px 18px; }
  .recipe { font-size: 12px; }
  .glass, .frost, .tcap { -webkit-backdrop-filter: blur(9px) saturate(1.15); backdrop-filter: blur(9px) saturate(1.15); }
  .openline { width: calc(100vw - 28px); top: 54%; }
  .sel { min-width: 0; width: 100%; }
}
@media (max-width: 520px) { .bar .brand .full { display: none; } .swatches { grid-template-columns: 1fr; } .kpis { gap: 10px; } .kpi { padding: 14px 14px; } .logos { grid-template-columns: 1fr; } }
@media (min-width: 521px) { .bar .brand .short { display: none; } }
@media (prefers-reduced-motion: reduce) { .js .stick::after { opacity: 1; } .js [data-reveal], .js .openline [data-in] { opacity: 1; transform: none; transition: none; } [data-fx] { transform: none; opacity: 1; will-change: auto; } .still { transform: none !important; } .glass::after, .frost.sheen::after { display: none; } .turn, .act.main, .bar a.start { animation: none; } .navpill, .bar nav a, .bar { transition: none; } html { scroll-behavior: auto; } }
