/* VOICE: friendly, confident, a designer's notebook set in a design-system tool.
   IDEA: DS ARC by zeroheight: one long scroll of lime-outlined frames, each opened by a glowing pill heading.
   PICTURE: a solid slab-and-arch logotype per page, Rumana's own screens framed in lime.
   COLOUR and TYPE: page #FAFAF7, ink #111, lime #C7F000. Geist Pixel for headings, Geist for reading, Geist Mono for facts.
   LAYOUT: max 1240px; frames stack; grids fold to one column under 600px. */
:root {
  color-scheme: light;
  --page: #FAFAF7;
  --ink: #111111;
  --muted: #6B6B66;
  --lime: #C7F000;
  --lime-soft: rgba(199, 240, 0, .15);
  --line: #E4E4DF;
  --white: #FFFFFF;
  --font-sans: Geist, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --font-pixel: "Geist Pixel", "Geist Mono", ui-monospace, monospace;
  --frame-r: 44px;
  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 96px; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, [role="tab"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h1[tabindex]:focus { outline: none; }
figure { margin: 0; }
.page { max-width: 1240px; margin: 0 auto; padding: 32px 32px 48px; }
.mono { font-family: var(--font-mono); }
.pixel { font-family: var(--font-pixel); }
.frame { border: 2px solid var(--lime); border-radius: var(--frame-r); background: var(--page); }
.link { text-decoration: none; border-bottom: 2px dotted var(--lime); padding-bottom: 1px; font-family: var(--font-mono); font-size: 13px; }
.link:hover { border-bottom-style: solid; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* floating nav */
.nav { position: fixed; z-index: 20; top: 16px; left: 50%; width: min(940px, calc(100% - 32px)); transform: translate(-50%, -140%); transition: transform .5s var(--ease-out); }
.nav.show { transform: translate(-50%, 0); }
/* the nav box is tall because the closed menu still takes space: let clicks through except on the bar and the open menu */
.nav { pointer-events: none; }
.nav-bar { pointer-events: auto; }
.nav.open .menu { pointer-events: auto; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; padding: 0 28px 0 32px; border-radius: 999px; background: rgba(250, 250, 247, .55); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); box-shadow: inset 0 14px 22px -14px rgba(255,255,255,.9), 0 -16px 24px var(--lime-soft), 0 10px 30px -12px rgba(0,0,0,.18), 0 0 0 2px rgba(199, 240, 0, .55); }
.nav-mark { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-mark .initials { display: flex; }
.nav-mark .initials span { width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 12px; font-weight: 500; margin-right: -4px; background: var(--page); }
.nav-mark svg { height: 22px; width: auto; }
.nav-where { font-family: var(--font-mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.burger { flex: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; padding: 0; }
.burger i { display: block; width: 24px; height: 4px; border-radius: 4px; background: var(--ink); box-shadow: 0 -8px 0 var(--ink), 0 8px 0 var(--ink); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.nav.open .burger i { transform: rotate(45deg); box-shadow: 0 0 0 var(--ink), 0 0 0 var(--ink); }
.nav.open .burger i::after { content: ""; display: block; width: 24px; height: 4px; border-radius: 4px; background: var(--ink); transform: rotate(90deg); }
.menu { margin: 10px 0 0 auto; width: min(320px, 100%); max-height: calc(100vh - 110px); overflow-y: auto; border-radius: 28px; padding: 12px; background: rgba(250,250,247,.92); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 0 0 2px var(--lime), 0 20px 40px -20px rgba(0,0,0,.25); transform-origin: top right; transform: scale(.92) translateY(-8px); opacity: 0; visibility: hidden; transition: transform .35s var(--spring), opacity .2s, visibility .2s; }
.nav.open .menu { transform: none; opacity: 1; visibility: visible; }
.menu a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 16px; text-decoration: none; font-size: 16px; }
.menu a:hover { background: var(--lime); }
.menu a span { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.menu a:hover span { color: var(--ink); }
.menu hr { border: 0; border-top: 2px solid var(--lime); margin: 8px; }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-top { position: relative; display: grid; grid-template-columns: 64px 1fr 108px; align-items: start; gap: 32px; padding: 64px 48px 0; }
.goo { filter: url(#goo); }
.bubbles { display: flex; flex-direction: column; align-items: center; }
.bubbles.left { margin-top: 28px; }
.bubble { display: grid; place-items: center; background: var(--lime); border-radius: 50%; font-family: var(--font-mono); color: var(--ink); text-decoration: none; transform: scale(0); }
.loaded .bubble { animation: pop .7s var(--spring) forwards; }
.bubbles.left .bubble { width: 50px; height: 50px; margin-bottom: -4px; font-size: 26px; }
.bubbles.right { text-decoration: none; }
.bubbles.right .bubble { width: 96px; height: 96px; margin-bottom: -20px; font-size: 24px; }
.bubbles.right:hover .bubble { animation: none; transform: scale(1); }
.bubbles.right:hover .bubble:nth-child(odd) { transform: translateX(-6px); transition: transform .4s var(--spring); }
.bubbles.right:hover .bubble:nth-child(even) { transform: translateX(6px); transition: transform .4s var(--spring); }
.bubbles.right:hover .bubble:last-child { transform: translateY(12px); }
@keyframes pop { 0% { transform: scale(0) translateY(-30px); } 100% { transform: scale(1) translateY(0); } }

.wordmark { width: 100%; height: auto; overflow: visible; will-change: transform; }
svg[data-word] path { fill: var(--ink); }
.wordmark .glyph { transform-box: fill-box; transform-origin: 50% 100%; }
.loaded .wordmark .glyph { animation: glyph-in .8s var(--spring) both; }
.settled .wordmark .glyph { animation: none; }
.settled .wordmark .glyph.squish { animation: squish .7s var(--spring); }
@keyframes glyph-in { from { transform: translateY(24%) scaleY(.3); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes squish { 0% { transform: none; } 30% { transform: scale(1.06, .86); } 60% { transform: scale(.97, 1.04); } 100% { transform: none; } }

.tagline { margin: 44px 0 0; padding-left: 50%; padding-right: 48px; font-size: clamp(19px, calc(1.55vw + 2px), 24px); line-height: 1.5; }
.tagline .soft { color: var(--muted); }
.tagline .mono { font-size: .95em; color: var(--muted); }

.intro { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: 88px; padding: 88px 96px 0; }
.intro > :not(.pixfield) { position: relative; z-index: 1; }
.statement { font-size: clamp(26px, 2.75vw, 38px); line-height: 1.45; font-weight: 500; letter-spacing: -0.015em; }
.statement + .statement { margin-top: 28px; }
.chip { display: inline-block; font-family: var(--font-pixel); font-weight: 400; border: 2px solid var(--ink); border-radius: 999px; padding: 0 14px; line-height: 1.15; }
.intro-copy { font-size: clamp(18px, calc(1.45vw + 2px), 22.5px); line-height: 1.4; max-width: 19em; padding-top: 4px; }
.intro-copy b { font-weight: 400; font-family: var(--font-mono); font-size: .9em; }
.pixfield { position: absolute; z-index: 0; left: 0; bottom: -96px; width: 62%; height: 300px; pointer-events: none; -webkit-mask-image: radial-gradient(closest-side at 40% 60%, #000 25%, transparent 100%); mask-image: radial-gradient(closest-side at 40% 60%, #000 25%, transparent 100%); }
.facts { list-style: none; margin: 0; padding: 8px 0 0; display: grid; max-width: 30em; }
.facts li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 2px solid var(--lime); font-size: 15px; }
.facts li:first-child { border-top: 2px solid var(--lime); }
.facts span { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding-top: 3px; }
.hero-shot { padding: 56px 48px 48px; }

/* pill heading */
.pill { display: inline-flex; align-items: baseline; flex-wrap: wrap; row-gap: 6px; max-width: 100%; gap: 14px; text-decoration: none; font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -0.02em; padding: 12px 28px 18px; border: 2px solid var(--lime); border-radius: 999px; background: var(--page); box-shadow: inset 0 14px 22px -14px rgba(255,255,255,.9), 0 -16px 24px var(--lime-soft), 0 18px 30px -18px rgba(0,0,0,.25); transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out); }
.pill .num { font-family: var(--font-mono); font-size: .32em; align-self: center; border: 2px solid var(--ink); border-radius: 999px; padding: 4px 10px; letter-spacing: 0; }
.pill .pixel { letter-spacing: 0; }
.pill .nw { white-space: nowrap; }
.pill .arrow { display: inline-block; transition: transform .4s var(--spring); }
.pill:hover { transform: translateY(-2px); box-shadow: inset 0 14px 22px -14px rgba(255,255,255,.9), 0 -16px 34px rgba(199, 240, 0, .4), 0 24px 34px -18px rgba(0,0,0,.28); }
.pill:hover .arrow { transform: translateX(8px); }
.pill-wrap { padding: 72px 0 32px; }
.hero .pill-wrap { padding: 72px 48px 56px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; text-decoration: none; font: 600 14px/1 var(--font-sans); padding: 12px 22px; border-radius: 999px; background: var(--ink); color: var(--white); border: 2px solid var(--ink); cursor: pointer; transition: transform .3s var(--spring), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.outline { background: transparent; color: var(--ink); border-color: var(--lime); }
.btn.outline:hover { background: var(--lime); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fine { font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--muted); margin-top: 24px; max-width: 52em; }

/* skills tool (home) */
.tool-head { padding: 0 48px 24px; font-family: var(--font-pixel); font-size: 30.7px; line-height: 1.4; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--lime); border-bottom: 2px solid var(--lime); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { appearance: none; border: 0; border-right: 2px solid var(--lime); background: transparent; font-family: var(--font-mono); font-size: 14px; color: var(--ink); padding: 26px 12px; cursor: pointer; position: relative; overflow: hidden; }
.tab:last-child { border-right: 0; }
.tab span { position: relative; z-index: 1; padding: 4px 8px; }
.tab::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, var(--lime) 0 2px, transparent 2px 11px); background-size: 200% 200%; opacity: 0; transition: opacity .25s; }
.tab:hover::before { opacity: .45; }
.tab[aria-selected="true"]::before { opacity: 1; animation: hatch 6s linear infinite; }
.tab[aria-selected="true"] span { background: var(--page); font-weight: 500; border-radius: 6px; }
@keyframes hatch { to { background-position: 100% 100%; } }
.panel { padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center; }
.panel[hidden] { display: none; }
.panel h3 { font-family: var(--font-pixel); font-size: 30.7px; line-height: 1.4; }
.panel .lead { font-size: 16px; line-height: 1.6; max-width: 34em; margin-top: 10px; }
.field-label { font-size: 14px; font-weight: 600; margin: 28px 0 8px; }
.field { border: 2px solid var(--lime); border-radius: 8px; background: var(--page); padding: 12px 14px; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; }
.field div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.field .k { color: var(--ink); }
.field .v { color: var(--muted); }
.panel-aside .shot { transform: rotate(1.2deg); transition: transform .6s var(--spring); }
.panel:hover .panel-aside .shot { transform: rotate(0); }

/* section frames */
.sec { padding: 56px 48px 48px; }
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sec-head h2, .sec-title { font-family: var(--font-pixel); font-size: 30.7px; line-height: 1.4; max-width: 16em; }
.copy { font-size: 16px; line-height: 1.65; max-width: 36em; }
.copy p + p, .copy p + ul, .copy ul + p { margin-top: 12px; }
.copy ul { margin: 0; padding-left: 20px; }
.copy li + li { margin-top: 6px; }
.blk { margin-top: 48px; }
.blk-sm { margin-top: 28px; }
.label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.shot { border: 2px solid var(--lime); border-radius: 20px; overflow: hidden; background: var(--white); }
.shot.pad { padding: 16px; }
.cap { font-family: var(--font-mono); font-size: 12px; line-height: 1.6; color: var(--muted); margin-top: 12px; max-width: 60em; }
.cap b { color: var(--ink); font-weight: 500; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }

/* steps, points, quotes */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--lime); border-radius: 999px; padding: 6px 16px 6px 6px; font-size: 14px; background: var(--page); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); font-family: var(--font-mono); font-size: 11px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--font-mono); font-size: 12px; border: 2px solid var(--ink); border-radius: 999px; padding: 3px 12px; }
.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.points.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point { border: 2px solid var(--lime); border-radius: 20px; padding: 22px; font-size: 15px; line-height: 1.55; background: var(--page); }
.point b { display: block; font-family: var(--font-pixel); font-weight: 400; font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.point.me { background: var(--lime); }
.point ul { margin: 0; padding-left: 18px; }
.point li + li { margin-top: 8px; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.quote { position: relative; border: 2px solid var(--lime); border-radius: 20px 20px 20px 4px; padding: 22px 22px 18px; background: var(--white); font-size: 15px; line-height: 1.5; }
.quote::before { content: "“"; position: absolute; top: -18px; left: 18px; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font: 400 28px/1 var(--font-pixel); padding-top: 8px; }
.quote cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.hmw { font-family: var(--font-pixel); font-size: clamp(24px, 3vw, 36px); line-height: 1.35; padding: 32px; border-radius: 20px; background: var(--lime); }

/* lime stat cards */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.stats.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { background: var(--lime); border-radius: 20px; padding: 24px; transition: transform .45s var(--spring); }
.stat:hover { transform: translateY(-4px) rotate(-.6deg); }
.stat b { display: block; font-weight: 400; font-size: clamp(40px, 4.4vw, 52px); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; margin-top: 14px; line-height: 1.5; }
.stat p { font-size: 14px; line-height: 1.55; margin-top: 12px; }

/* bars */
.bars { border: 2px solid var(--lime); border-radius: 20px; padding: 24px; display: grid; gap: 14px; background: var(--page); }
.bars h3 { font-size: 18px; font-weight: 500; line-height: 1.4; }
.bar { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr) 3.5em; gap: 14px; align-items: center; font-size: 14px; }
.bar .track { height: 18px; border-radius: 999px; background: #EDEDE8; overflow: hidden; }
.bar .fill { height: 100%; width: 0; border-radius: 999px; background: var(--ink); transition: width 1.1s var(--ease-out); }
.bars.on .fill { width: var(--w); }
.bar b { font-family: var(--font-mono); font-weight: 400; font-size: 13px; text-align: right; white-space: nowrap; }

/* swatches + type */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.swatch { border: 2px solid var(--lime); border-radius: 16px; overflow: hidden; background: var(--white); }
.swatch i { display: block; height: 76px; border-bottom: 1px solid var(--line); }
.swatch div { padding: 10px 12px; }
.swatch code { font-family: var(--font-mono); font-size: 12px; }
.swatch span { display: block; font-size: 13px; color: var(--muted); }
.type { border: 2px solid var(--lime); border-radius: 20px; overflow: hidden; }
.type-sub { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; padding: 12px 20px; background: var(--lime); }
.type-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 200px; gap: 20px; align-items: baseline; padding: 12px 20px; border-top: 1px solid var(--line); }
.type-sub + .type-row { border-top: 0; }
.type-row .n { font-family: var(--font-mono); font-size: 12px; }
.type-row .spec { font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-align: right; }
.type-row .sample { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.type.two .type-row { grid-template-columns: 110px minmax(0, 1fr); }
.states { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* outcome */
.outcome { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; }
.outs { display: grid; gap: 16px; }
.out { border: 2px solid var(--lime); border-radius: 20px; padding: 20px 22px; background: var(--page); }
.out h3 { font-family: var(--font-pixel); font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
.out p, .out li { font-size: 15px; line-height: 1.6; }
.out ul { margin: 0; padding-left: 18px; }
.next { background: var(--lime); border-radius: 20px; padding: 28px; }
.next h3 { font-family: var(--font-pixel); font-size: 23px; margin-bottom: 16px; }
.next ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15px; }
.blobs { position: relative; width: min(380px, 100%); aspect-ratio: 380 / 640; justify-self: center; }
.blobs .goo2 { position: absolute; inset: 0; filter: url(#goo-strong); }
.blob, .blob-label { position: absolute; left: 7.9%; width: 84.2%; height: 50%; }
.blob { border-radius: 50%; background: var(--ink); will-change: transform; }
.blob.a, .blob-label.a { top: 0; }
.blob.b, .blob-label.b { top: 50%; }
.blob-label { display: grid; place-content: center; text-align: center; color: var(--white); pointer-events: none; will-change: transform; padding: 0 12%; }
.blob-label b { font-weight: 400; font-size: clamp(56px, 16vw, 96px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.blob-label span { font-family: var(--font-mono); font-size: 11px; margin-top: 10px; }

/* home: work cards */
.work-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-bottom: 40px; }
.work-head h2 { font-family: var(--font-pixel); font-size: 30.7px; line-height: 1.4; max-width: 15em; }
.work-head p { font-size: 16px; line-height: 1.65; max-width: 30em; justify-self: end; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; border: 2px solid var(--lime); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: var(--page); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.card:hover { transform: translateY(-4px); box-shadow: 0 -16px 24px var(--lime-soft), 0 24px 40px -28px rgba(0,0,0,.35); }
.card-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.card h3 { font-family: var(--font-pixel); font-size: 23px; line-height: 1.25; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 20px; }
.card .sub { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: -8px; }
.card .shot { aspect-ratio: 900 / 645; border-radius: 12px; }
.card .shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .shot img { transform: scale(1.04); }
.nums { display: flex; flex-wrap: wrap; gap: 16px 36px; padding-top: 4px; }
.nums b { display: block; font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.nums span { display: block; font-family: var(--font-mono); font-size: 11px; margin-top: 8px; }
.verdict { font-size: 15px; line-height: 1.55; }
.card .more { margin-top: auto; align-self: start; padding-top: 6px; }

/* home: services, blog, marquee, why, contact */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.service { border: 2px solid var(--lime); border-radius: 20px; overflow: hidden; background: var(--ink); transition: transform .45s var(--spring); }
.service:hover { transform: translateY(-6px) rotate(-.8deg); }
.service img { width: 100%; aspect-ratio: 560 / 686; object-fit: cover; object-position: top; }
.service h3 { font-family: var(--font-pixel); font-size: 20px; padding: 14px 18px 16px; color: var(--white); }
.marquee { overflow: hidden; border-top: 2px solid var(--lime); border-bottom: 2px solid var(--lime); margin: 0 -48px; }
.marquee-track { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-pixel); font-size: clamp(28px, 4vw, 48px); line-height: 1; padding: 22px 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 28px; }
.marquee span::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); }
@keyframes slide { to { transform: translateX(-50%); } }
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post { position: relative; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; align-items: center; border: 2px solid var(--lime); border-radius: 20px; padding: 16px; background: var(--page); transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); }
.post:hover { transform: translateY(-4px); box-shadow: 0 -16px 24px var(--lime-soft), 0 24px 40px -28px rgba(0,0,0,.35); }
.post img { border-radius: 12px; aspect-ratio: 1; object-fit: cover; background: var(--white); }
.post time { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.post h3 { font-family: var(--font-pixel); font-size: 21px; line-height: 1.3; margin: 6px 0 14px; }
.post h3 a { text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 20px; }
.why { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; padding: 64px 48px; align-items: center; }
.why h2 { font-family: var(--font-pixel); font-size: 30.7px; line-height: 1.4; }
.why .copy { margin-top: 14px; }
.why .block { margin-top: 36px; padding-top: 24px; border-top: 2px solid var(--lime); }
.why .block h3 { font-family: var(--font-pixel); font-size: 23px; line-height: 1.35; }
.why .block p { font-size: 15px; line-height: 1.6; margin-top: 8px; max-width: 34em; }
.portrait { border: 2px solid var(--lime); border-radius: 50%; overflow: hidden; background: var(--white); aspect-ratio: 1; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about { padding: 56px 48px 48px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.about h2 { font-family: var(--font-pixel); font-size: 30.7px; line-height: 1.4; max-width: 14em; }
.about .copy { margin-top: 20px; }
.contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; max-width: 30em; }
.contact input { flex: 1 1 220px; min-width: 0; width: 100%; min-height: 48px; border: 2px solid var(--lime); border-radius: 999px; background: var(--white); padding: 0 20px; font: 16px var(--font-sans); color: var(--ink); }
.contact-note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-top: 12px; }
.asks { border: 2px solid var(--lime); border-radius: 20px; overflow: hidden; }
.asks table { width: 100%; border-collapse: collapse; }
.asks th { font-family: var(--font-mono); font-weight: 400; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; text-align: left; padding: 14px 18px; border-bottom: 2px solid var(--lime); }
.asks td { padding: 16px 18px; border-bottom: 2px solid var(--lime); vertical-align: top; font-size: 14px; line-height: 1.5; }
.asks tr:last-child td { border-bottom: 0; }
.asks td:first-child { width: 40%; font-size: 17px; line-height: 1.3; }
.asks td:first-child small { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 6px; }

/* next project */
.next-proj { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 48px; }
.next-proj p { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.next-proj .pill { margin-top: 10px; }

/* mail panel */
.mail { border: 2px solid var(--lime); border-radius: 32px; padding: 32px 28px 28px; width: min(500px, calc(100% - 24px)); max-width: none; background: var(--page); color: var(--ink); box-shadow: 0 -16px 24px var(--lime-soft), 0 30px 60px -20px rgba(0,0,0,.35); }
.mail::backdrop { background: rgba(17, 17, 17, .35); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.mail[open] { animation: mail-in .4s var(--spring); }
@keyframes mail-in { from { transform: scale(.94) translateY(10px); opacity: 0; } }
.mail h2 { font-family: var(--font-pixel); font-size: 28px; line-height: 1.3; padding-right: 48px; }
.mail-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 12px 12px 18px; border: 2px solid var(--lime); border-radius: 24px; background: var(--white); }
.mail-addr span { flex: 1 1 auto; font-family: var(--font-mono); font-size: 15px; overflow-wrap: anywhere; }
.mail-addr .btn { min-height: 40px; padding: 8px 18px; }
.mail-note { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 18px; }
.mail .actions { margin-top: 14px; }
.mail-x { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--lime); background: var(--page); color: var(--ink); font: 400 24px/1 var(--font-sans); cursor: pointer; display: grid; place-items: center; }
.mail-x:hover { background: var(--lime); }

/* footer */
.foot { margin-top: 40px; padding: 48px 48px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-mark svg { height: 26px; width: auto; }
.foot-desc { font-size: 16px; line-height: 1.6; margin-top: 18px; max-width: 22em; }
.foot h4 { margin: 0 0 14px; font-weight: 500; font-size: 13px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul .link { font-size: 12px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 2px solid var(--lime); font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* scroll reveal: elements stay visible; they only slide into place */
.rise { transition: transform .9s var(--ease-out); }
.rise.pre { transform: translateY(36px); }

/* ---------- responsive ---------- */
.intro > *, .sec-head > *, .work-head > *, .about-grid > *, .why > *, .panel > *, .cards > *, .stats > *, .points > *, .quotes > *, .duo > *, .trio > *, .split > *, .outcome > *, .outs > *, .services > *, .posts > *, .post > * { min-width: 0; }

@media (max-width: 1100px) {
  .intro { padding: 64px 48px 0; gap: 56px; }
  .outcome, .why { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .page { padding: 20px 20px 40px; }
  :root { --frame-r: 36px; }
  .hero-top { grid-template-columns: 48px 1fr 80px; padding: 56px 32px 0; gap: 16px; }
  .bubbles.left .bubble { width: 40px; height: 40px; font-size: 20px; }
  .bubbles.right .bubble { width: 76px; height: 76px; font-size: 18px; margin-bottom: -16px; }
  .tagline { padding-left: 40%; padding-right: 32px; }
  .intro { grid-template-columns: 1fr; padding: 64px 32px 0; gap: 32px; }
  .intro-copy, .facts { max-width: 40em; }
  .hero .pill-wrap { padding: 56px 32px 48px; }
  .hero-shot { padding: 48px 32px 40px; }
  .tool-head { padding: 0 32px 20px; }
  .tabs { grid-template-columns: repeat(5, minmax(128px, 1fr)); overflow-x: auto; }
  .panel { grid-template-columns: 1fr; padding: 40px 32px; }
  .panel-aside { max-width: 480px; }
  .sec, .about { padding: 48px 32px 40px; }
  .sec-head, .work-head, .about-grid, .split { grid-template-columns: 1fr; gap: 20px; }
  .work-head p { justify-self: start; }
  .why { grid-template-columns: 1fr; padding: 48px 32px; gap: 40px; }
  .why .portrait { max-width: 320px; }
  .outcome { grid-template-columns: 1fr; }
  .points, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marquee { margin: 0 -32px; }
  .posts { grid-template-columns: 1fr; }
  .post { grid-template-columns: 160px minmax(0, 1fr); }
  .type-row { grid-template-columns: 170px minmax(0, 1fr); }
  .type-row .spec { grid-column: 2; text-align: left; }
  .next-proj { padding: 32px; }
  .foot { padding: 40px 32px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .nav-where { display: none; }
}
@media (max-width: 720px) {
  .cards, .duo, .services { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .service img { aspect-ratio: 4 / 3; }
}
@media (max-width: 600px) {
  .page { padding: 12px 12px 28px; }
  :root { --frame-r: 28px; }
  .nav { top: 10px; width: calc(100% - 20px); }
  .nav-bar { height: 56px; padding: 0 12px 0 18px; }
  .hero-top { grid-template-columns: 1fr; padding: 48px 20px 0; gap: 20px; }
  .bubbles.left { display: none; }
  .bubbles.right { flex-direction: row; justify-content: flex-end; }
  .bubbles.right .bubble { width: 58px; height: 58px; font-size: 14px; margin: 0 -8px 0 0; }
  .bubbles.right:hover .bubble:nth-child(odd), .bubbles.right:hover .bubble:nth-child(even) { transform: translateY(-4px); }
  .bubbles.right:hover .bubble:last-child { transform: translateX(6px); }
  .tagline { padding: 0 20px; margin-top: 28px; font-size: 19px; }
  .tagline br { display: none; }
  .intro { padding: 40px 20px 0; gap: 24px; }
  .pixfield { width: 100%; bottom: -40px; height: 220px; }
  .statement { font-size: clamp(22px, 6.6vw, 28px); }
  .chip { padding: 0 10px; }
  .facts li { grid-template-columns: 92px 1fr; font-size: 14px; }
  .hero-shot { padding: 32px 16px 24px; }
  .pill { font-size: clamp(24px, 7.6vw, 34px); padding: 10px 18px 14px; gap: 10px; }
  .pill-wrap { padding: 48px 0 20px; }
  .hero .pill-wrap { padding: 40px 20px 36px; }
  .tool-head { padding: 0 20px 16px; font-size: 22px; }
  .tab { padding: 18px 10px; font-size: 13px; }
  .panel { padding: 28px 20px; }
  .field div { grid-template-columns: 1fr; gap: 0; }
  .field div + div { margin-top: 8px; }
  .sec, .about { padding: 32px 18px 28px; }
  .sec-head h2, .sec-title, .work-head h2, .why h2, .about h2, .panel h3 { font-size: 23px; }
  .blk { margin-top: 32px; }
  .points, .points.two, .quotes { grid-template-columns: 1fr; }
  .quotes { gap: 26px; }
  .point, .out { padding: 16px; }
  .stats.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat { padding: 18px; }
  .stat b { font-size: clamp(30px, 9vw, 40px); }
  .swatches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .swatch i { height: 56px; }
  .bar { grid-template-columns: 1fr 3.5em; gap: 6px 10px; }
  .bar .track { grid-column: 1 / -1; grid-row: 2; }
  .bars { padding: 18px; }
  .hmw { padding: 22px; }
  .type-row, .type.two .type-row { grid-template-columns: 1fr; gap: 4px; padding: 12px 16px; }
  .type-row .spec { grid-column: auto; }
  .card { padding: 16px; }
  .nums b { font-size: 34px; }
  .why { padding: 32px 18px; }
  .marquee { margin: 0 -18px; }
  .post { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 12px; }
  .post h3 { font-size: 18px; }
  .asks th, .asks td { padding: 12px; }
  .asks td:first-child { font-size: 15px; }
  .next { padding: 20px; }
  .next-proj { padding: 24px 18px; }
  .actions .btn { flex: 1 1 auto; }
  .foot { padding: 28px 20px 24px; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .bubble { transform: none; }
  .rise.pre { transform: none; }
  .bars .fill { width: var(--w); }
}
