:root {
  --bg: #090909;
  --raised: #10100f;
  --text: #f5f5f2;
  --muted: #aaa9a3;
  --quiet: #74746f;
  --line: rgba(255, 255, 255, .16);
  --line-soft: rgba(255, 255, 255, .09);
  --white: #f5f5f2;
  --black: #090909;
  --shell: 1180px;
  --header-height: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
svg { display: block; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
  text-decoration: none;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }

.brand-reveal {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.brand-reveal[hidden] { display: none; }
.brand-reveal-visible { opacity: 1; visibility: visible; }
.brand-reveal-complete {
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.brand-reveal-logo {
  display: block;
  width: min(84vw, 980px);
  height: auto;
  mix-blend-mode: lighten;
}
.brand-reveal-active { overflow: hidden; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: var(--header-height);
  margin-bottom: calc(var(--header-height) * -1);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  backdrop-filter: blur(18px);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link {
  position: relative;
  z-index: 42;
  width: 174px;
  display: flex;
  align-items: center;
}
.brand-mark { width: 100%; height: auto; mix-blend-mode: lighten; }
.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav a {
  position: relative;
  color: #d0cfca;
  font-size: .86rem;
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after { transform: scaleX(1); }
.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  border: 1px solid var(--white);
  background: var(--white);
  color: var(--black);
  font-size: .84rem;
  font-weight: 650;
  text-decoration: none;
}
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  animation: hero-settle 9s ease-out both;
}
.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, .90) 0%, rgba(5, 5, 5, .66) 34%, rgba(5, 5, 5, .14) 72%),
    linear-gradient(0deg, rgba(5, 5, 5, .88) 0%, transparent 52%),
    linear-gradient(180deg, rgba(5, 5, 5, .50) 0%, transparent 30%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: clamp(56px, 8vw, 100px);
}
.hero-copy { max-width: 760px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.2rem, 6.2vw, 6rem);
  font-weight: 500;
  line-height: .96;
  letter-spacing: -.052em;
  text-wrap: balance;
}
.brand-statement {
  margin: 26px 0 0;
  color: #d2d1cc;
  font-size: clamp(.9rem, 1.5vw, 1.08rem);
  letter-spacing: .06em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, .55);
  color: var(--text);
  font-size: .94rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: var(--white); background: var(--white); color: var(--black); }
.button-primary:hover { background: #deded9; border-color: #deded9; }
.button-secondary { background: rgba(9, 9, 9, .25); backdrop-filter: blur(10px); }
.button-secondary:hover { background: rgba(9, 9, 9, .65); border-color: var(--white); }
.visual-note {
  position: absolute;
  right: 0;
  bottom: clamp(62px, 8vw, 106px);
  margin: 0;
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.section { padding-block: clamp(100px, 13vw, 180px); border-bottom: 1px solid var(--line-soft); }
.universes-section { background: var(--bg); }
.section-heading { max-width: 900px; margin-bottom: clamp(64px, 9vw, 110px); }
.eyebrow {
  margin: 0 0 24px;
  color: #aaa9a3;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-heading h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.5vw, 5rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.universe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line-soft);
}
.universe-card {
  scroll-margin-top: calc(var(--header-height) + 20px);
  min-height: min(62svh, 590px);
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--bg);
  transition: background 220ms ease;
}
.universe-card:hover { background: var(--raised); }
.card-number { color: var(--quiet); font-size: .72rem; letter-spacing: .14em; }
.universe-card h3 {
  margin: auto 0 20px;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 500;
  line-height: .95;
  letter-spacing: -.05em;
}
.universe-card p { max-width: 430px; margin: 0; color: var(--muted); font-size: 1.05rem; }
.universe-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  color: var(--text);
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}
.universe-card a span { font-size: 1.1rem; transition: transform 180ms ease; }
.universe-card a:hover span { transform: translate(3px, 3px); }

.contact-section { background: var(--white); color: var(--black); }
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
  gap: clamp(55px, 10vw, 140px);
  align-items: center;
}
.contact-copy .eyebrow,
.contact-copy > p { color: #5c5c57; }
.contact-copy > p { max-width: 520px; margin: 26px 0 0; font-size: 1.08rem; }
.contact-copy .button { margin-top: 34px; }
.contact-copy .button-primary { border-color: var(--black); background: var(--black); color: var(--white); }
.contact-copy .button-primary:hover { background: #292929; }
.digital-card { border: 1px solid #bdbdb7; background: #ededE9; }
.digital-card-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  border-bottom: 1px solid #c9c9c3;
}
.digital-card-head span:first-child { color: #666660; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.digital-card-head h3 { margin: 16px 0 4px; font-size: 1.15rem; font-weight: 620; }
.digital-card-head p { margin: 0; color: #696963; font-size: .86rem; }
.digital-card-brand { color: #555550; font-size: .72rem; font-weight: 700; letter-spacing: .2em; }
.contact-actions { display: grid; grid-template-columns: 1fr; gap: 1px; background: #c9c9c3; }
.contact-action {
  min-height: 62px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 0;
  background: #f6f6f2;
  color: var(--black);
  font-size: .86rem;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background 160ms ease;
}
.contact-action:hover { background: #deded9; }
.contact-action-primary { background: var(--black); color: var(--white); }
.contact-action-primary:hover { background: #292929; }
.contact-action svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer { padding-block: 54px; background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; }
.site-footer strong { font-size: .76rem; letter-spacing: .22em; }
.site-footer p { max-width: 460px; margin: 14px 0 0; color: var(--quiet); font-size: .78rem; }
.back-top { color: var(--muted); font-size: .8rem; text-decoration: none; }
.back-top:hover { color: var(--white); }
.back-top span { margin-left: 8px; }
.mobile-contact-bar { display: none; }

@keyframes hero-settle {
  from { transform: scale(1.035); }
  to { transform: scale(1); }
}

@media (max-width: 960px) {
  :root { --header-height: 68px; }
  .header-cta { display: none; }
  .menu-toggle {
    position: relative;
    z-index: 42;
    width: 46px;
    height: 46px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0;
    border: 1px solid var(--line);
    background: rgba(9, 9, 9, .5);
    color: var(--white);
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 18px; height: 1px; background: currentColor; transition: transform 180ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    min-height: calc(100svh - var(--header-height));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 22px 20px 110px;
    background: rgba(9, 9, 9, .985);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav a { padding: 17px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1.15rem; }
  .site-nav a::after { display: none; }
  .hero-media img { object-position: 58% center; }
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(5, 5, 5, .96) 0%, rgba(5, 5, 5, .62) 48%, rgba(5, 5, 5, .10) 76%),
      linear-gradient(180deg, rgba(5, 5, 5, .52) 0%, transparent 32%);
  }
  .hero-grid { padding-bottom: 88px; }
  .visual-note { right: auto; bottom: 38px; left: 0; }
  .universe-grid { grid-template-columns: 1fr; }
  .universe-card { min-height: 460px; }
  .contact-layout { grid-template-columns: 1fr; gap: 52px; }
  .digital-card { width: min(100%, 620px); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .brand-link { width: 150px; }
  .hero-grid { padding-top: calc(var(--header-height) + 72px); padding-bottom: 102px; }
  .hero-media img { object-position: 62% center; }
  h1 { max-width: 350px; font-size: clamp(2.75rem, 12vw, 3.6rem); line-height: .98; }
  .brand-statement { max-width: 310px; margin-top: 20px; font-size: .86rem; line-height: 1.55; }
  .hero-actions { flex-direction: column; margin-top: 28px; }
  .button { width: 100%; }
  .section { padding-block: 92px; }
  .section-heading { margin-bottom: 52px; }
  .section-heading h2,
  .contact-copy h2 { font-size: clamp(2.45rem, 11vw, 3.2rem); }
  .universe-card { min-height: 390px; padding: 26px; }
  .universe-card h3 { font-size: 3.35rem; }
  .universe-card p { font-size: 1rem; }
  .contact-section { padding-bottom: 108px; }
  .digital-card-head { padding: 21px; }
  .contact-actions { grid-template-columns: 1fr; }
  .contact-action { min-height: 58px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-contact-bar {
    position: fixed;
    z-index: 35;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: calc(62px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--line);
    background: var(--bg);
  }
  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .84rem;
    font-weight: 620;
    text-decoration: none;
  }
  .mobile-contact-bar a:first-child { background: var(--white); color: var(--black); }
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (max-width: 360px) {
  .shell { width: min(calc(100% - 26px), var(--shell)); }
  h1 { font-size: 2.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .brand-reveal { display: none !important; }
  .brand-reveal-active { overflow: auto; }
}
