:root {
  --ink: #20251f;
  --ink-soft: #4f5e54;
  --muted: #748077;
  --line: rgba(32, 37, 31, 0.18);
  --leaf: #587064;
  --leaf-pale: #e7eee4;
  --sand: #e5d4b8;
  --clay: #aa6938;
  --paper: rgba(245, 246, 239, 0.68);
  --serif: "Noto Serif SC", "Newsreader", ui-serif, serif;
  --sans: "IBM Plex Sans", "Noto Sans SC", ui-sans-serif, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--leaf-pale); color: var(--ink); font-family: var(--sans); }
main, .site-footer { position: relative; z-index: 2; }
main { display: flex; flex-direction: column; }
#top { order: 0; }
#work { order: 1; }
#arc { order: 2; }
#career { order: 3; }
#ideas { order: 4; }
#contact { order: 5; }
a { color: inherit; }
button { color: inherit; }
::selection { background: var(--leaf); color: #f7f5ec; }
.page-shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: 12px; padding: 10px 14px; background: var(--ink); color: white; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 4px; }
.ambient-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 1; }
.ambient-veil { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, rgba(231,238,228,.28), rgba(245,246,239,.2) 42%, rgba(231,238,228,.34)); backdrop-filter: blur(12px) saturate(1.04); }
.site-header { position: sticky; top: 0; z-index: 20; min-height: 70px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid var(--line); background: rgba(231, 238, 228, 0.78); backdrop-filter: blur(14px); }
.brand { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-decoration: none; }
.brand-divider { margin: 0 8px; color: var(--muted); }
.primary-nav { display: flex; gap: 24px; }
.primary-nav a { font: 12px/1 var(--mono); text-decoration: none; color: var(--ink-soft); }
.primary-nav a.active { color: var(--clay); }
.language-toggle, .menu-toggle { justify-self: end; border: 1px solid var(--line); background: transparent; border-radius: 999px; min-width: 42px; padding: 7px 11px; font: 500 11px/1 var(--mono); cursor: pointer; }
.menu-toggle { display: none; }
.hero { min-height: auto; padding: clamp(42px, 7vw, 82px) 0 clamp(76px, 10vw, 130px); display: flex; flex-direction: column; justify-content: flex-start; }
.eyebrow, .kicker, .project-type, .record-label, .arc-meta { font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--leaf); }
.eyebrow { display: flex; justify-content: space-between; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
h1 { margin: 0; font-family: var(--serif); font-weight: 500; }
.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.hero-facts div { display: flex; align-items: baseline; gap: 14px; padding: 18px 22px 0 0; border-right: 1px solid var(--line); }
.hero-facts div + div { padding-left: 22px; }
.hero-facts div:last-child { border-right: 0; }
.hero-facts strong { font: 400 30px/1 var(--serif); }
.hero-facts span { font-size: 12px; color: var(--muted); }
.section { padding: clamp(90px, 12vw, 160px) 0; }
.section-heading { display: grid; grid-template-columns: 58px 1fr; margin-bottom: clamp(48px, 7vw, 88px); }
.section-number { font: 12px/1 var(--mono); color: var(--leaf); padding-top: 7px; }
.section-heading h2, .now-copy h2, .contact-section h2 { margin: 8px 0 0; font: 500 clamp(38px, 5vw, 68px)/1.08 var(--serif); letter-spacing: -.04em; }
.arc-list { border-top: 1px solid var(--line); }
.arc-item { display: grid; grid-template-columns: 58px .8fr 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.arc-index { font: 13px/1 var(--mono); color: var(--muted); }
.arc-item h3 { grid-column: 2; margin: 9px 0 0; font: 500 clamp(23px, 2.6vw, 34px)/1.2 var(--serif); }
.arc-item > div { display: grid; grid-template-columns: .8fr 1fr; grid-column: 2 / 4; gap: 32px; }
.arc-item > div p:last-child { grid-column: 2; grid-row: 1 / 3; margin: 0; color: var(--ink-soft); line-height: 1.75; }
.arc-item-current { background: rgba(229, 212, 184, .38); margin-inline: -24px; padding-inline: 24px; }
.now-section { display: grid; grid-template-columns: .35fr 1fr .7fr; gap: clamp(36px, 6vw, 86px); padding: clamp(54px, 7vw, 90px); background: var(--sand); }
.now-label { display: flex; flex-direction: column; justify-content: space-between; font: 500 12px/1 var(--mono); letter-spacing: .14em; }
.now-copy h2 { font-size: clamp(34px, 4vw, 56px); }
.now-copy > p:last-child { margin: 28px 0 0; line-height: 1.8; color: var(--ink-soft); }
.now-list { list-style: none; margin: 0; padding: 0; align-self: end; border-top: 1px solid rgba(32,37,31,.25); }
.now-list li { padding: 16px 0; border-bottom: 1px solid rgba(32,37,31,.25); }
.now-list span, .now-list strong { display: block; }
.now-list span { margin-bottom: 7px; font: 11px/1 var(--mono); color: var(--ink-soft); }
.now-list strong { font: 500 14px/1.5 var(--sans); }
.portrait-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hero-portraits { margin-top: clamp(34px, 5vw, 58px); }
.portrait-card { position: relative; min-height: 640px; perspective: 1400px; }
.flip-card-inner { position: relative; width: 100%; height: 100%; min-height: 640px; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.flip-card:hover .flip-card-inner, .flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-card-face { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); background: rgba(245, 246, 239, .52); backface-visibility: hidden; overflow: hidden; }
.flip-card-back { transform: rotateY(180deg); }
.portrait-card-dark .flip-card-face { background: var(--ink); color: #eef1e8; }
.portrait-card-dark dt, .portrait-card-dark .portrait-label { color: #b9c7bb; }
.flip-card { cursor: pointer; }
.flip-card:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; }
.portrait-card-dark.flip-card:focus-visible { outline-color: #eef1e8; }
.portrait-image { flex: 0 0 300px; margin: 0 0 24px; height: 300px; border: 1px solid rgba(116,128,119,.28); overflow: hidden; background: rgba(229,212,184,.28); }
.portrait-image img { width: 100%; height: 100%; display: block; object-fit: contain; filter: saturate(.92) contrast(.96); }
.portrait-card-dark .portrait-image { border-color: rgba(238,241,232,.22); background: rgba(238,241,232,.08); }
.portrait-label { margin: 0 0 32px; font: 500 11px/1 var(--mono); letter-spacing: .12em; color: var(--leaf); }
.portrait-card h3 { margin: 0 0 34px; max-width: 10em; font: 500 clamp(30px, 4vw, 54px)/1.08 var(--serif); letter-spacing: -.04em; }
.flip-card-front > p:last-child { margin: auto 0 0; max-width: 25em; color: var(--ink-soft); line-height: 1.75; }
.portrait-card-dark .flip-card-front > p:last-child { color: #c7d0c8; }
.portrait-card dl { margin: 0; display: grid; gap: 18px; }
.portrait-card dl > div { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding-top: 16px; border-top: 1px solid rgba(116,128,119,.35); }
.portrait-card dt { font: 11px/1.4 var(--mono); color: var(--muted); }
.portrait-card dd { margin: 0; line-height: 1.65; }
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project { min-width: 0; background: var(--paper); border: 1px solid var(--line); }
.project-featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.project-visual { aspect-ratio: 16/10; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; overflow: hidden; }
.project-visual span { font: 12px/1 var(--mono); }
.project-visual strong { font: 500 clamp(42px, 6vw, 88px)/.82 var(--serif); letter-spacing: -.06em; }
.visual-agent { background: #5c7065; color: #eef1e8; }
.visual-ip { background: #dfc69f; }
.visual-ip img { height: 100%; max-height: none; object-fit: cover; object-position: center center; }
.visual-game { background: #252d28; color: #e9eee7; }
.visual-social { background: #cad6cb; }
.project-copy { padding: 26px; }
.project-copy h3 { margin: 10px 0 14px; font: 500 clamp(25px, 3vw, 38px)/1.1 var(--serif); }
.project-copy > p:not(.project-type) { margin: 0; line-height: 1.7; color: var(--ink-soft); }
.project-copy a, .demo-status { display: inline-flex; gap: 10px; margin-top: 28px; font: 500 12px/1 var(--mono); text-decoration: none; border-bottom: 1px solid; padding-bottom: 5px; }
.demo-status { color: var(--muted); border-bottom-style: dashed; }
.demo-status-plain { border-bottom: 0; padding-bottom: 0; }
.product-chapter { margin-top: clamp(58px, 8vw, 96px); }
.product-chapter:first-of-type { margin-top: 0; }
.chapter-heading { display: grid; grid-template-columns: .55fr 1fr; gap: 42px; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.chapter-heading > p:last-child { margin: 0; max-width: 46em; line-height: 1.8; color: var(--ink-soft); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-grid-featured { align-items: stretch; }
.product-card, .career-product { background: var(--paper); border: 1px solid var(--line); }
.product-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; overflow: hidden; }
.media-placeholder { width: 100%; max-width: 100%; min-height: 260px; aspect-ratio: 16 / 11; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; overflow: hidden; }
.media-image { position: relative; width: 100%; max-width: 100%; min-height: 260px; aspect-ratio: 16 / 11; margin: 0; overflow: hidden; background: rgba(229,212,184,.32); }
.media-image img { width: 100%; max-width: 100%; height: 100%; max-height: 100%; min-height: 260px; display: block; object-fit: contain; filter: saturate(.92) contrast(.98); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.media-image figcaption { position: absolute; left: 18px; bottom: 18px; padding: 8px 10px; background: rgba(245,246,239,.82); color: var(--ink); font: 500 11px/1 var(--mono); letter-spacing: .04em; backdrop-filter: blur(10px); }
.product-card:hover .media-image img { transform: scale(1.035); }
.media-faraway-tree img { object-fit: cover; object-position: 50% 22%; }
.media-faraway-tree figcaption { color: #f0efe2; background: rgba(91, 104, 73, .7); }
.media-carousel { position: absolute; inset: 0; perspective: 1200px; isolation: isolate; }
.media-carousel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; overflow: hidden; }
.media-carousel-slot { min-width: 0; min-height: 0; overflow: hidden; perspective: 1200px; }
.media-carousel-slot-inner { position: relative; width: 100%; height: 100%; min-height: 0; transform-style: preserve-3d; transition: transform .88s cubic-bezier(.22,.72,.2,1); }
.media-carousel-slot.is-flipped .media-carousel-slot-inner { transform: rotateY(180deg); }
.media-carousel-face { position: absolute; inset: 0; overflow: hidden; backface-visibility: hidden; }
.media-carousel-face[data-harness-face="front"] { transform: rotateY(0deg); }
.media-carousel-face[data-harness-face="back"] { transform: rotateY(180deg); }
.media-carousel-frame { width: 100%; max-width: 100%; min-height: 0 !important; height: 100%; max-height: 100%; object-fit: cover !important; object-position: center center; border: 1px solid rgba(245, 246, 239, .2); background: rgba(255,255,255,.06); }
.media-carousel figcaption { z-index: 3; }
.media-placeholder span { font: 500 11px/1 var(--mono); letter-spacing: .08em; color: currentColor; opacity: .78; }
.media-placeholder strong { max-width: 100%; margin-top: 80px; font: 500 clamp(36px, 4.4vw, 62px)/.9 var(--serif); letter-spacing: -.05em; overflow-wrap: break-word; }
.visual-tree { background: #6e7655; color: #f0efe2; }
.visual-brand { background: #d8ccb1; color: var(--ink); }
.media-brand-hero { justify-self: start; align-self: center; box-sizing: border-box; width: min(100%, 480px); height: clamp(180px, 18vw, 260px); min-height: 0; aspect-ratio: auto; padding: 0; border: 1px solid var(--line); overflow: hidden; background: rgba(245,246,239,.58); }
.media-brand-hero img { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 42% 68%; }
.visual-delivery { background: #d7c3a2; color: var(--ink); }
.visual-erp { background: #e7eee4; color: var(--ink-soft); }
.product-copy { display: flex; flex-direction: column; padding: 24px; }
.product-copy h3 { margin: 10px 0 14px; font: 500 clamp(24px, 2.7vw, 34px)/1.15 var(--serif); letter-spacing: -.03em; }
.product-copy > p:not(.project-type):not(.access-note) { margin: 0; line-height: 1.75; color: var(--ink-soft); }
.access-note { margin: auto 0 0; padding-top: 22px; font: 500 12px/1.55 var(--mono); color: var(--leaf); }
.inline-link { display: inline-flex; gap: 8px; margin-top: 18px; font: 500 12px/1 var(--mono); text-decoration: none; border-bottom: 1px solid; padding-bottom: 5px; color: var(--leaf); }
.inline-link-plain { border-bottom: 0; padding-bottom: 0; }
.product-card .inline-link { margin-top: auto; padding-top: 22px; }
.product-card .demo-status { margin-top: auto; padding-top: 22px; }
.product-grid-brand { grid-template-columns: minmax(0, 1fr); }
.product-card-brand { max-width: 100%; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); grid-template-rows: auto auto; border: 0; background: transparent; overflow: visible; }
.product-card-brand .product-copy { padding: 34px; align-self: center; }
.product-card-brand .product-copy > p { max-width: 34em; }
.brand-feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; }
.brand-feature-grid-detached { grid-column: 1 / -1; margin-top: clamp(34px, 5vw, 62px); padding-top: clamp(28px, 4vw, 46px); border-top: 1px solid var(--line); }
.brand-feature-card { padding: 10px 24px 24px; min-width: 0; }
.brand-feature-card + .brand-feature-card { border-left: 1px solid var(--line); }
.brand-feature-card h4 { margin: 0 0 24px; font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--leaf); }
.brand-carousel { position: relative; }
.brand-carousel-card { display: block; aspect-ratio: 1 / 1; height: auto; max-height: 360px; perspective: 1200px; overflow: hidden; text-decoration: none; }
.brand-carousel-card-inner { display: block; position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .82s cubic-bezier(.22,.72,.2,1); }
.brand-carousel-card.is-flipped .brand-carousel-card-inner { transform: rotateY(180deg); }
.brand-carousel-face { display: block; position: absolute; inset: 0; backface-visibility: hidden; overflow: hidden; background: rgba(229,212,184,.18); }
.brand-carousel-face::after { content: ""; position: absolute; inset: 0; background: rgba(214, 232, 207, .22); pointer-events: none; }
.brand-carousel-face img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; display: block; object-fit: cover; object-position: top center; background: rgba(245,246,239,.52); transition: transform .45s ease; }
.brand-carousel-face img.crop-center { object-position: center center; }
.brand-carousel-card:hover .brand-carousel-face img { transform: scale(1.02); }
.brand-carousel-face-back { transform: rotateY(180deg); }
.product-details { margin-top: 22px; border-top: 1px solid var(--line); overflow: hidden; }
.product-details summary { list-style: none; cursor: pointer; padding: 16px 0 2px; font: 500 12px/1 var(--mono); color: var(--clay); }
.product-details summary::-webkit-details-marker { display: none; }
.product-details summary::after { content: "+"; float: right; color: var(--muted); transition: transform .25s ease; }
.product-details[open] summary::after { transform: rotate(45deg); }
.product-details ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-soft); line-height: 1.75; }
.product-details p { margin: 14px 0 0; color: var(--ink-soft); line-height: 1.75; }
.career-product-list { border-top: 0; }
.career-product { display: grid; grid-template-columns: 300px minmax(430px, .95fr) 1fr; gap: 34px; padding: 30px 30px; border-top: 0; border-left: 0; border-right: 0; background: transparent; align-items: start; }
.career-product:has(.career-product-media) { grid-template-columns: 300px minmax(430px, .95fr) 1fr; align-items: start; }
.career-product-media { width: 100%; min-width: 0; }
.image-pair { height: 209px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.image-pair img { box-sizing: border-box; width: 100%; height: 100%; display: block; padding: 8px; object-fit: contain; border: 1px solid var(--line); background: rgba(229,212,184,.26); filter: saturate(.9) contrast(.98); }
.image-zoom { min-width: 0; height: 100%; display: block; overflow: hidden; text-decoration: none; }
.brand-carousel-card.image-zoom { height: auto; }
.image-pair-crop img { padding: 0; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.image-pair-soul img { object-position: center 6%; }
.image-pair-crop .image-zoom:hover img { transform: scale(1.03); }
.career-media-placeholder { min-height: 209px; display: flex; flex-direction: column; justify-content: space-between; padding: 18px; border: 1px solid var(--line); }
.career-media-placeholder span { font: 500 11px/1 var(--mono); letter-spacing: .12em; opacity: .72; }
.career-media-placeholder strong { margin-top: auto; font: 500 27px/.9 var(--serif); letter-spacing: -.04em; }
.career-product h3 { margin: 0 0 12px; font: 500 30px/1.15 var(--serif); white-space: nowrap; }
.career-product .career-time { margin-bottom: 12px; color: rgba(79, 94, 84, .72); letter-spacing: .08em; }
.career-product > div > p:last-child { margin: 0; color: var(--ink-soft); line-height: 1.65; }
.career-product .product-details { margin-top: 0; border-top: 0; }
.career-time, .career-role { margin: 0; font: 12px/1.5 var(--mono); color: var(--muted); }
.education { margin-top: 80px; display: grid; grid-template-columns: 1fr; border-top: 0; }
.education > * { padding: 24px 20px 24px 0; }
.education > div { border-left: 0; padding-left: 24px; }
.education span, .education small, .education strong, .education em { display: block; }
.education span { font: 11px/1 var(--mono); color: var(--muted); }
.education small { margin-top: 12px; font: 12px/1 var(--mono); color: var(--leaf); letter-spacing: .08em; }
.education strong { margin-top: 14px; font: 500 28px/1 var(--serif); }
.education em { margin-top: 10px; font: 400 13px/1.4 var(--sans); color: var(--muted); }
.education-expanded { margin-top: 0; grid-template-columns: 1fr; gap: 0; }
.education-track { display: grid; grid-template-columns: repeat(2, 1fr); border-left: 0; }
.education-track article { padding: 10px 24px 24px; border-right: 1px solid var(--line); }
.education-track article:last-child { border-right: 0; }
.education-visual { width: 100%; height: clamp(120px, 12vw, 165px); margin: 0 0 18px; overflow: hidden; color: var(--leaf); background: linear-gradient(135deg, rgba(229,212,184,.18), rgba(231,238,228,.42)); }
.education-visual svg { width: 100%; height: 100%; display: block; }
.education-sketch { opacity: 0; animation: educationSketchCycle 32s ease-in-out infinite; }
.education-sketch-b { animation-delay: 4s; }
.education-sketch-c { animation-delay: 8s; }
.education-sketch-d { animation-delay: 12s; }
.education-sketch-e { animation-delay: 16s; }
.education-sketch-f { animation-delay: 20s; }
.education-sketch-g { animation-delay: 24s; }
.education-sketch-h { animation-delay: 28s; }
.education-sketch :is(path, line, circle, ellipse, rect) { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 560; stroke-dashoffset: 560; animation: educationLineDraw 32s ease-in-out infinite; }
.education-sketch .education-frame { display: none; }
.education-sketch-b :is(path, line, circle, ellipse, rect) { animation-delay: 4s; }
.education-sketch-c :is(path, line, circle, ellipse, rect) { animation-delay: 8s; }
.education-sketch-d :is(path, line, circle, ellipse, rect) { animation-delay: 12s; }
.education-sketch-e :is(path, line, circle, ellipse, rect) { animation-delay: 16s; }
.education-sketch-f :is(path, line, circle, ellipse, rect) { animation-delay: 20s; }
.education-sketch-g :is(path, line, circle, ellipse, rect) { animation-delay: 24s; }
.education-sketch-h :is(path, line, circle, ellipse, rect) { animation-delay: 28s; }
.education-visual-design { color: var(--clay); }
.education-track article p, .education-summary p { margin: 22px 0 0; color: var(--ink-soft); line-height: 1.8; }
.education-summary { grid-column: 1; display: grid; grid-template-columns: .26fr 1fr; gap: 28px; margin-top: 24px; padding: 28px 32px; background: rgba(229,212,184,.34); border-left: 0; }
.education-summary strong { grid-column: 2; grid-row: 1; }
.education-summary em { grid-column: 1; grid-row: 2; align-self: start; }
.education-summary p { grid-column: 2; grid-row: 2; margin-top: 0; }
.records-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.record { min-height: 310px; display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-current { background: rgba(229,212,184,.48); }

@keyframes educationSketchCycle {
  0%, 2% { opacity: 0; }
  4%, 10% { opacity: .9; }
  12.5%, 100% { opacity: 0; }
}

@keyframes educationLineDraw {
  0%, 2% { stroke-dashoffset: 560; }
  5%, 10% { stroke-dashoffset: 0; }
  13%, 100% { stroke-dashoffset: 560; }
}
.record time { font: 12px/1.4 var(--mono); color: var(--leaf); }
.record h3 { margin: 10px 0 18px; font: 500 28px/1.2 var(--serif); }
.record div > p:last-child { margin: 0; line-height: 1.75; color: var(--ink-soft); }
.ideas-section { padding: clamp(100px, 14vw, 180px) 0; }
.idea-fields { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 clamp(44px, 6vw, 74px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.idea-fields article { min-width: 0; padding: 26px 24px 30px; border-right: 1px solid var(--line); }
.idea-fields article:last-child { border-right: 0; }
.idea-fields span { display: block; margin-bottom: 42px; font: 500 12px/1 var(--mono); color: rgba(79, 94, 84, .58); letter-spacing: .12em; }
.idea-fields h3 { margin: 0 0 14px; font: 600 clamp(18px, 1.55vw, 24px)/1.2 var(--sans); color: var(--leaf); letter-spacing: .02em; }
.idea-fields p { margin: 0; font: 400 15px/1.75 var(--sans); color: var(--ink-soft); }
.idea-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.idea-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 28px; padding: 38px 0; border-bottom: 1px solid var(--line); }
.idea-list span { width: 8px; height: 8px; margin-top: .9em; border-radius: 50%; background: var(--leaf); }
.idea-list p { max-width: 100%; margin: 0; font: 400 clamp(16px, 1.35vw, 20px)/1.85 var(--sans); color: var(--ink-soft); line-break: loose; word-break: normal; overflow-wrap: normal; text-wrap: pretty; }
.contact-section { padding: clamp(72px, 10vw, 130px); background: var(--leaf); color: #f2f1e8; }
.contact-section .kicker { color: #ccd8ce; }
.contact-section h2 { max-width: none; white-space: nowrap; }
.email-link { display: inline-block; margin-top: 42px; font: 400 clamp(16px, 2vw, 25px)/1 var(--mono); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 8px; }
.studio-name { margin: 22px 0 0; color: #d7dfd6; font: 500 13px/1.5 var(--mono); }
.site-footer { min-height: 100px; display: flex; justify-content: space-between; align-items: center; font: 11px/1 var(--mono); color: var(--ink-soft); }
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 10px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 69px; left: 0; right: 0; padding: 24px; background: rgba(231,238,228,.97); border-bottom: 1px solid var(--line); }
  .primary-nav.open { display: grid; gap: 20px; }
  .arc-item > div { grid-template-columns: 1fr; }
  .arc-item h3 { grid-column: 1; }
  .arc-item > div p:last-child { grid-column: 1; grid-row: auto; }
  .now-section { grid-template-columns: 1fr 1.6fr; padding: 48px; }
  .now-list { grid-column: 2; }
  .portrait-grid, .product-grid { grid-template-columns: 1fr; }
  .product-card-brand { grid-template-columns: 1fr; }
  .product-card-brand .product-copy { padding: 24px; }
  .chapter-heading { grid-template-columns: 1fr; gap: 12px; }
  .project-featured { grid-template-columns: 1fr; }
  .career-product, .career-product:has(.career-product-media) { grid-template-columns: 1fr; gap: 12px; padding-inline: 0; }
  .career-product h3 { white-space: normal; }
  .image-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 420px; }
  .career-media-placeholder { max-width: 420px; }
  .brand-feature-grid { grid-template-columns: 1fr; }
  .brand-feature-card { padding-inline: 0; }
  .brand-feature-card + .brand-feature-card { border-left: 0; border-top: 1px solid var(--line); }
  .brand-carousel-card,
  .brand-carousel-card.image-zoom { height: auto; max-height: 320px; }
  .idea-fields { grid-template-columns: repeat(2, 1fr); }
  .idea-fields article:nth-child(2n) { border-right: 0; }
  .idea-fields article:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 32px); }
  .site-header { padding-inline: 16px; }
  .brand-divider, .brand-secondary, .brand-tertiary { display: none; }
  .hero { min-height: auto; padding-top: 42px; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts div, .hero-facts div + div { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 40px 1fr; }
  .arc-item { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .arc-index { margin-bottom: -4px; }
  .arc-item > div { grid-column: 1; gap: 12px; }
  .arc-meta { max-width: none; white-space: normal; letter-spacing: .08em; }
  .arc-item h3 { grid-column: 1; max-width: 100%; font-size: clamp(24px, 8vw, 34px); }
  .arc-item > div p:last-child { font-size: 15px; line-height: 1.8; }
  .arc-item-current { margin-inline: 0; padding-inline: 0; }
  .now-section { width: 100%; grid-template-columns: 1fr; gap: 34px; padding: 44px 24px; }
  .now-label { flex-direction: row; }
  .now-list { grid-column: 1; }
  .work-grid, .records-grid { grid-template-columns: 1fr; }
  .portrait-card dl > div { grid-template-columns: 1fr; gap: 8px; }
  .portrait-card, .flip-card-inner { min-height: 680px; }
  .portrait-image { flex-basis: 260px; height: 260px; }
  .media-placeholder { min-height: 220px; }
  .media-image, .media-image img { min-height: 220px; }
  .career-media-placeholder { min-height: 150px; }
  .brand-carousel-card,
  .brand-carousel-card.image-zoom { height: auto; max-height: 260px; }
  .education { grid-template-columns: 1fr; }
  .education > div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .education-track { grid-template-columns: 1fr; border-left: 0; }
  .education-track article { border-right: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .education-summary { grid-column: 1; grid-template-columns: 1fr; gap: 12px; margin-top: 18px; padding: 24px; border-left: 0; }
  .education-summary p { grid-column: 1; }
  .project-featured { grid-column: auto; display: block; }
  .project-visual { aspect-ratio: 4/3; }
  .record { grid-template-columns: 1fr; min-height: 0; }
  .idea-fields { grid-template-columns: 1fr; }
  .idea-fields article,
  .idea-fields article:nth-child(2n) { border-right: 0; }
  .idea-fields article + article { border-top: 1px solid var(--line); }
  .idea-fields span { margin-bottom: 20px; }
  .idea-list li { grid-template-columns: 36px 1fr; gap: 10px; }
  .contact-section { width: 100%; padding: 70px 24px; }
  .contact-section h2 { white-space: normal; }
  .email-link { font-size: 13px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ambient-canvas { display: none; }
  .flip-card-inner { transition: none; }
  .education-sketch { opacity: 0; animation: none; }
  .education-sketch-a { opacity: .9; }
  .education-sketch :is(path, line, circle, ellipse, rect) { stroke-dashoffset: 0; animation: none; }
}
