:root {
  --cream: #f6f1e6;
  --paper: #fffaf0;
  --ink: #151416;
  --red: #e22e2b;
  --red-deep: #c91e1f;
  --lime: #e4f653;
  --warm: #f4cfac;
  --muted: #5c5b58;
  --mono: 'Space Mono', 'Courier New', monospace;
  --body: 'DM Sans', Arial, sans-serif;
  --display: 'Archivo Black', Impact, 'Arial Black', sans-serif;
  --edge: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 4px solid #237dcb; outline-offset: 4px; }
.wrapper { width: min(1300px, calc(100% - 88px)); margin: 0 auto; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 200; background: var(--lime); padding: 12px; font-weight: 800; }
.skip-link:focus { top: 12px; }

/* NAV */
.topline { height: 26px; display: flex; justify-content: center; align-items: center; gap: 11px; background: var(--red); border-bottom: 2px solid var(--ink); color: var(--paper); font: 700 9px var(--mono); letter-spacing: .07em; text-align: center; }
.topline span { color: var(--lime); font-size: 13px; }
.site-header { position: relative; background: var(--cream); z-index: 40; border-bottom: var(--edge); }
.nav-shell { min-height: 84px; display: flex; align-items: center; gap: 40px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-box { display: flex; justify-content: center; align-items: center; color: var(--cream); background: var(--ink); font: 900 29px var(--display); letter-spacing: -.12em; width: 63px; height: 51px; transform: rotate(-3deg); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--red); }
.brand-box span { color: var(--lime); }
.brand-caption { position: relative; font: 800 11px/1.18 var(--mono); letter-spacing: -.045em; }
.caption-star { position: absolute; color: var(--red); font-size: 14px; margin-left: 4px; }
.desktop-nav { display: flex; align-items: center; gap: 36px; margin: auto; }
.desktop-nav a { font: 800 12px var(--mono); letter-spacing: -.015em; transition: color .2s; }
.desktop-nav a span { color: var(--red); vertical-align: super; font-size: 8px; }
.desktop-nav a:hover { color: var(--red); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; white-space: nowrap; border: var(--edge); border-radius: 0; min-height: 52px; padding: 14px 19px; font: 800 12px var(--mono); transition: transform .18s ease, box-shadow .18s ease, background .18s; }
.button span { font-size: 22px; line-height: 0; }
.button-black { color: var(--cream); background: var(--ink); }
.button-black:hover { background: var(--red); }
.button-red { background: var(--red); color: white; }
.button-red:hover { background: #c52120; }
.button-cream { background: var(--cream); color: var(--ink); }
.button-cream:hover { background: var(--lime); }
.button-outline { background: transparent; }
.button-outline:hover { background: var(--lime); }
.btn-shadow { box-shadow: 6px 6px 0 var(--ink); }
.btn-shadow-dark { box-shadow: 7px 7px 0 var(--ink); }
.btn-shadow:hover, .btn-shadow-dark:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--ink); }
.menu-toggle { display: none; width: 47px; height: 47px; border: 2px solid var(--ink); background: var(--lime); flex-direction: column; align-items: center; justify-content: center; gap: 5px; margin-left: auto; }
.menu-toggle span { width: 21px; height: 3px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-8px) rotate(-45deg); }
.mobile-nav { display: none; }

/* HERO */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.section-cream { background: var(--cream); }
.hero-bg-dot { position: absolute; width: 500px; height: 500px; border-radius: 50%; right: -160px; bottom: -330px; background: radial-gradient(circle,rgba(0,0,0,.12) 1px,transparent 1.2px) 0 0 / 10px 10px; opacity: .55; z-index: -1; }
.hero-grid { min-height: 676px; display: grid; grid-template-columns: 54% 46%; align-items: center; padding: 68px 0 70px; gap: 2px; }
.hero-copy { position: relative; z-index: 3; }
.eyebrow { font: 700 11px var(--mono); letter-spacing: .025em; margin-bottom: 37px; display: flex; align-items: center; gap: 11px; }
.eyebrow-spark { color: var(--red); font-size: 26px; }
.hero-hello { font: 800 14px var(--mono); letter-spacing: -.05em; margin: 0 0 9px; }
.hero-hello span { color: var(--red); font-size: 20px; margin-left: 10px; }
.mega-title { font: 900 clamp(64px, 7.5vw, 109px)/.93 var(--display); letter-spacing: -.095em; margin: 0; position: relative; }
.mega-title .ink-red { color: var(--red); }
.giant-dot { color: var(--red); }
.brush-underline { width: clamp(160px,20vw,260px); height: 11px; background: var(--ink); transform: skewX(-25deg) rotate(-3deg); margin: 18px 0 31px 45px; clip-path: polygon(0 20%,94% 0,100% 64%,15% 100%); }
.hero-subtitle { max-width: 525px; margin: 0; font-size: 19px; line-height: 1.63; color: #3d3b39; }
.hero-subtitle strong { color: var(--ink); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 30px; }
.hero-micro { font: 700 10px var(--mono); letter-spacing: -.02em; margin-top: 38px; }
.micro-star { color: var(--red); font-size: 18px; vertical-align: middle; margin-right: 8px; }
.micro-sep { color: var(--red); padding: 0 7px; }
.hero-visual { align-self: center; position: relative; width: 100%; height: 580px; display: flex; justify-content: center; align-items: center; }
.hero-orbit { position: absolute; inset: 15px 0 0 12px; background: radial-gradient(circle, var(--lime) 0 46%, transparent 46.3%); transform: rotate(-6deg); opacity: .99; }
.hero-orbit:after { content: ''; position: absolute; inset: 1% 9%; background: radial-gradient(circle, transparent 58%, rgba(0,0,0,.16) 59%,transparent 60%); }
.hero-photo-back { position: absolute; top: 58px; left: 22px; right: 16px; bottom: 22px; background: var(--ink); clip-path: polygon(10% 1%,98% 4%,94% 97%,2% 100%,0 8%); transform: translate(12px,10px) rotate(4deg); }
.hero-photo-frame { position: relative; width: 85%; max-width: 476px; aspect-ratio: 1 / 1.08; overflow: hidden; border: 10px solid var(--ink); background: var(--red); transform: rotate(4deg); clip-path: polygon(7% 0%,100% 4%,95% 97%,0 100%,1% 8%); box-shadow: 2px 2px 0 var(--ink); }
.hero-photo-frame img { width: 113%; height: 113%; object-fit: cover; transform: rotate(-4deg) scale(1.03) translate(-5%, -3%); }
.sticker { position: absolute; z-index: 4; border: 3px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.sticker-top { left: -6%; top: 6%; transform: rotate(-13deg); background: var(--cream); padding: 15px 20px 13px; }
.sticker-small { display: block; font: 700 10px var(--mono); letter-spacing: .05em; }
.sticker-top strong { font: 900 28px var(--display); letter-spacing: -.07em; }
.sticker-burst { position: absolute; top: -25px; right: -15px; color: var(--red); text-shadow: 2px 2px 0 var(--ink); font-size: 38px; }
.sticker-bottom { right: -3%; bottom: 5%; color: var(--ink); background: var(--lime); padding: 15px 20px; transform: rotate(9deg); display: flex; gap: 12px; align-items: flex-end; }
.sticker-bottom strong { font: 900 25px/.93 var(--display); letter-spacing: -.06em; }
.sticker-bottom>span { font: 900 38px var(--display); }
.hero-corner-star { position: absolute; color: var(--red); font-size: 74px; top: 5%; right: -6%; text-shadow: 2px 2px 0 var(--ink); animation: gentleRotate 12s linear infinite; }
.scribble-right { position: absolute; bottom: 1%; left: 3%; font-size: 60px; color: var(--ink); }
.hero-bottom-number { position: absolute; right: 42px; bottom: 11px; font: 700 9px var(--mono); color: #a7a095; }
@keyframes gentleRotate { to {transform: rotate(360deg);} }

/* TICKER */
.ticker { position: relative; z-index: 3; overflow: hidden; border-top: var(--edge); border-bottom: var(--edge); background: var(--lime); height: 65px; display: flex; align-items: center; }
.ticker-track { display: flex; white-space: nowrap; width: max-content; animation: travel 32s linear infinite; }
.ticker-track span { font: 900 23px var(--display); letter-spacing: -.045em; word-spacing: 7px; padding: 0 12px; }
.ticker-track b { color: var(--red); padding: 0 12px; font-weight: 900; }
@keyframes travel { to { transform: translateX(-33.333%); } }

/* GLOBAL SECTIONS */
.section { padding: 100px 0 110px; }
.section-topline { display: flex; gap: 16px; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 17px; margin-bottom: 34px; font: 700 11px var(--mono); }
.section-topline span:first-child { color: var(--red); }
.section-topline.inverted { border-color: rgba(255,255,255,.45); color: var(--cream); }
.section-topline.inverted span:first-child { color: var(--lime); }
.section-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title { font: 900 clamp(54px, 7vw, 104px)/.99 var(--display); letter-spacing: -.084em; margin: 0; }
.section-title em { font-style: normal; color: var(--red); }
.section-intro { max-width: 510px; color: #56534e; font-size: 19px; line-height: 1.6; margin: 22px 0 43px; }
.asterisk-seal { width: 114px; height: 114px; display: grid; place-items: center; background: var(--red); color: var(--cream); border: var(--edge); border-radius: 50%; box-shadow: var(--shadow); font-size: 92px; line-height: 1; transform: rotate(-14deg); }

/* PROJECTS */
.work-section { background: var(--paper); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { display: block; border: var(--edge); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.project-card:hover { transform: translate(-3px,-5px); box-shadow: 9px 11px 0 var(--ink); }
.project-featured { min-height: 466px; grid-column: 1 / -1; background: var(--ink); color: var(--cream); display: grid; grid-template-columns: 54% 46%; }
.project-content { padding: 31px 36px 28px; display: flex; flex-direction: column; }
.card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.project-index { font: 700 11px var(--mono); letter-spacing: -.025em; }
.pill { border-radius: 0; padding: 9px 12px; border: 2px solid currentColor; font: 900 10px var(--mono); }
.pill-lime { background: var(--lime); color: var(--ink); border-color: var(--ink); }
.feature-copy { margin: auto 0; padding: 26px 0; }
.mini-callout { display: inline-block; border: 2px solid var(--cream); padding: 7px 11px; font: 800 10px var(--mono); transform: rotate(-3deg); }
.feature-copy h3 { font: 900 clamp(65px, 7vw, 102px)/1 var(--display); letter-spacing: -.075em; margin: 25px 0 16px; }
.feature-copy h3 span { color: var(--red); }
.feature-copy p { max-width: 590px; font-size: 17px; color: #d9d6cc; line-height: 1.58; margin: 0 0 21px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span { border: 1px solid #777; color: #eee9dc; font: 700 10px var(--mono); padding: 6px 8px; }
.project-visit { display: flex; align-items: center; justify-content: space-between; border-top: 2px solid #5b5854; padding-top: 17px; font: 800 12px var(--mono); }
.project-visit span { font-size: 24px; line-height: 0; }
.feature-visual { min-height: 465px; position: relative; overflow: hidden; background-color: var(--red); background-image: radial-gradient(circle,rgba(0,0,0,.23) 1.1px,transparent 1.2px); background-size: 11px 11px; border-left: 3px solid var(--cream); }
.radar-ring { position: absolute; width: 390px; height: 390px; top: 50%; left: 50%; border: 2px solid rgba(255,244,213,.55); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-two { width: 286px; height: 286px; }
.ring-three { width: 174px; height: 174px; }
.ai-face { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%) rotate(-4deg); width: 203px; height: 197px; border: 5px solid var(--ink); border-radius: 18px; background: var(--lime); box-shadow: 10px 10px 0 var(--ink); display: flex; flex-direction: column; align-items: center; }
.ai-face:before,.ai-face:after { content: ''; background: var(--lime); width: 20px; height: 35px; border: 4px solid var(--ink); position: absolute; top: 53px; }
.ai-face:before { left: -19px; border-radius: 10px 0 0 10px; }
.ai-face:after { right: -19px; border-radius: 0 10px 10px 0; }
.ai-face-label { color: var(--ink); border-bottom: 3px solid var(--ink); width: 100%; padding: 10px 0; text-align: center; font: 800 9px var(--mono); }
.ai-eyes { display: flex; gap: 50px; padding-top: 38px; }
.ai-eyes i { width: 18px; height: 24px; background: var(--ink); border-radius: 50%; }
.ai-mouth { width: 61px; height: 23px; border: 5px solid var(--ink); border-top: 0; border-radius: 0 0 35px 35px; margin-top: 16px; }
.ai-wave { font-size: 35px; line-height: .65; color: var(--red); }
.orbit-dot { position: absolute; border: 4px solid var(--ink); border-radius: 50%; background: var(--lime); width: 18px; height: 18px; }
.orbit-dot-one { top: 15%; left: 18%; }
.orbit-dot-two { bottom: 18%; right: 14%; }
.connect-node { position: absolute; z-index: 2; background: var(--cream); color: var(--ink); border: 3px solid var(--ink); padding: 9px 12px; font: 800 11px var(--mono); box-shadow: 3px 3px var(--ink); }
.connect-node small { color: var(--red); }
.node-left { top: 18%; left: 1%; transform: rotate(-7deg); }
.node-right { bottom: 18%; right: 2%; transform: rotate(7deg); }
.visual-caption { font: 800 10px var(--mono); color: var(--cream); position: absolute; bottom: 13px; left: 17px; }
.project-small { display: flex; flex-direction: column; min-height: 466px; padding: 26px 32px 31px; }
.project-yellow { background: var(--lime); }
.project-light { background: #e9d8c8; }
.card-arrow { font: 800 31px var(--display); line-height: .7; }
.small-project-art { min-height: 206px; display: flex; justify-content: center; align-items: center; gap: 17px; }
.art-bracket { color: var(--red); font: 900 113px var(--display); }
.art-mid { background: var(--ink); color: var(--cream); border: 5px solid var(--ink); box-shadow: 7px 7px 0 var(--red); font: 900 70px var(--display); letter-spacing: -.05em; padding: 0 15px; transform: rotate(-6deg); position: relative; }
.art-asterisk { position: absolute; top: -29px; right: -19px; font-size: 38px; color: var(--lime); text-shadow: 2px 2px var(--ink); }
.project-bottom { margin-top: auto; }
.project-bottom h3 { font: 900 clamp(37px, 4.5vw, 59px)/1 var(--display); letter-spacing: -.07em; margin: 0 0 10px; }
.project-bottom h3 span { color: var(--red); }
.project-bottom p { line-height: 1.5; font-size: 16px; margin: 0 0 22px; max-width: 430px; }
.small-link { border-top: 2px solid var(--ink); padding-top: 13px; font: 800 11px var(--mono); display: flex; justify-content: space-between; align-items: center; }
.cqrs-art { gap: 6px; }
.cqrs-block { background: var(--ink); color: var(--cream); font: 900 20px var(--mono); padding: 16px 14px; border: 2px solid var(--cream); transform: rotate(-6deg); box-shadow: 4px 4px var(--red); }
.cqrs-block:last-child { transform: rotate(6deg); }
.cqrs-symbol { font: 900 69px var(--display); color: var(--red); z-index: 1; }
.more-work { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 30px; }
.more-work p { font: 700 11px var(--mono); color: #77746e; }
.more-work a { font: 800 12px var(--mono); border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
.more-work a:hover { color: var(--red); border-color: var(--red); }

/* EXPERTISE */
.expertise-section { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; }
.expertise-section:before { content: ''; position: absolute; top: 110px; right: -160px; height: 460px; width: 460px; background: radial-gradient(circle,rgba(226,46,43,.19) 1px,transparent 2px) 0 0 / 12px 12px; }
.expertise-grid { display: grid; grid-template-columns: 1.07fr .93fr; align-items: center; gap: 25px; }
.small-kicker { display: inline-block; background: var(--lime); color: var(--ink); font: 900 11px var(--mono); border: 2px solid var(--lime); padding: 7px 10px; transform: rotate(-2deg); margin-bottom: 26px; }
.section-title-light { color: var(--cream); }
.section-title-light span { color: var(--lime); }
.expertise-intro>p { max-width: 520px; font-size: 18px; line-height: 1.65; color: #bbb7af; }
.stack-stamps { display: flex; gap: 10px; flex-wrap: wrap; max-width: 540px; margin-top: 27px; }
.stack-stamps span { border: 2px solid rgba(246,241,230,.45); padding: 10px 12px; font: 800 10px var(--mono); }
.stack-stamps span:nth-child(even) { color: var(--lime); }
.expertise-illustration { position: relative; }
.expertise-illustration svg { width: 100%; max-height: 370px; transform: rotate(-1deg); filter: drop-shadow(0 4px 0 rgba(0,0,0,.2)); }
.illustration-label { text-align: center; font: 700 10px var(--mono); color: var(--lime); }
.expertise-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 60px; }
.expertise-cards article { border: 2px solid #706d65; padding: 25px 23px 28px; min-height: 250px; position: relative; transition: border-color .2s ease, transform .2s ease; }
.expertise-cards article:hover { border-color: var(--lime); transform: translateY(-5px); }
.expertise-num { font: 800 14px var(--mono); color: var(--lime); margin-bottom: 28px; }
.expertise-cards h3 { font: 900 28px/1.04 var(--display); letter-spacing: -.055em; margin: 0 0 15px; }
.expertise-cards p { font-size: 15px; line-height: 1.55; margin: 0; color: #c1bbb0; }

/* INTERACTIVE LAB */
.interactive-section { background: var(--lime); }
.lab-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.lab-intro .section-topline { margin-bottom: 35px; }
.lab-intro .section-title { font-size: clamp(55px, 6vw, 87px); }
.lab-intro .section-title em { color: var(--red); }
.lab-intro>p { font-size: 18px; line-height: 1.6; max-width: 430px; margin: 24px 0; }
.lab-selector { display: flex; flex-direction: column; gap: 10px; margin-top: 34px; max-width: 430px; }
.lab-tab { text-align: left; background: transparent; padding: 15px 17px; border: 2px solid var(--ink); display: flex; gap: 14px; align-items: center; font: 900 13px var(--mono); transition: background .2s ease, color .2s ease, transform .2s; }
.lab-tab:hover { transform: translateX(3px); }
.lab-tab span { color: var(--red); }
.lab-tab.is-active { background: var(--ink); color: var(--cream); box-shadow: 5px 5px 0 var(--red); }
.lab-tab.is-active span { color: var(--lime); }
.lab-console { border: 4px solid var(--ink); background: var(--cream); box-shadow: 14px 14px 0 var(--ink); transform: rotate(1.1deg); }
.console-bar { background: var(--ink); min-height: 52px; padding: 15px 17px; color: var(--paper); font: 700 10px var(--mono); display: flex; gap: 15px; justify-content: space-between; align-items: center; }
.console-dots { display: flex; gap: 6px; }
.console-dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.console-dots i:nth-child(2) { background: #efc758; }
.console-dots i:nth-child(3) { background: var(--lime); }
.console-status { color: var(--lime); }
.console-inner { padding: 42px 41px 35px; min-height: 410px; position: relative; overflow: hidden; }
.console-meta { font: 800 11px var(--mono); color: var(--red); }
.console-sticker { position: absolute; font-size: 100px; color: var(--red); opacity: .13; right: 25px; top: 25px; }
.console-inner h3 { font: 900 clamp(31px, 4vw, 57px)/1.09 var(--display); letter-spacing: -.07em; margin: 33px 0 23px; max-width: 560px; }
.console-inner p { font-size: 16px; line-height: 1.65; color: #58534e; min-height: 84px; }
.console-output { border-top: 3px solid var(--ink); margin-top: 30px; padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.console-output span { font: 800 11px var(--mono); }
.console-output strong { font: 800 17px var(--mono); color: var(--red); }

/* ABOUT */
.about-section { background: var(--cream); overflow: hidden; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; }
.scribble-intro { font: 800 11px var(--mono); color: var(--red); }
.about-left .section-title { margin-top: 28px; font-size: clamp(53px, 6vw, 92px); }
.red-doodle { color: var(--red); margin-top: 30px; }
.about-right { display: grid; grid-template-columns: 48% 52%; gap: 20px; align-items: center; }
.about-portrait { position: relative; border: 5px solid var(--ink); transform: rotate(-4deg); box-shadow: 9px 9px 0 var(--red); }
.about-portrait img { aspect-ratio: .85; object-fit: cover; object-position: center; }
.about-stamp { position: absolute; right: -24px; bottom: -20px; font: 900 17px/1 var(--display); text-align: center; background: var(--lime); border: 3px solid var(--ink); border-radius: 50%; width: 118px; height: 118px; display: grid; place-content: center; transform: rotate(13deg); box-shadow: 4px 4px 0 var(--ink); }
.about-description { padding: 0 3px 0 16px; }
.about-description h3 { font: 900 22px var(--display); line-height: 1.25; }
.about-description h3 span { font-size: 24px; }
.about-description p { font-size: 15px; line-height: 1.68; color: #4f4a44; }
.location-line { border-top: 2px solid var(--ink); padding-top: 13px; margin-top: 20px; font: 800 10px var(--mono); }
.location-line span { font-size: 19px; color: var(--red); }

/* WRITING */
.writing-section { background: #eedfcd; }
.writing-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: 36px; }
.writing-heading>p { max-width: 330px; font-size: 17px; line-height: 1.5; }
.writing-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.writing-card { min-height: 340px; border: 3px solid var(--ink); background: var(--cream); display: flex; flex-direction: column; padding: 24px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.writing-card:nth-child(2) { background: var(--red); color: var(--cream); }
.writing-card:nth-child(3) { background: var(--lime); }
.writing-card:hover { transform: translate(-3px,-5px); box-shadow: 8px 10px 0 var(--ink); }
.write-type { font: 800 11px var(--mono); padding-right: 40px; }
.write-arrow { position: absolute; top: 19px; right: 24px; font: 900 30px var(--display); }
.writing-card h3 { font: 900 clamp(22px,2.3vw,32px)/1.12 var(--display); letter-spacing: -.05em; margin: auto 0 20px; }
.writing-card p { margin: 0 0 26px; font-size: 15px; }
.write-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 2px solid currentColor; padding-top: 13px; font: 800 10px var(--mono); }
.write-bottom span { font-size: 19px; }
.writing-link { text-align: right; padding-top: 32px; }
.writing-link a { font: 800 12px var(--mono); border-bottom: 2px solid currentColor; padding-bottom: 7px; }
.writing-link a:hover { color: var(--red); }

/* QUOTE */
.quote-section { background: var(--ink); color: var(--cream); border-bottom: 5px solid var(--cream); overflow: hidden; }
.quote-inner { padding: 90px 0 80px; position: relative; }
.quote-glyph { position: absolute; top: -38px; left: -10px; font: 900 220px var(--display); color: var(--red); opacity: .95; }
.quote-section blockquote { font: 900 clamp(32px, 5vw, 73px)/1.18 var(--display); letter-spacing: -.075em; margin: 0 0 33px; position: relative; max-width: 1150px; }
.quote-section blockquote span { color: var(--lime); }
.quote-mark { font: 800 11px var(--mono); color: #aaa79e; }

/* CONTACT */
.contact-section { background: var(--red); color: var(--cream); position: relative; overflow: hidden; border-bottom: 3px solid var(--ink); }
.contact-halftone { position: absolute; right: -70px; top: -80px; width: 590px; height: 590px; background: radial-gradient(circle, rgba(0,0,0,.25) 1.5px, transparent 2px) 0 0 / 12px 12px; border-radius: 50%; }
.contact-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr .42fr; align-items: center; gap: 10px; padding-top: 104px; padding-bottom: 116px; }
.contact-kicker { background: var(--ink); padding: 9px 10px; font: 800 11px var(--mono); display: inline-block; margin-bottom: 29px; }
.contact-main h2 { font: 900 clamp(65px, 9vw, 136px)/.91 var(--display); letter-spacing: -.08em; margin: 0; text-shadow: 3px 3px 0 var(--ink); }
.contact-main h2 span { color: var(--lime); }
.contact-main .contact-period { color: var(--ink); }
.contact-main>p { max-width: 535px; font-size: 18px; line-height: 1.55; margin-top: 27px; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 30px; }
.contact-github { border-bottom: 2px solid var(--cream); padding-bottom: 5px; font: 800 11px var(--mono); }
.contact-github:hover { color: var(--lime); border-color: var(--lime); }
.contact-visual { position: relative; min-height: 400px; display: flex; align-items: flex-start; justify-content: center; }
.contact-burst { position: absolute; top: 10%; left: 12%; width: 280px; height: 280px; background: var(--lime); color: var(--ink); border: 5px solid var(--ink); display: grid; place-content: center; clip-path: polygon(50% 0%,58% 15%,75% 6%,76% 24%,95% 21%,86% 41%,100% 50%,85% 59%,95% 80%,76% 76%,74% 94%,57% 84%,50% 100%,42% 85%,25% 94%,23% 77%,5% 80%,14% 59%,0 50%,14% 41%,5% 21%,24% 24%,25% 6%,42% 15%); text-align: center; font: 900 45px/1 var(--display); transform: rotate(14deg); z-index: 2; }
.contact-arrow { position: absolute; font: 900 150px/1 var(--display); color: var(--ink); left: 2%; bottom: 12px; transform: rotate(-8deg); z-index: 1; }

/* FOOTER */
.footer { background: var(--ink); color: var(--cream); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px; align-items: center; padding-top: 45px; padding-bottom: 55px; }
.footer-brand a { font: 900 60px/.95 var(--display); letter-spacing: -.07em; }
.footer-brand a span { color: var(--red); }
.footer-brand p { font: 700 10px/1.5 var(--mono); opacity: .6; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-links a { font: 800 12px var(--mono); }
.footer-links a:hover { color: var(--lime); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; gap: 19px; font: 700 10px var(--mono); }
.back-top { color: var(--ink); background: var(--lime); padding: 12px 15px; border: 2px solid var(--cream); font: 900 11px var(--mono); }
.back-top:hover { background: var(--cream); }

@media(max-width: 1200px) {
  .wrapper { width: min(1100px, calc(100% - 64px)); }
  .nav-shell { gap: 20px; }
  .hero-grid { grid-template-columns: 52% 48%; }
  .mega-title { font-size: clamp(62px,7.2vw,100px); }
  .hero-visual { height: 530px; }
  .sticker-top { left: -1%; }
  .sticker-bottom { right: -1%; }
  .about-layout { gap: 35px; }
  .about-right { grid-template-columns: 45% 55%; }
  .about-description { padding-left: 7px; }
}
@media(max-width: 900px) {
  .wrapper { width: calc(100% - 48px); }
  .nav-shell { min-height: 73px; }
  .desktop-nav, .nav-contact { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav:not([hidden]) { display: flex; flex-direction: column; padding: 14px 24px 27px; border-top: 2px solid var(--ink); position: absolute; width: 100%; top: 100%; left: 0; background: var(--cream); box-shadow: 0 10px 0 rgba(0,0,0,.08); }
  .mobile-nav a { font: 900 20px var(--display); padding: 14px 0; border-bottom: 1px solid #aaa; }
  .hero-grid { padding-top: 56px; grid-template-columns: 1fr; gap: 30px; }
  .hero-visual { max-width: 580px; height: 500px; margin: 0 auto; }
  .mega-title { font-size: clamp(74px,11vw,115px); }
  .hero-copy { max-width: 750px; }
  .hero-orbit { inset: 20px 15px; }
  .hero-subtitle { max-width: 650px; }
  .sticker-top { left: -2%; }
  .sticker-bottom { right: -5%; }
  .section { padding: 78px 0 88px; }
  .expertise-grid { grid-template-columns: 1fr 0.8fr; }
  .expertise-illustration svg { max-height: 350px; }
  .expertise-cards { gap: 12px; }
  .expertise-cards article { padding: 19px; }
  .expertise-cards h3 { font-size: 23px; }
  .lab-layout { gap: 30px; }
  .console-inner { padding: 36px 28px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-right { grid-template-columns: 300px 1fr; }
  .about-portrait img { aspect-ratio: 1; }
  .about-description { max-width: 440px; }
  .contact-layout { grid-template-columns: 1fr 280px; }
  .contact-burst { left: 18px; top: 8%; width: 230px; height: 230px; font-size: 37px; }
  .contact-arrow { left: -6px; bottom: 6px; font-size: 118px; }
}
@media(max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .wrapper { width: calc(100% - 36px); }
  .topline { font-size: 7px; height: 28px; padding: 0 8px; gap: 4px; }
  .brand-box { width: 54px; height: 45px; font-size: 25px; }
  .brand-caption { font-size: 10px; }
  .hero-grid { padding-top: 35px; padding-bottom: 45px; }
  .eyebrow { font-size: 10px; margin-bottom: 24px; }
  .hero-hello { font-size: 11px; }
  .mega-title { font-size: clamp(48px,12vw,80px); letter-spacing: -.095em; }
  .brush-underline { margin: 15px 0 25px 18px; height: 8px; }
  .hero-subtitle { font-size: 16px; }
  .hero-actions { gap: 13px; }
  .button { min-height: 48px; padding: 13px 13px; font-size: 10px; gap: 10px; }
  .button span { font-size: 18px; }
  .hero-micro { font-size: 9px; line-height: 1.6; margin-top: 29px; }
  .hero-visual { height: min(91vw,460px); margin-top: 5px; }
  .hero-photo-frame { width: 85%; border-width: 7px; }
  .hero-photo-back { top: 36px; left: 10px; bottom: 7px; }
  .sticker-top { top: 0; left: -2%; padding: 9px 11px 10px; }
  .sticker-small { font-size: 7px; }
  .sticker-top strong { font-size: 20px; }
  .sticker-burst { top: -17px; right: -10px; font-size: 25px; }
  .sticker-bottom { bottom: 0; right: 0; padding: 9px 11px; gap: 6px; }
  .sticker-bottom strong { font-size: 18px; }
  .sticker-bottom>span { font-size: 30px; }
  .hero-corner-star { font-size: 55px; right: 0; top: -3%; }
  .scribble-right { font-size: 39px; }
  .hero-bottom-number { display: none; }
  .ticker { height: 53px; }
  .ticker-track span { font-size: 19px; }
  .section { padding: 65px 0 75px; }
  .section-topline { font-size: 9px; gap: 15px; margin-bottom: 28px; }
  .section-topline span:last-child { text-align: right; }
  .section-title { font-size: clamp(50px, 11vw, 78px); }
  .section-intro { font-size: 16px; margin: 20px 0 30px; }
  .asterisk-seal { width: 73px; height: 73px; font-size: 62px; flex: 0 0 auto; }
  .project-grid { grid-template-columns: 1fr; gap: 19px; }
  .project-featured { grid-column: auto; grid-template-columns: 1fr; }
  .project-content { padding: 23px 22px; }
  .feature-copy { padding-top: 35px; padding-bottom: 35px; }
  .feature-copy h3 { font-size: clamp(60px, 15vw, 100px); }
  .feature-copy p { font-size: 15px; }
  .feature-visual { border-left: 0; border-top: 3px solid var(--cream); min-height: 315px; }
  .radar-ring { width: 320px; height: 320px; }
  .ring-two { width: 240px; height: 240px; }
  .ring-three { width: 145px; height: 145px; }
  .ai-face { transform: translate(-50%,-50%) rotate(-4deg) scale(.78); }
  .node-left { top: 15%; }
  .node-right { bottom: 15%; }
  .project-small { min-height: 400px; padding: 22px; }
  .project-bottom h3 { font-size: 51px; }
  .small-project-art { min-height: 180px; }
  .art-bracket { font-size: 95px; }
  .art-mid { font-size: 59px; }
  .more-work { flex-direction: column; text-align: center; gap: 9px; }
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-illustration svg { display: block; max-height: 320px; }
  .expertise-cards { grid-template-columns: 1fr; margin-top: 32px; }
  .expertise-cards article { min-height: unset; padding: 22px; }
  .expertise-num { margin-bottom: 15px; }
  .expertise-cards h3 { font-size: 27px; }
  .lab-layout { grid-template-columns: 1fr; gap: 45px; }
  .lab-intro .section-title { font-size: clamp(49px, 10.5vw, 72px); }
  .lab-tab { padding: 13px; }
  .lab-console { transform: rotate(.8deg); box-shadow: 8px 8px var(--ink); }
  .console-inner { min-height: 375px; padding: 28px 21px; }
  .console-inner h3 { font-size: 38px; }
  .console-inner p { font-size: 15px; }
  .console-bar { font-size: 8px; padding: 12px 9px; gap: 7px; }
  .console-dots i { width: 8px; height: 8px; }
  .about-layout { gap: 30px; }
  .about-left .section-title { font-size: clamp(50px, 11vw, 85px); }
  .red-doodle { margin-top: 7px; }
  .about-right { grid-template-columns: 1fr; gap: 31px; }
  .about-portrait { width: min(100%, 280px); max-width: 280px; margin: 0 auto; }
  .about-stamp { right: -12px; width: 100px; height: 100px; font-size: 14px; }
  .about-description { padding: 0; }
  .writing-heading { display: block; }
  .writing-heading>p { font-size: 16px; margin-top: 18px; }
  .writing-grid { grid-template-columns: 1fr; }
  .writing-card { min-height: 270px; }
  .writing-card h3 { font-size: 28px; }
  .quote-inner { padding: 90px 0 65px; }
  .quote-glyph { top: -25px; font-size: 170px; }
  .quote-section blockquote { font-size: clamp(35px, 8vw, 53px); }
  .contact-layout { grid-template-columns: 1fr; padding-top: 75px; padding-bottom: 50px; }
  .contact-kicker { font-size: 9px; }
  .contact-main h2 { font-size: clamp(59px, 13.6vw, 90px); }
  .contact-main>p { font-size: 16px; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .contact-visual { min-height: 220px; }
  .contact-burst { left: 50%; top: 0; width: 175px; height: 175px; font-size: 27px; transform: translateX(-50%) rotate(14deg); }
  .contact-arrow { left: calc(50% - 112px); bottom: -4px; font-size: 92px; transform: rotate(-12deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
@media(max-width: 360px) {
  .topline { font-size: 6px; }
  .mega-title { font-size: 12vw; }
  .hero-visual { height: 310px; }
  .sticker-top strong { font-size: 17px; }
  .sticker-bottom strong { font-size: 15px; }
  .feature-copy h3 { font-size: 52px; }
  .card-top .pill { font-size: 8px; }
  .cqrs-block { font-size: 15px; }
  .cqrs-symbol { font-size: 45px; }
  .console-bar .console-status { display: none; }
  .contact-main h2 { font-size: 12.8vw; }
}
@media(prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
