:root {
  --ink: #111111;
  --paper: #f5f5f0;
  --muted: #a7a7a1;
  --line: rgba(17, 17, 17, .17);
  --blue: #275dff;
  --blue-soft: #dce5ff;
  --acid: #d8ff3e;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Noto Sans TC', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --page-pad: clamp(20px, 4vw, 72px);
  --max-width: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
::selection { color: var(--paper); background: var(--blue); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 240, .88);
  backdrop-filter: blur(16px);
}
.wordmark { display: flex; gap: 12px; align-items: center; font-weight: 900; letter-spacing: -.05em; }
.wordmark-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--paper);
  background: var(--ink);
  border-radius: 50%;
  font-size: 15px;
  letter-spacing: -.12em;
  transform: rotate(-12deg);
}
.wordmark-copy { line-height: 1.05; }
.wordmark-copy small { display: block; margin-top: 4px; font-size: 9px; font-weight: 500; letter-spacing: .15em; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: clamp(15px, 2.6vw, 38px); font-size: 14px; font-weight: 700; }
.site-nav a { position: relative; padding: 10px 0; }
.site-nav a::after { content: ''; position: absolute; right: 0; bottom: 3px; left: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after, .site-nav a[aria-current='page']::after { transform: scaleX(1); transform-origin: left; }
.nav-cta, .button-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 45px; padding: 10px 17px; color: var(--paper); background: var(--ink); border: 1px solid var(--ink); border-radius: 99px; font-size: 13px; font-weight: 700; transition: .25s ease; }
.nav-cta:hover, .button-primary:hover { color: var(--ink); background: var(--acid); border-color: var(--acid); transform: translateY(-2px); }
.nav-toggle { display: none; border: 0; background: transparent; cursor: pointer; font-size: 25px; }

.page-wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--page-pad); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--blue); border-radius: 50%; box-shadow: 0 0 0 5px var(--blue-soft); }
.display { margin: 20px 0 25px; max-width: 850px; font-size: clamp(54px, 8.5vw, 138px); font-weight: 900; letter-spacing: -.1em; line-height: .94; }
.display em { color: var(--blue); font-family: var(--serif); font-weight: 400; letter-spacing: -.07em; }
.lead { max-width: 550px; color: #4b4b47; font-size: clamp(16px, 1.6vw, 20px); line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--blue); font-size: 14px; font-weight: 800; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(6px); }

.hero { position: relative; min-height: 720px; padding: clamp(68px, 8vw, 128px) 0 84px; }
.hero::before { content: 'MBTONG / 2026'; position: absolute; top: 34px; right: 0; color: var(--muted); font-size: 10px; letter-spacing: .16em; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1.12fr); gap: clamp(20px, 5vw, 100px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .display { max-width: 700px; }
.hero-copy .display span { white-space: nowrap; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 45px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 13px; font-weight: 700; transition: .25s ease; }
.button-secondary:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.hero-note { display: flex; gap: 20px; margin-top: 72px; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hero-note b { color: var(--ink); font-weight: 700; }

.space-stage { position: relative; min-height: 520px; isolation: isolate; overflow: hidden; background: var(--ink); border-radius: 2px; box-shadow: 18px 18px 0 var(--blue); transform: rotate(1.5deg); transition: transform .35s ease; }
.space-stage:hover { transform: rotate(0deg); }
.star-field { position: absolute; inset: 0; opacity: .9; background-image: radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(255,255,255,.45) 0 1px, transparent 1.2px); background-size: 63px 63px, 97px 97px; background-position: 10px 17px, 26px 8px; }
.space-stage::before { content: ''; position: absolute; inset: 0; opacity: .3; background: linear-gradient(130deg, transparent 15%, rgba(39,93,255,.35), transparent 42%, rgba(255,255,255,.12) 60%, transparent 75%); mix-blend-mode: screen; }
.orbit { position: absolute; top: 50%; left: 50%; width: 71%; height: 31%; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; transform: translate(-50%, -50%) rotate(-27deg); animation: drift 12s linear infinite; }
.orbit-b { width: 88%; height: 52%; transform: translate(-50%, -50%) rotate(36deg); animation-duration: 17s; animation-direction: reverse; opacity: .55; }
.orbit-c { width: 55%; height: 78%; transform: translate(-50%, -50%) rotate(78deg); animation-duration: 21s; opacity: .35; }
.planet { position: absolute; top: 50%; left: 50%; width: clamp(145px, 24vw, 245px); aspect-ratio: 1; border-radius: 50%; transform: translate(calc(-50% + var(--mx, 0px)), calc(-50% + var(--my, 0px))); transition: transform .2s ease; }
.planet-main { z-index: 3; background: radial-gradient(circle at 35% 29%, #ecf0ff 0 4%, #8fa4e7 7%, #3f5fae 27%, #2448a5 46%, #17224f 74%); box-shadow: inset -25px -30px 45px rgba(0,0,0,.6), inset 25px 10px 30px rgba(255,255,255,.2), 0 0 80px rgba(39,93,255,.72); cursor: pointer; }
.planet-main::before { content: 'MB'; position: absolute; top: 38%; left: 31%; color: rgba(255,255,255,.95); font-size: clamp(28px, 4vw, 53px); font-weight: 900; letter-spacing: -.15em; transform: rotate(-14deg); }
.planet-main::after { content: ''; position: absolute; inset: 19% 7% 40% 28%; border-top: 3px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-27deg); }
.planet-small { z-index: 4; width: 32px; background: var(--acid); box-shadow: 0 0 30px rgba(216,255,62,.7); transform: translate(-50%, -50%); }
.orbit .planet-small { top: 0; left: 50%; }
.space-label { position: absolute; z-index: 5; left: 24px; bottom: 22px; color: rgba(255,255,255,.68); font-size: 10px; letter-spacing: .13em; }
.space-index { position: absolute; z-index: 5; top: 20px; right: 20px; color: var(--acid); font-size: 11px; font-weight: 900; letter-spacing: .18em; }
.is-boosted .orbit { animation-duration: 2s; }
.is-boosted .orbit-b { animation-duration: 3s; }
.is-boosted .orbit-c { animation-duration: 4s; }
@keyframes drift { to { transform: translate(-50%, -50%) rotate(333deg); } }

.marquee { overflow: hidden; margin: 0 calc(var(--page-pad) * -1); padding: 17px 0; color: var(--paper); background: var(--blue); white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 36px; animation: marquee 28s linear infinite; font-size: 13px; font-weight: 900; letter-spacing: .18em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding: clamp(82px, 11vw, 165px) 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-kicker { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.section-title { margin: 8px 0 0; font-size: clamp(34px, 5.4vw, 78px); line-height: .98; letter-spacing: -.08em; }
.section-title em { color: var(--blue); font-family: var(--serif); font-weight: 400; }
.section-header p { max-width: 320px; margin: 0; color: #696963; font-size: 14px; }

.work-grid { display: grid; grid-template-columns: 1.12fr .88fr 1fr; gap: 15px; align-items: start; }
.work-card { position: relative; overflow: hidden; min-height: 410px; padding: 17px; color: var(--ink); background: #d8e0f5; }
.work-card:nth-child(2) { margin-top: 84px; background: #e7ddcc; }
.work-card:nth-child(3) { background: var(--ink); }
.work-visual { position: relative; display: block; height: 285px; overflow: hidden; }
.work-art { position: absolute; inset: 0; overflow: hidden; }
.work-art-a { background: #dbdce2; }
.work-art-a::before { content: '山 / 水'; position: absolute; top: 22px; left: 23px; color: #e64c2e; font-size: 49px; font-weight: 900; letter-spacing: -.18em; writing-mode: vertical-rl; }
.work-art-a::after { content: ''; position: absolute; right: -10%; bottom: -22%; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 37% 28%, #fff 0 3%, #f1cf63 4% 27%, #e64c2e 28% 48%, #122a40 49%); box-shadow: -50px -50px 0 -30px rgba(255,255,255,.7); }
.work-art-b { background: #f2ce8e; }
.work-art-b::before { content: 'GOOD\A MORNING'; white-space: pre; position: absolute; inset: 22px; color: #123425; font-size: 39px; font-weight: 900; line-height: .84; letter-spacing: -.12em; }
.work-art-b::after { content: ''; position: absolute; right: 23px; bottom: 19px; width: 110px; height: 110px; border: 18px solid #e15a32; border-radius: 50%; }
.work-art-c { background: var(--blue); }
.work-art-c::before { content: 'UI / 24'; position: absolute; top: 25px; right: 20px; color: var(--acid); font-size: 15px; font-weight: 900; letter-spacing: .08em; }
.work-art-c::after { content: ''; position: absolute; right: 24px; bottom: 20px; width: 74%; height: 64%; border: 1px solid rgba(255,255,255,.65); border-radius: 45% 45% 0 0; box-shadow: -29px 24px 0 -1px rgba(216,255,62,.9), -29px 24px 0 0 var(--blue); }
.work-meta { display: flex; justify-content: space-between; gap: 15px; padding-top: 17px; font-size: 12px; }
.work-meta strong { font-size: 17px; letter-spacing: -.06em; }
.work-meta small { color: #6c6c68; }
.work-card:nth-child(3) .work-meta, .work-card:nth-child(3) .work-meta small { color: var(--paper); }
.work-card:nth-child(3) .work-meta small { opacity: .6; }

.service-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.service-item { min-height: 265px; padding: 26px 25px 30px 0; border-right: 1px solid var(--line); }
.service-item + .service-item { padding-left: 25px; }
.service-item:last-child { border-right: 0; }
.service-num { color: var(--blue); font: 400 34px/1 var(--serif); }
.service-item h3 { margin: 45px 0 15px; font-size: 21px; letter-spacing: -.07em; }
.service-item p { margin: 0; color: #6b6b66; font-size: 14px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tag { display: inline-flex; padding: 4px 8px; border: 1px solid var(--line); border-radius: 99px; color: #6b6b66; font-size: 11px; }

.contact-banner { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 92px); color: var(--paper); background: var(--ink); }
.contact-banner::after { content: ''; position: absolute; right: -9%; bottom: -58%; width: 52%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.06), 0 0 0 70px rgba(255,255,255,.06); }
.contact-banner h2 { position: relative; z-index: 1; max-width: 730px; margin: 0 0 28px; font-size: clamp(38px, 7vw, 93px); letter-spacing: -.1em; line-height: .95; }
.contact-banner h2 em { color: var(--acid); font-family: var(--serif); font-weight: 400; }
.contact-banner .button-primary { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.contact-banner .button-primary:hover { color: var(--paper); background: var(--blue); border-color: var(--blue); }

.page-hero { padding: clamp(75px, 12vw, 168px) 0 85px; border-bottom: 1px solid var(--line); }
.page-hero .display { max-width: 1000px; }
.page-hero .lead { margin-left: 11%; }
.index-label { display: flex; justify-content: space-between; margin-bottom: 40px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 35px; }
.filter-button { padding: 9px 15px; color: #6c6c66; background: transparent; border: 1px solid var(--line); border-radius: 99px; cursor: pointer; font-size: 12px; font-weight: 700; transition: .2s ease; }
.filter-button:hover, .filter-button.is-active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 15px; }
.gallery-card { position: relative; min-height: 390px; padding: 17px; background: var(--ink); grid-column: span 4; }
.gallery-card:nth-child(2), .gallery-card:nth-child(5) { grid-column: span 5; min-height: 500px; }
.gallery-card:nth-child(3), .gallery-card:nth-child(6) { grid-column: span 3; }
.gallery-card:nth-child(4) { grid-column: span 7; min-height: 430px; }
.gallery-card[hidden] { display: none; }
.gallery-card .work-visual { height: 100%; min-height: 280px; }
.gallery-card .work-meta { position: absolute; right: 17px; bottom: 17px; left: 17px; color: var(--paper); }
.gallery-card .work-meta small { color: rgba(245,245,240,.62); }
.gallery-card .work-art-d { background: #e7e5d7; }
.work-art-d::before { content: 'A\A B'; white-space: pre; position: absolute; top: 28px; left: 25px; color: #a03d30; font-size: 74px; font-weight: 900; line-height: .74; letter-spacing: -.2em; }
.work-art-d::after { content: ''; position: absolute; right: 15%; bottom: 12%; width: 38%; height: 65%; border-left: 15px solid #275dff; border-radius: 60% 0 0 60%; transform: rotate(28deg); }
.work-art-e { background: #101d35; }
.work-art-e::before { content: 'FRAGILE'; position: absolute; right: 15px; bottom: 20px; color: #f0c44a; font-size: 35px; font-weight: 900; letter-spacing: -.1em; transform: rotate(-90deg); transform-origin: bottom right; }
.work-art-e::after { content: ''; position: absolute; top: 28%; left: 15%; width: 56%; aspect-ratio: 1; border: 18px solid #f0c44a; border-radius: 48% 52% 44% 56%; box-shadow: 25px 23px 0 #c34f3e; }
.work-art-f { background: #d9e4dd; }
.work-art-f::before { content: '一口\A 一個故事'; white-space: pre; position: absolute; top: 27px; right: 22px; color: #2b5d4f; font-size: 38px; font-weight: 900; line-height: 1.1; letter-spacing: -.16em; writing-mode: vertical-rl; }
.work-art-f::after { content: ''; position: absolute; left: 22px; bottom: 25px; width: 65%; height: 45%; background: repeating-linear-gradient(90deg, #2b5d4f 0 11px, transparent 11px 20px); opacity: .75; }
.work-art-g { background: #e5e8fb; }
.work-art-g::before { content: '01'; position: absolute; top: 20px; left: 20px; color: #275dff; font: 400 105px/.8 var(--serif); }
.work-art-g::after { content: ''; position: absolute; right: 17%; bottom: 12%; width: 42%; height: 58%; background: var(--blue); border-radius: 48% 48% 7% 7%; transform: rotate(18deg); }

.service-list { border-top: 1px solid var(--ink); }
.service-row { display: grid; grid-template-columns: 80px 1fr minmax(250px, .65fr); gap: 30px; padding: 37px 0; border-bottom: 1px solid var(--line); }
.service-row-number { color: var(--blue); font: 400 30px/1 var(--serif); }
.service-row h2 { margin: 0; font-size: clamp(26px, 3.4vw, 51px); letter-spacing: -.08em; line-height: .98; }
.service-row p { margin: 5px 0 0; color: #676761; font-size: 14px; }
.service-list .service-tags { align-self: center; justify-content: flex-start; margin: 0; }
.service-list .tag { color: var(--ink); border-color: var(--line); }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 70px; background: var(--line); border: 1px solid var(--line); }
.process-card { min-height: 190px; padding: 20px; background: var(--paper); }
.process-card b { color: var(--blue); font: 400 28px/1 var(--serif); }
.process-card h3 { margin: 42px 0 6px; font-size: 17px; }
.process-card p { margin: 0; color: #777770; font-size: 13px; }

.contact-layout { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 9vw, 140px); align-items: start; }
.contact-statement { position: sticky; top: 130px; }
.contact-statement .display { font-size: clamp(53px, 7vw, 110px); }
.contact-list { border-top: 1px solid var(--ink); }
.contact-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: start; padding: 23px 0; border-bottom: 1px solid var(--line); }
.contact-row small { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.contact-row a, .contact-row span { font-size: clamp(18px, 2.3vw, 29px); font-weight: 700; letter-spacing: -.05em; }
.contact-row a:hover { color: var(--blue); }
.contact-tip { margin-top: 35px; padding: 20px; background: var(--blue-soft); font-size: 13px; }

.site-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px var(--page-pad) 34px; border-top: 1px solid var(--line); color: #777770; font-size: 11px; }
.site-footer strong { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 800px) {
  .site-header { min-height: 68px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 67px; right: var(--page-pad); left: var(--page-pad); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 14px; background: var(--paper); border: 1px solid var(--line); box-shadow: 8px 8px 0 var(--blue); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .nav-cta { margin-top: 8px; }
  .hero { min-height: auto; padding-top: 75px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .display { font-size: clamp(55px, 16vw, 100px); }
  .hero-note { margin-top: 40px; }
  .space-stage { min-height: 430px; margin: 20px 10px 0 0; box-shadow: 10px 10px 0 var(--blue); }
  .section-header { display: block; }
  .section-header p { margin-top: 20px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card:nth-child(2) { min-height: auto; margin-top: 0; }
  .work-visual { height: min(72vw, 330px); }
  .service-strip { grid-template-columns: 1fr; }
  .service-item, .service-item + .service-item { min-height: auto; padding: 26px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-item:last-child { border-bottom: 0; }
  .service-item h3 { margin-top: 24px; }
  .page-hero .lead { margin-left: 0; }
  .gallery { display: grid; grid-template-columns: 1fr; }
  .gallery-card, .gallery-card:nth-child(2), .gallery-card:nth-child(3), .gallery-card:nth-child(4), .gallery-card:nth-child(5), .gallery-card:nth-child(6) { grid-column: auto; min-height: 420px; }
  .gallery-card .work-visual { min-height: 325px; }
  .service-row { grid-template-columns: 45px 1fr; gap: 12px; }
  .service-list .service-tags { grid-column: 2; }
  .process { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 65px; }
  .contact-statement { position: static; }
  .contact-statement .display { margin-bottom: 20px; }
  .site-footer { display: block; }
  .site-footer > * + * { margin-top: 8px; }
}

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


/* Black cosmos refinement inspired by the supplied OIO reference */
:root {
  --ink: #f4f5ef;
  --paper: #050605;
  --muted: #737b73;
  --line: rgba(244, 245, 239, .16);
  --blue: #f4f5ef;
  --blue-soft: rgba(202, 255, 61, .14);
  --acid: #caff3d;
  --panel: #0b0e0c;
}

body {
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(circle, rgba(244,245,239,.18) 0 1px, transparent 1.2px), radial-gradient(circle, rgba(202,255,61,.13) 0 1px, transparent 1.4px);
  background-size: 127px 127px, 211px 211px;
  background-position: 11px 23px, 71px 14px;
}
.site-header {
  background: rgba(5, 6, 5, .82);
  border-bottom-color: var(--line);
}
.wordmark-mark { color: var(--paper); background: var(--ink); }
.wordmark-copy small, .section-kicker, .index-label, .hero-note { color: var(--muted); }
.site-nav a::after { background: var(--acid); }
.nav-cta, .button-primary {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}
.nav-cta:hover, .button-primary:hover { color: var(--paper); background: var(--acid); border-color: var(--acid); }
.button-secondary { color: var(--ink); border-color: var(--line); }
.button-secondary:hover, .text-link:hover { color: var(--acid); border-color: var(--acid); }
.eyebrow, .text-link { color: var(--ink); }
.eyebrow::before { background: var(--acid); box-shadow: 0 0 0 5px rgba(202,255,61,.11), 0 0 18px rgba(202,255,61,.4); }
.display em, .section-title em { color: var(--ink); font-style: italic; }
.lead, .section-header p, .work-meta small, .service-item p, .service-row p, .process-card p { color: #a7afa7; }
.hero::before { color: var(--muted); }
.space-stage {
  background: #020302;
  border: 1px solid rgba(244,245,239,.22);
  box-shadow: 0 0 0 1px rgba(202,255,61,.09), 16px 16px 0 rgba(202,255,61,.85);
}
.space-stage::before { background: radial-gradient(circle at 45% 47%, rgba(244,245,239,.14), transparent 28%), linear-gradient(130deg, transparent 18%, rgba(202,255,61,.12), transparent 45%, rgba(255,255,255,.06) 60%, transparent 75%); }
.star-field { opacity: .72; }
.orbit { border-color: rgba(244,245,239,.34); }
.orbit-b { opacity: .42; }
.orbit-c { opacity: .22; }
.planet-main {
  background: radial-gradient(circle at 35% 29%, #f5f6f1 0 3%, #bdc2bb 7%, #657068 26%, #313a34 47%, #101511 75%);
  box-shadow: inset -25px -30px 45px rgba(0,0,0,.72), inset 25px 10px 30px rgba(255,255,255,.18), 0 0 70px rgba(244,245,239,.18);
}
.planet-main::before { color: #050605; }
.planet-main::after { border-top-color: rgba(5,6,5,.34); }
.planet-small { background: var(--acid); box-shadow: 0 0 26px rgba(202,255,61,.75); }
.space-index { color: var(--acid); }
.space-label { color: rgba(244,245,239,.58); }
.marquee { color: var(--ink); background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { font-size: 11px; font-weight: 500; letter-spacing: .22em; }
.work-card, .gallery-card { color: var(--ink); background: var(--panel); border: 1px solid var(--line); }
.work-card:nth-child(2) { background: #0e120f; }
.work-card:nth-child(3) { background: #080a09; }
.work-art-a, .work-art-b, .work-art-c, .work-art-d, .work-art-e, .work-art-f, .work-art-g { filter: grayscale(1); }
.work-art-a { background: #171b18; }
.work-art-a::before { color: var(--ink); }
.work-art-a::after { background: radial-gradient(circle at 37% 28%, #f4f5ef 0 3%, #9ca49c 4% 27%, #4a554b 28% 48%, #111612 49%); }
.work-art-b { background: #202520; }
.work-art-b::before { color: #f4f5ef; }
.work-art-b::after { border-color: #8d968e; }
.work-art-c { background: #111612; }
.work-art-c::before { color: var(--acid); }
.work-art-c::after { border-color: rgba(244,245,239,.68); box-shadow: -29px 24px 0 -1px rgba(202,255,61,.9), -29px 24px 0 0 #111612; }
.work-art-d { background: #171b18; }
.work-art-d::before { color: #f4f5ef; }
.work-art-d::after { border-left-color: var(--acid); }
.work-art-e { background: #111612; }
.work-art-e::before { color: var(--acid); }
.work-art-e::after { border-color: #d6dbd4; box-shadow: 25px 23px 0 #505b53; }
.work-art-f { background: #192019; }
.work-art-f::before { color: #f4f5ef; }
.work-art-f::after { background: repeating-linear-gradient(90deg, #c7cec5 0 11px, transparent 11px 20px); }
.work-art-g { background: #171b18; }
.work-art-g::before { color: var(--ink); }
.work-art-g::after { background: var(--acid); }
.work-meta strong { color: var(--ink); }
.tag, .filter-button { color: #abb3aa; border-color: var(--line); }
.filter-button:hover, .filter-button.is-active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.service-strip, .service-list { border-color: var(--line); }
.service-item { border-color: var(--line); }
.service-num, .service-row-number, .process-card b { color: var(--acid); }
.process { background: var(--line); border-color: var(--line); }
.process-card { background: var(--panel); }
.contact-banner { background: #080a09; border: 1px solid var(--line); }
.contact-banner::after { border-color: rgba(244,245,239,.2); box-shadow: 0 0 0 35px rgba(244,245,239,.05), 0 0 0 70px rgba(202,255,61,.05); }
.contact-banner h2 em { color: var(--acid); }
.contact-tip { color: var(--ink); background: rgba(202,255,61,.11); border: 1px solid rgba(202,255,61,.3); }
.contact-list { border-color: var(--line); }
.contact-row { border-color: var(--line); }
.contact-row a:hover { color: var(--acid); }
.site-footer { border-color: var(--line); color: var(--muted); }
.site-footer strong { color: var(--ink); }

@media (max-width: 800px) {
  .site-nav { background: #080a09; border-color: var(--line); box-shadow: 8px 8px 0 rgba(202,255,61,.75); }
  .site-nav a { border-color: var(--line); }
  .space-stage { box-shadow: 0 0 0 1px rgba(202,255,61,.09), 10px 10px 0 rgba(202,255,61,.85); }
}


.contact-banner h2 { color: var(--ink); }
.contact-banner h2 em { display: block; margin-top: 10px; }
.contact-banner .button-primary { color: var(--paper); background: var(--acid); border-color: var(--acid); }
.contact-banner .button-primary:hover { color: var(--paper); background: transparent; border-color: var(--acid); }


/* More breathing room on wide screens */
:root {
  --page-pad: clamp(24px, 7vw, 120px);
  --max-width: 1280px;
}
.page-wrap { width: 100%; }


/* Square and aligned work image system */
.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.work-card, .work-card:nth-child(2), .work-card:nth-child(3) { min-height: 0; margin-top: 0; }
.work-visual { height: auto; aspect-ratio: 1 / 1; }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.gallery-card, .gallery-card:nth-child(2), .gallery-card:nth-child(3), .gallery-card:nth-child(4), .gallery-card:nth-child(5), .gallery-card:nth-child(6) { grid-column: auto; min-height: 0; display: flex; flex-direction: column; }
.gallery-card .work-visual { height: auto; min-height: 0; aspect-ratio: 1 / 1; }
.gallery-card .work-meta { position: static; margin-top: auto; }

@media (max-width: 800px) {
  .work-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery-card, .gallery-card:nth-child(2), .gallery-card:nth-child(3), .gallery-card:nth-child(4), .gallery-card:nth-child(5), .gallery-card:nth-child(6) { min-height: 0; }
  .gallery-card .work-visual { min-height: 0; }
}


/* Homepage-only wider breathing room */
.home-page .page-wrap {
  max-width: 1240px;
  padding-inline: clamp(32px, 9vw, 140px);
}
.home-page .hero-grid { gap: clamp(28px, 5vw, 76px); }

@media (max-width: 800px) {
  .home-page .page-wrap { padding-inline: 24px; }
}


/* Particle sphere and saturated green accent */
:root { --acid: #b6ff00; --blue-soft: rgba(182,255,0,.15); }
.space-stage { box-shadow: 0 0 0 1px rgba(182,255,0,.16), 16px 16px 0 rgba(182,255,0,.95); }
.space-stage::before { background: radial-gradient(circle at 45% 47%, rgba(244,245,239,.12), transparent 28%), linear-gradient(130deg, transparent 18%, rgba(182,255,0,.16), transparent 45%, rgba(255,255,255,.06) 60%, transparent 75%); }
.planet-main { background: transparent; box-shadow: none; overflow: visible; }
.planet-main::before, .planet-main::after { content: none; }
.particle-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.planet-small { background: var(--acid); box-shadow: 0 0 30px rgba(182,255,0,.9); }
.space-index { color: var(--acid); }
.home-page .eyebrow::before { background: var(--acid); box-shadow: 0 0 0 5px rgba(182,255,0,.14), 0 0 18px rgba(182,255,0,.55); }
.home-page .button-primary, .contact-banner .button-primary { background: var(--acid); border-color: var(--acid); }
.home-page .button-primary:hover, .contact-banner .button-primary:hover { background: transparent; border-color: var(--acid); color: var(--ink); }

@media (max-width: 800px) {
  .space-stage { box-shadow: 0 0 0 1px rgba(182,255,0,.16), 10px 10px 0 rgba(182,255,0,.95); }
}


/* Sharper particle field, frameless space stage, and real Instagram work images */
.space-stage { border: 0; box-shadow: none; background: transparent; }
.space-stage::before { opacity: .22; }
.particle-canvas { image-rendering: auto; }
.work-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.nav-cta { gap: 6px; border: 1px solid rgba(244,245,239,.5); border-radius: 999px; background: transparent; color: var(--ink); padding-inline: 14px; }
.nav-cta::before { content: '•'; color: var(--acid); font-size: 17px; line-height: 0; }
.nav-cta:hover { color: var(--paper); background: var(--acid); border-color: var(--acid); }

@media (max-width: 800px) {
  .space-stage { box-shadow: none; }
  .nav-cta { border: 0; border-radius: 0; padding-inline: 0; }
}


/* Keep the top contact CTA clean and unadorned */
.site-nav .nav-cta::before,
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta { text-decoration: none; }


/* Match the top contact CTA to the primary portfolio button */
.site-nav .nav-cta {
  min-height: 45px;
  padding: 10px 17px;
  color: var(--paper);
  background: var(--acid);
  border: 1px solid var(--acid);
  border-radius: 999px;
}
.site-nav .nav-cta:hover { color: var(--paper); background: transparent; border-color: var(--acid); }

@media (max-width: 800px) {
  .site-nav .nav-cta { min-height: 45px; padding: 10px 17px; border-radius: 999px; }
}


/* Lower-page cosmic parallax backdrop, revealed from About onward */
.home-page main { position: relative; z-index: 1; }
.cosmic-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(244,245,239,.25) 0 1px, transparent 1.4px), radial-gradient(circle, rgba(182,255,0,.16) 0 1px, transparent 1.4px);
  background-size: 151px 151px, 237px 237px;
  background-position: 0 0, 53px 31px;
  transform: translate3d(var(--cosmic-x, 0px), var(--cosmic-y, 0px), 0);
  transition: opacity 1.2s ease;
}
.home-page.is-lower .cosmic-backdrop { opacity: .62; }
.cosmic-backdrop::before,
.cosmic-backdrop::after {
  content: '';
  position: absolute;
  display: block;
  border-radius: 50%;
  will-change: transform;
}
.cosmic-backdrop::before {
  top: 18%;
  right: 7%;
  width: clamp(130px, 18vw, 285px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 34% 28%, rgba(244,245,239,.7) 0 2%, rgba(145,155,145,.5) 8%, rgba(44,53,46,.78) 44%, rgba(7,10,8,.1) 73%);
  box-shadow: 0 0 0 1px rgba(244,245,239,.16), 0 0 80px rgba(182,255,0,.1);
  transform: translate3d(calc(var(--cosmic-x, 0px) * -1.8), calc(var(--cosmic-y, 0px) * -1.8), 0);
  opacity: .44;
}
.cosmic-backdrop::after {
  left: 8%;
  bottom: 10%;
  width: clamp(54px, 8vw, 120px);
  aspect-ratio: 1;
  background: radial-gradient(circle at 33% 27%, #f4f5ef 0 3%, #a2aaa1 8%, #29342d 52%, #0a0d0a 75%);
  box-shadow: 0 0 0 14px rgba(182,255,0,.04), 0 0 45px rgba(182,255,0,.14);
  transform: translate3d(calc(var(--cosmic-x, 0px) * 2.6), calc(var(--cosmic-y, 0px) * 2.6), 0);
  opacity: .38;
}
@media (max-width: 800px) {
  .cosmic-backdrop::before { top: 22%; right: -8%; }
  .cosmic-backdrop::after { left: -5%; bottom: 17%; }
}


.cosmic-backdrop { transform: translate3d(var(--cosmic-x, 0px), calc(var(--cosmic-y, 0px) - var(--cosmic-scroll, 0px)), 0); }


/* More visible lower-page planetary parallax */
.home-page.is-lower .cosmic-backdrop { opacity: .86; }
.cosmic-orbit, .cosmic-planet { position: absolute; display: block; pointer-events: none; will-change: transform; }
.cosmic-orbit { border: 1px solid rgba(244,245,239,.22); border-radius: 50%; }
.cosmic-orbit-one {
  top: 33%; left: 35%; width: 43vw; height: 17vw;
  transform: translate3d(calc(var(--cosmic-x, 0px) * -1.2), calc(var(--cosmic-y, 0px) * -1.2 - var(--cosmic-scroll, 0px) * .7), 0) rotate(-23deg);
}
.cosmic-orbit-two {
  top: 47%; left: 18%; width: 31vw; height: 13vw;
  border-color: rgba(182,255,0,.24);
  transform: translate3d(calc(var(--cosmic-x, 0px) * 1.8), calc(var(--cosmic-y, 0px) * 1.8 - var(--cosmic-scroll, 0px) * 1.2), 0) rotate(39deg);
}
.cosmic-planet { border-radius: 50%; }
.cosmic-planet-one {
  top: 35%; left: 17%; width: clamp(76px, 9vw, 135px); aspect-ratio: 1;
  background: radial-gradient(circle at 32% 27%, #f4f5ef 0 3%, #b1b8af 9%, #515d53 35%, #111711 72%);
  box-shadow: 0 0 0 1px rgba(244,245,239,.22), 0 0 55px rgba(244,245,239,.12);
  transform: translate3d(calc(var(--cosmic-x, 0px) * 2.3), calc(var(--cosmic-y, 0px) * 2.3 - var(--cosmic-scroll, 0px) * 1.8), 0);
}
.cosmic-planet-two {
  top: 61%; right: 16%; width: clamp(42px, 5vw, 78px); aspect-ratio: 1;
  background: radial-gradient(circle at 30% 25%, #dfff9a 0 3%, #87a33c 12%, #293416 48%, #0c100b 75%);
  box-shadow: 0 0 0 10px rgba(182,255,0,.04), 0 0 45px rgba(182,255,0,.22);
  transform: translate3d(calc(var(--cosmic-x, 0px) * -2.8), calc(var(--cosmic-y, 0px) * -2.8 - var(--cosmic-scroll, 0px) * .9), 0);
}
.cosmic-planet-three {
  top: 78%; left: 46%; width: clamp(20px, 2.5vw, 38px); aspect-ratio: 1;
  background: var(--acid);
  box-shadow: 0 0 26px rgba(182,255,0,.9);
  transform: translate3d(calc(var(--cosmic-x, 0px) * 3.2), calc(var(--cosmic-y, 0px) * 3.2 - var(--cosmic-scroll, 0px) * 1.5), 0);
}
@media (max-width: 800px) {
  .cosmic-orbit-one { left: 20%; width: 80vw; height: 32vw; }
  .cosmic-orbit-two { left: -5%; width: 66vw; height: 28vw; }
  .cosmic-planet-one { left: 3%; }
  .cosmic-planet-two { right: 3%; }
  .cosmic-planet-three { left: 45%; }
}


/* User-provided mark across the site */
.wordmark-image { width: 39px; height: 39px; flex: 0 0 39px; object-fit: contain; background: #000; }
.wordmark:hover .wordmark-image { filter: drop-shadow(0 0 8px rgba(182,255,0,.35)); }

/* Replace the final homepage brand panel artwork with the particle cloud */
.home-page .contact-banner {
  background-color: #080a09;
  background-image: url('/images/particle-cloud.svg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: min(61%, 720px) auto;
}
.home-page .contact-banner::after { display: none; }
.home-page .contact-banner .button-primary { position: relative; z-index: 2; }
@media (max-width: 800px) {
  .wordmark-image { width: 34px; height: 34px; flex-basis: 34px; }
  .home-page .contact-banner { background-position: 145% 50%; background-size: 95% auto; }
}


/* Final polish for the rightmost navigation CTA */
.site-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none !important;
  line-height: 1;
}
.site-nav .nav-cta::before,
.site-nav .nav-cta::after {
  content: none !important;
  display: none !important;
}


/* Flat background planets: no 3D shading or glow */
.cosmic-backdrop::before {
  background: #151b16;
  border: 1px solid rgba(244,245,239,.24);
  box-shadow: none;
}
.cosmic-backdrop::after {
  background: #29351f;
  border: 1px solid rgba(182,255,0,.35);
  box-shadow: none;
}
.cosmic-planet-one {
  background: #303b32;
  border: 1px solid rgba(244,245,239,.34);
  box-shadow: none;
}
.cosmic-planet-two {
  background: #9fdf00;
  border: 1px solid rgba(244,245,239,.32);
  box-shadow: none;
}
.cosmic-planet-three { background: var(--acid); box-shadow: none; }

/* Remove the particle artwork from the final homepage CTA */
.home-page .contact-banner { background-image: none; }

/* Staggered work cards: each item slides upward as it enters the viewport */
.work-slide { transition-delay: 0ms; }
.work-slide:nth-child(2) { transition-delay: 100ms; }
.work-slide:nth-child(3) { transition-delay: 200ms; }
.work-slide:nth-child(4) { transition-delay: 300ms; }
.work-slide:nth-child(5) { transition-delay: 400ms; }
.work-slide:hover { transform: translateY(-8px); }
.work-slide.is-visible:hover { transform: translateY(-8px); }


/* Keep the final brand CTA completely clean: no particle artwork or backdrop bleed */
.home-page .contact-banner {
  background: #080a09 !important;
  background-image: none !important;
  box-shadow: none !important;
  isolation: isolate;
}


/* Brand story modal */
body.modal-open { overflow: hidden; }
.story-modal[hidden] { display: none; }
.story-modal:not([hidden]) { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; }
.story-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.78); backdrop-filter: blur(10px); }
.story-dialog { position: relative; width: min(760px, 100%); max-height: min(760px, 90dvh); overflow: auto; padding: clamp(28px, 6vw, 72px); color: var(--ink); background: #0b0e0c; border: 1px solid rgba(244,245,239,.25); box-shadow: 14px 14px 0 rgba(182,255,0,.92); animation: story-in .35s cubic-bezier(.2,.8,.2,1) both; }
.story-dialog .eyebrow { color: var(--acid); }
.story-dialog .eyebrow::before { display: none; }
.story-dialog h2 { margin: 26px 0 22px; font-size: clamp(42px, 7vw, 82px); letter-spacing: -.1em; line-height: .95; }
.story-dialog h2 em { color: var(--acid); font-family: var(--serif); font-weight: 400; }
.story-lead { max-width: 590px; margin: 0; color: #a7afa7; font-size: clamp(15px, 1.6vw, 19px); line-height: 1.8; }
.story-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 25px; line-height: 1; }
.story-close:hover { color: var(--paper); background: var(--acid); border-color: var(--acid); }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 42px 0; }
.story-grid div { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.story-grid strong { color: var(--acid); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.story-grid span { color: #8e988f; font-size: 13px; line-height: 1.6; }
.story-dialog .button-primary { background: var(--acid); border-color: var(--acid); color: var(--paper); }
@keyframes story-in { from { opacity: 0; transform: translateY(22px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* Homepage portfolio filters */
.work-filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.home-filter { padding: 8px 14px; color: #9da79e; background: transparent; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 12px; font-weight: 700; transition: .22s ease; }
.home-filter:hover, .home-filter.is-active { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.home-filter:focus-visible, .story-close:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }
.work-grid [hidden] { display: none; }

/* Refined responsive rhythm */
@media (max-width: 800px) {
  .site-header { padding-inline: 20px; }
  .wordmark-copy { font-size: 15px; }
  .home-page .hero { padding-top: 58px; padding-bottom: 58px; }
  .home-page .hero-copy .display { font-size: clamp(50px, 15.5vw, 78px); }
  .home-page .hero-copy .display span { white-space: normal; }
  .home-page .lead { font-size: 15px; line-height: 1.8; }
  .hero-actions { gap: 8px; }
  .hero-actions > a { flex: 1 1 auto; min-width: 0; padding-inline: 12px; font-size: 12px; }
  .home-page .space-stage { min-height: 360px; margin: 12px 0 0; }
  .home-page .section { padding-top: 72px; padding-bottom: 72px; }
  .section-title { font-size: clamp(38px, 11vw, 58px); }
  .work-filter-bar { flex-wrap: nowrap; overflow-x: auto; margin-right: -24px; padding-right: 24px; padding-bottom: 4px; scrollbar-width: none; }
  .work-filter-bar::-webkit-scrollbar { display: none; }
  .home-filter { flex: 0 0 auto; white-space: nowrap; }
  .work-grid .work-card { min-height: 0; }
  .story-modal:not([hidden]) { align-items: start; padding: 16px; overflow-y: auto; }
  .story-dialog { max-height: none; margin: 8px 0 24px; padding: 30px 22px 26px; box-shadow: 8px 8px 0 rgba(182,255,0,.92); }
  .story-dialog h2 { margin-top: 22px; font-size: clamp(38px, 12vw, 58px); }
  .story-grid { grid-template-columns: 1fr; gap: 12px; margin: 30px 0; }
  .story-grid div { grid-template-columns: 116px 1fr; align-items: start; }
  .story-grid span { font-size: 12px; }
  .page-hero { padding-top: 74px; padding-bottom: 58px; }
  .page-hero .display { font-size: clamp(48px, 14vw, 76px); }
  .gallery-card { transform: translateY(16px); }
  .contact-row { grid-template-columns: 82px 1fr; gap: 12px; padding: 18px 0; }
  .contact-row a, .contact-row span { font-size: 20px; }
  .service-row { padding: 28px 0; }
}


/* Expanded brand story content */
.story-media { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; margin: 34px 0 26px; }
.story-media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; filter: grayscale(.15); border: 1px solid var(--line); }
.story-media img:first-child { aspect-ratio: 1.25 / 1; }
.story-philosophy { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 0 30px; }
.story-philosophy div { padding-top: 15px; border-top: 1px solid var(--line); }
.story-philosophy span { color: var(--acid); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.story-philosophy p { margin: 11px 0 0; color: #a7afa7; font-size: 14px; line-height: 1.7; }

/* Project case-study modal */
.project-modal[hidden] { display: none; }
.project-modal:not([hidden]) { position: fixed; inset: 0; z-index: 65; display: grid; place-items: center; padding: 24px; }
.project-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.82); backdrop-filter: blur(10px); }
.project-dialog { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); width: min(1120px, 100%); max-height: min(820px, 92dvh); overflow: auto; color: var(--ink); background: #0b0e0c; border: 1px solid rgba(244,245,239,.24); box-shadow: 16px 16px 0 rgba(182,255,0,.92); animation: story-in .35s cubic-bezier(.2,.8,.2,1) both; }
.project-image-wrap { min-height: 540px; display: grid; place-items: center; padding: 22px; background: #111511; border-right: 1px solid var(--line); }
.project-image-wrap img { display: block; width: 100%; height: 100%; max-height: 740px; object-fit: contain; }
.project-info { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(30px, 5vw, 62px); }
.project-info .eyebrow { color: var(--acid); }
.project-info .eyebrow::before { display: none; }
.project-info h2 { margin: 22px 0 19px; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.1em; line-height: .96; }
.project-info > p { margin: 0; color: #a7afa7; font-size: 15px; line-height: 1.85; }
.project-fact { width: 100%; margin: 30px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-fact span { display: block; margin-bottom: 8px; color: var(--acid); font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.project-fact strong { color: var(--ink); font-size: 14px; line-height: 1.6; }
.project-close { position: absolute; z-index: 2; top: 18px; right: 18px; width: 38px; height: 38px; color: var(--ink); background: rgba(5,6,5,.72); border: 1px solid var(--line); border-radius: 50%; cursor: pointer; font-size: 25px; line-height: 1; }
.project-close:hover { color: var(--paper); background: var(--acid); border-color: var(--acid); }
.project-close:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; }

@media (max-width: 800px) {
  .story-media { grid-template-columns: 1.2fr 1fr; gap: 6px; margin-top: 28px; }
  .story-media img:first-child { grid-row: span 2; aspect-ratio: auto; }
  .story-philosophy { grid-template-columns: 1fr; gap: 16px; }
  .project-modal:not([hidden]) { align-items: start; padding: 16px; overflow-y: auto; }
  .project-dialog { grid-template-columns: 1fr; max-height: none; margin: 8px 0 24px; box-shadow: 8px 8px 0 rgba(182,255,0,.92); }
  .project-image-wrap { min-height: 0; height: min(84vw, 360px); padding: 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-info { padding: 28px 22px 30px; }
  .project-info h2 { margin-top: 18px; font-size: clamp(38px, 12vw, 58px); }
  .project-info > p { font-size: 14px; }
  .project-fact { margin: 24px 0; }
}


/* Preview edit: highlight the About title's trajectory word */
.home-page main > section.section:nth-of-type(2) .section-title em {
  color: #bffd30;
}


/* Preview edits: extend the acid-green emphasis across key homepage headlines */
.home-page .hero .display > span > em {
  color: #bffd30;
}
.home-page main > section.section:nth-of-type(3) .section-title em {
  color: #bdfb30;
}
.home-page main > section.section:nth-of-type(4) .section-title em {
  color: #bffd30;
}


/* Refined headline breathing room */
.display { letter-spacing: -.075em; }
.display em { letter-spacing: -.04em; }
.section-title { letter-spacing: -.06em; }


/* Portfolio interaction: lift, glow, and image depth on hover */
.work-card, .gallery-card {
  overflow: hidden;
  transition: transform .38s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .38s ease;
}
.work-card .work-visual, .gallery-card .work-visual { overflow: hidden; }
.work-card .work-visual img, .gallery-card .work-visual img {
  transition: transform .65s cubic-bezier(.2,.8,.2,1), filter .35s ease;
}
.work-card.is-visible:hover, .gallery-card.is-visible:hover {
  transform: translateY(-12px) scale(1.018);
  border-color: rgba(191,253,48,.72);
  box-shadow: 0 22px 46px rgba(0,0,0,.36), 0 0 0 1px rgba(191,253,48,.18), 0 0 28px rgba(191,253,48,.12);
}
.work-card:hover .work-visual img, .gallery-card:hover .work-visual img {
  transform: scale(1.075);
  filter: saturate(1.12) contrast(1.04);
}
.work-card:hover .work-meta, .gallery-card:hover .work-meta { color: var(--acid); }
.work-card:hover .work-meta small, .gallery-card:hover .work-meta small { color: #c6d0c6; }

/* Brand story modal responsive refinement */
.story-dialog {
  scrollbar-color: rgba(191,253,48,.62) transparent;
  scrollbar-width: thin;
}
.story-dialog::-webkit-scrollbar { width: 7px; }
.story-dialog::-webkit-scrollbar-thumb { background: rgba(191,253,48,.62); border-radius: 999px; }
@media (max-width: 1100px) and (min-width: 801px) {
  .story-dialog { width: min(700px, calc(100vw - 64px)); padding: 48px; }
}
@media (max-width: 800px) {
  .story-modal:not([hidden]) { padding: 12px; }
  .story-dialog { width: 100%; max-height: calc(100dvh - 24px); margin: 0; padding: 42px 20px 24px; }
  .story-dialog h2 { letter-spacing: -.065em; line-height: 1; }
  .story-lead { font-size: 14px; line-height: 1.75; }
  .story-media { margin-bottom: 22px; }
  .story-philosophy p { font-size: 13px; }
  .story-dialog .button-primary { width: 100%; }
}
@media (max-width: 420px) {
  .story-media { grid-template-columns: 1fr 1fr; }
  .story-media img:first-child { grid-row: auto; aspect-ratio: 1 / 1; }
  .story-philosophy { gap: 12px; }
  .story-grid div { grid-template-columns: 1fr; gap: 5px; }
  .story-close { top: 11px; right: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .work-card, .gallery-card, .work-card .work-visual img, .gallery-card .work-visual img { transition: none; }
}


/* Page-load micro interaction and smoother headline rhythm.
   Do not transform body: transformed ancestors change the containing block
   for fixed modal panels and make them move with the document. */
body { opacity: 0; transition: opacity .55s ease; }
body.is-ready { opacity: 1; }
.display { letter-spacing: -.06em; }
.display em { letter-spacing: -.02em; }
.section-title { letter-spacing: -.045em; }
.contact-banner h2 { letter-spacing: -.065em; }

/* Contact brief form */
.contact-form { margin-top: 42px; padding: clamp(24px, 4vw, 42px); color: var(--ink); background: #0b0e0c; border: 1px solid var(--line); }
.form-heading { margin-bottom: 30px; }
.form-heading h2 { margin: 10px 0 0; font-size: clamp(34px, 4.5vw, 58px); letter-spacing: -.07em; line-height: .98; }
.form-heading h2 em { color: var(--acid); font-family: var(--serif); font-weight: 400; }
.form-field { margin-top: 20px; }
.form-field label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.form-field label span { color: var(--acid); }
.form-field input, .form-field select, .form-field textarea { display: block; width: 100%; padding: 13px 14px; color: var(--ink); background: rgba(244,245,239,.04); border: 1px solid var(--line); border-radius: 0; outline: 0; font: inherit; font-size: 14px; transition: border-color .22s ease, box-shadow .22s ease, background .22s ease; }
.form-field textarea { min-height: 126px; resize: vertical; line-height: 1.65; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #727d73; }
.form-field select { color: #b8c0b8; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--acid); background: rgba(191,253,48,.05); box-shadow: 0 0 0 3px rgba(191,253,48,.1); }
.form-field.is-valid input, .form-field.is-valid select, .form-field.is-valid textarea { border-color: rgba(191,253,48,.6); }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: #ff7777; box-shadow: 0 0 0 3px rgba(255,119,119,.08); }
.form-error { display: block; min-height: 18px; margin-top: 6px; color: #ff9a9a; font-size: 11px; line-height: 1.4; }
.form-submit { width: 100%; margin-top: 10px; color: var(--paper); background: var(--acid); border-color: var(--acid); cursor: pointer; }
.form-submit:hover { color: var(--paper); background: transparent; border-color: var(--acid); }
.form-submit:disabled { cursor: default; opacity: .45; }
.form-success { display: grid; gap: 10px; margin-top: 20px; padding: 18px; background: rgba(191,253,48,.1); border: 1px solid rgba(191,253,48,.42); }
.form-success strong { color: var(--acid); font-size: 18px; }
.form-success span { color: #b8c0b8; font-size: 13px; }
.form-success .button-secondary { justify-self: start; margin-top: 5px; color: var(--ink); border-color: var(--acid); background: var(--acid); }
.form-success .button-secondary:hover { color: var(--ink); background: transparent; }

@media (max-width: 800px) {
  .display { letter-spacing: -.045em; }
  .display em { letter-spacing: -.01em; }
  .section-title { letter-spacing: -.025em; }
  .contact-banner h2 { letter-spacing: -.045em; }
  .contact-form { margin-top: 32px; padding: 22px 18px 24px; }
  .form-field input, .form-field select, .form-field textarea { font-size: 16px; }
  .form-success .button-secondary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1; transition: none; }
}


.contact-form .form-success[hidden] { display: none; }


/* Language switcher */
.lang-switcher { display: inline-flex; align-items: center; gap: 7px; margin-left: 4px; color: var(--muted); font-size: 11px; letter-spacing: .08em; }
.lang-switcher button { padding: 3px 0; color: inherit; background: transparent; border: 0; cursor: pointer; font: inherit; letter-spacing: inherit; }
.lang-switcher button:hover, .lang-switcher button.is-active { color: var(--acid); }
.lang-switcher span { opacity: .45; }

/* Keep the display headlines compact, readable, and limited to two intentional lines */
.home-page .hero-copy .display { font-size: clamp(46px, 7.4vw, 112px); }
.home-page .hero-copy .display span { white-space: nowrap; }
.page-hero .display { font-size: clamp(44px, 7.6vw, 108px); }
.page-hero .display em { white-space: nowrap; }
.works-display em { color: #bffd30; }
.services-display em { color: #befb30; }
@media (max-width: 800px) {
  .home-page .hero-copy .display { font-size: clamp(38px, 10.5vw, 54px); }
  .home-page .hero-copy .display span { white-space: nowrap; }
  .page-hero .display { font-size: clamp(34px, 9vw, 58px); }
  .page-hero .display em { white-space: nowrap; }
}


/* Tighter section rhythm */
.section { padding: clamp(58px, 8vw, 118px) 0; }
.section-header { margin-bottom: 34px; }
.page-hero { padding: clamp(62px, 9vw, 126px) 0 64px; }
@media (max-width: 800px) {
  .section, .home-page .section { padding: 52px 0; }
  .section-header { margin-bottom: 28px; }
  .page-hero { padding: 58px 0 52px; }
}


/* Brand story detail layer */
.story-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 28px 0 30px; background: var(--line); border-block: 1px solid var(--line); }
.story-details > div { min-height: 145px; padding: 18px 16px; background: var(--panel); }
.story-details span { display: block; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.story-details strong { display: block; margin-top: 22px; color: var(--ink); font-size: 17px; letter-spacing: -.04em; }
.story-details p { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.65; }

/* Trust-building testimonials */
.testimonial-section { position: relative; }
.testimonial-section .section-title em { color: #bffd30; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.testimonial-card { position: relative; min-height: 260px; padding: 28px 24px 22px; background: var(--panel); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.testimonial-card:hover { transform: translateY(-6px); border-color: rgba(182,255,0,.65); box-shadow: 0 16px 34px rgba(0,0,0,.2); }
.testimonial-mark { display: block; color: var(--acid); font: 400 48px/.7 var(--serif); }
.testimonial-card blockquote { margin: 24px 0 30px; color: var(--ink); font-size: 18px; line-height: 1.6; letter-spacing: -.04em; }
.testimonial-card footer { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.testimonial-card footer span { color: var(--acid); }

@media (max-width: 800px) {
  .story-details { grid-template-columns: 1fr; margin-bottom: 24px; }
  .story-details > div { min-height: 0; padding: 16px 14px; }
  .story-details strong { margin-top: 12px; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 10px; }
  .testimonial-card { min-height: 0; padding: 22px 18px 18px; }
  .testimonial-card blockquote { margin: 18px 0 22px; font-size: 16px; }
}


/* Center modal panels on every viewport, including mobile */
.story-modal:not([hidden]), .project-modal:not([hidden]) { display: flex; align-items: center; justify-content: center; overflow-y: auto; }
.story-dialog, .project-dialog { margin: 0; max-height: calc(100dvh - 32px); }
@media (max-width: 800px) {
  .story-modal:not([hidden]), .project-modal:not([hidden]) { align-items: center; justify-content: center; padding: 16px; }
  .story-dialog, .project-dialog { margin: 0; max-height: calc(100dvh - 32px); }
}


/* Center modal content, not only the modal frame */
.story-dialog { text-align: center; }
.story-dialog .story-lead { margin-inline: auto; }
.story-dialog .story-media { justify-items: center; }
.story-dialog .story-philosophy, .story-dialog .story-grid, .story-dialog .story-details { text-align: center; }
.story-dialog .button-primary { display: table; margin-inline: auto; }
.project-dialog { text-align: center; }
.project-info { align-items: center; }
.project-info > p { max-width: 520px; }
.project-fact { text-align: center; }
.project-info .button-primary { margin-inline: auto; }


/* True fixed-center modal: the frame never moves with page scroll */
.story-modal:not([hidden]), .project-modal:not([hidden]) { display: block; position: fixed; inset: 0; overflow: hidden; padding: 0; }
.story-dialog, .project-dialog { position: absolute; z-index: 1; top: 50%; left: 50%; margin: 0; transform: translate(-50%, -50%); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; animation: modal-center-in .35s cubic-bezier(.2,.8,.2,1) both; }
@keyframes modal-center-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@media (max-width: 800px) {
  .story-modal:not([hidden]), .project-modal:not([hidden]) { align-items: initial; justify-content: initial; padding: 0; }
  .story-dialog, .project-dialog { top: 50%; left: 50%; margin: 0; max-height: calc(100dvh - 32px); }
}


/* Explicit viewport anchoring for modal panels */
.story-dialog { position: fixed; z-index: 61; top: 50%; right: auto; bottom: auto; left: 50%; transform: translate(-50%, -50%); }
.project-dialog { position: fixed; z-index: 66; top: 50%; right: auto; bottom: auto; left: 50%; transform: translate(-50%, -50%); }


/* Mobile-first interaction polish */
@media (max-width: 800px) {
  .site-header { padding-right: max(16px, env(safe-area-inset-right)); padding-left: max(16px, env(safe-area-inset-left)); }
  .nav-toggle { display: grid; width: 44px; height: 44px; place-items: center; padding: 0; font-size: 21px; line-height: 1; }
  .site-nav { top: calc(100% + 1px); right: max(16px, env(safe-area-inset-right)); left: max(16px, env(safe-area-inset-left)); max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav a { display: flex; min-height: 44px; align-items: center; }
  .lang-switcher button { min-width: 40px; min-height: 40px; }
  .hero-actions > a, .form-submit { min-height: 44px; }
  .home-filter, .filter-button { min-height: 40px; }
  .contact-form input, .contact-form select { min-height: 44px; }
  .contact-form textarea { min-height: 128px; }
  .story-dialog, .project-dialog { width: calc(100vw - 24px); max-width: calc(100vw - 24px); }
  .story-dialog { max-height: calc(100dvh - 24px); }
  .project-dialog { max-height: calc(100dvh - 24px); }
  .story-dialog .story-media img { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .story-dialog, .project-dialog { animation: none; }
}


/* Performance and fixed-modal scroll lock */
body.modal-open { overflow: hidden; overscroll-behavior: none; }
.story-modal:not([hidden]), .project-modal:not([hidden]) { overscroll-behavior: none; }
.story-backdrop, .project-backdrop { touch-action: none; }
.story-dialog, .project-dialog { touch-action: pan-y; }
@media (min-width: 801px) {
  .testimonial-section, .contact-banner { content-visibility: auto; contain-intrinsic-size: 0 520px; }
}

/* Micro-interactions: quiet motion that follows the Black Cosmos direction. */
.scroll-progress {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 2px;
  pointer-events: none;
  background: var(--acid);
  box-shadow: 0 0 14px rgba(182,255,0,.78);
  transform-origin: left;
  transition: width .12s linear;
}
.cursor-glow {
  position: fixed;
  z-index: 0;
  top: var(--cursor-y, 50vh);
  left: var(--cursor-x, 50vw);
  width: 220px;
  height: 220px;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182,255,0,.11), rgba(182,255,0,.035) 28%, transparent 70%);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .35s ease;
  mix-blend-mode: screen;
}
body.has-pointer .cursor-glow { opacity: 1; }
.tilt-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  --spot-x: 50%;
  --spot-y: 50%;
  transform-style: preserve-3d;
  background-image: radial-gradient(circle at var(--spot-x) var(--spot-y), rgba(182,255,0,.13), transparent 34%);
}
.tilt-card.is-visible:hover {
  transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(-10px) scale(1.014);
}
.tilt-card > * { transform: translateZ(12px); }
.magnetic { will-change: transform; }
.magnetic.button-primary:hover,
.magnetic.button-secondary:hover,
.magnetic.nav-cta:hover,
.magnetic.form-submit:hover {
  transform: translate(var(--mag-x, 0px), calc(var(--mag-y, 0px) - 2px));
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-glow { display: none; }
  .tilt-card { background-image: none; transform: none !important; }
  .tilt-card > * { transform: none; }
  .magnetic { transform: none !important; }
}


/* Keep the homepage closing CTA visually consistent with every inner-page CTA. */
.home-page .contact-banner {
  background: #080a09 !important;
  background-image: none !important;
  border: 1px solid var(--line);
  box-shadow: none !important;
  isolation: auto;
}
.home-page .contact-banner::after { display: block; }


/* Preview edit: highlight the contact page's two primary entry points. */
.contact-display > em,
.contact-statement > .display { color: #bffd30; }


.about-page .about-intro-copy .section-title > em,
.about-page .about-principles .section-title > em,
.about-page .about-process .section-title > em { color: #bffd30; }
