/* =========================================================
   Diino AI — design system
   Open white space, moving colour, light type, one green dino.
   ========================================================= */
:root {
  --ink: #0b0d0c;
  --ink-2: #2c312e;
  --muted: #6a706c;
  --faint: #a3a8a5;
  --line: rgba(11, 13, 12, .09);
  --line-2: rgba(11, 13, 12, .16);
  --paper: #ffffff;
  --soft: #f4f4f2;
  --soft-2: #ececea;

  --green: #3dbe5a;
  --green-deep: #1d9a43;
  --lime: #d6f65e;
  --sky: #7cc8ff;
  --violet: #b49cff;
  --peach: #ffb892;
  --pink: #ff9acb;

  --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --logo: "Manrope", sans-serif;

  --wrap: 1360px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(96px, 13vw, 190px);
  --r-xl: 36px;
  --r-lg: 26px;
  --r-md: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --shadow: 0 1px 2px rgba(11, 13, 12, .04), 0 12px 40px -12px rgba(11, 13, 12, .14);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
::selection { background: var(--lime); color: var(--ink); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- motion background ---------- */
#bg {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -2;
  pointer-events: none;
}
.grain {
  position: fixed; inset: -64px; z-index: -1; pointer-events: none; opacity: .05;
  background: url("/assets/img/grain.png") 0 0 / 160px 160px;
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-38px,24px)} 40%{transform:translate(26px,-38px)} 60%{transform:translate(-24px,-12px)} 80%{transform:translate(38px,38px)} 100%{transform:translate(0,0)} }

/* ---------- type ---------- */
.display, h1, h2, h3 { font-weight: 300; margin: 0; letter-spacing: -.045em; line-height: .98; }
.display { font-size: clamp(3.1rem, 8.6vw, 9rem); letter-spacing: -.055em; line-height: .92; }
.h1 { font-size: clamp(2.9rem, 7vw, 7rem); letter-spacing: -.05em; line-height: .95; font-weight: 300; }
.h2 { font-size: clamp(2.3rem, 5.2vw, 5rem); letter-spacing: -.045em; line-height: 1; font-weight: 300; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; font-weight: 400; }
.h4 { font-size: 1.25rem; letter-spacing: -.02em; line-height: 1.25; font-weight: 500; }
em { font-style: normal; font-weight: 500; }
.serif { font-weight: 500; }

/* ---------- hand-drawn marks (Diino's "real + drawn" language) ---------- */
.doodle { overflow: visible; pointer-events: none; }
.doodle path { fill: none; stroke: var(--dc, var(--green)); stroke-width: var(--dw, 3); stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); transition-delay: calc(var(--k, 0) * 180ms + var(--dd, 450ms)); }
.doodle path.fill { fill: var(--dc); stroke: var(--ink); stroke-width: 1.5; }
.in .doodle path, .doodle.in path, .drawn .doodle path { stroke-dashoffset: 0; }
.hl { position: relative; display: inline-block; max-width: 100%; font-weight: 500; letter-spacing: -.05em; z-index: 0; }
[data-kind] { position: relative; z-index: 0; }
[data-kind] > .mark { position: absolute; left: 0; top: 0; z-index: -1; overflow: visible; pointer-events: none; }
.mark path { fill: none; stroke: var(--dc, var(--green)); stroke-width: max(3px, .045em); stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1s var(--ease); transition-delay: calc(var(--k, 0) * 220ms + 500ms); }
.hl-scribble > .mark path { stroke-width: max(6px, .1em); opacity: .85; }
.hl-circle > .mark path { stroke-width: max(3px, .035em); }
.in .mark path, .split.in .mark path, .mark.in path { stroke-dashoffset: 0; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; color: var(--ink-2); max-width: 38em; font-weight: 400; letter-spacing: -.01em; }
.muted { color: var(--muted); }
.mono, .eyebrow { font-family: var(--sans); font-size: 14px; letter-spacing: -.01em; font-weight: 600; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.eyebrow svg { width: 13px; height: 15px; fill: var(--green); flex: none; }
.eyebrow .count { color: var(--faint); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: calc(var(--section) / 2); }
.section + .section { padding-top: calc(var(--section) / 2); }
.stack > * + * { margin-top: var(--gap, 20px); }
.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.page { padding-top: clamp(130px, 16vw, 190px); min-height: 70vh; }
.page-head { display: grid; gap: 22px; max-width: 1000px; }
.page-head .lead { margin: 0; }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.between { display: flex; }

/* ---------- buttons, chips, links ---------- */
.btn {
  --bg: var(--ink); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: 15px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, color .3s, box-shadow .3s;
  overflow: hidden; isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 140% at var(--mx, 50%) 120%, var(--green) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.btn:hover::before { opacity: .9; }
.btn .arr { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn-dark { --bg: var(--ink); --fg: #fff; }
.btn-light { --bg: rgba(255, 255, 255, .7); --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn-light::before { background: radial-gradient(120% 140% at var(--mx, 50%) 120%, var(--lime) 0%, transparent 65%); }
.btn-green { --bg: var(--green); --fg: var(--ink); }
.btn-green::before { background: radial-gradient(120% 140% at var(--mx, 50%) 120%, var(--lime) 0%, transparent 60%); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- currency: nav toggle + prices that follow it ---------- */
.money { display: inline-block; font-variant-numeric: tabular-nums; }
.cur-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; width: 62px; height: 34px; padding: 3px; margin-right: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; font-weight: 600; overflow: hidden; transition: background .3s, transform .25s var(--ease), width .5s var(--ease), padding .5s var(--ease), margin .5s var(--ease), opacity .3s, visibility .5s; }
/* only on Shop and Academy pages; elsewhere it folds away */
html:not([data-prices]) .cur-toggle { width: 0; padding: 0; margin-right: -6px; opacity: 0; visibility: hidden; pointer-events: none; }
.cur-toggle:hover { background: rgba(11, 13, 12, .04); }
.cur-toggle:active { transform: scale(.94); }
.cur-toggle:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.ct-knob { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 999px; background: var(--green); transition: transform .55s var(--ease); }
html[data-cur="BDT"] .ct-knob { transform: translateX(28px); }
.ct-opt { position: relative; z-index: 1; text-align: center; line-height: 28px; color: var(--muted); transition: color .35s; }
html[data-cur="USD"] .ct-opt[data-c="USD"], html[data-cur="BDT"] .ct-opt[data-c="BDT"] { color: #fff; }

/* ---------- pay switch: currency swap + pay, one pill ---------- */
.payswitch-wrap { display: grid; gap: 10px; }
.payswitch { display: flex; align-items: stretch; gap: 4px; padding: 5px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: 0 18px 40px -22px rgba(11, 13, 12, .55); }
.ps-swap { flex: none; min-width: 118px; display: grid; align-content: center; justify-items: center; gap: 1px; padding: 0 20px; border-radius: 999px; text-align: center; color: #fff; transition: background .3s, transform .4s var(--ease); }
/* dollars: pay on the left, switch on the right; taka: the other way round */
.payswitch[data-cur="BDT"] .ps-swap { order: -1; }
.ps-swap:hover { background: rgba(255, 255, 255, .08); }
.ps-swap:active { transform: scale(.95); transition-duration: .15s; }
.ps-swap:focus-visible, .ps-pay:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.ps-to { font-size: 10.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.ps-other { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; letter-spacing: -.01em; }
.ps-other b { font-weight: 600; }
.ps-other svg { width: 15px; height: 15px; color: var(--lime); transition: transform .6s var(--ease); }
.ps-swap:hover .ps-other svg { transform: rotate(180deg); }
.ps-pay { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 24px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 18px; font-weight: 600; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), opacity .3s; }
.ps-pay::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(120% 160% at var(--mx, 50%) 120%, var(--green) 0%, transparent 62%); opacity: 0; transition: opacity .4s; }
.ps-pay:hover::before { opacity: .85; }
.ps-pay:active { transform: scale(.97); transition-duration: .15s; }
.ps-pay[disabled] { opacity: .55; pointer-events: none; }
.ps-amt { display: inline-block; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; }
.ps-pay .arr { flex: none; width: 17px; height: 17px; transition: transform .5s var(--ease); }
.ps-pay:hover .arr { transform: translateX(3px); }
.ps-note { margin: 0; min-height: 1.4em; text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--muted); text-wrap: balance; }
.ps-note b { color: var(--ink-2); font-weight: 600; }
@media (max-width: 420px) {
  .ps-swap, .payswitch[data-cur="BDT"] .ps-swap { min-width: 92px; padding: 0 12px; }
  .ps-to { font-size: 9.5px; }
  .ps-other { font-size: 13.5px; gap: 5px; }
  .ps-pay { height: 54px; padding: 0 16px; font-size: 16px; gap: 8px; }
}

.link { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(.25); transform-origin: left; transition: transform .6s var(--ease); }
.link:hover::after { transform: scaleX(1); }
.link .arr { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.link:hover .arr { transform: translate(2px, -2px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--ease);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.chip.on, .chip[aria-pressed="true"] { background: var(--lime); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(11, 13, 12, .12); }
.chip .n { font-family: var(--sans); font-size: 11px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .85); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag.lime { background: var(--lime); }
.tag.dark { background: var(--ink); color: #fff; }

.icon-btn { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--ink); transition: background .3s; position: relative; }
.icon-btn:hover { background: rgba(11, 13, 12, .06); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 76px; padding-inline: var(--gutter);
  transition: height .5s var(--ease), background .5s, box-shadow .5s, transform .6s var(--ease);
}
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: rgba(255, 255, 255, .62); backdrop-filter: saturate(1.6) blur(22px); -webkit-backdrop-filter: saturate(1.6) blur(22px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.scrolled { height: 64px; }
.nav.scrolled::before { opacity: 1; }
.nav.hide { transform: translateY(-100%); }
.lockup { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.lockup-mark { width: 24px; height: 28px; fill: var(--green); transition: transform .8s var(--ease); }
.lockup:hover .lockup-mark { transform: rotate(-8deg) scale(1.08); }
.wordmark {
  font-family: var(--logo); font-weight: 800; font-size: 25px; letter-spacing: -.07em; line-height: 1; color: var(--ink);
  display: inline-flex; align-items: flex-start;
}
.wordmark sup { font-family: "Changa", var(--sans); font-weight: 700; font-size: .42em; letter-spacing: 0; margin-left: .18em; margin-top: -.05em; line-height: 1; color: var(--green); }
.nav-links { position: relative; display: flex; gap: 2px; padding: 4px; border-radius: 999px; }
.nav-links a { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a { transition: color .3s, transform .25s var(--ease); }
.nav-links a:active { transform: scale(.94); }
.nav-links a.active { font-weight: 600; }
.nav-pill { background: rgba(11, 13, 12, .07); }
.btn:active, .chip:active, .round-btn:active, .icon-btn:active, .tab:active, .pick:active { transform: scale(.95); transition-duration: .15s; }
.icon-btn:active { background: rgba(11, 13, 12, .1); }
.nav-pill { position: absolute; z-index: 0; left: 0; top: 4px; height: calc(100% - 8px); border-radius: 999px; background: rgba(11, 13, 12, .06); opacity: 0; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 6px; }
.bag-count { position: absolute; top: 4px; right: 3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--green); color: var(--ink); font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 99px; position: relative; transition: background .35s, transform .25s var(--ease); }
.menu-btn:hover { background: rgba(11, 13, 12, .06); }
.menu-btn:active { transform: scale(.9); background: rgba(11, 13, 12, .12); }
.menu-open .menu-btn { background: var(--ink); }
.menu-open .menu-btn span { background: #fff; }
.menu-btn span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease); }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 25px; }
.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); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: 110px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  clip-path: circle(0% at calc(100% - 44px) 38px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { position: relative; justify-self: start; font-size: clamp(2.4rem, 11vw, 4rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.1; padding: .04em 0; color: var(--ink-2); transition: color .3s, transform .3s var(--ease), padding .4s var(--ease); }
.mobile-menu nav a::before { content: ""; position: absolute; left: 0; top: 50%; width: .32em; height: .32em; margin-top: -.12em; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform .4s var(--ease); }
.mobile-menu nav a.active { color: var(--ink); font-weight: 500; padding-left: .5em; }
.mobile-menu nav a.active::before { transform: scale(1); }
.mobile-menu nav a:active { transform: scale(.96); color: var(--green-deep); }
.mobile-menu-mark { width: 64px; height: 74px; fill: var(--green); align-self: flex-end; }

@media (max-width: 960px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .nav-right .btn { display: none; }
  .menu-btn { display: block; }
}

/* ---------- loader ---------- */
#loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: #fff; transition: opacity .7s var(--ease), visibility .7s; }
#loader.done { opacity: 0; visibility: hidden; }
.loader-mark { width: 64px; height: 74px; fill: transparent; stroke: var(--green); stroke-width: .35; stroke-dasharray: 160; stroke-dashoffset: 160; animation: drawMark 1.1s var(--ease) forwards, fillMark .5s .8s var(--ease) forwards; }
@keyframes drawMark { to { stroke-dashoffset: 0; } }
@keyframes fillMark { to { fill: var(--green); stroke-width: 0; transform: scale(1.04); } }
.skip-loader #loader { display: none; }

/* ---------- page transitions ---------- */
#app { outline: none; }
#app.leaving { opacity: 0; transform: translateY(-14px); filter: blur(6px); transition: opacity .35s var(--ease-in-out), transform .35s var(--ease-in-out), filter .35s; }
#app.entering { animation: pageIn .9s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="draw"] { opacity: 1; transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal="scale"].in { transform: none; }
.split .line { display: block; overflow: hidden; padding: .06em .08em .26em; margin: -.06em -.08em -.26em; }
.split .line > span { display: inline-block; transform: translateY(140%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0) * 80ms); }
.split.in .line > span { transform: none; }

/* ---------- cursor ---------- */
/* White + difference blending: the cursor reads black on light areas and
   white on dark buttons and images. Media labels switch back to normal. */
.cursor { position: fixed; top: 0; left: 0; z-index: 300; pointer-events: none; display: none; mix-blend-mode: difference; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor [data-cursor] { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }
/* Position comes from the `translate` property (set in JS), so `scale` only
   changes size and never drags the dot across the screen. */
.cursor-dot { position: fixed; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; transition: opacity .2s, scale .35s var(--ease); }
.cursor-ring {
  position: fixed; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0); background: transparent;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .35s, box-shadow .35s, opacity .3s;
}
.cursor.link .cursor-dot, .cursor.label .cursor-dot { scale: 0; }
/* Over something clickable: a plain, very see-through disc. No hard outline. */
.cursor.link .cursor-ring { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22); }
.cursor.text .cursor-ring { opacity: 0; }
.cursor.hidden, .cursor-disc.hidden { opacity: 0; }
.cursor.down .cursor-dot { scale: .6; }
.cursor.down.link .cursor-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: rgba(255, 255, 255, .14); }
/* Labelled disc over media: its own layer (no blend), grows out of the dot and shrinks back into it. */
.cursor-disc { position: fixed; top: 0; left: 0; z-index: 301; pointer-events: none; display: none; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: var(--ink); place-items: center; scale: .13; opacity: 0; transition: scale .5s var(--ease), opacity .25s; }
.has-cursor .cursor-disc { display: grid; }
.cursor-disc.on { scale: 1; opacity: 1; transition: scale .5s var(--ease), opacity .15s; }
.cursor-disc.on.down { scale: .9; }
.cursor-label { font-size: 12px; font-weight: 700; letter-spacing: -.005em; color: #fff; white-space: nowrap; opacity: 0; transition: opacity .2s; }
.cursor-disc.on .cursor-label { opacity: 1; transition: opacity .3s .12s; }

/* ---------- progress mark ---------- */
.progress-mark { position: fixed; right: var(--gutter); bottom: 28px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .7); box-shadow: var(--shadow); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(16px) scale(.8); transition: opacity .5s, transform .6s var(--ease); }
.progress-mark.show { opacity: 1; transform: none; }
.progress-mark svg { width: 20px; height: 23px; }
.pm-base { fill: rgba(11, 13, 12, .12); }
.pm-fill { fill: var(--green); }
.progress-mark:hover svg { animation: hop .6s var(--ease); }
@keyframes hop { 40% { transform: translateY(-5px) rotate(-6deg); } }

/* ---------- media ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); isolation: isolate; }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), opacity .6s; }
.media.zoom:hover img, .media.zoom:hover video { transform: scale(1.04); }
.media .preview { position: absolute; inset: 0; opacity: 0; }
.media.playing .preview { opacity: 1; }
.ratio-1 { aspect-ratio: 1; } .ratio-45 { aspect-ratio: 4/5; } .ratio-34 { aspect-ratio: 3/4; } .ratio-169 { aspect-ratio: 16/9; } .ratio-43 { aspect-ratio: 4/3; } .ratio-219 { aspect-ratio: 21/9; }
.media .tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 2; }
.play-badge { position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .5s var(--ease); }
.play-badge svg { width: 14px; height: 14px; margin-left: 2px; }
.media:hover .play-badge { transform: scale(1.1); }

/* mark-shaped mask utility */
.mark-mask { clip-path: url(#markClip); -webkit-clip-path: url(#markClip); }

/* =========================================================
   HOME
   ========================================================= */
.hero { position: relative; padding-top: clamp(140px, 17vw, 200px); text-align: center; }
.hero .eyebrow { justify-content: center; }
.hero-title { margin: 22px auto 0; max-width: 14ch; }
.hero-sub { margin: 28px auto 0; text-align: center; }
.hero-title { position: relative; max-width: 15ch; }
.hero-title > span { display: inline; }

/* cut-outs woven into type */
.cut { display: inline-block; pointer-events: none; user-select: none; filter: drop-shadow(0 18px 24px rgba(11, 13, 12, .12)); }
.inline-obj { height: .92em; width: auto; vertical-align: -.12em; margin: 0 .06em; transform: rotate(-8deg); animation: objIn 1.4s .7s var(--ease) both, bob 6s 2s var(--ease-in-out) infinite; }
@keyframes objIn { from { opacity: 0; transform: rotate(-40deg) scale(.3); } to { opacity: 1; transform: rotate(-8deg) scale(1); } }
.perch { position: relative; display: inline-block; }
.hero-title .keep { white-space: nowrap; }
@media (max-width: 480px) { .hero-title .inline-obj { height: .78em; margin: 0 .01em; } }
/* Very narrow phones: shrink the headline so "couldn't [camera] shoot." stays on one line inside the screen. */
@media (max-width: 400px) { .hero-title { font-size: min(3.1rem, 12.6vw); } }
.sitter { position: absolute; left: 50%; translate: -46% 0; bottom: .43em; height: 1.15em; width: auto; animation: sitIn 1.2s 1s var(--ease) both; z-index: 2; }
@keyframes sitIn { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: none; } }
.stage-char { position: absolute; z-index: 3; width: clamp(140px, 15vw, 230px); will-change: transform; }
.stage-char img { width: 100%; height: auto; filter: drop-shadow(0 20px 26px rgba(11, 13, 12, .14)); }
@media (max-width: 760px) { .sitter { height: 1em; bottom: .5em; } .stage-char.hide-sm { display: none; } }

.finder { position: relative; max-width: 640px; margin: clamp(80px, 8vw, 104px) auto 0; z-index: 5; text-align: left; }
.lounger { position: absolute; left: 30px; bottom: calc(100% - 3px); width: clamp(150px, 19vw, 230px); height: auto; z-index: 1; animation: sitIn 1.2s 1.3s var(--ease) both; }
.finder-box { position: relative; z-index: 2; }
@media (max-width: 560px) { .lounger { left: 12px; width: 132px; } }
.finder-box {
  display: flex; align-items: center; gap: 12px; height: 66px; padding: 0 8px 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line-2), 0 20px 60px -20px rgba(29, 154, 67, .35);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: box-shadow .4s;
}
.finder-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink), 0 24px 70px -18px rgba(29, 154, 67, .45); }
.finder-box > svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.finder input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; font-size: 17px; font-weight: 500; letter-spacing: -.01em; }
.finder input::placeholder { color: var(--faint); transition: opacity .3s; }
.finder .btn { height: 50px; }
.finder-suggest { margin-top: 16px; justify-content: center; transition: opacity .25s, visibility .25s; }
.finder.typing .finder-suggest { opacity: 0; visibility: hidden; pointer-events: none; }
.finder-suggest .chip { height: 34px; font-size: 13px; padding: 0 14px; }
.finder-results {
  position: absolute; top: 76px; left: 0; right: 0; padding: 8px; border-radius: 26px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 30px 80px -20px rgba(11, 13, 12, .25), inset 0 0 0 1px var(--line);
  max-height: 420px; overflow: auto; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .3s, transform .4s var(--ease);
}
.finder-results.open { opacity: 1; transform: none; pointer-events: auto; }
.result { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 8px; border-radius: 18px; transition: background .2s; }
.result:hover, .result.sel { background: rgba(11, 13, 12, .05); }
.result img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--soft); }
.result .t { font-weight: 600; font-size: 15px; line-height: 1.3; }
.result .s { font-size: 13px; color: var(--muted); }
.result .k { font-family: var(--sans); font-size: 11px; letter-spacing: -.01em; color: var(--muted); padding-right: 8px; }
.result-empty { padding: 18px; font-size: 15px; color: var(--ink-2); }
.result-empty a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* dino window stage */
.stage { position: relative; height: clamp(520px, 72vw, 900px); margin-top: clamp(24px, 4vw, 56px); perspective: 1400px; }
.dino-window {
  position: absolute; left: 50%; top: 50%; width: clamp(300px, 40vw, 560px); aspect-ratio: 25 / 29;
  transform: translate(-50%, -50%) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d; transition: transform .9s var(--ease);
}
/* The soft green shadow lives on its own layer: drawn once, so the playing
   film inside never has to be re-shadowed frame by frame. */
.dw-shadow { position: absolute; inset: 0; transform: translate3d(0, 50px, -1px); filter: blur(30px); pointer-events: none; }
.dw-shadow i, .dino-window .inner, .dino-window .gloss {
  -webkit-mask: url("/assets/img/mark-mask.svg") 0 0 / 100% 100% no-repeat; mask: url("/assets/img/mark-mask.svg") 0 0 / 100% 100% no-repeat;
}
.dw-shadow i { position: absolute; inset: 0; background: rgba(29, 154, 67, .28); }
.dino-window .inner { position: absolute; inset: 0; background: linear-gradient(140deg, var(--green), var(--lime) 45%, var(--sky)); }
.dino-window video, .dino-window img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); transform: scale(1.06); }
.dino-window .on { opacity: 1; }
.dino-window .gloss { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.35) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.12)); mix-blend-mode: soft-light; pointer-events: none; }
.dino-caption { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 13px; color: var(--ink-2); }
.dino-caption .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61, 190, 90, .2); animation: pulse 2s infinite; }
/* Small screens: keep the dino-shaped film window, drop the cards, characters and pills around it. */
@media (max-width: 860px) {
  .stage { height: auto; perspective: none; display: grid; justify-items: center; gap: 20px; padding: 0 var(--gutter); }
  .stage > .float-card, .stage > .stage-char, .stage > .float-chip { display: none; }
  .dino-window { position: relative; left: auto; top: auto; transform: none !important; width: min(78vw, 420px); }
  .dino-caption { position: static; transform: none; }
}
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 190, 90, 0); } }
.float-card { position: absolute; width: clamp(130px, 15vw, 230px); border-radius: var(--r-md); overflow: hidden; box-shadow: 0 30px 60px -24px rgba(11, 13, 12, .35); will-change: transform; }
.float-card img, .float-card video { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.float-chip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 8px; border-radius: 999px; background: rgba(255, 255, 255, .8); box-shadow: var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 14px; font-weight: 600; white-space: nowrap; will-change: transform; }
.float-chip i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: color-mix(in srgb, var(--c, #2fd35b) 15%, #fff); }
.float-chip i .dino { width: 29px; height: 26px; }
@media (max-width: 760px) { .float-card.hide-sm, .float-chip.hide-sm { display: none; } }

/* marquee */
.marquee { position: relative; overflow: hidden; padding-block: 18px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 0; align-items: center; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; padding-inline: clamp(18px, 2.4vw, 34px); }
.logo { display: block; flex: none; background: var(--ink); opacity: .78; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; transition: background .4s, opacity .4s; }
.marquee-item:hover .logo { background: var(--green-deep); opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-label { text-align: center; margin: 0 auto 26px; padding-inline: var(--gutter); font-size: clamp(1.15rem, 1.8vw, 1.5rem); letter-spacing: -.03em; color: var(--muted); }
.marquee-label b { color: var(--ink); font-weight: 600; }
.marquee-note { text-align: center; margin: 20px auto 0; padding-inline: var(--gutter); font-size: 13px; color: var(--faint); }

/* scroll-filled statement */
.statement { font-size: clamp(2rem, 4.6vw, 4.4rem); line-height: 1.08; letter-spacing: -.045em; font-weight: 300; max-width: 22ch; }
.statement .w { color: rgba(11, 13, 12, .14); transition: color .4s; }
.statement .w.lit { color: var(--ink); }
.statement em .w.lit { color: inherit; }
.statement em { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--green-deep); animation: none; }
.statement em .w { color: rgba(29, 154, 67, .2); }
.statement em .w.lit { color: var(--green-deep); }

/* services list */
.svc-list { border-top: 1px solid var(--line); }
.svc { position: relative; display: grid; grid-template-columns: 76px 1fr 1fr 40px; gap: 24px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.svc-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .6s var(--ease), background .4s, box-shadow .4s; }
.svc-ic svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc:hover .svc-ic { transform: rotate(-10deg) scale(1.08); background: rgba(47, 211, 91, .14); box-shadow: inset 0 0 0 1px rgba(47, 211, 91, .5); }
.svc .name { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.05; transition: transform .6s var(--ease); }
.svc .desc { color: var(--muted); font-size: 15px; max-width: 34em; }
.svc .plus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, transform .6s var(--ease); }
.svc .plus svg { width: 14px; height: 14px; }
.svc:hover { padding-block: 40px; }
.svc:hover .name { transform: translateX(14px); }
.svc:hover .plus { background: var(--lime); transform: rotate(45deg); }
.svc-preview { position: fixed; top: 0; left: 0; z-index: 30; width: 280px; aspect-ratio: 4/5; border-radius: var(--r-md); overflow: hidden; pointer-events: none; opacity: 0; transform: scale(.7); transition: opacity .35s, transform .6s var(--ease); box-shadow: 0 30px 70px -20px rgba(11, 13, 12, .35); }
.svc-preview.show { opacity: 1; transform: scale(1); }
.svc-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.svc-preview img.on { opacity: 1; }
@media (max-width: 760px) { .svc { grid-template-columns: 52px 1fr 40px; } .svc-ic { width: 42px; height: 42px; } .svc-ic svg { width: 20px; height: 20px; } .svc .desc { grid-column: 2 / 3; } .svc-preview { display: none; } }

/* carousel */
.carousel { position: relative; }
.carousel-track { display: flex; gap: clamp(14px, 2vw, 24px); overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); padding-bottom: 8px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { scroll-snap-type: none; cursor: grabbing; }
.slide { flex: none; width: clamp(260px, 31vw, 440px); scroll-snap-align: start; display: flex; flex-direction: column; }
.slide .media { aspect-ratio: 4/5; }
/* One template for every slide: one-line title, one-line credit, three stats in equal columns. */
.slide-meta { display: grid; gap: 4px; margin-top: 16px; min-width: 0; }
.slide-meta .t, .slide-meta .c, .stats b, .stats span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slide-meta .t { font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.3; }
.slide-meta .c { font-size: 14px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.stats div { display: grid; gap: 2px; min-width: 0; }
.stats b { font-weight: 400; font-size: clamp(1rem, 1.35vw, 1.25rem); letter-spacing: -.03em; line-height: 1.25; }
.stats span { font-size: 12px; color: var(--muted); }
.carousel-ctrl { display: flex; gap: 8px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255,255,255,.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .5s var(--ease); }
.round-btn:hover { background: var(--ink); color: #fff; }
.round-btn svg { width: 18px; height: 18px; }

/* duo panels (shop + academy) */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.panel { position: relative; display: grid; grid-template-rows: auto 1fr; }
.panel .media { aspect-ratio: 5/6; }
.panel .media img { transition: transform 1.6s var(--ease); }
.panel:hover .media img { transform: scale(1.05); }
.panel .media.panel-box { background: color-mix(in srgb, var(--tint) 34%, #fff); }
.panel .media.panel-box > img { object-fit: contain; object-position: center bottom; padding: 12% 8% 0; transform-origin: 50% 100%; filter: drop-shadow(0 20px 26px rgba(11, 13, 12, .12)); }
.panel:hover .media.panel-box > img { transform: scale(1.03); }
.panel-dino { position: absolute; top: 20px; right: 22px; z-index: 2; transition: transform .8s var(--ease); }
.panel-dino .dino { width: 88px; height: 79px; }
.panel:hover .panel-dino { transform: rotate(-10deg) translateY(-4px); }
.svc-preview { background: #fff; }
.svc-preview img[src*="/gen/"] { object-fit: contain; }
.panel-body { display: flex; justify-content: space-between; gap: 20px; align-items: flex-end; margin-top: 22px; }
.panel-body .h3 { max-width: 14ch; }
.panel-body p { margin: 8px 0 0; color: var(--muted); font-size: 15px; max-width: 30em; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.numbers .n { font-size: clamp(3rem, 6.5vw, 6.2rem); font-weight: 200; letter-spacing: -.06em; line-height: 1; }
.numbers .n sup { font-size: .4em; font-weight: 400; color: var(--green-deep); vertical-align: top; margin-left: .05em; }
.numbers .l { margin-top: 10px; font-size: 14px; color: var(--muted); max-width: 18em; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 760px) { .numbers { grid-template-columns: 1fr; row-gap: 40px; } }

/* posts list */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.post-card { display: block; }
.post-card .media { aspect-ratio: 4/3; }
.post-card .meta { display: flex; gap: 10px; align-items: center; margin-top: 18px; font-size: 13px; color: var(--muted); }
.post-card .meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.post-card h3 { margin-top: 10px; font-size: 1.35rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.25; transition: color .3s; }
.post-card:hover h3 { color: var(--green-deep); }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }

/* CTA */
.cta { text-align: center; padding-block: clamp(120px, 16vw, 240px); position: relative; }
.cta .h1 { max-width: 13ch; margin: 22px auto 0; }
.cta .row { justify-content: center; margin-top: 40px; }
.cta-marks { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.cta-marks svg { position: absolute; fill: var(--green); opacity: .9; }

/* =========================================================
   WORK
   ========================================================= */
.filters { display: flex; justify-content: space-between; gap: 18px; align-items: center; flex-wrap: wrap; margin: clamp(40px, 6vw, 72px) 0 28px; }
.masonry { columns: 3 340px; column-gap: clamp(14px, 2vw, 24px); }
.masonry .item { break-inside: avoid; margin-bottom: clamp(14px, 2vw, 24px); display: block; width: 100%; text-align: left; }
.masonry .item .media { border-radius: var(--r-md); }
.masonry .item .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 4px 4px; }
.masonry .item .cap .t { font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.masonry .item .cap .c { font-size: 13px; color: var(--muted); }
.masonry .item.hide { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(8, 10, 9, .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); color: #fff; display: grid; grid-template-rows: auto 1fr auto; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--gutter); }
.lb-top .t { font-size: 1.1rem; font-weight: 500; letter-spacing: -.02em; }
.lb-top .c { font-size: 13px; color: rgba(255, 255, 255, .6); }
.lb-close { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); transition: background .3s, transform .5s var(--ease); }
.lb-close:hover { background: rgba(255, 255, 255, .2); transform: rotate(90deg); }
.lb-close svg { width: 18px; height: 18px; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: calc(100vh - 210px); border-radius: var(--r-md); object-fit: contain; animation: lbIn .6s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .1); transition: background .3s; }
.lb-nav:hover { background: rgba(255, 255, 255, .22); }
.lb-nav svg { width: 18px; height: 18px; }
.lb-prev { left: var(--gutter); } .lb-next { right: var(--gutter); }
.lb-bottom { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 18px var(--gutter) 22px; flex-wrap: wrap; }
.lb-bottom p { margin: 0; max-width: 60ch; font-size: 14px; color: rgba(255, 255, 255, .72); }
.lb-text { max-width: 60ch; }
.lb-story { margin-top: 8px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.lb-story summary { cursor: pointer; color: #fff; font-size: 13px; list-style: none; display: inline-flex; gap: 6px; align-items: center; }
.lb-story summary::-webkit-details-marker { display: none; }
.lb-story summary::after { content: '+'; opacity: .6; }
.lb-story[open] summary::after { content: '−'; }
.lb-story p { margin: 8px 0 0; max-height: none; }
.lb-story[open] { max-height: 30vh; overflow-y: auto; padding-right: 6px; }
.lightbox:has(.lb-story[open]) .lb-stage img, .lightbox:has(.lb-story[open]) .lb-stage video { max-height: calc(70vh - 250px); }
.lb-thumbs { display: flex; gap: 6px; }
.lb-thumbs button { width: 42px; height: 52px; border-radius: 8px; overflow: hidden; opacity: .45; transition: opacity .3s; }
.lb-thumbs button.on { opacity: 1; box-shadow: 0 0 0 2px var(--green); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* =========================================================
   SHOP
   ========================================================= */
.tabs { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
/* The bar's base rule is a soft dotted line, not a solid grey one. */
.tabs::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: radial-gradient(circle at 1px 1px, rgba(11, 13, 12, .22) .9px, transparent 1.2px) 0 0 / 7px 2px repeat-x; pointer-events: none; }
.tab { position: relative; padding: 10px 0 18px; font-size: 16px; font-weight: 500; color: var(--muted); transition: color .3s; letter-spacing: -.01em; }
.tab sup { font-family: var(--sans); font-size: 10px; margin-left: 4px; color: var(--faint); }
.tab:hover, .tab.on { color: var(--ink); }
.tabs { position: relative; }
.tab-ink { position: absolute; left: 0; top: 0; height: 9px; overflow: visible; pointer-events: none; opacity: 0;
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s; }
.tab-ink path { fill: none; stroke: var(--green); stroke-width: 2.6px; stroke-linecap: round; stroke-dasharray: 1; }

.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 44px) clamp(14px, 2vw, 24px); }
.product { display: block; }
.product[hidden] { display: none; }
.pwrap { position: relative; }
.product .media { aspect-ratio: 1; background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.product .media img { transition: transform 1.2s var(--ease); }
.product:hover .media img { transform: scale(1.03); }
.product .ring { position: absolute; inset: -7px; width: calc(100% + 14px); height: calc(100% + 14px); max-width: none; z-index: 2; pointer-events: none; overflow: visible; }
.product .ring rect { x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px); rx: calc(var(--r-lg) + 6px); fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s var(--ease); }
.product:hover .ring rect { stroke-dashoffset: 0; }
.bundle { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; margin-top: var(--section); }
.bundle .media { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 860px) { .bundle { grid-template-columns: 1fr; } }
/* Same gap from the right and the bottom edge, so it sits evenly in the
   rounded corner. It fades and grows in place rather than sliding up. */
.product .quick { position: absolute; right: 16px; bottom: 16px; z-index: 2; height: 40px; padding: 0 16px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; opacity: 0; transform: scale(.92); transform-origin: 100% 100%; transition: opacity .3s, transform .5s var(--ease), background .3s; }
.product:hover .quick { opacity: 1; transform: none; background: var(--green); color: #fff; }
.product .quick .arr { width: 14px; height: 14px; }
.product .info { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; margin-top: 14px; padding-inline: 4px; }
.product .name { font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; line-height: 1.35; }
.product .name span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.product .price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.was { display: inline-flex; align-items: center; gap: 7px; margin-left: 8px; vertical-align: middle; }
.was s { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .86em; }
.was s .money, .was s { text-decoration: line-through 2px #e5484d; }
.was .save { font-style: normal; font-size: 11px; font-weight: 700; line-height: 1; padding: 5px 8px; border-radius: 999px; background: var(--green); color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.was.big { gap: 12px; margin-left: 16px; vertical-align: .35em; }
.was.big s { font-size: .5em; letter-spacing: -.02em; }
.was.big .save { font-size: 13px; padding: 7px 11px; }
@media (max-width: 900px) { .products { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }

.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp .media { aspect-ratio: 1; border-radius: var(--r-xl); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.pdp-info { position: sticky; top: 110px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.pdp-info .price { font-size: 1.8rem; font-weight: 300; letter-spacing: -.03em; }
.pdp-buy { display: grid; gap: 18px; }
.pdp-buy .price { line-height: 1; }
.pdp-buy .payswitch-wrap { max-width: 440px; }
.pdp-h { font-size: 15px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin: 0 0 14px; }
.pdp-included { padding: clamp(18px, 2.4vw, 24px); border-radius: var(--r-md); background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line); }
.dino-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.pdp-included .dino-list { margin: 0; }
.dino-list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.dino-list li svg { width: 15px; height: 17px; fill: var(--green); flex: none; margin-top: .3em; }
.pdp-included li { font-size: 15.5px; line-height: 1.45; color: var(--ink); }
.pdp-about { margin-top: clamp(56px, 8vw, 110px); max-width: 760px; }
.pdp-about .h3 { margin-bottom: 22px; }
.pdp-desc { font-size: 17.5px; }
.pdp-desc > :last-child { margin-bottom: 0; }
.pdp-faq { margin-top: clamp(56px, 8vw, 100px); max-width: 760px; }
.pdp-faq .h3 { margin-bottom: 22px; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; }
.checklist li svg { width: 15px; height: 17px; fill: var(--green); flex: none; margin-top: 4px; }
@media (max-width: 860px) { .pdp { grid-template-columns: minmax(0, 1fr); } .pdp-info { position: static; } .pdp-info .row { flex-wrap: wrap; } }

/* bag drawer */
.bag { position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 110; width: min(440px, calc(100vw - 20px)); border-radius: 28px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 40px 100px -20px rgba(11, 13, 12, .35), inset 0 0 0 1px var(--line); display: flex; flex-direction: column; animation: bagIn .6s var(--ease); }
@keyframes bagIn { from { transform: translateX(30px); opacity: 0; } }
.bag-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.bag-items { flex: 1; overflow: auto; padding: 10px 16px; }
.bag-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 8px; border-radius: 16px; }
.bag-item img { width: 64px; height: 64px; border-radius: 12px; background: var(--soft); object-fit: cover; mix-blend-mode: multiply; }
.bag-item .t { font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.bag-item .p { font-size: 13px; color: var(--muted); }
.bag-item button { font-size: 12px; color: var(--muted); text-decoration: underline; }
.bag-foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.bag-total { display: flex; justify-content: space-between; font-size: 18px; font-weight: 600; }
.bag-empty { padding: 50px 24px; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 14px; }
.bag-empty svg { width: 40px; height: 46px; fill: var(--soft-2); }
.scrim { position: fixed; inset: 0; z-index: 105; background: rgba(11, 13, 12, .18); animation: fadeIn .4s; }

/* =========================================================
   ACADEMY
   ========================================================= */
.academy-hero, .about-hero { position: relative; margin-top: clamp(40px, 6vw, 72px); display: grid; place-items: center; }
.academy-hero > .cut, .about-hero > .cut { position: relative; z-index: 1; width: min(100%, 1100px); height: auto; filter: drop-shadow(0 30px 40px rgba(11, 13, 12, .12)); }
.academy-hero > .cut { --fx: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); --fy: linear-gradient(to bottom, #000 80%, transparent); -webkit-mask-image: var(--fx), var(--fy); -webkit-mask-composite: source-in; mask-image: var(--fx), var(--fy); mask-composite: intersect; }
.ah-blob { position: absolute; inset: 14% 8% 2%; border-radius: 50% 50% 46% 54% / 60% 56% 44% 40%; background: radial-gradient(60% 60% at 40% 40%, rgba(214, 246, 94, .55), transparent 70%), radial-gradient(50% 60% at 70% 60%, rgba(124, 200, 255, .45), transparent 70%); filter: blur(8px); }
.academy-hero .media { aspect-ratio: 21/10; border-radius: var(--r-xl); }
.academy-hero .badge-row { position: absolute; left: 24px; bottom: 24px; display: flex; gap: 8px; flex-wrap: wrap; z-index: 2; }
.academy-hero .mark-peek, .about-hero .mark-peek { position: absolute; right: clamp(20px, 4vw, 48px); bottom: -34px; width: 92px; height: 106px; z-index: 3; filter: drop-shadow(0 18px 30px rgba(29, 154, 67, .35)); animation: bob 5s var(--ease-in-out) infinite; }
.academy-hero .mark-peek svg, .about-hero .mark-peek svg { width: 100%; height: 100%; fill: var(--green); }
@keyframes bob { 50% { transform: translateY(-10px) rotate(-4deg); } }
@media (max-width: 760px) { .academy-hero .media { aspect-ratio: 4/5; } }

.stepper { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.steps { display: grid; }
.step { text-align: left; padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 6px 18px; transition: opacity .4s; opacity: .45; }
.step:first-child { border-top: 1px solid var(--line); }
.step .k { font-family: var(--sans); font-size: 13px; color: var(--muted); padding-top: 6px; }
.step .t { font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.15; }
.step .d { grid-column: 2; font-size: 15px; color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .7s var(--ease); }
.step.on { opacity: 1; }
.step.on .d { max-height: 120px; }
.step .bar { grid-column: 2; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; margin-top: 8px; display: none; }
.step.on .bar { display: block; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--green); }
.step.on .bar i { animation: fillBar 6s linear forwards; }
@keyframes fillBar { to { width: 100%; } }
.step-visual { position: relative; aspect-ratio: 4/5; }
.step-visual .media { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.step-visual .media.on { opacity: 1; transform: none; }
.step-count { position: absolute; top: 18px; right: 18px; z-index: 3; font-family: var(--sans); font-size: 13px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 860px) { .stepper { grid-template-columns: 1fr; } .step-visual { order: -1; } }

.learn-path { --gap: 28px; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 40px var(--gap); }
.lp-stop { position: relative; display: grid; gap: 12px; align-content: start; }
.lp-stop:not(:last-child)::before { content: ""; position: absolute; top: 25px; left: 66px; width: calc(100% - 66px + var(--gap) - 12px); height: 4px;
  background: radial-gradient(circle at 2px 2px, var(--ink) 1.3px, transparent 1.7px) 0 0 / 9px 4px repeat-x; opacity: .35; }
.lp-dot { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--c); font-size: 19px; font-weight: 600; letter-spacing: -.02em; transition: transform .6s var(--ease); }
.lp-stop:hover .lp-dot { transform: rotate(-10deg) scale(1.08); }
.lp-stop p { margin: 0; color: var(--muted); font-size: 15px; max-width: 24em; }
@media (max-width: 760px) {
  .learn-path { grid-template-columns: 1fr; gap: 30px; }
  .lp-stop { grid-template-columns: 54px 1fr; column-gap: 18px; }
  .lp-stop > :not(.lp-dot) { grid-column: 2; }
  .lp-stop .lp-dot { grid-row: 1 / span 2; }
  .lp-stop:not(:last-child)::before { top: 66px; left: 25px; width: 4px; height: calc(100% - 66px + 30px - 12px); background-image: radial-gradient(circle at 2px 2px, var(--ink) 1.3px, transparent 1.7px); background-size: 4px 9px; background-repeat: repeat-y; }
}
.hero-caption { display: flex; justify-content: center; margin: 22px 0 0; }
.float-chip.static { position: relative; }
.course-fig { position: relative; aspect-ratio: 1 / 1.05; display: grid; place-items: end center; }
.course-fig .blob { position: absolute; left: 12%; right: 12%; bottom: 4%; top: 22%; border-radius: 48% 52% 44% 56% / 55% 48% 52% 45%; background: var(--tint); opacity: .55; transition: border-radius 1.2s var(--ease), transform 1.2s var(--ease); }
.course:hover .course-fig .blob { border-radius: 56% 44% 52% 48% / 46% 56% 44% 54%; transform: scale(1.06) rotate(-4deg); }
.course-fig img { position: relative; height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; transition: transform .9s var(--ease); filter: drop-shadow(0 14px 18px rgba(11, 13, 12, .1)); }
.course:hover .course-fig img { transform: translateY(-8px) rotate(-1.5deg); }
.course-fig .tag { position: absolute; top: 8%; left: 6%; z-index: 2; }
.courses { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 32px); align-items: stretch; }
/* Every course card is the same box: square art panel, two-line title, footer pinned to the bottom. */
.course { display: flex; flex-direction: column; height: 100%; padding: 10px 10px 18px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s, box-shadow .4s, transform .6s var(--ease); }
.course:hover { background: rgba(255, 255, 255, .85); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); }
.course:active { transform: scale(.985); }
.course .course-fig { aspect-ratio: 1 / 1; overflow: hidden; border-radius: calc(var(--r-lg) - 6px); background: color-mix(in srgb, var(--tint) 26%, #fff); }
.course .course-fig .blob { left: 14%; right: 14%; top: 18%; bottom: -6%; }
.course .course-fig img { height: 90%; max-width: 90%; }
.course .course-fig .tag { top: 14px; left: 14px; }
.course .body { flex: 1; margin-top: 16px; padding: 0 8px; display: flex; flex-direction: column; gap: 8px; }
.course .meta { display: flex; gap: 14px; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; }
/* Same rhythm on every card at every width: title always takes two lines'
   room, price sits right under it, teacher name and role each get one line. */
.course h3 { font-size: 1.4rem; font-weight: 400; letter-spacing: -.03em; line-height: 1.2; min-height: 2.4em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.course .price { font-size: 15px; font-weight: 600; letter-spacing: -.01em; margin-top: -2px; }
.course .by { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); margin-top: auto; }
.course .by b, .course .by span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.course .by b { font-weight: 600; }
.course .by span { color: var(--muted); }
@media (max-width: 900px) { .courses { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .courses { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }   /* no line under the last question: the next section or footer closes it */
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 400; letter-spacing: -.025em; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .5s var(--ease), background .3s; }
.faq summary .pm svg { width: 12px; height: 12px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--lime); }
.faq .ans { overflow: hidden; }
.faq details p { margin: 0 0 26px; color: var(--ink-2); max-width: 60ch; }
.faq details.closing summary .pm { transform: none; background: transparent; }
.faq summary:active .pm { scale: .9; }
.faq-ask { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding: 12px 12px 12px 14px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); max-width: 900px; }
.faq-ask > i { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c, #2fd35b) 15%, #fff); }
.faq-ask > i .dino { width: 38px; height: 34px; }
.faq-ask > div { flex: 1; display: grid; line-height: 1.3; }
.faq-ask b { font-weight: 600; }
.faq-ask span { font-size: 14px; color: var(--muted); }
@media (max-width: 480px) { .faq-ask { border-radius: var(--r-lg); flex-wrap: wrap; } .faq-ask .btn { width: 100%; justify-content: center; } }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; } }

/* =========================================================
   JOURNAL
   ========================================================= */
.featured-post { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-top: clamp(40px, 6vw, 72px); }
.featured-post .media { aspect-ratio: 16/11; border-radius: var(--r-xl); }
.featured-post h2 { font-size: clamp(1.9rem, 3.4vw, 3.1rem); font-weight: 300; letter-spacing: -.045em; line-height: 1.05; margin: 16px 0; transition: color .3s; }
.featured-post:hover h2 { color: var(--green-deep); }
@media (max-width: 860px) { .featured-post { grid-template-columns: 1fr; } }
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 140px 1fr 120px 120px; gap: 24px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); transition: padding .6s var(--ease); }
.post-row:hover { padding-block: 28px; }
.post-row .media { aspect-ratio: 4/3; border-radius: 12px; }
.post-row h3 { font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.2; }
.post-row .c, .post-row .r { font-size: 13px; color: var(--muted); }
@media (max-width: 760px) { .post-row { grid-template-columns: 90px 1fr; } .post-row .c, .post-row .r { display: none; } }

.article { max-width: 760px; margin: 0 auto; }
.article-head { text-align: center; display: grid; gap: 20px; justify-items: center; }
.article-head h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); font-weight: 300; letter-spacing: -.05em; line-height: 1.02; }
.article-cover { margin: clamp(40px, 6vw, 72px) auto; max-width: 1180px; }
.article-cover .media { aspect-ratio: 16/9; border-radius: var(--r-xl); }
.prose { font-size: 18.5px; line-height: 1.75; color: var(--ink-2); }
.bionic-toggle { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); }
.post-meta .bionic-toggle { margin-left: 4px; padding-left: 14px; border-left: 1px solid var(--line); }
.bionic-toggle .sw { position: relative; width: 38px; height: 22px; border-radius: 99px; background: var(--soft-2); transition: background .3s; }
.bionic-toggle .sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(11, 13, 12, .25); transition: transform .4s var(--ease); }
.bionic-toggle[aria-pressed="true"] .sw { background: var(--green); }
.bionic-toggle[aria-pressed="true"] .sw::after { transform: translateX(16px); }
/* Word starts keep their normal colour and weight; only the endings fade. */
.prose .bn { opacity: .42; transition: opacity .3s; }
.prose h2 { font-size: 1.9rem; font-weight: 400; letter-spacing: -.035em; line-height: 1.2; color: var(--ink); margin: 2em 0 .6em; }
.prose h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; color: var(--ink); margin: 1.6em 0 .5em; }
.prose p { margin: 0 0 1.2em; }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--green); }
.prose blockquote { margin: 1.8em 0; padding: 0; font-size: 1.9rem; font-weight: 300; line-height: 1.25; color: var(--ink); letter-spacing: -.035em; }
.prose blockquote p { margin: 0; }
.prose code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .85em; background: var(--soft); padding: .15em .4em; border-radius: 6px; }
.prose img { border-radius: var(--r-md); margin: 1.6em 0; }

/* =========================================================
   ABOUT
   ========================================================= */
.pano { margin-top: clamp(40px, 6vw, 80px); }
.pano .media { aspect-ratio: 21/9; border-radius: var(--r-xl); }
@media (max-width: 760px) { .pano .media { aspect-ratio: 4/3; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.value { display: grid; gap: 14px; align-content: start; padding-top: 22px; border-top: 1px solid var(--line); }
.value .ic { display: block; }
.value .ic .dino { width: 92px; height: 84px; margin-left: -14px; transform-origin: 40% 80%; transition: transform .8s var(--ease); }
.value:hover .ic .dino { transform: rotate(-8deg) translateY(-6px); }
.value h3 { font-size: 1.35rem; font-weight: 400; letter-spacing: -.03em; }
.value p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: p; position: relative; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--green), var(--sky), var(--violet), var(--pink)); opacity: .5; }
.proc { position: relative; padding-right: 20px; }
.proc .dot { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font-family: var(--sans); font-size: 13px; position: relative; z-index: 1; transition: background .4s, transform .6s var(--ease); }
.proc:hover .dot { background: var(--lime); transform: scale(1.1); }
.proc h4 { margin: 22px 0 8px; font-size: 1.2rem; font-weight: 500; letter-spacing: -.02em; }
.proc p { margin: 0; color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr; gap: 28px; } .process::before { display: none; } }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.contact-side { position: sticky; top: 120px; display: grid; gap: 28px; }
.contact-side .big-mail { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 300; letter-spacing: -.04em; }
.contact-side .big-mail:hover { color: var(--green-deep); }
.contact-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; font-size: 15px; }
.contact-meta .k { display: block; color: var(--muted); font-size: 13px; margin-bottom: 4px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-side { position: static; } }
.form { display: grid; gap: 36px; }
.field { position: relative; display: grid; }
.field input, .field textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--line-2); background: transparent; outline: none;
  padding: 26px 0 12px; font-size: 20px; font-weight: 400; letter-spacing: -.02em; resize: none; border-radius: 0;
  transition: border-color .3s;
}
.field textarea { min-height: 140px; line-height: 1.5; }
.field label { position: absolute; left: 0; top: 26px; font-size: 20px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .45s var(--ease), color .3s; letter-spacing: -.02em; }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label,
.field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-24px) scale(.62); color: var(--ink-2); }
.field .line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.field input:focus ~ .line, .field textarea:focus ~ .line { transform: scaleX(1); }
.field-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 560px) { .field-2 { grid-template-columns: 1fr; } }
.group { display: grid; gap: 14px; }
.group .lbl { font-size: 15px; color: var(--muted); }
.form-error { color: #d0342c; font-size: 15px; }
.honey { position: absolute; left: -9999px; }
.success { display: grid; justify-items: start; gap: 22px; padding: 30px 0; }
.success .mark-pop { width: 88px; height: 102px; fill: var(--green); animation: pop 1s var(--ease) both; }
@keyframes pop { 0% { transform: scale(0) rotate(-30deg); } 60% { transform: scale(1.15) rotate(6deg); } 100% { transform: none; } }
.burst { position: fixed; z-index: 150; pointer-events: none; fill: var(--green); }

/* ---------- pages added in v3 ---------- */
.spec-note { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; margin: 0; }
.spec-note > span { color: var(--ink); font-weight: 600; margin-right: 4px; }
.spec-note .mark path, .pick .mark path { transition-delay: 0s; transition-duration: .7s; }
.filters .tabs { margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 13px; color: var(--muted); }
.byline { display: flex; gap: 12px; align-items: center; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.post-row[hidden] { display: none; }
.sec-head.between .tabs { margin: 0; }
/* contact: words you circle */
.picks { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.pick { position: relative; padding: 8px 6px; font-size: 19px; font-weight: 500; letter-spacing: -.02em; color: var(--ink-2); transition: color .3s; }
.pick:hover { color: var(--ink); }
.pick.on { color: var(--ink); }
.pick:not(.on) .mark path { stroke-dashoffset: 1 !important; }
.pick.on .mark path { stroke-dashoffset: 0; }
.contact-note { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
/* course page */
.course-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: 32px; }
.course-fig.big { aspect-ratio: 1 / 1.1; max-height: 78vh; }
.course-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; border-top: 1px solid var(--line); padding-top: 20px; font-size: 16px; }
.course-facts .k { display: block; font-family: var(--sans); font-size: 11px; letter-spacing: -.01em; color: var(--muted); margin-bottom: 6px; }
.course-facts small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.checklist.big li { font-size: clamp(1.1rem, 1.6vw, 1.35rem); font-weight: 300; letter-spacing: -.02em; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.checklist.big li svg { width: 18px; height: 21px; margin-top: 6px; }
@media (max-width: 860px) { .course-hero { grid-template-columns: 1fr; } .course-fig.big { width: min(100%, 380px); margin-inline: auto; } .course-facts { grid-template-columns: 1fr 1fr; } }

/* Syllabus: each week opens to show what it covers. Also used for the
   module groups in the classroom sidebar. */
.syllabus, .cls-list { border-top: 1px solid var(--line); }
.syllabus details, .cls-list details { border-bottom: 1px solid var(--line); }
.syllabus summary, .cls-list summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 0; cursor: pointer; }
.syllabus summary::-webkit-details-marker, .cls-list summary::-webkit-details-marker { display: none; }
.sy-n { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--c, var(--lime)) 55%, #fff); font-size: 15px; font-weight: 600; transition: transform .5s var(--ease); }
.syllabus summary:hover .sy-n { transform: rotate(-8deg) scale(1.06); }
.sy-t { flex: 1; min-width: 0; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -.025em; line-height: 1.25; }
.sy-t small { display: block; font-size: 12px; letter-spacing: 0; color: var(--muted); margin-bottom: 2px; }
.syllabus .pm, .cls-list .pm { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .5s var(--ease), background .3s; }
.syllabus .pm svg, .cls-list .pm svg { width: 12px; height: 12px; }
.syllabus details[open] .pm, .cls-list details[open] .pm { transform: rotate(45deg); background: var(--lime); }
.syllabus details.closing .pm, .cls-list details.closing .pm { transform: none; background: transparent; }
.syllabus .ans, .cls-list .ans { overflow: hidden; }
.syllabus .ans p { margin: 0 0 22px 54px; color: var(--ink-2); max-width: 46ch; font-size: 16px; }

/* Enrol */
.enrol { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: 32px; }
.enrol-card { position: sticky; top: 110px; padding: 10px 10px 22px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.enrol-card .course-fig { aspect-ratio: 16 / 10; overflow: hidden; border-radius: calc(var(--r-lg) - 6px); background: color-mix(in srgb, var(--tint) 26%, #fff); }
.enrol-card .course-fig .blob { top: 14%; bottom: -10%; }
.enrol-card .course-fig img { height: 92%; }
.ec-body { padding: 18px 10px 0; display: grid; gap: 6px; }
.ec-top { display: flex; justify-content: space-between; font-size: 14px; }
.ec-body h2 { font-size: 1.5rem; font-weight: 400; letter-spacing: -.03em; line-height: 1.2; }
.ec-body > p { margin: 0; font-size: 14px; }
.ec-steps, .seat-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.ec-steps li, .seat-steps li { display: flex; gap: 12px; align-items: flex-start; }
.ec-steps li > span, .seat-steps li > span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); }
.ec-steps b, .seat-steps b { display: block; font-weight: 600; font-size: 15px; }
.ec-steps small, .seat-steps small { display: block; color: var(--muted); font-size: 13.5px; }
.enrol-main { display: grid; gap: 22px; align-content: start; }
.enrol-main .form { margin-top: 12px; }
.enrol-pay { max-width: 520px; }
.tick { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.tick input { position: absolute; opacity: 0; pointer-events: none; }
.tick span { width: 22px; height: 22px; flex: none; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: background .2s, box-shadow .2s; margin-top: 1px; }
.tick input:checked + span { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0d0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: none; }
.tick input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.enrol-done { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .75); box-shadow: inset 0 0 0 1px var(--line); }
.enrol-done h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; letter-spacing: -.03em; }
.enrol-done p { margin: 0; }
.copy-link { display: flex; gap: 8px; align-items: center; padding: 6px 6px 6px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); max-width: 560px; }
.copy-link input { flex: 1; min-width: 0; border: 0; outline: none; background: none; font-size: 14px; color: var(--ink-2); text-overflow: ellipsis; }
@media (max-width: 860px) { .enrol { grid-template-columns: minmax(0, 1fr); } .enrol-card { position: static; order: 2; } }

/* Classroom */
.page > a.link + .page-head { margin-top: clamp(28px, 4vw, 48px); }
.seat-steps { max-width: 560px; border-top: 0; padding-top: 0; margin: 0 0 40px; }
.seat-steps li.done > span { background: var(--green); box-shadow: none; }
.seat-steps li.done > span svg { width: 11px; height: 13px; fill: var(--ink); }
.seat-steps li.now > span { background: var(--ink); color: #fff; box-shadow: none; }
/* Pay for your seat */
.paybox { display: grid; gap: 18px; max-width: 720px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line); }
.paybox h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 400; letter-spacing: -.03em; }
.paybox > p { margin: 0; }
.pb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pb-amt { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -.03em; }
.pb-amt small { font-size: 14px; font-weight: 400; color: var(--muted); }
.pb-or { margin: -6px 0 0; text-align: center; font-size: 13px; color: var(--muted); }
.pb-sub { font-size: 14px; }
.pb-panel { display: grid; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.pb-panel[hidden] { display: none; }
.pb-wallets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.pb-w { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 14px 14px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.pb-n { grid-column: 1; font-size: 13px; font-weight: 600; color: var(--muted); }
.pb-n small { font-weight: 400; }
.pb-w b { grid-column: 1; font-size: 20px; font-weight: 500; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.pb-copy { grid-column: 2; grid-row: 1 / span 2; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s; }
.pb-copy:hover { background: var(--soft); }
.pb-steps { margin: 0; padding-left: 20px; display: grid; gap: 6px; font-size: 15px; color: var(--ink-2); }
.pb-bank { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pb-bank summary { list-style: none; cursor: pointer; padding: 14px 0; font-size: 15px; font-weight: 600; }
.pb-bank summary::-webkit-details-marker { display: none; }
.pb-bank summary::after { content: "+"; float: right; font-weight: 400; transition: transform .4s var(--ease); }
.pb-bank[open] summary::after { transform: rotate(45deg); }
.pb-bank .ans { overflow: hidden; }
.pb-bank p { margin: 0 0 14px; font-size: 15px; color: var(--ink-2); }
.pb-note { margin: 0; font-size: 14px; }
.pb-form { display: grid; gap: 26px; padding-top: 6px; }
.pb-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.pb-methods label { cursor: pointer; }
.pb-methods input { position: absolute; opacity: 0; pointer-events: none; }
.pb-methods span { display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .2s, color .2s, box-shadow .2s; }
.pb-methods input:checked + span { background: var(--ink); color: #fff; box-shadow: none; }
.pb-methods input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.cls-keep { display: grid; gap: 12px; margin-top: 48px; }
.cls-keep p { margin: 0; font-size: 14px; }
.cls-head { margin-bottom: 28px; }
.cls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: clamp(24px, 3vw, 44px); align-items: start; }
.cls-player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--ink); }
.cls-player video, .cls-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.cls-player .cls-empty { position: absolute; inset: 0; background: var(--soft); }
.cls-empty { display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 24px; }
.cls-empty svg { width: 30px; height: 35px; fill: var(--green); }
.cls-empty p { margin: 0; color: var(--muted); }
.cls-empty.big { padding: clamp(40px, 7vw, 90px) 24px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.cls-empty.big h3 { font-size: 1.5rem; font-weight: 400; letter-spacing: -.03em; }
.cls-now { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-top: 18px; }
.cls-now small { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.cls-now h2 { font-size: clamp(1.3rem, 2vw, 1.7rem); font-weight: 400; letter-spacing: -.03em; line-height: 1.2; }
.cls-nav { display: flex; gap: 8px; }
.cls-nav .btn[disabled] { opacity: .4; pointer-events: none; }
.cls-notes { margin: 12px 0 0; max-width: 62ch; }
.cls-notes:empty { display: none; }
.cls-list { position: sticky; top: 100px; max-height: calc(100vh - 130px); overflow: auto; border-top: 0; scrollbar-width: thin; }
.cls-list summary { padding: 14px 0; gap: 12px; }
.cls-list .sy-n { width: 30px; height: 30px; font-size: 13px; }
.cls-list .sy-t { font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.cls-list ul { list-style: none; padding: 0 0 12px; margin: 0; display: grid; gap: 2px; }
.cls-list li button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; text-align: left; font-size: 14.5px; transition: background .2s; }
.cls-list li button:hover { background: rgba(11, 13, 12, .04); }
.cls-list li button.on { background: color-mix(in srgb, var(--lime) 45%, #fff); }
.cls-list .lt { flex: 1; min-width: 0; }
.cls-list .len { font-size: 12.5px; color: var(--muted); }
.cls-list .soon { padding: 6px 10px; font-size: 14px; color: var(--muted); }
.tick-dot { width: 16px; height: 16px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.cls-list li button.done .tick-dot { background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b0d0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: none; }
.cls-progress { padding: 0 0 14px; font-size: 13px; color: var(--muted); border-bottom: 1px solid var(--line); }
.cls-progress i { display: block; height: 4px; margin-top: 8px; border-radius: 4px; background: var(--soft-2); overflow: hidden; }
.cls-progress b { display: block; height: 100%; width: 0; background: var(--green); transition: width .6s var(--ease); }
.cls-files ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.cls-files a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; letter-spacing: -.015em; }
.cls-files a svg { width: 18px; height: 18px; flex: none; }
.cls-files a:hover { color: var(--green-deep); }
.cls-files .section, .section.cls-files { padding-top: 56px; padding-bottom: 0; }
@media (max-width: 900px) { .cls { grid-template-columns: minmax(0, 1fr); } .cls-list { position: static; max-height: none; } }

/* =========================================================
   SEARCH OVERLAY
   ========================================================= */
.search-overlay { position: fixed; inset: 0; z-index: 130; background: rgba(255, 255, 255, .84); backdrop-filter: blur(26px) saturate(1.4); -webkit-backdrop-filter: blur(26px) saturate(1.4); animation: fadeIn .35s var(--ease); overflow: auto; }
.search-inner { max-width: 860px; margin: 0 auto; padding: clamp(80px, 12vh, 140px) var(--gutter) 60px; }
.search-input { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--line-2); padding-bottom: 14px; }
.search-input svg { width: 28px; height: 28px; color: var(--muted); flex: none; }
.search-input input { flex: 1; border: 0; background: transparent; outline: none; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 300; letter-spacing: -.045em; min-width: 0; }
.search-close { position: absolute; top: 22px; right: var(--gutter); }
.search-results { margin-top: 24px; display: grid; gap: 4px; }
.search-hint { margin-top: 28px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { position: relative; margin-top: clamp(40px, 6vw, 80px); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; padding-top: 56px; border-top: 1px solid var(--line); }
.footer h4 { margin: 0 0 16px; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { font-size: 15.5px; color: var(--ink-2); transition: color .3s; }
.footer ul a:hover { color: var(--green-deep); }
.footer .tagline { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 300; letter-spacing: -.04em; line-height: 1.15; max-width: 16ch; margin: 0; }
.news { display: flex; width: 100%; max-width: 440px; gap: 6px; padding: 6px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); background: rgba(255,255,255,.6); }
.news input { flex: 1; min-width: 0; width: 100%; height: 42px; border: 0; background: transparent; outline: none; padding: 0 14px; font-size: 15px; }
.news .btn { height: 42px; flex: none; }
.news-note { font-size: 13px; color: var(--muted); margin-top: 10px; }
/* Giant wordmark: the dino is sized to the letters' cap height and sits on the
   same baseline; the whole thing fades smoothly into the page background. */
.footer-giant { position: relative; display: flex; justify-content: center; margin-top: 18px; padding-top: 12px; user-select: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .15) 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 30%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .15) 84%, transparent 100%); }
.footer-giant .word { font-family: var(--logo); font-weight: 800; font-size: clamp(110px, 25vw, 400px); letter-spacing: -.075em; line-height: .8; color: var(--ink); display: flex; align-items: flex-start; }
.footer-giant .word sup { font-family: "Changa", sans-serif; font-weight: 700; font-size: .2em; letter-spacing: 0; margin-left: .15em; margin-top: .1em; color: var(--green); line-height: 1; }
.footer-giant .peek { align-self: flex-end; height: .735em; width: auto; aspect-ratio: 25 / 29; margin-left: .1em; margin-bottom: var(--peek-drop, .02em); fill: var(--green); transform-origin: 50% 100%; transition: transform 1s var(--ease); }
.footer-giant:hover .peek { transform: rotate(-6deg) translateY(-4%); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 56px; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }
/* Tablet and phone: tagline on top, the two link lists side by side, and the
   newsletter across the full width so the email box never runs off-screen. */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px 24px; }
  .footer-top > :first-child, .footer-top > :last-child { grid-column: 1 / -1; }
}

/* =========================================================
   404
   ========================================================= */
.lost { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: 120px; }
.lost .mark-lost { width: 120px; height: 140px; fill: var(--green); margin: 0 auto 30px; animation: wander 6s var(--ease-in-out) infinite; }
@keyframes wander { 25% { transform: translateX(-30px) scaleX(-1); } 50% { transform: translateX(0) rotate(8deg); } 75% { transform: translateX(30px); } }

/* skeleton */
.skel { background: linear-gradient(90deg, var(--soft) 0%, #fafaf8 50%, var(--soft) 100%); background-size: 200% 100%; animation: skel 1.4s infinite; border-radius: var(--r-md); }
@keyframes skel { to { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal], .split .line > span { opacity: 1 !important; transform: none !important; }
  .grain { animation: none; }
}

/* transparent cut-outs inside media frames (blog covers, product shots) */
.media:has(> img[src*="/gen/"]) { background: radial-gradient(75% 70% at 50% 60%, rgba(214, 246, 94, .35), rgba(255, 255, 255, .6) 70%); }
.media > img[src*="/gen/"] { object-fit: contain; padding: 6%; }

.about-hero .mark-peek { z-index: 0; right: 9%; bottom: 30%; width: 120px; height: 138px; animation-duration: 7s; }

/* ---------- order page (after a shop checkout) ---------- */
.order-items { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); max-width: 720px; }
.order-items li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.order-items li span { flex: 1; min-width: 0; }
.order-items li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.order-items img { width: 52px; height: 52px; object-fit: contain; border-radius: 12px; background: var(--paper-2, #f4f4f1); flex: none; }
.order-items .order-total { border-bottom: 0; font-size: 18px; }
.order-items .order-total span { color: var(--muted); font-size: 15px; }
.order-page .cls-keep { margin-top: 48px; }
.cls-files a svg.dl { transform: rotate(90deg); }

/* ---------- coming soon (Shop / Academy while closed) ---------- */
.soon .soon-dino { width: 150px; height: 134px; display: block; margin: 0 auto 18px; animation: wander 6s var(--ease-in-out) infinite; }
.soon-tag { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .02em; background: var(--ink); color: #fff; }
.soon-form { display: flex; gap: 8px; max-width: 460px; margin: 34px auto 0; padding: 6px 6px 6px 20px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.soon-form input[type=email] { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: var(--ink); }
.soon-form .btn { flex: none; }
.soon-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.soon-note { font-size: 14px; margin: 12px auto 0; max-width: 460px; }
@media (max-width: 480px) { .soon-form { flex-direction: column; border-radius: 22px; padding: 8px; } .soon-form input[type=email] { padding: 10px 12px; } }
/* while the shop is closed, the bag stays out of the nav */
html[data-shop="closed"] #bagOpen { display: none; }
/* while the journal is closed, links into single stories fold away */
html[data-journal="closed"] .disclosure-link { display: none; }

/* signed in as the studio: "See as admin / See as visitor" beside the logo */
.nav-left { display: flex; align-items: center; gap: 16px; justify-self: start; min-width: 0; }
.view-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.view-switch button { height: 26px; padding: 0 11px; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.view-switch button:hover { color: var(--ink); }
.view-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 1180px) { .view-switch .vs-long { display: none; } .view-switch button { text-transform: capitalize; } }
@media (max-width: 420px) { .nav-left { gap: 10px; } .view-switch button { padding: 0 8px; } }

/* page content written by the server for search engines and AI assistants; the app replaces it */
.ssr { max-width: 760px; margin: 0 auto; padding: 140px 24px 80px; line-height: 1.6; }
.ssr h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 400; }
.ssr video, .ssr img { max-width: 100%; height: auto; border-radius: 16px; }
.ssr li { margin: 0 0 12px; }
.js .ssr { display: none; }

/* Service pages (/services, /ai-…). These classes are only used there. */
.svc-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); }
.svc-intro p { margin: 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--ink-2); }
@media (max-width: 760px) { .svc-intro { grid-template-columns: 1fr; } }
.svc-num { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.svc-links { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-links a { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 15px; transition: background .3s, transform .4s var(--ease); }
.svc-links a:hover { background: var(--lime); transform: translateY(-2px); }
.svc-links .arr { width: 14px; height: 14px; }
.service-page .sec-head.between { align-items: end; justify-content: space-between; }

/* =========================================================
   Accounts: header button, sign-in window, profile page
   ========================================================= */
.acct-btn.signed-in { background: var(--ink); color: #fff; }
.acct-btn.signed-in:hover { background: var(--ink-2); }
.acct-initials { font-size: 12px; font-weight: 700; letter-spacing: .02em; line-height: 1; }
.acct-overlay { position: fixed; inset: 0; z-index: 140; display: grid; place-items: center; padding: 20px; overflow: auto; background: rgba(255, 255, 255, .78); backdrop-filter: blur(22px) saturate(1.3); -webkit-backdrop-filter: blur(22px) saturate(1.3); animation: fadeIn .3s var(--ease); }
.acct-overlay[hidden] { display: none; }
.acct-card { position: relative; width: min(440px, 100%); display: grid; gap: 14px; padding: clamp(24px, 4vw, 36px); border-radius: 28px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 30px 80px -30px rgba(11, 13, 12, .35); animation: lbIn .45s var(--ease); }
.acct-close { position: absolute; top: 14px; right: 14px; }
.acct-title { margin: 4px 0 0; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight: 400; letter-spacing: -.04em; line-height: 1.1; }
.acct-sub { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.acct-fine { margin: 2px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.acct-none { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--soft); color: var(--ink-2); font-size: 15px; }
.acct-providers { display: grid; gap: 10px; margin-top: 4px; }
.acct-provider { display: flex; align-items: center; justify-content: center; gap: 12px; height: 50px; padding: 0 18px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: -.01em; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, box-shadow .25s, transform .2s; }
.acct-provider:hover { background: var(--soft); box-shadow: inset 0 0 0 1px var(--ink); }
.acct-provider:active { transform: scale(.98); }
.acct-provider:focus-visible, .acct-linkbtn:focus-visible { outline: 2px solid var(--green-deep); outline-offset: 2px; }
.acct-provider svg { flex: none; }
.acct-or { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.acct-or::before, .acct-or::after { content: ""; height: 1px; background: var(--line-2); }
.acct-email, .acct-step { display: grid; gap: 10px; }
.acct-step[hidden] { display: none; }
.acct-email.busy { opacity: .6; pointer-events: none; }
.acct-email .btn, .acct-name .btn { justify-content: center; }
.acct-field { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.acct-field input { width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--soft); color: var(--ink); font: inherit; font-size: 16px; font-weight: 500; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .25s, background .25s; }
.acct-field input:focus { outline: none; background: var(--paper); box-shadow: inset 0 0 0 2px var(--green-deep); }
.acct-field input[name=code] { font-family: var(--mono); letter-spacing: .4em; text-align: center; font-size: 20px; }
.acct-static b { font-size: 16px; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.acct-sent { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); overflow-wrap: anywhere; }
.dl-form { max-width: 420px; margin-top: 8px; }
.acct-msg { margin: 0; min-height: 1.2em; font-size: 14px; color: #b3261e; }
.acct-msg[role=status] { color: var(--green-deep); }
.acct-linkbtn { justify-self: start; padding: 4px 0; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acct-linkbtn:hover { color: var(--ink); }
.acct-danger { color: #b3261e; }
.acct-danger:hover { color: #8c1d18; }
.acct-page { display: grid; gap: clamp(20px, 3vw, 32px); }
.acct-panel { display: grid; gap: 14px; width: min(560px, 100%); padding: clamp(20px, 3vw, 30px); border-radius: 24px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.acct-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.acct-h { margin: 0; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; }
.acct-name { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px; }
.acct-name .acct-msg { grid-column: 1 / -1; }
.acct-name .btn { height: 50px; }
.acct-methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.acct-methods li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--soft); font-size: 15px; font-weight: 600; }
.acct-methods em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--green-deep); }
.acct-banner { width: min(560px, 100%); margin: 0; padding: 14px 16px; border-radius: 14px; background: #fff1ef; color: #8c1d18; font-size: 15px; line-height: 1.5; }
@media (max-width: 480px) { .acct-name { grid-template-columns: 1fr; } }
.acct-close svg { width: 18px; height: 18px; }
.acct-connect { display: grid; }
.acct-connect .acct-provider { width: 100%; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* ---- order page: three steps, downloads first ---- */
.order-steps { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; gap: 14px; max-width: 760px; }
.order-steps > li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.order-steps h2 { margin: 6px 0 14px; font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.order-steps .muted { margin: 12px 0 0; font-size: 14px; }
.order-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; }
.order-dls { display: flex; flex-wrap: wrap; gap: 10px; }
.order-dl { gap: 10px; }
.order-dl small { opacity: .6; font-size: 12px; font-weight: 500; }
.order-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 18px; border-radius: 18px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.order-code + .order-code { margin-top: 10px; }
.order-code span { display: grid; gap: 2px; min-width: 0; }
.order-code small { color: var(--muted); font-size: 12px; }
.order-code b { font-family: var(--mono); font-weight: 500; font-size: 15px; letter-spacing: .04em; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .order-steps > li { grid-template-columns: 1fr; gap: 10px; }
  .order-n { width: 36px; height: 36px; }
  .order-dl { width: 100%; justify-content: space-between; }
  .order-code { flex-direction: column; align-items: stretch; }
}
/* ---- account: your orders ---- */
.acct-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acct-order { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; border-radius: 16px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none; transition: background .2s; }
.acct-order:hover { background: #ecefea; }
.acct-order img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; background: var(--line); }
.acct-order span { display: grid; gap: 2px; min-width: 0; }
.acct-order b { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-order small { color: var(--muted); font-size: 13px; }
.acct-order em { font-style: normal; font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 480px) { .acct-order { grid-template-columns: 44px 1fr; } .acct-order img { width: 44px; height: 44px; } .acct-order em { display: none; } }
.order-keep { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; max-width: 760px; padding: clamp(18px, 3vw, 28px); border-radius: 24px; background: rgba(255, 255, 255, .78); box-shadow: inset 0 0 0 1px var(--line); }
.order-keep h2 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 600; letter-spacing: -.02em; }
.order-keep .muted { margin: 0; font-size: 14px; max-width: 46ch; }
.order-keep-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* order page: computer logos on the download buttons */
.order-dl .os { flex: none; margin-right: -2px; }
.order-ver { margin: 12px 0 0; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.order-ver span { font-weight: 700; color: var(--ink); padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--green) 22%, transparent); }
.order-ver small { flex-basis: 100%; font-size: 13px; }
@media (max-width: 560px) { .order-dl .os + span { margin-right: auto; } }

/* ---------- Safari smoothness ----------
   Safari redraws every frosted-glass blur each time anything behind it moves
   (the living background moves all the time). Small, repeated or moving items
   get a solid, slightly whiter fill instead; big panels keep their glass. */
.is-safari :is(.chip, .tag, .play-badge, .round-btn, .btn-light, .float-chip, .progress-mark, .step-count, .finder-box) { -webkit-backdrop-filter: none; backdrop-filter: none; }
.is-safari .chip { background: rgba(255, 255, 255, .86); }
.is-safari .round-btn { background: rgba(255, 255, 255, .88); }
.is-safari .btn-light { --bg: rgba(255, 255, 255, .9); }
.is-safari .float-chip, .is-safari .progress-mark { background: rgba(255, 255, 255, .94); }
.is-safari .finder-box { background: rgba(255, 255, 255, .94); }

/* Things shown in one currency only (e.g. a was price set only in taka). */
html[data-cur="USD"] [data-only="BDT"], html[data-cur="BDT"] [data-only="USD"] { display: none !important; }
