:root {
  --black: #050507;
  --ink: #1747ff;
  --blue: #1747ff;
  --electric: #496dff;
  --violet: #8878ff;
  --paper: #f6f7fb;
  --white: #ffffff;
  --muted: #a7abc0;
  --line: 1px solid currentColor;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--paper); font-family: "Noto Sans SC", sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
::selection { color: var(--white); background: var(--blue); }
.noise { position: fixed; inset: 0; z-index: 99; pointer-events: none; opacity: .08; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E"); }

.site-header { height: 68px; padding: 0 3vw; display: flex; align-items: center; justify-content: space-between; color: var(--white); background: var(--black); border-bottom: 1px solid rgba(255,255,255,.28); position: relative; z-index: 20; }
.wordmark { display: flex; gap: 11px; align-items: center; font: 14px "Archivo Black", sans-serif; letter-spacing: -.03em; }
.wordmark svg { width: 48px; fill: none; stroke: currentColor; stroke-width: 5; stroke-linecap: square; }
.wordmark .brand-icon { width: 38px; height: 32px; object-fit: contain; filter: drop-shadow(0 0 8px rgba(136,120,255,.35)); }
nav { display: flex; gap: 34px; font: 700 10px "Space Mono", monospace; letter-spacing: .08em; }
nav a, .socials a { position: relative; }
nav a::after, .socials a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: currentColor; transition: right .2s; }
nav a:hover::after, .socials a:hover::after { right: 0; }
.menu-button { display: none; border: 0; background: none; font: 700 10px "Space Mono", monospace; cursor: pointer; }

.hero { min-height: calc(100svh - 68px); position: relative; overflow: hidden; padding: 22px 3vw 34px; color: var(--white); background-color: var(--black); background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px), radial-gradient(circle at 51% 48%, rgba(23,71,255,.35), transparent 33%); background-size: 36px 36px, 36px 36px, auto; perspective: 1100px; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { inset: 12px; border: 1px solid rgba(255,255,255,.5); }
.hero::after { width: 34vw; height: 34vw; max-width: 520px; max-height: 520px; left: 50%; top: 49%; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; transform: translate(-50%,-50%); box-shadow: 0 0 90px rgba(23,71,255,.25), inset 0 0 70px rgba(23,71,255,.12); }
.hero-title-row { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-start; margin-top: 15px; }
.hero h1 { margin: 0; color: var(--white); font: 900 clamp(74px, 12.2vw, 190px)/.76 "Archivo Black", sans-serif; letter-spacing: -.09em; text-transform: uppercase; white-space: nowrap; }
.hero h1 span { color: transparent; -webkit-text-stroke: 1.5px var(--white); }

.model-stage { --move-x: 0px; --move-y: 0px; --rotate-y: 0deg; --rotate-x: 0deg; --orbit-one-angle: -8deg; --orbit-two-angle: 19deg; position: absolute; z-index: 2; width: min(44vw, 630px); height: min(64vh, 670px); left: 50%; top: 55%; transform: translate(calc(-50% + var(--move-x)), calc(-50% + var(--move-y))); transform-style: preserve-3d; transition: transform .12s linear; }
.model-stage::before, .model-stage::after { content: ""; position: absolute; z-index: -2; left: 50%; top: 49%; border-radius: 50%; transform: translate(-50%,-50%); }
.model-stage::before { width: 78%; aspect-ratio: 1; background: radial-gradient(circle, rgba(120,104,255,.54) 0, rgba(23,71,255,.31) 38%, transparent 70%); filter: blur(18px); }
.model-stage::after { width: 66%; height: 77%; border: 1px solid rgba(255,255,255,.22); background: repeating-linear-gradient(90deg, transparent 0 17px, rgba(255,255,255,.07) 18px 19px); clip-path: polygon(50% 0, 91% 23%, 100% 72%, 64% 100%, 22% 93%, 0 52%, 13% 13%); }
.model-placeholder { position: absolute; z-index: 2; width: 78%; height: 100%; left: 50%; bottom: 0; transform: translateX(-50%); transform-origin: 50% 70%; transform-style: preserve-3d; filter: drop-shadow(0 0 20px rgba(255,255,255,.3)) drop-shadow(0 0 42px rgba(73,109,255,.45)); transition: transform .12s linear; }
.hero-model { width: 100%; height: 100%; background: transparent; --poster-color: transparent; }
.model-progress { position: absolute; left: 50%; bottom: 11%; width: min(210px, 70%); padding: 8px; color: #fff; background: rgba(5,5,7,.72); border: 1px solid rgba(255,255,255,.65); transform: translateX(-50%); font: 700 7px "Space Mono", monospace; }
.model-progress span { display: block; width: 0; height: 2px; margin-bottom: 6px; background: #fff; transition: width .18s linear; }
.model-progress b { font: inherit; }
.model-error { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 13px; color: #fff; font: 700 8px "Space Mono", monospace; }
.model-error img { width: 42%; max-width: 180px; filter: drop-shadow(0 0 24px rgba(136,120,255,.7)); }
.model-head { position: absolute; width: 37%; aspect-ratio: .82; left: 50%; top: 0; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.9); border-radius: 44% 56% 48% 52% / 37% 40% 60% 63%; background: linear-gradient(115deg, #fff 5%, #c7ccdb 25%, #264ee8 58%, #0b0d16 82%); box-shadow: inset -14px -9px 24px rgba(0,0,0,.55), inset 12px 8px 18px rgba(255,255,255,.55); }
.model-head::before { content: ""; position: absolute; width: 116%; height: 32%; left: -8%; top: 39%; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; transform: rotate(-4deg); }
.model-head::after { content: ""; position: absolute; width: 9px; height: 9px; left: 48%; top: 48%; border: 1px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 9px rgba(23,71,255,.42), 0 0 0 18px rgba(255,255,255,.15); }
.model-head span { position: absolute; inset: 10%; border-radius: inherit; background-image: linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 11px 11px; mix-blend-mode: overlay; }
.model-neck { position: absolute; width: 16%; height: 12%; left: 42%; top: 26%; background: linear-gradient(90deg, #202852, #fff 52%, #143ee3); clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); }
.model-body { position: absolute; width: 100%; height: 68%; left: 0; bottom: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.7); border-radius: 48% 52% 6% 6% / 23% 23% 2% 2%; background: linear-gradient(120deg, #fff 0 11%, #a8b3e9 18%, #1747ff 47%, #0b0d17 78%, #5578ff 100%); box-shadow: inset 24px 10px 36px rgba(255,255,255,.32), inset -38px -10px 52px rgba(0,0,0,.68); }
.model-body::before { content: ""; position: absolute; width: 38%; height: 115%; left: 31%; top: -8%; border-inline: 1px solid rgba(255,255,255,.45); transform: perspective(300px) rotateX(-4deg); background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,.14) 23px 24px); }
.model-body::after { content: "MODEL / 00"; position: absolute; left: 50%; top: 57%; padding: 4px 7px; color: var(--white); border: 1px solid rgba(255,255,255,.7); background: rgba(5,5,7,.5); font: 700 7px "Space Mono", monospace; transform: translate(-50%,-50%); }
.body-line { position: absolute; z-index: 2; width: 56%; height: 1px; top: 22%; background: var(--white); }
.body-line-a { left: -5%; transform: rotate(24deg); }
.body-line-b { right: -5%; transform: rotate(-24deg); }
.model-orbit { position: absolute; z-index: 4; left: 50%; top: 48%; border: 1px solid rgba(255,255,255,.78); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 92%; height: 21%; transform: translate(-50%,-50%) rotate(var(--orbit-one-angle)); }
.orbit-two { width: 68%; height: 13%; transform: translate(-50%,-50%) rotate(var(--orbit-two-angle)); }
.model-orbit::before, .model-orbit::after { content: ""; position: absolute; width: 8px; height: 8px; border: 1px solid var(--white); border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--white); }
.model-orbit::before { left: 12%; top: 4%; }
.model-orbit::after { right: 9%; bottom: 7%; }
.coordinate { position: absolute; z-index: 5; color: rgba(255,255,255,.75); font: 700 7px "Space Mono", monospace; }
.coordinate-a { left: 2%; top: 24%; }
.coordinate-b { right: 0; top: 34%; }
.coordinate-c { left: 8%; bottom: 19%; }
.target { position: absolute; z-index: 5; width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.78); }
.target::before, .target::after { content: ""; position: absolute; background: rgba(255,255,255,.7); }
.target::before { width: 44px; height: 1px; left: -8px; top: 14px; }
.target::after { width: 1px; height: 44px; left: 14px; top: -8px; }
.target-a { left: 7%; top: 34%; }
.target-b { right: 6%; bottom: 25%; }
.hero-intro { position: absolute; z-index: 5; left: 4vw; bottom: 76px; width: min(330px, 27vw); margin: 0; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.75; }
.round-cta { position: absolute; z-index: 6; right: 4vw; bottom: 70px; width: 170px; min-height: 56px; padding: 11px 13px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--black); background: var(--white); border: 1px solid var(--white); font: 700 9px "Space Mono", monospace; transition: color .2s, background .2s, transform .2s; }
.round-cta:hover { color: var(--white); background: var(--blue); transform: translate(-4px,-4px); box-shadow: 4px 4px 0 var(--white); }
.round-cta b { font-size: 20px; }
.hero-note { position: absolute; z-index: 5; left: 50%; bottom: 22px; display: flex; gap: 10px; align-items: center; transform: translateX(-50%); font: 700 7px "Space Mono", monospace; letter-spacing: .08em; }
.hero-note b { font-size: 13px; }

.ticker { overflow: hidden; padding: 12px 0; color: var(--white); background: var(--blue); border-block: 1px solid var(--black); font: 700 10px "Space Mono", monospace; }
.ticker-track { width: max-content; display: flex; animation: ticker 22s linear infinite; }
.ticker span { padding-right: 14px; }
.section-pad { padding: 105px 5vw; }
.work { background: var(--paper); }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 42px; margin-bottom: 58px; }
.eyebrow, .filter-label { display: inline-block; font: 700 8px "Space Mono", monospace; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow { margin-bottom: 12px; }
.section-heading h2, .about h2 { margin: 0; font: 900 clamp(52px, 7vw, 108px)/.86 "Archivo Black", sans-serif; letter-spacing: -.075em; text-transform: uppercase; }
.section-heading p { max-width: 450px; justify-self: end; margin: 0; padding-left: 20px; border-left: 1px solid currentColor; font-size: 14px; line-height: 1.75; }

.project-filters { position: relative; margin: 0 0 60px; padding: 20px; color: var(--white); background: var(--black); border: 1px solid var(--black); }
.project-filters::before { content: "FILTER_INTERFACE / ACTIVE"; position: absolute; right: 20px; top: 20px; color: rgba(255,255,255,.45); font: 700 7px "Space Mono", monospace; }
.filter-label { margin-bottom: 13px; color: rgba(255,255,255,.58); }
.filter-tier + .filter-tier, .subfilter-panel { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }
.main-filters, .sub-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.main-filter, .sub-filter { padding: 9px 12px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.62); font: 700 8px "Space Mono", monospace; text-transform: uppercase; cursor: pointer; transition: background .18s, color .18s, transform .18s; }
.main-filter:hover, .sub-filter:hover { transform: translateY(-2px); }
.main-filter.active, .sub-filter.active { color: var(--white); background: var(--blue); border-color: var(--blue); }
.main-filter small, .sub-filter small { display: inline; margin-left: 6px; color: inherit; font-size: 7px; }
.filter-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--black); border: 1px solid var(--black); }
.gallery-card { min-width: 0; overflow: hidden; background: var(--paper); transition: background .25s; }
.gallery-card:hover { background: var(--blue); color: var(--white); }
.gallery-card[hidden] { display: none !important; }
.gallery-card.filter-enter { animation: filter-in .35s ease both; }
.project-cover { position: relative; isolation: isolate; aspect-ratio: 1.12 / 1; overflow: hidden; background: var(--black); border-bottom: 1px solid var(--black); }
.project-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 38%, rgba(5,5,7,.78) 100%), linear-gradient(90deg, rgba(23,71,255,.16), transparent 45%); }
.project-cover::after { content: ""; position: absolute; z-index: 2; inset: 13px; border: 1px solid rgba(255,255,255,.52); pointer-events: none; }
.project-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.62) contrast(1.12); transition: transform .45s, filter .45s; }
.gallery-card:hover .project-cover img { transform: scale(1.04); filter: saturate(1) contrast(1.05); }
.project-cover i { position: absolute; z-index: 3; right: 23px; top: 23px; width: 34px; height: 34px; display: grid; place-items: center; color: var(--black); background: var(--white); border: 1px solid var(--white); font-style: normal; font-size: 15px; }
.project-cover > b { position: absolute; z-index: 3; left: 23px; top: 23px; width: 8px; height: 8px; background: var(--blue); border: 1px solid var(--white); }
.gallery-meta { min-height: 172px; padding: 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.gallery-meta small { font: 700 7px "Space Mono", monospace; letter-spacing: .04em; }
.gallery-meta h3 { margin: 8px 0 0; font-size: clamp(22px, 2.1vw, 31px); line-height: .98; letter-spacing: -.045em; }
.gallery-meta p { max-width: 32ch; margin: 13px 0 0; font-size: 11px; line-height: 1.58; opacity: .74; }
.gallery-meta > b { flex: 0 0 auto; font: 700 9px "Space Mono", monospace; }

.about { position: relative; overflow: hidden; color: var(--white); background-color: var(--blue); background-image: linear-gradient(rgba(255,255,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.13) 1px, transparent 1px); background-size: 28px 28px; border-block: 1px solid var(--black); }
.about::before { content: "ABOUT / PROFILE / 02"; position: absolute; right: 5vw; top: 35px; color: rgba(255,255,255,.5); font: 700 8px "Space Mono", monospace; }
.about-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 8vw; align-items: end; }
.about h2 em { color: var(--black); font-style: normal; -webkit-text-stroke: 1px var(--white); }
.about-copy { border-left: 1px solid rgba(255,255,255,.55); padding-left: 30px; font-size: 15px; line-height: 1.85; }
.about-copy p { margin: 0 0 20px; }
.skills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.skills span { padding: 8px 11px; border: 1px solid currentColor; font: 700 8px "Space Mono", monospace; text-transform: uppercase; }
.about-cta { display: inline-block; margin-top: 25px; padding: 11px 14px; color: var(--black); background: var(--white); border: 1px solid var(--white); font: 700 8px "Space Mono", monospace; transition: color .2s, background .2s; }
.about-cta:hover { color: var(--white); background: var(--black); }
.about-orbit { position: absolute; width: 270px; height: 270px; right: -95px; top: -90px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.about-orbit::after { content: ""; position: absolute; inset: 38px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; }
.about-orbit span { position: absolute; left: -16px; bottom: 18px; color: var(--white); font-size: 50px; }

.contact { min-height: 82vh; position: relative; display: flex; flex-direction: column; justify-content: center; color: var(--white); background-color: var(--black); background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px), radial-gradient(circle at 85% 40%, rgba(23,71,255,.46), transparent 30%); background-size: 32px 32px, 32px 32px, auto; }
.contact::after { content: "OPEN FOR COLLABORATION / 2026"; position: absolute; right: 5vw; top: 70px; font: 700 8px "Space Mono", monospace; }
.contact h2 { margin: 0 0 52px; font: 900 clamp(70px, 11vw, 166px)/.78 "Archivo Black", sans-serif; letter-spacing: -.08em; text-transform: uppercase; }
.contact h2 span { color: transparent; -webkit-text-stroke: 1.5px var(--white); }
.email-link { width: fit-content; max-width: 100%; overflow-wrap: anywhere; padding-bottom: 7px; border-bottom: 1px solid var(--white); font: 700 clamp(16px, 2.2vw, 30px) "Space Mono", monospace; }
.email-link b { display: inline-block; margin-left: 9px; transition: transform .2s; }
.email-link:hover b { transform: translate(6px,-6px); }
.contact-bottom { display: flex; justify-content: space-between; align-items: end; margin-top: 90px; color: rgba(255,255,255,.72); font: 700 8px "Space Mono", monospace; }
.socials { display: flex; gap: 24px; }
footer { padding: 19px 3vw; display: flex; justify-content: space-between; color: var(--white); background: var(--blue); border-top: 1px solid var(--black); font: 700 8px "Space Mono", monospace; }
.mobile-menu { display: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s, transform .65s; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes filter-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .model-stage { width: 58vw; }
  .project-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .site-header { height: 60px; padding-inline: 5vw; }
  nav { display: none; }
  .menu-button { display: block; }
  .mobile-menu { display: flex; position: fixed; inset: 60px 0 auto; z-index: 15; flex-direction: column; gap: 18px; padding: 25px 5vw; color: var(--white); background: var(--blue); border-bottom: 1px solid var(--white); font: 900 24px "Archivo Black", sans-serif; transform: translateY(-130%); transition: transform .3s; }
  .mobile-menu.open { transform: none; }
  .hero { min-height: calc(100svh - 60px); padding: 18px 4vw 26px; }
  .hero::before { inset: 8px; }
  .hero h1 { font-size: clamp(53px, 16vw, 92px); }
  .model-stage { width: 88vw; height: 59vh; top: 56%; }
  .model-placeholder { width: 64%; }
  .coordinate { display: none; }
  .hero-intro { left: 7vw; bottom: 74px; width: 45vw; font-size: 9px; }
  .round-cta { right: 6vw; bottom: 69px; width: 130px; min-height: 48px; font-size: 7px; }
  .hero-note { bottom: 17px; }
  .section-pad { padding: 78px 5vw; }
  .section-heading, .about-layout { grid-template-columns: 1fr; }
  .section-heading p { justify-self: start; }
  .project-filters { margin-bottom: 42px; padding: 16px; }
  .project-filters::before { display: none; }
  .main-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .main-filter { min-width: 0; }
  .sub-filters { flex-wrap: nowrap; margin-inline: -16px; padding: 2px 16px 7px; overflow-x: auto; scrollbar-width: none; }
  .sub-filters::-webkit-scrollbar { display: none; }
  .sub-filter { flex: 0 0 auto; }
  .project-gallery { grid-template-columns: 1fr; gap: 1px; }
  .gallery-meta { min-height: 155px; }
  .about-layout { gap: 43px; }
  .about-copy { padding-left: 20px; }
  .contact { min-height: auto; }
  .contact h2 { margin-top: 12px; font-size: 18vw; }
  .email-link { font-size: 14px; }
  .contact-bottom { margin-top: 65px; flex-direction: column; align-items: start; gap: 25px; }
  footer { gap: 11px; flex-wrap: wrap; }
}

@media (max-width: 470px) {
  .wordmark span { display: none; }
  .model-stage { height: 55vh; top: 55%; }
  .hero-intro { width: 50vw; }
  .round-cta { width: 112px; padding: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* V3 / COLORFUL DESIGN UNIVERSE */
:root {
  --black: #44357d;
  --ink: #4c70df;
  --blue: #4c70df;
  --electric: #8395ff;
  --violet: #8f6ce8;
  --paper: #fff8d9;
  --white: #fffef7;
  --pink: #f4a7dc;
  --hot-pink: #ff70c7;
  --yellow: #ffdc52;
  --cyan: #a9e6ff;
  --green: #bce976;
}
body { color: #4a4383; background: #fff8d9; }
.noise { opacity: .045; mix-blend-mode: multiply; }
.site-header { height: 74px; margin: 12px 14px 0; padding: 0 22px; color: #4b5fbd; background: rgba(255,254,247,.94); border: 3px solid #5572d9; border-bottom-width: 3px; border-radius: 24px 24px 0 0; box-shadow: 7px 7px 0 #ee9fd5, 10px 10px 0 #5572d9; }
.wordmark .brand-icon { width: 42px; height: 36px; filter: drop-shadow(2px 3px 0 #ffe26b); }
nav { gap: 10px; }
nav a { padding: 8px 13px; color: #fff; background: #8e72e2; border: 2px solid #5572d9; border-radius: 999px; box-shadow: 2px 2px 0 #ffda50; }
nav a:nth-child(2) { color: #4a4383; background: #f5a9dc; }
nav a:nth-child(3) { color: #4a4383; background: #bce976; }
nav a::after { display: none; }

.hero { min-height: calc(100svh - 98px); margin: 0 14px 14px; padding: 16px 3vw 34px; color: #4a4383; background-color: #f5b5df; background-image: radial-gradient(circle at 10% 16%, #fff 0 4px, transparent 5px), radial-gradient(circle at 86% 19%, #ffdd50 0 8px, transparent 9px), radial-gradient(circle at 72% 75%, rgba(255,255,255,.9) 0 5px, transparent 6px), linear-gradient(rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px), linear-gradient(135deg, #f7acd9 0%, #c69bea 42%, #86b9f8 100%); background-size: auto, auto, auto, 38px 38px, 38px 38px, auto; border: 3px solid #5572d9; border-top: 0; border-radius: 0 0 28px 28px; box-shadow: 7px 7px 0 #ffdc52, 10px 10px 0 #5572d9; }
.hero::before { inset: 12px; border: 2px solid rgba(255,255,255,.82); border-radius: 22px; }
.hero::after { width: 39vw; height: 39vw; border: 3px dashed rgba(255,255,255,.74); box-shadow: 0 0 0 16px rgba(255,255,255,.12), 0 0 80px rgba(255,255,255,.52); }
.hero-title-row { margin-top: 12px; }
.hero h1 { color: #fffef7; -webkit-text-stroke: 3px #5572d9; text-shadow: 6px 7px 0 #ffdc52, 10px 11px 0 #f477c4; }
.hero h1 span { color: #fffef7; -webkit-text-stroke: 3px #5572d9; }
.model-stage::before { background: radial-gradient(circle, rgba(255,255,255,.88) 0, rgba(255,232,128,.52) 35%, rgba(135,111,229,.28) 59%, transparent 72%); }
.model-stage::after { border: 2px solid rgba(255,255,255,.65); background: repeating-linear-gradient(90deg, transparent 0 17px, rgba(255,255,255,.15) 18px 19px); }
.model-placeholder { width: 80%; filter: drop-shadow(0 8px 0 rgba(83,103,200,.2)) drop-shadow(0 0 32px rgba(255,255,255,.7)); }
.model-orbit { border-width: 2px; border-color: rgba(255,255,255,.95); box-shadow: 0 0 0 1px rgba(86,101,199,.3); }
.model-orbit::before, .model-orbit::after { background: #ffdc52; border: 2px solid #fff; }
.coordinate { color: #fff; padding: 3px 5px; background: #7965cf; border-radius: 6px; }
.target { border: 2px solid #fff; }
.target::before, .target::after { background: #fff; }
.model-progress { color: #4a4383; background: #fffef7; border: 2px solid #5572d9; border-radius: 9px; }
.model-progress span { background: #f477c4; }
.hero-intro { padding: 15px; color: #4a4383; background: #fffef7; border: 3px solid #5572d9; border-radius: 17px; box-shadow: 5px 5px 0 #ffdc52; }
.hero-intro b { display: block; margin-bottom: 7px; color: #6f5ac6; font: 900 11px "Archivo Black", sans-serif; }
.round-cta { color: #4a4383; background: #ffdc52; border: 3px solid #5572d9; border-radius: 16px; box-shadow: 5px 5px 0 #f477c4; }
.round-cta:hover { color: #fff; background: #7863d0; box-shadow: 5px 5px 0 #ffdc52; }
.hero-note { color: #fff; padding: 5px 9px; background: rgba(97,79,182,.58); border-radius: 999px; }

.planet-nav { position: absolute; inset: 0; z-index: 7; pointer-events: none; }
.planet-button { position: absolute; width: 145px; min-height: 160px; padding: 0; color: #4a4383; background: transparent; border: 0; cursor: pointer; pointer-events: auto; text-align: center; transition: transform .25s; }
.planet-button:hover, .planet-button:focus-visible { transform: translateY(-7px) scale(1.05); outline: none; }
.planet-button i { position: relative; width: 86px; height: 86px; margin: 0 auto 8px; display: block; border: 3px solid #5572d9; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0 8%, #f7d861 9% 18%, #f286ce 19% 43%, #7e6bd9 44% 100%); box-shadow: inset -9px -11px 0 rgba(72,76,168,.17), 5px 6px 0 rgba(255,255,255,.65); }
.planet-button i::before { content: ""; position: absolute; width: 128px; height: 34px; left: 50%; top: 50%; border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 2px #5572d9; transform: translate(-50%,-50%) rotate(-14deg); }
.planet-button i::after { content: "✦"; position: absolute; right: -25px; top: -14px; color: #ffdc52; -webkit-text-stroke: 1px #5572d9; font-size: 26px; }
.planet-button b { display: inline-block; padding: 5px 9px; color: #fff; background: #705ec8; border: 2px solid #fff; border-radius: 999px; box-shadow: 2px 2px 0 #5572d9; font: 900 9px "Archivo Black", sans-serif; }
.planet-button span { display: block; margin-top: 6px; color: #fff; font: 700 6px/1.5 "Space Mono", monospace; text-shadow: 1px 1px 0 #5572d9; }
.planet-experience { left: 4vw; top: 34%; }
.planet-digital { right: 4vw; top: 30%; }
.planet-digital i { background: radial-gradient(circle at 35% 30%, #fff 0 8%, #9be6ff 9% 27%, #62aaf1 28% 56%, #725fc6 57% 100%); }
.planet-brand { right: 10vw; bottom: 15%; }
.planet-brand i { background: radial-gradient(circle at 35% 30%, #fff 0 8%, #d9f283 9% 25%, #ffdc52 26% 48%, #f477c4 49% 100%); }

.ticker { color: #4a4383; background: linear-gradient(90deg, #ffdc52, #f5a8db, #9edfff, #bce976); border-block: 3px solid #5572d9; font-size: 11px; }
.work { background-color: #fff8d9; background-image: radial-gradient(#f3aad9 1.2px, transparent 1.2px); background-size: 18px 18px; }
.section-heading h2, .about h2 { color: #fff; -webkit-text-stroke: 2px #5572d9; text-shadow: 5px 6px 0 #f4a7dc; }
.section-heading p { padding: 17px; color: #4a4383; background: #fff; border: 3px solid #5572d9; border-radius: 18px; box-shadow: 5px 5px 0 #9edfff; }
.eyebrow { padding: 5px 9px; color: #fff; background: #8e72e2; border-radius: 999px; }
.project-filters { padding: 55px 20px 22px; color: #4a4383; background: #fff; border: 3px solid #5572d9; border-radius: 22px; box-shadow: 7px 7px 0 #f4a7dc; }
.project-filters::before { content: "✦ PROJECT_PLANETS / CHOOSE YOUR DESTINATION"; inset: 0 0 auto; height: 36px; padding: 0 16px; display: flex; align-items: center; color: #fff; background: #8e72e2; border-radius: 17px 17px 0 0; font-size: 8px; }
.filter-label { color: #6a61a8; }
.filter-tier + .filter-tier, .subfilter-panel { border-color: #d5c7f4; }
.main-filter, .sub-filter { color: #4a4383; background: #fff8d9; border: 2px solid #5572d9; border-radius: 999px; box-shadow: 2px 2px 0 #9edfff; }
.main-filter:nth-child(2) { background: #f4a7dc; }
.main-filter:nth-child(3) { background: #9edfff; }
.main-filter:nth-child(4) { background: #ffdc52; }
.main-filter.active, .sub-filter.active { color: #fff; background: #7965cf; border-color: #5572d9; box-shadow: 3px 3px 0 #ffdc52; }
.project-gallery { gap: 22px; background: transparent; border: 0; }
.gallery-card { color: #4a4383; background: #fff; border: 3px solid #5572d9; border-radius: 24px; box-shadow: 6px 6px 0 #f4a7dc; }
.gallery-card:nth-child(3n+2) { box-shadow: 6px 6px 0 #9edfff; }
.gallery-card:nth-child(3n) { box-shadow: 6px 6px 0 #ffdc52; }
.gallery-card:hover { color: #4a4383; background: #fff; transform: translate(-3px,-4px) rotate(-.5deg); }
.project-cover { background: #9edfff; border-bottom: 3px solid #5572d9; }
.project-cover::before { background: linear-gradient(180deg, transparent 55%, rgba(85,85,168,.42) 100%); }
.project-cover::after { inset: 10px; border: 3px solid rgba(255,255,255,.78); border-radius: 16px; }
.project-cover img { filter: saturate(1.05) contrast(1.02); }
.project-cover i { color: #4a4383; background: #ffdc52; border: 2px solid #5572d9; border-radius: 50%; }
.project-cover > b { width: 13px; height: 13px; background: #f477c4; border: 2px solid #fff; border-radius: 50%; }
.gallery-meta { background: linear-gradient(135deg, #fffef7, #fff8d9); }
.gallery-meta small { color: #776bc0; }
.about { color: #fff; background-color: #906ddd; background-image: radial-gradient(circle at 82% 18%, #ffdc52 0 4%, transparent 4.2%), linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(135deg,#8a6adb,#f19fd3); border-block: 3px solid #5572d9; }
.about h2 em { color: #ffdc52; -webkit-text-stroke: 2px #5572d9; }
.about-copy { padding: 25px; background: rgba(87,74,171,.33); border: 2px solid rgba(255,255,255,.8); border-radius: 20px; }
.skills span { background: rgba(255,255,255,.14); border: 2px solid #fff; border-radius: 999px; }
.about-cta { color: #4a4383; background: #ffdc52; border: 3px solid #fff; border-radius: 999px; box-shadow: 4px 4px 0 #5572d9; }
.contact { color: #4a4383; background-color: #fff8d9; background-image: radial-gradient(circle at 84% 36%, rgba(244,167,220,.85), transparent 28%), radial-gradient(circle at 18% 72%, rgba(158,223,255,.75), transparent 25%), linear-gradient(rgba(85,114,217,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(85,114,217,.1) 1px, transparent 1px); }
.contact h2 { color: #fff; -webkit-text-stroke: 3px #5572d9; text-shadow: 7px 8px 0 #f4a7dc; }
.contact h2 span { color: #ffdc52; -webkit-text-stroke: 3px #5572d9; }
.email-link { padding: 13px 18px; color: #fff; background: #7965cf; border: 3px solid #5572d9; border-radius: 14px; box-shadow: 5px 5px 0 #ffdc52; }
.contact-bottom { color: #4a4383; }
footer { color: #fff; background: linear-gradient(90deg, #7965cf, #557ddf, #ef8dcb); border-top: 3px solid #5572d9; }

@media (max-width: 950px) {
  .planet-experience { left: 2vw; }
  .planet-digital { right: 2vw; }
  .planet-brand { right: 3vw; }
}

@media (max-width: 800px) {
  .site-header { height: 66px; margin: 8px 8px 0; border-radius: 18px 18px 0 0; }
  .menu-button { color: #fff; padding: 8px 12px; background: #7965cf; border: 2px solid #5572d9; border-radius: 999px; }
  .mobile-menu { inset: 74px 8px auto; color: #4a4383; background: #ffdc52; border: 3px solid #5572d9; border-radius: 0 0 18px 18px; }
  .hero { min-height: 850px; margin: 0 8px 12px; border-radius: 0 0 20px 20px; }
  .hero h1 { font-size: clamp(50px, 15vw, 86px); -webkit-text-stroke-width: 2px; text-shadow: 4px 5px 0 #ffdc52, 7px 8px 0 #f477c4; }
  .hero h1 span { -webkit-text-stroke-width: 2px; }
  .model-stage { width: 86vw; height: 53vh; top: 51%; }
  .model-placeholder { width: 78%; }
  .planet-button { width: 100px; min-height: 115px; transform: scale(.78); }
  .planet-button:hover, .planet-button:focus-visible { transform: translateY(-4px) scale(.82); }
  .planet-button i { width: 64px; height: 64px; }
  .planet-button i::before { width: 91px; height: 25px; border-width: 3px; }
  .planet-button span { display: none; }
  .planet-experience { left: 0; top: 29%; }
  .planet-digital { right: 0; top: 27%; }
  .planet-brand { right: 2%; bottom: 19%; }
  .hero-intro { left: 5vw; bottom: 70px; width: 52vw; }
  .round-cta { right: 5vw; bottom: 70px; }
  .project-gallery { gap: 18px; }
  .gallery-card { border-radius: 20px; }
  .project-filters::before { display: flex; }
  .about-copy { border-left: 2px solid #fff; }
}

@media (max-width: 480px) {
  .hero { min-height: 790px; }
  .planet-button { transform: scale(.68); }
  .planet-button:hover, .planet-button:focus-visible { transform: scale(.72); }
  .planet-experience { left: -13px; }
  .planet-digital { right: -13px; }
  .planet-brand { right: -10px; bottom: 21%; }
  .hero-intro { width: 56vw; padding: 11px; }
  .round-cta { width: 105px; }
}

/* V3.2 / SINGLE BROWSER BAR + CLEAN PAGE */
.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 72px;
  margin: 0;
  padding: 0 22px;
  display: grid;
  grid-template-columns: auto auto minmax(180px, 1fr) auto;
  gap: 18px;
  color: #4b5fbd;
  background: rgba(255, 254, 247, .97);
  border: 0;
  border-bottom: 3px solid #5572d9;
  border-radius: 0;
  box-shadow: none;
}

.browser-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-controls span {
  width: 13px;
  height: 13px;
  border: 2px solid #5572d9;
  border-radius: 50%;
  background: #f477c4;
  box-shadow: 1px 1px 0 rgba(74, 67, 131, .2);
}

.browser-controls span:nth-child(2) { background: #ffdc52; }
.browser-controls span:nth-child(3) { background: #bce976; }

.browser-address {
  min-width: 0;
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #6654b7;
  background: #f3ecff;
  border: 2px solid #b69ae8;
  border-radius: 999px;
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
}

.browser-address span { color: #f477c4; }
.browser-address b { overflow: hidden; text-overflow: ellipsis; }

.hero {
  min-height: calc(100svh - 72px);
  margin: 0;
  padding: 34px 3vw 34px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero::before { display: none; }
.hero-title-row { margin-top: 0; }

@media (max-width: 800px) {
  .site-header {
    height: 66px;
    margin: 0;
    padding: 0 14px;
    grid-template-columns: auto auto 1fr auto;
    gap: 11px;
    border-radius: 0;
  }
  .browser-controls { gap: 5px; }
  .browser-controls span { width: 11px; height: 11px; }
  .browser-address { height: 30px; padding-inline: 10px; }
  .mobile-menu { inset: 66px 0 auto; border-radius: 0 0 18px 18px; }
  .hero {
    min-height: 850px;
    margin: 0;
    padding-top: 26px;
    border-radius: 0;
  }
}

@media (max-width: 600px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .browser-address { display: none; }
  .wordmark .brand-icon { width: 36px; }
}

@media (max-width: 420px) {
  .wordmark > span { display: none; }
}

/* V3.4 / REACTIVE COLOR UNIVERSE */
@property --hero-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --hero-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --hero-x-inverse {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --hero-y-inverse {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 50%;
}

.hero {
  --hero-x: 50%;
  --hero-y: 50%;
  --hero-x-inverse: 50%;
  --hero-y-inverse: 50%;
  background-color: #f5b5df;
  background-image:
    radial-gradient(circle at var(--hero-x) var(--hero-y), rgba(255, 220, 82, .68) 0, rgba(244, 119, 196, .38) 15%, transparent 38%),
    radial-gradient(circle at var(--hero-x-inverse) var(--hero-y-inverse), rgba(116, 194, 255, .72) 0, rgba(116, 105, 216, .34) 19%, transparent 43%),
    radial-gradient(circle at 72% 75%, rgba(255, 255, 255, .78) 0 5px, transparent 6px),
    linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px),
    linear-gradient(135deg, #f7acd9 0%, #c69bea 44%, #86b9f8 100%);
  background-size: auto, auto, auto, 38px 38px, 38px 38px, auto;
  transition: --hero-x .22s ease-out, --hero-y .22s ease-out, --hero-x-inverse .22s ease-out, --hero-y-inverse .22s ease-out;
}

.ticker {
  color: #5a518c;
  background: #f2e4aa;
  border-block: 2px solid #7567bd;
  box-shadow: none;
}

.about {
  isolation: isolate;
  background-color: #8f6fda;
  background-image:
    radial-gradient(ellipse 68% 82% at -8% 25%, rgba(143, 201, 248, .62), transparent 62%),
    radial-gradient(ellipse 62% 76% at 108% 88%, rgba(245, 154, 207, .7), transparent 64%),
    linear-gradient(145deg, #8064cd 0%, #9c77dd 43%, #c287df 72%, #ef9cd1 100%);
  background-size: auto;
}

.about::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(50vw, 720px);
  aspect-ratio: 1.7;
  left: 18%;
  top: 7%;
  border-radius: 50%;
  background: rgba(255, 250, 228, .17);
  filter: blur(48px);
  transform: rotate(-12deg);
}

.about > * { position: relative; z-index: 1; }
.about-copy { background: rgba(79, 65, 157, .25); backdrop-filter: blur(12px); }

.contact {
  isolation: isolate;
  overflow: hidden;
  background-color: #fff8d9;
  background-image:
    radial-gradient(ellipse 58% 78% at -8% 108%, rgba(158, 223, 255, .7), transparent 66%),
    radial-gradient(ellipse 54% 72% at 106% -12%, rgba(244, 167, 220, .72), transparent 68%),
    linear-gradient(150deg, #fff8d9 0%, #fff5dc 52%, #f2edf8 100%);
  background-size: auto;
}

.contact::before {
  content: "";
  position: absolute;
  z-index: 0;
  width: min(46vw, 620px);
  aspect-ratio: 1;
  right: -16vw;
  bottom: -28%;
  border: 1px solid rgba(85, 114, 217, .26);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.16), 0 0 0 49px rgba(85,114,217,.12), 0 0 0 112px rgba(255,255,255,.11), 0 0 0 113px rgba(85,114,217,.08);
}

.contact > * { position: relative; z-index: 1; }

@media (max-width: 700px) {
  .contact::before { width: 82vw; right: -44vw; bottom: -8%; }
}

/* V3.5 / PROJECT DRAW DECK */
@property --deck-a {
  syntax: "<color>";
  inherits: false;
  initial-value: #d9d0ff;
}

@property --deck-b {
  syntax: "<color>";
  inherits: false;
  initial-value: #f5acd1;
}

@property --deck-c {
  syntax: "<color>";
  inherits: false;
  initial-value: #b9e8ff;
}

.work { padding-bottom: 0; }

.project-draw-stage {
  --deck-a: #d9d0ff;
  --deck-b: #f5acd1;
  --deck-c: #b9e8ff;
  --deck-image: none;
  position: relative;
  isolation: isolate;
  height: min(78vh, 760px);
  min-height: 590px;
  margin: 70px -5vw 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--deck-a), var(--deck-b) 58%, var(--deck-c));
  border-block: 3px solid #5572d9;
  transition: --deck-a .38s ease, --deck-b .38s ease, --deck-c .38s ease;
}

.project-draw-stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: -45px;
  background-image: var(--deck-image);
  background-position: center;
  background-size: cover;
  filter: blur(28px) saturate(.9) contrast(.92);
  opacity: 0;
  transform: scale(1.08);
  transition: opacity .32s ease;
}

.project-draw-stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(69, 54, 125, .28), rgba(69, 54, 125, .04) 45%, rgba(69, 54, 125, .48)),
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.12), transparent 42%);
  pointer-events: none;
}

.project-draw-stage.preview-active::before { opacity: .72; }

.draw-stage-label {
  position: absolute;
  z-index: 4;
  left: 5vw;
  top: 44px;
  max-width: min(650px, 70vw);
  text-shadow: 0 2px 18px rgba(62, 47, 112, .35);
  pointer-events: auto;
}

.draw-stage-label span {
  display: inline-block;
  padding: 7px 11px;
  border: 2px solid rgba(255,255,255,.78);
  border-radius: 999px;
  background: rgba(91, 72, 165, .34);
  font: 700 8px "Space Mono", monospace;
  letter-spacing: .08em;
}

.draw-stage-label strong {
  display: block;
  margin-top: 16px;
  font: 900 clamp(48px, 7vw, 108px)/.84 "Archivo Black", sans-serif;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.draw-stage-label p {
  max-width: 470px;
  margin: 17px 0 0;
  font-size: 14px;
  line-height: 1.65;
}

.project-gallery {
  position: absolute;
  z-index: 5;
  inset: auto 0 0;
  width: 100%;
  padding: 95px 5vw 22px;
  display: flex;
  align-items: flex-end;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: transparent;
  border: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.7) transparent;
  scroll-snap-type: x proximity;
}

.project-gallery::-webkit-scrollbar { height: 7px; }
.project-gallery::-webkit-scrollbar-thumb { background: rgba(255,255,255,.7); border-radius: 999px; }

.gallery-card {
  --card-tilt: -2deg;
  position: relative;
  flex: 0 0 clamp(195px, 17vw, 250px);
  height: clamp(325px, 48vh, 455px);
  min-width: 0;
  overflow: hidden;
  color: #4a4383;
  background: #fffef7;
  border: 3px solid #5572d9;
  border-radius: 22px;
  box-shadow: 8px 9px 0 rgba(75, 65, 139, .32);
  transform: translateY(64px) rotate(var(--card-tilt));
  transform-origin: 50% 100%;
  transition: transform .28s cubic-bezier(.2,.75,.25,1.15), box-shadow .28s, filter .28s;
  scroll-snap-align: center;
}

.gallery-card.reveal,
.gallery-card.reveal.visible {
  transform: translateY(64px) rotate(var(--card-tilt));
}

.gallery-card.filter-enter { animation: deck-filter-in .35s ease both; }
@keyframes deck-filter-in { from { opacity: 0; } to { opacity: 1; } }

.gallery-card + .gallery-card { margin-left: -24px; }
.gallery-card:nth-child(3n+2) { --card-tilt: 1.5deg; box-shadow: 8px 9px 0 rgba(72, 151, 186, .34); }
.gallery-card:nth-child(3n) { --card-tilt: -.6deg; box-shadow: 8px 9px 0 rgba(197, 155, 49, .3); }
.gallery-card:hover,
.gallery-card:focus-within,
.gallery-card.reveal.visible:hover,
.gallery-card.reveal.visible:focus-within {
  z-index: 20;
  color: #4a4383;
  background: #fffef7;
  box-shadow: 12px 18px 34px rgba(54, 43, 105, .32);
  filter: saturate(1.06);
  transform: translateY(8px) rotate(0) scale(1.035);
}

.gallery-card > a {
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.project-cover {
  min-height: 0;
  aspect-ratio: auto;
  border-bottom: 3px solid #5572d9;
}

.project-cover::after { inset: 8px; }
.gallery-card:hover .project-cover img,
.gallery-card:focus-within .project-cover img { transform: scale(1.055); filter: saturate(1.08) contrast(1.03); }

.gallery-meta {
  min-height: 132px;
  padding: 15px;
  background: linear-gradient(135deg,#fffef7,#fff8d9);
}

.gallery-meta h3 { font-size: clamp(20px, 1.7vw, 27px); }
.gallery-meta p {
  display: -webkit-box;
  margin-top: 9px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-card[hidden] { display: none !important; }

@media (max-width: 800px) {
  .project-draw-stage { height: 690px; min-height: 690px; margin-inline: -5vw; }
  .draw-stage-label { top: 38px; max-width: 82vw; }
  .draw-stage-label strong { font-size: clamp(44px, 13vw, 75px); }
  .project-gallery { display: flex; grid-template-columns: none; padding: 90px 5vw 16px; }
  .gallery-card { flex-basis: min(66vw, 260px); height: 430px; transform: translateY(54px) rotate(var(--card-tilt)); }
  .gallery-card.reveal,
  .gallery-card.reveal.visible { transform: translateY(54px) rotate(var(--card-tilt)); }
  .gallery-card + .gallery-card { margin-left: -12px; }
  .gallery-card:hover,
  .gallery-card:focus-within,
  .gallery-card.reveal.visible:hover,
  .gallery-card.reveal.visible:focus-within { transform: translateY(8px) rotate(0) scale(1.02); }
}

@media (max-width: 480px) {
  .project-draw-stage { height: 640px; min-height: 640px; }
  .draw-stage-label p { max-width: 72vw; font-size: 12px; }
  .gallery-card { flex-basis: 72vw; height: 405px; }
}

/* V3.6 / INTEGRATED PROJECT DECK */
.work.section-pad {
  padding: 0;
  background: transparent;
}

.project-draw-stage {
  height: min(96vh, 980px);
  min-height: 860px;
  margin: 0;
  border-block: 0;
}

.deck-top {
  position: absolute;
  z-index: 8;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(540px, 1.2fr);
  gap: 28px;
  align-items: center;
  padding: 28px 5vw 24px;
  color: #fff;
  background: linear-gradient(180deg, rgba(61,48,112,.58), rgba(61,48,112,.24));
  border-bottom: 1px solid rgba(255,255,255,.38);
  backdrop-filter: blur(16px);
}

.deck-top .section-heading {
  margin: 0;
  align-items: end;
  color: #fff;
}

.deck-top .section-heading h2 {
  margin-top: 5px;
  font-size: clamp(34px, 3.6vw, 60px);
  color: #fff;
}

.deck-top .section-heading p {
  max-width: 350px;
  color: rgba(255,255,255,.82);
  font-size: 12px;
}

.deck-top .project-filters {
  margin: 0;
  padding: 15px 18px;
  color: #fff;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 18px;
  box-shadow: 5px 6px 0 rgba(244,167,220,.28);
}

.deck-top .project-filters::before { display: none; }
.deck-top .filter-label { margin-bottom: 9px; color: rgba(255,255,255,.7); }
.deck-top .filter-tier + .filter-tier,
.deck-top .subfilter-panel { margin-top: 10px; padding-top: 10px; border-color: rgba(255,255,255,.25); }
.deck-top .main-filters,
.deck-top .sub-filters { gap: 7px; }
.deck-top .main-filter,
.deck-top .sub-filter {
  padding: 8px 11px;
  color: #4a4383;
  background: rgba(255,254,247,.92);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 2px 2px 0 rgba(158,223,255,.7);
}
.deck-top .main-filter.active,
.deck-top .sub-filter.active {
  color: #fff;
  background: #7965cf;
  border-color: rgba(255,255,255,.85);
}

.draw-stage-label {
  top: 225px;
  max-width: min(900px, 78vw);
}

.draw-stage-label strong {
  margin-top: 13px;
  font-size: clamp(48px, 6vw, 92px);
  line-height: .88;
}

.draw-stage-label .draw-stage-meta {
  max-width: 760px;
  margin-top: 17px;
  font: 700 11px/1.45 "Space Mono", monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.draw-stage-label .draw-stage-summary {
  max-width: 760px;
  margin-top: 10px;
  font-size: clamp(14px, 1.15vw, 18px);
  line-height: 1.55;
  text-wrap: balance;
}

.project-gallery {
  gap: 18px;
  padding: 100px 5vw 18px;
  scroll-padding-inline: 5vw;
}

.gallery-card,
.gallery-card.reveal,
.gallery-card.reveal.visible {
  flex-basis: clamp(270px, 20vw, 320px);
  height: clamp(455px, 54vh, 520px);
  transform: translateY(40px) rotate(var(--card-tilt));
}

.gallery-card + .gallery-card { margin-left: 0; }

.gallery-card:hover,
.gallery-card:focus-within,
.gallery-card.reveal.visible:hover,
.gallery-card.reveal.visible:focus-within {
  transform: translateY(2px) rotate(0) scale(1.025);
}

.gallery-meta {
  min-height: 164px;
  padding: 16px 17px 18px;
}

.gallery-meta h3 {
  font-size: clamp(23px, 1.8vw, 30px);
  line-height: 1.02;
}

.gallery-meta p {
  display: block;
  margin-top: 10px;
  overflow: visible;
  font-size: 12px;
  line-height: 1.45;
  -webkit-line-clamp: unset;
}

@media (max-width: 980px) {
  .project-draw-stage { height: 980px; min-height: 980px; }
  .deck-top { grid-template-columns: 1fr; gap: 14px; }
  .deck-top .section-heading { display: grid; grid-template-columns: 1fr 1fr; }
  .draw-stage-label { top: 330px; }
  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible { flex-basis: min(42vw, 300px); height: 480px; transform: translateY(36px) rotate(var(--card-tilt)); }
}

@media (max-width: 700px) {
  .project-draw-stage { height: 1080px; min-height: 1080px; margin: 0; }
  .deck-top { padding: 24px 5vw 18px; }
  .deck-top .section-heading { display: block; }
  .deck-top .section-heading p { margin-top: 8px; }
  .deck-top .main-filters { display: grid; grid-template-columns: 1fr 1fr; }
  .deck-top .sub-filters { margin-inline: 0; padding-inline: 0; }
  .draw-stage-label { top: 440px; max-width: 90vw; }
  .draw-stage-label strong { font-size: clamp(42px, 13vw, 70px); }
  .draw-stage-label .draw-stage-summary { max-width: 88vw; font-size: 14px; }
  .project-gallery { padding: 90px 5vw 14px; gap: 14px; }
  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible { flex-basis: min(76vw, 295px); height: 475px; transform: translateY(34px) rotate(var(--card-tilt)); }
  .gallery-card:hover,
  .gallery-card:focus-within,
  .gallery-card.reveal.visible:hover,
  .gallery-card.reveal.visible:focus-within { transform: translateY(2px) rotate(0) scale(1.015); }
}

@media (max-width: 480px) {
  .project-draw-stage { height: 1040px; min-height: 1040px; }
  .draw-stage-label { top: 425px; }
  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible { flex-basis: 78vw; height: 460px; }
}

/* V3.7 / NIGHTY HERO WORDMARK PREVIEW */
@font-face {
  font-family: "Nighty Preview";
  src: url("assets/fonts/nighty-demo/Nighty-DEMO.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.hero h1 {
  font-family: "Nighty Preview", "Archivo Black", sans-serif;
  font-size: clamp(78px, 11.6vw, 184px);
  font-weight: 400;
  line-height: .78;
  letter-spacing: -.025em;
  font-variant-ligatures: common-ligatures discretionary-ligatures;
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(56px, 16.5vw, 96px);
    line-height: .82;
    letter-spacing: -.018em;
  }
}

/* V3.8 / PROJECT DECK RESPONSIVE CLEANUP */
.deck-top {
  grid-template-columns: minmax(260px, .48fr) minmax(540px, 1.2fr);
  padding-block: 24px 20px;
}

.deck-top .section-heading {
  display: block;
}

.deck-top .section-heading h2 {
  max-width: 6.5ch;
}

.draw-stage-label {
  top: 188px;
}

.draw-stage-label strong {
  font-size: clamp(46px, 5.5vw, 84px);
}

.draw-stage-label .draw-stage-summary {
  max-width: min(760px, 68vw);
}

.project-gallery {
  padding-top: 72px;
}

.gallery-card,
.gallery-card.reveal,
.gallery-card.reveal.visible {
  height: clamp(400px, 46vh, 445px);
  transform: translateY(28px) rotate(var(--card-tilt));
}

.gallery-card:hover,
.gallery-card:focus-within,
.gallery-card.reveal.visible:hover,
.gallery-card.reveal.visible:focus-within {
  transform: translateY(0) rotate(0) scale(1.025);
}

.gallery-meta {
  min-height: 108px;
  padding: 15px 17px 18px;
}

.gallery-meta p {
  display: none;
}

@media (min-width: 701px) and (max-width: 1100px) {
  .project-draw-stage {
    height: 930px;
    min-height: 930px;
  }

  .deck-top {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deck-top .section-heading h2 {
    max-width: none;
    font-size: clamp(34px, 5vw, 52px);
  }

  .draw-stage-label {
    top: 284px;
  }

  .draw-stage-label .draw-stage-summary {
    max-width: 78vw;
  }

  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible {
    flex-basis: min(38vw, 300px);
    height: 430px;
    transform: translateY(26px) rotate(var(--card-tilt));
  }
}

@media (max-width: 700px) {
  .project-draw-stage {
    height: 980px;
    min-height: 980px;
  }

  .deck-top {
    padding-top: 20px;
  }

  .deck-top .section-heading h2 {
    font-size: clamp(32px, 11vw, 48px);
  }

  .draw-stage-label {
    top: 366px;
  }

  .draw-stage-label strong {
    font-size: clamp(40px, 12vw, 62px);
  }

  .draw-stage-label .draw-stage-summary {
    max-width: 88vw;
    line-height: 1.45;
  }

  .project-gallery {
    padding-top: 64px;
  }

  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible {
    flex-basis: min(76vw, 290px);
    height: 420px;
    transform: translateY(24px) rotate(var(--card-tilt));
  }
}

@media (max-width: 480px) {
  .project-draw-stage {
    height: 960px;
    min-height: 960px;
  }

  .draw-stage-label {
    top: 350px;
  }

  .draw-stage-label .draw-stage-meta {
    margin-top: 12px;
  }

  .draw-stage-label .draw-stage-summary {
    margin-top: 7px;
    font-size: 13px;
  }

  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible {
    flex-basis: 78vw;
    height: 405px;
  }
}

/* V3.8.1 / CENTER HERO MODEL ON THE ORBIT */
.model-stage {
  left: 50%;
  top: 49%;
}

@media (max-width: 700px) {
  .model-stage {
    left: 50%;
    top: 49%;
  }
}

/* V3.8.2 / DESIGNER ROLE LABELS */
.coordinate {
  padding: 4px 7px;
  white-space: nowrap;
  letter-spacing: .025em;
}

/* V4.0 / PROJECTS + FUN SIDE QUESTS */
.fun-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(78px, 9vw, 150px);
  color: #4a4383;
  background-color: #fff8d9;
  background-image:
    radial-gradient(#f3aad9 1.25px, transparent 1.25px),
    linear-gradient(135deg, rgba(185,232,255,.3), transparent 44%, rgba(245,172,209,.24));
  background-size: 18px 18px, auto;
}

.fun-section::before {
  content: "SIDE_QUEST_ARCHIVE / CLICK TO OPEN";
  position: absolute;
  right: 4vw;
  top: 28px;
  padding: 7px 11px;
  color: #fff;
  background: #7965cf;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 3px 3px 0 #ffdc52;
  font: 700 7px "Space Mono", monospace;
  letter-spacing: .06em;
}

.fun-heading {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 5vw;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 86px);
}

.fun-heading h2 {
  max-width: 10ch;
  margin: 13px 0 0;
  color: #fffef7;
  font: 900 clamp(58px, 8.3vw, 132px)/.78 "Archivo Black", sans-serif;
  letter-spacing: -.08em;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #5572d9;
  text-shadow: 5px 6px 0 #f4a7dc;
}

.fun-heading h2 em {
  color: #ffdc52;
  font-style: normal;
}

.fun-heading > p {
  max-width: 460px;
  margin: 0 0 8px;
  padding: 18px 20px;
  background: rgba(255,255,255,.82);
  border: 2px solid #5572d9;
  border-radius: 18px;
  box-shadow: 5px 6px 0 #9edfff;
  font-size: 14px;
  line-height: 1.7;
}

.fun-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 30px);
}

.fun-card {
  --fun-a: #d9d0ff;
  --fun-b: #f5acd1;
  position: relative;
  min-width: 0;
  aspect-ratio: .79;
  padding: 0;
  overflow: hidden;
  color: #4a4383;
  background: linear-gradient(135deg, var(--fun-a), var(--fun-b));
  border: 3px solid #5572d9;
  border-radius: 24px;
  box-shadow: 7px 8px 0 var(--fun-b);
  cursor: pointer;
  text-align: left;
  transform: rotate(-1deg);
  transition: transform .28s cubic-bezier(.2,.75,.25,1.2), box-shadow .28s;
}

.fun-card:nth-child(2n) { transform: rotate(1.1deg); }
.fun-card:nth-child(3n) { box-shadow: 7px 8px 0 #9edfff; }
.fun-card:nth-child(4n) { box-shadow: 7px 8px 0 #ffdc52; }
.fun-card:hover,
.fun-card:focus-visible {
  z-index: 2;
  outline: 0;
  box-shadow: 12px 16px 28px rgba(74,67,131,.25);
  transform: translateY(-10px) rotate(0) scale(1.015);
}

.fun-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease, filter .5s ease;
}

.fun-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(61,48,112,.12) 52%, rgba(255,248,217,.98) 100%);
  pointer-events: none;
}

.fun-card:hover > img,
.fun-card:focus-visible > img { transform: scale(1.06); filter: saturate(1.08); }

.fun-card-index {
  position: absolute;
  z-index: 2;
  left: 13px;
  top: 13px;
  padding: 6px 8px;
  color: #fff;
  background: rgba(112,94,200,.84);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 999px;
  font: 700 7px "Space Mono", monospace;
}

.fun-card-copy {
  position: absolute;
  z-index: 2;
  inset: auto 13px 13px;
  padding: 14px 15px;
  background: rgba(255,254,247,.92);
  border: 2px solid rgba(85,114,217,.9);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.fun-card-copy small,
.fun-card-copy strong,
.fun-card-copy em { display: block; }
.fun-card-copy small { color: #776bc0; font: 700 7px "Space Mono", monospace; }
.fun-card-copy strong { margin-top: 5px; font: 900 clamp(22px, 2vw, 31px)/.95 "Archivo Black", sans-serif; letter-spacing: -.04em; }
.fun-card-copy em {
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  font-size: 11px;
  font-style: normal;
  line-height: 1.5;
  transition: max-height .3s ease, margin .3s ease, opacity .3s ease;
}
.fun-card:hover .fun-card-copy em,
.fun-card:focus-visible .fun-card-copy em { max-height: 60px; margin-top: 8px; opacity: .78; }

.fun-modal[hidden] { display: none; }
.fun-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 4vw;
  opacity: 0;
  transition: opacity .22s ease;
}
.fun-modal.open { opacity: 1; }
.fun-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(55,43,99,.62);
  border: 0;
  backdrop-filter: blur(14px) saturate(.8);
  cursor: zoom-out;
}
.fun-window {
  position: relative;
  width: min(1180px, 92vw);
  max-height: 88svh;
  overflow: hidden;
  color: #4a4383;
  background: #fffef7;
  border: 3px solid #5572d9;
  border-radius: 22px;
  box-shadow: 12px 14px 0 #f4a7dc, 25px 35px 80px rgba(45,34,88,.35);
  transform: translateY(28px) scale(.96);
  transition: transform .28s cubic-bezier(.2,.75,.25,1.12);
}
.fun-modal.open .fun-window { transform: none; }
.fun-window-bar {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 15px;
  color: #fff;
  background: linear-gradient(90deg,#7965cf,#9e8ae8);
  border-bottom: 3px solid #5572d9;
  font: 700 8px "Space Mono", monospace;
}
.fun-window-bar > span { display: flex; gap: 6px; }
.fun-window-bar i { width: 10px; height: 10px; display: block; background: #ffdc52; border: 1px solid #fff; border-radius: 50%; }
.fun-window-bar i:nth-child(2) { background: #f4a7dc; }
.fun-window-bar i:nth-child(3) { background: #9edfff; }
.fun-window-bar button {
  padding: 6px 9px;
  color: #4a4383;
  background: #fffef7;
  border: 1px solid #fff;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}
.fun-window-body {
  display: grid;
  grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
  max-height: calc(88svh - 46px);
  overflow: hidden;
}
.fun-window-copy {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
  overflow-y: auto;
  background: linear-gradient(150deg,#fff8d9,#f8d3e6);
  border-right: 3px solid #5572d9;
}
.fun-window-copy > span,
.fun-window-copy > small { font: 700 8px "Space Mono", monospace; letter-spacing: .05em; }
.fun-window-copy h2 {
  max-width: 100%;
  margin: 18px 0;
  font: 900 clamp(34px, 2.6vw, 50px)/.9 "Archivo Black", sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}
.fun-window-copy p { max-width: 42ch; margin: 0; font-size: 14px; line-height: 1.75; }
.fun-window-copy > small { display: block; margin-top: 34px; color: #776bc0; }
.fun-window-details {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.fun-window-details[hidden] { display: none; }
.fun-window-details li {
  padding: 11px 13px;
  color: #4a4383;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(85,114,217,.35);
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.55;
}
.fun-live-link {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  color: #fff;
  background: #6f61c9;
  border: 2px solid #5572d9;
  border-radius: 999px;
  box-shadow: 4px 4px 0 #ffdc52;
  font: 700 10px "Space Mono", monospace;
  text-decoration: none;
}
.fun-live-link[hidden] { display: none; }
.fun-window-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  padding: 18px;
  overflow-y: auto;
  background-color: #dcecff;
  background-image: radial-gradient(rgba(85,114,217,.35) 1px, transparent 1px);
  background-size: 16px 16px;
}
.fun-media-item {
  width: 100%;
  min-height: 280px;
  height: 100%;
  max-height: 68svh;
  object-fit: contain;
  background: #fff;
  border: 2px solid #5572d9;
  border-radius: 15px;
}
.fun-media-youtube {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
}
.fun-media-youtube-fallback {
  min-height: 0;
  height: auto;
  aspect-ratio: 16 / 9;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 28px;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-align: center;
  text-decoration: none;
}
.fun-media-youtube-fallback span { font-size: clamp(42px, 7vw, 76px); line-height: 1; }
.fun-media-youtube-fallback b { font: 700 13px "Space Mono", monospace; letter-spacing: .05em; }
.fun-media-youtube-fallback small { font-size: 12px; line-height: 1.45; }
.fun-media-empty {
  grid-column: 1 / -1;
  min-height: 340px;
  display: grid;
  place-content: center;
  gap: 16px;
  padding: 34px;
  color: #4a4383;
  background: linear-gradient(145deg, #fff8d9, #f8d3e6 52%, #dcecff);
  border: 2px solid #5572d9;
  border-radius: 18px;
  text-align: center;
}
.fun-media-empty span { color: #776bc0; font-size: 64px; line-height: 1; }
.fun-media-empty p { max-width: 30ch; margin: 0; font-size: 15px; line-height: 1.6; }
.fun-window-media > :only-child { grid-column: 1 / -1; }
.fun-modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .fun-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .fun-window-body { grid-template-columns: 1fr; overflow-y: auto; }
  .fun-window-copy { overflow: visible; border-right: 0; border-bottom: 3px solid #5572d9; }
  .fun-window-media { overflow: visible; }
}

@media (max-width: 700px) {
  .fun-heading { grid-template-columns: 1fr; gap: 28px; }
  .fun-heading h2 { font-size: clamp(50px, 16vw, 82px); }
  .fun-heading > p { justify-self: stretch; }
  .fun-modal { padding: 14px; }
  .fun-window { width: 100%; max-height: 92svh; border-radius: 17px; }
  .fun-window-bar b { display: none; }
  .fun-window-body { max-height: calc(92svh - 46px); }
  .fun-window-copy { padding: 28px 22px; }
  .fun-window-copy h2 { font-size: clamp(38px, 13vw, 62px); }
  .fun-window-media { grid-template-columns: 1fr; padding: 12px; }
  .fun-media-item { min-height: 220px; }
}

@media (max-width: 480px) {
  .fun-section { padding-inline: 5vw; }
  .fun-grid { grid-template-columns: 1fr; }
  .fun-card { aspect-ratio: .9; }
}

/* V4.0.1 / FINAL MOBILE LAYOUT PASS */
@media (max-width: 700px) {
  .site-header {
    height: 62px;
    padding-inline: 12px;
    gap: 8px;
  }

  .browser-controls { gap: 4px; }
  .browser-controls span { width: 9px; height: 9px; border-width: 1.5px; }
  .wordmark { gap: 7px; }
  .wordmark .brand-icon { width: 34px; height: 29px; }
  .menu-button { padding: 7px 10px; font-size: 8px; }
  .mobile-menu { inset: 62px 0 auto; max-height: calc(100svh - 62px); overflow-y: auto; }

  .hero {
    min-height: 820px;
    padding: 22px 16px 26px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(48px, 15vw, 72px);
    line-height: .84;
    letter-spacing: -.025em;
  }

  .model-stage {
    width: 96vw;
    height: min(57svh, 470px);
    top: 46%;
  }

  .model-placeholder { width: 84%; }
  .planet-button { transform: scale(.66); }
  .planet-button:hover,
  .planet-button:focus-visible { transform: translateY(-3px) scale(.69); }
  .planet-experience { left: -18px; top: 25%; }
  .planet-digital { right: -18px; top: 23%; }
  .planet-brand { right: -14px; bottom: 27%; }

  .hero-intro {
    left: 5vw;
    right: 5vw;
    bottom: 88px;
    width: auto;
    padding: 10px 12px;
    font-size: 9px;
    line-height: 1.55;
  }

  .hero-intro b { margin-bottom: 4px; font-size: 9px; }
  .round-cta { right: 5vw; bottom: 24px; width: 148px; min-height: 46px; }
  .hero-note { display: none; }

  .project-draw-stage {
    height: auto;
    min-height: 0;
    padding-bottom: 446px;
    overflow: hidden;
  }

  .deck-top {
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 22px 5vw 18px;
  }

  .deck-top .section-heading h2 {
    max-width: none;
    font-size: clamp(34px, 11vw, 50px);
  }

  .deck-top .project-filters {
    padding: 13px;
    border-radius: 15px;
  }

  .deck-top .main-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .deck-top .main-filter {
    min-width: 0;
    padding: 8px 7px;
    font-size: 7px;
    white-space: normal;
  }

  .deck-top .main-filter small { margin-left: 3px; }
  .deck-top .subfilter-panel { overflow: hidden; }
  .deck-top .sub-filters {
    display: flex;
    flex-wrap: nowrap;
    margin: 0 -13px;
    padding: 2px 13px 7px;
    overflow-x: auto;
    scroll-padding-inline: 13px;
    scrollbar-width: none;
  }
  .deck-top .sub-filters::-webkit-scrollbar { display: none; }
  .deck-top .sub-filter { flex: 0 0 auto; }

  .draw-stage-label {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    min-height: 205px;
    margin: 28px 5vw 0;
  }

  .draw-stage-label strong {
    max-width: 92vw;
    font-size: clamp(40px, 12vw, 62px);
    overflow-wrap: anywhere;
  }

  .draw-stage-label .draw-stage-meta,
  .draw-stage-label .draw-stage-summary { max-width: 88vw; }

  .project-gallery {
    height: 430px;
    padding: 54px 5vw 10px;
    gap: 14px;
    overscroll-behavior-x: contain;
  }

  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible {
    flex-basis: min(76vw, 285px);
    height: 390px;
    transform: translateY(22px) rotate(var(--card-tilt));
  }

  .gallery-meta { min-height: 104px; padding: 14px; }
  .gallery-meta h3 { font-size: clamp(22px, 7vw, 28px); }

  .fun-section::before { display: none; }
  .fun-heading { gap: 24px; margin-bottom: 42px; }
  .fun-heading h2 { font-size: clamp(48px, 14vw, 74px); }
  .fun-heading > p { padding: 15px 16px; font-size: 13px; }
  .fun-grid { grid-template-columns: 1fr; gap: 24px; }
  .fun-card { width: 100%; aspect-ratio: 1 / .94; transform: none; }
  .fun-card:hover,
  .fun-card:focus-visible { transform: translateY(-5px); }

  .fun-modal { padding: 10px; }
  .fun-window { max-height: 94svh; box-shadow: 6px 7px 0 #f4a7dc; }
  .fun-window-body { max-height: calc(94svh - 46px); overscroll-behavior: contain; }
  .fun-window-copy { padding: 24px 18px; }
  .fun-window-copy h2 { font-size: clamp(36px, 12vw, 56px); overflow-wrap: anywhere; }
  .fun-window-copy p { font-size: 13px; line-height: 1.65; }
  .fun-window-copy > small { margin-top: 22px; }
  .fun-window-media { padding: 10px; }
  .fun-media-item { min-height: 190px; max-height: none; height: auto; }

  .about-layout { gap: 30px; }
  .about-copy { padding: 22px 18px; border-left: 0; }
  .contact h2 { overflow-wrap: anywhere; }
  .email-link { max-width: 100%; overflow-wrap: anywhere; font-size: 11px; }
}

@media (max-width: 380px) {
  .browser-controls { display: none; }
  .site-header { grid-template-columns: 1fr auto; }
  .hero { min-height: 800px; }
  .hero h1 { font-size: clamp(44px, 14.5vw, 58px); }
  .model-stage { width: 102vw; }
  .hero-intro { bottom: 86px; }
  .project-draw-stage { padding-bottom: 426px; }
  .project-gallery { height: 410px; }
  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible { flex-basis: 82vw; height: 370px; }
}

/* V4.1 / SIMPLIFIED CASE STUDY FILTER */
.deck-top {
  grid-template-columns: minmax(240px, .42fr) minmax(620px, 1.35fr);
  gap: clamp(28px, 4vw, 70px);
}

.deck-top .project-filters {
  width: 100%;
  padding: 22px 24px;
  border-width: 2px;
  border-radius: 22px;
}

.deck-top .filter-label {
  margin-bottom: 13px;
  font-size: 9px;
  letter-spacing: .1em;
}

.deck-top .main-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.deck-top .main-filter {
  min-height: 48px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 8px;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}

.deck-top .main-filter small { margin-left: 2px; font-size: 8px; }

@media (max-width: 1100px) {
  .deck-top { grid-template-columns: 1fr; gap: 14px; }
  .draw-stage-label { top: 300px; }
}

@media (max-width: 700px) {
  .deck-top { gap: 12px; }
  .deck-top .project-filters { padding: 16px; }
  .deck-top .main-filters { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .deck-top .main-filter:first-child { grid-column: 1 / -1; }
  .deck-top .main-filter { min-height: 46px; padding: 9px 8px; font-size: 7px; }
}

@media (max-width: 380px) {
  .deck-top .main-filters { grid-template-columns: 1fr; }
  .deck-top .main-filter:first-child { grid-column: auto; }
}

/* V4.3 / CLEANER EDITORIAL SURFACES */
.work {
  background-color: #fff8d9;
  background-image: linear-gradient(145deg, rgba(185,232,255,.18), transparent 42%, rgba(245,172,209,.16));
  background-size: auto;
}

.fun-section {
  background-color: #fff8d9;
  background-image: linear-gradient(135deg, rgba(185,232,255,.28), transparent 44%, rgba(245,172,209,.22));
  background-size: auto;
}

.fun-window-media {
  background-color: #e7efff;
  background-image: none;
}

.eyebrow,
.fun-section::before,
.project-filters::before,
.about::before,
.draw-stage-label > span,
.fun-card-index,
.fun-window-copy > small {
  display: none;
}

/* V4.5 / READABLE TYPE SCALE */
nav, .menu-button { font-size: 11px; }
.browser-address { font-size: 11px; }
.coordinate, .hero-note, .model-progress, .model-error { font-size: 10px; line-height: 1.45; }
.planet-button { width: 176px; min-height: 190px; }
.planet-button b { padding: 6px 11px; font-size: 11px; line-height: 1.2; }
.planet-button span { max-width: 170px; margin: 8px auto 0; font-size: 10px; line-height: 1.5; text-wrap: balance; }
.hero-intro { font-size: 14px; }
.round-cta { font-size: 11px; }
.ticker { font-size: 12px; }
.filter-label, .deck-top .filter-label { font-size: 11px; line-height: 1.4; }
.main-filter, .sub-filter, .deck-top .main-filter { font-size: 11px; line-height: 1.35; }
.main-filter small, .sub-filter small, .deck-top .main-filter small { font-size: 10px; }
.gallery-meta small, .fun-card-copy small { font-size: 10px; line-height: 1.45; }
.gallery-meta p { font-size: 13px; line-height: 1.62; }
.gallery-meta > b { font-size: 10px; }
.draw-stage-label .draw-stage-meta { font-size: 12px; }
.draw-stage-label .draw-stage-summary { font-size: 15px; line-height: 1.55; }
.skills span, .about-cta { font-size: 11px; line-height: 1.35; }
.contact-bottom, footer { font-size: 11px; line-height: 1.45; }
.contact::after { font-size: 11px; }
.fun-window-bar, .fun-window-copy > span { font-size: 11px; line-height: 1.4; }
.fun-window-copy p { font-size: 15px; }

@media (max-width: 700px) {
  .menu-button { font-size: 11px; }
  .planet-button { width: 112px; min-height: 126px; transform: none; }
  .planet-button:hover, .planet-button:focus-visible { transform: translateY(-3px); }
  .planet-button b { padding: 6px 8px; font-size: 10px; }
  .hero-intro, .hero-intro b { font-size: 12px; }
  .round-cta { font-size: 10px; }
  .deck-top .main-filter { min-height: 50px; font-size: 10px; }
  .deck-top .main-filter small { font-size: 9px; }
  .gallery-meta small { font-size: 10px; }
  .gallery-meta p { font-size: 14px; }
  .contact-bottom, footer { font-size: 10px; }
}

/* V4.6 / STICKY HEADER NAVIGATION */
.site-header {
  position: sticky;
  top: 8px;
  z-index: 100;
  transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.site-header.is-scrolled {
  background: rgba(255,254,247,.92);
  box-shadow: 5px 6px 0 rgba(244,167,220,.82), 0 12px 36px rgba(61,48,112,.16);
  backdrop-filter: blur(16px) saturate(1.12);
}

.site-header nav a.active {
  transform: translateY(-2px);
  box-shadow: 0 0 0 2px #fff, 3px 4px 0 #5572d9;
}

main[id], section[id] { scroll-margin-top: 96px; }

@media (max-width: 700px) {
  .site-header { top: 6px; }
  .mobile-menu { inset: 74px 8px auto; }
}

/* V4.7 / HERO INTRODUCTION LINE */
.hero-title-row {
  display: block;
}

.hero-tagline {
  max-width: 680px;
  margin: 22px 0 0 6px;
  color: #514a83;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: .005em;
  text-wrap: balance;
}

.hero-tagline strong {
  color: #fff;
  padding: 3px 7px;
  background: #7965cf;
  border-radius: 7px;
  font-family: "Space Mono", monospace;
  font-size: .88em;
  letter-spacing: .035em;
}

@media (max-width: 700px) {
  .hero-tagline {
    max-width: min(78vw, 460px);
    margin: 16px 0 0 2px;
    font-size: 13px;
    line-height: 1.5;
  }
}

/* V4.8 / PROJECT GALAXY + FUN METEOR SHOWER */
.work.section-pad {
  background: #2d294c;
}

.project-draw-stage {
  min-height: 980px;
  height: min(104svh, 1060px);
  color: #fffdf0;
  background:
    radial-gradient(ellipse 54% 56% at 76% 28%, rgba(244,167,220,.48), transparent 66%),
    radial-gradient(ellipse 52% 62% at 18% 75%, rgba(158,223,255,.35), transparent 64%),
    linear-gradient(145deg, #38345f 0%, #66528e 44%, #9b6f9f 72%, #df9fc5 100%);
}

.project-draw-stage::after {
  background:
    repeating-radial-gradient(ellipse 72% 54% at 58% 64%, transparent 0 152px, rgba(255,255,255,.2) 153px 155px, transparent 156px 238px),
    linear-gradient(180deg, rgba(35,31,69,.12), rgba(35,31,69,.02) 52%, rgba(35,31,69,.5));
}

.project-draw-stage.preview-active::before { opacity: .52; }

.deck-top {
  grid-template-columns: minmax(260px, .52fr) minmax(580px, 1.48fr);
  gap: clamp(32px, 6vw, 100px);
  padding: 42px 5vw 30px;
  background: linear-gradient(180deg, rgba(38,33,75,.56), rgba(38,33,75,.04));
  border-bottom: 0;
  backdrop-filter: none;
}

.deck-top .section-heading h2 {
  max-width: 7ch;
  color: #fffdf0;
  font-size: clamp(44px, 5.4vw, 84px);
  line-height: .84;
  -webkit-text-stroke: 2px #5572d9;
  text-shadow: 4px 5px 0 #f4a7dc;
}

.deck-top .project-filters {
  padding: 19px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  box-shadow: 6px 7px 0 rgba(244,167,220,.3);
  backdrop-filter: blur(18px);
}

.deck-top .filter-label { color: #fff; }
.deck-top .main-filter,
.deck-top .sub-filter {
  min-height: 50px;
  color: #514a83;
  background: rgba(255,253,240,.92);
  border: 1px solid rgba(255,255,255,.94);
  border-radius: 14px;
  box-shadow: 3px 3px 0 rgba(158,223,255,.72);
}
.deck-top .main-filter.active,
.deck-top .sub-filter.active { background: #7863d0; box-shadow: 3px 3px 0 #ffdc52; }

.draw-stage-label { top: 245px; max-width: min(860px, 76vw); }
.draw-stage-label strong {
  max-width: 9ch;
  color: #fffdf0;
  font-family: "Nighty Preview", "Archivo Black", sans-serif;
  font-size: clamp(60px, 8.4vw, 132px);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.025em;
  text-transform: none;
  text-wrap: balance;
}
.draw-stage-label .draw-stage-meta { color: #ffea8c; }
.draw-stage-label .draw-stage-summary { max-width: 590px; color: rgba(255,255,255,.88); }

.project-gallery {
  padding: 120px 5vw 24px;
  gap: 22px;
  scroll-padding-inline: 5vw;
}
.gallery-card,
.gallery-card.reveal,
.gallery-card.reveal.visible {
  flex-basis: clamp(280px, 20vw, 330px);
  height: clamp(460px, 54vh, 530px);
  border-color: rgba(194,211,255,.94);
  box-shadow: 9px 10px 0 rgba(255,220,82,.55), 0 18px 45px rgba(25,22,52,.2);
  transform: translateY(44px) rotate(var(--card-tilt));
}
.gallery-card:hover,
.gallery-card:focus-within,
.gallery-card.reveal.visible:hover,
.gallery-card.reveal.visible:focus-within {
  box-shadow: 10px 12px 0 rgba(244,167,220,.72), 0 24px 55px rgba(20,17,46,.38);
  transform: translateY(0) rotate(0) scale(1.03);
}

.fun-section {
  min-height: 1220px;
  padding: clamp(90px, 9vw, 150px) 5vw 130px;
  color: #fff7e5;
  background:
    radial-gradient(ellipse 54% 36% at 42% 84%, rgba(240,126,207,.3), transparent 70%),
    radial-gradient(ellipse 40% 44% at 76% 26%, rgba(133,111,229,.3), transparent 68%),
    linear-gradient(155deg, #171a2a 0%, #20243a 45%, #302d50 100%);
}

.fun-heading { position: relative; z-index: 4; }
.fun-heading h2 {
  color: #fff8e7;
  -webkit-text-stroke-color: #8599ed;
  text-shadow: 5px 6px 0 #b36ac1;
}
.fun-heading h2 em { color: #ffcf67; }
.fun-heading > p {
  color: #433e72;
  background: rgba(255,248,231,.9);
  border-color: #8294df;
  box-shadow: 5px 6px 0 rgba(244,167,220,.75);
}

.meteor-comet {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.meteor-comet::before {
  content: "";
  position: absolute;
  width: 126%;
  height: 700px;
  left: -24%;
  top: 280px;
  border: 76px solid rgba(189,184,236,.16);
  border-left-color: rgba(244,167,220,.28);
  border-bottom-color: rgba(158,223,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 24px rgba(255,255,255,.035), inset 0 0 70px rgba(255,255,255,.12);
  filter: blur(1px);
  transform: rotate(-17deg);
}
.meteor-comet::after {
  content: "";
  position: absolute;
  width: 190px;
  aspect-ratio: 1;
  left: 2vw;
  bottom: 55px;
  background: radial-gradient(circle, #fff 0 8%, #ffefbe 9% 26%, #f4a7dc 27% 55%, transparent 56%);
  clip-path: polygon(50% 0,59% 34%,78% 8%,69% 40%,100% 30%,72% 48%,100% 60%,68% 57%,84% 88%,59% 66%,50% 100%,42% 66%,15% 90%,32% 58%,0 70%,29% 49%,0 39%,34% 40%,20% 9%,42% 34%);
  filter: drop-shadow(0 0 24px rgba(255,231,180,.72));
}
.meteor-comet i {
  position: absolute;
  width: 62%;
  height: 28px;
  left: 7%;
  bottom: 152px;
  border-radius: 50%;
  background: linear-gradient(90deg, rgba(255,255,255,.72), rgba(158,223,255,.42), transparent);
  filter: blur(8px);
  transform: rotate(-20deg);
}
.meteor-comet span { position: absolute; color: #fff4cc; font-size: clamp(22px, 3vw, 50px); filter: drop-shadow(0 0 8px currentColor); }
.meteor-comet span:nth-of-type(1) { left: 7%; top: 21%; color: #f4a7dc; }
.meteor-comet span:nth-of-type(2) { left: 18%; top: 43%; color: #a9e6ff; }
.meteor-comet span:nth-of-type(3) { left: 34%; top: 29%; color: #ffdc52; }
.meteor-comet span:nth-of-type(4) { left: 47%; top: 58%; color: #cbb7f4; }
.meteor-comet span:nth-of-type(5) { left: 62%; top: 38%; color: #f4a7dc; }
.meteor-comet span:nth-of-type(6) { left: 76%; top: 52%; color: #a9e6ff; }
.meteor-comet span:nth-of-type(7) { left: 88%; top: 27%; color: #ffdc52; }
.meteor-comet span:nth-of-type(8) { left: 13%; top: 72%; color: #cbb7f4; }
.meteor-comet span:nth-of-type(9) { left: 30%; top: 82%; color: #f4a7dc; }
.meteor-comet span:nth-of-type(10) { left: 56%; top: 76%; color: #ffdc52; }
.meteor-comet span:nth-of-type(11) { left: 72%; top: 84%; color: #a9e6ff; }
.meteor-comet span:nth-of-type(12) { left: 92%; top: 67%; color: #f4a7dc; }

.fun-grid {
  position: relative;
  z-index: 2;
  display: block;
  width: min(1500px, 100%);
  height: 900px;
  margin: 20px auto 0;
}
.fun-card {
  position: absolute;
  width: clamp(145px, 12vw, 190px);
  height: clamp(190px, 15vw, 235px);
  min-width: 0;
  aspect-ratio: auto;
  overflow: visible;
  color: #fff8e7;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: rotate(var(--star-tilt, 0deg));
  transform-origin: center;
}
.fun-card:nth-child(1) { left: 3%; top: 55%; --star-tilt:-9deg; }
.fun-card:nth-child(2) { left: 15%; top: 22%; --star-tilt:7deg; }
.fun-card:nth-child(3) { left: 29%; top: 48%; --star-tilt:-5deg; }
.fun-card:nth-child(4) { left: 40%; top: 8%; --star-tilt:8deg; }
.fun-card:nth-child(5) { left: 51%; top: 58%; --star-tilt:-8deg; }
.fun-card:nth-child(6) { left: 62%; top: 25%; --star-tilt:5deg; }
.fun-card:nth-child(7) { left: 74%; top: 52%; --star-tilt:-4deg; }
.fun-card:nth-child(8) { left: 83%; top: 13%; --star-tilt:8deg; }
.fun-card:nth-child(9) { left: 21%; top: 74%; --star-tilt:-6deg; }
.fun-card:nth-child(10) { left: 67%; top: 75%; --star-tilt:6deg; }
.fun-card:nth-child(2n),
.fun-card:nth-child(3n) { box-shadow: none; transform: rotate(var(--star-tilt, 0deg)); }
.fun-card > img {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  clip-path: polygon(50% 0,60% 34%,84% 12%,69% 40%,100% 50%,69% 60%,84% 88%,60% 66%,50% 100%,40% 66%,16% 88%,31% 60%,0 50%,31% 40%,16% 12%,40% 34%);
  filter: saturate(.92) drop-shadow(0 0 13px var(--fun-b));
}
.fun-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -8px -8px auto;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--fun-a), var(--fun-b));
  clip-path: polygon(50% 0,60% 34%,84% 12%,69% 40%,100% 50%,69% 60%,84% 88%,60% 66%,50% 100%,40% 66%,16% 88%,31% 60%,0 50%,31% 40%,16% 12%,40% 34%);
  filter: drop-shadow(0 0 18px var(--fun-b));
}
.fun-card::after { display: none; }
.fun-card-copy {
  inset: auto 50% -4px auto;
  width: max-content;
  max-width: 190px;
  padding: 7px 10px;
  color: #fff8e7;
  background: rgba(31,31,56,.78);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  transform: translateX(50%);
  text-align: center;
}
.fun-card-copy small { color: #ffdc82; }
.fun-card-copy strong { margin-top: 2px; font-size: clamp(16px, 1.4vw, 22px); }
.fun-card-copy em { color: #4a4383; }
.fun-card:hover,
.fun-card:focus-visible {
  z-index: 12;
  box-shadow: none;
  transform: translateY(-12px) rotate(0) scale(1.12);
}
.fun-card:focus-visible { outline: 2px solid #fff8e7; outline-offset: 8px; }
.fun-card:hover .fun-card-copy,
.fun-card:focus-visible .fun-card-copy {
  width: min(230px, 72vw);
  max-width: 230px;
  color: #4a4383;
  background: rgba(255,253,240,.94);
  border-color: #8599ed;
  box-shadow: 5px 6px 0 rgba(244,167,220,.72);
}

@media (max-width: 1050px) {
  .project-draw-stage { min-height: 1040px; height: 1040px; }
  .deck-top { grid-template-columns: 1fr; gap: 18px; }
  .draw-stage-label { top: 360px; }
  .fun-section { min-height: auto; }
  .meteor-comet::before { top: 380px; height: 800px; }
  .fun-grid { height: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 70px 30px; }
  .fun-card, .fun-card:nth-child(n) { position: relative; left: auto; top: auto; width: min(190px, 100%); height: 230px; margin: auto; transform: rotate(var(--star-tilt,0deg)); }
}

@media (max-width: 700px) {
  .project-draw-stage { min-height: 1120px; height: 1120px; }
  .deck-top { padding-top: 30px; }
  .deck-top .section-heading h2 { max-width: 9ch; font-size: clamp(44px, 13vw, 64px); }
  .draw-stage-label { top: 420px; max-width: 90vw; }
  .draw-stage-label strong { font-size: clamp(58px, 18vw, 92px); }
  .project-gallery { padding-top: 110px; }
  .fun-section { padding-inline: 5vw; }
  .fun-heading { gap: 24px; }
  .fun-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px 14px; }
  .fun-card, .fun-card:nth-child(n) { width: min(158px, 100%); height: 202px; }
  .fun-card-copy { max-width: 150px; }
  .meteor-comet::after { width: 120px; left: -18px; bottom: 20px; }
}

@media (max-width: 400px) {
  .fun-grid { grid-template-columns: 1fr 1fr; gap-inline: 8px; }
  .fun-card, .fun-card:nth-child(n) { width: min(142px, 100%); height: 188px; }
  .fun-card-copy strong { font-size: 15px; }
}

/* V4.9 / LEFT PROJECT DECK + STICKY STORY PANEL */
.project-draw-stage {
  display: grid;
  grid-template-columns: minmax(290px, 30%) minmax(0, 70%);
  grid-template-rows: auto 1fr;
  column-gap: clamp(34px, 5vw, 90px);
  height: auto;
  min-height: 0;
  padding: 0 5vw 110px;
  overflow: clip;
}

.deck-top {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 1;
  inset: auto;
  margin: 0 -5vw;
  padding: 42px 5vw 32px;
}

.project-gallery {
  position: relative;
  grid-column: 1;
  grid-row: 2;
  inset: auto;
  width: 100%;
  padding: 52px 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  overflow: visible;
  scroll-snap-type: none;
}

.gallery-card,
.gallery-card.reveal,
.gallery-card.reveal.visible {
  --card-tilt: -1deg;
  flex: 0 0 238px;
  width: 100%;
  height: 238px;
  transform: rotate(var(--card-tilt));
}
.gallery-card:nth-child(2n),
.gallery-card:nth-child(3n) { --card-tilt: 1deg; }
.gallery-card + .gallery-card { margin-left: 0; }
.gallery-card > a {
  grid-template-columns: minmax(112px, 44%) minmax(0, 56%);
  grid-template-rows: 1fr;
}
.project-cover {
  height: 100%;
  border-right: 3px solid #5572d9;
  border-bottom: 0;
}
.project-cover::after { inset: 7px; }
.project-cover i { right: 12px; top: 12px; width: 30px; height: 30px; }
.project-cover > b { left: 12px; top: 12px; }
.gallery-meta {
  min-height: 0;
  height: 100%;
  padding: 18px 16px;
  align-content: center;
}
.gallery-meta h3 { font-size: clamp(21px, 2vw, 30px); }
.gallery-meta p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.gallery-card:hover,
.gallery-card:focus-within,
.gallery-card.reveal.visible:hover,
.gallery-card.reveal.visible:focus-within {
  transform: translateX(12px) rotate(0) scale(1.02);
}

.draw-stage-label {
  position: sticky;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  left: auto;
  top: 118px;
  max-width: min(850px, 100%);
  height: fit-content;
  margin: 78px 0 0;
  padding: clamp(30px, 4vw, 64px);
  color: #fffdf0;
  background: rgba(49,43,89,.36);
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 30px;
  box-shadow: 10px 12px 0 rgba(244,167,220,.18);
  backdrop-filter: blur(16px);
}
.draw-stage-label::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(30vw, 430px);
  aspect-ratio: 1;
  right: 4%;
  top: 50%;
  border: 2px solid rgba(255,255,255,.28);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(255,255,255,.035), 0 0 0 34px rgba(255,255,255,.13), 0 0 0 82px rgba(255,255,255,.025);
  transform: translateY(-50%);
}
.draw-stage-label strong { max-width: 8.5ch; }
.draw-stage-label .draw-stage-summary { max-width: 600px; }

@media (max-width: 920px) {
  .project-draw-stage {
    grid-template-columns: minmax(250px, 34%) minmax(0, 66%);
    column-gap: 26px;
    padding-inline: 4vw;
  }
  .deck-top { margin-inline: -4vw; padding-inline: 4vw; }
  .draw-stage-label { padding: 30px; }
  .draw-stage-label strong { font-size: clamp(52px, 8vw, 82px); }
  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible { height: 220px; flex-basis: 220px; }
}

@media (max-width: 760px) {
  .project-draw-stage {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0 5vw 90px;
  }
  .deck-top { margin-inline: -5vw; }
  .draw-stage-label {
    position: relative;
    top: auto;
    margin: 38px 0 12px;
    padding: 28px 22px;
    max-width: none;
  }
  .draw-stage-label strong { font-size: clamp(52px, 18vw, 82px); }
  .draw-stage-label::before { width: 58vw; right: -8%; }
  .project-gallery { width: 100%; padding-top: 34px; gap: 18px; }
  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible {
    flex: 0 0 220px;
    width: 100%;
    height: 220px;
    transform: rotate(var(--card-tilt));
  }
  .gallery-card:hover,
  .gallery-card:focus-within,
  .gallery-card.reveal.visible:hover,
  .gallery-card.reveal.visible:focus-within { transform: translateX(5px) rotate(0) scale(1.01); }
}

@media (max-width: 430px) {
  .gallery-card > a { grid-template-columns: 42% 58%; }
  .gallery-meta { padding: 14px 12px; }
  .gallery-meta h3 { font-size: 21px; }
  .gallery-meta p { font-size: 12px; -webkit-line-clamp: 3; }
  .gallery-meta > b { display: none; }
}

/* V4.13 / ROTATING HERO ROLE */
.rotating-role {
  display: inline-block;
  min-width: 24ch;
  text-align: center;
  transform-origin: 50% 100%;
  transition: opacity .2s ease, transform .24s ease;
  will-change: opacity, transform;
}

.rotating-role.changing {
  opacity: 0;
  transform: translateY(-9px) rotate(-1deg);
}

.rotating-role.arriving {
  animation: role-arrive .34s cubic-bezier(.2,.8,.3,1.2);
}

@keyframes role-arrive {
  from { opacity: 0; transform: translateY(9px) scale(.96); }
  65% { opacity: 1; transform: translateY(-2px) scale(1.02); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 700px) {
  .rotating-role { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-role {
    transition: none;
    animation: none !important;
  }
}

/* V4.14 / PROJECT VIDEO + DETAIL PREVIEW */
.gallery-card.is-previewed {
  box-shadow: 10px 12px 0 rgba(255,220,82,.72), 0 24px 55px rgba(20,17,46,.3);
  transform: translateX(9px) rotate(0);
}

.gallery-meta {
  position: relative;
  display: flex;
  align-items: center;
}

.gallery-meta h3 {
  margin-top: 11px;
  line-height: 1.05;
}

.gallery-meta > b {
  position: absolute;
  right: 14px;
  top: 14px;
}

.draw-stage-label {
  padding: clamp(20px, 2.2vw, 32px);
  overflow: hidden;
}

.project-preview-media {
  position: relative;
  z-index: 1;
  width: 100%;
  height: clamp(230px, 31vh, 340px);
  overflow: hidden;
  background: rgba(27,24,56,.45);
  border: 2px solid rgba(255,255,255,.72);
  border-radius: 22px;
  box-shadow: 5px 6px 0 rgba(158,223,255,.3);
}

.project-preview-media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #24203f;
}
.project-youtube-preview,
.project-youtube-preview iframe,
.project-youtube-local {
  width: 100%;
  height: 100%;
  border: 0;
}
.project-youtube-preview[hidden] { display: none; }
.project-youtube-local {
  display: grid;
  place-content: center;
  gap: 12px;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-align: center;
  text-decoration: none;
}
.project-youtube-local span { font-size: clamp(42px, 7vw, 76px); line-height: 1; }
.project-youtube-local b { font: 700 11px "Space Mono", monospace; letter-spacing: .06em; }

.project-preview-media video[hidden],
.project-video-placeholder[hidden] { display: none; }

.project-video-placeholder {
  --video-poster: none;
  position: absolute;
  inset: 0;
  isolation: isolate;
  background: #3b356a;
}

.project-video-placeholder::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--video-poster);
  background-position: center;
  background-size: cover;
  filter: saturate(.85) contrast(1.05);
  transform: scale(1.025);
}

.project-video-placeholder::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(37,31,73,.02), rgba(37,31,73,.18));
}

.project-preview-copy {
  position: relative;
  z-index: 1;
  padding: clamp(22px, 2.8vw, 34px) 4px 2px;
}

.draw-stage-label .draw-stage-meta {
  margin: 0;
  color: #ffea8c;
  font: 700 11px "Space Mono", monospace;
  letter-spacing: .055em;
}

.draw-stage-label .project-preview-copy > strong {
  display: block;
  max-width: none;
  margin: 10px 0 0;
  color: #fffdf0;
  font: 400 clamp(42px, 5.2vw, 78px)/.86 "Nighty Preview", "Archivo Black", sans-serif;
  letter-spacing: -.015em;
  text-transform: none;
  text-wrap: balance;
}

.draw-stage-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.draw-stage-tags span {
  padding: 7px 10px;
  color: #fffdf0;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  font: 700 9px "Space Mono", monospace;
}

.draw-stage-label .draw-stage-summary {
  max-width: 68ch;
  margin: 18px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.6;
}

.draw-stage-link {
  position: relative;
  z-index: 5;
  width: fit-content;
  margin-top: 22px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #443b76;
  background: #fff9df;
  border: 2px solid #fff;
  border-radius: 999px;
  box-shadow: 3px 3px 0 #ffdc52;
  font: 700 10px "Space Mono", monospace;
  text-transform: uppercase;
  pointer-events: auto;
  touch-action: manipulation;
  transition: transform .2s ease, box-shadow .2s ease;
}

.draw-stage-link:hover,
.draw-stage-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 #f4a7dc;
}

.draw-stage-link span { font-size: 15px; }

@media (max-width: 920px) {
  .project-preview-media { height: clamp(210px, 28vh, 280px); }
  .draw-stage-tags { margin-top: 16px; }
  .draw-stage-tags span { padding: 6px 8px; font-size: 8px; }
  .draw-stage-label .project-preview-copy > strong { font-size: clamp(40px, 6vw, 60px); }
}

@media (max-width: 760px) {
  .project-preview-media { height: clamp(190px, 52vw, 300px); }
  .project-preview-copy { padding-top: 24px; }
  .draw-stage-label .project-preview-copy > strong { font-size: clamp(45px, 14vw, 72px); }
  .draw-stage-label .draw-stage-summary { max-width: none; font-size: 14px; }
}

@media (max-width: 430px) {
  .project-video-placeholder { padding: 17px; }
  .project-video-placeholder b { font-size: 15px; }
  .draw-stage-tags span { font-size: 8px; }
}

/* V4.15 / FUN PROJECT CONSTELLATIONS */
.fun-section {
  min-height: 0;
  padding-bottom: clamp(100px, 10vw, 170px);
}

.fun-categories {
  position: relative;
  z-index: 2;
  width: min(1540px, 100%);
  margin: clamp(55px, 7vw, 105px) auto 0;
}

.fun-cluster {
  position: relative;
  padding: clamp(24px, 3vw, 42px) 0 clamp(58px, 7vw, 100px);
  border-top: 2px solid rgba(255,249,223,.65);
  isolation: isolate;
}

.fun-cluster::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(42vw, 620px);
  aspect-ratio: 1.8;
  right: 4%;
  top: 8%;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025), 0 0 0 29px rgba(255,255,255,.1);
  transform: rotate(-9deg);
  pointer-events: none;
}

.fun-cluster-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(260px, .8fr) minmax(240px, 1fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(35px, 5vw, 70px);
}

.fun-cluster-heading > span,
.fun-cluster-heading > b {
  font: 700 10px "Space Mono", monospace;
  letter-spacing: .06em;
}

.fun-cluster-heading > span {
  position: absolute;
  left: 0;
  top: -4px;
  color: #ffdc82;
}

.fun-cluster-heading h3 {
  margin: 0;
  color: #fff9df;
  font: 400 clamp(52px, 6vw, 92px)/.8 "Nighty Preview", "Archivo Black", sans-serif;
  letter-spacing: -.015em;
  text-wrap: balance;
}

.fun-cluster-heading p {
  max-width: 40ch;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
  line-height: 1.6;
}

.fun-cluster-heading > b {
  padding: 7px 10px;
  color: #4a4383;
  background: #ffea8c;
  border-radius: 999px;
  white-space: nowrap;
}

.fun-cluster .fun-grid {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0;
  display: grid;
  gap: clamp(34px, 4vw, 68px) clamp(16px, 2vw, 34px);
  align-items: center;
}

.fun-cluster-visual .fun-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.fun-card-placeholder {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: rgba(74,67,131,.78);
  background: radial-gradient(circle at 35% 28%, #fff9df 0 6%, transparent 7%), linear-gradient(145deg, var(--fun-a), var(--fun-b));
  clip-path: polygon(50% 0,61% 32%,96% 20%,69% 50%,96% 79%,61% 68%,50% 100%,39% 68%,4% 79%,31% 50%,4% 20%,39% 32%);
  font-size: clamp(48px, 5vw, 78px);
  filter: drop-shadow(0 0 10px rgba(255,255,255,.45));
}

.fun-category-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(50px, 7vw, 110px);
}

.fun-category-pair .fun-cluster-heading {
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: end;
}

.fun-category-pair .fun-cluster-heading h3 {
  font-size: clamp(48px, 4.8vw, 76px);
}

.fun-category-pair .fun-cluster-heading p {
  grid-column: 1;
  margin-top: -3px;
}

.fun-category-pair .fun-cluster-heading > b {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.fun-category-pair .fun-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fun-cluster .fun-card,
.fun-cluster .fun-card.reveal,
.fun-cluster .fun-card.reveal.visible,
.fun-cluster .fun-card:nth-child(n) {
  position: relative;
  left: auto;
  top: auto;
  width: min(185px, 100%);
  height: 230px;
  margin: auto;
  transform: rotate(var(--cluster-tilt, -3deg));
}

.fun-cluster .fun-card:nth-child(2n) { --cluster-tilt: 4deg; }
.fun-cluster .fun-card:nth-child(3n) { --cluster-tilt: -6deg; }
.fun-cluster-visual .fun-card:nth-child(2),
.fun-cluster-visual .fun-card:nth-child(5) { translate: 0 28px; }

.fun-cluster .fun-card:hover,
.fun-cluster .fun-card:focus-visible,
.fun-cluster .fun-card.reveal.visible:hover,
.fun-cluster .fun-card.reveal.visible:focus-visible {
  z-index: 12;
  transform: translateY(-12px) rotate(0) scale(1.12);
}

.fun-cluster-product { --cluster-accent: #9ee3d2; }
.fun-cluster-exhibition { --cluster-accent: #f4a7dc; }
.fun-cluster-documentation { --cluster-accent: #a9c9ff; }
.fun-cluster-education { --cluster-accent: #ffdc82; }
.fun-cluster-product .fun-cluster-heading h3 { color: #c8f5e5; }
.fun-cluster-exhibition .fun-cluster-heading h3 { color: #ffc7e6; }
.fun-cluster-documentation .fun-cluster-heading h3 { color: #c9dcff; }
.fun-cluster-education .fun-cluster-heading h3 { color: #ffecad; }
.fun-cluster-documentation .fun-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(980px, 100%);
  margin-inline: auto;
}
.fun-cluster-education .fun-grid {
  grid-template-columns: repeat(2, minmax(0, 185px));
  width: min(470px, 100%);
  margin-inline: auto;
}

@media (max-width: 1180px) {
  .fun-cluster-visual .fun-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fun-cluster-visual .fun-card:nth-child(2),
  .fun-cluster-visual .fun-card:nth-child(5) { translate: none; }
  .fun-category-pair { gap: 45px; }
  .fun-category-pair .fun-cluster-heading { grid-template-columns: 1fr; }
  .fun-category-pair .fun-cluster-heading > b { grid-column: 1; grid-row: auto; width: fit-content; }
}

@media (max-width: 820px) {
  .fun-cluster-heading { grid-template-columns: 1fr; gap: 16px; }
  .fun-cluster-heading p { grid-column: 1; }
  .fun-cluster-heading > b { grid-column: 2; grid-row: 1 / span 2; align-self: end; }
  .fun-category-pair { grid-template-columns: 1fr; gap: 15px; }
  .fun-category-pair .fun-cluster-heading { grid-template-columns: 1fr; }
  .fun-category-pair .fun-cluster-heading > b { grid-column: 2; grid-row: 1 / span 2; }
  .fun-category-pair .fun-grid { max-width: 520px; }
}

@media (max-width: 560px) {
  .fun-categories { margin-top: 48px; }
  .fun-cluster { padding-bottom: 70px; }
  .fun-cluster-heading,
  .fun-category-pair .fun-cluster-heading { display: block; }
  .fun-cluster-heading h3,
  .fun-category-pair .fun-cluster-heading h3 { max-width: 8ch; font-size: clamp(48px, 15vw, 70px); }
  .fun-cluster-heading p { margin-top: 16px; font-size: 13px; }
  .fun-cluster-heading > b,
  .fun-category-pair .fun-cluster-heading > b { position: absolute; right: 0; top: 0; }
  .fun-cluster-visual .fun-grid,
  .fun-category-pair .fun-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 8px; }
  .fun-cluster .fun-card,
  .fun-cluster .fun-card.reveal,
  .fun-cluster .fun-card.reveal.visible,
  .fun-cluster .fun-card:nth-child(n) { width: min(150px, 100%); height: 200px; }
  .fun-cluster::before { width: 82vw; right: -20%; }
}

/* V4.16 / FULL-BLEED HEADER PROPORTIONS */
.site-header {
  top: 0;
  width: 100%;
  margin: 0;
  padding-inline: 18px;
  grid-template-columns: auto auto clamp(280px, 46vw, 900px) minmax(0, 1fr);
  gap: 14px;
  border-radius: 0;
}

.wordmark {
  gap: 0;
  width: 46px;
  justify-content: center;
}

.wordmark .brand-icon {
  width: 42px;
  height: 38px;
}

.browser-address {
  width: 100%;
  justify-self: start;
}

.site-header nav {
  min-width: 0;
  justify-content: flex-end;
  gap: 12px;
}

.site-header nav a {
  min-width: 88px;
  padding-inline: 19px;
  text-align: center;
  white-space: nowrap;
}

.site-header nav a:nth-child(2) { min-width: 72px; }

@media (max-width: 1100px) and (min-width: 801px) {
  .site-header {
    padding-inline: 13px;
    grid-template-columns: auto auto minmax(190px, 34vw) minmax(0, 1fr);
    gap: 9px;
  }
  .site-header nav { gap: 7px; }
  .site-header nav a { min-width: 72px; padding-inline: 10px; font-size: 9px; }
  .site-header nav a:nth-child(2) { min-width: 58px; }
}

@media (max-width: 800px) {
  .site-header {
    top: 0;
    grid-template-columns: auto auto minmax(150px, 1fr) auto;
    padding-inline: 14px;
  }
  .mobile-menu { inset: 66px 0 auto; }
}

@media (max-width: 600px) {
  .site-header { grid-template-columns: auto 1fr auto; }
  .wordmark { width: 40px; }
  .mobile-menu { inset: 62px 0 auto; }
}

@media (max-width: 380px) {
  .site-header { grid-template-columns: 1fr auto; }
}

/* V4.23 / CENTERED BROWSER ADDRESS */
@media (min-width: 1280px) {
  .site-header {
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .browser-address {
    position: absolute;
    left: 50%;
    width: clamp(520px, 46vw, 880px);
    transform: translateX(-50%);
    justify-self: auto;
  }

  .site-header nav {
    grid-column: 3;
    position: relative;
    z-index: 1;
  }
}

/* V4.24 / UNIFIED MOBILE LAYOUT */
@media (max-width: 760px) {
  html, body { width: 100%; overflow-x: hidden; }

  .site-header {
    top: 0;
    width: 100%;
    height: 62px;
    margin: 0;
    padding: 0 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    border-radius: 0;
  }

  .browser-controls,
  .browser-address,
  .site-header nav { display: none; }

  .wordmark { width: 42px; justify-self: start; }
  .wordmark .brand-icon { width: 38px; height: 34px; }
  .menu-button {
    display: block;
    padding: 8px 13px;
    color: #fff;
    background: #8064cd;
    border: 2px solid #5572d9;
    border-radius: 999px;
    box-shadow: 2px 2px 0 #ffdc52;
    font-size: 10px;
  }

  .mobile-menu {
    inset: 62px 0 auto;
    z-index: 99;
    max-height: calc(100svh - 62px);
    padding: 24px 6vw 28px;
    gap: 13px;
    color: #4a4383;
    background: #fff8e7;
    border: 0;
    border-bottom: 3px solid #5572d9;
    border-radius: 0;
    box-shadow: 0 8px 0 rgba(244,167,220,.72);
    font-size: 22px;
    overflow-y: auto;
  }

  .mobile-menu a {
    padding: 12px 2px;
    border-bottom: 1px solid rgba(85,114,217,.3);
  }

  .hero {
    min-height: 920px;
    height: auto;
    margin: 0;
    padding: 24px 18px 28px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-title-row { position: relative; z-index: 8; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(50px, 15.8vw, 72px);
    line-height: .84;
    letter-spacing: -.018em;
    white-space: normal;
    text-shadow: 4px 4px 0 #ffdc52, 7px 7px 0 #f477c4;
    -webkit-text-stroke-width: 2px;
  }

  .hero h1 span { -webkit-text-stroke-width: 2px; }
  .hero-tagline {
    max-width: 100%;
    margin: 17px 0 0;
    font-size: 13px;
    line-height: 1.52;
    text-wrap: pretty;
  }

  .hero-tagline strong {
    display: inline-block;
    margin-block: 2px;
    padding: 3px 6px;
    font-size: 10px;
  }

  .model-stage {
    left: 50%;
    top: 46%;
    width: 108vw;
    height: min(49svh, 440px);
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .model-placeholder { width: 82%; }
  .coordinate, .target { display: none; }

  .planet-nav {
    inset: auto 0 68px;
    height: 150px;
    padding-inline: 6px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 2px;
  }

  .planet-button,
  .planet-experience,
  .planet-digital,
  .planet-brand {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 142px;
    transform: none;
  }

  .planet-button:hover,
  .planet-button:focus-visible { transform: translateY(-4px); }
  .planet-button i { width: 56px; height: 56px; margin-bottom: 7px; border-width: 2px; }
  .planet-button i::before { width: 82px; height: 23px; border-width: 3px; }
  .planet-button i::after { right: -17px; top: -10px; font-size: 18px; }
  .planet-button b { padding: 4px 6px; font-size: 7px; border-width: 1px; }
  .planet-button span { max-width: 30vw; margin-top: 5px; font-size: 7px; line-height: 1.35; }

  .round-cta {
    left: 50%;
    right: auto;
    bottom: 18px;
    width: 158px;
    min-height: 46px;
    transform: translateX(-50%);
    font-size: 9px;
  }

  .round-cta:hover { transform: translate(-50%, -3px); }
  .hero-note { display: none; }
  .ticker { height: 36px; }
  .ticker-track { font-size: 9px; }
  .section-pad { padding: 68px 5vw; }

  .work.section-pad { padding: 0; }
  .project-draw-stage {
    display: block;
    height: auto;
    min-height: 0;
    padding: 0 5vw 74px;
    overflow: visible;
  }

  .deck-top {
    position: relative;
    inset: auto;
    margin: 0 -5vw;
    padding: 34px 5vw 28px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .deck-top .section-heading h2 {
    max-width: none;
    font-size: clamp(44px, 13vw, 60px);
    line-height: .88;
  }

  .deck-top .project-filters { margin: 0; padding: 15px; border-radius: 16px; }
  .deck-top .filter-label { margin-bottom: 10px; font-size: 9px; }
  .deck-top .main-filters { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .deck-top .main-filter {
    width: 100%;
    min-height: 43px;
    padding: 9px 12px;
    justify-content: space-between;
    font-size: 9px;
  }

  .draw-stage-label {
    position: relative;
    inset: auto;
    display: none;
    width: 100%;
    max-width: none;
    margin: 4px 0 18px;
    padding: 17px;
    border-radius: 20px;
    box-shadow: 6px 7px 0 rgba(244,167,220,.2);
  }

  .draw-stage-label.mobile-open {
    display: block;
    animation: mobile-project-open .3s ease both;
  }

  .draw-stage-label::before { width: 54vw; right: -13%; opacity: .45; }
  .project-preview-media { height: clamp(185px, 52vw, 250px); border-radius: 14px; }
  .project-video-placeholder { padding: 16px; }
  .project-video-placeholder b { font-size: 15px; }
  .project-preview-copy { padding: 20px 2px 2px; }
  .draw-stage-label .project-preview-copy > strong { font-size: clamp(43px, 13vw, 62px); line-height: .9; }
  .draw-stage-tags { gap: 5px; margin-top: 15px; }
  .draw-stage-tags span { padding: 6px 8px; font-size: 8px; }
  .draw-stage-label .draw-stage-summary { margin-top: 15px; font-size: 13px; line-height: 1.55; }
  .draw-stage-link { margin-top: 18px; padding: 9px 12px; font-size: 9px; }

  .project-gallery {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow: visible;
  }

  .gallery-card,
  .gallery-card.reveal,
  .gallery-card.reveal.visible {
    flex: none;
    width: 100%;
    height: 205px;
    transform: none;
  }

  .gallery-card:hover,
  .gallery-card:focus-within,
  .gallery-card.reveal.visible:hover,
  .gallery-card.reveal.visible:focus-within { transform: translateY(-3px); }
  .gallery-card > a { grid-template-columns: 43% 57%; }
  .gallery-meta { min-height: 0; padding: 14px 13px; }
  .gallery-meta h3 { font-size: clamp(20px, 6vw, 27px); }
  .gallery-meta p { display: none; }

  .gallery-card.is-previewed {
    z-index: 3;
    transform: translateY(-3px);
  }

  .gallery-card.is-previewed > a {
    border-color: #fff8e7;
    box-shadow: 5px 6px 0 #f4a7dc;
  }

  .fun-section { min-height: 0; padding: 72px 5vw 84px; }
  .fun-heading { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 42px; }
  .fun-heading h2 { font-size: clamp(45px, 13vw, 62px); line-height: .84; }
  .fun-heading > p { width: 100%; padding: 0; color: rgba(255,248,231,.78); background: transparent; border: 0; font-size: 13px; line-height: 1.6; }
  .fun-categories { margin-top: 38px; }
  .fun-cluster,
  .fun-category-pair .fun-cluster { padding: 34px 0 68px; }
  .fun-cluster-heading,
  .fun-category-pair .fun-cluster-heading { display: block; padding-right: 0; }
  .fun-cluster-heading h3,
  .fun-category-pair .fun-cluster-heading h3 { max-width: 9ch; font-size: clamp(38px, 11vw, 52px); line-height: .9; }
  .fun-cluster-heading p { max-width: 34ch; margin-top: 14px; font-size: 12px; }
  .fun-cluster-heading > b,
  .fun-category-pair .fun-cluster-heading > b { position: static; display: inline-block; margin-top: 14px; }
  .fun-category-pair { grid-template-columns: 1fr; gap: 0; }
  .fun-cluster-visual .fun-grid,
  .fun-category-pair .fun-grid,
  .fun-cluster .fun-grid {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 9px;
  }

  .fun-cluster .fun-card,
  .fun-cluster .fun-card.reveal,
  .fun-cluster .fun-card.reveal.visible,
  .fun-cluster .fun-card:nth-child(n) {
    width: 100%;
    height: clamp(176px, 48vw, 205px);
    translate: none;
    transform: none;
  }

  .fun-card-copy { max-width: calc(100% - 14px); }
  .fun-card-copy strong { font-size: 15px; }
  .fun-card-copy em { display: none; }
  .fun-modal { padding: 8px; }
  .fun-window { width: 100%; max-height: 95svh; border-radius: 15px; }
  .fun-window-body { max-height: calc(95svh - 46px); grid-template-columns: 1fr; overflow-y: auto; }
  .fun-window-copy { padding: 22px 17px; border-right: 0; border-bottom: 2px solid #5572d9; }
  .fun-window-copy h2 { font-size: clamp(36px, 12vw, 52px); }
  .fun-window-media { grid-template-columns: 1fr; padding: 9px; overflow: visible; }

  .about { padding-block: 70px 76px; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about h2 { font-size: clamp(43px, 12.5vw, 62px); line-height: .9; }
  .about-copy { padding: 20px 17px; border-left: 0; font-size: 14px; line-height: 1.7; }
  .skills { gap: 7px; }
  .skills span { padding: 7px 9px; font-size: 9px; }

  .contact { min-height: auto; padding: 78px 5vw 62px; }
  .contact::after { display: none; }
  .contact h2 { margin: 18px 0 38px; font-size: clamp(52px, 15vw, 76px); line-height: .82; }
  .email-link { padding: 10px 12px; font-size: clamp(10px, 3vw, 13px); }
  .contact-bottom { margin-top: 55px; align-items: flex-start; gap: 20px; }
  footer { padding: 18px 5vw; gap: 8px 16px; font-size: 9px; }
}

@media (max-width: 360px) {
  .hero { min-height: 880px; }
  .hero h1 { font-size: 47px; }
  .planet-button span { font-size: 6px; }
  .fun-cluster-visual .fun-grid,
  .fun-category-pair .fun-grid,
  .fun-cluster .fun-grid { gap-inline: 6px; }
  .fun-cluster .fun-card,
  .fun-cluster .fun-card.reveal,
  .fun-cluster .fun-card.reveal.visible,
  .fun-cluster .fun-card:nth-child(n) { height: 170px; }
}

@keyframes mobile-project-open {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
