:root {
  --paper: #f2efe7;
  --ink: #111313;
  --muted: #5e645d;
  --line: #14171424;
  --dark: #131715;
  --dark-muted: #a6afa5;
  --acid: #d9ff58;
  --coral: #c94835;
  --blue: #5363f5;
  --display: "Noto Serif SC", Georgia, serif;
  --sans: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; overflow-x: hidden; }
[hidden] { display: none !important; }
body.nav-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 12px; z-index: 110; padding: 9px 12px; transform: translateY(-180%); background: var(--ink); color: var(--paper); font: 10px var(--mono); text-decoration: none; transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
section[id] { scroll-margin-top: 92px; }

.site-progress { position: fixed; inset: 0 auto auto 0; z-index: 100; width: 0; height: 4px; background: var(--coral); transform-origin: left; }
.paper-grid { position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .42; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000 0, transparent 82%); }
.grain { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E"); }

.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; height: 76px; padding: 0 4.6vw; border-bottom: 1px solid transparent; background: rgba(242,239,231,.8); backdrop-filter: blur(16px); transition: border-color .3s, background .3s; }
.site-nav.is-scrolled { border-color: var(--line); background: rgba(242,239,231,.95); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-glyph { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid var(--ink); font-family: var(--display); font-size: 17px; line-height: 1; transform: rotate(-8deg); }
.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-size: 13px; letter-spacing: .18em; }
.brand-copy small { margin-top: 2px; color: var(--muted); font: 9px var(--mono); letter-spacing: .06em; }
.nav-links { display: flex; align-items: center; gap: 34px; margin-left: auto; margin-right: 36px; }
.nav-links a, .nav-social, .menu-toggle { border: 0; background: none; text-decoration: none; cursor: pointer; font: 10px var(--mono); letter-spacing: .08em; }
.nav-links a { position: relative; padding: 9px 0; }
.nav-links a:after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--coral); transition: right .25s; }
.nav-links a:hover:after, .nav-links a:focus-visible:after, .nav-links a[aria-current="page"]:after { right: 0; }
.nav-links a span { margin-left: 5px; color: var(--muted); font-size: 8px; }
.nav-right { display: flex; align-items: center; gap: 15px; }
.nav-social { color: var(--muted); }
.nav-social span { color: var(--ink); }
.nav-social:hover { color: var(--coral); }
.menu-toggle { display: none; width: 34px; height: 34px; padding: 8px 6px; }
.menu-toggle i { display: block; width: 22px; height: 1px; margin: 5px 0; background: var(--ink); transition: transform .25s; }

main { position: relative; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .88fr); gap: 6vw; align-items: center; min-height: 92svh; max-width: 1500px; margin: 0 auto; padding: 132px 6.5vw 68px; }
.hero-copy { position: relative; z-index: 2; max-width: 700px; }
.eyebrow { margin: 0; color: var(--muted); font: 10px var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { margin-right: 9px; color: var(--coral); }
.hero h1 { margin: 24px 0 26px; font-family: var(--display); font-size: 82px; font-weight: 600; line-height: 1.04; letter-spacing: 0; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-lede { max-width: 560px; margin: 0; color: #4e544e; font-size: 16px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; min-width: 150px; padding: 13px 16px; border: 1px solid var(--ink); text-decoration: none; font: 11px var(--mono); letter-spacing: .05em; transition: transform .25s, background .25s, color .25s; }
.button span { margin-left: 22px; font-size: 17px; }
.button-dark { background: var(--ink); color: var(--paper); }
.button-line { background: transparent; }
.button:hover { transform: translateY(-3px); }
.button-dark:hover { background: var(--coral); border-color: var(--coral); }
.button-line:hover { background: var(--acid); }
.hero-visual { position: relative; min-width: 0; }
.hero-image-wrap { position: relative; aspect-ratio: 1.15 / 1; margin: 0; overflow: hidden; background: #28362a; box-shadow: 16px 16px 0 var(--acid); transform: perspective(1100px) rotateX(var(--hero-tilt-y, 0deg)) rotateY(var(--hero-tilt-x, 0deg)) translate3d(var(--hero-shift-x, 0px), var(--hero-shift-y, 0px), 0); transform-origin: center; transition: transform .45s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.hero-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.05); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.hero-image-wrap:hover img { transform: scale(1.04); }
.hero-image-wrap:before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .42; background: linear-gradient(180deg, transparent 0 48%, #d9ff5830 49%, transparent 50% 100%); background-size: 100% 220%; animation: hero-scan 9s ease-in-out infinite; mix-blend-mode: screen; }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 54%, #0d1711c4); pointer-events: none; }
.hero-image-wrap figcaption { position: absolute; right: 18px; bottom: 17px; left: 18px; display: flex; align-items: end; justify-content: space-between; color: #f4f1e7; }
.hero-image-wrap figcaption span { font: 9px var(--mono); letter-spacing: .1em; }
.hero-image-wrap figcaption strong { font-size: 13px; letter-spacing: .08em; }
.hero-seal { position: absolute; top: -27px; right: -26px; display: grid; place-items: center; width: 104px; height: 104px; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); transform: translate3d(var(--seal-x, 0px), var(--seal-y, 0px), 0) rotate(11deg); transition: transform .55s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.hero-seal:before { content: ""; position: absolute; inset: 8px; border: 1px dashed var(--ink); border-radius: 50%; }
.hero-seal span { font: 29px var(--mono); line-height: 1; }
.hero-seal small { margin-top: -5px; font: 8px var(--mono); letter-spacing: .13em; text-align: center; }
.hero-coordinate { position: absolute; right: -5px; bottom: -31px; color: var(--muted); font: 9px var(--mono); letter-spacing: .12em; transform: translate3d(var(--coordinate-x, 0px), var(--coordinate-y, 0px), 0) rotate(-90deg); transform-origin: right top; transition: transform .55s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.hero-foot { position: absolute; right: 6.5vw; bottom: 29px; left: 6.5vw; display: flex; align-items: center; gap: 14px; color: var(--muted); font: 9px var(--mono); letter-spacing: .12em; }
.hero-line { display: block; height: 1px; max-width: 190px; flex: 1; background: var(--line); }
.hero-foot span:last-child { color: var(--coral); }

.ticker { overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: var(--acid); color: var(--ink); }
.ticker-track { display: flex; width: max-content; align-items: center; gap: 32px; padding: 12px 0; animation: ticker 26s linear infinite; font: 12px var(--mono); letter-spacing: .15em; white-space: nowrap; }
.ticker-track b { font-size: 17px; font-weight: 400; }
@keyframes ticker { to { transform: translateX(-25%); } }
@keyframes hero-scan { 0%, 20% { background-position: 0 -110%; } 70%, 100% { background-position: 0 110%; } }

.section-light, .section-dark { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 5vw; max-width: 1500px; margin: 0 auto; padding: 130px 6.5vw; }
.section-rail { display: flex; flex-direction: column; justify-content: space-between; min-height: 120px; }
.rail-number { color: var(--muted); font: 11px var(--mono); }
.section-dark { max-width: none; background: var(--dark); color: #f2efe7; }
.section-rail-dark .eyebrow { color: var(--dark-muted); }
.section-rail-dark .eyebrow span { color: var(--acid); }
.section-rail-dark .rail-number { color: #758078; }
.about-main h2, .now-heading h2, .work-heading h2 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: 0; }
.about-main h2 { max-width: 850px; font-size: 59px; line-height: 1.18; }
.about-main h2 em { color: var(--blue); font-style: normal; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 7vw; margin-top: 58px; }
.about-lead { max-width: 520px; margin: 0; color: #4e544e; font-size: 18px; line-height: 1.8; }
.fact-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line); }
.fact-list div { min-height: 92px; padding: 17px 10px 16px 0; border-bottom: 1px solid var(--line); }
.fact-list b { display: block; color: var(--coral); font: 27px var(--mono); }
.fact-list span { display: block; margin-top: 8px; color: var(--muted); font-size: 11px; }
.about-note { display: flex; align-items: center; gap: 15px; max-width: 650px; margin-top: 67px; padding-top: 18px; border-top: 1px solid var(--line); }
.note-mark { color: var(--coral); font-size: 25px; }
.about-note p { margin: 0; color: #4e544e; font-size: 13px; }

.now-main { display: grid; grid-template-columns: .75fr 1.25fr; gap: 7vw; }
.now-heading h2 { margin-top: 17px; font-size: 61px; line-height: 1.08; }
.now-heading h2 span { color: var(--acid); }
.now-heading > p:last-child { max-width: 260px; margin: 20px 0 0; color: var(--dark-muted); font-size: 14px; line-height: 1.75; }
.role-list { border-top: 1px solid #f2efe72d; }
.role-row { display: grid; grid-template-columns: 42px 1fr 1fr 20px; gap: 14px; align-items: center; min-height: 74px; border-bottom: 1px solid #f2efe72d; text-decoration: none; transition: padding .28s, background .28s, color .28s; }
.role-row:hover { padding: 0 13px; background: #f2efe70b; }
.role-no, .role-meta { color: #7e8a80; font: 10px var(--mono); }
.role-title { font-size: 16px; line-height: 1.35; overflow-wrap: anywhere; }
.role-meta { color: var(--dark-muted); }
.role-row b { color: var(--acid); font-size: 17px; font-weight: 400; }
body.js-ready .role-list:not(.is-visible) .role-row { opacity: 0; transform: translateX(14px); }
body.js-ready .role-list.is-visible .role-row { animation: role-scan-in .62s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--role-delay, 0ms); }
@keyframes role-scan-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: translateX(0); } }

.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.work-heading h2 { margin-top: 13px; font-size: 60px; }
.search-field { display: flex; align-items: center; width: 220px; height: 40px; gap: 8px; padding: 0 11px; border-bottom: 1px solid var(--ink); color: var(--muted); }
.search-field > span { font-size: 18px; transform: rotate(-20deg); }
.search-field input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: var(--muted); }
kbd { padding: 3px 5px; border: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); }
.work-intro { margin: 36px 0 25px; color: var(--muted); font-size: 13px; }
.work-intro strong { color: var(--coral); font: 18px var(--mono); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.work-item { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #ece8de; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .25s, box-shadow .35s; }
.work-item:before { position: absolute; inset: 0; z-index: 3; content: ""; pointer-events: none; opacity: 0; background: radial-gradient(260px circle at var(--pointer-x, -100px) var(--pointer-y, -100px), #d9ff5830, transparent 55%); transition: opacity .25s; }
.work-item:hover:before, .work-item:focus-within:before { opacity: 1; }
.work-item:hover, .work-item:focus-visible { border-color: var(--ink); box-shadow: 9px 9px 0 var(--acid); transform: translateY(-5px); }
.work-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.16fr .84fr; }
.work-compact { grid-column: span 1; }
.work-media { position: relative; aspect-ratio: 1.73 / 1; overflow: hidden; background: #26342a; transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transition: transform .42s cubic-bezier(.2,.7,.2,1); transform-origin: center; will-change: transform; }
.work-featured .work-media { aspect-ratio: 1.55 / 1; }
.work-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s; }
.work-item:hover .work-media img { filter: saturate(1.05); transform: scale(1.04); }
.work-media:after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 57%, #111b1394); }
.media-tag { position: absolute; top: 15px; left: 16px; z-index: 1; color: #f5f2e9; font: 9px var(--mono); letter-spacing: .1em; }
.media-arrow { position: absolute; right: 16px; bottom: 12px; z-index: 1; color: var(--acid); font-size: 23px; }
.work-info { display: flex; min-height: 214px; flex-direction: column; justify-content: space-between; padding: 22px 23px 19px; }
.work-kicker { margin: 0 0 13px; color: var(--muted); font: 9px var(--mono); letter-spacing: .1em; }
.work-info h3 { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 600; letter-spacing: 0; }
.work-info h3 em { color: var(--blue); font-style: normal; }
.work-info > p { max-width: 300px; margin: 15px 0 0; color: #5f655f; font-size: 12px; line-height: 1.65; }
.work-link { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); letter-spacing: .11em; }
.work-link b { color: var(--coral); font-size: 17px; font-weight: 400; transition: transform .25s; }
.work-item:hover .work-link b { transform: translate(3px, -3px); }
.work-abstract { display: grid; place-items: center; color: #f5f2e9; }
.work-abstract:before, .work-abstract:after { content: ""; position: absolute; border: 1px solid #f5f2e94d; pointer-events: none; }
.work-abstract:before { inset: 17px; }
.work-abstract:after { width: 120px; height: 120px; border-radius: 50%; }
.work-item:hover .work-abstract:after, .work-item:focus-within .work-abstract:after { animation: abstract-orbit 8s linear infinite; }
@keyframes abstract-orbit { to { transform: rotate(360deg); } }
.abstract-word { position: relative; z-index: 1; font: 32px var(--mono); line-height: .96; letter-spacing: 0; }
.abstract-word i { color: var(--acid); font-style: normal; }
.work-minecraft { background: #2e553e; }
.work-minecraft:after { background: repeating-linear-gradient(135deg, transparent 0 20px, #d9ff5815 20px 21px); }
.work-ai { background: #4857d5; }
.work-ai:after { background: radial-gradient(circle at 70% 30%, #d9ff5870 0 2px, transparent 3px), repeating-linear-gradient(135deg, transparent 0 18px, #f5f2e923 18px 19px); }
.work-notes { background: #cf5140; }
.work-notes:after { background: repeating-linear-gradient(90deg, transparent 0 20px, #f5f2e923 20px 21px), radial-gradient(circle at 25% 35%, #d9ff5860 0 3px, transparent 4px); }
.work-danke { background: #a54b39; }
.work-danke:after { background: repeating-linear-gradient(45deg, transparent 0 22px, #f5f2e91b 22px 23px); }
.work-trip { background: var(--blue); }
.work-trip:after { background: radial-gradient(circle at 38% 40%, #d9ff584d 0 2px, transparent 3px), radial-gradient(circle at 72% 65%, #f5f2e94d 0 1px, transparent 2px); }
.add-work { min-height: 270px; align-items: center; justify-content: center; gap: 8px; border-style: dashed; background: transparent; text-align: center; }
.add-work:hover { background: var(--acid); box-shadow: none; }
.add-plus { color: var(--coral); font-size: 37px; font-weight: 300; }
.add-work strong { font-size: 14px; font-weight: 500; }
.add-work > span:last-child { color: var(--muted); font-size: 11px; }
.empty-state { padding: 45px 0; color: var(--muted); text-align: center; }

.contact { position: relative; min-height: 620px; overflow: hidden; }
.contact-inner { position: relative; z-index: 1; max-width: 680px; }
.contact-inner .eyebrow span { color: var(--acid); }
.contact-inner h2 { margin: 24px 0 24px; font-family: var(--display); font-size: 73px; font-weight: 600; line-height: 1.05; letter-spacing: 0; }
.contact-inner h2 em { color: var(--acid); font-style: normal; }
.contact-inner > p:not(.eyebrow) { max-width: 370px; margin: 0; color: var(--dark-muted); font-size: 15px; line-height: 1.75; }
.contact-links { display: grid; max-width: 600px; margin-top: 52px; border-top: 1px solid #f2efe72d; }
.contact-links a { display: flex; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid #f2efe72d; color: #f2efe7; text-decoration: none; font-size: 14px; }
.contact-links a span { color: var(--acid); font: 11px var(--mono); }
.contact-links a:hover { color: var(--acid); }
.contact-orbit { position: absolute; right: 6vw; bottom: 45px; display: grid; place-items: center; width: 320px; height: 320px; border: 1px solid #f2efe72d; border-radius: 50%; color: #f2efe72d; transform: rotate(-15deg); }
.contact-orbit:before, .contact-orbit:after { content: ""; position: absolute; border: 1px solid #f2efe71c; border-radius: 50%; }
.contact-orbit:before { inset: 27px; }
.contact-orbit:after { inset: 72px; }
.contact-orbit span { font: 46px var(--mono); letter-spacing: .14em; }
.contact-orbit i { position: absolute; top: 25px; right: 65px; width: 10px; height: 10px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 25px var(--acid); }
.contact-orbit.is-active:before { animation: orbit-spin 18s linear infinite; }
.contact-orbit.is-active:after { animation: orbit-spin 27s linear infinite reverse; }
.contact-orbit.is-active i { animation: signal-pulse 2.8s ease-in-out infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes signal-pulse { 50% { opacity: .42; box-shadow: 0 0 8px var(--acid); } }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 0 6.5vw; background: var(--paper); color: var(--muted); font: 9px var(--mono); letter-spacing: .08em; }
.site-footer b { color: var(--coral); }
.site-footer button { border: 0; background: none; color: var(--ink); cursor: pointer; font: 9px var(--mono); letter-spacing: .08em; }
.site-footer button span { margin-left: 7px; color: var(--coral); font-size: 15px; }

.link-dialog { width: min(430px, calc(100% - 28px)); padding: 0; border: 1px solid #f2efe72d; background: var(--dark); color: var(--paper); box-shadow: 15px 15px 0 var(--acid); }
.link-dialog::backdrop { background: #101210b8; backdrop-filter: blur(9px); }
.link-dialog form { position: relative; padding: 29px; }
.link-dialog .eyebrow { color: var(--dark-muted); }
.link-dialog .eyebrow span { color: var(--acid); }
.dialog-close { position: absolute; top: 15px; right: 17px; border: 0; background: none; color: var(--dark-muted); cursor: pointer; font-size: 24px; }
.link-dialog h2 { margin: 12px 0 8px; font-family: var(--display); font-size: 27px; font-weight: 600; }
.dialog-copy { margin: 0 0 21px; color: var(--dark-muted); font-size: 12px; line-height: 1.6; }
.link-dialog label { display: block; margin: 14px 0; color: var(--dark-muted); font-size: 11px; }
.link-dialog input { display: block; width: 100%; margin-top: 7px; padding: 11px 12px; border: 1px solid #f2efe72d; border-radius: 0; outline: 0; background: #f2efe70c; color: var(--paper); font-size: 12px; }
.link-dialog input:focus { border-color: var(--acid); }
.dialog-actions { display: flex; justify-content: end; gap: 9px; margin-top: 22px; }
.text-button, .save-button { padding: 10px 14px; border: 1px solid #f2efe72d; cursor: pointer; font: 11px var(--mono); }
.text-button { background: transparent; color: var(--dark-muted); }
.save-button { border-color: var(--acid); background: var(--acid); color: var(--ink); }

.custom-card { grid-column: span 1; }
.custom-card .custom-open { display: flex; min-height: 0; flex: 1; flex-direction: column; color: inherit; text-decoration: none; }
.custom-card .work-media { min-height: 190px; }
.custom-card .custom-url { margin-top: 9px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font: 9px var(--mono); }
.custom-card .remove-link { align-self: flex-start; margin: 0 23px 16px; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; font: 9px var(--mono); }
.custom-card .remove-link:hover { color: var(--coral); }
.custom-card .remove-link:focus-visible { outline: 1px solid var(--coral); outline-offset: 4px; }
.status-toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: min(320px, calc(100vw - 44px)); margin: 0; padding: 12px 15px; border: 1px solid var(--acid); background: var(--dark); color: var(--paper); font: 10px var(--mono); line-height: 1.5; box-shadow: 5px 5px 0 var(--acid); }

body.js-ready [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1); }
body.js-ready [data-reveal].is-visible { opacity: 1; transform: none; }
body.js-ready .work-item[data-reveal].is-visible { transition-delay: var(--reveal-delay, 0ms); }

@media (max-width: 980px) {
  .nav-social { display: none; }
  .hero { display: block; min-height: auto; padding-right: 7vw; padding-left: 7vw; }
  .hero h1 { font-size: 65px; }
  .hero-visual { margin-top: 60px; }
  .section-light, .section-dark { grid-template-columns: 120px minmax(0, 1fr); padding-right: 7vw; padding-left: 7vw; }
  .about-main h2, .now-heading h2, .work-heading h2 { font-size: 50px; }
  .contact-inner h2 { font-size: 62px; }
  .contact-orbit { right: -100px; }
}
@media (max-width: 1280px) and (min-width: 981px) {
  .hero h1 { font-size: 64px; }
}
@media (max-width: 1100px) and (min-width: 981px) {
  .hero { display: block; min-height: auto; padding-top: 128px; }
  .hero-visual { margin-top: 60px; }
}
@media (max-width: 700px) {
  .site-nav { height: 64px; padding: 0 18px; }
  .brand-copy small { display: none; }
  .menu-toggle { display: block; }
  .nav-links { position: fixed; inset: 64px 0 auto; display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 14px 18px 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  body.nav-open .menu-toggle i:first-child { transform: translateY(3px) rotate(45deg); }
  body.nav-open .menu-toggle i:last-child { transform: translateY(-3px) rotate(-45deg); }
  section[id] { scroll-margin-top: 78px; }
  .hero { padding: 122px 22px 60px; }
  .hero h1 { margin-top: 20px; font-size: 36px; }
  .hero h1 em { white-space: nowrap; }
  .hero-lede { font-size: 14px; }
  .hero-visual { margin: 58px 22px 0 0; }
  .hero-image-wrap { box-shadow: 9px 9px 0 var(--acid); }
  .hero-seal { right: -16px; width: 84px; height: 84px; }
  .hero-seal span { font-size: 23px; }
  .hero-foot { position: static; margin-top: 49px; padding: 0 22px; }
  .ticker-track { padding: 10px 0; font-size: 10px; }
  .section-light, .section-dark { display: block; padding: 78px 22px; }
  .section-rail { min-height: auto; margin-bottom: 36px; }
  .rail-number { display: none; }
  .about-main h2, .now-heading h2, .work-heading h2 { font-size: 40px; }
  .about-grid, .now-main { display: block; margin-top: 38px; }
  .about-lead { font-size: 16px; }
  .fact-list { margin-top: 38px; }
  .about-note { margin-top: 43px; }
  .now-heading > p:last-child { margin-bottom: 38px; }
  .role-row { grid-template-columns: 32px 1fr 26px; gap: 9px; min-height: 78px; }
  .role-meta { grid-column: 2; grid-row: 2; margin-top: 0; font-size: 9px; }
  .role-row b { grid-column: 3; grid-row: 1 / span 2; }
  .work-heading { display: block; }
  .search-field { width: 100%; margin-top: 24px; }
  .work-grid { grid-template-columns: 1fr; gap: 12px; }
  .work-featured { display: block; grid-column: auto; }
  .work-compact { grid-column: auto; }
  .work-featured .work-media { aspect-ratio: 1.55 / 1; }
  .work-info { min-height: 188px; padding: 19px; }
  .work-info h3 { font-size: 25px; }
  .add-work { min-height: 180px; }
  .contact { min-height: 610px; }
  .contact-inner h2 { font-size: 48px; }
  .contact-orbit { right: -125px; bottom: 30px; width: 270px; height: 270px; opacity: .65; }
  .contact-orbit span { font-size: 35px; }
  .site-footer { flex-wrap: wrap; padding: 18px 22px; font-size: 8px; }
  .site-footer > span:nth-child(2) { display: none; }
  .grain { opacity: .02; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ticker-track { animation: none; }
  body.js-ready [data-reveal], body.js-ready [data-reveal].is-visible { opacity: 1; transform: none; transition: none; }
  .hero-image-wrap, .hero-image-wrap img, .work-media, .work-media img { transition: none; transform: none; }
  .work-item:hover, .work-item:focus-visible, .button:hover { transform: none; }
  body.js-ready .role-list:not(.is-visible) .role-row, body.js-ready .role-list.is-visible .role-row { opacity: 1; transform: none; animation: none; }
}
