/* burak.pm
   Palette taken from the portrait: slate studio backdrop, shirt blue, charcoal suit,
   plus one warm saffron that only ever means "resolved" or "done". */

@font-face {
  font-family: "Bricolage";
  font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/assets/fonts/bricolage-grotesque-latin-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Bricolage";
  font-style: normal; font-display: swap;
  font-weight: 200 800; font-stretch: 75% 100%;
  src: url(/assets/fonts/bricolage-grotesque-latin-ext-standard-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: "Schibsted";
  font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(/assets/fonts/schibsted-grotesk-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: "Schibsted";
  font-style: normal; font-display: swap; font-weight: 400 900;
  src: url(/assets/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --paper: #E9ECF2;
  --paper-2: #F5F6FA;
  --ink: #191C2E;
  --ink-2: #4A4F6B;
  --line: #C8CEDC;
  --blue: #3550D0;
  --blue-ink: #FFFFFF;
  --sky: #B7CFF0;
  --saffron: #E8A631;
  --saffron-ink: #2A1D05;
  --bubble: #FFFFFF;
  --shadow: 0 1px 0 rgba(25, 28, 46, .06), 0 18px 40px -24px rgba(25, 28, 46, .35);

  --display: "Bricolage", "Arial Narrow", system-ui, sans-serif;
  --text: "Schibsted", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-board: 28px;
  --r-card: 20px;
  --r-btn: 12px;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #10131F;
  --paper-2: #181C2D;
  --ink: #E8EBF4;
  --ink-2: #A3A9C4;
  --line: #2C3249;
  --blue: #8EA2FF;
  --blue-ink: #10131F;
  --sky: #2B3B66;
  --saffron: #F2BC55;
  --saffron-ink: #241803;
  --bubble: #20253A;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 24px 48px -28px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--saffron); color: var(--saffron-ink); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 14px var(--gutter);
  transition: background-color .3s, box-shadow .3s;
}
.topbar.is-stuck {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: var(--ink); color: var(--paper);
  font: 700 22px/1 var(--display); font-stretch: 80%;
  transition: transform .5s var(--ease), background-color .3s;
}
.brand:hover .brand__mark { transform: rotate(-12deg) scale(1.06); background: var(--blue); color: var(--blue-ink); }
.brand__name { font: 600 19px/1 var(--display); letter-spacing: -.01em; }
.brand__name b { font-weight: 600; color: var(--ink-2); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 8px 12px; border-radius: 10px;
  text-decoration: none; font-size: 15px; color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue);
}

.tools { display: flex; align-items: center; gap: 8px; }
.clock {
  display: inline-flex; align-items: center; gap: 8px; margin-right: 6px;
  font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums;
}
.clock__time { color: var(--ink); font-weight: 600; }
.clock__icon { width: 10px; height: 10px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px color-mix(in srgb, var(--saffron) 25%, transparent); }
.clock.is-night .clock__icon { background: transparent; box-shadow: inset 3px -2px 0 0 var(--sky); }
.tool {
  display: inline-grid; place-items: center; gap: 4px; grid-auto-flow: column;
  height: 38px; min-width: 38px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--paper-2);
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  transition: border-color .2s, transform .2s var(--ease);
}
.tool:hover { border-color: var(--ink-2); }
.tool:active { transform: scale(.95); }
.tool svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.i-moon { fill: currentColor !important; stroke: none !important; }
[data-theme="light"] .i-sun, [data-theme="dark"] .i-moon { display: none; }
kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px;
  border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
  font: 600 11px/1 var(--text); color: var(--ink-2); background: var(--paper);
}
.tool--k kbd { background: transparent; }
.i-menu { display: none; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(32px, 7vh, 88px) var(--gutter) 40px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 4vw, 56px);
}
.hero__text { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 24px clamp(28px, 5vw, 80px); align-items: end; }
.hero__side .hero__lede { margin-top: 0; }
.hero__hello { margin: 0 0 14px; font-size: 18px; color: var(--ink-2); }
.hero__title {
  margin: 0;
  font: 750 clamp(46px, 7.4vw, 112px)/.93 var(--display);
  font-stretch: 80%;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.hero__title .w { display: inline-block; white-space: nowrap; }
/* The headline is visible from the first paint (good for LCP); it only settles into place. */
.hero__title { animation: heroIn 1.1s var(--ease) both; }
@keyframes heroIn { from { transform: translateY(.16em); font-stretch: 100%; letter-spacing: 0; } }
@media (prefers-reduced-motion: reduce) { .hero__title { animation: none; } }
/* Above the fold text ships in both languages so nothing flashes before the script runs. */
:root[lang="tr"] [data-dual] > [lang="en"], :root:not([lang="tr"]) [data-dual] > [lang="tr"] { display: none; }
.hero__lede { max-width: 44ch; margin: 26px 0 30px; font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: var(--r-btn);
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .25s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--blue); color: var(--blue-ink); }
.btn--ghost { border-color: var(--line); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }

/* the live queue console */
.board {
  margin: 0; position: relative;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-board);
  box-shadow: var(--shadow); overflow: hidden;
}
.board { animation: boardIn 1.1s var(--ease) .25s both; }
@keyframes boardIn { from { transform: translateY(18px) scale(.985); } }
@media (prefers-reduced-motion: reduce) { .board { animation: none; } }
.board__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px 18px; padding: 18px 20px 8px; flex-wrap: wrap; }
.board__intro { flex: 1 1 260px; min-width: 0; }
.board__title { display: flex; align-items: center; gap: 10px; margin: 0; font: 650 17px/1.2 var(--display); }
.board__hint { margin: 5px 0 0; font-size: 13.5px; color: var(--ink-2); max-width: 46ch; line-height: 1.45; }
.board__controls { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.seg__label { font-size: 12px; font-weight: 600; color: var(--ink-2); margin-right: 2px; }
.live { width: 9px; height: 9px; border-radius: 50%; background: #2FB88A; position: relative; flex: none; }
.live::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #2FB88A; opacity: 0; animation: ping 2.2s infinite; }
.is-paused .live { background: var(--ink-2); }
.is-paused .live::after { animation: none; }
@keyframes ping { 0% { transform: scale(.5); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.seg button { border: 0; background: transparent; padding: 6px 13px; cursor: pointer; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.seg button:not([aria-pressed="true"]):hover { color: var(--ink); }
.board__pause {
  flex: none; border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
  padding: 6px 13px; font-size: 12.5px; font-weight: 600;
}
.board__pause:hover { border-color: var(--ink-2); }
.board__stage { position: relative; }
.board__canvas { display: block; width: 100%; height: clamp(400px, 56vh, 500px); touch-action: manipulation; }
.tip {
  position: absolute; z-index: 3; width: min(280px, 80%); pointer-events: none;
  padding: 12px 14px; border-radius: 14px; background: var(--ink); color: var(--paper);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5); font-size: 13px; line-height: 1.45;
}
.tip__top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.tip__chip { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 16%, transparent); font-weight: 600; font-size: 11.5px; }
.tip__msg { margin: 0; font-size: 14.5px; font-weight: 600; }
.tip__tr { margin: 4px 0 0; color: color-mix(in srgb, var(--paper) 72%, transparent); }
.tip__sla { margin: 8px 0 0; font-weight: 600; color: var(--saffron); }
.board__main { display: grid; grid-template-columns: minmax(0, 1fr) 300px; border-top: 1px dashed var(--line); }
.board__side { padding: 18px 20px; border-left: 1px dashed var(--line); display: grid; gap: 18px; align-content: start; }
.kpis { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.kpis div { min-width: 0; }
.kpis dt { font-size: 11.5px; color: var(--ink-2); line-height: 1.25; }
.kpis dd { margin: 3px 0 0; white-space: nowrap; }
.kpis b { font: 720 28px/1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.kpis small { font-size: 12px; color: var(--ink-2); margin-left: 1px; }
.kpis .kpi--you { color: #B57A10; }
:root[data-theme="dark"] .kpis .kpi--you { color: var(--saffron); }
.mix__label { margin: 0 0 6px; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 600; }
.mix__count { color: var(--ink-2); font-weight: 500; }
.mix__count b { color: var(--ink); }
.mix__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--line); }
.mix__bar i { display: block; height: 100%; transition: flex-grow .8s var(--ease); min-width: 2px; }
.mix__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 8px 0 0; padding: 0; font-size: 12px; color: var(--ink-2); }
.mix__legend li { display: inline-flex; align-items: center; gap: 6px; }
.mix__legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.board__note { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 12px; color: var(--ink-2); }
.legend { display: inline-flex; align-items: center; gap: 6px; }
.pr { width: 4px; height: 14px; border-radius: 2px; display: inline-block; }
.pr--1 { background: #E0533D; } .pr--2 { background: var(--blue); } .pr--3 { background: var(--ink-2); opacity: .55; }
.board__scale { flex-basis: 100%; }
.bump { animation: bump .5s var(--ease); display: inline-block; }
@keyframes bump { 40% { transform: scale(1.45); } }

/* ---------- facts ---------- */
.facts {
  max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0;
}
.fact { padding: 22px 22px 22px 0; border-top: 1.5px solid var(--ink); }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--line); }
.fact b { display: block; font: 750 clamp(40px, 4.4vw, 60px)/1 var(--display); font-stretch: 80%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.45; max-width: 26ch; }

/* ---------- sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: clamp(72px, 11vw, 140px) var(--gutter) 0; }
.section__title {
  margin: 0 0 18px;
  font: 720 clamp(36px, 5vw, 64px)/1 var(--display); font-stretch: 82%; letter-spacing: -.03em;
}
.section__lede { margin: 0 0 36px; max-width: 58ch; color: var(--ink-2); }

/* what I do: expandable lanes, styled like queue rows */
.work__list { border-top: 1.5px solid var(--ink); margin-top: 28px; }
.lane { border-bottom: 1px solid var(--line); }
.lane__head {
  width: 100%; display: grid; grid-template-columns: 56px 1fr 32px; align-items: center; gap: 18px;
  padding: 22px 0; background: none; border: 0; text-align: left;
}
.lane__glyph { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); transition: background-color .3s, color .3s; }
.lane__glyph svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lane__title { font: 650 clamp(22px, 2.6vw, 32px)/1.15 var(--display); font-stretch: 88%; letter-spacing: -.015em; }
.lane__toggle { width: 28px; height: 28px; position: relative; justify-self: end; }
.lane__toggle::before, .lane__toggle::after { content: ""; position: absolute; left: 6px; right: 6px; top: 13px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s var(--ease); }
.lane__toggle::after { transform: rotate(90deg); }
.lane__head[aria-expanded="true"] .lane__toggle::after { transform: rotate(0); }
.lane__head[aria-expanded="true"] .lane__glyph { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.lane__head:hover .lane__title { color: var(--blue); }
.lane__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); padding-left: 74px; }
.lane__head[aria-expanded="true"] + .lane__body { grid-template-rows: 1fr; }
.lane__inner { overflow: hidden; min-height: 0; }
.lane__body p { margin: 0; max-width: 62ch; color: var(--ink-2); }
.lane__body .tags { margin: 14px 0 26px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.tags li { padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--sky) 55%, transparent); font-size: 13.5px; font-weight: 500; }

/* path: stepper */
.path__track {
  position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  padding-top: 8px;
}
.path__rail { position: absolute; left: 22px; right: 22px; top: 30px; height: 3px; background: var(--line); border-radius: 3px; z-index: 0; }
.path__rail span { display: block; height: 100%; width: 0; background: var(--blue); border-radius: 3px; transition: width .7s var(--ease); }
.step {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  background: none; border: 0; padding: 0; text-align: left;
}
.step__n {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--line); font: 700 18px/1 var(--display);
  transition: background-color .3s, border-color .3s, color .3s, transform .4s var(--ease);
}
.step.is-done .step__n { border-color: var(--blue); color: var(--blue); }
.step[aria-selected="true"] .step__n { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); transform: scale(1.12); }
.step--next .step__n { border-style: dashed; }
.step__role { font: 620 clamp(16px, 1.6vw, 20px)/1.2 var(--display); font-stretch: 90%; color: var(--ink-2); max-width: 14ch; transition: color .2s; }
.step[aria-selected="true"] .step__role, .step:hover .step__role { color: var(--ink); }
.path__panel {
  margin-top: 30px; padding: 28px clamp(20px, 3vw, 36px);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-card);
  min-height: 150px;
}
.path__when { margin: 0 0 8px; font-weight: 600; color: var(--blue); }
.path__text { margin: 0; max-width: 64ch; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.path__panel.swap .path__text, .path__panel.swap .path__when { animation: swap .45s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateX(10px); } }

/* projects: bento */
.projects__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; position: relative;
  padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: transparent;
  font-size: 14.5px; font-weight: 550; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"], .chip:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 3px; }

.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(190px, auto); gap: 14px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 10px; text-align: left;
  padding: 24px; border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--paper-2); overflow: hidden; isolation: isolate;
  transition: border-color .25s, transform .5s var(--ease), opacity .35s;
}
.card:hover { border-color: var(--ink-2); }
.card[hidden] { display: none; }
.card__art { display: block; flex: 1; min-height: 120px; margin: -6px -6px 6px; }
.card__art img { width: 100%; height: 100%; max-height: 260px; object-fit: contain; object-position: center; transition: transform .7s var(--ease); filter: drop-shadow(0 18px 24px rgba(25, 28, 46, .14)); }
.card:hover .card__art img { transform: translateY(-6px) scale(1.03) rotate(-1deg); }
.card--xl .card__art img { max-height: 360px; }
.card--md .card__art img { max-height: 330px; }
.card__text { display: grid; gap: 10px; }
.card--full { flex-direction: row; align-items: center; gap: 28px; }
.card--full .card__text { flex: 1 1 340px; }
.card--full .card__art { order: 2; flex: 1.4 1 0; margin: -10px -10px -10px 0; min-height: 0; }
.card--full .card__art img { max-height: 280px; }
.sheet__glyph img { width: 100%; height: 100%; object-fit: contain; }
.card[data-id="tamga"], .card--saffron:has(.card__video) { background: #E4A132; border-color: #E4A132; color: #241803; }
.card__video { display: block; width: 100%; height: auto; max-height: 300px; object-fit: contain;
  -webkit-mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 80% at 50% 50%, #000 62%, transparent 100%); }
.card:hover .card__video { transform: none; }
.card__glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0; font: 680 clamp(22px, 2.2vw, 28px)/1.08 var(--display); font-stretch: 86%; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 48ch; }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; margin-top: 6px; }
.noai { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; font-size: 12.5px; font-weight: 600; opacity: .8; }
.noai::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2FB88A; }
.card__more { margin-top: 0; font-size: 14px; font-weight: 600; color: var(--blue); }
.card__metric { position: absolute; right: 22px; top: 18px; font: 780 clamp(44px, 6vw, 84px)/1 var(--display); font-stretch: 75%; letter-spacing: -.04em; color: color-mix(in srgb, var(--ink) 9%, transparent); z-index: -1; }
.card--xl { grid-column: span 4; grid-row: span 2; }
.card--md { grid-column: span 2; grid-row: span 2; }
.card--sm { grid-column: span 2; }
.card--full { grid-column: 1 / -1; min-height: 220px; }
.card--full .card__glyph { margin-bottom: 0; }
.card--blue { background: var(--blue); color: var(--blue-ink); border-color: var(--blue); }
.card--blue p, .card--blue .card__more { color: color-mix(in srgb, var(--blue-ink) 82%, transparent); }
.card--blue .card__metric { color: color-mix(in srgb, var(--blue-ink) 14%, transparent); }
.card--saffron { background: var(--saffron); color: var(--saffron-ink); border-color: var(--saffron); }
.card--saffron p, .card--saffron .card__more { color: color-mix(in srgb, var(--saffron-ink) 80%, transparent); }
.card--blue:hover, .card--saffron:hover { border-color: var(--ink); }
.card__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--sky) 60%, transparent), transparent 70%);
}
.card:hover .card__spot { opacity: 1; }
.card--blue .card__spot, .card--saffron .card__spot { background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 70%); }

/* xl card gets a live mini chart */
.spark { display: flex; align-items: flex-end; gap: 6px; height: 90px; margin: 10px 0 6px; }
.spark i { flex: 1; border-radius: 6px 6px 2px 2px; background: color-mix(in srgb, var(--blue) 30%, transparent); height: 20%; transition: height .9s var(--ease); }
.spark i.hi { background: var(--blue); }

/* weather */
.wx { display: inline-flex; align-items: center; gap: 6px; margin-right: 6px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.wx__icon svg { width: 20px; height: 20px; display: block; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wx__icon .sun { stroke: #C98A12; } :root[data-theme="dark"] .wx__icon .sun { stroke: var(--saffron); }
.wx__icon .drop { stroke: var(--blue); }

/* visitor map */
.visits__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 40px; }
.visits__head .section__lede { margin-bottom: 24px; }
.visits__stats { margin-bottom: 24px; text-align: right; }
.visits__total { margin: 0; font-size: 16px; color: var(--ink-2); }
.visits__total b { font: 720 clamp(30px, 3.4vw, 44px)/1 var(--display); font-stretch: 82%; color: var(--ink); font-variant-numeric: tabular-nums; }
.visits__you { margin: 8px 0 0; font-size: 14.5px; font-weight: 600; color: var(--blue); }
.map { position: relative; border-radius: var(--r-board); background: var(--paper-2); border: 1px solid var(--line); padding: clamp(10px, 2vw, 24px); overflow: hidden; }
.map__svg svg { display: block; width: 100%; height: auto; }
.map__svg path { fill: color-mix(in srgb, var(--ink) 9%, var(--paper-2)); stroke: var(--paper-2); stroke-width: .6; transition: fill .6s var(--ease); }
.map__svg path[data-n] { cursor: pointer; }
.map__svg path:hover { stroke: var(--ink); stroke-width: 1; }
.map__svg path.is-you { stroke: var(--saffron); stroke-width: 1.6; }
.map__home circle { fill: var(--saffron); }
.map__home .ring { fill: none; stroke: var(--saffron); stroke-width: 2; transform-origin: center; transform-box: fill-box; animation: homeping 2.4s infinite; }
@keyframes homeping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map__home text { font: 650 13px var(--text); fill: var(--ink); paint-order: stroke; stroke: var(--paper-2); stroke-width: 4px; }
.map__tip { position: absolute; z-index: 2; pointer-events: none; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: var(--paper); font-size: 13.5px; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow); }
.map__tip small { display: block; font-weight: 500; opacity: .75; }
.map__scale { position: absolute; left: 22px; bottom: 18px; display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.map__scale i { width: 120px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, color-mix(in srgb, var(--blue) 18%, var(--paper-2)), var(--blue)); }
.visits__top { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.visits__top li { padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); display: grid; gap: 4px; }
.visits__top b { font: 650 16px/1.2 var(--display); font-stretch: 90%; }
.visits__top span { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.visits__top i { display: block; height: 4px; border-radius: 4px; background: var(--blue); }

/* now playing */
.np {
  position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center;
  margin-top: 16px; padding: 12px; border-radius: var(--r-card); text-decoration: none;
  background: var(--paper-2); border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: border-color .2s, transform .3s var(--ease);
}
.np:hover { border-color: var(--ink-2); transform: translateY(-2px); }
.np__art { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: var(--sky); }
.np__art img { width: 100%; height: 100%; object-fit: cover; }
.np.is-playing .np__art { animation: spin 14s linear infinite; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }
.np__body { display: grid; gap: 2px; min-width: 0; }
.np__status { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; color: #1DB954; }
.np:not(.is-playing) .np__status { color: var(--ink-2); }
.np__title, .np__artist { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.np__title { font: 650 16px/1.25 var(--display); font-stretch: 90%; }
.np__artist { font-size: 13.5px; color: var(--ink-2); }
.np__progress { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.np__bar { flex: 1; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.np__bar i { display: block; height: 100%; width: 0; background: #1DB954; border-radius: 4px; transition: width 1s linear; }
.np__time { font-size: 11.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.np:not(.is-playing) .np__progress { display: none; }
.eq { display: none; align-items: flex-end; gap: 2px; height: 12px; }
.is-playing .eq { display: inline-flex; }
.eq i { width: 3px; background: currentColor; border-radius: 1px; animation: eq 1s ease-in-out infinite alternate; }
.eq i:nth-child(1) { height: 40%; animation-delay: -.2s; } .eq i:nth-child(2) { height: 90%; animation-delay: -.6s; }
.eq i:nth-child(3) { height: 60%; animation-delay: -.4s; } .eq i:nth-child(4) { height: 75%; animation-delay: -.8s; }
@keyframes eq { 0% { transform: scaleY(.3); } 100% { transform: scaleY(1); } }
.eq i { transform-origin: bottom; }

/* now */
.now { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.now__portrait { position: sticky; top: 100px; }
.now__portrait picture { display: block; border-radius: var(--r-board); overflow: hidden; background: #8D9097; aspect-ratio: 491 / 617; }
.now__portrait img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92); transition: transform 1.2s var(--ease); }
.now__portrait:hover img { transform: scale(1.03); }
.now__photo { position: relative; }
.hola {
  position: absolute; left: -14px; bottom: 30px; margin: 0;
  padding: 12px 18px; border-radius: 18px 18px 18px 4px; background: var(--bubble); box-shadow: var(--shadow);
  font: 650 22px/1 var(--display); font-stretch: 86%;
}
.hola span { display: inline-block; transition: opacity .35s, transform .35s var(--ease); }
.hola span.out { opacity: 0; transform: translateY(-8px); }
.now__list { list-style: none; padding: 0; margin: 12px 0 0; }
.now__list li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.now__list li:first-child { border-top: 1.5px solid var(--ink); }
.now__list b { font: 650 21px/1.2 var(--display); font-stretch: 90%; }
.now__list span { color: var(--ink-2); }
.toolbox { margin-top: 48px; }
.toolbox h3 { margin: 0 0 8px; font: 650 24px/1.2 var(--display); font-stretch: 88%; }
.toolbox dl { margin: 0; }
.toolbox dl > div { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.toolbox dt { font-weight: 600; }
.toolbox dd { margin: 0; color: var(--ink-2); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
.contact__title { margin: 0 0 18px; font: 780 clamp(56px, 9vw, 132px)/.88 var(--display); font-stretch: 76%; letter-spacing: -.04em; }
.contact__intro p { max-width: 44ch; color: var(--ink-2); margin: 0 0 26px; }
.contact__direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.link { background: none; border: 0; padding: 4px 0; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: var(--line); transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: var(--blue); }
.composer {
  display: grid; gap: 16px; padding: clamp(20px, 3vw, 32px);
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-board); box-shadow: var(--shadow);
}
.composer__reasons { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.composer__reasons legend { padding: 0; margin-bottom: 10px; font-weight: 600; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.field input, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--text); resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 22%, transparent); }
.composer__error { margin: 0; color: #C2412D; font-weight: 600; font-size: 14.5px; }
:root[data-theme="dark"] .composer__error { color: #FF8A73; }
.composer .btn { justify-self: start; }
.composer__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.composer__captcha:empty { display: none; }
.composer .btn[aria-busy="true"] { opacity: .7; pointer-events: none; }
.composer .btn[aria-busy="true"]::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.composer--done { align-content: center; justify-items: start; min-height: 320px; }
.composer--done h3 { margin: 0; font: 760 clamp(30px, 4vw, 42px)/1 var(--display); font-stretch: 80%; letter-spacing: -.02em; }
.composer--done p { margin: 0; color: var(--ink-2); max-width: 40ch; }
.composer__done-mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--saffron); margin: 0 0 4px; }
.composer__done-mark svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .5s .15s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.contact__direct .btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) { .composer__done-mark svg { animation: none; stroke-dashoffset: 0; } }

/* footer */
.footer {
  max-width: var(--max); margin: clamp(80px, 12vw, 140px) auto 0; padding: 28px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14.5px;
}
.footer p { margin: 0; }
.footer__keys kbd { margin: 0 1px; }

/* sheet (project details) */
dialog { color: var(--ink); }
dialog::backdrop { background: rgba(10, 12, 24, .45); backdrop-filter: blur(4px); }
.sheet {
  width: min(620px, calc(100vw - 24px)); max-height: calc(100dvh - 40px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-board);
  background: var(--paper-2); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .5);
}
.sheet[open] { animation: rise .45s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.sheet__inner { position: relative; padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; }
.sheet__close { position: absolute; right: 16px; top: 16px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); display: grid; place-items: center; }
.sheet__close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.sheet__glyph { width: 100%; height: 190px; border-radius: 16px; background: color-mix(in srgb, var(--sky) 35%, transparent); padding: 12px; }
.sheet__glyph svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sheet h3 { margin: 4px 0 0; font: 720 clamp(28px, 4vw, 40px)/1.02 var(--display); font-stretch: 84%; letter-spacing: -.02em; padding-right: 40px; }
.sheet__lede { margin: 0; color: var(--ink-2); font-size: 17px; }
.sheet__points { margin: 4px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sheet__points li { position: relative; padding-left: 26px; }
.sheet__points li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--saffron); transform: rotate(45deg); }
.sheet .btn { justify-self: start; margin-top: 6px; }

.book { width: min(1000px, calc(100vw - 24px)); height: min(860px, calc(100dvh - 24px)); max-height: none; overflow: hidden; }
.book[open] { display: grid; grid-template-rows: auto 1fr; }
.book__head { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 22px 76px 16px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.book__head h3 { margin: 0; padding: 0; }
.book__head .sheet__lede { font-size: 15px; margin-top: 4px; }
.book__out { white-space: nowrap; font-size: 14.5px; }
.book .sheet__close { top: 50%; transform: translateY(-50%); }
.book__frame { position: relative; background: #fff; }
.book__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.book__spin { position: absolute; left: 50%; top: 40%; width: 28px; height: 28px; margin: -14px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@media (max-width: 640px) {
  .book { width: 100vw; height: 100dvh; max-width: 100vw; max-height: 100dvh; border-radius: 0; border: 0; }
  .book__head { flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 64px; }
  .book .sheet__close { top: 18px; transform: none; }
}

/* command palette */
.palette {
  width: min(560px, calc(100vw - 24px)); margin-top: 12vh; padding: 0;
  border: 1px solid var(--line); border-radius: 18px; background: var(--paper-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
}
.palette[open] { animation: rise .3s var(--ease); }
.palette__input { width: 100%; padding: 18px 20px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); font: 500 18px/1.2 var(--text); }
.palette__input:focus { outline: none; }
.palette__list { list-style: none; margin: 0; padding: 8px; max-height: 50vh; overflow: auto; }
.palette__list li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer; }
.palette__list li small { color: var(--ink-2); font-size: 13px; }
.palette__list li[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.palette__list li[aria-selected="true"] small { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.palette__list .empty { color: var(--ink-2); cursor: default; }
.palette__foot { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 140%);
  padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--paper);
  font-weight: 600; box-shadow: var(--shadow); transition: transform .45s var(--ease), opacity .3s; pointer-events: none; opacity: 0;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* biko */
.biko { position: fixed; bottom: 14px; left: 0; z-index: 80; display: flex; align-items: flex-end; gap: 6px; transform: translateX(-120px); pointer-events: none; }
.biko img { width: 72px; height: 72px; }
.biko.walk { animation: biko 7s linear forwards; }
.biko.walk img { animation: hop .45s ease-in-out infinite alternate; }
.biko__say { margin-bottom: 52px; padding: 8px 12px; border-radius: 14px 14px 14px 4px; background: var(--bubble); box-shadow: var(--shadow); font-weight: 600; font-size: 14px; white-space: nowrap; opacity: 0; transition: opacity .3s; }
.biko.walk .biko__say { opacity: 1; }
@keyframes biko { to { transform: translateX(calc(100vw + 20px)); } }
@keyframes hop { to { transform: translateY(-6px) rotate(-4deg); } }

/* reveals: only the facts strip and bento get a one time entrance */
.js .facts .fact, .js .bento .card { opacity: 0; transform: translateY(16px); }
.js .facts.in .fact, .js .bento.in .card { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 60ms); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .clock__city { display: none; }
  .nav a { padding: 8px 9px; }
}
@media (max-width: 1000px) {
  .board__main { grid-template-columns: 1fr; }
  .board__side { border-left: 0; border-top: 1px dashed var(--line); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .board__note { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .tools { margin-left: auto; }
  .hero { padding-top: 28px; }
  .hero__text { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--xl, .card--md, .card--sm, .card--full { grid-column: span 2; grid-row: auto; }
  .now, .contact { grid-template-columns: 1fr; }
  .card--full { flex-direction: column; align-items: stretch; }
  .card--full .card__art { order: 0; margin: 0; }
  .now__portrait { position: relative; top: 0; max-width: 360px; }
  .hola { left: auto; right: -10px; }
}
@media (max-width: 900px) {
  .visits__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visits__stats { text-align: left; }
  .map__scale { position: static; margin-top: 8px; }
}
@media (max-width: 560px) {
  .wx { display: none; }
  body { font-size: 1rem; }
  .clock { display: none; }
  .tool--k kbd { display: none; }
  .i-menu { display: block; }
  .facts { grid-template-columns: 1fr; }
  .fact + .fact { padding-left: 0; border-left: 0; }
  .lane__head { grid-template-columns: 44px 1fr 28px; gap: 12px; }
  .lane__glyph { width: 42px; height: 42px; }
  .lane__body { padding-left: 0; }
  .path__track { grid-template-columns: 1fr 1fr; row-gap: 24px; }
  .path__rail { display: none; }
  .toolbox dl > div { grid-template-columns: 1fr; gap: 2px; }
  .board__side { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
  .kpis b { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

/* 404 */
.lost { max-width: var(--max); margin: 0 auto; padding: clamp(24px, 6vh, 64px) var(--gutter) 80px; display: grid; gap: clamp(48px, 8vw, 96px); }
.lost__hero { display: grid; gap: 18px; justify-items: start; }
.lost__code { margin: 0; display: flex; align-items: center; gap: .08em; font: 780 clamp(110px, 20vw, 240px)/.8 var(--display); font-stretch: 75%; letter-spacing: -.04em; }
.lost__ticket { display: grid; place-items: center; width: .82em; height: .82em; border-radius: .2em; background: var(--saffron); transform: rotate(-8deg); box-shadow: var(--shadow); }
.lost__ticket img { width: 62%; height: auto; animation: hop .9s ease-in-out infinite alternate; }
.lost__title { margin: 8px 0 0; font: 720 clamp(32px, 4.6vw, 56px)/1.02 var(--display); font-stretch: 84%; letter-spacing: -.025em; max-width: 18ch; }
.lost__lede { margin: 0; max-width: 52ch; color: var(--ink-2); font-size: 18px; }
.lost__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.game { border: 1px solid var(--line); border-radius: var(--r-board); background: var(--paper-2); box-shadow: var(--shadow); overflow: hidden; }
.game__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding: 20px 22px; border-bottom: 1px dashed var(--line); }
.game__head h2 { margin: 0; font: 680 24px/1.15 var(--display); font-stretch: 88%; }
.game__head p { margin: 6px 0 0; color: var(--ink-2); font-size: 15px; max-width: 52ch; }
.game__stats { display: grid; grid-template-columns: repeat(4, auto); gap: 4px 24px; margin: 0; }
.game__stats dt { font-size: 12px; color: var(--ink-2); }
.game__stats dd { margin: 0; font: 720 26px/1.1 var(--display); font-stretch: 85%; font-variant-numeric: tabular-nums; }
.game__stage { position: relative; }
.game__canvas { display: block; width: 100%; height: clamp(300px, 46vh, 420px); cursor: pointer; touch-action: manipulation; }
.game__overlay { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; background: color-mix(in srgb, var(--paper-2) 70%, transparent); backdrop-filter: blur(3px); }
.game__msg { margin: 0; font: 680 22px/1.2 var(--display); font-stretch: 88%; text-align: center; }
.game__msg:empty { display: none; }
.lost-page .tools { margin-left: auto; }
.lost-page .topbar { background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }

/* document pages (privacy) */
.doc { max-width: 760px; margin: 0 auto; padding: clamp(32px, 7vh, 72px) var(--gutter) 96px; }
:root[lang="tr"] .doc > article[lang="en"], :root:not([lang="tr"]) .doc > article[lang="tr"] { display: none; }
.doc h1 { margin: 0 0 18px; font: 780 clamp(48px, 8vw, 96px)/.9 var(--display); font-stretch: 78%; letter-spacing: -.035em; }
.doc h2 { margin: 44px 0 10px; font: 720 clamp(22px, 2.6vw, 28px)/1.15 var(--display); font-stretch: 86%; letter-spacing: -.01em; }
.doc p, .doc li { color: var(--ink-2); font-size: 17px; line-height: 1.65; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 6px 0 12px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.doc li { position: relative; padding-left: 24px; }
.doc li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 9px; border-radius: 3px; background: var(--saffron); transform: rotate(45deg); }
.doc b { color: var(--ink); }
.doc a:not(.btn) { color: var(--blue); text-underline-offset: 3px; }
.doc code { font-size: .92em; padding: 1px 6px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); }
.doc__kicker { font-size: 14.5px !important; margin-bottom: 14px !important; }
.doc__lede { font-size: clamp(18px, 1.8vw, 21px) !important; color: var(--ink) !important; max-width: 52ch; }
.doc__back { margin-top: 48px !important; }
.footer__links { display: flex; gap: 18px; }
.footer__links a { color: inherit; text-underline-offset: 3px; }
.composer__privacy { margin: -4px 0 0; font-size: 13.5px; color: var(--ink-2); }
.composer__privacy a { color: inherit; }

/* reserve the map area so lazy loading does not shift the page */
.map__svg { aspect-ratio: 960 / 470; }
.map__svg svg { display: block; width: 100%; height: 100%; }
