/* Enactus H.R. College: the shared look for the home page and the project pages.
   Each page sets its own palette on :root; everything here reads the tokens.
   Motion is kept quiet on purpose: blocks fade in once as they come into view, numbers count up once,
   and nothing is pinned to the scroll or moves on its own. */
:root {
  --deep: #0b0b0e;
  --ink: #16161b;
  --sea: #2a2a33;
  --line: rgba(255, 255, 255, .13);
  --sand: #f2efe7;
  --paper: #faf8f2;
  --text: #15151a;
  --mute: #5d5d68;
  --mute-d: #a7a7b3;
  --acc: #ffc21a;
  --acc-ink: #1a1400;
  --acc-deep: #e0a200;
  --acc2: #41c9c1;
  --rose: #ff5a7e;
  --teal: #41c9c1;
  --display: "Archivo", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gut: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1240px; margin: 0 auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(72px, 9vw, 128px); }
.dark { background: var(--deep); color: #f0f0f4; }
.inky { background: var(--ink); color: #f0f0f4; }
.sand { background: var(--sand); }
h1, h2, h3, h4 { font-family: var(--display); font-stretch: 110%; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; font-weight: 800; text-wrap: balance; }
h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.15; font-weight: 750; }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12px/1.2 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--sea); }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--acc); transform: rotate(45deg); flex: none; }
.dark .eyebrow, .inky .eyebrow, .on-photo .eyebrow, .hero .eyebrow { color: var(--acc); }
.lede { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--mute); max-width: 58ch; }
.dark .lede, .inky .lede { color: var(--mute-d); }
.sec-head { display: grid; gap: 20px; max-width: 880px; }
.hl { color: var(--acc); }

.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 700 15px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, filter .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-y { background: var(--acc); color: var(--acc-ink); }
.btn-y:hover { filter: brightness(1.08); }
.btn-o { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); color: #fff; }
.btn-o:hover { background: rgba(255, 255, 255, .1); }
.btn-d { background: var(--ink); color: #fff; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .3s, box-shadow .3s; }
.nav.solid { background: color-mix(in srgb, var(--deep) 92%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav-in { height: 76px; display: flex; align-items: center; gap: 24px; padding-top: env(safe-area-inset-top, 0px); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex: none; }
.chip-logo { background: #fff; border-radius: 10px; padding: 6px 10px; display: grid; place-items: center; }
.chip-logo img { height: 26px; width: auto; }
.brand .bar { width: 1px; height: 28px; background: rgba(255, 255, 255, .3); }
.brand b { font: 820 19px/1 var(--display); font-stretch: 118%; letter-spacing: .01em; }
.brand small { display: block; font: 500 11px/1.2 var(--mono); letter-spacing: .14em; color: var(--mute-d); margin-top: 4px; text-transform: uppercase; }
.links { display: flex; gap: 22px; margin: 0 0 0 auto; padding: 0; list-style: none; }
.links a { color: rgba(255, 255, 255, .78); text-decoration: none; font-weight: 500; font-size: 15px; white-space: nowrap; position: relative; transition: color .2s; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.links a:hover, .links a.on, .links a[aria-current] { color: #fff; }
.links a.on::after, .links a[aria-current]::after { transform: scaleX(1); }
.links .sep { width: 1px; background: rgba(255, 255, 255, .22); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
.menu-btn span { display: block; width: 20px; height: 2px; background: currentColor; margin: 5px auto; transition: transform .2s; }
.menu-open .menu-btn span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.sheet { position: fixed; inset: 0; z-index: 55; background: var(--deep); padding: 110px var(--gut) 40px; display: grid; align-content: start; gap: 4px; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.menu-open .sheet { opacity: 1; visibility: visible; transition: opacity .2s; }
.sheet a { font: 800 30px/1.3 var(--display); font-stretch: 110%; color: #fff; text-decoration: none; }
.sheet small { font: 700 11px/1 var(--mono); letter-spacing: .22em; color: var(--mute-d); margin: 18px 0 6px; text-transform: uppercase; }
.sheet .btn { margin-top: 24px; justify-self: start; font-size: 16px; }
.sheet a.sub { font: 600 19px/1.6 var(--body); color: #dcdce4; }
.sheet a[aria-current] { color: var(--acc); }
@media (max-width: 1180px) { .links, .nav-in > .btn { display: none; } .menu-btn { display: block; } }

/* hero */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; overflow: hidden; background: var(--deep); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { position: absolute; top: 0; left: 0; width: 100%; height: var(--hh, 100%); object-fit: cover; object-position: var(--hp, 50% 30%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--deep) 70%, transparent) 0%, color-mix(in srgb, var(--deep) 18%, transparent) 32%, color-mix(in srgb, var(--deep) 58%, transparent) 64%, var(--deep) 100%); }
.hero-main { position: relative; width: 100%; display: flex; align-items: flex-end; padding-top: 112px; padding-bottom: 32px; }
.hero-card { max-width: 720px; background: color-mix(in srgb, var(--deep) 62%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3.4vw, 44px); display: grid; gap: 22px; }
.hero h1 { font-size: clamp(42px, min(6vw, 10vh), 92px); line-height: .94; font-weight: 840; font-stretch: 112%; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero-card p { font-size: clamp(17px, 1.5vw, 20px); color: #dcdce4; max-width: 54ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge { position: absolute; right: var(--gut); top: 116px; width: 200px; background: var(--acc); color: var(--acc-ink); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); text-decoration: none; }
.hero-badge b { font: 860 34px/1 var(--display); font-stretch: 116%; }
.hero-badge span { font-size: 13px; line-height: 1.35; font-weight: 600; }
.hero-badge small { font: 700 10px/1.2 var(--mono); letter-spacing: .14em; opacity: .7; }
@media (max-width: 700px) { .hero-badge { position: relative; top: auto; right: auto; width: auto; display: flex; align-items: center; gap: 12px; border-radius: 14px; padding: 10px 14px; margin: 96px var(--gut) 0; justify-self: start; } .hero-badge b { font-size: 24px; } .hero-main { padding-top: 24px; } .hero { grid-template-rows: auto 1fr auto; } }
/* inner pages (Events, Team, Contact) open with a short header instead of a full-screen hero */
.page-head { padding-block: calc(76px + clamp(48px, 7vw, 96px)) clamp(48px, 6vw, 80px); }
.page-head h1 { margin-top: 18px; font-size: clamp(40px, 5.4vw, 72px); line-height: .98; font-weight: 840; font-stretch: 112%; letter-spacing: -.03em; text-wrap: balance; max-width: 18ch; }
.page-head .lede { margin-top: 20px; }

/* a static row of names under the hero (and in partner bands) */
.strip { position: relative; border-top: 1px solid var(--line); padding: 18px var(--gut) calc(18px + env(safe-area-inset-bottom, 0px)); }
.strip-label { font: 700 11px/1 var(--mono); letter-spacing: .22em; color: var(--mute-d); text-transform: uppercase; text-align: center; margin-bottom: 14px; }
.strip-list { max-width: 1160px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 0; }
.strip-list span { display: inline-flex; align-items: center; gap: 16px; padding-right: 16px; font: 700 clamp(14px, 1.2vw, 16px)/1.3 var(--display); font-stretch: 106%; color: #fff; opacity: .9; }
.strip-list span:not(:last-child)::after { content: ""; width: 6px; height: 6px; background: var(--acc); transform: rotate(45deg); flex: none; }
.strip-list span:last-child { padding-right: 0; }
.strip-list.dark-text span { color: var(--text); }
@media (max-width: 700px) { .strip-list span { font-size: 13px; gap: 12px; padding-right: 12px; } .strip-list span:not(:last-child)::after { width: 5px; height: 5px; } }

/* blocks fade in once as they come into view */
.js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .6s ease-out, transform .6s ease-out; transition-delay: var(--d, 0ms); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* stat cards */
.stats { background: var(--sand); padding-block: clamp(64px, 8vw, 104px); }
.stats-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 40px; margin-bottom: 40px; }
.stats-head h2 { font-size: clamp(30px, 3.8vw, 50px); max-width: 17ch; }
.stats-head p { max-width: 44ch; color: var(--mute); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { background: var(--ink); color: #fff; border-radius: 22px; padding: clamp(22px, 2.4vw, 30px); display: grid; gap: 10px; align-content: start; min-height: 210px; }
.stat .big { font: 860 clamp(38px, 4vw, 62px)/1 var(--display); font-stretch: 106%; color: var(--acc); letter-spacing: -.03em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.stat .big small { font-size: .38em; color: #fff; letter-spacing: 0; }
.stat h4 { font-size: 19px; font-weight: 720; }
.stat p { font-size: 15px; color: var(--mute-d); line-height: 1.5; }
.count { font-variant-numeric: tabular-nums; }
.stat-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } .stat-grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stat-grid.three { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .stat { min-height: 0; padding: 18px; gap: 8px; border-radius: 18px; } .stat-grid { gap: 10px; } .stat .big { font-size: 34px; } .stat h4 { font-size: 16px; } .stat p { font-size: 13px; } }

/* a short statement in a band of the accent colour */
.band { background: var(--acc); color: var(--acc-ink); padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.band .eyebrow { color: currentColor; opacity: .8; }
.band .eyebrow::before { background: currentColor; }
.band h2 { margin-top: 18px; font-size: clamp(34px, 5vw, 68px); }

/* tags: a static list of short labels */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { font: 600 15px/1 var(--body); padding: 11px 16px; border-radius: 99px; background: #fff; color: var(--text); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 12%, transparent); }
.dark .tags span, .inky .tags span { background: rgba(255, 255, 255, .07); color: #fff; box-shadow: inset 0 0 0 1px var(--line); }

/* the problem, in three short cards */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.p-card { display: grid; gap: 16px; align-content: start; padding-top: 24px; border-top: 1px solid var(--line); }
.p-card h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.08; }
.p-card h2 .big { color: var(--acc); }
.p-card p { color: var(--mute-d); font-size: clamp(16px, 1.3vw, 18px); }
@media (max-width: 900px) { .p-grid { grid-template-columns: 1fr; } }

/* how it works: numbered step cards, two wide then three */
.step-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 56px; }
.step-card { grid-column: span 2; border-radius: 22px; overflow: hidden; background: #fff; color: var(--text); display: grid; grid-template-rows: 220px 1fr; box-shadow: 0 1px 0 color-mix(in srgb, var(--text) 8%, transparent), 0 18px 40px -26px color-mix(in srgb, var(--text) 40%, transparent); }
.step-card:nth-child(-n+2) { grid-column: span 3; }
.dark .step-card, .inky .step-card { background: var(--paper); box-shadow: none; }
.step-card .media { position: relative; margin: 0; background: var(--ink); overflow: hidden; }
.step-card .media img { width: 100%; height: 100%; object-fit: cover; }
.step-card .media.art { display: grid; place-items: center; padding: 22px; text-align: center; color: #fff; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--sea) 75%, var(--ink)) 0%, var(--ink) 65%); }
.step-card .media.art svg { width: 140px; height: auto; }
.step-card .body { padding: 22px 24px 26px; display: grid; gap: 8px; align-content: start; }
.step-card .n { font: 700 12px/1.4 var(--mono); letter-spacing: .16em; color: var(--sea); text-transform: uppercase; }
.step-card h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 800; }
.step-card p { color: var(--mute); font-size: 16px; }
@media (max-width: 900px) { .step-grid { grid-template-columns: 1fr 1fr; } .step-card, .step-card:nth-child(-n+2) { grid-column: auto; } .step-card:last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .step-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 40px; } .step-card { grid-template-rows: 200px auto; } }

/* timeline */
.tl { position: relative; list-style: none; margin: 64px 0 0; padding: 0; }
.tl::before { content: ""; position: absolute; left: 232px; top: 8px; width: 2px; height: calc(100% - 16px); background: color-mix(in srgb, var(--text) 14%, transparent); }
.dark .tl::before, .inky .tl::before { background: rgba(255, 255, 255, .14); }
.tl li { display: grid; grid-template-columns: 200px 1fr; gap: 64px; padding-bottom: 44px; position: relative; }
.tl li::before { content: ""; position: absolute; left: 226px; top: 5px; width: 14px; height: 14px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px var(--sand); }
.dark .tl li::before { box-shadow: 0 0 0 4px var(--deep); }
.inky .tl li::before { box-shadow: 0 0 0 4px var(--ink); }
.tl time { font: 700 13px/1.5 var(--mono); letter-spacing: .1em; color: var(--sea); text-transform: uppercase; text-align: right; }
.dark .tl time, .inky .tl time { color: var(--acc); }
.tl h3 { font-size: clamp(21px, 2vw, 25px); margin-bottom: 8px; }
.tl p { color: var(--mute); max-width: 60ch; }
.dark .tl p, .inky .tl p { color: var(--mute-d); }
.tl .chip { display: inline-block; margin-top: 12px; font: 700 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: var(--acc); color: var(--acc-ink); padding: 7px 10px; border-radius: 6px; }
.tl li.new h3::after { content: "NEW"; margin-left: 10px; vertical-align: middle; font: 700 10px/1 var(--mono); letter-spacing: .16em; background: var(--acc); color: var(--acc-ink); padding: 4px 7px; border-radius: 5px; }
@media (max-width: 760px) {
  .tl::before { left: 7px; }
  .tl li { grid-template-columns: 1fr; gap: 6px; padding-left: 40px; }
  .tl li::before { left: 1px; }
  .tl time { text-align: left; }
}

/* gallery + viewer */
.gal { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(90px, 9vw, 130px); gap: 12px; margin-top: 56px; }
.gal button { position: relative; border: 0; padding: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--ink); grid-column: span var(--c, 4); grid-row: span var(--r, 3); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal button:hover img { transform: scale(1.03); }
.gal figcaption { position: absolute; inset: auto 0 0; padding: 40px 18px 16px; text-align: left; color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); }
.gal figure { margin: 0; height: 100%; }
@media (max-width: 760px) { .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; gap: 8px; } .gal button { grid-column: span 1; grid-row: span 1; border-radius: 14px; } .gal button:first-child { grid-column: span 2; } .gal figcaption { font-size: 12px; padding: 30px 12px 10px; } }
.lb { width: min(1100px, 94vw); max-height: 92vh; padding: 0; border: 0; border-radius: 20px; background: var(--deep); color: #fff; overflow: hidden; }
.lb[open] { animation: lbin .2s ease-out; }
@keyframes lbin { from { opacity: 0; } }
.lb::backdrop { background: rgba(3, 3, 6, .86); }
.lb img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lb-bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.lb-bar p { flex: 1; font-size: 15px; }
.lb-bar button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; font-size: 20px; line-height: 1; }

/* videos: a poster that becomes the player on click; Instagram reels in phone frames */
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px; margin-top: 48px; }
.vid { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; color: #fff; text-align: left; }
.vid img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: transform .5s var(--ease), opacity .3s; }
.vid:hover img { transform: scale(1.03); opacity: .95; }
.vid .play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.vid .play::after { content: ""; margin-left: 6px; border-left: 19px solid var(--acc-ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.vid span { position: absolute; left: 16px; right: 16px; bottom: 14px; font-weight: 650; font-size: 15px; text-shadow: 0 2px 10px rgba(0, 0, 0, .8); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.reels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 40px; }
.reel { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); display: grid; grid-template-rows: auto 1fr; }
.reel header { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--ink); color: #fff; font: 700 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.reel header a { color: var(--acc); text-decoration: none; white-space: nowrap; }
.reel iframe { width: 100%; height: 560px; border: 0; display: block; background: #fff; }

/* a closing statement */
.statement { font: 760 clamp(28px, 3.6vw, 48px)/1.15 var(--display); font-stretch: 106%; letter-spacing: -.02em; max-width: 1000px; text-wrap: balance; }
.statement-cite { display: block; margin-top: 26px; font: 700 12px/1 var(--mono); letter-spacing: .18em; color: var(--acc); font-style: normal; text-transform: uppercase; }
blockquote { margin: 0; }

/* partner/CTA band over a photo */
.partner { position: relative; color: #fff; overflow: hidden; background: var(--deep); }
.partner-bg { position: absolute; inset: 0; }
.partner-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.partner-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--deep) 92%, transparent) 0%, color-mix(in srgb, var(--deep) 74%, transparent) 50%, color-mix(in srgb, var(--deep) 50%, transparent) 100%); }
.partner-grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.partner h2 { font-size: clamp(36px, 5vw, 68px); }
.partner .lede { color: #dcdce4; margin-top: 22px; }
.partner .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.calc { background: color-mix(in srgb, var(--deep) 70%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 2.6vw, 32px); display: grid; gap: 18px; }
.calc > * { position: relative; }
.calc label { font: 700 12px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute-d); }
.calc output { font: 860 clamp(38px, 4.2vw, 54px)/1 var(--display); font-stretch: 110%; letter-spacing: -.03em; }
.calc output small { font-size: .4em; color: var(--mute-d); letter-spacing: 0; margin-left: 6px; }
.calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--acc) var(--v, 4%), rgba(255, 255, 255, .15) var(--v, 4%)); outline-offset: 6px; }
.calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 5px solid var(--acc); cursor: grab; }
.calc input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--acc); cursor: grab; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.calc-row span { color: var(--mute-d); font-size: 15px; }
.calc-row b { font: 860 30px/1 var(--display); font-stretch: 110%; color: var(--acc); }
.calc .fine { font-size: 13px; color: var(--mute-d); }
.calc .btn { justify-content: center; }
.partner-grid.solo { grid-template-columns: minmax(0, 780px); }
@media (max-width: 900px) { .partner-grid { grid-template-columns: 1fr; } .partner-bg::after { background: color-mix(in srgb, var(--deep) 80%, transparent); } }

/* footer */
.foot { background: var(--deep); color: #c9c9d4; padding: clamp(64px, 8vw, 104px) 0 calc(48px + env(safe-area-inset-bottom, 0px)); }
.foot-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 28px; }
.foot-logos .chip-logo img { height: 34px; }
.foot-logos .hrc img { height: 40px; }
.endcard { display: grid; gap: 10px; justify-items: start; }
.ec-word { font: 900 clamp(40px, 5.4vw, 72px)/.95 var(--display); font-stretch: 118%; letter-spacing: -.035em; color: #fff; white-space: nowrap; }
.ec-word span { color: var(--acc); }
.ec-line { font: 600 15px/1.4 var(--mono); letter-spacing: .06em; color: #fff; }
.foot p.about { font-size: 15px; line-height: 1.6; color: var(--mute-d); max-width: 46ch; margin-top: 18px; }
.copy { position: relative; overflow: hidden; margin-top: 22px; height: 46px; padding: 0 22px; border-radius: 99px; border: 0; background: rgba(255, 255, 255, .08); color: #fff; font: 600 14px/1 var(--body); cursor: pointer; transition: background .2s, color .2s; }
.copy:hover { background: rgba(255, 255, 255, .14); }
.copy.done { background: var(--acc); color: var(--acc-ink); }
.foot h4 { font: 700 12px/1 var(--mono); letter-spacing: .18em; color: var(--acc); text-transform: uppercase; margin-bottom: 18px; font-stretch: 100%; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: #e8e8f0; }
.foot ul a:hover { color: var(--acc); }
.foot-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: 13px; color: #85859a; }
.foot-bot a { color: #b0b0c2; }
@media (max-width: 860px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* a photo that could not load still leaves a calm, on-brand tile */
.noimg { background: repeating-linear-gradient(135deg, var(--ink) 0 14px, var(--sea) 14px 15px) !important; }
.noimg img { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
