:root {
  --paper: #ead09a;
  --paper-light: #f8eccd;
  --green: #56623b;
  --green-mid: #3f4c2f;
  --green-deep: #1f2a18;
  --ink: #202816;
  --line: rgba(31, 42, 24, 0.28);
  --line-strong: rgba(31, 42, 24, 0.72);
  --glass: rgba(248, 236, 205, 0.58);
  --spot-x: -999px;
  --spot-y: -999px;
  --spot-size: 34rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  top: 18px;
  right: 24px;
  left: 24px;
  z-index: 20;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid rgba(248, 236, 205, 0.32);
  border-radius: 18px;
  background: rgba(31, 42, 24, 0.42);
  color: var(--paper-light);
  backdrop-filter: blur(22px);
  box-shadow: 0 18px 70px rgba(31, 42, 24, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
}

.brand-mark {
  width: 32px;
  height: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: block;
}

nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.6vw, 42px);
}

.brand,
nav a,
.header-note,
.section-label,
.hero-rail,
.offer-row span,
.studio-map span,
.site-footer,
.footer-note {
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav a {
  position: relative;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 180ms ease;
}

nav a:hover {
  opacity: 1;
}

nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.header-note {
  justify-self: end;
  text-align: right;
}

.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--green-deep);
  isolation: isolate;
}

.hero-world,
.terrain,
.signal-canvas,
.spotlight-ring {
  position: absolute;
  inset: 0;
}

.hero-world {
  z-index: 0;
}

.terrain {
  background-position: center;
  background-size: cover;
}

.terrain-base {
  background:
    radial-gradient(ellipse at 28% 20%, rgba(248, 236, 205, 0.42), transparent 30rem),
    radial-gradient(ellipse at 75% 74%, rgba(234, 208, 154, 0.26), transparent 28rem),
    repeating-radial-gradient(ellipse at 48% 52%, transparent 0 20px, rgba(234, 208, 154, 0.16) 21px 22px, transparent 23px 42px),
    linear-gradient(125deg, #1f2a18, #344325 48%, #56623b);
  transform: scale(1.04);
  animation: terrain-arrive 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.terrain-base::after,
.terrain-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(248, 236, 205, 0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(248, 236, 205, 0.045) 1px, transparent 1px);
  background-size: 8.5vw 8.5vw;
}

.terrain-reveal {
  opacity: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(248, 236, 205, 0.95), transparent 14rem),
    repeating-linear-gradient(116deg, rgba(31, 42, 24, 0.9) 0 1px, transparent 1px 16px),
    repeating-radial-gradient(ellipse at 52% 45%, transparent 0 16px, rgba(31, 42, 24, 0.35) 17px 18px, transparent 19px 34px),
    linear-gradient(135deg, #f8eccd, #ead09a 52%, #bec38e);
  mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), black 0 24%, rgba(0, 0, 0, 0.84) 42%, rgba(0, 0, 0, 0.22) 68%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), black 0 24%, rgba(0, 0, 0, 0.84) 42%, rgba(0, 0, 0, 0.22) 68%, transparent 100%);
  transition: opacity 240ms ease;
}

.hero.is-active .terrain-reveal {
  opacity: 1;
}

.signal-canvas {
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0.74;
  mix-blend-mode: screen;
}

.spotlight-ring {
  z-index: 3;
  width: var(--spot-size);
  height: var(--spot-size);
  pointer-events: none;
  border: 1px solid rgba(248, 236, 205, 0.4);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(calc(var(--spot-x) - var(--spot-size) / 2), calc(var(--spot-y) - var(--spot-size) / 2), 0);
  transition: opacity 180ms ease;
}

.hero.is-active .spotlight-ring {
  opacity: 1;
}

.spotlight-ring::before,
.spotlight-ring::after {
  content: "";
  position: absolute;
  inset: 19%;
  border: 1px solid rgba(248, 236, 205, 0.22);
  border-radius: 50%;
}

.spotlight-ring::after {
  inset: 48%;
  border: 0;
  border-top: 1px solid rgba(248, 236, 205, 0.58);
  border-radius: 0;
}

.hero-shell {
  position: relative;
  z-index: 5;
  width: min(1500px, calc(100vw - 64px));
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr) 108px;
  align-items: center;
  gap: clamp(24px, 4.5vw, 76px);
  margin: 0 auto;
  padding: clamp(104px, 12vh, 148px) 0 clamp(38px, 6vh, 88px);
  color: var(--paper-light);
}

.hero-core {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.28fr);
  gap: clamp(24px, 4vw, 62px);
  align-items: end;
}

.hero-kicker {
  grid-column: 1 / -1;
  color: rgba(248, 236, 205, 0.68);
}

.hero-core h1 {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 1210px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 12vw, 188px);
  font-weight: 500;
  line-height: 0.84;
  letter-spacing: -0.058em;
  text-wrap: balance;
  animation: hero-reveal 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-title-reveal {
  z-index: 2;
  color: var(--green-deep);
  pointer-events: none;
  mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), black 0 30%, rgba(0, 0, 0, 0.84) 48%, rgba(0, 0, 0, 0.22) 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle var(--spot-size) at var(--spot-x) var(--spot-y), black 0 30%, rgba(0, 0, 0, 0.84) 48%, rgba(0, 0, 0, 0.22) 70%, transparent 100%);
}

.hero-core > p:not(.section-label) {
  max-width: 670px;
  margin: 0;
  color: rgba(248, 236, 205, 0.78);
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.54;
  animation: hero-fade 1s 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-ledger {
  display: grid;
  gap: 1px;
  min-height: 152px;
  border: 1px solid rgba(248, 236, 205, 0.22);
  background: rgba(248, 236, 205, 0.22);
  backdrop-filter: blur(18px);
  animation: hero-fade 1s 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-ledger span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(31, 42, 24, 0.38);
  color: var(--paper-light);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-ledger span::after {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.hero-rail {
  align-self: end;
  color: rgba(248, 236, 205, 0.72);
}

.hero-rail p {
  max-width: 110px;
  margin: 22px 0 0;
  line-height: 1.55;
}

.hero-rail.right {
  align-self: stretch;
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: end;
}

.hero-rail.right > span {
  writing-mode: vertical-rl;
}

.rail-meter {
  width: 1px;
  min-height: 280px;
  background: rgba(248, 236, 205, 0.18);
}

.rail-meter span {
  display: block;
  width: 1px;
  height: 34%;
  background: var(--paper-light);
  animation: rail-scan 5.8s ease-in-out infinite alternate;
}

.studio-band,
.work-section,
.approach-section,
.contact-section,
.site-footer {
  width: min(1400px, calc(100vw - 64px));
  margin: 0 auto;
  border-bottom: 1px solid var(--line-strong);
}

.studio-band {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  min-height: 430px;
}

.studio-statement,
.studio-map {
  padding: clamp(54px, 7vw, 94px) 0;
}

.studio-statement {
  padding-right: clamp(28px, 5vw, 78px);
  border-right: 1px solid var(--line);
}

.section-label {
  display: block;
  margin: 0 0 24px;
  color: var(--green);
}

h2,
h3,
p {
  margin-top: 0;
}

.studio-statement h2,
.work-intro h2,
.research-card h2,
.selective-card h2,
.contact-section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.studio-statement h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(34px, 4.4vw, 66px);
  line-height: 1.04;
}

.studio-map {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-left: 0;
  background: rgba(86, 98, 59, 0.07);
}

.map-field {
  position: absolute;
  inset: 8% 8%;
  pointer-events: none;
  background:
    repeating-radial-gradient(ellipse at 54% 50%, transparent 0 18px, rgba(31, 42, 24, 0.18) 19px 20px, transparent 21px 38px),
    linear-gradient(90deg, transparent 49%, rgba(31, 42, 24, 0.28) 50%, transparent 51%),
    linear-gradient(0deg, transparent 49%, rgba(31, 42, 24, 0.28) 50%, transparent 51%);
  opacity: 0.42;
  transform: rotate(-7deg);
}

.studio-map div:not(.map-field) {
  position: relative;
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  border-left: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.studio-map div:not(.map-field):hover {
  background: rgba(86, 98, 59, 0.08);
}

.studio-map p {
  max-width: 180px;
  margin: 10px 0 0;
  color: var(--green-deep);
  line-height: 1.6;
}

.work-section {
  display: grid;
  grid-template-columns: minmax(310px, 0.56fr) minmax(420px, 1fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
  padding: clamp(64px, 8vw, 112px) 0;
}

.work-intro {
  position: static;
}

.work-intro h2 {
  margin: 0;
  font-size: clamp(70px, 10vw, 146px);
  line-height: 0.88;
}

.work-copy {
  grid-column: 2;
  align-self: start;
  justify-self: stretch;
  display: grid;
  gap: 18px;
  max-width: 680px;
  padding-top: 12px;
}

.work-copy p,
.research-card p,
.selective-card p,
.contact-copy p {
  color: var(--green-deep);
  font-size: 15px;
  line-height: 1.78;
}

.offer-table {
  grid-column: 2;
  margin-top: clamp(28px, 4vw, 62px);
  border-top: 1px solid var(--line-strong);
}

.offer-row {
  display: grid;
  grid-template-columns: 72px minmax(210px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  align-items: baseline;
  min-height: 82px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color 180ms ease;
}

.offer-row:hover {
  background: rgba(86, 98, 59, 0.06);
}

.offer-row strong {
  color: var(--ink);
  font-size: clamp(17px, 1.4vw, 24px);
  letter-spacing: -0.018em;
  text-transform: uppercase;
}

.offer-row p {
  margin: 0;
  line-height: 1.55;
}

.approach-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  min-height: 500px;
}

.research-card,
.black-card,
.selective-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 5vw, 58px);
}

.research-card {
  background: rgba(248, 236, 205, 0.74);
}

.black-card {
  background:
    repeating-linear-gradient(135deg, rgba(234, 208, 154, 0.06) 0 1px, transparent 1px 13px),
    var(--green-deep);
  color: var(--paper-light);
}

.black-card p,
.black-card strong {
  display: block;
  max-width: 330px;
  line-height: 1.7;
}

.black-card strong {
  color: var(--paper);
  text-transform: uppercase;
}

.selective-card {
  border-left: 1px solid var(--line);
}

.research-card h2,
.selective-card h2,
.contact-section h2 {
  margin-bottom: 22px;
  font-size: clamp(42px, 5.5vw, 78px);
  line-height: 1;
}

.contact-section {
  min-height: 42vh;
  display: grid;
  grid-template-columns: 0.9fr 0.8fr;
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  padding: clamp(58px, 8vw, 104px) 0;
}

.contact-copy {
  align-self: center;
}

.contact-copy a {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-footer {
  min-height: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  margin-top: 28px;
  margin-bottom: 24px;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid rgba(248, 236, 205, 0.34);
  border-radius: 18px;
  background: rgba(31, 42, 24, 0.93);
  box-shadow: 0 18px 70px rgba(31, 42, 24, 0.14);
  color: var(--paper-light);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.footer-links a {
  color: inherit;
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.09em;
  opacity: 0.78;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 160ms ease;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-note {
  margin: 0;
  line-height: 1.35;
  text-align: right;
}

@keyframes terrain-arrive {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1.02);
  }
}

@keyframes hero-reveal {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes hero-fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rail-scan {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(194%);
  }
}

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

@media (max-width: 980px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
    padding: 18px;
  }

  nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .header-note {
    justify-self: start;
    text-align: left;
  }

  .hero-shell,
  .studio-band,
  .work-section,
  .approach-section,
  .contact-section,
  .site-footer {
    width: min(100vw - 32px, 820px);
  }

  .hero-shell,
  .hero-core,
  .studio-band,
  .work-section,
  .approach-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-rail.right {
    display: none;
  }

  .hero-rail.left {
    order: -1;
  }

  .studio-statement {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .studio-map {
    grid-template-columns: 1fr;
  }

  .studio-map div:not(.map-field) {
    min-height: 150px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .work-intro {
    position: static;
  }

  .work-copy,
  .offer-table {
    grid-column: 1;
  }

  .selective-card {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --spot-size: 22rem;
  }

  .site-header {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .hero-core h1 {
    font-size: clamp(58px, 19vw, 86px);
  }

  .hero-ledger span {
    padding: 16px;
  }

  .offer-row {
    grid-template-columns: 48px 1fr;
    gap: 14px;
  }

  .offer-row p {
    grid-column: 2;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .footer-note {
    text-align: left;
  }
}
