

:root {
  --black: #000000; --blue: #9AB9FF; --coral: #FF4F6A; --cream: #F2EADF; --charcoal: #141210; --ink: #1C1714;
  --m: clamp(16px, 3.9vw, 56px);          
  --col: calc((100vw - 2 * var(--m)) / 12);
  --bar: 64px;
  --row: 33.333vh;                        
  --ox: 10px; --oy: 8px;                  
  --tape-h: 48px;   
  --display: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --serif: "Fraunces", Georgia, serif;
  
  --tile-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%239AB9FF'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%23000'/%3E%3C/svg%3E");
  --tile-night-coral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%23FF4F6A' stroke-opacity='.26'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%23FF4F6A'/%3E%3C/svg%3E");
  --tile-onink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%23000' stroke-opacity='.2'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%23000'/%3E%3C/svg%3E");
  --tile-char: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%23F2EADF' stroke-opacity='.13'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%23F2EADF' stroke-opacity='.7'/%3E%3C/svg%3E");
  --tile-coral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cpath d='M8.5 0V4000M0 8.5H4000' stroke='%23FF4F6A' stroke-opacity='.3'/%3E%3Cpath d='M8.5 2v13M2 8.5h13' stroke='%23FF4F6A'/%3E%3C/svg%3E");
}
@media (max-width: 760px) { :root { --col: calc((100vw - 2 * var(--m)) / 4); --bar: 56px; --ox: 6px; --oy: 5px; --tape-h: 40px; } }

[data-sheet="hero"]    { --bg: var(--cream); --fg: var(--black); --rule: var(--black); --hair: var(--black); --tile: var(--tile-paper); --a: var(--blue); --b: var(--coral); --tail: var(--black); --sel-bg: var(--coral); --sel-fg: var(--black); }

[data-sheet="work"]    { --bg: var(--charcoal); --fg: var(--cream); --rule: var(--cream); --hair: rgba(242, 234, 223, .3); --tile: var(--tile-char); --a: var(--blue); --b: var(--coral); --sel-bg: var(--coral); --sel-fg: var(--black); }

[data-sheet="about"]   { --bg: var(--blue); --fg: var(--ink); --rule: var(--ink); --hair: var(--ink); --tile: var(--tile-onink); --a: var(--ink); --b: var(--coral); --cutink: var(--ink); --sel-bg: var(--ink); --sel-fg: var(--blue); }

[data-sheet="contact"] { --bg: var(--black); --fg: var(--coral); --rule: var(--coral); --hair: color-mix(in srgb, var(--coral) 50%, transparent); --tile: var(--tile-coral); --a: var(--coral); --b: var(--blue); --mail: var(--cream); --sel-bg: var(--cream); --sel-fg: var(--black); }

[data-mode="dark"][data-sheet="hero"], [data-mode="dark"] [data-sheet="hero"]       { --bg: var(--black); --fg: var(--cream); --rule: var(--coral); --hair: color-mix(in srgb, var(--coral) 40%, transparent); --tile: var(--tile-night-coral); --tail: var(--blue); }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: var(--bar); }
body { margin: 0; font-family: var(--display); font-variation-settings: "opsz" 14; color: var(--fg); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p, h1, h2, ol { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
ol { list-style: none; }
img, svg { display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--sel-bg, var(--coral)); color: var(--sel-fg, #000); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
[data-sheet="contact"] :focus-visible { outline-color: var(--mail); }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.display { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; }
.mono { font-family: var(--mono); font-weight: 500; font-variation-settings: normal; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; line-height: 16px; }
.mono b { font-weight: 500; font-variant-numeric: tabular-nums; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-stretch: 100%; font-variation-settings: "opsz" 48, "SOFT" 60, "WONK" 1; text-transform: none; letter-spacing: 0; }

main > section, .about-hold > section { position: relative; z-index: 1; background: var(--bg); color: var(--fg); }   
.sheet { position: relative; isolation: isolate; }

.sheet::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(var(--m) - 9px); right: calc(var(--m) - 9px); padding: 0 9px;
  background-image: var(--tile); background-origin: content-box; background-position: -8.5px calc(var(--row) - 8.5px); background-size: 25% var(--row);
  pointer-events: none;
}
@media (max-width: 760px) { .sheet::before { background-size: 50% var(--row); } }

.hero.sheet::before, .contact.sheet::before, .work__pin.sheet::before { opacity: .65; }
.about.sheet::before { opacity: .45; }   

.reg { width: 18px; height: 18px; color: var(--rule); flex: none; }
.ruler { display: block; height: 14px; color: var(--rule);
  background: linear-gradient(to right, currentColor 1px, transparent 1px) left bottom / 8px 7px repeat-x, linear-gradient(to right, currentColor 1px, transparent 1px) left bottom / 40px 14px repeat-x; }
@keyframes turn { to { transform: rotate(360deg); } }
@keyframes turn-back { to { transform: rotate(-360deg); } }

.bar { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: var(--bar); padding: 0 var(--m); display: flex; align-items: center; background: var(--bg); color: var(--fg); border-bottom: 1px solid var(--hair); transition: background-color .2s, color .2s, border-color .2s; }
.bar__who { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.bar__mark { width: 26px; height: 26px; fill: currentColor; animation: turn 40s linear infinite; }
.bar__name { font-size: 26px; line-height: 1; white-space: nowrap; }
.bar__nav { display: flex; gap: clamp(14px, 2.6vw, 40px); font-size: 16px; }
.bar__nav a { padding: 6px 0; transition: color .15s; }

.bar__nav a:hover, .bar__nav a.is-here { color: var(--b); }
[data-sheet="about"] .bar__nav a:hover, [data-sheet="about"] .bar__nav a.is-here { color: var(--cream); }

.bar__mode { margin-left: clamp(12px, 2.6vw, 40px); width: 28px; height: 28px; display: none; place-items: center; }
.bar__mode svg { width: 24px; height: 24px; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); }
.bar__mode circle { fill: none; stroke: currentColor; stroke-width: 1.5; }
.bar__mode path { fill: currentColor; }
[data-mode="dark"] .bar__mode svg { transform: rotate(180deg); }
.bar__mode:hover svg { transform: rotate(30deg); }
[data-mode="dark"] .bar__mode:hover svg { transform: rotate(210deg); }

.hero { height: 100vh; height: 100svh; padding: var(--bar) var(--m) 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; --fs: min(9.8vw, 16.6vh); z-index: 0; }
@media (prefers-reduced-motion: no-preference) {
  .hero { position: sticky; top: 0; }
}
.hero::after { content: ""; position: absolute; left: 0; top: var(--bar); bottom: 0; width: 8px; opacity: .55; background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 10px); }   

.work { position: relative; }
.work::after, .about::after, .contact::after { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 8px; opacity: .55; background: repeating-linear-gradient(to bottom, var(--rule) 0 1px, transparent 1px 10px); pointer-events: none; }

.sec__reg { position: absolute; z-index: 2; right: calc((var(--m) - 18px) / 2); top: calc(var(--bar) + 5px); }
.work__pin > .sec__reg { top: 5px; }   
.hero__draw { position: absolute; z-index: -1; right: calc(var(--m) + var(--col) * 3); top: calc(var(--bar) + (100vh - var(--bar)) * .46); width: 0; height: 0; }   
.hero__draw svg { position: absolute; left: 0; top: 0; width: min(50vw, 84vh); aspect-ratio: 1; transform: translate(-50%, -50%); overflow: visible; }   
.hero__statement { font-size: var(--fs); }
.hero__line { display: block; color: var(--a); text-shadow: calc(var(--ox) * .5) calc(var(--oy) * .5) 0 var(--b); }   
.hero__tail { display: block; font-size: max(34px, calc(var(--fs) * .5)); line-height: 1.1; margin-top: .2em; color: var(--tail); }
.hero__foot { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; height: 76px; margin-top: 20px; font-size: 14px; }
.xy { grid-column: 7 / span 3; padding-left: 12px; }
.clock { grid-column: 10 / span 3; justify-self: end; }

.xy, .clock { position: relative; top: -30px; color: var(--blue); font-size: 11px; line-height: 14px; }   

@media (min-width: 761px) {
  .hero { padding-top: calc(var(--bar) + 248px); padding-bottom: calc(var(--tape-h) + 48px); }   
  .hero { --sw: min(50vw, 84vh, calc(100vh - var(--bar) - var(--tape-h) - 52px));
    --sy: min(calc(var(--bar) + (100vh - var(--bar)) * .46), calc(100vh - var(--tape-h) - 36px - var(--sw) / 2)); --sx: calc(var(--m) + var(--col) * 3); }
  .hero__statement { margin: auto 0; }
  .hero__foot { height: 0; margin: 0; }
  .hero__draw { top: var(--sy); }
  .hero__draw svg { width: var(--sw); }
  .xy, .clock { position: absolute; padding: 0; top: calc(var(--sy) + var(--sw) * 294 / 600 - 11px); }
  .xy { left: auto; right: auto; left: calc(100% - var(--sx) - var(--sw) * 276 / 600 + 56px); }
  .clock { right: calc(var(--sx) - var(--sw) * 276 / 600 + 14px); }
}
@media (hover: none) { .xy { visibility: hidden; } }

.sun__draft { color: var(--rule); fill: none; stroke: currentColor; stroke-width: 1; }
.sun__draft text { fill: currentColor; stroke: none; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; text-anchor: middle; }
.sun__a { color: var(--blue); }
.sun__b { color: var(--coral); }
.sun__deg { fill: var(--blue); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; }

.sun__bar, .sun__deg { opacity: .4; }
.sun__dot { fill: var(--coral); stroke: var(--bg); stroke-width: 2; }
.sun .spin, .sun__orbit { transform-box: view-box; transform-origin: 300px 300px; }
.sun .spin { animation: turn 160s linear infinite; }
.sun .spin--back { animation: turn-back 90s linear infinite; }
.sun__orbit { animation: turn 48s linear infinite; }

.work__pin { padding: 96px var(--m) 140px; }
.projs { display: grid; grid-template-columns: 1fr 1fr; row-gap: 96px; }
.proj:nth-child(odd) { padding-right: 12px; }
.proj:nth-child(even) { padding-left: 12px; }
.proj__link { display: block; }
.proj__box { display: block; background: var(--coral); }
.proj__plate { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--black); transition: transform .18s ease-out; container-type: inline-size; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--blue) 40%, transparent); }   
.proj__plate > img { position: absolute; inset: 0; margin: auto; width: auto; height: 58%; max-width: 80%; object-fit: contain; }
.proj--milky-way .proj__plate > img { height: 70%; }
.proj--ngram .proj__plate > img { height: 118%; max-width: none; left: 50%; right: auto; transform: translateX(-50%); }   
.proj--social .proj__plate > img { height: auto; width: 52%; }
@media (hover: hover) { .proj__link:hover .proj__plate, .proj__link:focus-visible .proj__plate { transform: translate(calc(var(--ox) * -1), calc(var(--oy) * -1)); } }   

.proj__cover { position: absolute; inset: 0; overflow: hidden; background: var(--black); opacity: 0; transition: opacity .3s ease-out; pointer-events: none; --pw: 22cqw; --gap: calc(var(--pw) * .16); }
.proj__tilt { position: absolute; left: 50%; top: 50%; display: flex; align-items: flex-start; gap: var(--gap); width: max-content; transform: translate(-50%, -50%) rotate(28deg); }
.proj__col { display: flex; flex-direction: column; gap: var(--gap); }
.proj__col:nth-child(even) { transform: translateY(calc((var(--pw) * 2.237 + var(--gap)) * -.5)); }
.proj__phone { display: block; width: var(--pw); padding: calc(var(--pw) * .032); border-radius: calc(var(--pw) * .15); background: #050505; box-shadow: 0 0 0 1px color-mix(in srgb, var(--blue) 45%, transparent), var(--ox) var(--oy) 0 #4A4744; }
.proj__phone img { display: block; width: 100%; height: auto; aspect-ratio: 900 / 1956; object-fit: cover; object-position: top; border-radius: calc(var(--pw) * .12); background: #FAF8F5; }

.proj--social .proj__cover { --pw: 11cqw; }
.proj--social .proj__phone { box-shadow: none; }
.proj--social .proj__phone img { background: #0F0D0C; }

.proj__map { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .proj__box:hover .proj__cover { opacity: 1; } }
.proj__row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule); }
.proj__name { font-size: clamp(34px, 3.4vw, 48px); line-height: .92; }
.proj__sum { display: block; margin-top: 12px; padding-left: 0; max-width: 30em; font-size: 18px; line-height: 26px; font-weight: 400; }
.proj__go { display: none; }

.pin .work { --pinh: calc(100vh - var(--bar)); --step: 60vh; height: calc(var(--pinh) + 5 * var(--step)); }
.pin .work__pin { position: sticky; top: var(--bar); height: var(--pinh); overflow: hidden; padding: 0 var(--m) 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.pin .work__pin[style*="--list-top"] { justify-content: flex-start; padding-top: var(--list-top); }   
.pin .work__pin:not([style*="--list-top"]) { justify-content: center; padding-top: 28px; }   
.pin .projs { display: flex; flex-direction: column; gap: 8px; width: calc(var(--col) * 5 - 28px); }
.pin .proj:nth-child(n) { padding: 0 22px; background: var(--black); }   
.pin .proj__row { cursor: pointer; flex-direction: row; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: min(12px, 1.4vh) 0; border-top: 0; opacity: .4; transition: opacity .2s; }
.pin .proj.is-on .proj__row, .pin .proj__link:hover .proj__row, .pin .proj__link:focus-visible .proj__row { opacity: 1; }
.pin .proj__name { font-size: clamp(26px, 2.2vw, 36px); line-height: 1; white-space: nowrap; transition: font-size .35s cubic-bezier(.2, .7, .2, 1); }   
.work__pin.measuring .proj__name { transition: none !important; }
.pin .proj__link:focus-visible { outline: none; }
.pin .proj__link:focus-visible .proj__row { outline: 2px solid var(--coral); outline-offset: -2px; }
.pin .proj__sum { display: none; width: calc(var(--col) * 4); max-width: none; margin: 2px 0 min(18px, 2vh); padding: 0; font-size: 20px; line-height: 28px; text-wrap: pretty; opacity: 0; transition: opacity .25s; pointer-events: none; }

.pin .proj.is-on .proj__link { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; padding: min(14px, 1.6vh) 0; }
.pin .proj.is-on .proj__row { display: contents; }
.pin .proj.is-on .proj__name { font-size: clamp(48px, min(5.6vw, 9.5vh), 96px); line-height: .9; white-space: normal; text-wrap: balance; color: var(--b); flex-basis: 100%; }
.pin .proj.is-on .proj__sum { display: block; order: 2; margin: 10px 0 0; opacity: 1; flex-basis: 100%; }

.pin .proj.is-on .proj__go { display: inline-flex; order: 4; margin: 22px 0 0; padding: 9px 16px 8px; background: var(--coral); color: #000; font-size: 14px; line-height: 16px; transition: background-color .15s; }
.pin .proj.is-on .proj__go:hover { background: var(--cream); }
.pin .proj__box { position: absolute; top: 0; right: 0; bottom: 0; left: calc(var(--m) + var(--col) * 5); background: none; pointer-events: none; }
.pin .work__pin::after { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--m) + var(--col) * 5); width: var(--ox); background: var(--coral); }   
.pin .proj__plate { position: absolute; inset: 0 0 0 var(--ox); aspect-ratio: auto; transform: none !important; box-shadow: none; clip-path: inset(100% 0 0 0); }
.pin .proj.was-on .proj__plate { clip-path: inset(0); }
.pin .proj.is-on .proj__box { z-index: 2; pointer-events: auto; }
.pin .proj.was-on .proj__box { z-index: 1; }
.pin .proj.is-on .proj__plate { clip-path: inset(0); transition: clip-path .52s cubic-bezier(.2, .7, .2, 1); }
.pin .proj__plate > img { height: 50%; max-width: 72%; }
.pin .proj--milky-way .proj__plate > img { height: 62%; }
.pin .proj--ngram .proj__plate > img { height: 86%; max-width: none; }
.pin .proj--social .proj__plate > img { height: auto; width: 56%; }

.about { padding: calc(var(--bar) + 16px) 0 80px; overflow: hidden; }

.about-hold { position: relative; z-index: 1; background: var(--bg); }   
.about-hold::after { content: ""; display: block; height: 150vh; height: 150svh; }
.about-hold > .about { position: sticky; top: min(0px, calc(100vh - var(--ah, 100vh))); }   

.about__bits { position: relative; display: flex; align-items: flex-end; height: 24px; margin: 0 0 28px; }
.about__bits .ruler { flex: 1; }
.about__pull { padding: 0 var(--m); font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96; text-transform: uppercase; font-size: 64px; line-height: 60px; letter-spacing: -.005em; text-wrap: pretty; }
.about__pull .serif { font: inherit; font-variation-settings: inherit; text-transform: inherit; letter-spacing: inherit; }
.cut { display: block; width: 100%; -webkit-tap-highlight-color: transparent; }
.cut__art { display: block; width: 100%; height: auto; overflow: visible; }
.cut__art:not([viewBox]) { height: 0; }   
.cut__thin, .cut__thick { fill: none; stroke: var(--cutink); stroke-linecap: butt; }
.cut__thin { opacity: .3; }
.cut__type { font-family: var(--display); font-weight: 800; font-stretch: 75%; font-variation-settings: "opsz" 96; }
.about__text { margin-top: 72px; padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); font-size: 20px; line-height: 30px; font-weight: 500; }
.about__text p { grid-column: 7 / 13; padding-left: 12px; }

@media (min-width: 761px) {
  .about { min-height: 100vh; min-height: 100svh; padding-bottom: 56px; }
  .about__bits { margin-bottom: 20px; }
  .about__text { margin-top: 40px; }
}

.contact { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: 1fr auto auto 1fr; padding: calc(var(--bar) + 56px) var(--m) 56px; --cell: 1.5px solid var(--rule); }
.contact > * { grid-row: 2; }
.contact__mark { position: relative; display: block; width: min(120px, 8vw); height: min(120px, 8vw); flex: none; }
.contact__mark svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1); transform: rotate(var(--click, 0deg)); }
.contact__plate--a { fill: var(--a); }
.contact__plate--b { fill: var(--b); left: 8px !important; top: 6px !important; }
.contact__top { grid-column: 11 / 13; display: grid; place-items: center; border: var(--cell); border-bottom: 0; }
.contact__line { grid-column: 1 / 11; padding: 64px 52px 72px; border-top: var(--cell); border-left: var(--cell); font-size: clamp(46px, 5.4vw, 84px); line-height: .92; text-wrap: balance; }
.contact__to { grid-column: 1 / 11; grid-row: 3; padding: 38px 52px 42px; border: var(--cell); border-right: 0; color: var(--mail); }
.contact__mail { font-size: clamp(22px, 2.2vw, 34px); line-height: 1.2; text-transform: none; letter-spacing: 0; border-bottom: 2px solid currentColor; padding-bottom: 3px; transition: border-width .12s; }
.contact__mail:hover { border-bottom-width: 5px; }
.contact__ask { display: block; margin-bottom: 14px; font-size: clamp(30px, 2.8vw, 44px); line-height: 1.05; color: var(--b); text-transform: lowercase; }   
.contact__time { grid-column: 11 / 13; grid-row: 3; display: flex; align-items: center; justify-content: center; gap: .6em; border: var(--cell); font-size: 15px; color: var(--b); }

.cols { position: fixed; inset: 0; z-index: 60; pointer-events: none; padding: 0 var(--m); display: none; grid-template-columns: repeat(12, 1fr); }
.show-grid .cols { display: grid; }
.cols i:nth-child(odd) { background: color-mix(in srgb, var(--coral) 16%, transparent); }
.cols i:nth-child(even) { background: color-mix(in srgb, var(--coral) 7%, transparent); }
.opts { position: fixed; z-index: 70; right: 16px; bottom: 84px; font-family: var(--mono); font-size: 12px; line-height: 16px; letter-spacing: .04em; text-transform: uppercase; color: #F2EADF; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.opts__head { background: #141210; color: #F2EADF; border: 1px solid rgba(242, 234, 223, .5); border-radius: 999px; padding: 8px 14px; }
.opts__body { background: #141210; border: 1px solid rgba(242, 234, 223, .5); border-radius: 12px; padding: 14px; display: grid; gap: 12px; min-width: 214px; }
.opts.is-shut .opts__body { display: none; }
.opts__label { opacity: .65; margin-bottom: 6px; }
.opts__set { display: flex; flex-wrap: wrap; gap: 6px; }
.opts__opt { flex: 1; border: 1px solid rgba(242, 234, 223, .4); border-radius: 999px; padding: 6px 10px; text-transform: uppercase; }
.opts__opt[aria-pressed="true"] { background: #8CCBFF; border-color: #8CCBFF; color: #000; }
.opts :focus-visible { outline: 2px solid #8CCBFF; outline-offset: 2px; }

@media (max-width: 1100px) {
  .proj__sum { font-size: 17px; line-height: 25px; }
  .about__text p { grid-column: 5 / 13; }
}

@media (max-width: 760px) {
  .bar__mark { width: 20px; height: 20px; }
  .bar__who { gap: 7px; }
  .bar__name { font-size: 20px; }
  .bar__nav { font-size: 12px; line-height: 14px; gap: 11px; }
  .bar__mode { margin-left: 10px; width: 24px; height: 24px; }
  .bar__mode svg { width: 20px; height: 20px; }
  .hero { --fs: min(18.6vw, 11.6vh); }
  .hero::after, .work::after, .about::after, .contact::after { width: 5px; }
  .sec__reg { display: none; }
  .hero__draw { right: calc(var(--m) + var(--col) * 2); top: calc(var(--bar) + 27vh); }
  .hero__draw svg { width: min(86vw, 45vh); }
  .sun__draft text { font-size: 13px; }
  .sun__deg { font-size: 15px; }
  .sun__draft { stroke-width: 1.8; }
  .hero__statement { text-align: center; }   
  .hero__tail { font-size: 42px; }
  .hero__foot { grid-template-columns: 1fr auto; height: 64px; margin-top: 10px; }
  .clock { grid-column: auto; }
  .xy, .clock, .sun__bar, .sun__deg { display: none; }   
  .work__pin { padding: 64px var(--m) 96px; }
  .projs { grid-template-columns: 1fr; row-gap: 40px; }
  .proj:nth-child(n) { padding: 0; }
  
  .proj__row, .proj__sum { background: var(--cream); color: var(--black); text-align: center; }
  .proj__row { align-items: center; margin-top: 0; padding: 20px 16px 0; }
  .proj__plate { aspect-ratio: 4 / 3; }
  .proj__name { font-size: 40px; }
  .proj__sum { margin-top: 0; padding: 8px 16px 22px; font-size: 17px; line-height: 24px; }
  .proj__row { border-top: 0; }
  .about-hold::after { display: none; }   
  .about-hold > .about { position: relative; top: auto; }
  .about { padding-top: calc(var(--bar) + 12px); padding-bottom: 56px; }
  .about__bits { height: 14px; margin-bottom: 20px; }
  .about__pull { font-size: 48px; line-height: 46px; }
  .about__text { display: block; margin-top: 36px; font-size: 18px; line-height: 28px; }
  .about__text p { padding-left: 0; }
  .contact { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: 1fr auto auto auto 1fr; padding-top: calc(var(--bar) + 40px); padding-bottom: 40px; }
  .contact__mark { width: 56px; height: 56px; }
  .contact__plate--b { left: 5px !important; top: 4px !important; }
  .contact__line { grid-column: 1 / 5; grid-row: 2; padding: 32px 18px 36px; border-right: var(--cell); font-size: min(60px, calc((100vw - 2 * var(--m) - 39px) / 5.75)); text-align: center; }   
  .contact__to { grid-column: 1 / 5; grid-row: 3; padding: 28px 18px 32px; border-top: var(--cell); border-bottom: 0; border-right: var(--cell); }   
  .contact__top { grid-column: 1 / 2; grid-row: 4; padding: 18px 0; border-bottom: var(--cell); border-right: 0; }
  .contact__time { grid-column: 2 / 5; grid-row: 4; }   
  .contact__mail { font-size: calc((100vw - 2 * var(--m) - 40px) / 15); line-height: 1.5; }   
  .contact__ask { margin-bottom: 12px; font-size: 30px; text-align: center; }
  .opts { right: 10px; bottom: 72px; }
}

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .proj__link:hover .proj__plate, .proj__link:focus-visible .proj__plate { transform: none; }
}

.intro, .runway { display: none; }
html.has-intro .runway { display: block; height: 410vh; height: 410svh; }   
html.has-intro .intro { --e: calc(var(--p2, 0) * var(--p2, 0) * (3 - 2 * var(--p2, 0))); display: flex; flex-direction: column; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 60; pointer-events: none; color: var(--cream); box-sizing: border-box; padding-bottom: 28vh; }   
html.has-intro.landed .intro { visibility: hidden; }
.intro__hi { margin: 0 0 .25em; font-size: clamp(28px, 4.8vw, 70px); line-height: 1.1; color: var(--blue); opacity: calc(1 - min(1, var(--p2, 0) * 2.5)); }
.intro__name { margin: 0; font-size: var(--ifs, 120px); line-height: 1; text-align: center; white-space: nowrap; color: var(--cream); text-shadow: calc(var(--ox) * .5 * (1 - var(--e))) calc(var(--oy) * .5 * (1 - var(--e))) 0 var(--blue); }   
.intro__w { display: inline-block; transform-origin: 0 0; transform: translate(calc(var(--tx, 0) * 1px * var(--e)), calc(var(--ty, 0) * 1px * var(--e))) scale(calc(1 + (var(--ts, 1) - 1) * var(--e))); }
@media (max-width: 760px) { .intro__hi { font-size: 52px; } .intro__w { display: block; } html.has-intro .intro { padding-bottom: 26vh; } }   
html.has-intro:not(.landed) .bar__name, html.has-intro:not(.landed) .bar__mark { opacity: 0; }

html.has-intro { --o3: calc(1 - (1 - var(--sa, 0)) * (1 - var(--sa, 0)) * (1 - var(--sa, 0))); }   

html.has-intro .sun .spin--back { rotate: calc(-200deg*(1 - var(--o3))); }
html.has-intro .sun .spin:not(.spin--back) { rotate: calc(70deg*(1 - var(--o3))); }
html.has-intro .hero__draw { opacity: var(--so, .35); scale: var(--sc, .62); translate: calc(var(--dx, 0) * (1 - var(--sm, 0))) calc(var(--dy, 0) * (1 - var(--sm, 0)) + 24vh * (1 - var(--sr, 0))); }   
html.has-intro { --persp: 1400px; }

html.has-intro .hero__draw { transform: perspective(var(--persp)) var(--turn, rotate(0deg)); }
html.has-intro { --turn: rotateY(calc(360deg * var(--st, 0))); }
html.has-intro.measuring .hero__draw { translate: none; }
@media (max-width: 760px) {   
  html.has-intro .hero__draw { translate: calc(var(--dx, 0) * (1 - var(--sm, 0))) calc(var(--dy, 0) * (1 - var(--sm, 0)) + 20vh * (1 - var(--sr, 0))); }
  html.has-intro { --persp: 900px; }
}

html.has-intro .hero__line, html.has-intro .hero__tail { translate: 0 calc((1 - var(--o)) * 40px); opacity: var(--o); }
html.has-intro .hero__line:nth-child(1) { --o: clamp(0, (var(--p4, 0) - .1) * 4, 1); }
html.has-intro .hero__line:nth-child(2) { --o: clamp(0, (var(--p4, 0) - .2) * 4, 1); }
html.has-intro .hero__line:nth-child(3) { --o: clamp(0, (var(--p4, 0) - .3) * 4, 1); }
html.has-intro .hero__tail { --o: clamp(0, (var(--p4, 0) - .42) * 4, 1); }
html.has-intro .xy, html.has-intro .clock, html.has-intro .hero::after, html.has-intro .hero .sec__reg { opacity: clamp(0, (var(--p4, 0) - .7) * 3.4, 1); }

.bar__menu, .bar__pop { display: none; }
@media (max-width: 760px) {
  .bar__nav { display: none; }
  .bar__name { font-size: 24px; }
  .bar__mark { width: 24px; height: 24px; }
  .bar__who { min-height: 44px; }
  .bar__menu { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; touch-action: manipulation; }
  .bar__menu svg { width: 24px; height: 24px; }
  .bar__menu .i-close, .bar:has(.bar__pop:popover-open) .bar__menu .i-open { display: none; }
  .bar:has(.bar__pop:popover-open) .bar__menu .i-close { display: block; }
  .bar__pop:popover-open { display: block; position: fixed; inset: var(--bar) 0 auto; width: auto; height: auto; margin: 0; padding: 4px var(--m) 12px; border: 0; border-bottom: 1px solid var(--hair); background: var(--bg); color: var(--fg); }
  .bar__pop a { display: block; padding: 14px 0 14px 12px; border-bottom: 1px solid color-mix(in oklab, currentColor 25%, transparent); color: inherit; text-decoration: none; font-size: 44px; }
  .bar__pop a:last-child { border-bottom: 0; }
  .bar__pop::backdrop { top: var(--bar, 56px); background: rgb(0 0 0 / .4); }   
}
@media (max-width: 359px) { .bar__name { font-size: 21px; } }
@media (min-width: 761px) { .contact__ask { display: inline-block; margin: 0 .45em 0 0; vertical-align: baseline; } }   
@media (max-width: 760px) { .contact__time { font-size: 18px; } }   
@media (min-width: 761px) { .intro__name { position: relative; top: -.1em; } }   
@media (min-width: 761px) {   
  .contact__line, .contact__to { grid-column: 1 / 10; }
  .contact__top, .contact__time { grid-column: 10 / 13; }
}
@media (min-width: 761px) { .contact__time { font-size: clamp(19px, 1.65vw, 26px); } }   
@media (min-width: 761px) { .about { padding-top: calc(var(--bar) + 4px); } }   
