/* erikmaier.com — the v3 theme, built from Erik's Claude Design canvas
   ("Portfolio redesign with personality", export 2026-09-05, v3 artboards).
   Dark ground, Anton uppercase display, Epilogue body, orange / mint / pink accents,
   scanline-framed photos, the cartridge shelf and the reader console.
   No inline styles anywhere: the site's Content-Security-Policy forbids them. */

:root {
  --bg: #06090D;
  --bg2: #0C171B;
  --bg3: #020406;
  --screen: #04110F;
  --line: #1F3238;
  --ink: #E8EEEA;
  --ink2: #B9C8C6;
  --muted: #8FA7A9;
  --orange: #FFA028;
  --mint: #7CF5A8;
  --mint-dim: #3E6B5C;
  --pink: #F7A8C4;
  --anton: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --epilogue: "Epilogue", "Helvetica Neue", Arial, sans-serif;
  --padx: clamp(40px, 7vw, 120px);
  --gap: 64px;
  --holo: 0%;
  --cut: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--epilogue); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { font-family: var(--anton); font-weight: 400; text-transform: uppercase; line-height: 1; margin: 0; letter-spacing: 0; overflow-wrap: normal; hyphens: none; text-wrap: balance; }
p { margin: 0; }
p + p, .prose p + p, .row-text p + p, .profile-text p + p, .intro-lead p + p { margin-top: 1em; }
a { color: var(--orange); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--bg); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 12px; }
.wrap { padding-left: var(--padx); padding-right: var(--padx); }

/* ---- small type ---- */
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--mint); display: flex; align-items: center; gap: 12px; }
.eyebrow-live::before { content: ""; width: 8px; height: 8px; background: var(--mint); box-shadow: 0 0 10px var(--mint); animation: pulse 2.4s ease-in-out infinite; }
.fig { display: flex; justify-content: space-between; padding: 0 14px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }
.ink-yellow { color: var(--orange); }
.ink-purple { color: var(--pink); }
.ink-peach { color: var(--mint); }
.ink-muted { color: var(--muted); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; text-transform: uppercase; font-family: var(--epilogue); font-weight: 600; font-size: 13px; letter-spacing: .08em; line-height: 1.2; white-space: nowrap; clip-path: var(--cut); transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: scale(.97); }
.btn-fill { background: var(--orange); color: var(--bg); padding: 13px 22px; }
.btn-fill:hover { background: var(--ink); color: var(--bg); }
.btn-line { border: 1px solid var(--orange); color: var(--orange); padding: 12px 22px; }
.btn-line:hover { background: var(--orange); color: var(--bg); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* ---- the frame + the tube ---- */
.frame { position: relative; padding: 14px; }
.frame::before, .frame::after, .frame > .corner::before, .frame > .corner::after { content: ""; position: absolute; width: 24px; height: 24px; border: 0 solid var(--orange); }
.frame::before { left: 0; top: 0; border-left-width: 2px; border-top-width: 2px; }
.frame::after { right: 0; top: 0; border-right-width: 2px; border-top-width: 2px; }
.frame > .corner::before { left: 0; bottom: 0; border-left-width: 2px; border-bottom-width: 2px; }
.frame > .corner::after { right: 0; bottom: 0; border-right-width: 2px; border-bottom-width: 2px; }
.frame-lg::before, .frame-lg::after, .frame-lg > .corner::before, .frame-lg > .corner::after { width: 28px; height: 28px; }
.crt { position: relative; overflow: hidden; background: var(--screen); border: 1px solid var(--line); }
.crt-photo { border: 0; border-radius: 2.5% / 3.5%; box-shadow: inset 0 0 70px rgba(0, 0, 0, .5), 0 0 46px rgba(124, 245, 168, .12); }
.crt img { display: block; width: 100%; height: 100%; object-fit: cover; }
.crt-photo img { aspect-ratio: 4 / 3; filter: saturate(.8) contrast(1.06) brightness(1.04); }
.crt-plate img { aspect-ratio: 16 / 10; }
.crt-tint, .crt-glare, .crt-scan, .crt-vignette { position: absolute; inset: 0; pointer-events: none; }
.crt-tint { background: linear-gradient(160deg, rgba(247, 168, 196, .22), transparent 45%, rgba(124, 245, 168, .16)); mix-blend-mode: screen; }
.crt-glare { background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, .12), transparent 60%); mix-blend-mode: screen; }
.crt-scan { background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .14) 0 1px, transparent 1px 4px); }
.crt-vignette { box-shadow: inset 0 0 60px rgba(0, 0, 0, .45); }

/* ---- petals ---- */
.petals { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.petal { position: absolute; top: 0; height: auto; animation: petal var(--d) linear var(--delay) infinite; will-change: transform; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); }
.petals-hero .petal { opacity: .9; }
.petals-screen .petal { opacity: .5; }
.petal-0 { left: 11%; width: 18px; --d: 9s; --delay: 0s; --sway: -30px; }
.petal-1 { left: 48%; width: 26px; --d: 16s; --delay: -5.3s; --sway: 43px; }
.petal-2 { left: 85%; width: 34px; --d: 15s; --delay: -10.6s; --sway: -56px; }
.petal-3 { left: 22%; width: 23px; --d: 14s; --delay: -1.9s; --sway: 69px; }
.petal-4 { left: 59%; width: 31px; --d: 13s; --delay: -7.2s; --sway: -32px; }
.petal-5 { left: 96%; width: 21px; --d: 12s; --delay: -12.5s; --sway: 45px; }
@keyframes petal { 0% { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; } 10% { opacity: .85; } 50% { transform: translate3d(var(--sway), 45vh, 0) rotate(200deg); } 100% { transform: translate3d(calc(var(--sway) * -.6), 110vh, 0) rotate(420deg); opacity: 0; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes sweep { from { transform: translateY(-100%); } to { transform: translateY(400%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes insert { 0% { transform: translate(-50%, -120%); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-50%, -38%); opacity: 1; } }
@keyframes lineIn { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes glowIn { from { opacity: 0; filter: blur(6px); } to { opacity: 1; filter: blur(0); } }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(6, 9, 13, .92); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--padx); position: relative; }
.site-title { font-family: var(--anton); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap; }
.site-title:hover { color: var(--orange); }
.site-nav { display: flex; align-items: center; gap: 22px; font-size: 12px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover { color: var(--orange); }
.site-nav a[aria-current="page"] { color: var(--orange); border-bottom: 1px solid var(--orange); padding-bottom: 3px; }
.site-nav .btn-contact { padding: 10px 18px; font-size: 12px; letter-spacing: .05em; }
.site-nav .btn-contact:hover { color: var(--bg); }
.draft-dot { color: var(--pink); font-size: 10px; vertical-align: middle; }
.menu-toggle { position: absolute; opacity: 0; pointer-events: none; }
.menu-button { display: none; border: 1px solid var(--orange); color: var(--orange); padding: 10px 16px; font-weight: 600; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.menu-button .menu-close, .menu-toggle:checked ~ .menu-button .menu-open { display: none; }
.menu-toggle:checked ~ .menu-button .menu-close { display: inline; }

/* ---- hero (Home) ---- */
.hero { position: relative; padding: 72px var(--padx) 88px; overflow: hidden; background-image: linear-gradient(rgba(15, 29, 34, .9) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 29, 34, .9) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; opacity: .85; pointer-events: none; mask-image: linear-gradient(180deg, #000, #000 60%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, #000, #000 60%, transparent 100%); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(6, 9, 13, .78), rgba(6, 9, 13, .4) 50%, rgba(6, 9, 13, .05)), linear-gradient(180deg, rgba(6, 9, 13, .15), transparent 35%, var(--bg) 100%); }
.vine { position: absolute; pointer-events: none; filter: drop-shadow(0 0 30px rgba(0, 0, 0, .6)); }
.vine-hero { left: -6%; bottom: -6%; width: min(46vw, 620px); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--gap); align-items: center; padding: 0; }
.hero-card { display: flex; flex-direction: column; gap: 22px; padding: 28px; background: rgba(6, 9, 13, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(31, 50, 56, .7); }
.hero-quote { font-size: clamp(44px, 5.6vw, 88px); line-height: .98; letter-spacing: .005em; }
.hero-attrib { font-size: clamp(15px, 1.2vw, 18px); font-weight: 600; color: var(--orange); }
.hero-bio { font-size: clamp(15px, 1.2vw, 17px); line-height: 1.6; max-width: 46ch; text-wrap: pretty; border-top: 1px solid var(--line); padding-top: 18px; margin-top: 6px; }
.hero-figure { margin: 0; display: flex; flex-direction: column; gap: 0; }

/* ---- about (Home) ---- */
.about { overflow: hidden; background: radial-gradient(ellipse at 100% 100%, rgba(124, 245, 168, .10), transparent 45%), radial-gradient(ellipse at 0% 30%, rgba(247, 168, 196, .08), transparent 40%), var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-bottom: 96px; }
.marquee { overflow: hidden; white-space: nowrap; border-bottom: 1px solid var(--line); }
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; will-change: transform; }
.marquee span { font-family: var(--anton); text-transform: uppercase; font-size: clamp(56px, 7vw, 110px); line-height: 1.05; color: color-mix(in oklch, var(--orange), var(--pink) var(--holo)); transition: color .2s linear; }
.profile { position: relative; padding-top: 72px; }
.vine-profile { right: -4%; bottom: -40%; width: min(34vw, 460px); transform: scaleX(-1); opacity: .85; z-index: 0; }
.profile-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 22px; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; max-width: 72ch; text-wrap: pretty; }
.profile-text p + p { color: var(--ink2); margin-top: 0; }
.profile.has-photo { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: var(--gap); align-items: center; }
.profile-figure { margin: 0; position: relative; z-index: 1; }

/* ---- the shelf + the console (Home) ---- */
.shelf-section { padding: 80px var(--padx) 110px; overflow: hidden; }
.shelf-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 72px; align-items: start; padding: 0; }
.shelves { display: flex; flex-direction: column; gap: 64px; min-width: 0; }
.shelf-title { font-size: clamp(34px, 3.4vw, 52px); margin: 12px 0 8px; }
.shelf-hint { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.shelf-prose { color: var(--ink2); margin-bottom: 20px; }
.shelf-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2vw, 22px); align-items: end; padding: 36px 12px 0; perspective: 700px; }
.shelf-lip { height: 12px; background: var(--bg2); border: 1px solid var(--line); border-top: 2px solid var(--orange); }
.cart { min-width: 0; background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-align: left; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.2, .9, .3, 1.25); }
.cart[aria-pressed="true"] { transform: translateY(-38px) rotateX(14deg) rotateZ(-3deg) scale(1.04); }
.cart-body { display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; width: 100%; aspect-ratio: 150 / 196; border: 1px solid var(--cart-line); background: var(--cart-bg); color: var(--cart-fg); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); transition: transform .3s; }
.cart:hover .cart-body { transform: translateY(-10px); }
.cart-pink, .cart-peach { --cart-bg: var(--pink); --cart-fg: var(--bg); --cart-line: var(--pink); }
.cart-orange, .cart-purple { --cart-bg: var(--orange); --cart-fg: var(--bg); --cart-line: var(--orange); }
.cart-mint, .cart-white { --cart-bg: var(--bg2); --cart-fg: var(--mint); --cart-line: var(--mint); }
.cart-dark, .cart-black { --cart-bg: var(--bg3); --cart-fg: var(--orange); --cart-line: var(--orange); }
.cart-stripes { height: 20px; margin: 12px 10px 0; background: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 8px); opacity: .35; position: relative; }
.cart-label { font-family: var(--anton); text-transform: uppercase; font-size: clamp(12px, 1.3vw, 21px); line-height: 1.05; padding: 0 10px; overflow-wrap: normal; hyphens: none; position: relative; color: transparent; background: linear-gradient(115deg, var(--cart-fg) 0%, var(--cart-fg) 43%, rgba(247, 168, 196, .95) 47.5%, #FFFFFF 50%, rgba(124, 245, 168, .95) 52.5%, var(--cart-fg) 57%, var(--cart-fg) 100%); background-size: 320% 100%; background-position: var(--holo) 50%; -webkit-background-clip: text; background-clip: text; transition: background-position .12s linear; }
.cart-art .cart-label { filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .9)); }
.cart-meta { display: flex; justify-content: space-between; align-items: center; gap: 4px 8px; flex-wrap: wrap; padding: 0 10px 10px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .75; position: relative; }
.cart-art .cart-meta { opacity: .85; }
.cart-art-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; opacity: .9; pointer-events: none; }
.cart-art-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2, 4, 6, .15), rgba(2, 4, 6, .2) 45%, rgba(2, 4, 6, .85) 75%); pointer-events: none; }

.console { position: sticky; top: 96px; min-width: 0; background: var(--bg2); border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 16px; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px)); }
.console-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.led-wrap { display: flex; align-items: center; gap: 8px; color: var(--led); }
.led { width: 8px; height: 8px; background: var(--led); box-shadow: 0 0 10px var(--led); }
.console { --led: var(--muted); }
.console[data-state="loading"] { --led: var(--orange); }
.console[data-state="ready"] { --led: var(--mint); }
.screen { position: relative; overflow: hidden; background: var(--screen); border: 1px solid var(--line); min-height: 420px; padding: 44px 32px 32px; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; box-shadow: inset 0 0 80px rgba(0, 0, 0, .7); }
.screen-scan { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, rgba(124, 245, 168, .05) 0 1px, transparent 1px 3px); pointer-events: none; }
.screen-sweep { position: absolute; left: 0; right: 0; top: 0; height: 25%; background: linear-gradient(180deg, transparent, rgba(124, 245, 168, .06), transparent); animation: sweep 6s linear infinite; pointer-events: none; }
.screen-idle { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .95; pointer-events: none; mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .25) 100%); -webkit-mask-image: linear-gradient(180deg, #000 55%, rgba(0, 0, 0, .25) 100%); }
.screen-meta { position: absolute; top: 14px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mint-dim); }
.insert { position: absolute; left: 50%; top: 0; width: 42%; aspect-ratio: 150 / 196; background: var(--cart-bg); color: var(--cart-fg); border: 1px solid var(--cart-line); clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 0 100%); display: none; align-items: flex-end; padding: 10px; font-family: var(--anton); text-transform: uppercase; font-size: 14px; line-height: 1.05; box-shadow: 0 30px 40px rgba(0, 0, 0, .6); }
.console[data-inserting="1"] .insert { display: flex; animation: insert .55s cubic-bezier(.2, .8, .2, 1) forwards; }
.screen-idle-text, .screen-boot, .screen-ready { position: relative; display: none; flex-direction: column; }
.console[data-state="idle"] .screen-idle-text { display: flex; gap: 14px; }
.console[data-state="loading"] .screen-boot { display: flex; gap: 8px; }
.console[data-state="ready"] .screen-ready { display: flex; gap: 18px; animation: glowIn .6s ease-out; }
.console:not([data-state="idle"]) .screen-idle { display: none; }
.screen-big { font-family: var(--anton); text-transform: uppercase; font-size: clamp(30px, 3vw, 46px); line-height: 1; color: var(--mint); text-shadow: 0 0 18px rgba(124, 245, 168, .45); }
.screen-wait { font-size: 15px; color: var(--ink2); display: flex; align-items: center; gap: 8px; }
.cursor { display: inline-block; width: 10px; height: 18px; background: var(--mint); animation: blink 1s steps(1) infinite; }
.boot-lines { display: flex; flex-direction: column; gap: 8px; font-size: 13px; letter-spacing: .06em; color: var(--mint); }
.boot-lines div { display: flex; gap: 10px; animation: lineIn .25s ease-out both; }
.boot-lines div::before { content: ">"; color: var(--mint-dim); }
.boot-bar { height: 3px; background: #12261F; overflow: hidden; margin-top: 6px; }
.boot-bar span { display: block; width: var(--pct, 25%); height: 100%; background: linear-gradient(90deg, var(--mint), var(--orange)); transition: width .3s; }
.screen-logo { width: 120px; height: 120px; object-fit: contain; border-radius: 4px; }
.screen-path { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.screen-title { font-size: clamp(32px, 3.4vw, 54px); line-height: 1; text-shadow: 0 0 22px rgba(124, 245, 168, .25); }
.screen-sub { font-style: italic; font-size: 16px; color: var(--ink2); }
.screen-ready .btn { align-self: flex-start; font-size: 14px; padding: 13px 24px; }
.console-foot { display: flex; justify-content: flex-end; gap: 6px; }
.stripe { width: 26px; height: 4px; }
.s-orange { background: var(--orange); }
.s-pink { background: var(--pink); }
.s-mint { background: var(--mint); }

/* ---- intro (portfolio / article / landing / tool) ---- */
.intro { position: relative; padding: 72px var(--padx) 96px; overflow: hidden; background-image: linear-gradient(rgba(15, 29, 34, .9) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 29, 34, .9) 1px, transparent 1px); background-size: 64px 64px; background-position: center top; }
.vine-intro { right: -4%; top: -10%; width: min(32vw, 440px); transform: scale(-1); opacity: .8; }
.intro-shade { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 15% 15%, rgba(247, 168, 196, .14), transparent 48%), radial-gradient(ellipse at 95% 100%, rgba(124, 245, 168, .14), transparent 50%), linear-gradient(180deg, transparent 40%, var(--bg) 100%); }
.intro-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: start; padding: 0; }
.intro-head { display: flex; flex-direction: column; gap: 18px; }
.intro-title { font-size: clamp(46px, 5.4vw, 84px); line-height: .98; }
.intro-lead { display: flex; flex-direction: column; gap: 22px; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; text-wrap: pretty; padding: 24px; background: rgba(6, 9, 13, .66); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(31, 50, 56, .7); }
.intro-lead a { font-weight: 600; }
.intro-lead .note, .note { font-size: 14px; line-height: 1.65; color: var(--ink2); border: 1px solid var(--line); border-left: 2px solid var(--pink); padding: 14px 18px; background: var(--bg2); }
.note strong { color: var(--ink); }
.intro-figure { margin: 0; }

/* ---- the rows (portfolio) ---- */
.rows { background: radial-gradient(ellipse at 100% 0%, rgba(124, 245, 168, .08), transparent 40%), var(--bg2); border-top: 1px solid var(--line); padding-top: 0; padding-bottom: 120px; display: flex; flex-direction: column; }
.group-title { font-size: clamp(34px, 3.4vw, 52px); color: var(--orange); padding: 72px 0 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: center; padding: 96px 0; border-bottom: 1px solid var(--line); }
.row.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.row.has-image:nth-of-type(even) .row-figure { order: 2; }
.row-figure { margin: 0; display: flex; flex-direction: column; gap: 0; }
.row-text { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.row-head { display: flex; align-items: baseline; gap: 16px; }
.row-num { font-family: var(--anton); font-size: clamp(40px, 4vw, 64px); line-height: 1; color: var(--orange); }
.row-text h2, .row-text h3, .row-text h4 { font-size: clamp(30px, 3vw, 46px); line-height: 1; }
.row-text p { font-size: clamp(16px, 1.2vw, 17px); line-height: 1.65; color: var(--ink2); text-wrap: pretty; }
.row-url { font-size: 12px; letter-spacing: .04em; color: var(--muted); overflow-wrap: anywhere; text-decoration: underline; }
.row-url:hover { color: var(--orange); }
.row .buttons { margin-top: 0; }

/* ---- the reels (video groups) ---- */
.reel { display: flex; flex-direction: column; gap: 32px; padding: 80px 0; border-bottom: 1px solid var(--line); }
.reel-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap); align-items: end; }
.reel-title { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.reel-title h2, .reel-title h3 { font-size: clamp(30px, 3vw, 46px); }
.reel-body p { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--ink2); text-wrap: pretty; max-width: 60ch; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tiles[data-count="1"] { grid-template-columns: minmax(0, 1fr); }
.tiles[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tile { margin: 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile-media { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--screen); border-radius: 2.5% / 4%; box-shadow: inset 0 0 60px rgba(0, 0, 0, .5); padding: 0; cursor: pointer; }
.tile-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) contrast(1.05); transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tile-media:hover img { transform: scale(1.04); }
.tile-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tile-blank { position: absolute; inset: 0; display: grid; place-items: center; padding: 12% 10%; text-align: center; font-family: var(--anton); text-transform: uppercase; font-size: clamp(20px, 2vw, 30px); line-height: 1; color: var(--mint); text-shadow: 0 0 18px rgba(124, 245, 168, .45); background: repeating-linear-gradient(0deg, rgba(124, 245, 168, .05) 0 1px, transparent 1px 3px), var(--screen); }
.tile-play { position: absolute; left: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); text-shadow: 0 1px 4px rgba(0, 0, 0, .8); }
.tri { width: 0; height: 0; border-left: 8px solid var(--mint); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.tile-label { font-weight: 600; font-size: 15px; line-height: 1.4; text-wrap: pretty; }
.tile-label a { color: var(--ink); text-decoration: none; }
.tile-label a:hover { color: var(--orange); }

/* ---- generic prose ---- */
.prose { max-width: 72ch; padding: 48px 0; font-size: clamp(16px, 1.2vw, 17px); line-height: 1.65; color: var(--ink2); }
.prose h2, .prose h3, .prose h4 { color: var(--ink); margin: 1.4em 0 .5em; }
.prose h2 { font-size: clamp(30px, 3vw, 46px); }
.prose h3 { font-size: clamp(24px, 2.4vw, 34px); }
.prose h4 { font-size: clamp(18px, 1.8vw, 24px); }
.prose figure, .row-text figure { margin: 24px 0; }
.prose figure img, .row-text figure img { display: block; width: 100%; border: 1px solid var(--line); }
figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
blockquote { margin: 18px 0; padding-left: 16px; border-left: 2px solid var(--orange); font-style: italic; color: var(--ink); }
.callout { display: flex; gap: 12px; margin: 18px 0; font-size: 14px; line-height: 1.65; color: var(--ink2); border: 1px solid var(--line); border-left: 2px solid var(--pink); padding: 14px 18px; background: var(--bg2); }
.callout-icon { font-size: 20px; line-height: 1.3; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 18px 0; }
ul, ol { padding-left: 1.3em; margin: .6em 0; }
details { margin: 12px 0; }
summary { cursor: pointer; font-weight: 700; color: var(--ink); }
pre { overflow-x: auto; background: var(--bg3); color: var(--ink); padding: 16px; border: 1px solid var(--line); font-size: 14px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.table-wrap { overflow-x: auto; margin: 18px 0; }
table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--ink); }
.todo input { margin-right: 6px; }

/* ---- contact + footer ---- */
.contact { background: var(--bg3); border-top: 1px solid var(--line); padding: 72px var(--padx) 40px; display: flex; flex-direction: column; gap: 56px; }
.contact-top { display: flex; flex-direction: column; gap: 14px; }
.contact-heading { font-size: clamp(36px, 4.2vw, 64px); line-height: 1; max-width: 18ch; }
.contact-cols { display: grid; grid-template-columns: 1fr 1.6fr 1fr; gap: 40px; font-size: 15px; line-height: 1.7; }
.contact-cols > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; border-top: 1px solid var(--line); padding-top: 16px; }
.contact h4 { font-family: var(--epilogue); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.social { display: flex; gap: 14px; margin-top: 4px; }
.social a { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); color: var(--orange); }
.social a:hover { border-color: var(--orange); background: var(--bg2); color: var(--orange); }
.social svg { width: 22px; height: 22px; }
.footer-line { font-size: 12px; letter-spacing: .06em; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; }

/* ---- tools ---- */
.tool-band { padding: 40px var(--padx) 64px; }
.tool-mount { min-height: 200px; }
.tool-noscript { color: var(--ink2); }

/* ---- preview chrome (never on the live site) ---- */
.preview-bar { position: sticky; top: 0; z-index: 50; background: var(--orange); color: var(--bg); display: flex; justify-content: space-between; gap: 12px; padding: 6px var(--padx); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.preview-bar + .site-header { top: 27px; }
.preview-built { opacity: .8; font-weight: 400; }
.build-notes { background: var(--bg2); color: var(--ink2); padding: 16px var(--padx); font-size: 14px; border-top: 2px solid var(--pink); }
.build-notes strong { color: var(--ink); }
.build-notes ul { margin: 6px 0 0; }

/* ---- responsive (the canvas switched to its phone layout under 1100px) ---- */
@media (max-width: 1099px) {
  :root { --padx: 20px; --gap: 36px; }
  .menu-button { display: inline-block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: flex-start; gap: 4px; background: var(--bg); border-bottom: 1px solid var(--line); padding: 12px 20px 28px; z-index: 40; font-family: var(--anton); text-transform: uppercase; font-size: 30px; line-height: 1.1; letter-spacing: 0; white-space: normal; }
  .site-nav a { padding: 8px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .site-nav a[aria-current="page"] { border-bottom: 1px solid var(--line); padding-bottom: 8px; }
  .site-nav .btn-contact { width: auto; margin-top: 16px; font-family: var(--epilogue); font-size: 13px; letter-spacing: .1em; padding: 12px 22px; border-bottom: 1px solid var(--orange); }
  .menu-toggle:checked ~ .site-nav { display: flex; }
  .hero { padding-top: 36px; }
  .vine-hero { left: -30%; width: 110%; }
  .hero-grid, .intro-grid, .shelf-grid, .row.has-image, .reel-head { grid-template-columns: minmax(0, 1fr); }
  .row.has-image:nth-of-type(even) .row-figure { order: 0; }
  .shelf-grid { gap: 48px; }
  .vine-profile { width: 90%; opacity: .35; }
  .profile.has-photo { grid-template-columns: minmax(0, 1fr); }
  .profile-text { padding: 18px; background: rgba(12, 23, 27, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
  .cart-label { font-size: 14px; padding: 0 7px; }
  .cart-stripes { margin: 12px 7px 0; }
  .console { position: static; }
  .screen { min-height: 300px; padding: 44px 22px 22px; }
  .intro { padding-top: 36px; }
  .vine-intro { width: 90%; }
  .row { padding: 64px 0; }
  .reel { padding: 56px 0; }
  .tiles, .tiles[data-count="3"] { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .contact-cols { grid-template-columns: 1fr; }
  .columns { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .petal { display: none; }
}
@media print {
  .site-nav, .menu-button, .preview-bar, .build-notes, .petals, .vine, .console { display: none !important; }
  body { background: #fff; color: #000; }
}
