/* 00-tokens.css */
@font-face {
  font-family: "Bricolage";
  src: url("/assets/fonts/bricolage-grotesque-var.woff2?v=fd2a38fb99") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face { font-family: "Bricolage Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"); font-weight: 100 549; size-adjust: 104.5%; ascent-override: 89%; descent-override: 25.8%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"); font-weight: 550 749; size-adjust: 100.3%; ascent-override: 92.7%; descent-override: 26.9%; line-gap-override: 0%; }
@font-face { font-family: "Bricolage Fallback"; src: local("Arial Black"), local("Arial-Black"); font-weight: 750 900; size-adjust: 78%; ascent-override: 119.2%; descent-override: 34.6%; line-gap-override: 0%; }
:root {
  --violet: #5b3fd6;
  --violet-deep: #4630b8;
  --violet-soft: #7b62e8;
  --lilac: #ece7ff;
  --lilac-2: #d9cffb;
  --ink: #15102b;
  --ink-2: #251f44;
  --ink-soft: #57516f;
  --paper: #ffffff;
  --fog: #f5f2fc;
  --sun: #ffc93c;
  --sun-deep: #e3a400;
  --day: #e2f1ff;
  --sky: #8fdcff;
  --sky-deep: #17679c;
  --stop: #ff5a3c;
  --orb: #8b5cf6;
  --font: "Bricolage", "Bricolage Fallback", system-ui, sans-serif;
  --step-hero: clamp(2.6rem, min(12.4vw, 23svh), 14.5rem);
  --step-1: clamp(2.6rem, 6.4vw, 5.75rem);
  --step-2: clamp(1.7rem, 3.3vw, 2.9rem);
  --step-3: clamp(1.18rem, 1.55vw, 1.45rem);
  --step-0: 1.0625rem;
  --step--1: 0.9rem;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;
  --gutter: clamp(20px, 5vw, 72px);
  --sheet-pad: clamp(72px, 12vh, 160px);
  --max: 1320px;
  --r-pill: 999px;
  --r-sheet: clamp(28px, 4vw, 56px);
  --r-frame: clamp(18px, 2vw, 28px);
  --r-chip: 14px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-press: 120ms;
  --t-ui: 200ms;
  --lift-1: 0 1px 0 rgba(255, 255, 255, 0.35) inset, 0 8px 18px -10px rgba(21, 16, 43, 0.45);
  --lift-2: 0 1px 0 rgba(255, 255, 255, 0.4) inset, 0 22px 44px -22px rgba(21, 16, 43, 0.55);
  --nav-h: 68px;
}
/* 10-base.css */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); background: var(--day); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: var(--step-0); line-height: 1.55; font-weight: 400; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
[hidden] { display: none !important; }
::selection { background: var(--sun); color: var(--ink); }
.display { font-size: var(--step-hero); line-height: 0.88; letter-spacing: -0.02em; word-spacing: 0.03em; font-weight: 800; font-stretch: 92%; text-wrap: balance; }
.title { font-size: var(--step-1); line-height: 0.94; letter-spacing: -0.022em; word-spacing: 0.04em; font-weight: 780; font-stretch: 94%; text-wrap: balance; }
.statement { font-size: var(--step-2); line-height: 1.06; letter-spacing: -0.022em; font-weight: 640; text-wrap: balance; }
.lead { font-size: var(--step-3); line-height: 1.38; font-weight: 450; letter-spacing: -0.008em; max-width: 34ch; text-wrap: pretty; }
.body { max-width: 62ch; text-wrap: pretty; }
.small { font-size: var(--step--1); line-height: 1.45; }
.soft { color: var(--fg-soft); }
strong { font-weight: 680; }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-weight: 650; text-decoration: none; }
.skip:focus { top: 12px; }
.js-off { display: none; }
:root:not(.js) .js-off, .is-static .js-off { display: block; }
@media print { .skip { display: none !important; } }
:focus-visible { outline: 3px solid var(--focus, var(--violet)); outline-offset: 3px; border-radius: 6px; }
[data-ground] { background: var(--bg); color: var(--fg); }
[data-ground="violet"] { --bg: var(--violet); --fg: #fff; --fg-soft: rgba(255, 255, 255, 0.84); --focus: #fff; --btn-bg: #fff; --btn-fg: var(--ink); --line: rgba(255, 255, 255, 0.28); }
[data-ground="day"] { --bg: var(--day); --fg: var(--violet-deep); --fg-soft: #3d3a66; --focus: var(--violet); --btn-bg: var(--violet); --btn-fg: #fff; --line: rgba(70, 48, 184, 0.18); }
[data-ground="paper"] { --bg: var(--paper); --fg: var(--ink); --fg-soft: var(--ink-soft); --focus: var(--violet); --btn-bg: var(--ink); --btn-fg: #fff; --line: var(--lilac-2); }
[data-ground="oat"] { --bg: #f7f3ec; --fg: #241f18; --fg-soft: #635b4b; --focus: #6b46e5; --btn-bg: #6b46e5; --btn-fg: #fffdf8; --line: #e7decf; }
[data-ground="fog"] { --bg: var(--fog); --fg: var(--ink); --fg-soft: var(--ink-soft); --focus: var(--violet); --btn-bg: var(--ink); --btn-fg: #fff; --line: var(--lilac-2); }
[data-ground="mist"] { --bg: #e9f0f1; --fg: #0c1110; --fg-soft: #394547; --focus: #0a6676; --btn-bg: #035160; --btn-fg: #f6fbfc; --line: #bcc6c8; }
[data-ground="ink"] { --bg: var(--ink); --fg: #fff; --fg-soft: rgba(255, 255, 255, 0.78); --focus: var(--sky); --btn-bg: #fff; --btn-fg: var(--ink); --line: rgba(255, 255, 255, 0.2); }
.sheet { position: relative; z-index: 1; overflow: clip; border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: var(--sheet-pad) 0 calc(var(--sheet-pad) + var(--r-sheet)); }
.sheet + .sheet, .hero + .sheet { margin-top: calc(var(--r-sheet) * -1); }
.sheet:last-of-type { padding-bottom: var(--sheet-pad); }
.wrap { width: min(var(--max), 100% - var(--gutter) * 2); margin-inline: auto; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r-pill); background: var(--btn-bg); color: var(--btn-fg); font-weight: 680; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; box-shadow: var(--lift-1); transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(0.97); }
.btn--quiet { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 2px var(--line); }
.btn svg { width: 14px; height: 14px; flex: none; }
.link { font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--line); transition: text-decoration-color var(--t-ui) ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: scale(0.97); }
  .link:hover { text-decoration-color: currentColor; }
}
.status { display: inline-flex; align-items: center; gap: 9px; min-height: 34px; padding: 0 14px 0 9px; border-radius: var(--r-pill); font-size: var(--step--1); font-weight: 680; line-height: 1; white-space: nowrap; }
.status::before { content: ""; width: 16px; height: 16px; border-radius: 5px; flex: none; }
.status--solid { background: #fff; color: var(--ink); box-shadow: var(--lift-1); }
.status--solid::before { background: var(--violet); box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.45), inset 0 -2px 0 rgba(21, 16, 43, 0.25); }
.status--taped { background: var(--sun); color: var(--ink); transform: rotate(-1.5deg); box-shadow: 0 6px 14px -8px rgba(21, 16, 43, 0.5); }
.status--taped::before { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0 3px, rgba(255, 255, 255, 0.55) 3px 6px); border-radius: 2px; transform: rotate(8deg); }
.status--wire { color: var(--wire, var(--sky-deep)); box-shadow: inset 0 0 0 2px currentColor; }
.status--wire::before { border-radius: 0; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath stroke-width='1.9' d='M12 2.7 20.3 7.4v9.2L12 21.3 3.7 16.6V7.4zM12 12 3.7 7.4M12 12l8.3-4.6M12 12v9.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath stroke-width='1.9' d='M12 2.7 20.3 7.4v9.2L12 21.3 3.7 16.6V7.4zM12 12 3.7 7.4M12 12l8.3-4.6M12 12v9.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.status--dotted { color: var(--fg); border: 2px dotted currentColor; padding-inline: 7px 12px; }
.status--dotted::before { border: 2px dotted currentColor; }
[data-ground="ink"] .status--wire, [data-ground="violet"] .status--wire { --wire: var(--sky); }
.mtype--solid { color: var(--violet); }
.mtype--hatched, .mtype--dotted { color: transparent; -webkit-background-clip: text; background-clip: text; }
.mtype--hatched { -webkit-text-stroke: max(1.25px, 0.014em) var(--ink); background-image: repeating-linear-gradient(-45deg, var(--ink) 0 0.022em, transparent 0.022em 0.085em); }
.mtype--wire { color: var(--bg, #fff); -webkit-text-stroke: max(3px, 0.05em) var(--sky-deep); paint-order: stroke fill; }
.mtype--dotted { background-image: radial-gradient(circle, var(--ink) 0.022em, transparent 0.029em); background-size: 0.068em 0.068em; }
@media (forced-colors: active) { .mtype--solid, .mtype--hatched, .mtype--wire, .mtype--dotted { color: LinkText !important; background: none !important; -webkit-text-stroke: 0 !important; } }
.frame { position: relative; border-radius: var(--r-frame); background: #fff; }
.frame > img, .frame > picture > img { border-radius: inherit; width: 100%; }
.frame--solid { box-shadow: 0 0 0 1px rgba(21, 16, 43, 0.08), var(--lift-2); }
.frame--taped { box-shadow: 0 0 0 1px rgba(21, 16, 43, 0.1), 0 18px 34px -20px rgba(21, 16, 43, 0.5); }
.frame--taped::before, .frame--taped::after { content: ""; position: absolute; z-index: 2; width: 92px; height: 26px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 8px, rgba(255, 255, 255, 0.62) 8px 16px); box-shadow: 0 2px 5px rgba(21, 16, 43, 0.18); }
.frame--taped::before { top: -11px; left: 18px; transform: rotate(-7deg); }
.frame--taped::after { bottom: -10px; right: 22px; transform: rotate(-4deg); }
.motion [data-in] { opacity: 0; transform: translateY(16px); transition: opacity 560ms var(--ease-out), transform 620ms var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.motion [data-in].is-in { opacity: 1; transform: none; }
.motion [data-in]:focus-within, .motion [data-in]:focus { opacity: 1; transform: none; transition: none; }
.motion .is-cued [data-cue] { opacity: 0; transform: translate3d(0, var(--cue-rise, 22px), 0); pointer-events: none; transition: opacity 300ms var(--ease-out), transform 460ms var(--ease-out); }
.motion .is-cued [data-cue].is-cue-past { transform: translate3d(0, -14px, 0); transition-duration: 200ms, 280ms; }
.motion .is-cued [data-cue].is-cue-on { opacity: 1; transform: none; pointer-events: auto; }
.motion .is-cued [data-cue].is-cue-on:focus-within { transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .link { transition: none; }
}
@media print {
  .orb-layer, .nav { display: none !important; }
  .hero { position: relative !important; }
  .motion [data-in] { opacity: 1 !important; transform: none !important; }
  .motion .is-cued [data-cue] { opacity: 1 !important; transform: none !important; }
}
/* 20-chrome.css */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-inline: max(12px, calc(var(--gutter) - 14px)); pointer-events: none; --nav-bg: var(--violet); --nav-fg: #fff; --nav-on: rgba(255, 255, 255, 0.18); --focus: #fff; }
.nav[data-theme="paper"], .nav[data-theme="fog"] { --nav-bg: #fff; --nav-fg: var(--ink); --nav-on: var(--lilac); --focus: var(--violet); }
.nav[data-theme="fog"] { --nav-bg: var(--fog); }
.nav[data-theme="day"] { --nav-bg: var(--day); --nav-fg: var(--ink); --nav-on: rgba(70, 48, 184, 0.1); --focus: var(--violet); }
.nav[data-theme="oat"] { --nav-bg: #f7f3ec; --nav-fg: #241f18; --nav-on: rgba(107, 70, 229, 0.1); --focus: #6b46e5; }
.nav[data-theme="mist"] { --nav-bg: #e9f0f1; --nav-fg: #0c1110; --nav-on: rgba(3, 81, 96, 0.1); --focus: #0a6676; }
.nav[data-theme="ink"] { --nav-bg: var(--ink); --nav-fg: #fff; --nav-on: rgba(255, 255, 255, 0.16); --focus: var(--sky); }
.nav::before { content: ""; position: absolute; inset: 0 0 -14px; z-index: -1; background-color: var(--nav-bg); -webkit-mask-image: linear-gradient(#000 74%, transparent); mask-image: linear-gradient(#000 74%, transparent); transition: background-color 240ms ease; }
.nav > * { pointer-events: auto; background: var(--nav-bg); color: var(--nav-fg); border-radius: var(--r-pill); transition: background-color 240ms ease, color 240ms ease; }
.nav__brand { display: inline-flex; align-items: center; gap: 12px; padding: 0 12px; }
.nav__mark { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-decoration: none; }
.nav__mark svg { width: 78px; height: 19px; flex: none; }
.nav__credit { display: flex; flex-direction: column; justify-content: center; min-height: 44px; color: inherit; text-decoration: none; white-space: nowrap; }
.nav__name { font-size: 1rem; font-weight: 650; line-height: 1.1; }
.nav__role { font-size: 0.875rem; line-height: 1.2; }
.nav__credit:hover .nav__role, .nav__credit:focus-visible .nav__role { text-decoration: underline; }
@media (max-width: 420px) {
  .nav { gap: 4px; }
  .nav__brand { gap: 8px; padding-inline: 3px; }
  .nav__mark svg { width: 57px; height: auto; }
  .nav__here { padding-inline: 3px; }
  .nav__mail { padding-inline: 5px; }
}
.nav__links { display: none; padding: 4px; gap: 2px; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 15px; border-radius: var(--r-pill); font-weight: 620; font-size: 0.97rem; text-decoration: none; transition: background-color var(--t-ui) ease; }
.nav__links a[aria-current="true"] { background: var(--nav-on); }
.nav__links a { position: relative; }
.nav__links a::after { content: ""; position: absolute; inset: -2px 0; }
.nav__here { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; font-weight: 650; font-size: 0.95rem; text-decoration: none; margin-right: auto; opacity: 0; visibility: hidden; transition: opacity 200ms ease, visibility 0s 200ms, background-color 240ms ease, color 240ms ease; }
.nav__here.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.nav__here { min-width: 0; }
.nav__here [data-nav-here-name] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__mail { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; font-weight: 680; font-size: 0.97rem; text-decoration: none; }
.nav__mail .long { display: none; }
@media (min-width: 480px) { .nav__mail .long { display: inline; } .nav__mail .short { display: none; } }
@media (min-width: 900px) {
  .nav__links { display: inline-flex; }
  .nav__here { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { background: var(--nav-on); }
  .nav__mark:hover svg { transform: translateY(-1px); }
  .nav__mark svg { transition: transform var(--t-ui) var(--ease-out); }
}
.orb-layer { position: fixed; left: 0; top: 0; z-index: 65; width: 480px; height: 480px; transform-origin: 0 0; pointer-events: none; visibility: hidden; will-change: transform; contain: layout style; }
.orb-layer agent-face { display: block; width: 100%; pointer-events: none; }
.orb-hit { position: absolute; left: 18.35%; top: 18.35%; width: 63.3%; height: 63.3%; border-radius: 50%; pointer-events: auto; cursor: grab; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.orb-hit:active { cursor: grabbing; }
.orb-hit:focus-visible { outline: 3px solid #fff; outline-offset: 4px; box-shadow: 0 0 0 7px var(--ink); border-radius: 50%; }
.orb-layer.is-docked .orb-hit { cursor: pointer; touch-action: auto; }
.orb-layer.in-nav .orb-hit::after { content: ""; position: absolute; inset: -16%; border-radius: 50%; }
.orb-layer { transition: opacity 200ms ease; }
.orb-layer.is-tucked { opacity: 0; }
.orb-layer.is-tucked .orb-hit { visibility: hidden; }
@media print { .orb-layer { display: none; } }
:root:not(.js) .orb-layer { display: none; }
/* 30-hero.css */
.hero { position: sticky; top: 0; z-index: 0; height: 100svh; min-height: 540px; display: grid; overflow: clip; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; gap: clamp(20px, 3.4vh, 40px); padding: calc(var(--nav-h) + 12px) var(--gutter) calc(var(--r-sheet) + clamp(18px, 3.4vh, 40px)); transform-origin: 50% 72%; }
.hero__rain { position: absolute; inset: 0; z-index: 2; display: block; width: 100%; height: 100%; pointer-events: none; }
:root:not(.js) .hero__rain { display: none; }
.hero.is-over, .hero.is-over * { cursor: grab; }
.hero.is-holding, .hero.is-holding * { cursor: grabbing; }
.hero__title { margin: 0; cursor: default; -webkit-user-select: none; user-select: none; }
.hero__title { font-size: min(calc((100vw - 2 * var(--gutter)) / 4.75), 20svh, 13rem); }
.hero__lines { display: block; }
.hero__lines .line { display: block; white-space: nowrap; }
.hero__lines .w { position: relative; display: inline-block; transform-origin: 50% 100%; touch-action: manipulation; }
.hero__lines .wi { display: inline-block; }
.perch { position: absolute; left: 50%; bottom: 80%; width: var(--orb-d, clamp(118px, 20vw, 290px)); height: 1px; transform: translateX(-50%); pointer-events: none; }
.hero .perch { left: 50%; bottom: 96%; width: clamp(72px, 0.86em, 170px); }
@media (max-height: 560px) {
  .hero { position: relative; height: auto; min-height: 100svh; }
  .hero__inner { padding-top: calc(var(--nav-h) + 88px); }
  .hero__title { font-size: min(calc((100vw - 2 * var(--gutter)) / 4.75), 16svh, 13rem); }
}
@media print {
  .hero__rain { display: none; }
}
/* 40-toup.css */
html:has(> .case--toup) { background: #e5dcfa; }
.nav[data-theme="iris"] { --nav-bg: #e5dcfa; --nav-fg: #1a1f2a; --nav-on: rgba(108, 78, 193, 0.16); --focus: #563f98; }
[data-ground="iris"] { --bg: #e5dcfa; --fg: #1a1f2a; --fg-soft: #535878; --focus: #6c4ec1; --btn-bg: #6c4ec1; --btn-fg: #ffffff; --line: #cfc8ee; }
@font-face { font-family: "Toup Serif"; src: url("/assets/fonts/source-serif-4-toup.woff2?v=956a4220ba") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Toup Sans"; src: url("/assets/fonts/instrument-sans-toup.woff2?v=3ea63255b9") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Toup Serif Fallback"; src: local("Georgia"); font-weight: 100 549; size-adjust: 108%; ascent-override: 95.9%; descent-override: 31%; line-gap-override: 0%; }
@font-face { font-family: "Toup Serif Fallback"; src: local("Georgia Bold"), local("Georgia-Bold"); font-weight: 550 900; size-adjust: 93.6%; ascent-override: 110.7%; descent-override: 35.8%; line-gap-override: 0%; }
@font-face { font-family: "Toup Sans Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"); font-weight: 100 549; size-adjust: 102%; ascent-override: 95.1%; descent-override: 24.5%; line-gap-override: 0%; }
@font-face { font-family: "Toup Sans Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"); font-weight: 550 900; size-adjust: 97.1%; ascent-override: 99.9%; descent-override: 25.7%; line-gap-override: 0%; }
.toup, .case--toup {
  --t-serif: "Toup Serif", "Toup Serif Fallback", Georgia, serif;
  --t-sans: "Toup Sans", "Toup Sans Fallback", system-ui, sans-serif;
  --t-ink: #231c32;
  --t-body: #50495c;
  --t-muted: #625872;
  --t-input: #fff;
  --t-accent: #513195;
  --bg: #f4f0fa;
  --fg: var(--t-ink);
}
.toup { font-family: var(--t-sans); }
.toup-intro { display: grid; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.toup-intro { grid-template-columns: 1fr 1fr; }
.toup-intro__copy { display: grid; gap: 1.35rem; justify-items: start; }
.toup-wordmark { font: 600 clamp(1.6rem, 2.4vw, 2.2rem)/1 var(--t-serif); letter-spacing: -.055em; }
.toup-intro h2 { color: var(--t-ink); font-family: var(--t-serif); font-weight: 500; line-height: .99; letter-spacing: -.055em; }
.toup-intro h2 { font-size: clamp(3.2rem, 6vw, 6.1rem); text-wrap: balance; }
.toup-intro h2 em { display: block; font-weight: inherit; }
.toup-intro__lead { max-width: 43ch; font-size: clamp(1.07rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--t-body); }
.toup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.35rem; }
.toup .btn { font-family: var(--t-sans); background: #352842; color: white; box-shadow: none; }
.toup .btn:hover { background: #513195; }
.toup-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--t-ink); text-decoration: underline; text-decoration-color: #a79bae; text-underline-offset: .28em; font-size: 1rem; font-weight: 650; }
.toup-text-link:hover { text-decoration-color: currentColor; }
.toup-portrait {
  display: block;
  justify-self: center;
  align-self: center;
  width: min(100%, 30rem);
  aspect-ratio: 1;
}
.toup-portrait:not(:defined) {
  width: min(63%, 19rem);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 28%, #e9ddff, #9773cd 55%, #53466b);
}
.toup-workflow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 5vw, 6rem);
  margin-top: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 5.5vw, 5.5rem);
  border-top: 1px solid #cfc5d7;
}
.toup-request h3, .toup-steps h4 { font-size: 1rem; font-weight: 650; line-height: 1.35; }
.toup-request blockquote {
  margin: 1.2rem 0;
  max-width: 18ch;
  font: 450 clamp(2.15rem, 3.4vw, 3.75rem)/1.08 var(--t-serif);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.toup-request p, .toup-details p, .toup-steps p { color: var(--t-body); font-size: 1.0625rem; line-height: 1.55; }
.toup-request p { max-width: 38ch; }
.toup-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 1.15rem; padding-block: 1.05rem; }
.toup-steps li:first-child { padding-top: 0; }
.toup-steps li + li { border-top: 1px solid #d9d1df; }
.toup-steps img { width: 36px; height: 36px; margin-top: .13rem; }
.toup-steps p { margin-top: .25em; max-width: 43ch; }
.toup-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 4rem); padding-top: clamp(2rem, 3.6vw, 3.75rem); border-top: 1px solid #cfc5d7; }
.toup-details h3 { margin: 0 0 .55rem; font: 530 clamp(1.45rem, 2vw, 2.1rem)/1.15 var(--t-serif); letter-spacing: -.035em; }
.toup-details p { max-width: 42ch; }
.toup-more { margin-top: clamp(1.4rem, 3vw, 3rem); }
@media (max-width: 780px) {
  .toup-intro, .toup-workflow, .toup-details { grid-template-columns: minmax(0, 1fr); }
  .toup-intro { gap: .5rem; }
  .toup-portrait { width: min(85%, 19rem); }
  .toup-intro h2 { font-size: clamp(3.1rem, 11vw, 4.6rem); }
}
.case--toup .case-doc :is(.title, .statement):not(.case-ask *) { font-family: var(--t-serif); font-weight: 500; font-stretch: 100%; letter-spacing: -0.02em; word-spacing: 0; }
.case--toup .case-doc .title:not(.case-ask *) { font-weight: 600; letter-spacing: -0.025em; }
.case--toup .case-doc :is(.lead, .body, .small, .case-sec__name, figcaption, .btn, .status, li, dd, dt):not(.case-ask *) { font-family: var(--t-sans); }
.case--toup .case-doc :is(.lead, .body):not(.case-ask *) { color: var(--t-body); }
.case--toup .case-doc .btn:not(.case-ask *) { background: var(--t-accent); color: var(--t-input); font-weight: 600; box-shadow: 0 1px 2px rgba(26, 31, 42, 0.08); }
.case--toup .case-doc .btn--quiet:not(.case-ask *) { background: var(--t-input); color: var(--t-ink); }
.case--toup .case-doc .status--solid::before { background: var(--t-accent); box-shadow: none; border-radius: 50%; width: 10px; height: 10px; margin-inline: 3px; }
/* 40a-toup-story.css */
.tp-story { color: var(--t-ink); font-family: var(--t-sans); }
.tp-story h1, .tp-story h2 { font-family: var(--t-serif); font-weight: 500; letter-spacing: -.05em; line-height: 1.02; text-wrap: balance; }
.tp-story h1 { max-width: 11ch; font-size: clamp(3.35rem, 6.3vw, 6.7rem); }
.tp-story h2 { max-width: 16ch; font-size: clamp(2.35rem, 3.8vw, 4.1rem); }
.tp-intro { padding: calc(var(--nav-h) + clamp(30px, 5vw, 80px)) 0 clamp(52px, 6.5vw, 100px); background: #f6f3fa; }
.tp-intro__layout, .tp-handoff__layout, .tp-anywhere__layout, .tp-personal__spread { display: grid; gap: clamp(2rem, 5.4vw, 6rem); align-items: center; }
.tp-intro__layout > *, .tp-handoff__layout > * { min-width: 0; }
.tp-product { margin-bottom: 1.15rem; font: 600 clamp(1.55rem, 2.4vw, 2.2rem)/1 var(--t-serif); letter-spacing: -.055em; }
.tp-intro__lead, .tp-handoff__intro p, .tp-personal p, .tp-anywhere p:not(.tp-actions) { margin-top: 1.15rem; max-width: 46ch; color: var(--t-body); font-size: clamp(1.06rem, 1.32vw, 1.34rem); line-height: 1.55; }
.tp-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-top: 1.6rem; }
.tp-actions .btn { font-family: var(--t-sans); box-shadow: none; }
.tp-handoff, .tp-personal, .tp-anywhere { padding: clamp(3.6rem, 7vw, 7rem) 0; }
.tp-handoff, .tp-anywhere { background: #fffefc; }
.tp-task { margin: 0; background: #f4f0f9; border: 1px solid #e7e0ed; border-radius: 1.65rem; padding: clamp(1.2rem, 3vw, 3.2rem); color: #352c40; }
.tp-task figcaption { display: flex; gap: .3rem 1rem; align-items: baseline; justify-content: space-between; flex-wrap: wrap; color: #594869; font: 650 .92rem/1.45 var(--t-sans); }
.tp-task figcaption span { font-weight: 500; }
.tp-task__instruction { margin: 1.35rem 0 1.65rem; font: 500 clamp(1.4rem, 2.1vw, 2.15rem)/1.23 var(--t-serif); letter-spacing: -.035em; }
.tp-task__steps { margin: 0; }
.tp-task__steps div { border-top: 1px solid #d7cfe0; padding-top: 1rem; margin-top: 1rem; }
.tp-task__steps dt { margin-bottom: .32rem; color: #58436d; font-weight: 650; font-size: .93rem; }
.tp-task__steps dd { margin: 0; color: #48404f; font-size: 1.04rem; line-height: 1.55; }
.tp-personal { background: #f2edf7; }
.tp-personal__spread { align-items: start; }
.tp-personal__spread > div + div { border-top: 1px solid #d6cddd; padding-top: 2rem; }
.tp-models { display: flex; align-items: baseline; flex-wrap: wrap; gap: .65rem 1.2rem; margin: 1.6rem 0 0; padding: .9rem 0; list-style: none; border-block: 1px solid #d6cddd; color: #50346b; }
.tp-models li { font: 500 clamp(1.4rem, 2.2vw, 2rem)/1.2 var(--t-serif); letter-spacing: -.04em; }
.tp-anywhere .tp-actions { margin: 0; }
@media (min-width: 800px) {
  .tp-intro__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tp-handoff__layout { grid-template-columns: minmax(0, .77fr) minmax(0, 1fr); }
  .tp-personal__spread { grid-template-columns: 1fr 1fr; gap: clamp(2.8rem, 6vw, 6rem); }
  .tp-personal__spread > div + div { padding: 0 0 0 clamp(2.8rem, 6vw, 6rem); border-top: 0; border-left: 1px solid #d6cddd; }
  .tp-anywhere__layout { grid-template-columns: minmax(0, 1fr) auto; }
}
/* 50-samtrip.css */
@font-face { font-family: "Samtrip Sans"; src: url("/assets/fonts/inter-samtrip.woff2?v=765ce8d3af") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Samtrip Fallback"; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("HelveticaNeue"); font-weight: 100 549; size-adjust: 107%; ascent-override: 90.6%; descent-override: 22.5%; line-gap-override: 0%; }
@font-face { font-family: "Samtrip Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"); font-weight: 550 749; size-adjust: 101.6%; ascent-override: 95.4%; descent-override: 23.7%; line-gap-override: 0%; }
@font-face { font-family: "Samtrip Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"); font-weight: 750 900; size-adjust: 103.1%; ascent-override: 94%; descent-override: 23.4%; line-gap-override: 0%; }
.samtrip, .case--samtrip {
  --s-bg: #e9f0f1; --s-card: #f6fbfc; --s-hair: #d7e0e2; --s-edge: #bcc6c8; --s-input: #707d80;
  --s-ink: #0c1110; --s-body: #394547; --s-muted: #546063;
  --s-teal: #035160; --s-link: #0a6676; --s-select: #caf0f7; --s-blue: #33447c; --s-red: #a02f2f;
  --s-shadow: 0 1px 2px rgba(12, 17, 16, 0.06), 0 16px 36px -24px rgba(12, 17, 16, 0.42);
  --s-sans: "Samtrip Sans", "Samtrip Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --s-tape: repeating-linear-gradient(90deg, rgba(255, 201, 60, 0.95) 0 8px, rgba(255, 201, 60, 0.74) 8px 16px);
}
.samtrip { background: #f1f5f8; color: #14213d; font-family: var(--s-sans); }
.samtrip ::selection, .case--samtrip .case-doc ::selection { background: var(--s-select); color: var(--s-ink); }
.wordmark-tail { color: var(--s-red); }
.samtrip .statement { font-weight: 720; letter-spacing: -.052em; line-height: 1.04; }
.samtrip .lead, .samtrip .body { color: #41506a; font-weight: 400; letter-spacing: -.016em; }
.samtrip .link { color: #154faf; }
.sam-open { display: grid; gap: clamp(22px, 3vw, 42px); margin-bottom: clamp(32px, 4.5vw, 64px); }
.sam-brand { display: flex; align-items: center; gap: 10px; color: #192e58; font-size: clamp(23px, 2.5vw, 36px); font-weight: 750; line-height: 1; letter-spacing: -.047em; }
.sam-brand img { width: 1.7em; height: auto; }
.sam-intro { display: grid; align-items: end; gap: 16px clamp(30px, 5vw, 82px); }
.sam-intro .statement { font-size: clamp(38px, 5.3vw, 82px); }
.sam-intro .lead { max-width: 47ch; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.48; }
.sam-concierge { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: stretch; background: white; border: 1px solid #d8e1eb; border-radius: clamp(22px, 2vw, 32px); overflow: hidden; box-shadow: 0 18px 58px -40px #162b50a6; }
.sam-destination { position: relative; min-height: 330px; isolation: isolate; background: #334969; overflow: hidden; }
.sam-destination > img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 47% 50%; z-index: -2; }
.sam-destination::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, #101d3400 12%, #0c18283b 41%, #061322ec 100%); }
.sam-destination figcaption { height: 100%; display: flex; justify-content: end; flex-direction: column; align-items: start; gap: 14px; color: white; padding: clamp(24px, 3.3vw, 52px); }
.sam-destination__place { font-size: clamp(13px, 1.1vw, 16px); font-weight: 650; }
.sam-destination blockquote { max-width: 17ch; margin: 0; font-size: clamp(27px, 2.85vw, 46px); line-height: 1.09; font-weight: 580; letter-spacing: -.045em; text-wrap: balance; }
.sam-result { min-width: 0; align-self: center; width: 100%; padding: clamp(24px, 3.2vw, 52px); }
.sam-result__head, .sam-service, .sam-carrier { display: flex; align-items: center; }
.sam-result__head { justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sam-service { gap: 9px; color: #234c87; font-size: 15px; font-weight: 650; }
.sam-service img { width: 42px; height: 42px; object-fit: contain; }
.sam-sample { color: #586982; font-size: 12px; font-weight: 550; }
.sam-result h4 { margin: 0; color: #14213d; font-size: clamp(25px, 2.35vw, 38px); letter-spacing: -.045em; line-height: 1.13; font-weight: 680; }
.sam-criteria { color: #52647c; margin-top: 5px; font-size: 14px; }
.sam-offer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(102px, .45fr); margin-top: clamp(16px, 2vw, 24px); color: #142641; }
.sam-offer__body { padding: clamp(14px, 1.6vw, 21px); background: #eff5ff; border-radius: 16px 0 0 16px; }
.sam-carrier { gap: 8px; min-width: 0; font-size: 12px; line-height: 1.25; }
.sam-airline { display: grid; place-items: center; width: 27px; height: 27px; flex: none; background: #c01822; border-radius: 50%; }
.sam-airline img { width: 22px; height: 22px; }
.sam-carrier strong, .sam-carrier small, .sam-route time { display: block; }
.sam-carrier small { margin-top: 2px; color: #52647c; font-size: 11px; }
.sam-pick { margin-left: auto; color: #194aa5; background: #dfebff; border-radius: 99px; padding: 4px 7px; font-weight: 650; font-size: 10px; white-space: nowrap; }
.sam-route { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(8px, 1vw, 18px); margin-top: 18px; }
.sam-route > :last-child { text-align: right; }
.sam-route b { display: block; font-size: clamp(23px, 1.95vw, 33px); line-height: 1; letter-spacing: -.035em; }
.sam-route time { margin-top: 4px; font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 600; }
.sam-path { display: grid; justify-items: center; gap: 5px; min-width: 0; color: #4c6282; text-align: center; font-size: 10px; line-height: 1.15; }
.sam-path i { position: relative; width: 100%; height: 1px; background: #647fa4; }
.sam-path i::before, .sam-path i::after { content: ""; position: absolute; top: -2px; width: 5px; height: 5px; background: #456790; border-radius: 50%; }
.sam-path i::before { left: 0; }
.sam-path i::after { right: 0; }
.sam-stub { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 12px clamp(8px, 1.2vw, 17px); background: #deebff; border-left: 2px dashed white; border-radius: 0 16px 16px 0; }
.sam-stub::before, .sam-stub::after { content: ""; position: absolute; left: -8px; width: 14px; height: 7px; background: white; }
.sam-stub::before { top: 0; border-radius: 0 0 8px 8px; }
.sam-stub::after { bottom: 0; border-radius: 8px 8px 0 0; }
.sam-stub span, .sam-stub small { color: #405674; font-size: 11px; line-height: 1.3; }
.sam-stub strong { margin-top: 8px; font-size: clamp(15px, 1.42vw, 22px); line-height: 1.3; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sam-options { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 15px; }
.sam-options button { min-height: 40px; padding: 6px 12px; border: 1px solid #ccd8e8; border-radius: 99px; font-size: 13px; font-weight: 600; color: #455972; }
.sam-options button[aria-pressed="true"] { background: #1d63d8; border-color: #1d63d8; color: #fff; }
.sam-fare-details { border-top: 1px solid #e3e9ef; }
.sam-fare-details:first-of-type { margin-top: 15px; }
.sam-fare-details summary { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; color: #264875; font-weight: 600; font-size: 14px; cursor: pointer; list-style: none; }
.sam-fare-details summary::-webkit-details-marker { display: none; }
.sam-fare-details summary::after { content: ""; width: 8px; height: 8px; border-bottom: 1.7px solid currentColor; border-right: 1.7px solid currentColor; transform: rotate(45deg); margin: -4px 3px 0 0; flex: none; }
.sam-fare-details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.sam-fare-details dl { display: grid; gap: 5px; margin: 0 0 14px; }
.sam-fare-details dl div { display: flex; justify-content: space-between; gap: 14px; }
.sam-fare-details dl, .sam-fare-details p { font-size: 13px; line-height: 1.5; color: #53627a; }
.sam-fare-details dd { text-align: end; color: #223755; font-weight: 600; }
.sam-fare-details p { margin: 0 0 10px; }
@media (min-width: 820px) { .sam-intro { grid-template-columns: minmax(0, 1fr) minmax(0,.82fr); } }
@media (min-width: 820px) and (max-width: 1080px) { .sam-concierge { grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr); } }
@media (max-width: 819px) {
  .sam-concierge { grid-template-columns: minmax(0, 1fr); }
  .sam-destination { min-height: 215px; }
  .sam-destination figcaption { justify-content: end; min-height: inherit; }
  .sam-destination blockquote { max-width: 24ch; }
  .sam-result { padding: 22px; }
}
@media (max-width: 480px) {
  .sam-result { padding: 18px 14px; } .sam-offer { grid-template-columns: minmax(0, 1fr); }
  .sam-offer__body { border-radius: 14px 14px 0 0; }
  .sam-stub { display: flex; flex-flow: row wrap; align-items: baseline; justify-content: flex-end; gap: 4px; padding: 10px 14px; border-left: 0; border-top: 2px dashed white; border-radius: 0 0 14px 14px; }
  .sam-stub span { margin-right: auto; } .sam-stub strong { margin: 0; }
  .sam-stub::before, .sam-stub::after { width: 6px; height: 12px; top: -7px; }
  .sam-stub::before { left: 0; border-radius: 0 8px 8px 0; }
  .sam-stub::after { left: auto; right: 0; border-radius: 8px 0 0 8px; }
}
.sam-more { display: grid; gap: clamp(72px, 10vw, 152px); padding-top: clamp(72px, 10vw, 136px); }
.sam-shots { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
.sam-shot { position: relative; display: block; width: 100%; border-radius: var(--r-frame); cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.sam-shot .frame { display: block; overflow: hidden; border: 1px solid #d6dfe6; border-radius: var(--r-frame); box-shadow: 0 14px 40px -24px #1e35534d; transform: rotate(var(--tilt, 0deg)); transform-origin: 16% 0; }
.sam-shot--home { grid-column: 1 / -1; z-index: 1; --tilt: -1.3deg; }
.sam-shot--desk { grid-column: 3 / -1; z-index: 2; margin-top: -6%; --tilt: 1.3deg; }
.sam-shots__fan { grid-column: 1 / -1; z-index: 3; display: flex; justify-content: center; align-items: flex-start; margin-top: clamp(30px, 7vw, 60px); }
.sam-shot--phone { flex: none; width: 36%; }
.sam-shot--phone + .sam-shot--phone { margin-left: -4%; }
.sam-shot--phone:nth-child(1) { margin-top: 4%; --tilt: -5deg; }
.sam-shot--phone:nth-child(2) { z-index: 2; --tilt: 1deg; }
.sam-shot--phone:nth-child(3) { margin-top: 5%; --tilt: 6deg; }
.sam-shot--phone .frame { transform-origin: 50% 0; border-radius: clamp(12px, 1.6vw, 22px); }
.sam-shot--phone .frame--taped::before { left: 50%; top: -9px; width: 50px; height: 18px; margin-left: -25px; transform: rotate(-3deg); }
.sam-shot--phone .frame--taped::after { display: none; }
.sam-shots__cap { grid-column: 1 / -1; margin-top: clamp(22px, 3vw, 34px); color: var(--s-muted); }
.motion .sam-shot[data-in] { transform: translateY(14px) rotate(1.6deg) scale(1.02); }
.motion .sam-shot[data-in].is-in { transform: none; }
@media (min-width: 900px) {
  .sam-shot--home { grid-column: 1 / 8; grid-row: 1; }
  .sam-shots__fan { grid-column: 8 / 13; grid-row: 1 / 3; justify-content: flex-end; margin-top: 4%; margin-left: -5%; }
  .sam-shot--phone { width: 37%; }
  .sam-shot--phone + .sam-shot--phone { margin-left: -5.5%; }
  .sam-shot--phone:nth-child(2) { margin-top: 13%; }
  .sam-shot--phone:nth-child(3) { margin-top: 3%; }
  .sam-shot--desk { grid-column: 3 / 9; grid-row: 2; margin-top: -9%; }
  .sam-shots__cap { grid-column: 1 / 3; grid-row: 2; align-self: end; margin: 0 0 4px; }
}
.sam-inside { display: grid; gap: clamp(18px, 3vw, 40px); }
.sam-inside__text { display: grid; gap: 18px; }
.sam-inside__text strong { font-weight: 650; color: var(--s-ink); }
.sam-inside__stack { max-width: 62ch; margin-top: 4px; }
.sam-inside__go .link { display: inline-block; padding: 11px 0; }
@media (min-width: 900px) {
  .sam-inside { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(36px, 5vw, 88px); }
}
.case--samtrip .case-doc :is(.title, .statement, .lead, .body, .small, .case-sec__name, figcaption, .btn, .status, li, dd, dt):not(.case-ask *) { font-family: var(--s-sans); }
.case--samtrip .case-doc .title:not(.case-ask *) { font-weight: 800; font-stretch: 100%; letter-spacing: -0.045em; word-spacing: 0; }
.case--samtrip .case-head__title { color: var(--s-blue); }
.case--samtrip .case-doc .statement:not(.case-ask *) { font-weight: 700; font-stretch: 100%; letter-spacing: -0.03em; }
.case--samtrip .case-doc :is(.lead, .body):not(.case-ask *) { color: var(--s-body); letter-spacing: -0.01em; }
.case--samtrip .case-doc .lead:not(.case-ask *) { font-weight: 400; }
.case--samtrip .case-doc .btn:not(.case-ask *) { background: var(--s-teal); color: var(--s-card); font-weight: 600; box-shadow: 0 1px 2px rgba(12, 17, 16, 0.12); }
.case--samtrip .case-doc .btn--quiet:not(.case-ask *) { background: var(--s-card); color: var(--s-ink); box-shadow: inset 0 0 0 1px var(--s-input); }
.case--samtrip .case-doc .link:not(.case-ask *) { color: var(--s-link); text-decoration-color: rgba(10, 102, 118, 0.35); }
.case--samtrip .frame--taped::before, .case--samtrip .frame--taped::after { background: var(--s-tape); }
/* 60-warehouse.css */
.sheet.wh {
  --wh-copy: #c8c5d5;
  --wh-rule: #484455;
  --wh-accent: #fad596;
  padding-block: clamp(3.4rem, 6vw, 6.75rem) calc(clamp(4rem, 6vw, 7rem) + var(--r-sheet));
}
.wh-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
  align-items: end;
  gap: clamp(2rem, 6vw, 6rem);
  padding-bottom: clamp(1.75rem, 3.2vw, 3.25rem);
}
.wh-heading h2 {
  max-width: 11ch;
  font-size: clamp(3.55rem, 6.8vw, 7.1rem);
  line-height: .93;
  font-weight: 610;
  letter-spacing: -.066em;
  text-wrap: balance;
}
.wh-heading p, .wh-overview p, .wh-build p { color: var(--wh-copy); line-height: 1.55; }
.wh-heading p { max-width: 43ch; font-size: clamp(1.05rem, 1.45vw, 1.35rem); }
.wh-gallery {
  display: grid;
  grid-template-columns: minmax(0, 2.12fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 4.5rem);
  padding-block: clamp(1.5rem, 2.7vw, 2.75rem) clamp(1.75rem, 3.3vw, 3.5rem);
  border-block: 1px solid var(--wh-rule);
}
.wh-player {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #0d0c14;
}
.wh-player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.wh-play, .wh-launch { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 46px; font-size: 1rem; font-weight: 650; line-height: 1.2; border-radius: 999px; text-decoration: none; }
.wh-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: .75rem 1.1rem;
  color: #fff;
  background: rgba(17, 16, 24, .9);
  box-shadow: 0 0 0 1px #ffffff60;
}
.wh-play[hidden] { display: none; }
.wh-play:hover { background: #101017; }
.wh-play span { width: 0; height: 0; border-block: .34rem solid transparent; border-left: .55rem solid currentColor; }
.wh-walk figcaption { margin-top: .65rem; color: var(--wh-copy); font-size: .9rem; }
.wh-overview { align-self: center; }
.wh-overview img { display: block; width: 100%; height: auto; margin-bottom: .45rem; }
.wh-overview h3 { font-weight: 600; font-size: clamp(1.55rem, 2.25vw, 2.45rem); line-height: 1.1; letter-spacing: -.045em; }
.wh-overview p { margin-top: .55rem; max-width: 35ch; font-size: 1.0625rem; }
.wh-launch { margin-top: 1.2rem; color: #221a11; background: var(--wh-accent); padding: .72rem 1.05rem; }
.wh-launch:hover { background: #ffe6ba; }
.wh-launch span, .wh-build__link span { font-family: system-ui, sans-serif; }
.wh-build { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.38fr) auto; align-items: start; gap: clamp(1rem, 3.5vw, 4rem); padding-top: clamp(1.5rem, 2.7vw, 2.75rem); }
.wh-build h3 { font-size: 1.15rem; font-weight: 600; line-height: 1.5; letter-spacing: -.015em; }
.wh-build p { max-width: 62ch; font-size: 1rem; }
.wh-build__link { display: inline-flex; align-items: baseline; gap: .45rem; min-height: 44px; color: white; font-weight: 550; font-size: 1rem; text-decoration: underline; text-decoration-color: #8b8799; text-underline-offset: .32em; }
.wh-build__link:hover { text-decoration-color: white; }
@media (max-width: 860px) {
  .wh-heading { grid-template-columns: 1fr; gap: 1.15rem; }
  .wh-heading h2 { max-width: none; font-size: clamp(2.85rem, 9vw, 4.25rem); }
  .wh-heading p { max-width: 52ch; }
  .wh-gallery, .wh-build { grid-template-columns: minmax(0, 1fr); }
  .wh-overview { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.5rem; align-items: center; }
  .wh-overview img { margin: 0; }
  .wh-build { gap: .65rem; }
}
@media (max-width: 520px) {
  .wh-overview { grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 1rem; }
  .wh-overview h3 { font-size: 1.45rem; }
  .wh-overview p { font-size: 1rem; }
  .wh-launch { margin-top: .8rem; }
}
@media (max-width: 350px) {
  .wh-overview { grid-template-columns: 1fr; }
  .wh-overview img { max-width: 14rem; }
}
/* 70-contact.css */
.sheet.contact { padding-block: clamp(2rem, 5vw, 4rem); }
.contact__email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  font-size: clamp(1.75rem, 4.5vw, 3.5rem);
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -.035em;
  text-decoration: underline;
  text-decoration-thickness: .055em;
  text-underline-offset: .16em;
}
.foot { padding: 20px 0 max(22px, env(safe-area-inset-bottom)); }
.foot__wrap { display: grid; gap: 16px; }
.foot__line { max-width: 46ch; font-size: var(--step--1); line-height: 1.5; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(20px, 4vw, 44px); font-size: var(--step--1); }
.foot__base a { display: inline-flex; align-items: center; min-height: 44px; margin-inline: -6px; padding-inline: 6px; }
@media (min-width: 600px) {
  .foot__line { font-size: var(--step-0); line-height: 1.55; }
}
/* 80-case.css */
.case {
  --spring-solid: linear(0, .16, .5, .83, 1.06, 1.17, 1.18, 1.13, 1.07, 1.01, .98, .96, .97, .98, .99, 1, 1);
  --spring-taped: linear(0, .22, .66, 1.05, 1.26, 1.28, 1.18, 1.05, .95, .92, .93, .96, 1, 1.02, 1.02, 1.02, 1.01, 1, .99, .99, 1, 1);
  --spring-wire: linear(0, .27, .8, 1.22, 1.36, 1.27, 1.07, .92, .87, .9, .97, 1.03, 1.05, 1.04, 1.01, .99, .98, .99, 1, 1, 1.01, 1, 1);
  --wire-nodes: radial-gradient(circle 5px at 5px 5px, currentColor 96%, transparent), radial-gradient(circle 5px at calc(100% - 5px) 5px, currentColor 96%, transparent), radial-gradient(circle 5px at 5px calc(100% - 5px), currentColor 96%, transparent), radial-gradient(circle 5px at calc(100% - 5px) calc(100% - 5px), currentColor 96%, transparent);
  --case-gap: clamp(24px, 4.4vw, 72px);
}
html:has(> .case--taped) { background: #e9f0f1; }
html:has(> .case--wire) { background: var(--ink); }
.case .case-head { padding: calc(var(--nav-h) + clamp(20px, 3.9vw, 56px)) 0 calc(clamp(48px, 6.4vw, 96px) + var(--r-sheet)); }
.case .case-head + .sheet { margin-top: calc(var(--r-sheet) * -1); }
.case .case-head__title { margin-left: -0.035em; font-size: clamp(3.4rem, 9.6vw, 8.5rem); line-height: 0.88; }
.case .case-head__sum { max-width: 24ch; margin-top: clamp(12px, 1.5vw, 22px); }
.case .case-head__meta { display: grid; gap: 18px; margin-top: clamp(20px, 2.5vw, 36px); }
.case .case-head__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 560; }
.case .case-head__role { max-width: 46ch; margin-top: 8px; color: var(--fg-soft); }
.case .case-head__links { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.case .case-lead { margin-top: clamp(32px, 4.6vw, 68px); }
@media (min-width: 900px) { .case .case-head__text { max-width: 70%; } }
@media (min-width: 1100px) { .case .case-head__meta { grid-template-columns: auto auto; justify-content: start; align-items: center; column-gap: clamp(28px, 3.4vw, 52px); } }
.case .case-shots { display: flex; align-items: flex-start; gap: clamp(14px, 2.6vw, 40px); }
.case .case-shot { --dir: 1; position: relative; flex: var(--ar) 1 0%; min-width: 0; -webkit-tap-highlight-color: transparent; transition: transform var(--t, 200ms) var(--e, var(--ease-out)); }
.case .case-shot > img { display: block; width: 100%; height: auto; }
.case .case-fig figcaption { max-width: 62ch; margin-top: clamp(14px, 1.7vw, 24px); color: var(--fg-soft); text-wrap: pretty; }
.case .case-shot__open { position: absolute; inset: 0; z-index: 3; display: block; width: 100%; height: 100%; border-radius: inherit; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.case a.case-shot__open { cursor: pointer; }
.case .case-shot__open:focus-visible { outline-offset: 5px; border-radius: inherit; }
.case .case-shot__chip { position: absolute; right: clamp(8px, 1.2vw, 14px); bottom: clamp(8px, 1.2vw, 14px); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px rgba(21, 16, 43, 0.1), 0 8px 16px -8px rgba(21, 16, 43, 0.55); transition: transform var(--t-ui) var(--ease-out); }
:root:not(.js) .case button.case-shot__open { display: none; }
.case .case-shot__go { position: absolute; left: clamp(10px, 1.8vw, 22px); bottom: clamp(10px, 1.8vw, 22px); }
.case .case-shot--taped { rotate: -0.7deg; transform-origin: 16% 0; }
.case .case-shot--taped:nth-child(even) { --dir: -1; rotate: 1.1deg; transform-origin: 84% 0; }
.case .case-shot--taped:nth-child(3n) { rotate: -1.3deg; }
.case .case-shot--taped .case-shot__chip { right: auto; left: clamp(8px, 1.2vw, 14px); }
.case .case-shot--tall.frame--taped::before, .case .case-shot--tall.frame--taped::after { width: 58px; height: 20px; }
.case .case-shot--tall.frame--taped::before { left: 10px; }
.case .case-shot--tall.frame--taped::after { right: 12px; }
.case [data-ground="paper"] .frame--taped::before, .case [data-ground="paper"] .frame--taped::after { background: repeating-linear-gradient(90deg, rgba(255, 201, 60, 0.96) 0 8px, rgba(255, 201, 60, 0.74) 8px 16px); }
.case .case-shot--wire { color: var(--sky-deep); margin: 12px; border-radius: 3px; }
.case [data-ground="ink"] .case-shot--wire { color: var(--sky); }
.case .case-shot--wire > img { aspect-ratio: var(--ar); object-fit: cover; border-radius: 3px; }
.case .case-shot--wire::before { content: ""; position: absolute; inset: -12px; border: 2px solid currentColor; border-radius: 5px; pointer-events: none; }
.case .case-shot--wire::after { content: ""; position: absolute; inset: -16px; pointer-events: none; background: var(--wire-nodes); }
@supports (transition-timing-function: linear(0, 1)) {
  .motion .case .case-shot--solid { --t: 560ms; --e: var(--spring-solid); }
  .motion .case .case-shot--taped { --t: 1260ms; --e: var(--spring-taped); }
  .motion .case .case-shot--wire { --t: 1480ms; --e: var(--spring-wire); }
}
@media (hover: hover) and (pointer: fine) {
  .motion .case .case-shot--solid:hover { transform: translateY(-4px); }
  .motion .case .case-shot--taped:hover { transform: rotate(calc(var(--dir) * 0.55deg)); }
  .motion .case .case-shot--wire:hover { transform: skewX(0.6deg); }
  .case .case-shot:hover .case-shot__chip { transform: scale(1.1); }
}
.case .case-shot:has(.case-shot__open:active) { --t: 90ms; --e: var(--ease-out); transform: scale(0.985); }
.case .case-shot--taped:has(.case-shot__open:active) { transform: rotate(calc(var(--dir) * 0.9deg)) scale(0.985); }
.case .case-shot--wire:has(.case-shot__open:active) { transform: skewX(-1.1deg) scale(0.99); }
.case .case-perch { position: absolute; left: 50%; bottom: 100%; width: clamp(104px, 11.6vw, 172px); height: 1px; translate: -50% 0; pointer-events: none; }
.case .case-perch--end { left: 87%; bottom: calc(100% + 12px); }
@media (max-width: 899px) { .case .case-perch { display: none; } }
@media (max-width: 699px) {
  .case .case-fig { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 18px 16px; }
  .case .case-shots { display: contents; }
  .case .case-shot--wide { flex: 0 0 100%; }
  .case .case-shot--tall { flex: 1 1 0; }
  .case .case-fig figcaption { flex: 0 0 100%; margin-top: 0; }
  .case .case-fig--pair .case-shot--tall { flex: 0 0 44%; }
  .case .case-fig--pair figcaption { flex: 1 1 0; min-width: 0; align-self: center; }
  .case .case-shot__chip { width: 36px; height: 36px; }
  .case .case-shot--wire { flex-basis: calc(100% - 24px); margin-bottom: 86px; }
  .case .case-shot--wire .case-shot__go { left: -12px; bottom: auto; top: calc(100% + 28px); }
}
.case .case-body { padding-top: clamp(40px, 6vw, 92px); }
.case .case-sec { padding-block: clamp(22px, 2.8vw, 40px) clamp(60px, 9vw, 132px); border-top: 2px solid var(--ink); }
.case .case-sec:last-of-type { padding-bottom: clamp(52px, 7.4vw, 104px); }
.case .case-sec__row { display: grid; gap: clamp(18px, 2.6vw, 36px) var(--case-gap); }
.case .case-sec__row + .case-sec__row, .case .case-sec > .case-fig, .case .case-sec > .case-sys { margin-top: clamp(40px, 5.6vw, 80px); }
.case .case-sec__name { font-size: var(--step-2); line-height: 1; font-weight: 720; letter-spacing: -0.025em; font-stretch: 94%; }
.case .case-sec__main > p + p { margin-top: 1.05em; }
.case .case-sec__main > .body { max-width: 56ch; }
.case .case-sec__main > .lead { max-width: 39ch; }
.case .case-sec__main > .lead + p { margin-top: clamp(20px, 2.2vw, 32px); }
.case .case-sec__main > .statement { max-width: 22ch; }
@media (min-width: 900px) {
  .case .case-sec__row { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .case .case-sec__name { position: sticky; top: calc(var(--nav-h) + 18px); align-self: start; }
  .case .case-sec__main { grid-column: 2; }
}
.case .case-sys { --slab: 88px; display: grid; gap: clamp(26px, 3.4vw, 44px); }
.case .case-sys figcaption { max-width: 62ch; color: var(--fg-soft); text-wrap: pretty; }
.case .case-lane__label { margin-bottom: 16px; font-size: var(--step--1); font-weight: 680; line-height: 1.2; }
.case .case-flow { display: flex; flex-direction: column; gap: 36px; }
.case .case-node { position: relative; display: grid; align-content: center; gap: 6px; min-height: var(--slab); padding: 16px 20px; border: 2px solid transparent; }
.case .case-node strong { font-size: var(--step-3); font-weight: 720; line-height: 1.06; letter-spacing: -0.02em; font-stretch: 94%; }
.case .case-node span { font-size: var(--step--1); line-height: 1.3; }
.case .case-flow--flow > .case-node + .case-node::before { content: ""; position: absolute; left: 30px; bottom: calc(100% + 8px); width: 16px; height: 24px; background: var(--arrow, var(--ink)); clip-path: polygon(38% 0, 62% 0, 62% 58%, 100% 58%, 50% 100%, 0 58%, 38% 58%); }
.case .case-node--solid { border-radius: 22px; background: var(--violet); color: #fff; box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.3), inset 0 -7px 0 rgba(21, 16, 43, 0.24), 0 16px 22px -14px rgba(21, 16, 43, 0.6); }
.case .case-node--taped { border-radius: 4px; background: var(--sun); color: var(--ink); box-shadow: 0 12px 18px -12px rgba(21, 16, 43, 0.5); rotate: -1.1deg; }
.case .case-node--taped:nth-child(even) { rotate: 0.9deg; }
.case .case-node--taped::after { content: ""; position: absolute; top: -11px; left: 50%; width: 60px; height: 20px; translate: -50% 0; rotate: -5deg; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 6px, rgba(255, 255, 255, 0.7) 6px 12px); box-shadow: 0 2px 4px rgba(21, 16, 43, 0.2); }
.case .case-node--wire { border-color: var(--sky-deep); border-radius: 4px; color: var(--ink); }
.case .case-node--wire::after { content: ""; position: absolute; inset: -4px; color: var(--sky-deep); pointer-events: none; background: var(--wire-nodes); }
.case .case-sys--wire { --arrow: var(--sky-deep); }
.case .case-node--dotted { border: 2px dotted var(--ink-soft); border-radius: var(--r-chip); color: var(--ink-soft); }
.case .case-flow--stack { gap: 6px; }
.case .case-flow--set { flex-flow: row wrap; gap: 12px 14px; }
.case .case-flow--set .case-node, .case .case-beyond .case-node { min-height: 0; padding: 11px 15px; }
.case .case-flow--set .case-node strong, .case .case-beyond .case-node strong { font-size: 1.06rem; font-weight: 700; letter-spacing: -0.012em; }
.case .case-flow--set .case-node { max-width: 44ch; }
.case .case-wall { display: grid; gap: 10px; font-weight: 700; line-height: 1.2; }
.case .case-wall::before { content: ""; height: 12px; border: 2px solid transparent; border-radius: 6px; background: var(--stop); }
.case .case-beyond ul { display: flex; flex-flow: row wrap; gap: 10px; }
@media (min-width: 900px) {
  .case .case-sys--side { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); column-gap: clamp(28px, 3.4vw, 52px); align-items: start; }
  .case .case-sys--side .case-lane--set { padding-top: calc(var(--slab) + 6px); }
  .case .case-sys--side figcaption { grid-column: 1 / -1; }
}
@media (min-width: 1100px) {
  .case .case-flow--flow { flex-direction: row; align-items: stretch; gap: 52px; }
  .case .case-flow--flow > .case-node { flex: 1 1 0; max-width: 340px; min-height: 124px; }
  .case .case-flow--flow > .case-node + .case-node::before { left: auto; right: calc(100% + 10px); bottom: auto; top: 50%; width: 32px; height: 16px; translate: 0 -50%; clip-path: polygon(0 38%, 58% 38%, 58% 0, 100% 50%, 58% 100%, 58% 62%, 0 62%); }
  .case .case-wall { position: relative; flex: 0 0 12px; align-self: stretch; margin-block: -20px; margin-inline: -14px; }
  .case .case-wall::before { position: absolute; inset: 0; height: auto; }
  .case .case-wall span { position: absolute; left: 50%; bottom: calc(100% + 10px); translate: -50% 0; white-space: nowrap; }
  .case .case-beyond { flex: 0.62 1 0; align-self: center; }
  .case .case-beyond ul { flex-direction: column; }
  .case .case-sys:has(.case-wall) .case-lane__label { margin-bottom: 44px; }
}
.case .case-stops { margin-top: clamp(26px, 3.2vw, 44px); border-top: 1px solid var(--line); }
.case .case-stops > li { padding-block: clamp(18px, 2.2vw, 26px); border-bottom: 1px solid var(--line); }
.case .case-note { max-width: 58ch; margin-top: clamp(20px, 2.4vw, 30px); }
.case .case-links { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: clamp(24px, 3vw, 40px); }
.case .case-onward { margin-top: clamp(8px, 2vw, 32px); }
.case .case-onward__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 10px; }
.case .case-onward__label { font-weight: 680; }
.case .case-onward__head .link { display: inline-flex; align-items: center; min-height: 44px; }
.case .case-next { display: grid; row-gap: clamp(6px, 1vw, 12px); align-items: baseline; padding: clamp(18px, 2.4vw, 30px) 0; border-block: 1px solid var(--line); color: var(--fg); text-decoration: none; -webkit-tap-highlight-color: transparent; }
.case .case-next__name { justify-self: start; font-size: var(--step-1); line-height: 1; font-weight: 800; font-stretch: 92%; letter-spacing: -0.022em; padding-bottom: 0.04em; }
.case .case-next__what { max-width: 40ch; color: var(--fg-soft); }
.case .case-next__what strong { color: var(--fg); font-weight: 680; }
@media (min-width: 900px) {
  .case .case-next { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); column-gap: 40px; }
  .case .case-next__what { justify-self: end; text-align: right; }
}
@media (hover: hover) and (pointer: fine) {
  .case .case-next__name { transition: transform 420ms var(--ease-out); }
  .case .case-next:hover .case-next__name { transform: translateX(10px); }
}
.case .case-ask { padding: clamp(64px, 9vw, 128px) 0 clamp(28px, 4vw, 44px); }
.case .case-ask__wrap { display: grid; gap: clamp(22px, 3vw, 40px); }
.case .case-ask .statement { max-width: 20ch; }
@media (min-width: 900px) { .case .case-ask__wrap { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }
@keyframes case-rise { from { opacity: 0; translate: 0 18px; } }
.motion .case .case-head__text > * { animation: case-rise 620ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 55ms + 40ms); }
.motion .case .case-head .case-shot { animation: case-rise 620ms var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 70ms + 80ms); }
.motion .case .case-head figcaption { animation: case-rise 620ms var(--ease-out) backwards; animation-delay: 260ms; }
@media print {
  .case .case-shot__chip, .case .case-shot__go, .case .case-onward, .case .case-ask { display: none; }
  .case .case-head { padding-top: 0; }
  .case .case-sec__name { position: static; }
}
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
/* 85-gallery.css */
html.gallery-open { overflow: hidden; padding-right: var(--gallery-scrollbar, 0px); }
html.gallery-open .nav { right: var(--gallery-scrollbar, 0px); }
.gallery-dialog { --focus: var(--sky); --g-soft: rgba(255, 255, 255, 0.8); --g-line: rgba(255, 255, 255, 0.46); --g-fill: rgba(255, 255, 255, 0.1); position: fixed; inset: 0; box-sizing: border-box; width: auto; height: auto; max-width: none; max-height: none; margin: clamp(12px, 2vw, 28px); padding: 0; border: 0; border-radius: var(--r-frame); background: var(--ink); color: #fff; font-family: var(--font); font-size: var(--step-0); line-height: 1.5; overflow: hidden; overscroll-behavior: contain; }
.gallery-dialog::backdrop { background: rgba(21, 16, 43, 0.82); }
.gallery-dialog *, .gallery-dialog *::before, .gallery-dialog *::after { box-sizing: border-box; }
.gallery-dialog [hidden] { display: none !important; }
.gallery-surface { display: grid; grid-template-rows: auto minmax(180px, 1fr) auto; height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.gallery-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px clamp(16px, 2vw, 26px); }
.gallery-title { margin: 0; font-size: var(--step-3); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.gallery-close, .gallery-control { display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none; min-width: 48px; min-height: 48px; margin: 0; padding: 0 18px; border: 1.5px solid var(--g-line); border-radius: var(--r-pill); background: var(--g-fill); color: #fff; font: inherit; font-size: 0.95rem; font-weight: 650; line-height: 1; white-space: nowrap; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform var(--t-press) var(--ease-out), background-color var(--t-ui) ease; }
.gallery-close { padding: 0 16px 0 20px; border-color: #fff; background: #fff; color: var(--ink); font-weight: 680; }
.gallery-round { padding: 0; }
.gallery-close svg, .gallery-control svg { flex: none; }
.gallery-close:active, .gallery-control:active:not(:disabled) { transform: scale(0.95); }
.gallery-control:disabled { opacity: 0.4; cursor: default; }
.gallery-mode { display: inline-flex; gap: 2px; padding: 2px; border: 1.5px solid var(--g-line); border-radius: var(--r-pill); background: var(--g-fill); }
.gallery-mode .gallery-control { min-height: 44px; padding: 0 16px; border-color: transparent; background: transparent; }
.gallery-mode .gallery-control[aria-pressed="true"] { border-color: #fff; background: #fff; color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .gallery-control:hover:not(:disabled):not([aria-pressed="true"]) { background: rgba(255, 255, 255, 0.2); }
  .gallery-close:hover { background: var(--lilac); }
}
.gallery-viewport { min-width: 0; min-height: 0; background: var(--ink-2); overflow: auto; overscroll-behavior: contain; scrollbar-color: rgba(255, 255, 255, 0.5) transparent; }
.gallery-dialog .gallery-viewport:focus-visible { outline-offset: -3px; border-radius: 0; }
.gallery-canvas { display: flex; width: max-content; min-width: 100%; min-height: 100%; padding: clamp(10px, 2vw, 28px); }
.gallery-image { display: block; flex: none; max-width: none; max-height: none; height: auto; margin: auto; border-radius: 6px; background: #fff; }
.gallery-message { max-width: 40ch; margin: auto; padding: 24px; color: var(--g-soft); text-align: center; }
.gallery-footer { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "caption caption caption" "toolbar original navigation"; align-items: center; gap: 10px 22px; padding: 14px 14px 14px clamp(16px, 2vw, 26px); }
.gallery-caption { grid-area: caption; max-width: 76ch; margin: 0; color: var(--g-soft); font-size: 0.95rem; line-height: 1.42; text-wrap: pretty; }
.gallery-toolbar { grid-area: toolbar; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.gallery-zoom-group, .gallery-navigation { display: inline-flex; align-items: center; gap: 4px; }
.gallery-original { grid-area: original; justify-self: end; display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-size: 0.95rem; font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.2em; text-decoration-color: var(--g-line); }
.gallery-navigation { grid-area: navigation; }
.gallery-zoom-value, .gallery-count { color: var(--g-soft); font-size: 0.95rem; font-weight: 560; font-variant-numeric: tabular-nums; text-align: center; white-space: nowrap; }
.gallery-zoom-value { min-width: 3.6em; }
.gallery-count { min-width: 4.2em; }
.gallery-sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (hover: hover) and (pointer: fine) { .gallery-original:hover { text-decoration-color: currentColor; } }
@media (max-width: 719px) {
  .gallery-dialog { margin: 0; border-radius: 0; }
  .gallery-header { padding: max(10px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
  .gallery-title { font-size: 1.12rem; }
  .gallery-footer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "caption caption" "toolbar toolbar" "original navigation"; gap: 8px 12px; padding: 12px max(10px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); }
  .gallery-toolbar { justify-content: space-between; }
  .gallery-mode .gallery-control { padding-inline: 13px; font-size: 0.9rem; }
  .gallery-zoom-value { min-width: 3.1em; font-size: 0.9rem; }
  .gallery-original { justify-self: start; }
}
@media (max-height: 520px) {
  .gallery-header { padding-block: 6px; }
  .gallery-footer { gap: 4px 12px; padding-block: 6px; }
  .gallery-surface { grid-template-rows: auto minmax(140px, 1fr) auto; }
}
.motion .gallery-dialog[open] { opacity: 1; transform: none; transition: opacity 180ms var(--ease-out), transform 240ms var(--ease-out); }
.motion .gallery-dialog[open]::backdrop { opacity: 1; transition: opacity 180ms ease; }
@starting-style {
  .motion .gallery-dialog[open] { opacity: 0; transform: translateY(10px) scale(0.99); }
  .motion .gallery-dialog[open]::backdrop { opacity: 0; }
}
@media print { .gallery-dialog, .gallery-dialog::backdrop { display: none !important; } }
/* 90-pages.css */
.page-404 { background: var(--violet); }
.page-404 .lost { position: relative; min-height: 100svh; display: grid; align-items: end; padding: calc(var(--nav-h) + var(--s-7)) var(--gutter) calc(clamp(76px, 10svh, 104px) + clamp(28px, 5svh, 56px)); }
.page-404 .lost::before { content: ""; position: absolute; inset: calc(var(--nav-h) + var(--s-2)) max(8px, calc(var(--gutter) - 14px)) clamp(76px, 10svh, 104px); border: 3px dotted rgba(255, 255, 255, 0.55); border-radius: var(--r-sheet); pointer-events: none; }
.page-404 .lost__in { position: relative; display: grid; justify-items: start; gap: clamp(16px, 2.4svh, 28px); padding-inline: clamp(12px, 3vw, 48px); }
.page-404 .lost__in .lead { color: var(--fg-soft); }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.motion .page-404 .lost__in > * { animation: rise-in 640ms var(--ease-out) backwards; }
.motion .page-404 .lost__in > :nth-child(2) { animation-delay: 70ms; }
.motion .page-404 .lost__in > :nth-child(3) { animation-delay: 140ms; }
