@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  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: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  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;
}

:root {
  
  --ink-0:   #FFFFFF;
  --ink-25:  #FAFBFB;
  --ink-50:  #F4F6F7;
  --ink-100: #EAEDF0;
  --ink-200: #DCE1E6;
  --ink-300: #C1C9D1;
  --ink-400: #97A1AC;
  
  --ink-500: #626B75;
  --ink-600: #4D555F;
  --ink-700: #363C44;
  --ink-800: #23272D;
  --ink-900: #14161A;
  --ink-950: #0A0B0D;

  --signal-50:  #E7F7F3;
  --signal-100: #C3EDE5;
  --signal-200: #93E0D2;
  --signal-300: #5FD2BE;
  --signal-400: #29BCA6;
  --signal-500: #12A594;
  --signal-600: #0D8577;
  --signal-700: #0A6A5E;
  --signal-800: #085047;
  --signal-900: #063A34;

  --flag-500: #C2410C;
  --flag-50:  #FFF2EA;

  --font-sans: "Figtree", ui-sans-serif, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  --font-mono: var(--font-sans);

  --step--1: clamp(0.82rem, 0.80rem + 0.10vw, 0.88rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.18vw, 1.09rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.38vw, 1.44rem);
  --step-2:  clamp(1.44rem, 1.28rem + 0.76vw, 1.92rem);
  --step-3:  clamp(1.73rem, 1.44rem + 1.40vw, 2.56rem);
  --step-4:  clamp(2.07rem, 1.58rem + 2.42vw, 3.42rem);
  --step-5:  clamp(2.49rem, 1.66rem + 4.10vw, 4.56rem);
  --step-6:  clamp(2.99rem, 1.60rem + 6.85vw, 6.08rem);

  --sp-1: 0.25rem; --sp-2: 0.5rem;  --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;    --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;

  --measure: 62ch;
  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 14px;
  --radius-sm: 8px;

  --radius-pill: 1.3em;      
  --radius-pill-sm: 1.1em;   

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
  --dur: 220ms;

  color-scheme: light dark;
}

:root {
  --bg:          var(--ink-25);
  --surface:     var(--ink-0);
  --sunken:      var(--ink-50);
  --inverse:     var(--ink-950);
  --on-inverse:  var(--ink-0);

  --fg:    var(--ink-900);
  --fg-2:  var(--ink-600);
  --fg-3:  var(--ink-500);

  --line:        var(--ink-200);
  --line-strong: var(--ink-300);

  --accent:       var(--signal-600);
  --accent-hover: var(--signal-700);
  --accent-fg:    var(--ink-0);
  --accent-quiet: var(--signal-50);
  --accent-line:  var(--signal-200);
  
  --accent-text:  var(--signal-700);

  --btn-primary-hover: var(--ink-700);

  --card:       var(--ink-50);
  --card-hover: var(--ink-100);

  --shadow-1: 0 1px 2px rgba(10,11,13,.05), 0 1px 1px rgba(10,11,13,.03);
  --shadow-2: 0 12px 32px -12px rgba(10,11,13,.16), 0 2px 6px rgba(10,11,13,.04);

  --emanation-a: rgba(18,165,148,.16);
  --emanation-b: rgba(18,165,148,0);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:          #0A0B0D;
    --surface:     #131519;
    --sunken:      #0E1013;
    --inverse:     #FFFFFF;
    --on-inverse:  #0A0B0D;

    --fg:    #F1F3F5;
    --fg-2:  #A6AFB9;
    --fg-3:  #7B858F;

    --line:        #23272D;
    --line-strong: #363C44;

    --accent:       var(--signal-300);
    --accent-hover: var(--signal-200);
    --accent-fg:    #04231F;
    --accent-quiet: #0B2B27;
    --accent-line:  #14453E;
    
    --accent-text:  var(--signal-300);

    --btn-primary-hover: var(--ink-200);

    --card:       #15181D;
    --card-hover: #1C2027;

    --shadow-1: 0 1px 2px rgba(0,0,0,.4);
    --shadow-2: 0 16px 40px -16px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.3);

    --emanation-a: rgba(95,210,190,.13);
    --emanation-b: rgba(95,210,190,0);

    --flag-50: #2A1409;
    --flag-500: #F4A06A;
  }
}

:root[data-theme="dark"] {
  --bg:          #0A0B0D;
  --surface:     #131519;
  --sunken:      #0E1013;
  --inverse:     #FFFFFF;
  --on-inverse:  #0A0B0D;

  --fg:    #F1F3F5;
  --fg-2:  #A6AFB9;
  --fg-3:  #7B858F;

  --line:        #23272D;
  --line-strong: #363C44;

  --accent:       var(--signal-300);
  --accent-hover: var(--signal-200);
  --accent-fg:    #04231F;
  --accent-quiet: #0B2B27;
  --accent-line:  #14453E;
  --accent-text:  var(--signal-300);

  --btn-primary-hover: var(--ink-200);

  --shadow-1: 0 1px 2px rgba(0,0,0,.4);
  --shadow-2: 0 16px 40px -16px rgba(0,0,0,.7), 0 2px 8px rgba(0,0,0,.3);

  --emanation-a: rgba(95,210,190,.13);
  --emanation-b: rgba(95,210,190,0);

  --flag-50: #2A1409;
  --flag-500: #F4A06A;
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

html.smooth-scroll { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); letter-spacing: -0.032em; }
h2 { font-size: var(--step-4); letter-spacing: -0.028em; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.015em; }

p { margin: 0 0 var(--sp-4); max-width: var(--measure); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15em; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

img, svg, video { max-width: 100%; height: auto; display: block; }

hr { border: 0; border-top: 1px solid var(--line); margin: var(--sp-7) 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--accent-quiet); color: var(--fg); }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell--wide { max-width: 1420px; }
.shell--narrow { max-width: 780px; }

.section { padding-block: clamp(3.5rem, 8vw, var(--sp-9)); }
.section--tight { padding-block: clamp(2.5rem, 5vw, var(--sp-7)); }
.section--sunken { background: var(--sunken); }
.section--inverse { background: var(--inverse); color: var(--on-inverse); }
.section--inverse .eyebrow { color: var(--accent); }
.section + .section--sunken,
.section--sunken + .section { border-top: 1px solid var(--line); }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.grid { display: grid; gap: var(--sp-5); }
@media (min-width: 700px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 700px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.split { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-8); }
  .split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.section-head { max-width: 720px; margin-bottom: var(--sp-7); }
.section-head p { color: var(--fg-2); font-size: var(--step-1); line-height: 1.45; margin-top: var(--sp-4); }
.section--inverse .section-head p { color: color-mix(in srgb, var(--on-inverse) 72%, transparent); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 var(--sp-4);
  display: block;
}
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); }
.muted { color: var(--fg-2); }
.small { font-size: var(--step--1); color: var(--fg-3); }
.mono { font-family: var(--font-sans); font-size: 0.9em; }

pre, code, kbd, samp, tt { font-family: var(--font-sans); }
.nowrap { white-space: nowrap; }

.wordmark {
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.045em;
  font-size: 1.32rem;
  line-height: 1;
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.wordmark:hover { color: var(--fg); }
.wordmark .dot { color: var(--accent); }

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  min-width: 0;
}
.tagline {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-size: var(--step--1);
  line-height: 1.25;
  color: var(--fg-2);
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.masthead[data-scrolled="true"] { border-bottom-color: var(--line); }
.masthead__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: 4.25rem;
}
.masthead nav { margin-left: auto; }
.nav-list {
  display: none;
  list-style: none;
  margin: 0; padding: 0;
  gap: var(--sp-5);
}
@media (min-width: 940px) { .nav-list { display: flex; align-items: center; } }
.nav-list li { margin: 0; }
.nav-list a {
  text-decoration: none;
  color: var(--fg-2);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: -0.005em;
  padding-block: var(--sp-2);
  transition: color var(--dur) var(--ease);
}
.nav-list a:hover { color: var(--fg); }
.nav-list a[aria-current="page"] { color: var(--fg); }
.masthead__actions { display: flex; align-items: center; gap: var(--sp-3); margin-left: auto; }
@media (min-width: 940px) { .masthead__actions { margin-left: var(--sp-5); } }
.masthead__actions .btn { display: none; }
@media (min-width: 620px) { .masthead__actions .btn { display: inline-flex; } }

.theme-toggle {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg-2);
  
  border-radius: 100px;
  width: 2.25rem; height: 2.25rem;
  display: grid; place-items: center;
  cursor: pointer;
  flex: none;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.theme-toggle:hover { border-color: var(--line-strong); color: var(--fg); }
.theme-toggle svg { width: 1rem; height: 1rem; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.nav-toggle {
  appearance: none; background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-pill-sm); padding: 0.45rem 0.85rem; cursor: pointer;
  color: var(--fg); font: inherit; font-size: var(--step--1); font-weight: 500;
  flex: none;
}
@media (min-width: 940px) { .nav-toggle { display: none; } }

.nav-drawer {
  display: none;
  border-top: 1px solid var(--line);
  padding-block: var(--sp-2) var(--sp-5);
}
.nav-drawer[data-open="true"] { display: block; }
@media (min-width: 940px) { .nav-drawer { display: none !important; } }
.nav-drawer ul { list-style: none; margin: 0; padding: 0; }
.nav-drawer li { margin: 0; border-bottom: 1px solid var(--line); }
.nav-drawer li:last-child { border-bottom: 0; }
.nav-drawer a { display: block; padding: var(--sp-4) 0; text-decoration: none; font-weight: 500; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.72em 1.35em;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--fg); color: var(--bg); }
.btn--primary:hover { background: var(--btn-primary-hover); }
.btn--ghost { border-color: var(--line-strong); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn--accent { background: var(--accent); color: var(--accent-fg); }
.btn--accent:hover { background: var(--accent-hover); }
.btn--lg { font-size: var(--step-0); padding: 0.85em 1.6em; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.section--inverse .btn--primary { background: var(--on-inverse); color: var(--inverse); }
.section--inverse .btn--ghost { border-color: color-mix(in srgb, var(--on-inverse) 32%, transparent); color: var(--on-inverse); }
.section--inverse .btn--ghost:hover { border-color: var(--on-inverse); }

.arrow-link {
  display: inline-flex; align-items: center; gap: 0.4em;
  font-weight: 600; font-size: var(--step--1);
  text-decoration: none;
  color: var(--fg);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  width: fit-content;
  transition: border-color var(--dur) var(--ease), gap var(--dur) var(--ease);
}
.arrow-link:hover { border-bottom-color: var(--fg); gap: 0.7em; }
.arrow-link::after { content: "\2192"; }

.proof {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding: 0.34em 0.7em 0.34em 0.6em;
  border-radius: 6px;
  background: var(--accent-quiet);
  color: var(--accent-text); 
  border: 1px solid var(--accent-line);
}
.proof::before {
  content: "";
  width: 0.42em; height: 0.42em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.proof--flag {
  background: var(--flag-50);
  color: var(--flag-500);
  border-color: color-mix(in srgb, var(--flag-500) 30%, transparent);
}
.proof-row { display: flex; flex-wrap: wrap; gap: var(--sp-2); }

.terminal {
  background: #0A0B0D;
  color: #EAEDF0;
  border: 1px solid #23272D;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.8;
}
.terminal__bar {
  display: flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #23272D;
  background: #0F1114;
}
.terminal__bar i { width: 9px; height: 9px; border-radius: 50%; background: #363C44; display: block; }
.terminal__bar em {
  margin-left: auto; font-style: normal; color: #6C7580;
  font-size: 0.7rem; letter-spacing: 0.06em;
}
.terminal__body { padding: var(--sp-4) var(--sp-5); overflow-x: auto; }
.terminal__body pre { margin: 0; font: inherit; }
.terminal .c-dim  { color: #6C7580; }
.terminal .c-cmd  { color: #FFFFFF; }
.terminal .c-ok   { color: #5FD2BE; }
.terminal .c-warn { color: #F4A06A; }

.card {
  background: var(--card);
  border: 0;
  border-radius: var(--radius);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.card h3 { font-size: var(--step-1); }
.card p { color: var(--fg-2); font-size: var(--step--1); line-height: 1.6; }
.card--link { text-decoration: none; }

.card--link:hover { background: var(--card-hover); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.card__num {
  font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.1em;
  color: var(--fg-3);
}
.card__list { list-style: none; padding: 0; margin: var(--sp-2) 0 0; }
.card__list li {
  font-size: var(--step--1); color: var(--fg-2);
  padding-left: 1.1em; position: relative; margin-bottom: var(--sp-2);
}

.card__list li::before {
  content: ""; position: absolute; left: 0.1em; top: 0.62em;
  width: 0.38em; height: 0.38em; border-radius: 50%;
  background: var(--fg-3);
}
.card--pad { padding: var(--sp-6); }

.work-card {
  display: grid;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.work-card:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
@media (min-width: 860px) {
  .work-card--wide {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center; gap: var(--sp-7); padding: var(--sp-6);
  }
  .work-card--wide .work-card__body { order: -1; }
}

.work-card__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4);
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-3);
}
.work-card h3 { font-size: var(--step-2); margin-top: var(--sp-3); }
.work-card p { color: var(--fg-2); font-size: var(--step--1); margin-top: var(--sp-3); }
.work-card .proof-row { margin-top: var(--sp-4); }
.work-card .arrow-link { margin-top: var(--sp-4); }

.thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 100% at 15% 0%, var(--emanation-a), var(--emanation-b) 60%),
    var(--sunken);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.thumb::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: .6;
  -webkit-mask-image: radial-gradient(120% 90% at 20% 10%, #000 20%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 20% 10%, #000 20%, transparent 78%);
}
.thumb span {
  position: relative; z-index: 1;
  font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--fg-3);
  text-align: center; padding: var(--sp-4);
}

.thumb--shot { padding: 0; }
.thumb--shot::after { display: none; }
.thumb--shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

.thumb--shot picture,
.credit__thumb picture { display: contents; }

.thumb--emanating { container-type: inline-size; }
.thumb--emanating .em-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.thumb--emanating .em-label {
  position: absolute; z-index: 1; left: 6%; bottom: 7%; margin: 0;
  display: flex; align-items: center; gap: 0.6em;
  font-family: var(--font-sans); font-weight: 600; letter-spacing: -0.02em; line-height: 1;
  font-size: 20px; font-size: clamp(15px, 5.4cqi, 26px);
  color: var(--fg);
}
.em-src { position: relative; flex: none; width: 0.4em; height: 0.4em; border-radius: 50%; background: currentColor; }
.em-src::before, .em-src::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid currentColor; opacity: 0;
  animation: em-ring 2.4s var(--ease) infinite;
}
.em-src::after { animation-delay: 1.2s; }
@keyframes em-ring { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.4); opacity: 0; } }

.em-panel { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; }
.em-bar { fill: var(--fg-2); opacity: .6; }
.em-line { fill: var(--fg-3); opacity: .4; }
.em-line--strong { fill: var(--fg-2); opacity: .75; }
.em-ink { fill: var(--fg-2); }
.em-stroke { fill: none; stroke: var(--fg-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.em-route { fill: none; stroke: var(--fg-3); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 2 6; opacity: .8; animation: em-march 1.2s linear infinite; }
@keyframes em-march { to { stroke-dashoffset: -16; } }

.em-block { fill: var(--fg-3); opacity: .3; }
.em-wob { transform-box: fill-box; animation: em-wob 2.6s ease-in-out infinite alternate; }
.em-wob--2 { animation-delay: -0.9s; }
.em-wob--3 { animation-delay: -1.7s; }
@keyframes em-wob { from { transform: translateX(-2px); } to { transform: translateX(2px); } }

.em-page { opacity: 0; animation: em-travel 8s linear infinite both; }
.em-page path { fill: var(--surface); stroke: var(--fg-2); stroke-width: 1.3; stroke-linejoin: round; }
.em-page .em-fold { fill: none; }
.em-page--2 { animation-delay: 0.9s; }
.em-page--3 { animation-delay: 1.8s; }
.em-page--4 { animation-delay: 2.7s; }
@keyframes em-travel {
  0%        { opacity: 0; transform: translate(164px, 120px) scale(.6); }
  6%        { opacity: 1; transform: translate(187px, 94px) scale(1); }
  13%       { transform: translate(213px, 79px) scale(1); }
  20%       { transform: translate(240px, 73px) scale(1); }
  27%       { transform: translate(267px, 79px) scale(1); }
  34%       { opacity: 1; transform: translate(293px, 94px) scale(1); }
  40%, 100% { opacity: 0; transform: translate(316px, 120px) scale(.6); }
}

.em-tile { fill: var(--fg-2); opacity: .5; animation: 8s linear infinite; }
.em-tile--1 { animation-name: em-tile-1; }
.em-tile--2 { animation-name: em-tile-2; }
.em-tile--3 { animation-name: em-tile-3; }
.em-tile--4 { animation-name: em-tile-4; }
@keyframes em-tile-1 { 0%, 40% { opacity: .1; } 43%, 94% { opacity: .5; } 100% { opacity: .1; } }
@keyframes em-tile-2 { 0%, 51% { opacity: .1; } 54%, 94% { opacity: .5; } 100% { opacity: .1; } }
@keyframes em-tile-3 { 0%, 62% { opacity: .1; } 65%, 94% { opacity: .5; } 100% { opacity: .1; } }
@keyframes em-tile-4 { 0%, 74% { opacity: .1; } 77%, 94% { opacity: .5; } 100% { opacity: .1; } }

.em-bolt { fill: var(--fg-2); animation: em-glow 2.8s ease-in-out infinite alternate; }
@keyframes em-glow { from { opacity: .35; } to { opacity: 1; } }
.em-lockbody { fill: var(--fg-2); }
.em-shackle { fill: none; stroke: var(--fg-2); stroke-width: 2.2; stroke-linecap: round; animation: em-lock 8s var(--ease) infinite; }
@keyframes em-lock { 0%, 76% { transform: translateY(-5px); } 80%, 94% { transform: none; } 100% { transform: translateY(-5px); } }

.em-sig--2 { animation: em-sig-2 8s linear infinite; }
.em-sig--3 { animation: em-sig-3 8s linear infinite; }
.em-sig--4 { animation: em-sig-4 8s linear infinite; }
@keyframes em-sig-2 { 0%, 45% { opacity: .18; } 47%, 94% { opacity: 1; } 100% { opacity: .18; } }
@keyframes em-sig-3 { 0%, 47% { opacity: .18; } 49%, 94% { opacity: 1; } 100% { opacity: .18; } }
@keyframes em-sig-4 { 0%, 49% { opacity: .18; } 51%, 94% { opacity: 1; } 100% { opacity: .18; } }

.em-offline { opacity: 0; animation: em-offline 8s linear infinite; }
@keyframes em-offline { 0%, 43% { opacity: 1; } 46%, 97% { opacity: 0; } 100% { opacity: 1; } }
.em-sync { opacity: 0; animation: em-sync 8s linear infinite; }
@keyframes em-sync { 0%, 46% { opacity: 0; } 49%, 64% { opacity: 1; } 68%, 100% { opacity: 0; } }
.em-sync path { transform-box: fill-box; transform-origin: center; animation: em-spin 1.1s linear infinite; }
@keyframes em-spin { to { transform: rotate(360deg); } }

.em-rec { fill: var(--fg-2); opacity: .7; animation: 8s linear infinite; }
.em-rec--3, .em-rec--4 { opacity: 0; }
.em-rec--1 { animation-name: em-rec-1; }
.em-rec--2 { animation-name: em-rec-2; }
.em-rec--3 { animation-name: em-rec-3; }
.em-rec--4 { animation-name: em-rec-4; }
@keyframes em-rec-1 { 0%, 6%  { opacity: 0; transform: translateY(6px); } 9%, 53%  { opacity: .7; transform: none; } 55%, 100% { opacity: 0; } }
@keyframes em-rec-2 { 0%, 16% { opacity: 0; transform: translateY(6px); } 19%, 59% { opacity: .7; transform: none; } 61%, 100% { opacity: 0; } }
@keyframes em-rec-3 { 0%, 26% { opacity: 0; transform: translateY(6px); } 29%, 65% { opacity: .7; transform: none; } 67%, 100% { opacity: 0; } }
@keyframes em-rec-4 { 0%, 36% { opacity: 0; transform: translateY(6px); } 39%, 71% { opacity: .7; transform: none; } 73%, 100% { opacity: 0; } }

.em-route--sync { animation: em-march 1.2s linear infinite, em-route-on 8s linear infinite; }
@keyframes em-route-on { 0%, 46% { opacity: .25; } 50%, 90% { opacity: .9; } 100% { opacity: .25; } }

.em-fly { fill: var(--fg-2); opacity: 0; animation: em-fly 8s linear infinite both; }
.em-fly--2 { animation-delay: 0.48s; }
.em-fly--3 { animation-delay: 0.96s; }
.em-fly--4 { animation-delay: 1.44s; }
@keyframes em-fly {
  0%, 52%   { opacity: 0; transform: translate(164px, 160px) scale(.6); }
  54%       { opacity: 1; transform: translate(176px, 154px) scale(1); }
  58%       { transform: translate(209px, 139px) scale(1); }
  62%       { transform: translate(251px, 124px) scale(1); }
  66%       { opacity: 1; transform: translate(292px, 122px) scale(.9); }
  68%, 100% { opacity: 0; transform: translate(292px, 122px) scale(.6); }
}

.em-coin { fill: var(--fg-2); }
.em-r { font-family: var(--font-sans); font-size: 9px; font-weight: 800; fill: var(--surface); text-anchor: middle; }
.em-row { animation: 8s linear infinite; }
.em-row--1 { animation-name: em-row-1; }
.em-row--2 { animation-name: em-row-2; }
.em-row--3 { animation-name: em-row-3; }
.em-row--4 { animation-name: em-row-4; }
@keyframes em-row-1 { 0%, 65% { opacity: .2; transform: translateX(-4px); } 68%, 95% { opacity: 1; transform: none; } 100% { opacity: .2; transform: translateX(-4px); } }
@keyframes em-row-2 { 0%, 71% { opacity: .2; transform: translateX(-4px); } 74%, 95% { opacity: 1; transform: none; } 100% { opacity: .2; transform: translateX(-4px); } }
@keyframes em-row-3 { 0%, 77% { opacity: .2; transform: translateX(-4px); } 80%, 95% { opacity: 1; transform: none; } 100% { opacity: .2; transform: translateX(-4px); } }
@keyframes em-row-4 { 0%, 83% { opacity: .2; transform: translateX(-4px); } 86%, 95% { opacity: 1; transform: none; } 100% { opacity: .2; transform: translateX(-4px); } }

.em-pill { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.2; }
.em-word { font-family: var(--font-sans); font-size: 11px; font-weight: 600; fill: var(--fg-2); text-anchor: middle; opacity: 0; animation: 8s linear infinite; }
.em-word--1 { opacity: 1; animation-name: em-word-1; }
.em-word--2 { animation-name: em-word-2; }
.em-word--3 { animation-name: em-word-3; }
.em-word--4 { animation-name: em-word-4; }
@keyframes em-word-1 { 0%, 22% { opacity: 1; } 25%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes em-word-2 { 0%, 22% { opacity: 0; } 25%, 47% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes em-word-3 { 0%, 47% { opacity: 0; } 50%, 72% { opacity: 1; } 75%, 100% { opacity: 0; } }
@keyframes em-word-4 { 0%, 72% { opacity: 0; } 75%, 97% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .thumb--emanating *, .thumb--emanating *::before, .thumb--emanating *::after { animation: none !important; }
}

.filters {
  display: grid; gap: var(--sp-5) var(--sp-7);
  padding-bottom: var(--sp-5); margin-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.filters fieldset { margin: 0; }
.filters__n {
  margin-left: 0.45em; font-size: 0.85em; font-variant-numeric: tabular-nums;
  color: var(--fg-3);
}
.choice input:checked + span .filters__n { color: inherit; opacity: .75; }
.choice input:disabled + span { opacity: .45; cursor: default; }
.filters__bar {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5);
}
.filters__count { margin: 0; font-size: var(--step--1); color: var(--fg-2); }

.filters__empty {
  padding: var(--sp-7) var(--sp-5); text-align: center;
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.filters__empty p { margin: 0 auto var(--sp-4); color: var(--fg-2); }

.filters__note {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--sp-4) var(--sp-6); margin-bottom: var(--sp-6);
  padding: var(--sp-5) var(--sp-6);
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface);
}
.filters__note p { margin: 0; max-width: 62ch; color: var(--fg-2); }
.filters__note:not([hidden]) ~ .work-more { margin-top: var(--sp-5); }

[data-work-item][hidden], [data-work-group][hidden], .filters__empty[hidden], .filters__note[hidden], .filters[hidden] { display: none !important; }

.work-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
@media (min-width: 640px)  { .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

@media (min-width: 1000px) { .work-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.work-mini {
  display: grid; gap: var(--sp-2); align-content: start;
  padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface);
}
.work-mini__meta {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin: 0;
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--fg-3);
}
.work-mini h3 { font-size: var(--step-1); margin: 0; }
.work-mini p { margin: 0; font-size: var(--step--1); color: var(--fg-2); }
.work-mini .work-mini__meta { color: var(--fg-3); }
.work-more { margin-top: var(--sp-8); }
.work-more .section-head p { margin-top: var(--sp-3); }

.thumb--mini .mp-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
@media (prefers-reduced-motion: reduce) {
  .thumb--mini *, .thumb--mini *::before, .thumb--mini *::after { animation: none !important; }
}

@keyframes mp-pop {
  0%, 55%   { opacity: 0; transform: scale(.5); }
  62%       { opacity: 1; transform: scale(1.15); }
  68%       { transform: scale(1); }
  92%       { opacity: 1; }
  100%      { opacity: 0; transform: scale(.5); }
}

.t-c { fill: none; stroke: var(--fg-2); stroke-width: 1.5; stroke-linecap: round; opacity: .85; animation: t-c 8s ease-in-out infinite; }
.t-c--2 { animation-delay: .6s; }
.t-c--3 { animation-delay: 2s; }
.t-c--4 { animation-delay: 2.6s; }
@keyframes t-c { 0%, 92% { opacity: .85; } 4% { opacity: .35; } 8% { opacity: .85; } 100% { opacity: .85; } }
.t-star { fill: var(--fg-2); transform-box: fill-box; transform-origin: center; animation: em-glow 2.8s ease-in-out infinite alternate; }
.t-check { fill: none; stroke: var(--surface); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lg-gear { transform-box: fill-box; transform-origin: center; animation: em-spin 6s linear infinite; }
.lg-gear-ring { fill: none; stroke: var(--fg-2); stroke-width: 7; stroke-dasharray: 5.5 4.5; }
.lg-parcel { fill: var(--fg-2); opacity: 0; animation: lg-parcel 8s linear infinite; }
@keyframes lg-parcel {
  0%, 8%    { opacity: 0; transform: translate(118px, 150px) scale(.6); }
  14%       { opacity: 1; transform: translate(162px, 137px) scale(1); }
  40%       { transform: translate(228px, 118px) scale(1); }
  58%       { opacity: 1; transform: translate(288px, 105px) scale(.9); }
  62%, 100% { opacity: 0; transform: translate(300px, 103px) scale(.6); }
}
.lg-tier { fill: var(--fg-2); opacity: .35; animation: lg-tier 8s ease-in-out infinite; }
.lg-tier--2 { animation-delay: 1.6s; }
.lg-tier--3 { animation-delay: 3.2s; }
@keyframes lg-tier { 0%, 90%, 100% { opacity: .35; } 6% { opacity: 1; } 55% { opacity: 1; } }

.st-unit { fill: var(--fg-2); opacity: .35; animation: st-unit 8s ease-in-out infinite; }
.st-unit--2 { animation-delay: .9s; }
.st-unit--3 { animation-delay: 1.8s; }
.st-unit--4 { animation-delay: 2.7s; }
.st-unit--5 { animation-delay: 3.6s; }
.st-unit--6 { animation-delay: 4.5s; }
@keyframes st-unit { 0%, 90%, 100% { opacity: .35; } 5% { opacity: 1; } 55% { opacity: 1; } }

.va-bar { fill: var(--fg-2); opacity: .7; transform-box: fill-box; transform-origin: center; animation: va-wave 1.6s ease-in-out infinite alternate; }
.va-bar--2 { animation-delay: -.3s; }
.va-bar--3 { animation-delay: -.6s; }
.va-bar--4 { animation-delay: -.9s; }
.va-bar--5 { animation-delay: -1.2s; }
@keyframes va-wave { from { transform: scaleY(.45); } to { transform: scaleY(1); } }
.va-part { animation: em-glow 2.8s ease-in-out infinite alternate; }
.va-match { opacity: 0; transform-box: fill-box; transform-origin: center; animation: mp-pop 8s ease-in-out infinite; }

.ma-glass { transform: translate(222px, 56px); animation: ma-scan 8s ease-in-out infinite; }
@keyframes ma-scan {
  0%   { transform: translate(90px, 96px); }
  20%  { transform: translate(134px, 66px); }
  40%  { transform: translate(178px, 86px); }
  60%  { transform: translate(222px, 56px); }
  80%  { transform: translate(266px, 106px); }
  100% { transform: translate(90px, 96px); }
}
.ma-col { fill: var(--fg-3); opacity: .45; animation: ma-col 8s ease-in-out infinite; }
.ma-col--2 { animation-delay: 1.6s; }
.ma-col--3 { animation-delay: 3.2s; }
.ma-col--4 { animation-delay: 4.8s; }
.ma-col--5 { animation-delay: 6.4s; }
@keyframes ma-col { 0%, 88% { opacity: .45; fill: var(--fg-3); } 4% { opacity: 1; fill: var(--fg-2); } 16% { opacity: 1; fill: var(--fg-2); } 100% { opacity: .45; fill: var(--fg-3); } }

.ts-line { fill: none; stroke: var(--fg-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 0; animation: ts-draw 8s linear infinite; }
@keyframes ts-draw { 0% { stroke-dashoffset: 400; } 70%, 100% { stroke-dashoffset: 0; } }
.ts-shield { animation: em-glow 2.8s ease-in-out infinite alternate; }

.dm-rec { fill: var(--fg-2); opacity: 0; animation: dm-travel 8s linear infinite; }
@keyframes dm-travel {
  0%, 6%    { opacity: 0; transform: translate(150px, 160px) scale(.6); }
  12%       { opacity: 1; transform: translate(185px, 156px) scale(1); }
  40%       { transform: translate(240px, 150px) scale(1); }
  62%       { opacity: 1; transform: translate(292px, 150px) scale(.9); }
  66%, 100% { opacity: 0; transform: translate(300px, 150px) scale(.6); }
}
.dm-cell { fill: var(--fg-3); opacity: .3; animation: dm-cell 8s ease-in-out infinite; }
.dm-cell--2 { animation-delay: .7s; }
.dm-cell--3 { animation-delay: 1.4s; }
.dm-cell--4 { animation-delay: 2.1s; }
.dm-cell--5 { animation-delay: 2.8s; }
.dm-cell--6 { animation-delay: 3.5s; }
@keyframes dm-cell { 0%, 90% { opacity: .3; } 5% { opacity: .9; } 55% { opacity: .9; } 100% { opacity: .3; } }

.case-gated [data-case-gated] { position: relative; max-height: var(--gate-cut, 30rem); overflow: hidden; }
.case-gated [data-case-gated]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--gate-fade, 14rem);
  background: linear-gradient(to bottom, color-mix(in srgb, var(--bg) 0%, transparent), var(--bg) 85%);
  pointer-events: none;
}
.case-gate[hidden] { display: none !important; }
.case-gate { padding-top: 0; }
.case-gate__panel {
  display: grid; gap: var(--sp-6);
  padding: var(--sp-6); border: 1px solid var(--line-strong); border-radius: var(--radius);
  background: var(--surface);
}
@media (min-width: 900px) {
  .case-gate__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sp-7); padding: var(--sp-7); align-items: start; }
}
.case-gate__intro h2 { font-size: var(--step-3); margin-top: var(--sp-2); }
.case-gate__intro p:not(.eyebrow) { margin-top: var(--sp-4); color: var(--fg-2); max-width: 44ch; }
.case-gate__form { display: grid; gap: var(--sp-4); align-content: start; }
.case-gate__form .field { margin: 0; }
.case-gate__form .field input { width: 100%; }
.case-gate__hint { margin: 0; color: var(--fg-2); }
.case-gate__consent { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--step--1); color: var(--fg-2); cursor: pointer; }
.case-gate__consent input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.15em; accent-color: var(--fg); }
.case-gate__privacy { margin: 0; color: var(--fg-2); }
.case-gate__form[aria-busy="true"] { opacity: .6; }
.case-gate__form[aria-busy="true"] .btn { pointer-events: none; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }

.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; color: var(--fg); background: var(--sunken); }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-family: var(--font-sans); white-space: nowrap; }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: var(--sp-5) 2.5rem var(--sp-5) 0;
  font-weight: 600; font-size: var(--step-1); letter-spacing: -0.015em;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-sans); font-weight: 400; font-size: 1.4rem; color: var(--fg-3);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding-bottom: var(--sp-5); }
.faq details p { color: var(--fg-2); }

.site-footer {
  background: var(--inverse);
  color: var(--on-inverse);
  padding-block: var(--sp-8) var(--sp-6);
}
.site-footer a { color: color-mix(in srgb, var(--on-inverse) 68%, transparent); text-decoration: none; }
.site-footer a:hover { color: var(--on-inverse); text-decoration: underline; }
.site-footer .wordmark { color: var(--on-inverse); font-size: 1.6rem; }

.site-footer p { color: color-mix(in srgb, var(--on-inverse) 62%, transparent); font-size: var(--step--1); }
.footer__grid { display: grid; gap: var(--sp-6); }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.5fr repeat(3, 1fr); gap: var(--sp-7); } }

.footer__grid .footer__label {
  font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
  
  color: color-mix(in srgb, var(--on-inverse) 60%, transparent);
  margin: 0 0 var(--sp-4);
}
.footer__grid ul { list-style: none; padding: 0; margin: 0; }
.footer__grid li { margin-bottom: var(--sp-3); font-size: var(--step--1); }
.footer__legal {
  margin-top: var(--sp-8);
  padding-top: var(--sp-5);
  border-top: 1px solid color-mix(in srgb, var(--on-inverse) 14%, transparent);
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: center;
  font-size: var(--step--1);
  
  color: color-mix(in srgb, var(--on-inverse) 60%, transparent);
}
.footer__legal nav { margin-left: auto; display: flex; gap: var(--sp-4); flex-wrap: wrap; }

.hero { position: relative; overflow: clip; padding-block: clamp(3rem, 9vw, 6.5rem) clamp(3rem, 7vw, 5rem); }
.hero__glow {
  content: "";
  position: absolute;
  top: -50vh; left: 50%;
  width: min(170vw, 1600px); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--emanation-a) 0%, var(--emanation-b) 62%);
  pointer-events: none;
  z-index: 0;
}
.hero .shell { position: relative; z-index: 1; }
.hero h1 { max-width: 16ch; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--fg-2); max-width: 56ch; margin-top: var(--sp-5); }
.hero__actions { margin-top: var(--sp-6); }
.hero__proof { margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.hero__proof > p { font-size: var(--step--1); color: var(--fg-3); margin-bottom: var(--sp-4); }

.rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5; overflow: hidden; }
.rings svg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 140%; max-width: none; }
.rings circle { fill: none; stroke: var(--line-strong); stroke-width: 1; }

.io-hero { position: relative; overflow: clip; padding-block: clamp(2rem, 5vw, 3.5rem); }
.io-hero__glow {
  position: absolute; top: -55vh; left: 50%; width: min(170vw, 1600px); aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--emanation-a) 0%, var(--emanation-b) 62%);
  pointer-events: none; z-index: 0;
}

.io-stage { position: relative; z-index: 1; display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 960px) {
  .io-stage { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--sp-7); }
}

.io-intro h1 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1.05; max-width: 14ch; margin-top: var(--sp-4); }
.io-intro .lede { margin-top: var(--sp-5); max-width: 40ch; }
.io-intro .btn-row { margin-top: var(--sp-6); }

.io-frame { position: relative; min-width: 0; }

.io-canvas { display: block; width: 100%; aspect-ratio: 4 / 3; }
@media (min-width: 960px) { .io-canvas { max-height: max(18rem, calc(100svh - 20rem)); } }
@media (max-width: 959px) { .io-canvas { aspect-ratio: 1 / 1; max-height: 64svh; } }

.io-toggle {
  position: absolute; top: 0; right: 0; z-index: 1;
  font: inherit; font-size: var(--step--1); font-weight: 500;
  padding: 0.35em 0.85em;
  border: 1px solid var(--line-strong); border-radius: var(--radius-pill-sm);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--fg-2); cursor: pointer;
  transition: color 160ms var(--ease), border-color 160ms var(--ease);
}
.io-toggle:hover { color: var(--fg); border-color: var(--fg); }

.io-steps {
  display: grid; gap: var(--sp-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: var(--sp-4);
}

.io-step { position: relative; border-top: 1px solid var(--line-strong); padding-top: var(--sp-3); }

.io-step__n {
  display: block;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em;
  color: var(--fg-3); margin-bottom: var(--sp-1);
  transition: color 420ms var(--ease);
}
.io-step__t {
  display: block;
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--fg-3);
  transition: color 420ms var(--ease);
}
@media (max-width: 559px) { .io-step__t { font-size: var(--step-0); } }
.io-step.is-on .io-step__n { color: var(--fg-2); }
.io-step.is-on .io-step__t { color: var(--fg); }

.io-step__bar { position: absolute; top: -1px; left: 0; height: 2px; background: var(--fg); width: 0; }
.io-step.is-on .io-step__bar { transition: width linear; }

.io-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.io-static { display: none; }
.io-static h2 { font-size: var(--step-4); letter-spacing: -0.03em; line-height: 1; }
.io-static .dim { color: var(--fg-3); }

.io-step__t, .io-static h2 { text-wrap: balance; }

.io-still .io-canvas, .io-still .io-toggle { display: none; }
.io-still .io-static { display: flex; align-items: center; justify-content: center; text-align: center; aspect-ratio: 4 / 3; }
.io-still .io-step__t { color: var(--fg); }
.io-still .io-step__bar { width: 100% !important; }

.credits { border-block: 1px solid var(--line); padding-block: var(--sp-6); background: var(--surface); }
.credits__label {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--sp-4);
}

.credits__list {
  display: grid; gap: var(--sp-4);
  list-style: none; padding: 0; margin: 0;
}
@media (min-width: 900px) {
  .credits__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-6); }
}
.credits__list li { margin: 0; }

.credit {
  display: flex; align-items: center; gap: var(--sp-4);
  min-width: 0;
  color: var(--fg-2);
  text-decoration: none;
  border-radius: var(--radius-sm);
}
.credit__thumb {
  flex: none;
  width: 72px;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--sunken);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
@media (min-width: 900px) { .credit__thumb { width: 88px; } }

.credit__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.credit__text { display: grid; gap: 0.1rem; min-width: 0; }
.credit__name {
  font-size: var(--step-0); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  color: var(--fg-2);
  transition: color var(--dur) var(--ease);
}
.credit__site { font-size: var(--step--1); color: var(--fg-3); overflow-wrap: anywhere; }

.credit:hover .credit__name,
.credit:focus-visible .credit__name {
  color: var(--fg);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
}
.credit:hover .credit__thumb,
.credit:focus-visible .credit__thumb { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-2); }
@media (prefers-reduced-motion: reduce) {
  .credit:hover .credit__thumb,
  .credit:focus-visible .credit__thumb { transform: none; }
}

:root[data-theme="dark"] .credit__thumb img { filter: brightness(0.86); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .credit__thumb img { filter: brightness(0.86); }
}

.step {
  display: grid; gap: var(--sp-3);
  padding-block: var(--sp-6);
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 880px) {
  .step { grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--sp-6); align-items: start; }
}
.step__n { font-family: var(--font-sans); font-size: 0.76rem; letter-spacing: 0.1em; color: var(--fg-3); padding-top: 0.5em; }
.step h3 { font-size: var(--step-2); }
.step p { color: var(--fg-2); }
.step .proof-row { margin-top: var(--sp-4); }

.step__tags { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: var(--sp-4) 0 0; padding: 0; }
.step__tags li {
  font-size: var(--step--1); line-height: 1.3; color: var(--fg-2);
  padding: 0.35em 0.85em; border: 1px solid var(--line-strong); border-radius: var(--radius-pill-sm);
}
.step p.step__link { margin-top: var(--sp-5); }

.figures { display: grid; gap: var(--sp-5); margin: 0; }
@media (min-width: 640px)  { .figures { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .figures { grid-template-columns: repeat(4, 1fr); } }
.figure { border-left: 2px solid var(--line-strong); padding-left: var(--sp-4); }
.figure dt { font-size: var(--step-3); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }
.figure dd { margin: var(--sp-2) 0 0; font-size: var(--step--1); color: var(--fg-2); line-height: 1.5; }
.section--inverse .figure { border-left-color: color-mix(in srgb, var(--on-inverse) 28%, transparent); }
.section--inverse .figure dd { color: color-mix(in srgb, var(--on-inverse) 68%, transparent); }

.case-hero { padding-block: clamp(2.5rem, 6vw, 4rem) var(--sp-6); }
.crumbs { font-family: var(--font-sans); font-size: 0.74rem; letter-spacing: 0.05em; color: var(--fg-3); margin-bottom: var(--sp-5); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

.case-meta {
  display: grid; gap: var(--sp-5);
  margin: var(--sp-7) 0 0; padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) { .case-meta { grid-template-columns: repeat(4, 1fr); } }
.case-meta dt {
  font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--fg-3); font-weight: 500; margin-bottom: var(--sp-2);
}
.case-meta dd { font-size: var(--step--1); margin: 0; }

.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-3); margin-top: var(--sp-8); margin-bottom: var(--sp-4); }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-6); margin-bottom: var(--sp-3); }
.prose > *:first-child { margin-top: 0; }
.prose ul { color: var(--fg-2); max-width: var(--measure); }
.prose blockquote {
  margin: var(--sp-6) 0; padding-left: var(--sp-5);
  border-left: 2px solid var(--accent);
  font-size: var(--step-1); line-height: 1.5; letter-spacing: -0.015em;
}
.prose blockquote p { max-width: none; }
.prose blockquote footer { font-size: var(--step--1); color: var(--fg-3); margin-top: var(--sp-3); letter-spacing: 0; }
.prose .terminal, .prose .table-wrap, .prose .notice { margin-block: var(--sp-6); }

.notice {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  background: var(--sunken);
  font-size: var(--step--1);
  color: var(--fg-2);
}
.notice strong { color: var(--fg); }
.notice p { max-width: none; }

.field { display: grid; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.field label { font-size: var(--step--1); font-weight: 600; }
.field .hint { font-size: 0.8rem; color: var(--fg-3); }
.field input, .field select, .field textarea {
  font: inherit; font-size: var(--step-0);
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  width: 100%;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent);
}
fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
fieldset legend { font-size: var(--step--1); font-weight: 600; padding: 0; margin-bottom: var(--sp-3); }
.choices { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: inline-block; padding: 0.5em 1em; border-radius: var(--radius-pill-sm);
  border: 1px solid var(--line-strong); font-size: var(--step--1); cursor: pointer;
  
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.choice input:checked + span { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.skip {
  position: absolute; left: var(--sp-4); top: var(--sp-4);
  transform: translateY(-250%);
  background: var(--fg); color: var(--bg);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  z-index: 100; text-decoration: none; font-size: var(--step--1); font-weight: 600;
  transition: transform var(--dur) var(--ease);
}
.skip:focus { transform: translateY(0); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; }
}

.btn--cta { position: relative; padding-right: 1.15em; }
.btn--cta .btn__arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.btn--cta:hover .btn__arrow { transform: translateX(3px); }
.btn--cta::after {
  content: "";
  position: absolute; inset: -4px;
  
  border-radius: calc(var(--radius-pill) + 4px);
  border: 1px solid var(--line);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.btn--cta:hover::after { opacity: 1; }

.brief { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1000px) {
  .brief { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--sp-8); }
}

.brief__progress { display: none; margin-bottom: var(--sp-6); }
.js .brief__progress { display: block; }
.brief__bar {
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.brief__bar i {
  display: block; height: 100%;
  background: var(--fg);
  border-radius: 3px;
  transition: width 320ms var(--ease);
}
.brief__count {
  display: flex; align-items: baseline; gap: var(--sp-3);
  margin-top: var(--sp-3);
  font-family: var(--font-sans); font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3);
}
.brief__count b { color: var(--fg); font-weight: 500; letter-spacing: 0; text-transform: none; font-family: var(--font-sans); font-size: var(--step--1); }

.js .brief__step[hidden] { display: none; }
.brief__step { border: 0; padding: 0; margin: 0 0 var(--sp-6); }
.brief__step > legend {
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.022em;
  padding: 0;
  margin-bottom: var(--sp-2);
}
.brief__step .hint { display: block; margin-bottom: var(--sp-5); max-width: 52ch; }
.brief__sub { margin-top: var(--sp-6); }
.brief__sub > span {
  display: block; font-size: var(--step--1); font-weight: 600; margin-bottom: var(--sp-3);
}

.optcards { display: grid; gap: var(--sp-3); }
@media (min-width: 560px) {
  .optcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  
  .optcards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
.optcard { position: relative; display: block; }
.optcard input { position: absolute; opacity: 0; width: 0; height: 0; }
.optcard span {
  display: block;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  min-height: 44px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.optcard span b { display: block; font-size: var(--step-0); font-weight: 600; letter-spacing: -0.01em; }
.optcard span em { display: block; font-style: normal; font-size: var(--step--1); color: var(--fg-2); margin-top: 0.2em; }
.optcard span:hover { border-color: var(--fg); }
.optcard input:checked + span { border-color: var(--fg); background: var(--sunken); box-shadow: inset 0 0 0 1px var(--fg); }
.optcard input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.brief__smme span { position: relative; padding-left: 3.2rem; }
.brief__smme span::before {
  content: ""; position: absolute; left: 1.15rem; top: 50%; transform: translateY(-50%);
  width: 1.15rem; height: 1.15rem; border: 1.5px solid var(--line-strong); border-radius: 4px;
  background: var(--surface);
}
.brief__smme input:checked + span::before { background: var(--fg); border-color: var(--fg); }
.brief__smme input:checked + span::after {
  content: ""; position: absolute; left: 1.56rem; top: 50%; width: 0.36rem; height: 0.68rem;
  border: solid var(--bg); border-width: 0 2px 2px 0; transform: translateY(-62%) rotate(45deg);
}

.brief__nav { display: none; gap: var(--sp-3); align-items: center; flex-wrap: wrap; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.js .brief__nav { display: flex; }
.brief__nav .brief__hint { font-size: var(--step--1); color: var(--fg-3); margin-left: auto; }
.brief__submit { margin-top: var(--sp-6); }
.js .brief__submit { display: none; }

.brief__privacy { margin-top: var(--sp-4); }

.field [aria-invalid="true"] { border-color: var(--flag-500); }

.field [aria-invalid="true"]:focus-visible {
  outline-color: var(--flag-500);
  border-color: var(--flag-500);
}
.field__error { font-size: var(--step--1); color: var(--flag-500); margin: 0; }
.brief__alert {
  border: 1px solid var(--flag-500);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  background: var(--flag-50);
  color: var(--flag-500);
  font-size: var(--step--1);
  margin-bottom: var(--sp-5);
}

.estimate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: var(--sp-5);
  position: static;
}
@media (min-width: 1000px) {
  .estimate { position: sticky; top: calc(4.25rem + var(--sp-5)); }
}
.estimate h2 {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--fg-3); font-weight: 500;
  margin-bottom: var(--sp-4);
}
.estimate__name {
  font-size: var(--step-2); font-weight: 600; letter-spacing: -0.022em; line-height: 1.1;
}
.estimate__name.is-empty { color: var(--fg-3); font-weight: 400; font-size: var(--step-1); }
.estimate__rows { margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-4); }
.estimate__row { display: flex; align-items: baseline; gap: var(--sp-4); }
.estimate__row dt {
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3); width: 5.5rem; flex: none;
}
.estimate__row dd { margin: 0; font-size: var(--step-0); font-weight: 500; }
.estimate__note { font-size: var(--step--1); color: var(--fg-2); margin-top: var(--sp-2); }
.estimate__ships { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.estimate__ships > span {
  display: block;
  font-family: var(--font-sans); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-3); margin-bottom: var(--sp-3);
}
.estimate__ships .proof-row { gap: var(--sp-2); }
.estimate__foot { margin-top: var(--sp-5); padding-top: var(--sp-5); border-top: 1px solid var(--line); }

.price-note {
  margin-top: var(--sp-2);
  font-size: var(--step--1);
  color: var(--fg-2);
}
.price-note a { color: var(--fg); text-decoration-color: var(--line-strong); }
.price-note a:hover { text-decoration-color: var(--fg); }

.smme-pricing {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.smme-pricing h3 { font-size: var(--step-0); }
.smme-pricing p {
  margin-top: var(--sp-2);
  max-width: 62ch;
  font-size: var(--step--1);
  color: var(--fg-2);
}
.smme-pricing a { color: var(--fg); text-decoration-color: var(--line-strong); font-weight: 500; }
.smme-pricing a:hover { text-decoration-color: var(--fg); }

.brief__done { display: grid; gap: var(--sp-5); }
.brief__out {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.7;
  width: 100%;
  min-height: 16rem;
  padding: var(--sp-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--sunken);
  color: var(--fg);
  resize: vertical;
}
.copied {
  font-size: var(--step--1);
  color: var(--accent);
  font-family: var(--font-sans);
}

.notify { margin-top: var(--sp-6); max-width: 34rem; }

.notify__mode { margin-bottom: var(--sp-4); }
.notify__mode legend { margin-bottom: var(--sp-2); }

.notify__mode .choices {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  max-width: 26rem;
}
@media (min-width: 30rem) {
  .notify__mode .choices { grid-template-columns: 1fr 1fr; }
}
.notify__mode .choice span {
  display: block;
  text-align: center;
  
  padding: 0.95em 1.4em;
}
.notify__row { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: flex-end; }
.notify__row .field { margin-bottom: 0; flex: 1 1 16rem; min-width: 0; }

.notify__row .field input { padding-block: 0.95rem; }
.notify__row .btn { flex: 0 0 auto; }

@media (max-width: 30rem) {
  .notify__row .btn { width: 100%; justify-content: center; }
}
.notify__note { font-size: var(--step--1); color: var(--fg-3); margin-top: var(--sp-3); }

.notify__message { margin-top: var(--sp-4); margin-bottom: 0; }
.notify__message textarea { min-height: 5.5rem; }
.notify__message label { font-weight: 600; }
.notify__message .hint { font-weight: 400; }

.notify__hp {
  position: absolute !important; left: -9999px; top: auto;
  width: 1px; height: 1px; overflow: hidden;
}

.notify[aria-busy="true"] { opacity: 0.6; }
.notify[aria-busy="true"] .btn { pointer-events: none; }

.notify .field__error:empty { display: none; }
.notify .field__error {
  display: flex;
  align-items: flex-start;
  gap: 0.55em;
  margin-top: var(--sp-3);
  padding: 0.6em 0.8em;
  border: 1px solid color-mix(in srgb, var(--flag-500) 42%, transparent);
  border-radius: var(--radius-sm);
  background: var(--flag-50);
  color: var(--flag-500);
  font-size: var(--step--1);
  line-height: 1.45;
  max-width: 34rem;
}

.notify .field__error::before {
  content: "!" / "";
  flex: none;
  width: 1.25em;
  height: 1.25em;
  margin-top: 0.1em;
  border-radius: 50%;
  background: var(--flag-500);
  color: var(--flag-50);
  display: grid;
  place-items: center;
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1;
}

.notify .field input[aria-invalid="true"] {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--flag-500) 20%, transparent);
}
.notify__note a { color: inherit; }

.notify__done {
  margin-top: var(--sp-5);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-sm);
  background: var(--accent-quiet);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--step--1);
  color: var(--fg-2);
}
.notify__done strong { color: var(--fg); }

.checks {
  background: var(--card);
  border-radius: var(--radius);
  padding: var(--sp-6);
}
.section--inverse .checks {
  background: color-mix(in srgb, var(--on-inverse) 7%, transparent);
}

.checks__title {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--sp-5);
}
.section--inverse .checks__title { color: color-mix(in srgb, var(--on-inverse) 62%, transparent); }

.checks ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
.checks li {
  display: grid;
  grid-template-columns: 1.35rem 1fr;
  gap: var(--sp-3);
  align-items: start;
  font-size: var(--step-0);
  line-height: 1.45;
  color: var(--fg);
}
.section--inverse .checks li { color: var(--on-inverse); }

.checks li::before {
  content: "";
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1em;
  border-radius: 50%;
  background: var(--accent-quiet);
  border: 1px solid var(--accent-line);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D8577' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.72rem;
}

:root[data-theme="dark"] .checks li::before,
.section--inverse .checks li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235FD2BE' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .checks li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235FD2BE' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  }
}

.card--work { text-decoration: none; color: inherit; display: flex; }
.card--work:hover { background: var(--card-hover); }

.shot__go {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 2.6rem var(--sp-5) var(--sp-4);
  font-size: var(--step--1);
  font-weight: 600;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
  background: linear-gradient(to top,
    rgba(10, 11, 13, 0.92) 0%,
    rgba(10, 11, 13, 0.72) 45%,
    rgba(10, 11, 13, 0) 100%);
}
.shot__go svg { width: 0.95em; height: 0.95em; flex: none; }

.card--work:hover .shot__go,
.card--work:focus-visible .shot__go { opacity: 1; transform: none; }

.shot > img { transition: transform 620ms var(--ease); }
.card--work:hover .shot > img,
.card--work:focus-visible .shot > img { transform: scale(1.04); }

.card--work:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .shot > img,
  .shot__go { transition: none; }
  .card--work:hover .shot > img,
  .card--work:focus-visible .shot > img { transform: none; }
}

.work-site {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: var(--step--1);
  color: var(--fg-3);
}

.work-site .mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 26px;
  padding: 4px;
  border-radius: 6px;
  background: #FAFBFB;
  flex: none;
}
.work-site .mark img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  filter: grayscale(1);
}

.shot {
  position: relative;
  margin: calc(var(--sp-5) * -1) calc(var(--sp-5) * -1) var(--sp-1);
  border-bottom: 1px solid var(--line);
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  overflow: hidden;
  background: var(--sunken);
}

.shot > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  
  object-position: 50% 0;
}

:root[data-theme="dark"] .shot img { filter: brightness(0.86); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .shot img { filter: brightness(0.86); }
}
