:root {
  --ink: #05070a;
  --ink-2: #080d11;
  --panel: #0b1116;
  --panel-2: #0e161c;
  --line: rgba(202, 231, 225, 0.13);
  --line-strong: rgba(202, 231, 225, 0.26);
  --paper: #f2eee5;
  --paper-soft: #c9d2d1;
  --muted: #84928f;
  --mint: #7af5d0;
  --mint-dim: #43b89d;
  --gold: #e7c27b;
  --gold-dim: #8e7145;
  --danger: #e98973;
  --max: 1440px;
  --pad: clamp(22px, 4vw, 72px);
  --ease: cubic-bezier(.22, .8, .26, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Roboto Mono", "Menlo", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
button { font: inherit; color: inherit; }
::selection { color: var(--ink); background: var(--mint); }

.skip-link {
  position: fixed; left: 18px; top: -80px; z-index: 200;
  padding: 10px 14px; color: var(--ink); background: var(--mint);
  font: 12px/1 var(--mono); text-transform: uppercase;
}
.skip-link:focus { top: 18px; }

.grain {
  position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .22;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 90;
  height: 82px; padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .45s var(--ease), border-color .45s var(--ease), height .45s var(--ease);
}
.site-header.is-scrolled {
  height: 70px;
  background: rgba(5, 7, 10, .78);
  border-bottom-color: var(--line);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--mint);
  font-size: 17px; font-weight: 700; line-height: 1;
  background: rgba(122, 245, 208, .045);
}
.brand-type { display: flex; flex-direction: column; gap: 3px; }
.brand-type strong { font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.brand-type small { color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .24em; }
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 44px); }
.site-nav a {
  position: relative; color: var(--paper-soft);
  font-size: 13px; letter-spacing: .06em;
  transition: color .25s var(--ease);
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -8px;
  height: 1px; background: var(--mint); transition: right .3s var(--ease);
}
.site-nav a:hover { color: var(--paper); }
.site-nav a:hover::after { right: 0; }
.nav-cta {
  padding: 11px 16px; border: 1px solid var(--line-strong);
  color: var(--mint) !important; font-family: var(--mono); font-size: 11px !important;
  letter-spacing: .12em !important; transition: background .25s var(--ease), border-color .25s var(--ease);
}
.nav-cta:hover { background: rgba(122, 245, 208, .08); border-color: var(--mint-dim); }
.nav-cta span { display: inline-block; margin-left: 6px; transition: transform .25s var(--ease); }
.nav-cta:hover span { transform: translate(2px, -2px); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 1px; margin: 5px 0; background: var(--paper); transition: transform .3s var(--ease); }
.nav-toggle em { display: block; margin-top: 6px; color: var(--muted); font: normal 9px/1 var(--mono); letter-spacing: .18em; }

.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--pad) 40px;
  background:
    radial-gradient(80% 70% at 78% 18%, rgba(52, 128, 115, .18), transparent 55%),
    radial-gradient(42% 42% at 18% 78%, rgba(231, 194, 123, .075), transparent 68%),
    linear-gradient(180deg, #05070a 0%, #05080b 62%, #060a0d 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -3;
  background-image:
    linear-gradient(rgba(139, 181, 173, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 181, 173, .055) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.65), transparent 78%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 32%;
  z-index: -2; pointer-events: none;
  background: linear-gradient(0deg, var(--ink) 4%, transparent 100%);
}
#starfield { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: .9; }
.hero-aura {
  position: absolute; z-index: -2; width: 58vw; height: 58vw; max-width: 840px; max-height: 840px;
  right: -12vw; top: -13vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(63, 173, 151, .16) 0%, rgba(63, 173, 151, .04) 43%, transparent 70%);
  filter: blur(10px);
}
.hero-rule { position: absolute; z-index: -1; pointer-events: none; background: var(--line); }
.hero-rule-a { left: var(--pad); right: var(--pad); top: 82px; height: 1px; opacity: .5; }
.hero-rule-b { top: 82px; bottom: 0; left: 50.5%; width: 1px; opacity: .35; }
.hero-inner {
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  align-items: center; gap: clamp(36px, 6vw, 110px);
}
.hero-copy { position: relative; z-index: 2; max-width: 790px; }
.eyebrow {
  display: flex; align-items: center; gap: 11px;
  color: var(--muted); font: 10px/1.4 var(--mono); letter-spacing: .18em; text-transform: uppercase;
}
.hero-eyebrow { opacity: 0; transform: translateY(14px); animation: rise .85s .15s var(--ease) forwards; }
.status-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 4px rgba(122, 245, 208, .1), 0 0 18px rgba(122, 245, 208, .75);
  animation: pulse 2.8s ease-in-out infinite;
}
.eyebrow-line { width: 36px; height: 1px; background: var(--line-strong); }

h1 {
  margin: 28px 0 30px;
  font-size: clamp(82px, 11.4vw, 184px);
  line-height: .84; letter-spacing: -.075em; font-weight: 650;
}
.title-line { display: block; opacity: 0; transform: translateY(28px); animation: rise 1.05s .25s var(--ease) forwards; }
.title-line:nth-child(2) { animation-delay: .38s; }
.title-outline {
  color: transparent; -webkit-text-stroke: 1.2px rgba(242, 238, 229, .56);
  position: relative; left: clamp(20px, 5vw, 84px);
}
.title-outline::after {
  content: ""; position: absolute; left: .06em; top: .49em; width: .33em; height: .045em;
  background: var(--mint); box-shadow: 0 0 26px rgba(122, 245, 208, .55);
}
.hero-lead {
  margin: 0; color: var(--paper); font-size: clamp(22px, 2.35vw, 36px);
  line-height: 1.42; font-weight: 380; letter-spacing: -.015em;
  opacity: 0; transform: translateY(18px); animation: rise .9s .55s var(--ease) forwards;
}
.hero-desc {
  max-width: 500px; margin: 18px 0 0; color: var(--muted);
  font-size: 14px; line-height: 1.9; letter-spacing: .02em;
  opacity: 0; transform: translateY(18px); animation: rise .9s .67s var(--ease) forwards;
}
.hero-actions {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  margin-top: 34px; opacity: 0; transform: translateY(18px); animation: rise .9s .8s var(--ease) forwards;
}
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between;
  min-width: 196px; height: 54px; padding: 0 8px 0 20px;
  border: 1px solid var(--line-strong); font-size: 13px; letter-spacing: .08em;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { color: var(--ink); background: var(--mint); border-color: var(--mint); }
.btn-primary:hover { background: var(--paper); border-color: var(--paper); }
.btn-icon {
  width: 38px; height: 38px; display: grid; place-items: center;
  border-left: 1px solid rgba(5, 7, 10, .22); font-size: 17px;
}
.text-link { color: var(--paper-soft); font-size: 13px; letter-spacing: .06em; }
.text-link span { display: inline-block; margin-left: 5px; color: var(--mint); transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(2px, -2px); }
.hero-stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0; margin: 56px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line);
  opacity: 0; transform: translateY(18px); animation: rise .9s .95s var(--ease) forwards;
}
.hero-stats div { padding-left: 18px; border-left: 1px solid var(--line); }
.hero-stats div:first-child { padding-left: 0; border-left: 0; }
.hero-stats dt { color: var(--paper); font: 24px/1 var(--mono); letter-spacing: -.04em; }
.hero-stats dd { margin: 8px 0 0; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.hero-stage {
  position: relative; min-height: 600px; perspective: 1400px;
  opacity: 0; animation: stageIn 1.4s .55s var(--ease) forwards;
}
.stage-orbit {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  border: 1px solid rgba(122, 245, 208, .17); border-radius: 50%;
}
.orbit-a { width: 430px; height: 430px; animation: spin 34s linear infinite; }
.orbit-b { width: 560px; height: 560px; border-style: dashed; border-color: rgba(231, 194, 123, .15); animation: spin 62s linear infinite reverse; }
.stage-core {
  position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; translate: -50% -50%;
  border-radius: 50%; background: var(--mint); box-shadow: 0 0 30px 8px rgba(122, 245, 208, .24);
}
.float-card {
  position: absolute; margin: 0; overflow: hidden; background: var(--panel);
  border: 1px solid rgba(204, 235, 226, .18);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .52), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  transform-style: preserve-3d;
}
.float-card img { opacity: .87; filter: saturate(.82) contrast(1.06); }
.float-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 7, 10, .9));
}
.float-card figcaption {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 15px;
  display: flex; align-items: center; gap: 10px;
  color: var(--paper-soft); font: 9px/1 var(--mono); letter-spacing: .2em;
}
.float-card figcaption span { color: var(--mint); }
.float-a { width: min(30vw, 440px); aspect-ratio: 16/10; left: 1%; top: 16%; transform: rotateY(-13deg) rotateZ(-3deg); animation: floatA 9s ease-in-out infinite; }
.float-b { width: min(22vw, 330px); aspect-ratio: 16/10; right: 0; bottom: 13%; transform: rotateY(12deg) rotateZ(3deg); animation: floatB 11s ease-in-out infinite; }
.float-c { width: min(14vw, 205px); aspect-ratio: 9/16; right: 7%; top: 2%; transform: rotateY(8deg) rotateZ(2deg); animation: floatC 8s ease-in-out infinite; }
.stage-coord, .stage-index {
  position: absolute; color: rgba(201, 210, 209, .42); font: 8px/1 var(--mono); letter-spacing: .23em;
}
.stage-coord { left: 8%; bottom: 5%; }
.stage-index { right: 3%; bottom: 34%; writing-mode: vertical-rl; }

.hero-footer {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 26px;
  display: flex; align-items: center; gap: 18px;
  color: rgba(132, 146, 143, .75); font: 8px/1 var(--mono); letter-spacing: .2em;
}
.scroll-line { position: relative; width: 64px; height: 1px; overflow: hidden; background: var(--line); }
.scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--mint); transform: translateX(-100%); animation: scan 2.8s var(--ease) infinite; }

.section { position: relative; padding: clamp(92px, 12vw, 190px) var(--pad); }
.works, .about { background: var(--ink); }
.lab { background: linear-gradient(180deg, var(--ink) 0%, #070c0f 45%, var(--ink) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: var(--max); margin: 0 auto 64px; }
.section-index { color: var(--mint); font: 9px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; }
.section-head h2, .about-intro h2 {
  margin: 17px 0 0; max-width: 960px;
  font-size: clamp(48px, 7vw, 108px); line-height: .96; letter-spacing: -.055em; font-weight: 560;
}
.section-head > p { max-width: 520px; margin: 22px 0 0 auto; color: var(--muted); font-size: 14px; line-height: 1.9; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head-row > p { margin: 0 0 4px; text-align: right; }

.project-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px;
}
.project-card { position: relative; grid-column: span 5; min-height: 590px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.project-card.project-wide { grid-column: span 7; }
.project-card.project-tall { min-height: 690px; }
.project-card > a { position: absolute; inset: 0; display: flex; flex-direction: column; }
.project-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 5;
  background: radial-gradient(420px circle at var(--mx, 70%) var(--my, 20%), rgba(122, 245, 208, .1), transparent 55%);
  opacity: 0; transition: opacity .35s var(--ease);
}
.project-card:hover::after { opacity: 1; }
.card-media { position: absolute; inset: 0; overflow: hidden; }
.card-media img { transform: scale(1.04); transition: transform 1.1s var(--ease), filter .6s var(--ease); filter: saturate(.6) brightness(.48); }
.card-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,10,.38) 0%, rgba(5,7,10,.6) 38%, rgba(5,7,10,.98) 100%),
              linear-gradient(90deg, rgba(5,7,10,.66), transparent 62%);
}
.card-media-cyan img { filter: saturate(.72) brightness(.5); }
.card-media-gold img { filter: saturate(.56) sepia(.1) brightness(.5); }
.project-card:hover .card-media img { transform: scale(1.085); filter: saturate(.82) brightness(.68); }
.card-glow { position: absolute; z-index: 1; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, var(--mint), transparent 60%); opacity: .5; }
.card-body {
  position: relative; z-index: 3; margin-top: auto; padding: clamp(24px, 3vw, 42px);
  display: flex; flex-direction: column; gap: 24px;
  transform: translateZ(20px);
}
.card-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font: 8px/1.2 var(--mono); letter-spacing: .16em; }
.card-meta > span:first-child { color: var(--mint); }
.card-state { margin-left: auto; padding: 5px 8px; border: 1px solid var(--line-strong); color: var(--paper-soft); letter-spacing: .08em; }
.card-state.live::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 6px; border-radius: 50%; background: var(--mint); vertical-align: 1px; }
.card-main h3 { margin: 0; font-size: clamp(38px, 4.6vw, 72px); line-height: .95; letter-spacing: -.05em; font-weight: 560; }
.card-main p { max-width: 410px; margin: 15px 0 0; color: var(--paper-soft); font-size: 13px; line-height: 1.8; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--line); }
.card-url { color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .08em; }
.card-arrow {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); color: var(--mint); font-size: 17px;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.project-card:hover .card-arrow { color: var(--ink); background: var(--mint); transform: rotate(8deg); }

.gallery-wrap { max-width: var(--max); margin: 0 auto; }
.gallery-track {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 20px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-item {
  position: relative; flex: 0 0 min(42vw, 610px); aspect-ratio: 16/10; margin: 0;
  overflow: hidden; background: var(--panel); border: 1px solid var(--line); scroll-snap-align: start;
}
.gallery-item.gallery-portrait { flex-basis: min(25vw, 360px); aspect-ratio: 9/16; }
.gallery-item img { filter: saturate(.8) brightness(.76); transition: transform 1.1s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(5,7,10,.92)); }
.gallery-item figcaption {
  position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px;
  display: grid; grid-template-columns: auto 1fr; gap: 7px 14px; align-items: baseline;
}
.gallery-item figcaption span { color: var(--mint); font: 9px/1 var(--mono); }
.gallery-item figcaption strong { font-size: 17px; font-weight: 500; letter-spacing: .02em; }
.gallery-item figcaption em { grid-column: 2; color: var(--muted); font: normal 9px/1.4 var(--mono); letter-spacing: .1em; }
.gallery-progress { width: 100%; height: 1px; margin-top: 26px; background: var(--line); }
.gallery-progress span { display: block; width: 20%; height: 1px; background: var(--mint); transition: width .2s linear; }

.about { overflow: hidden; }
.about-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(64px, 9vw, 150px); }
.about-intro { position: relative; }
.about-intro h2 { margin-top: 20px; max-width: 650px; }
.about-intro h2 span { color: var(--mint); }
.about-monogram {
  position: absolute; left: -5vw; bottom: -16vw; z-index: -1;
  color: transparent; -webkit-text-stroke: 1px rgba(122, 245, 208, .12);
  font-size: clamp(180px, 28vw, 440px); font-weight: 800; line-height: .8; letter-spacing: -.12em;
  user-select: none; pointer-events: none;
}
.about-content { padding-top: 34px; }
.about-content > p { max-width: 620px; margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 2; }
.about-content .about-lead { color: var(--paper); font-size: clamp(20px, 2.2vw, 29px); line-height: 1.65; letter-spacing: -.015em; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 44px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-facts div { padding: 22px 14px 23px 0; }
.about-facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.about-facts span { display: block; color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .18em; }
.about-facts strong { display: block; margin-top: 11px; color: var(--paper-soft); font-size: 12px; font-weight: 450; line-height: 1.5; }
.about-facts .fact-live { color: var(--mint); }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 34px 0 0; padding: 0; }
.skill-list li { padding: 8px 11px; border: 1px solid var(--line); color: var(--muted); font: 9px/1 var(--mono); letter-spacing: .12em; }
.blog-feature {
  display: block; margin-top: 52px; padding: 28px 28px 24px;
  border: 1px solid var(--line-strong); background:
    radial-gradient(90% 120% at 100% 0%, rgba(231, 194, 123, .11), transparent 60%),
    var(--panel);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.blog-feature:hover { border-color: rgba(231, 194, 123, .5); transform: translateY(-3px); }
.blog-label { display: block; color: var(--gold); font: 8px/1 var(--mono); letter-spacing: .2em; }
.blog-title { display: block; margin-top: 17px; font-size: clamp(28px, 3.1vw, 47px); line-height: 1.2; letter-spacing: -.04em; font-weight: 540; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--paper-soft); font-size: 11px; }
.blog-meta em { color: var(--muted); font: normal 9px/1 var(--mono); letter-spacing: .06em; }
.blog-meta b { margin-left: auto; color: var(--gold); font-size: 19px; font-weight: 400; }

.closing { position: relative; overflow: hidden; padding: clamp(96px, 13vw, 190px) var(--pad) clamp(84px, 10vw, 130px); border-top: 1px solid var(--line); }
.closing-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 120% at 70% 100%, rgba(49, 135, 118, .18), transparent 70%),
    linear-gradient(180deg, transparent, #070b0e 75%);
}
.closing-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 12.5% 100%; opacity: .33;
  mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent);
}
.closing-inner { position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; }
.closing-line { margin: 34px 0 0; font-size: clamp(56px, 10.5vw, 166px); line-height: .9; letter-spacing: -.07em; font-weight: 580; }
.closing-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 52px; }
.closing-links a { min-width: 168px; padding: 15px 18px; border: 1px solid var(--line-strong); color: var(--paper-soft); font-size: 12px; letter-spacing: .08em; }
.closing-links a span { float: right; color: var(--mint); }
.closing-links a:hover { background: rgba(122, 245, 208, .06); border-color: var(--mint-dim); }

.site-footer {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 40px;
  padding: 30px var(--pad) 38px; border-top: 1px solid var(--line);
  background: var(--ink);
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-brand strong { display: block; font-size: 12px; font-weight: 550; letter-spacing: .06em; }
.footer-brand small { display: block; margin-top: 4px; color: var(--muted); font: 8px/1 var(--mono); letter-spacing: .2em; }
.footer-meta { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; color: var(--muted); font: 8px/1.5 var(--mono); letter-spacing: .09em; }
.footer-meta a { color: var(--paper-soft); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }
@keyframes stageIn { from { opacity: 0; transform: translateY(36px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes scan { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floatA { 0%, 100% { transform: rotateY(-13deg) rotateZ(-3deg) translateY(0); } 50% { transform: rotateY(-13deg) rotateZ(-3deg) translateY(-13px); } }
@keyframes floatB { 0%, 100% { transform: rotateY(12deg) rotateZ(3deg) translateY(0); } 50% { transform: rotateY(12deg) rotateZ(3deg) translateY(16px); } }
@keyframes floatC { 0%, 100% { transform: rotateY(8deg) rotateZ(2deg) translateY(0); } 50% { transform: rotateY(8deg) rotateZ(2deg) translateY(-10px); } }

@media (max-width: 1050px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-stage { min-height: 460px; margin-top: 10px; }
  .float-a { width: 44vw; }
  .float-b { width: 30vw; }
  .float-c { width: 19vw; }
  .hero-rule-b { display: none; }
  .project-card, .project-card.project-wide { grid-column: span 6; }
  .project-card.project-tall { min-height: 590px; }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-monogram { bottom: -9vw; }
}

@media (max-width: 760px) {
  :root { --pad: 20px; }
  .site-header { height: 68px; }
  .site-header.is-scrolled { height: 62px; }
  .brand-type small { display: none; }
  .nav-toggle { display: block; z-index: 102; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); }
  .nav-toggle[aria-expanded="true"] em { opacity: 0; }
  .site-nav {
    position: fixed; inset: 0; z-index: 101;
    flex-direction: column; justify-content: center; gap: 30px;
    background: rgba(5, 7, 10, .97); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s var(--ease);
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a { font-size: 23px; letter-spacing: .1em; }
  .nav-cta { font-size: 13px !important; }
  .hero { min-height: 100svh; padding-top: 100px; justify-content: flex-start; }
  .hero-inner { display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { flex: 0 0 auto; }
  h1 { margin-top: 24px; font-size: clamp(76px, 23vw, 118px); }
  .title-outline { left: 11vw; }
  .hero-lead { font-size: 22px; }
  .hero-desc { max-width: 90%; font-size: 12px; line-height: 1.8; }
  .hero-actions { gap: 18px; }
  .btn { min-width: 180px; height: 50px; }
  .hero-stats { margin-top: 34px; }
  .hero-stats div { padding-left: 10px; }
  .hero-stats dt { font-size: 19px; }
  .hero-stats dd { font-size: 8px; letter-spacing: .06em; }
  .hero-stage { min-height: 360px; margin-top: 20px; width: 100%; }
  .orbit-a { width: 280px; height: 280px; }
  .orbit-b { width: 390px; height: 390px; }
  .float-a { width: 57vw; left: -2%; top: 11%; }
  .float-b { width: 39vw; right: -2%; bottom: 8%; }
  .float-c { width: 23vw; right: 10%; top: 0; }
  .stage-coord, .stage-index { display: none; }
  .hero-footer { display: none; }
  .section { padding-top: 90px; padding-bottom: 90px; }
  .section-head { margin-bottom: 38px; }
  .section-head h2 { font-size: clamp(46px, 13vw, 68px); }
  .about-intro h2 { font-size: clamp(38px, 10.7vw, 54px); letter-spacing: -.06em; }
  .section-head > p { margin: 18px 0 0; font-size: 12px; }
  .section-head-row { display: block; }
  .section-head-row > p { text-align: left; margin-top: 18px; }
  .project-grid { display: flex; flex-direction: column; gap: 12px; }
  .project-card, .project-card.project-wide, .project-card.project-tall { min-height: 540px; }
  .card-body { padding: 24px; }
  .card-main h3 { font-size: 46px; }
  .card-main p { font-size: 12px; }
  .gallery-track { margin-right: calc(var(--pad) * -1); }
  .gallery-item { flex-basis: 82vw; }
  .gallery-item.gallery-portrait { flex-basis: 54vw; }
  .about-facts { grid-template-columns: 1fr; }
  .about-facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .about-content { padding-top: 0; }
  .about-content .about-lead { font-size: 19px; }
  .blog-feature { padding: 22px; }
  .blog-title { font-size: 31px; }
  .closing { padding-top: 94px; }
  .closing-line { font-size: clamp(38px, 10.1vw, 66px); }
  .closing-links a { flex: 1; min-width: 120px; }
  .site-footer { display: block; padding-bottom: 28px; }
  .footer-meta { margin-top: 22px; gap: 12px 20px; font-size: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-eyebrow, .hero-lead, .hero-desc, .hero-actions, .hero-stats, h1 .title-line, .hero-stage { opacity: 1; transform: none; }
}
