:root {
  --black: #050505;
  --ink: #111111;
  --muted: #6f6f6b;
  --soft: #a5a39d;
  --line: #e4e1dc;
  --paper: #f7f5f1;
  --white: #fffefa;
  --panel: #0e0e0d;
  --panel-line: #242321;
  --max: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
::selection { background: #111; color: #fff; }

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 74px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 60px);
  color: #f8f7f2;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header.is-scrolled {
  background: rgba(247,245,241,.84);
  color: var(--ink);
  border-bottom-color: rgba(20,20,20,.08);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-size: 12px;
}
.brand-mark { display: block; width: 32px; height: 32px; object-fit: contain; }
.brand-mark-light { display: none; }
.site-header.is-scrolled .brand-mark-dark { display: none; }
.site-header.is-scrolled .brand-mark-light { display: block; }

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  font-size: 13px;
  color: currentColor;
  opacity: .86;
}
.site-nav a { transition: opacity .2s ease; }
.site-nav a:hover { opacity: .55; }

.hero {
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 22px 72px;
  overflow: hidden;
  position: relative;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 96px 96px;
  opacity: .16;
  pointer-events: none;
}
.hero:after {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 36px;
  height: 1px;
  background: rgba(255,255,255,.16);
}
.hero-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}
.hero-mark-wrap {
  width: clamp(150px, 19vw, 240px);
  height: clamp(150px, 19vw, 240px);
  margin: 0 auto 42px;
  display: grid;
  place-items: center;
}
.hero-mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 42px rgba(255,255,255,.06));
}
.eyebrow,
.section-kicker,
.unit-label {
  margin: 0;
  font-size: 11px;
  line-height: 1.1;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--soft);
  font-weight: 600;
}
.hero h1 {
  margin: 18px auto 0;
  max-width: 920px;
  font-size: clamp(54px, 9vw, 118px);
  line-height: .93;
  letter-spacing: -.068em;
  font-weight: 650;
}
.hero-copy {
  margin: 34px auto 0;
  max-width: 680px;
  color: rgba(255,255,255,.72);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.32;
  letter-spacing: -.02em;
}
.hero-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 42px;
}
.hero-meta span {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(255,255,255,.68);
  padding: 9px 14px;
  font-size: 13px;
}

.section {
  width: min(calc(100% - 44px), var(--max));
  margin: 0 auto;
  padding: clamp(82px, 10vw, 142px) 0;
  border-bottom: 1px solid var(--line);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(160px, 260px) 1fr;
  gap: clamp(42px, 8vw, 104px);
  align-items: start;
}
.section-content h2,
.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 630;
}
.section-content p {
  max-width: 760px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.55;
  letter-spacing: -.018em;
}
.section-heading {
  max-width: 880px;
  margin-bottom: 54px;
}
.section-heading .section-kicker { margin-bottom: 18px; }
.section-heading.compact { max-width: 760px; }

.architecture-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.unit-card {
  min-height: 360px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(255,255,255,.16);
}
.unit-card.parent {
  background: var(--ink);
  color: var(--white);
  border-color: #2c2a26;
}
.unit-card.parent .unit-label,
.unit-card.parent p { color: rgba(255,255,255,.62); }
.unit-card h3 {
  margin: auto 0 0;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.052em;
  font-weight: 620;
}
.unit-card p {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.principles-list {
  border-top: 1px solid var(--line);
}
.principles-list article {
  display: grid;
  grid-template-columns: 80px minmax(260px, 360px) 1fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.principles-list span {
  color: var(--soft);
  font-size: 12px;
  letter-spacing: .16em;
}
.principles-list h3 {
  margin: 0;
  font-size: clamp(22px, 2vw, 31px);
  letter-spacing: -.036em;
  line-height: 1.08;
}
.principles-list p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 540px;
}

.interests { border-bottom: none; }
.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 44px;
}
.interest-grid div {
  min-height: 156px;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: rgba(255,255,255,.35);
  border: 1px solid var(--line);
}
.interest-grid span {
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -.04em;
  font-weight: 560;
}

.contact {
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--black);
  color: var(--white);
}
.contact-card {
  width: min(calc(100% - 44px), var(--max));
  min-height: 540px;
  margin: 0 auto;
  padding: clamp(78px, 10vw, 130px) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 34px;
}
.contact-card .section-kicker { color: rgba(255,255,255,.48); margin-bottom: 18px; }
.contact-card a {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 34px;
  color: rgba(255,255,255,.74);
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 5px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -.02em;
}
.contact-card a:hover { color: #fff; border-color: #fff; }

.site-footer {
  background: var(--black);
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.1);
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(22px, 4vw, 60px);
  font-size: 13px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .architecture-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .principles-list article { grid-template-columns: 56px 1fr; }
  .principles-list p { grid-column: 2; }
}

@media (max-width: 720px) {
  .site-header { height: 66px; }
  .brand span { letter-spacing: .04em; }
  .site-nav { display: none; }
  .hero { padding-top: 110px; }
  .hero h1 { letter-spacing: -.06em; }
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
  .architecture-grid { grid-template-columns: 1fr; }
  .unit-card { min-height: 260px; }
  .principles-list article { grid-template-columns: 1fr; gap: 12px; padding: 30px 0; }
  .principles-list p { grid-column: auto; }
  .interest-grid { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; justify-content: center; padding-top: 22px; padding-bottom: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
