/* Generated by npm run build. Edit files in styles/. */
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-italic.woff2") format("woff2-variations");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --paper: #07151b;
  --paper-light: #0c1c22;
  --paper-deep: #12252b;
  --ink: #f1eee5;
  --ink-soft: #c1cecb;
  --muted: #91a39f;
  --line: rgba(241, 238, 229, .16);
  --accent: #b9ec91;
  --accent-soft: rgba(185, 236, 145, .14);
  --green: #17352f;
  --yellow: #b9ec91;
  --coral: #ee794c;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
  --page: min(1180px, calc(100% - 48px));
  --project-page: min(980px, calc(100% - 48px));
  --reading: min(680px, calc(100% - 40px));
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-spring: cubic-bezier(.16, 1, .3, 1);
  --space-xs: clamp(.65rem, .58rem + .3vw, .88rem);
  --space-s: clamp(1rem, .86rem + .6vw, 1.4rem);
  --space-m: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --space-l: clamp(2.4rem, 1.75rem + 2.6vw, 4rem);
  --space-xl: clamp(4rem, 2.5rem + 6vw, 7.5rem);
  --space-2xl: clamp(5.5rem, 3.25rem + 9vw, 11rem);
}

* { box-sizing: border-box; }

html {
  background-color: var(--paper);
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at -8% 31%, rgba(87, 151, 139, .18), transparent 27%),
    radial-gradient(circle at 108% 72%, rgba(169, 212, 203, .08), transparent 25%),
    linear-gradient(180deg, #07151b 0%, #08171d 48%, #061219 100%);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  z-index: 20;
  inset: 0;
  opacity: .035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  z-index: -1;
  top: 8vh;
  left: -25vw;
  width: 70vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(93, 167, 149, .11), rgba(37, 91, 89, .04) 38%, transparent 68%);
  filter: blur(24px);
  pointer-events: none;
}

a { color: inherit; text-decoration: none; touch-action: manipulation; -webkit-tap-highlight-color: rgba(185, 236, 145, .2); }
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; }
h1, h2, h3, p, blockquote, dl, dd { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

.page-shell { width: var(--page); margin-inline: auto; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; color: white; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.text-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 650; }
.text-link:hover { color: var(--accent); }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid currentColor; border-radius: 999px; font-size: 13px; font-weight: 700; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-light:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); }
.button-quiet { color: var(--ink); background: rgba(7, 21, 27, .45); border-color: rgba(241, 238, 229, .3); }
.button-quiet:hover { color: var(--accent); border-color: var(--accent); }
.button-dark { color: var(--paper-light); background: var(--ink); border-color: var(--ink); }
.button-dark:hover { color: var(--ink); background: transparent; }
.back-link { display: inline-block; margin-bottom: 72px; padding-bottom: 4px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.back-link:hover { color: var(--accent); border-color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { color: var(--paper); background: var(--accent); }

.site-header { position: fixed; z-index: 30; top: 18px; right: 0; left: 0; display: flex; justify-content: center; pointer-events: none; }
.site-nav { width: max-content; max-width: calc(100% - 28px); min-height: 48px; padding: 6px 8px 6px 7px; display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--ink-soft); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; box-shadow: 0 16px 45px rgba(0, 0, 0, .16); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease; pointer-events: auto; }
.site-header.is-scrolled .site-nav { background: rgba(7, 21, 27, .82); border-color: rgba(255, 255, 255, .2); box-shadow: 0 18px 48px rgba(0, 0, 0, .28); }
.brand { min-width: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; }
.brand-mark { width: 32px; aspect-ratio: 1; display: grid; flex: none; place-items: center; color: var(--paper); background: var(--accent); border-radius: 50%; font: 750 10px/1 var(--sans); }
.brand-name { white-space: nowrap; }
.nav-links { min-width: 0; display: flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 650; }
.nav-links a { padding: 8px 11px; border-radius: 999px; transition: color .2s ease, background-color .2s ease; }
.nav-links a:hover { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .055); }

.page-heading { max-width: 990px; }
.page-heading h1 { margin-bottom: 28px; font: 400 clamp(58px, 8.2vw, 112px)/.9 var(--serif); letter-spacing: -.05em; }
.page-heading h1 em { color: var(--accent); font-weight: 350; }
.page-heading > p:last-child { max-width: 650px; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(20px, 2vw, 27px); line-height: 1.4; }

.contact { color: var(--paper-light); background: var(--accent); }
.contact-inner { padding-block: clamp(80px, 11vw, 150px); }
.contact .eyebrow { color: #315845; }
.contact h2 { max-width: 1000px; margin-bottom: 34px; font: 400 clamp(62px, 9.4vw, 126px)/.84 var(--serif); letter-spacing: -.055em; }
.contact h2 em { color: var(--paper); font-weight: 350; }
.contact-inner > p:not(.eyebrow) { max-width: 590px; color: #274839; font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.contact-links { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.contact .button-dark { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.contact .button-dark:hover { color: var(--paper); background: transparent; }
.contact .text-link:hover { color: var(--paper); }
.contact-centered .contact-inner { padding-block: clamp(56px, 7vw, 78px); text-align: center; }
.contact-centered h2 { max-width: 900px; margin: 18px auto 0; font-size: clamp(58px, 8.5vw, 112px); }
.contact-centered h2 em { color: #456050; }
.contact-centered .contact-inner > p:not(.eyebrow) { max-width: 520px; margin: 28px auto 0; font-family: var(--sans); font-size: 16px; }
.contact-centered .contact-links { justify-content: center; }

.site-footer { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; }

@media (max-width: 720px) {
  :root { --page: min(100% - 28px, 1180px); }
  .site-header { top: 10px; }
  .site-nav { min-height: 44px; gap: 5px; }
  .brand { padding-right: 6px; }
  .brand-name { display: none; }
  .brand-mark { width: 30px; }
  .nav-links { gap: 0; font-size: 10px; }
  .nav-links a { padding: 8px 7px; }
  .page-heading h1 { font-size: clamp(52px, 15vw, 76px); }
  .contact h2 { font-size: clamp(58px, 17vw, 82px); }
  .contact-centered h2 { font-size: 56px; }
  .contact-centered .contact-links { flex-direction: column; }
  .site-footer { padding-block: 26px; align-items: flex-start; flex-direction: column; }
}

.home-hero { position: relative; min-height: 600px; padding: 112px 0 64px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; isolation: isolate; overflow: hidden; }
.home-hero::before { content: ""; position: absolute; z-index: -2; inset: 0 auto 20px 50%; width: 100vw; background: radial-gradient(circle at 50% 41%, rgba(95, 167, 150, .2), rgba(44, 99, 96, .06) 31%, transparent 55%), radial-gradient(circle at 82% 38%, rgba(238, 121, 76, .055), transparent 20%); transform: translateX(-50%); pointer-events: none; }
.hero-intro { position: relative; z-index: 2; display: flex; align-items: center; flex-direction: column; gap: 14px; }
.hero-intro img { width: 52px; height: 52px; padding: 3px; object-fit: cover; background: var(--ink); border: 1px solid rgba(241, 238, 229, .26); border-radius: 50%; }
.hero-intro p { margin: 0; color: var(--accent); font-size: 10px; font-weight: 750; line-height: 1.4; text-transform: uppercase; letter-spacing: .12em; }
.hero-title { position: relative; z-index: 2; max-width: 900px; margin: 20px 0 0; font: 390 clamp(58px, 7.2vw, 92px)/1 var(--serif); letter-spacing: -.058em; }
.hero-title span, .hero-title em { display: block; }
.hero-title em { color: var(--accent); font-weight: 330; }
.hero-copy { position: relative; z-index: 2; max-width: 500px; margin: 24px auto 0; color: var(--ink-soft); font-size: 16px; line-height: 1.55; }
.hero-foot { position: relative; z-index: 2; margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero-location { position: relative; z-index: 2; margin: 18px 0 0; color: var(--muted); font-size: 11px; }
.hero-dot-grid { position: absolute; z-index: 0; inset: 0 auto 20px 50%; width: 100vw; height: calc(100% - 20px); transform: translateX(-50%); -webkit-mask-image: radial-gradient(ellipse 82% 78% at 50% 44%, #000 10%, rgba(0, 0, 0, .88) 50%, transparent 94%); mask-image: radial-gradient(ellipse 82% 78% at 50% 44%, #000 10%, rgba(0, 0, 0, .88) 50%, transparent 94%); pointer-events: none; }

.work-home { width: var(--project-page); padding-block: 48px; }
.selected-intro { padding-block: 0 32px; text-align: center; }
.selected-intro h2 { margin: 14px 0 0; font: 400 clamp(48px, 5.5vw, 72px)/.92 var(--serif); letter-spacing: -.05em; }
.selected-intro h2 em { color: var(--accent); font-weight: 350; }
.selected-intro > p:last-child { max-width: 500px; margin: 16px auto 0; color: var(--muted); font-size: 15px; }

.project-list { display: grid; gap: 20px; }
.project-story { position: relative; min-height: 520px; display: grid; grid-template-columns: minmax(280px, .86fr) minmax(0, 1.14fr); background: radial-gradient(circle at 90% 12%, rgba(185, 236, 145, .12), transparent 36%), linear-gradient(135deg, #1a3936, #11292b 56%, #091b21); border: 1px solid rgba(185, 236, 145, .18); border-radius: 20px; box-shadow: 0 22px 58px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .04); isolation: isolate; overflow: hidden; }
.project-story::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, .03), transparent 30%), radial-gradient(ellipse at center, transparent 48%, rgba(2, 12, 16, .18) 100%); pointer-events: none; }
.project-copy { position: relative; z-index: 4; min-width: 0; padding: clamp(34px, 5vw, 56px); display: flex; align-items: flex-start; flex-direction: column; }
.project-copy h2 { margin: auto 0 24px; font: 400 clamp(58px, 6vw, 82px)/.86 var(--serif); letter-spacing: -.055em; }
.project-observation { max-width: 510px; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.25; }
.project-response { max-width: 480px; margin-bottom: 30px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.project-link { min-height: 40px; margin-top: auto; padding: 9px 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 8px; font-size: 11px; font-weight: 750; transition: color .2s ease, background-color .2s ease, border-color .2s ease, transform .25s var(--ease-out); }
.project-link:hover { color: var(--paper); background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

.product-visual { position: relative; min-width: 0; min-height: 520px; overflow: hidden; clip-path: inset(0 0 0 0); }
.trace-visual { background: #1f4139; }
.trace-orbit { position: absolute; inset: 7%; border: 1px solid rgba(244,238,227,.15); border-radius: 50%; }
.trace-orbit::before, .trace-orbit::after { content: ""; position: absolute; border: 1px solid rgba(244,238,227,.12); border-radius: 50%; }
.trace-orbit::before { inset: 16%; }
.trace-orbit::after { inset: 33%; }
.trace-phone { position: absolute; width: min(43%, 260px); aspect-ratio: .52; padding: 9px; background: #121c1a; border: 1px solid rgba(255,255,255,.24); border-radius: 37px; box-shadow: 0 35px 70px rgba(0,0,0,.3); }
.trace-phone-back { top: 9%; left: 10%; transform: rotate(-6deg); opacity: .86; }
.trace-phone-front { right: 9%; bottom: -9%; transform: rotate(5deg); }
.trace-screen { height: 100%; padding: 40px 19px 20px; display: flex; flex-direction: column; color: #1b2621; background: #e9e5da; border-radius: 28px; }
.trace-screen > strong { margin-top: 20px; font-family: var(--serif); font-size: clamp(18px, 2vw, 27px); font-weight: 450; line-height: 1.04; }
.phone-label { color: #657369; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.trace-moods { margin-top: 22px; display: flex; gap: 10px; }
.trace-moods i { width: 28px; height: 28px; border: 4px solid #65836f; border-radius: 50%; }
.trace-input { margin-top: 20px; padding: 12px; background: white; border: 1px solid #d0ccc1; }
.trace-input small, .trace-input b { display: block; }
.trace-input small { color: #7d776d; font-size: 8px; }
.trace-input b { margin-top: 5px; font-size: 10px; }
.trace-button { margin-top: auto; padding: 11px; color: white; background: #355c4c; text-align: center; font-size: 9px; font-weight: 700; }
.trace-night { color: #e8e3d9; background: #121c1a; }
.trace-night > span { font-family: var(--serif); font-size: 16px; }
.trace-night i { height: 44px; margin-top: 18px; background: rgba(255,255,255,.08); }
.trace-night i + i { height: 30px; margin-top: auto; background: #bf9f61; }

.graph-visual { background: var(--accent); }
.graph-visual::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(7,21,27,.45) 1px, transparent 1px), linear-gradient(90deg, rgba(7,21,27,.45) 1px, transparent 1px); background-size: 38px 38px; }
.graph-visual svg { position: absolute; inset: 3% 2% auto; width: 96%; height: 72%; overflow: visible; }
.graph-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: .025 .02; }
.graph-point circle { fill: var(--paper-light); stroke: var(--ink); stroke-width: 2; }
.graph-point text { fill: var(--ink); font: 600 12px var(--sans); text-anchor: middle; }
.graph-evidence { position: absolute; right: 6%; bottom: 7%; left: 6%; display: grid; grid-template-columns: repeat(3, 1fr); color: var(--ink); background: var(--paper); }
.graph-evidence span { padding: 16px; display: flex; justify-content: space-between; gap: 10px; border-right: 1px solid rgba(241,238,229,.18); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.graph-evidence span:last-child { border-right: 0; }
.graph-evidence b { color: var(--accent); }
.image-visual { margin: 0; padding: clamp(28px, 4vw, 52px); display: grid; place-items: center; background: radial-gradient(circle at 92% 10%, rgba(255, 255, 255, .32), transparent 30%), linear-gradient(145deg, #c64d42, #9f342f); }
.image-visual img { width: 100%; height: auto; border: 1px solid rgba(7, 21, 27, .16); border-radius: 10px; box-shadow: 0 28px 70px rgba(7, 21, 27, .28); transform: rotate(.8deg); }
.image-visual figcaption { position: absolute; right: 20px; bottom: 18px; left: 20px; padding: 10px 13px; display: flex; justify-content: space-between; gap: 18px; color: var(--paper); background: rgba(241, 238, 229, .92); border-radius: 8px; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.image-visual figcaption strong { font-weight: 750; text-align: right; }
.visual-compact { min-height: 320px; }
.visual-compact .trace-phone { border-radius: 25px; }
.visual-compact .trace-screen { padding: 28px 13px 13px; border-radius: 19px; }
.visual-compact .trace-screen > strong { font-size: 16px; }
.visual-compact .trace-input, .visual-compact .trace-moods { display: none; }
.visual-compact .graph-evidence { display: none; }

.writing-interlude-wrap { width: var(--project-page); padding-bottom: var(--space-xl); }
.article-interlude { min-height: 440px; padding: clamp(34px, 6vw, 74px); display: grid; grid-template-columns: .34fr minmax(0, 1fr); gap: 28px; align-content: space-between; color: var(--paper-light); background: var(--accent); }
.article-interlude .eyebrow { color: #315845; }
.article-interlude blockquote { grid-column: 2; max-width: 800px; margin: 30px 0; font: 350 clamp(43px, 6vw, 78px)/.94 var(--serif); letter-spacing: -.035em; }
.article-interlude a { grid-column: 2; justify-self: start; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 650; }
.article-interlude[data-preview-theme="technology"] { color: var(--paper); background: var(--accent); }
.article-interlude[data-preview-theme="technology"] .eyebrow { color: #315845; }

.writing-home { padding-block: 48px 52px; }
.writing-archive { padding-block: var(--space-xl); }
.writing-list-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .52fr); gap: clamp(36px, 8vw, 100px); align-items: start; }
.writing-list-heading { max-width: 720px; margin-bottom: 60px; }
.writing-list-heading h2 { margin-bottom: 20px; font: 400 clamp(52px, 6.6vw, 88px)/.9 var(--serif); letter-spacing: -.05em; }
.writing-list-heading > p:last-child { max-width: 520px; color: var(--muted); font-family: var(--serif); font-size: 20px; }
.writing-list { border-top: 1px solid var(--ink); }
.writing-row { display: grid; grid-template-columns: 55px minmax(0, 1fr) 120px; gap: 18px; padding: 24px 0; align-items: start; border-bottom: 1px solid var(--line); transition: color .2s ease, transform .3s var(--ease-out); }
.writing-row:hover, .writing-row:focus-visible, .writing-row.is-active { color: var(--accent); transform: translateX(8px); }
.writing-row time, .writing-row-meta { color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.writing-row-main strong { display: block; font: 450 clamp(24px, 2.6vw, 36px)/1.03 var(--serif); }
.writing-row-main small { display: block; max-width: 520px; margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.writing-row-meta { text-align: right; }
.writing-preview { position: sticky; top: 92px; min-height: 470px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink); background: linear-gradient(145deg, #1b4038, #102b29 58%, #091d21); border: 1px solid rgba(185, 236, 145, .2); border-radius: 18px; box-shadow: 0 28px 70px rgba(0, 0, 0, .18); overflow: hidden; }
.writing-preview::before { content: ""; position: absolute; right: -15%; top: -12%; width: 85%; aspect-ratio: 1; border: 1px solid rgba(185,236,145,.18); border-radius: 50%; }
.writing-preview::after { content: ""; position: absolute; right: 14%; top: 13%; width: 48%; aspect-ratio: 1; border: 1px solid rgba(185,236,145,.12); border-radius: 50%; transform: rotate(-14deg); }
.writing-preview > * { position: relative; z-index: 2; }
.writing-preview-top { margin-bottom: auto; display: flex; justify-content: space-between; gap: 18px; color: var(--accent); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.writing-preview p { max-width: 330px; margin: 0; font: 400 clamp(29px, 3vw, 42px)/1.02 var(--serif); transition: opacity .18s ease, transform .25s var(--ease-out); }
.writing-preview-hint { margin-top: 22px; color: var(--ink-soft); font-size: 10px; line-height: 1.45; }
.writing-preview.is-changing p { opacity: 0; transform: translateY(8px); }
.archive-link { display: inline-block; margin-top: 34px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 650; }

.about-home { padding-block: 48px 58px; }
.about-home > .eyebrow { text-align: center; }
.about-home-grid { padding: clamp(30px, 5vw, 54px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr); gap: clamp(34px, 7vw, 86px); align-items: end; background: linear-gradient(145deg, #183638, #0b2228); border: 1px solid var(--line); border-radius: 18px; }
.about-home h2 { margin: 0; font: 400 clamp(46px, 5.8vw, 72px)/.92 var(--serif); letter-spacing: -.05em; }
.about-home-grid p { color: var(--muted); font-family: var(--serif); font-size: 20px; line-height: 1.45; }

@media (max-width: 900px) {
  .project-story { grid-template-columns: 1fr; }
  .project-copy { min-height: 560px; }
  .product-visual { min-height: 560px; }
  .writing-list-layout, .about-home-grid { grid-template-columns: 1fr; }
  .writing-preview { position: relative; top: 0; min-height: 330px; }
  .writing-list > .writing-preview { margin-block: 0 20px; }
}

@media (max-width: 720px) {
  .home-hero { min-height: 590px; padding: 96px 0 50px; }
  .hero-title { margin-top: 18px; font-size: clamp(54px, 15.5vw, 68px); line-height: 1; }
  .hero-copy { margin-top: 20px; font-size: 15px; }
  .hero-foot { margin-top: 24px; flex-direction: column; }
  .hero-foot .button { width: min(260px, 100%); }
  .hero-dot-grid { -webkit-mask-image: radial-gradient(ellipse 100% 78% at 50% 42%, #000 8%, rgba(0, 0, 0, .72) 58%, transparent 96%); mask-image: radial-gradient(ellipse 100% 78% at 50% 42%, #000 8%, rgba(0, 0, 0, .72) 58%, transparent 96%); }
  .work-home { padding-block: 38px 34px; }
  .selected-intro { padding-block: 0 28px; }
  .selected-intro h2 { font-size: 48px; }
  .project-story { border-radius: 18px; }
  .project-copy { min-height: 440px; padding: 30px 23px; }
  .project-copy h2 { font-size: 64px; }
  .product-visual { min-height: 430px; }
  .trace-phone { width: 48%; border-radius: 28px; }
  .trace-screen { padding: 30px 14px 15px; border-radius: 20px; }
  .trace-phone-back { left: 5%; }
  .trace-phone-front { right: 5%; }
  .graph-visual svg { inset: 5% -12% auto; width: 124%; }
  .graph-evidence { grid-template-columns: 1fr; }
  .graph-evidence span { padding: 9px 13px; border-right: 0; border-bottom: 1px solid rgba(241,238,229,.18); }
  .image-visual { min-height: 360px; padding: 20px; }
  .image-visual figcaption { right: 12px; bottom: 12px; left: 12px; }
  .article-interlude { min-height: 500px; grid-template-columns: 1fr; }
  .article-interlude blockquote, .article-interlude a { grid-column: auto; }
  .article-interlude blockquote { font-size: 43px; }
  .writing-row { grid-template-columns: 45px minmax(0, 1fr); }
  .writing-row-meta { display: none; }
  .writing-row-main strong { font-size: 27px; }
  .writing-preview { min-height: 300px; border-radius: 14px; }
  .writing-home { padding-block: 36px 42px; }
  .about-home { padding-block: 42px 52px; }
  .about-home-grid { padding: 28px 22px; }
  .about-home h2 { font-size: 57px; }
}

.archive-hero, .work-index-hero { padding-block: clamp(90px, 13vw, 160px) clamp(70px, 10vw, 120px); }
.writing-archive { padding-top: 0; border-top: 0; }

.article-page { padding-bottom: clamp(80px, 12vw, 150px); }
.article-header { padding-top: clamp(64px, 9vw, 110px); }
.article-header h1 { max-width: 1020px; margin-bottom: 28px; font: 380 clamp(64px, 9vw, 124px)/.88 var(--serif); letter-spacing: -.055em; }
.article-summary { max-width: 720px; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(21px, 2.2vw, 28px); line-height: 1.42; }
.article-byline { margin-top: 34px; padding-block: 15px; display: flex; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.article-prose { width: var(--reading); margin: clamp(70px, 9vw, 108px) auto 0; font-family: var(--serif); font-size: 20px; line-height: 1.68; }
.article-prose p { margin-bottom: 28px; }
.article-prose h2 { margin: 70px 0 22px; font: 450 clamp(35px, 4vw, 48px)/1.02 var(--serif); letter-spacing: -.025em; }
.article-prose h3 { margin: 48px 0 18px; font: 500 28px/1.1 var(--serif); }
.article-prose blockquote { width: min(920px, calc(100vw - 40px)); margin: 70px 50%; padding-block: 25px 18px; border-top: 1px solid var(--accent); border-bottom: 1px solid var(--accent); color: var(--accent); font: 380 clamp(32px, 4.3vw, 58px)/1.06 var(--serif); transform: translateX(-50%); }
.article-prose strong { font-weight: 650; }
.article-prose a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-prose ul, .article-prose ol { margin: 0 0 28px; padding-left: 24px; }
.article-prose li + li { margin-top: 9px; }
.article-prose pre { margin: 40px 0; padding: 24px; overflow: auto; color: var(--paper); background: var(--ink); font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }

.article-end { padding-bottom: clamp(90px, 13vw, 150px); }
.article-project { min-height: 400px; display: grid; grid-template-columns: .85fr 1.15fr; color: var(--ink); background: var(--paper-light); border: 1px solid var(--line); }
.article-project > div:first-child { padding: clamp(30px, 5vw, 60px); display: flex; align-items: flex-start; flex-direction: column; }
.article-project .eyebrow { color: var(--accent); }
.article-project h2 { margin: auto 0 18px; font: 400 clamp(52px, 6vw, 78px)/.9 var(--serif); }
.article-project p:not(.eyebrow) { max-width: 440px; color: var(--muted); }
.article-project span { margin-top: 25px; font-size: 12px; }
.article-project .product-visual { min-height: 400px; }
.next-article { margin-top: 45px; padding: 24px 0; display: grid; grid-template-columns: 130px minmax(0, 1fr) 130px; gap: 20px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); align-items: baseline; }
.next-article strong { font: 450 clamp(28px, 3.5vw, 44px)/1 var(--serif); }
.next-article > span { color: var(--muted); font-size: 10px; text-align: right; text-transform: uppercase; }

.work-index-list { padding-bottom: 90px; display: grid; gap: 20px; }
.work-index-row { min-height: 460px; display: grid; grid-template-columns: .8fr 1.2fr; background: linear-gradient(145deg, #183638, #0b2228); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.work-index-copy { padding: 38px 42px; display: flex; align-items: flex-start; flex-direction: column; }
.work-index-copy h2 { margin: auto 0 20px; font: 400 clamp(58px, 7vw, 94px)/.87 var(--serif); letter-spacing: -.05em; }
.work-index-copy > p:not(.eyebrow) { max-width: 500px; color: var(--muted); }
.work-index-copy > span { margin-top: 28px; padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: 12px; }
.work-index-row .product-visual { min-height: 460px; }

.project-page-header { padding-block: clamp(70px, 10vw, 120px) 55px; }
.project-page-header h1 { margin-bottom: 25px; font: 380 clamp(82px, 13vw, 170px)/.78 var(--serif); letter-spacing: -.065em; }
.project-page-lede { max-width: 720px; color: var(--ink-soft); font-family: var(--serif); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.34; }
.project-facts { margin: 52px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.project-facts div { padding: 15px 18px 0 0; }
.project-facts dt { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.project-facts dd { margin-top: 6px; font-size: 13px; }
.project-page-visual .product-visual { min-height: min(760px, 70vw); }
.project-page-visual .trace-phone { max-width: 310px; }
.project-prose { margin-block: clamp(90px, 12vw, 145px); }
.project-page-actions { padding-bottom: clamp(90px, 12vw, 150px); display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 60px; align-items: start; }
.project-status { margin: 0; padding-top: 14px; border-top: 1px solid var(--ink); }
.project-status span, .project-status strong { display: block; }
.project-status span { color: var(--muted); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.project-status strong { margin-top: 8px; font: 430 22px/1.1 var(--serif); }
.related-content { border-top: 1px solid var(--ink); }
.related-content .eyebrow { margin: 14px 0 28px; }
.related-content a { display: block; }
.related-content strong { display: block; font: 430 clamp(30px, 3.4vw, 44px)/1.04 var(--serif); }
.related-content span { display: block; max-width: 580px; margin-top: 12px; color: var(--muted); }

.about-page { background: radial-gradient(circle at -4% 39%, rgba(89, 161, 145, .27), transparent 28%), radial-gradient(circle at 104% 14%, rgba(185, 236, 145, .09), transparent 24%), linear-gradient(180deg, #07151b, #081a20 44%, #061219); }
.about-hero { position: relative; min-height: 720px; padding: 132px 0 76px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; isolation: isolate; }
.about-hero::before { content: ""; position: absolute; z-index: -3; inset: 0 auto 18px 50%; width: 100vw; background: radial-gradient(circle at 50% 37%, rgba(95, 167, 150, .2), rgba(44, 99, 96, .06) 31%, transparent 57%), radial-gradient(circle at 18% 30%, rgba(185, 236, 145, .05), transparent 18%), radial-gradient(circle at 82% 45%, rgba(238, 121, 76, .055), transparent 21%); transform: translateX(-50%); pointer-events: none; }
.about-hero::after { content: ""; position: absolute; z-index: -2; inset: 0 auto 18px 50%; width: 100vw; background-image: linear-gradient(rgba(169, 212, 203, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 212, 203, .075) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 76% 78% at 50% 43%, transparent 0 38%, #000 66%, transparent 100%); transform: translateX(-50%); opacity: .66; pointer-events: none; }
.about-hero > * { position: relative; z-index: 2; }
.about-avatar { width: 84px; height: 84px; padding: 5px; object-fit: cover; background: var(--ink); border: 1px solid var(--line); border-radius: 50%; }
.about-hero > .eyebrow { margin-top: 22px; }
.about-hero h1 { margin: 18px 0 0; font: 400 clamp(62px, 8vw, 104px)/.88 var(--serif); letter-spacing: -.06em; }
.about-hero h1 em { color: var(--accent); font-weight: 400; }
.about-hero-text { max-width: 600px; margin: 26px auto 0; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.story-strip { width: min(820px, 100%); margin-top: 58px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: center; }
.story-note { position: relative; min-width: 0; min-height: 150px; padding: 24px; display: flex; align-items: flex-start; flex-direction: column; justify-content: flex-end; text-align: left; background: linear-gradient(145deg, rgba(24, 53, 51, .96), rgba(12, 30, 34, .98)); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .18); isolation: isolate; overflow: hidden; }
.story-note::before, .personal-card::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,.45) 0 1px, transparent 1px); background-size: 12px 12px; pointer-events: none; }
.story-note > *, .personal-card > * { position: relative; z-index: 1; }
.story-note + .story-note { margin-left: -12px; }
.story-note-product { transform: rotate(-2deg); }
.story-note-writing { z-index: 2; min-height: 172px; color: var(--paper); background: linear-gradient(145deg, #dfe6d8, #b9d7c8); transform: rotate(1.5deg); }
.story-note-home { transform: rotate(2.5deg); }
.story-note span { color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.story-note-writing span { color: #426353; }
.story-note strong { margin-top: 8px; font: 400 28px/1 var(--serif); }
.story-note p { margin: 8px 0 0; color: var(--muted); font-size: 11px; }
.story-note-writing p { color: #4c5e57; }

.ticker-wrap { margin-block: 18px 4px; padding-block: 14px; overflow: hidden; }
.ticker { width: 100%; overflow: hidden; color: var(--paper); background: linear-gradient(90deg, var(--accent), #a9d4cb); clip-path: polygon(0 12%, 100% 0, 100% 88%, 0 100%); box-shadow: 0 12px 35px rgba(0, 0, 0, .16); }
.ticker div { width: max-content; padding: 11px 0; font-size: 10px; font-weight: 700; letter-spacing: .13em; white-space: nowrap; will-change: transform; animation: ticker-scroll 28s linear infinite; }
.ticker:hover div { animation-play-state: paused; }
.ticker i { display: inline-block; width: 5px; height: 5px; margin: 0 16px 2px; background: var(--paper); border-radius: 50%; }

.personal-section { padding-block: clamp(72px, 9vw, 118px); display: grid; grid-template-columns: minmax(220px, .68fr) minmax(0, 1.32fr); gap: clamp(34px, 7vw, 86px); align-items: start; }
.personal-intro { position: sticky; top: 110px; }
.personal-intro h2 { margin: 15px 0 0; font: 400 clamp(46px, 5vw, 68px)/.92 var(--serif); letter-spacing: -.05em; }
.personal-intro > p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
.personal-grid { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.personal-card { position: relative; min-width: 0; min-height: 230px; padding: 24px; background: radial-gradient(circle at 100% 0, rgba(121, 204, 184, .1), transparent 38%), linear-gradient(145deg, rgba(20, 47, 49, .96), rgba(7, 23, 29, .98)); border: 1px solid var(--line); border-radius: 16px; isolation: isolate; overflow: hidden; }
.personal-card h3 { max-width: 340px; margin: 14px 0 0; font: 400 clamp(30px, 3vw, 43px)/1 var(--serif); letter-spacing: -.04em; }
.personal-card > p:not(.personal-label) { max-width: 420px; margin: 17px 0 0; color: var(--muted); font-size: 13px; }
.personal-label { margin: 0; color: var(--accent); font-size: 9px; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.personal-card-read { min-height: 350px; grid-row: span 2; background: radial-gradient(circle at 15% 94%, rgba(185, 236, 145, .08), transparent 32%), linear-gradient(145deg, #153237, #091c23); }
.book-cover { position: absolute; right: 26px; bottom: -18px; width: 130px; height: 190px; padding: 22px 13px; color: #182329; background: #f1eee5; border: 8px solid #e2ddd0; box-shadow: -18px 18px 40px rgba(0, 0, 0, .3); transform: rotate(-4deg); }
.book-cover::after { content: ""; position: absolute; right: 22px; bottom: 32px; width: 54px; height: 54px; background: repeating-radial-gradient(circle, #17252a 0 1px, transparent 1px 4px); border-radius: 50%; }
.book-cover span { font: 400 15px/1.05 var(--serif); }
.personal-card-tools { color: var(--paper); background: linear-gradient(145deg, rgba(185, 236, 145, .92), rgba(169, 212, 203, .88)); }
.personal-card-tools .personal-label { color: #3d5b4b; }
.tool-list { margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.tool-list li, .quiet-tags span { padding: 8px 11px; background: rgba(7, 21, 27, .09); border: 1px solid rgba(7, 21, 27, .14); border-radius: 999px; font-size: 11px; font-weight: 700; }
.personal-card-offline { grid-column: 1 / -1; min-height: 260px; background: radial-gradient(circle at 88% 90%, rgba(185, 236, 145, .11), transparent 31%), linear-gradient(145deg, #163538, #091d24); }
.quiet-tags { position: absolute; right: 22px; bottom: 22px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.quiet-tags span { color: var(--paper); background: var(--accent); border-color: transparent; }

.principles-section { position: relative; padding-block: clamp(78px, 10vw, 126px); }
.principles-intro { max-width: 760px; margin-inline: auto; text-align: center; }
.principles-intro h2 { margin: 14px 0 0; font: 400 clamp(48px, 5.5vw, 72px)/.92 var(--serif); letter-spacing: -.05em; }
.principles-intro > p:last-child { max-width: 560px; margin: 16px auto 0; color: var(--muted); font-size: 15px; }
.principle-list { width: min(850px, 100%); margin: 48px auto 0; padding: 0; list-style: none; }
.principle-list li { min-width: 0; padding: 25px 0; display: grid; grid-template-columns: 54px minmax(180px, .7fr) minmax(0, 1fr); gap: 24px; align-items: start; border-top: 1px solid var(--line); }
.principle-list li > span { color: var(--accent); font-size: 10px; font-weight: 750; letter-spacing: .12em; }
.principle-list h3 { margin: 0; font: 400 29px/1.05 var(--serif); }
.principle-list p { margin: 0; color: var(--muted); font-size: 14px; }

@media (max-width: 820px) {
  .article-project, .work-index-row { grid-template-columns: 1fr; }
  .work-index-copy { min-height: 390px; }
  .work-index-row .product-visual { min-height: 420px; }
  .project-page-actions { grid-template-columns: 1fr; }
  .personal-section { grid-template-columns: 1fr; }
  .personal-intro { position: static; max-width: 600px; }
}

@media (max-width: 720px) {
  .article-header h1 { font-size: clamp(58px, 17vw, 82px); }
  .article-prose { font-size: 18px; line-height: 1.68; }
  .article-prose blockquote { font-size: 32px; }
  .article-project .product-visual { min-height: 320px; }
  .next-article { grid-template-columns: 1fr; }
  .next-article > span { text-align: left; }
  .project-facts { grid-template-columns: 1fr; }
  .project-facts div { padding-block: 13px; border-bottom: 1px solid var(--line); }
  .about-hero { min-height: auto; padding: 112px 0 58px; }
  .about-hero::after { background-size: 44px 44px; mask-image: radial-gradient(ellipse 94% 80% at 50% 42%, transparent 0 50%, #000 78%, transparent 100%); opacity: .5; }
  .about-avatar { width: 70px; height: 70px; }
  .about-hero h1 { font-size: 59px; line-height: 1; }
  .about-hero-text { margin-top: 22px; font-size: 15px; }
  .story-strip { margin-top: 42px; grid-template-columns: 1fr; gap: 10px; }
  .story-note { min-height: 126px; }
  .story-note + .story-note { margin-left: 0; }
  .story-note-product, .story-note-writing, .story-note-home { transform: none; }
  .ticker div { padding-block: 9px; font-size: 8px; }
  .personal-section { padding-block: 58px; gap: 30px; }
  .personal-intro h2 { font-size: 48px; }
  .personal-grid { grid-template-columns: 1fr; }
  .personal-card-read, .personal-card-offline { grid-column: auto; grid-row: auto; }
  .personal-card-read { min-height: 320px; }
  .book-cover { width: 116px; height: 172px; }
  .quiet-tags { position: static; margin-top: 24px; justify-content: flex-start; }
  .principles-section { padding-block: 62px; }
  .principle-list { margin-top: 30px; }
  .principle-list li { grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
  .principle-list p { grid-column: 2; }
}

.js .reveal, .js .reveal-line {
  opacity: 0;
  transform: translateY(24px);
}

.js .reveal {
  transition: opacity .7s ease, transform .8s var(--ease-out);
}

.js .reveal-line {
  transition: opacity .8s ease, transform 1s var(--ease-out);
}

.js .reveal.is-visible, .js .reveal-line.is-visible {
  opacity: 1;
  transform: none;
}

.js .hero-title .reveal-line:nth-child(2) { transition-delay: 100ms; }
.js .hero-title .reveal-line:nth-child(3) { transition-delay: 200ms; }

.js .project-story .product-visual::after {
  content: "";
  position: absolute;
  z-index: 10;
  inset: 0;
  background: #17352f;
  transform: translateX(0);
  transform-origin: right;
  transition: transform .9s var(--ease-spring) .18s;
  pointer-events: none;
}

.js .project-story.is-visible .product-visual::after {
  transform: translateX(101%);
}

.js .project-creative-graph .product-visual::after {
  background: var(--accent);
}

@supports (animation-timeline: view()) {
  .graph-line {
    stroke-dashoffset: 1;
    animation: draw-path linear both;
    animation-timeline: view();
    animation-range: entry 10% cover 55%;
  }
}

@supports (view-transition-name: none) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) {
    background-color: #07151b;
    animation-duration: .35s;
  }
}

@keyframes draw-path { to { stroke-dashoffset: 0; } }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal, .js .reveal-line { opacity: 1; transform: none; }
  .js .project-story .product-visual::after { display: none; }
  .ticker div { animation: none; transform: none; }
}
