/* Mockup: redesigned portfolio home. Shell matches diegovallota.com. */
:root {
  --primary: #d8b46d;
  --primary-dark: #9d7436;
  --primary-light: rgba(216, 180, 109, .16);
  --text: #f7f3ea;
  --text-dim: #c1b9aa;
  --text-faint: #837d72;
  --ink: #080a0d;
  --border: rgba(235, 218, 178, .14);
  --border-light: rgba(255, 255, 255, .095);
  --font-head: "Instrument Serif", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: #07080a; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
  background:
    radial-gradient(circle at 12% 12%, rgba(218, 180, 105, .16), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(230, 238, 255, .08), transparent 24%),
    linear-gradient(135deg, #080a0d 0%, #10151a 46%, #07080a 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, p { margin: 0; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--primary); color: var(--ink); padding: 8px 14px; border-radius: 12px; font-weight: 600; }
.skip:focus { top: 12px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(8, 10, 13, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .sig { height: 58px; width: auto; flex: none; overflow: visible; display: block; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a:not(.btn) { text-decoration: none; color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }
.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 14px;
  background: var(--primary); color: var(--ink);
  padding: 9px 16px; border-radius: 12px; transition: background .2s, transform .2s;
}
.btn:hover { background: #e4c386; }
a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* hero */
.hero { padding-top: clamp(40px, 7vh, 72px); padding-bottom: clamp(32px, 5vh, 48px); }
.eyebrow { font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--primary); margin-bottom: 22px; }
.hero h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(44px, 6.4vw, 104px); line-height: .98; letter-spacing: -.02em; }
.gold { color: var(--primary); font-style: italic; }
.lede { margin-top: 18px; color: var(--text-dim); font-size: clamp(16px, 1.5vw, 18px); }

/* bars */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; padding-bottom: 96px; }

.card {
  --pvn: 1;
  position: relative; display: block; min-width: 0;
  height: clamp(190px, 25vh, 260px);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  color: var(--c-ink);
  background: var(--c-plate);
  transition: border-color .9s ease;
}
@media (max-width: 1099px) { .card { height: clamp(190px, 22vh, 210px); } }
@media (hover: hover) {
  .card:hover { border-color: rgba(235, 218, 178, .26); }
  .card:hover .go i { transform: translateX(4px); }
}
.card:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.card:focus-visible .go i { transform: translateX(4px); }

/* per-scene palette for the two corner plates */
.c-rooted  { --c-plate: #0b0b08; --c-ink: #f4f1e6; --c-sub: rgba(244, 241, 230, .62); --c-acc: #d7ff56; }
.c-lantern { --c-plate: #0c2a20; --c-ink: #F6F1E7; --c-sub: rgba(246, 241, 231, .62); --c-acc: #F2A93B; }
.c-hair    { --c-plate: #F5EFE3; --c-ink: #1d1a16; --c-sub: #4E735B; --c-acc: #4E735B; }
.c-you     { --c-plate: #ffffff; --c-ink: #1b2733; --c-sub: #5a6877; --c-acc: #2f8f6c; }
.c-hrh     { --c-plate: #EAF4EF; --c-ink: #1F3D36; --c-sub: #4a665e; --c-acc: #2c7a63; }
.c-hammock { --c-plate: #E9B33C; --c-ink: #3a1c10; --c-sub: #5a2d1b; --c-acc: #3a1c10; }
.c-lbv     { --c-plate: #0c3154; --c-ink: #F4F1EA; --c-sub: rgba(244, 241, 234, .66); --c-acc: #d2b36a; }
.c-copper  { --c-plate: #1C1B1A; --c-ink: #F3E9DD; --c-sub: rgba(243, 233, 221, .62); --c-acc: #E8A070; }
.c-noodle  { --c-plate: #FFF4E0; --c-ink: #111111; --c-sub: #4a4036; --c-acc: #E8412C; }

.meta { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
/* desktop and tablet: one compact label pill, bottom left */
.txt {
  position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 170px);
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 99px;
  background: var(--c-plate);
  border: 1px solid color-mix(in srgb, var(--c-ink) 22%, transparent);
  font-family: var(--font-mono); font-weight: 500; font-size: 11px; line-height: 1.2;
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
}
.txt > div { display: flex; align-items: center; }
.num { color: var(--c-sub); }
.txt h2 { font: inherit; letter-spacing: inherit; color: var(--c-ink); }
.label { color: var(--c-sub); }
.label::before { content: "\00b7"; margin: 0 .7em; }
.go {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 99px;
  font-size: 12px; font-weight: 600; line-height: 1.2; white-space: nowrap;
  color: var(--c-ink);
  background: var(--c-plate);
  border: 1px solid color-mix(in srgb, var(--c-ink) 22%, transparent);
}
.go i { font-style: normal; display: inline-block; color: var(--c-acc); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }

/* footer */
.site-footer { border-top: 1px solid var(--border-light); padding: 22px 0; color: var(--text-faint); font-size: 14px; }
.foot > span { font-family: var(--font-head); font-size: 18px; color: var(--text-dim); }
.foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.foot a { color: var(--text-dim); text-decoration-color: var(--border); text-underline-offset: 3px; }
.foot a:hover { color: var(--primary); }

/* ===== shared poster + stage ===== */
.poster {
  position: absolute; inset: 0;
  overflow: hidden; isolation: isolate;
  background: var(--c-plate);
  --mx: .5; --my: .5; --hover: 0;
}
/* the stage is the art: the whole bar on desktop and tablet, the top 64% on phone */
.stage {
  position: absolute; inset: 0;
  overflow: hidden;
  container-type: size;
  --sy: calc(var(--my) / var(--pvn));
}
.stage > * { position: absolute; }
.stage img { max-width: none; }
/* parallax layer: depth --d, travels with the pointer across the whole bar */
.layer {
  transform: translate3d(calc((var(--mx) - .5) * var(--d, 0) * 1cqw), calc((var(--my) - .5) * var(--d, 0) * .5cqw), 0) rotate(var(--r, 0deg));
}
svg .layer {
  transform: translate(calc((var(--mx) - .5) * var(--d, 0) * 3px), calc((var(--my) - .5) * var(--d, 0) * 1px));
}
.stage svg { overflow: hidden; }

/* idle motion runs only while the bar is on screen */
.js .poster:not(.in-view) *,
.js .poster:not(.in-view) *::before { animation-play-state: paused !important; }

/* Each scene below is written for a narrow stage (phone, about 2:1).
   The @container block at the end of each scene re-composes it for the wide bar (5:2 and wider).
   On the wide bar the bottom 22% at both corners stays free for the label and "View site". */

/* ===== 1. ROOTED ===== */
.rt-photo-wrap { inset: 0; --d: 5; }
.rt-photo { width: 100%; height: 100%; object-fit: cover; scale: 1.12; }
.rt-dark { inset: 0; background: #000; opacity: calc(.42 - var(--hover) * .12); }
.rt-scrim { inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.78) 0, rgba(0,0,0,.55) 30%, rgba(0,0,0,0) 56%); }
.rt-logo { left: 5cqw; top: 59cqh; height: 31cqh; }
.rt-logo img { height: 100%; width: auto; }
/* one calm lime band, black caps, drifting slowly */
.rt-rows { left: -8cqw; right: -8cqw; top: 22cqh; display: grid; }
.rt-row {
  overflow: hidden;
  font-family: "Anton", Impact, sans-serif;
  font-size: 30cqh; line-height: 1;
  text-transform: uppercase; white-space: nowrap;
  background: #d7ff56; color: #000;
  transform: translateX(calc((var(--mx) - .5) * 8cqw));
}
.rt-track { display: flex; width: max-content; animation: rtRight 90s linear infinite; }
.rt-track span { flex: none; padding-top: .04em; }
@keyframes rtRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@container (min-aspect-ratio: 5/2) {
  .rt-rows { top: 8cqh; }
  .rt-row { font-size: 21cqh; }
  .rt-logo { top: 34cqh; height: 33cqh; }
}

/* ===== 2. LANTERNWAY ===== */
.lw-svg { inset: 0; width: 100%; height: 100%; }
.lw-win { fill: rgba(246, 241, 231, .08); transition: fill 1.2s ease; }
.lw-win.lit { fill: #F2A93B; }
.lw-star { opacity: .35; animation: lwStar calc(var(--t, 3s) * 1.8) ease-in-out infinite alternate; }
@keyframes lwStar { to { opacity: 1; } }
.lw-lantern { animation: lwPulse 5.5s ease-in-out infinite; }
@keyframes lwPulse { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.lw-stars circle { fill: #F6F1E7; opacity: 0; }
/* the wordmark sits in the sky; every roof line is below it */
.lw-mark { left: 6cqw; top: 9cqh; color: #F6F1E7; }
@container (min-aspect-ratio: 5/2) { .lw-mark b { font-size: min(30cqh, 9cqw); } }
.lw-mark b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: min(22cqh, 9cqw); line-height: 1; letter-spacing: -.01em; }
.lw-mark span { display: block; margin-top: 2.4cqh; font-family: var(--font-mono); font-size: max(9px, 4.8cqh); letter-spacing: .16em; text-transform: uppercase; opacity: .8; }

/* ===== 9. GOOD LUCK NOODLE CLUB ===== */
.p-noodle .stage { background: radial-gradient(rgba(17,17,17,.14) 1.1px, transparent 1.5px) 0 0 / 16px 16px; }
.nd-circle { right: -10cqh; bottom: -34cqh; width: 84cqh; aspect-ratio: 1; border-radius: 50%; background: #2B4BFF; border: 3px solid #111; }
.nd-type { left: 7cqw; top: 0; bottom: 0; width: max-content; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 3cqh; }
.nd-word { font-family: "Anton", Impact, sans-serif; font-size: 36cqh; line-height: .9; text-transform: uppercase; color: #111; text-shadow: .8cqh .8cqh 0 #E8412C; }
.nd-word span { display: block; }
.nd-pill {
  transform: rotate(-3deg); transform-origin: left center;
  background: #E8412C; color: #FFF4E0;
  border: 2px solid #111; border-radius: 99px;
  padding: 1cqh 3.4cqh .6cqh;
  font-family: "Anton", Impact, sans-serif; font-size: 9.5cqh; line-height: 1.2; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
  box-shadow: .8cqh .8cqh 0 #111;
}
.nd-svg { inset: 0; width: 100%; height: 100%; pointer-events: none; }
.nd-out, .nd-in { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.nd-out { stroke: #111; }
.nd-in { stroke: #FFD84D; }
.stage .nd-bowl { left: 50%; bottom: -3cqh; width: 46.6cqh; height: 27cqh; overflow: visible; }
@container (min-aspect-ratio: 5/2) {
  .nd-type { left: 6cqw; bottom: 22cqh; }
  .nd-word { font-size: min(52cqh, 10cqw); }
  .nd-word span { display: inline-block; }
  .nd-word span + span { margin-left: .2em; }
  .nd-circle { right: -6cqh; bottom: -44cqh; width: 104cqh; }
  .stage .nd-bowl { left: 62%; }
}

/* ===== 3. HAIR, INC. ===== */
.hi-word { left: 8cqw; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; color: #1d1a16; }
.hi-word b { display: block; font-family: "Gloock", Georgia, serif; font-weight: 400; font-size: min(34cqh, 14cqw); line-height: .92; letter-spacing: -.02em; }
.hi-word i { font-style: normal; color: #4E735B; }
.hi-frame {
  right: 5cqw; top: 46%;
  width: min(116cqh, 46cqw); aspect-ratio: 3 / 2;
  margin-top: calc(min(116cqh, 46cqw) / -3);
  padding: 1.2cqh; background: #fff; border-radius: 4px;
  box-shadow: 0 2cqh 4cqh rgba(60, 50, 30, .16);
  animation: hiFloat 12s ease-in-out infinite alternate;
}
.hi-win { width: 100%; height: 100%; overflow: hidden; border-radius: 2px; position: relative; }
.hi-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(calc((var(--mx) - .5) * -6cqw), calc((var(--my) - .5) * -3cqh), 0) scale(1.2); }
@keyframes hiFloat { to { translate: 0 -1.4cqh; } }
.hi-sweep {
  position: absolute; left: 0; top: -20%; width: 30%; height: 140%; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent);
  opacity: calc(var(--hover) * .9);
  transform: translateX(calc(var(--mx) * 400% - 100%)) rotate(18deg);
}
@container (min-aspect-ratio: 5/2) {
  .hi-word { left: 6cqw; bottom: 22cqh; flex-direction: row; align-items: center; justify-content: flex-start; gap: .22em; font-size: min(52cqh, 12cqw); }
  .hi-word b { font-size: 1em; }
  .hi-frame {
    --fw: min(22cqw, 99cqh);
    right: 4cqw; top: 0; width: var(--fw); aspect-ratio: 3 / 2;
    margin-top: calc((74cqh - var(--fw) / 1.5) / 2);
  }
}

/* ===== 4. YOU.PRJCT+ ===== */
.p-you .stage { background: radial-gradient(rgba(198,210,224,.7) 1px, transparent 1.4px) 0 0 / 18px 18px; }
.yp-title { left: 7cqw; top: 12cqh; width: max-content; font-weight: 700; font-size: min(28cqh, 10.5cqw); line-height: 1.02; letter-spacing: -.04em; background: linear-gradient(90deg, #5b8ed6, #48b990); -webkit-background-clip: text; background-clip: text; color: transparent; }
.yp-title span { display: block; }
.yp-ring { right: 6cqw; top: 0; bottom: 0; display: grid; place-items: center; }
.yp-disc { position: relative; width: min(80cqh, 34cqw); aspect-ratio: 1; }
.yp-disc svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.yp-disc circle { fill: none; stroke-width: 3.4; }
.yp-track { stroke: #e3eaf2; }
.yp-prog { stroke: #48b990; stroke-linecap: round; stroke-dasharray: .72 1; stroke-dashoffset: 0; }
.js .yp-prog { stroke-dashoffset: .72; }
.js .seen .yp-prog { animation: ypSweepA 1.2s cubic-bezier(.2, .7, .2, 1) 2.6s forwards; }
.js .seen.swb .yp-prog { animation: ypSweepB 1.2s cubic-bezier(.2, .7, .2, 1) 0s forwards; }
@keyframes ypSweepA { to { stroke-dashoffset: 0; } }
@keyframes ypSweepB { from { stroke-dashoffset: .72; } to { stroke-dashoffset: 0; } }
.yp-all { inset: 0; }
.yp-all > * { position: absolute; }
.yp-disc img { position: absolute; inset: 7%; width: 86%; height: 86%; object-fit: cover; border-radius: 50%; transform: translate3d(calc((var(--mx) - .5) * -6px), calc((var(--my) - .5) * -4px), 0); }
.yp-chip-wrap { left: 7cqw; top: 76cqh; }
.yp-chip { display: inline-flex; align-items: center; gap: 1.6cqh; background: #fff; border: 1px solid #dbe4ee; border-radius: 99px; padding: 1.8cqh 3.6cqh; font-family: var(--font-mono); font-weight: 500; font-size: max(10px, 6cqh); color: #1b2733; box-shadow: 0 1cqh 3cqh rgba(30, 50, 80, .14); }
.yp-chip i { width: 2cqh; height: 2cqh; border-radius: 50%; background: #48b990; }
.js .yp-chip { opacity: 0; scale: .6; }
.js .seen .yp-chip { animation: ypPop .5s cubic-bezier(.2, .7, .2, 1) forwards; }
@keyframes ypPop { to { opacity: 1; scale: 1; } }
@container (min-aspect-ratio: 5/2) {
  .yp-title { left: 6cqw; top: 15cqh; font-size: min(36cqh, 8cqw); }
  .yp-title span { display: inline; }
  .yp-title span + span { margin-left: .25em; }
  .yp-ring { right: 8cqw; bottom: 20cqh; }
  .yp-disc { width: min(70cqh, 30cqw); }
  .yp-chip-wrap { left: 6cqw; top: 57cqh; }
}

/* ===== 5. HIGH RESOLUTION HEALTH ===== */
.hr-disc { right: -12cqh; top: -30cqh; width: 125cqh; aspect-ratio: 1; border-radius: 50%; background: #d3e9dd; }
.hr-logo { left: 7cqw; top: 10cqh; width: min(46cqh, 26cqw); height: auto; aspect-ratio: 1000 / 238; }
.hr-head { left: 7cqw; top: 34cqh; color: #1F3D36; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: min(22cqh, 7.4cqw); line-height: 1.08; }
.hr-head span { display: block; }
.hr-head .hr-cont { display: none; }
.hr-arch-wrap { right: 19cqw; bottom: 0; height: 88cqh; aspect-ratio: 910 / 1137; }
.hr-arch { width: 100%; height: 100%; border-radius: 999px 999px 0 0; overflow: hidden; border: 2px solid #1F3D36; border-bottom: 0; transform-origin: 50% 100%; animation: hrBreathe 10s ease-in-out infinite alternate; background: #1F3D36; }
.hr-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
@keyframes hrBreathe { to { scale: 1.03; } }
@container (min-aspect-ratio: 5/2) {
  .hr-disc { right: 10cqw; top: -24cqh; width: 130cqh; }
  .hr-logo { left: 6cqw; top: 7cqh; width: min(46cqh, 14cqw); }
  .hr-head { left: 6cqw; top: 21cqh; font-size: min(33cqh, 7cqw); }
  .hr-head span { display: inline; }
  .hr-head span + span { margin-left: .25em; }
  .hr-arch-wrap { right: 19cqw; height: 90cqh; }
}
/* site watermark ring and the three line icons: wide bars only */
.hr-wm, .hr-ico { display: none; }
.hr-wm { opacity: .13; width: 150cqh; height: 150cqh; animation: hrSpin 120s linear infinite; }
@keyframes hrSpin { to { rotate: 360deg; } }
.hr-ico { place-items: center; width: 17cqh; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(44, 122, 99, .38); background: rgba(255, 255, 255, .4); animation: hrFloat 7s ease-in-out infinite alternate; }
.hr-ico img { width: 56%; height: 56%; }
.hr-i2 { animation-duration: 9s; animation-delay: -3s; }
.hr-i3 { animation-duration: 8s; animation-delay: -5.5s; }
@keyframes hrFloat { to { translate: 0 -2.4cqh; } }

/* ===== 6. HAMMOCK STORYTIME ===== */
.p-hammock .stage { background: #E9B33C; }
.stage .hm-svg { right: 0; bottom: 0; height: 100%; width: min(56%, 150cqh); }
.stage .hm-waves { left: 0; right: 0; bottom: 0; width: 100%; height: 26cqh; }
.hm-wave path { animation: hmWave 10s linear infinite; }
.hm-w2 path { animation-direction: reverse; animation-duration: 13s; }
.hm-w3 path { animation-duration: 9s; }
@keyframes hmWave { to { translate: 100px 0; } }
/* the hammock: one steady pendulum, ends fixed at the posts, never paused, never touched by the pointer */
.hm-idle { transform-origin: 150px 84px; animation: hmSway 4.5s ease-in-out infinite alternate; }
@keyframes hmSway { from { transform: skewX(-4deg); } to { transform: skewX(4deg); } }
.js .poster:not(.in-view) .hm-idle { animation-play-state: running !important; }
.hm-title { left: 7cqw; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; color: #5a2d1b; font-family: "Shrikhand", cursive; font-size: min(22cqh, 7.2cqw); line-height: 1.05; text-shadow: .05em .05em 0 #FFF3D6; }
.hm-title span { display: block; }
@container (min-aspect-ratio: 5/2) {
  .hm-title { left: 6cqw; bottom: 14cqh; flex-direction: row; justify-content: flex-start; align-items: center; font-size: min(28cqh, 5.2cqw); }
  .hm-title span + span { margin-left: .25em; }
  .stage .hm-svg { right: 5cqw; width: min(150cqh, 34cqw); }
}

/* ===== 7. LBV ===== */
.p-lbv .stage { background: linear-gradient(180deg, #fbf9f5 0%, #f4f1eb 100%); }
/* narrow: the colonnade runs along the bottom */
.stage .lb-art {
  left: 0; bottom: 0; width: 100cqw; height: 58cqh;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%);
  mask-image: linear-gradient(180deg, transparent 0, #000 14%);
}
.stage .lb-grain { inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* the pointer is the sun: --lx is its slow, smoothed x. Shadows lean away from it and stretch. */
.lb-shadows { transform-origin: 0 150px; transform: skewX(calc(14deg + (.5 - var(--lx, .5)) * 62deg)) scaleY(calc(1 + (var(--lx, .5) - .5) * (var(--lx, .5) - .5) * 3.2)); }
.lb-light { transform: translateX(calc(var(--lx, .5) * 600px - 50px)); }
.lb-edge-l { opacity: calc(var(--lx, .5) * .55); }
.lb-edge-r { opacity: calc((1 - var(--lx, .5)) * .55); }
.lb-head { left: 7cqw; top: 8cqh; color: #0c3154; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: min(15cqh, 6.2cqw); line-height: 1.08; letter-spacing: -.03em; }
.lb-head span { display: block; }
.lb-head span:last-child { font-style: italic; }
@container (min-aspect-ratio: 5/2) {
  .stage .lb-art {
    left: auto; right: 0; bottom: auto; top: 0; width: 52cqw; height: 100cqh;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%);
    mask-image: linear-gradient(90deg, transparent 0, #000 16%);
  }
  .lb-head { left: 6cqw; top: 7cqh; font-size: min(21cqh, 4.4cqw); }
}
@container (min-aspect-ratio: 4/1) {
  .stage .lb-art { width: 56cqw; }
  .lb-head { font-size: min(21cqh, 3.5cqw); }
}

/* ===== 8. COPPERJACK ===== */
.p-copper .stage { background: #1C1B1A; }
.cj-grid {
  inset: -6cqh -6cqw; --d: -4;
  background-image: linear-gradient(rgba(120,170,220,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(120,170,220,.1) 1px, transparent 1px);
  background-size: 9cqh 9cqh;
}
.cj-head { left: 7cqw; top: 7cqh; font-family: "Barlow Condensed", Impact, sans-serif; font-weight: 800; font-size: min(30cqh, 13cqw); line-height: .9; text-transform: uppercase; color: #C4622D; }
.cj-head span { display: block; white-space: nowrap; }
.cj-head span:first-child { color: #F3E9DD; }
.stage .cj-svg { inset: 0; width: 100%; height: 100%; }
.cj-needle path, .cj-ticks path { fill: none; }
.cj-extras { display: none; }
.cj-lever { transform-origin: 690px 113.5px; transform: rotate(calc(var(--cj, 0) * -90deg)); }
.cj-ticks path { stroke: #3a3733; stroke-width: .8; }
.cj-needle { transform-origin: 750px 96px; transform: rotate(calc(32deg - var(--cj, 0) * 78deg)); }
.cj-tremble { transform-origin: 750px 96px; animation: cjTremble 1.4s ease-in-out infinite alternate; }
.cj-needle path { stroke: #b3261e; stroke-width: 1.4; stroke-linecap: round; }
/* the leak is driven from JS (script.js); these are the still-frame values for reduced motion and no JS */
.cj-bead2 { opacity: calc(1 - var(--cj, 0) * 1.1); }
.cj-wet { opacity: calc(.55 - var(--cj, 0) * .55); }
.cj-rip1, .cj-rip2 { opacity: .8; }
@keyframes cjTremble { from { rotate: -.9deg; } to { rotate: .9deg; } }
@container (min-aspect-ratio: 5/2) {
  .cj-head { left: 6cqw; top: 8cqh; font-size: min(44cqh, 8cqw); }
  .cj-head span { display: inline; }
  .cj-head span + span { margin-left: .25em; }
  .cj-extras { display: inline; }
}


/* ===== supporting lines: one quiet type lockup per bar, wide bars only ===== */
.mid { display: none; }
.js .mid-t { opacity: 0; translate: 0 8px; transition: opacity 1.4s ease .2s, translate 1.4s ease .2s; }
.js .seen .mid-t { opacity: 1; translate: 0 0; }
@container (min-aspect-ratio: 4/1) {
  /* 1 Rooted: stamped black label with lime caps */
  /* tagline: a quiet black plate straight above the "View site" pill, right edges aligned */
  .rt-line { display: block; right: 14px; bottom: 52px; padding: 6px 11px 5px; background: #0a0a0a; color: #d7ff56; font-family: var(--font-mono); font-weight: 500; font-size: 10px; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
  /* 2 Lanternway: italic pull-quote in the sky, amber hairline above */
  .lw-line { display: block; left: 44cqw; top: 14cqh; width: 24cqw; padding-top: 3cqh; color: rgba(246,241,231,.82); font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-weight: 600; font-size: max(15px, 12.5cqh); line-height: 1.12; border-top: 1px solid #F2A93B; border-image: linear-gradient(90deg, #F2A93B 0 14%, transparent 14%) 1; }
  /* 3 Hair, Inc.: stacked serif words, one accent, green hairline */
  /* 4 YOU.PRJCT+: tight sans, gradient on the last word, plus a streak of dots */
  .yp-line { display: block; left: 62cqw; top: 13cqh; color: #3b4a5a; font-weight: 600; font-size: max(12px, 7.4cqh); line-height: 1.2; letter-spacing: -.02em; }
  .yp-line em { font-style: normal; background: linear-gradient(90deg, #5b8ed6, #48b990); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .yp-streak { display: flex; align-items: flex-end; gap: 2cqh; left: 64cqw; bottom: 24cqh; }
  .yp-streak i { display: block; width: 5cqh; height: calc(var(--n) * 4.2cqh); background: radial-gradient(circle at 50% 50%, var(--c) 0 1.3cqh, transparent 1.5cqh) 0 100% / 5cqh 4.2cqh repeat-y; }
  /* 5 HRH: the second half of the real headline, smaller, under it. Soft rings beside. */
  .hr-head .hr-cont { display: block; margin-left: 0; margin-top: .14em; font-size: .5em; font-weight: 700; color: rgba(31,61,54,.62); line-height: 1.15; }

  /* 6 Hammock: the site's own line on a gentle arc, plus a few birds */
  .hm-arc { display: block; left: 6cqw; top: 5cqh; width: 32cqw; aspect-ratio: 10 / 1; overflow: visible; fill: #5a2d1b; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
  .hm-flock { display: block; inset: 0; pointer-events: none; }
  .hm-bird { position: absolute; left: 0; top: 0; width: 22px; height: 11px; fill: none; stroke: #5a2d1b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; overflow: visible; will-change: transform; }
  /* 7 LBV: serif italic under a gold hairline, with quiet measure ticks */
  .lb-line2 { display: block; left: 6cqw; top: 54cqh; padding-top: 2.6cqh; color: #546066; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400; font-size: max(13px, 7.2cqh); line-height: 1.3; letter-spacing: -.01em; border-top: 1px solid #a88b43; border-image: linear-gradient(90deg, #a88b43 0 12%, transparent 12%) 1; }


  /* 8 Copperjack: stamped plate, top right, clear of the pipework */
  .cj-line { display: block; right: 4cqw; top: 12cqh; width: 15cqw; padding: 1.6cqh 2.4cqh; border: 1px solid rgba(196,98,45,.7); color: #E8A070; font-family: var(--font-mono); font-weight: 500; font-size: max(10px, 4.6cqh); line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
  /* 9 Noodle: a red stamped label, kept clear by the noodle's keep-out. Chopsticks next to the type. */
  .nd-line { display: block; left: 56cqw; top: 8cqh; width: 24cqw; padding: 1cqh 3cqh .6cqh; border: 2px solid #E8412C; border-radius: 6px; color: #E8412C; background: #FFF4E0; font-family: "Anton", Impact, sans-serif; font-size: max(12px, 8cqh); line-height: 1.2; letter-spacing: .06em; text-transform: uppercase; rotate: -2deg; }
  }
/* Hair, Inc.: the line sits centered in the gap between the wordmark and the photo */
@container (min-aspect-ratio: 21/5) {
  .hi-note {
    display: flex; flex-direction: column; top: 19cqh; padding-left: 2.2cqh; border-left: 1px solid #4E735B;
    left: calc((6cqw + 3.87 * min(52cqh, 12cqw) + 100cqw - 4cqw - min(22cqw, 99cqh)) / 2 - 27cqh);
    color: #1d1a16; font-family: "Gloock", Georgia, serif; font-size: 10cqh; line-height: 1.15;
  }
  .hi-note em { font-style: normal; color: #4E735B; }
}
/* HRH watermark ring and line icons */
@container (min-aspect-ratio: 4/1) {
  .hr-wm { display: block; left: 70cqw; top: 52cqh; translate: -50% -50%; }
  .hr-ico { display: grid; }
  .hr-i1 { left: 54cqw; top: 16cqh; }
  .hr-i2 { left: 59cqw; top: 40cqh; }
  .hr-i3 { left: 54cqw; top: 62cqh; }
}
/* YOU.PRJCT+: the site's own pen marks, drawn on once, low contrast ink */
.yp-mark { fill: none; stroke: #24272b; stroke-width: var(--sw, 1.4); stroke-linecap: round; stroke-linejoin: round; overflow: visible; opacity: .38; }
.yp-mark path { fill: none; }
.yp-plan { stroke: #3a3e44; }
.js .yp-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; }
/* one story, in order, once: chip, underline, arrow, bars, circle, ring */
.js .seen .yp-ul path { animation: ypDraw 1s cubic-bezier(.2, .7, .2, 1) .4s forwards; }
.js .seen .yp-m-arrow path:first-child { animation: ypDraw .6s cubic-bezier(.2, .7, .2, 1) .85s forwards; }
.js .seen .yp-m-arrow path + path { animation: ypDraw .25s ease-out 1.4s forwards; }
.js .seen .yp-m-circle path { animation: ypDraw .75s cubic-bezier(.2, .7, .2, 1) 2.3s forwards; }
.js .seen .yp-m-ring path { animation: ypDraw 1.1s cubic-bezier(.2, .7, .2, 1) 2.6s forwards; }
@keyframes ypDraw { to { stroke-dashoffset: 0; } }
@container (min-aspect-ratio: 4/1) {
  .yp-ul { display: block; position: absolute; left: 0; top: 100%; margin-top: -1cqh; width: 92%; aspect-ratio: 400 / 16; opacity: .7; }
  .yp-m-ring { display: block; width: calc(min(70cqh, 30cqw) * 1.16); aspect-ratio: 1; left: calc(92cqw - min(70cqh, 30cqw) / 2); top: 40cqh; translate: -50% -50%; opacity: .3; }
  .yp-chip-wrap { left: 49cqw; top: 66cqh; }
  .yp-m-arrow { display: block; left: 57.5cqw; top: 65cqh; width: 5.5cqw; aspect-ratio: 2 / 1; opacity: .55; }
  .yp-m-circle { display: block; left: calc(64cqw + 32.8cqh); top: 38.5cqh; width: 9.4cqh; height: 41cqh; opacity: .55; }
  /* the site's highlighter swipe, on the first half of the line */
  .yp-hl { padding: 0 .1em; margin: 0 -.1em; background: no-repeat 0 68% / 100% 55% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M3 9 C40 5 90 7 130 4 C160 3 185 6 198 5 L196 17 C197 24 195 30 197 36 C150 38 100 35 60 37 C35 38 15 36 2 38 C4 30 1 22 4 15 Z' fill='%234A90D9' fill-opacity='.36'/%3E%3C/svg%3E"); }
  .js .yp-hl { background-size: 0 55%; transition: background-size .9s cubic-bezier(.6, 0, .2, 1) 2.7s; }
  .js .seen .yp-hl { background-size: 100% 55%; }
}
.js .yp-streak i { clip-path: inset(100% 0 0 0); }
.js .seen .yp-streak i { animation: ypRise .55s cubic-bezier(.2, .7, .2, 1) calc(1.45s + var(--k) * .11s) forwards; }
@keyframes ypRise { to { clip-path: inset(0 0 0 0); } }

/* ===== phone: art on top, text strip below ===== */
@media (max-width: 699px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .grid { padding-top: 12px; }
  .card { --pvn: .64; height: auto; aspect-ratio: 5 / 4; max-height: 420px; }
  .stage {
    inset: 0 0 auto 0; height: 64%;
    -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - var(--fade-v, 12%)), transparent);
    mask-image: linear-gradient(180deg, #000 calc(100% - var(--fade-v, 12%)), transparent);
  }
  .c-lbv, .c-noodle, .c-hammock { --fade-v: 0%; }
  .txt {
    left: 0; right: 0; bottom: 0; max-width: none; height: 36%;
    flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px;
    padding: 8px 16px 10px; border: 0; border-radius: 0; background: none;
    font-size: 12px; letter-spacing: .14em; white-space: normal;
  }
  .txt > div { display: block; }
  .txt h2 { font-family: var(--font-head); font-weight: 400; font-size: 23px; line-height: 1.1; letter-spacing: normal; text-transform: none; }
  .label { display: flex; align-items: center; min-height: 30px; font-size: 11px; letter-spacing: .1em; }
  .label::before { content: none; }
  .go { right: 16px; bottom: 10px; padding: 6px 12px; font-size: 12px; }
}
@media (max-width: 560px) {
  .nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poster *, .poster *::before { animation: none !important; }
  .card, .go i { transition: none; }
  .js .mid-t { opacity: 1; translate: 0 0; transition: none; }
  .js .yp-mark path { stroke-dashoffset: 0; }
  .js .yp-hl { background-size: 100% 55%; transition: none; }
  .js .yp-chip { opacity: 1; scale: 1; }
  .js .yp-streak i { clip-path: none; }
  .js .yp-prog { stroke-dashoffset: 0; }
}
