:root {
  --bg: #141513;
  --bg-raised: #1a1c1a;
  --line: #2a2b28;
  --line-menu: #2e302d;
  --line-pill: #4a4b46;
  --text: #ecebe6;
  --text-soft: #cfcec7;
  --text-muted: #a9a8a0;
  --text-faint: #7d7c75;
  --accent: #a3c4a8;
  --accent: oklch(0.78 0.06 150);
  --on-accent: #141513;

  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Zen Kaku Gothic New', 'Hanken Grotesk', system-ui, sans-serif;
  --ui: 'Hanken Grotesk', system-ui, sans-serif;

  --pad-x: 48px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, p { margin: 0; }
em { font-style: italic; }

a { color: inherit; text-decoration: none; }
a, button { transition: opacity .15s ease; }
a:hover, button:hover { opacity: .75; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--ui);
  font-size: 14px;
  border-radius: 999px;
}
.skip-link:focus-visible { top: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px var(--pad-x);
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.is-menu-open .site-header { position: fixed; }

.wordmark {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
}

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  color: var(--text);
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: .2em;
  cursor: pointer;
}
.menu-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 11px;
}
.menu-icon span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: var(--text);
  transition: transform .25s ease, top .25s ease;
}
.menu-icon span:first-child { top: 2px; }
.menu-icon span:last-child { top: 8px; }
.is-menu-open .menu-icon span:first-child { top: 5px; transform: rotate(45deg); }
.is-menu-open .menu-icon span:last-child { top: 5px; transform: rotate(-45deg); }
.menu-label-close { display: none; }
.is-menu-open .menu-label-open { display: none; }
.is-menu-open .menu-label-close { display: inline; }

.is-menu-open,
.is-menu-open body { overflow: hidden; }

/* ---------- Ripple ---------- */
.ripple {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.ripple-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  border: 1px solid rgba(170, 200, 180, .22);
  background: radial-gradient(circle, rgba(120, 160, 135, .10) 0%, transparent 60%);
  transform: translate(-50%, -50%) scale(.2);
  opacity: 0;
  animation: rk-ripple 9s linear infinite;
}
.ripple-ring:nth-child(2) { animation-delay: -2.25s; }
.ripple-ring:nth-child(3) { animation-delay: -4.5s; }
.ripple-ring:nth-child(4) { animation-delay: -6.75s; }

@keyframes rk-ripple {
  0% { transform: translate(-50%, -50%) scale(.2); opacity: 0; }
  15% { opacity: .9; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* ---------- Menu overlay ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg-raised);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.is-menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s ease, visibility 0s linear 0s;
}
.menu-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 80px;
  align-items: end;
  padding: 124px var(--pad-x) 48px;
  overflow-y: auto;
}
.menu-nav { display: flex; flex-direction: column; }
.menu-link {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-menu);
}
.menu-num {
  flex: none;
  width: 44px;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: .24em;
  color: var(--text-faint);
}
.menu-text {
  font-family: var(--serif);
  font-size: 64px;
  line-height: 1.05;
}
.menu-link--accent .menu-text { color: var(--accent); }
.menu-soon { display: none; }
.menu-pill {
  margin-left: auto;
  align-self: center;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: .2em;
  white-space: nowrap;
}
.menu-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 16px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-muted);
}
.menu-email { font-size: 17px; color: var(--text); }
.menu-address--short { display: none; }

/* ---------- Shared ---------- */
.label {
  position: relative;
  font-family: var(--ui);
  font-size: 11px;
  letter-spacing: .3em;
  color: var(--accent);
}
h2 {
  position: relative;
  font-family: var(--serif);
  font-weight: 400;
}
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-family: var(--ui);
  font-size: 11px;
}
.pill--accent {
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--accent);
  color: var(--accent);
  letter-spacing: .24em;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.pill--muted {
  align-self: flex-start;
  padding: 7px 14px;
  border: 1px solid var(--line-pill);
  color: var(--text-muted);
  letter-spacing: .22em;
}

.btn {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: 999px;
}
.btn--outline {
  gap: 18px;
  margin-top: 14px;
  padding: 14px 18px 14px 28px;
  border: 1px solid var(--line-pill);
  color: var(--text);
  letter-spacing: .06em;
}
.btn--light {
  gap: 16px;
  margin-top: 10px;
  padding: 14px 18px 14px 28px;
  background: var(--text);
  color: var(--bg);
  letter-spacing: .04em;
}
.btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0;
}
.btn-circle--accent { background: var(--accent); color: var(--on-accent); }
.btn-circle--soft { background: rgba(0, 0, 0, .08); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 780px;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 55%, #1c201d 0%, var(--bg) 70%);
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 0 var(--pad-x);
  text-align: center;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: min(104px, 8vw);
  line-height: 1;
  letter-spacing: -.015em;
}
.hero h1 em, .zeroact h2 em { color: var(--accent); }
.hero-sub {
  font-weight: 300;
  font-size: 16px;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.hero .btn--outline { margin-top: 14px; }

.scroll-cue {
  position: absolute;
  left: var(--pad-x);
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.scroll-text {
  writing-mode: vertical-rl;
  font-family: var(--ui);
  font-size: 10px;
  letter-spacing: .3em;
  color: var(--text-muted);
}
.scroll-line {
  position: relative;
  display: block;
  width: 1px;
  height: 64px;
  overflow: hidden;
  background: rgba(236, 235, 230, .15);
}
.scroll-line span {
  position: absolute;
  inset: 0;
  background: var(--text);
  animation: rk-line 2.4s ease-in-out infinite;
}
@keyframes rk-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---------- About ---------- */
.about {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 180px var(--pad-x) 190px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.rings {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.rings span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(170, 200, 180, .10);
  transform: translate(-50%, -50%);
}
.rings span:nth-child(1) { width: 360px; height: 360px; }
.rings span:nth-child(2) { width: 560px; height: 560px; }
.rings span:nth-child(3) { width: 760px; height: 760px; }
.rings span:nth-child(4) { width: 960px; height: 960px; }
.about h2 { font-size: 52px; }
.about-body {
  position: relative;
  max-width: 500px;
  font-weight: 300;
  font-size: 18px;
  line-height: 2.2;
  letter-spacing: .04em;
  color: var(--text-soft);
  text-wrap: pretty;
}

/* ---------- ZeroAct ---------- */
.zeroact {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 120px var(--pad-x);
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  text-align: center;
}
.zeroact .pill, .zeroact h2, .zeroact-body { z-index: 2; }
.zeroact h2 {
  font-size: min(176px, 14vw);
  line-height: .9;
  letter-spacing: -.025em;
}
.zeroact-body {
  position: relative;
  margin-top: 8px;
  font-weight: 300;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--text-soft);
}

/* ---------- Digital ---------- */
.digital {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: baseline;
  padding: 120px var(--pad-x);
  border-top: 1px solid var(--line);
}
.digital-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.digital h2 { font-size: 40px; }
.digital-body {
  max-width: 560px;
  font-weight: 300;
  font-size: 17px;
  line-height: 2;
  letter-spacing: .03em;
  color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 150px var(--pad-x);
  border-top: 1px solid var(--line);
  text-align: center;
}
.contact h2 { font-size: 76px; }
.contact-body {
  max-width: 440px;
  font-weight: 300;
  font-size: 16px;
  line-height: 2;
  color: var(--text-muted);
}
.btn-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  padding: 16px 30px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--ui);
  font-size: 16px;
  font-weight: 500;
  border-radius: 999px;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  padding: 40px var(--pad-x) 44px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--text-faint);
}
.footer-name {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0;
  color: var(--text);
}
.footer-right { text-align: right; }
.m-only { display: none; }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  :root { --pad-x: 22px; }

  .site-header { padding: 20px var(--pad-x); }
  .wordmark { font-size: 22px; }
  .menu-toggle { gap: 10px; }
  .menu-icon, .menu-icon span { width: 20px; }

  .hero { min-height: 760px; min-height: 100svh; }
  .hero-content { gap: 24px; }
  .hero h1 { font-size: 52px; line-height: 1.02; letter-spacing: 0; }
  .hero-sub { max-width: 280px; font-size: 15px; line-height: 1.8; letter-spacing: .04em; }
  .hero .btn--outline {
    margin-top: 8px;
    gap: 16px;
    min-height: 44px;
    padding: 10px 10px 10px 24px;
    letter-spacing: .04em;
  }
  .btn-circle { width: 32px; height: 32px; }

  .scroll-cue {
    left: 50%;
    bottom: 28px;
    gap: 10px;
    transform: translateX(-50%);
  }
  .scroll-text { writing-mode: horizontal-tb; }

  .about { gap: 22px; padding: 110px var(--pad-x) 120px; border-top: 0; }
  .rings span:nth-child(1) { width: 240px; height: 240px; }
  .rings span:nth-child(2) { width: 380px; height: 380px; }
  .rings span:nth-child(3) { width: 520px; height: 520px; }
  .rings span:nth-child(4) { width: 660px; height: 660px; }
  .label { font-size: 10px; }
  .about h2 { font-size: 40px; }
  .about-body { font-size: 16px; line-height: 2.1; letter-spacing: .03em; }

  .zeroact { min-height: 620px; gap: 22px; padding: 90px var(--pad-x); }
  .pill { font-size: 10px; }
  .pill--accent { gap: 8px; padding: 7px 14px; letter-spacing: .22em; }
  .pill-dot { width: 5px; height: 5px; }
  .zeroact h2 { font-size: 84px; letter-spacing: -.02em; }
  .zeroact-body { max-width: 280px; margin-top: 0; font-size: 15px; line-height: 1.8; letter-spacing: 0; }
  .btn--light {
    gap: 14px;
    margin-top: 6px;
    min-height: 48px;
    padding: 8px 8px 8px 22px;
    letter-spacing: 0;
  }

  .digital { display: flex; flex-direction: column; gap: 14px; padding: 72px var(--pad-x); }
  .digital-spacer { display: none; }
  .digital-content { gap: 14px; }
  .digital h2 { font-size: 32px; }
  .digital-body { font-size: 15px; line-height: 1.9; letter-spacing: 0; }

  .contact { gap: 20px; padding: 90px var(--pad-x); }
  .contact h2 { font-size: 48px; }
  .contact-body { font-size: 15px; line-height: 1.9; }
  .btn-email { align-self: stretch; min-height: 52px; margin-top: 8px; padding: 0 16px; }

  .site-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 32px var(--pad-x) 40px;
    line-height: 1.9;
    letter-spacing: .03em;
  }
  .footer-left, .footer-right { display: flex; flex-direction: column; gap: 14px; }
  .footer-name { margin-bottom: 0; }
  .footer-right { text-align: left; }
  .footer-email { color: var(--text-soft); }
  .d-only { display: none; }
  .m-only { display: inline; }

  .menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: 124px var(--pad-x) 36px;
  }
  .menu-link { justify-content: space-between; gap: 16px; padding: 20px 0; }
  .menu-num { order: 2; width: auto; font-size: 10px; }
  .menu-text { font-size: 40px; line-height: 1.1; }
  .menu-link--accent .menu-text { color: var(--text); }
  .menu-link--accent .menu-text em { font-style: normal; }
  .menu-num--soon-mobile, .menu-pill { display: none; }
  .menu-soon {
    display: inline;
    order: 2;
    font-family: var(--ui);
    font-size: 10px;
    letter-spacing: .24em;
    color: var(--accent);
  }
  .menu-aside { gap: 6px; padding-bottom: 0; font-size: 12px; color: var(--text-faint); letter-spacing: .03em; }
  .menu-email { font-size: 15px; }
  .menu-address--full { display: none; }
  .menu-address--short { display: block; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .ripple-ring { animation: none; opacity: .5; }
  .ripple-ring:nth-child(1) { transform: translate(-50%, -50%) scale(.35); }
  .ripple-ring:nth-child(2) { transform: translate(-50%, -50%) scale(.6); }
  .ripple-ring:nth-child(3) { transform: translate(-50%, -50%) scale(.85); }
  .ripple-ring:nth-child(4) { transform: translate(-50%, -50%) scale(1.1); }
  .scroll-line span { animation: none; transform: scaleY(.5); transform-origin: top; }
}
