@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --bg: #07090d;
  --bg-soft: #0b0e13;
  --panel: rgba(255,255,255,.035);
  --panel-strong: rgba(255,255,255,.065);
  --line: rgba(255,255,255,.12);
  --line-soft: rgba(255,255,255,.07);
  --text: #f4f0e8;
  --muted: #989da6;
  --muted-2: #696f79;
  --accent: #d7c6a1;
  --accent-2: #7d92ff;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { background: var(--accent); color: #111; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; position: relative; }

.ambient {
  position: fixed;
  pointer-events: none;
  z-index: -3;
  filter: blur(80px);
  opacity: .18;
  border-radius: 50%;
}
.ambient-one {
  width: 540px; height: 540px;
  top: -200px; right: -180px;
  background: #5369a7;
}
.ambient-two {
  width: 420px; height: 420px;
  left: -220px; top: 42vh;
  background: #7c6643;
}
.grid-noise {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 78%);
}

.site-header {
  height: 78px;
  width: min(1240px, calc(100vw - 28px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-mark {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: .08em;
}
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  color: #c4c6cb;
}
.desktop-nav { display: flex; gap: 32px; color: #b5b8bf; font-size: 13px; }
.desktop-nav a { transition: color .2s ease; }
.desktop-nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  border: 0;
  background: transparent;
  color: #b5b8bf;
  padding: 8px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .08em;
}
.menu-toggle {
  display: none;
  width: 38px; height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 14px; height: 1px;
  margin: 4px auto;
  background: var(--text);
}
.mobile-menu {
  position: absolute;
  top: 67px; left: 0; right: 0;
  padding: 22px;
  background: rgba(8,10,14,.96);
  backdrop-filter: blur(24px);
  border: 1px solid var(--line-soft);
  border-radius: 16px;
}
.mobile-menu a {
  display: block;
  padding: 13px 4px;
  color: #d5d7dc;
}

.hero {
  min-height: calc(100vh - 78px);
  padding: clamp(76px, 11vh, 130px) 0 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.eyebrow, .section-kicker {
  text-transform: uppercase;
  letter-spacing: .19em;
  font-size: 10px;
  font-weight: 600;
  color: #8f949e;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.hero-title {
  margin: 28px 0 42px;
  max-width: 1000px;
  font-family: var(--serif);
  font-size: clamp(64px, 10vw, 148px);
  line-height: .86;
  letter-spacing: -.055em;
  font-weight: 500;
}
.hero-title span { display: block; }
.hero-title-accent {
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,240,232,.58);
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
}
.hero-copy {
  margin: 0;
  max-width: 590px;
  color: #a9adb5;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}
.hero-cta { display: flex; justify-content: flex-end; gap: 26px; align-items: center; }
.button {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--text); color: #0c0d0f; }
.button-ghost { border: 1px solid var(--line); color: var(--text); }
.button-ghost:hover { background: var(--panel-strong); }
.text-link { font-size: 13px; color: #b8bbc2; display: inline-flex; gap: 12px; }

.hero-monogram {
  position: absolute;
  right: 0; top: 20%;
  display: flex;
  gap: 2px;
  font-family: var(--serif);
  font-size: clamp(120px, 18vw, 260px);
  color: rgba(255,255,255,.015);
  letter-spacing: -.08em;
  pointer-events: none;
  user-select: none;
}
.hero-rule {
  margin-top: 70px;
  border-top: 1px solid var(--line-soft);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: #626772;
  font-size: 9px;
  letter-spacing: .23em;
}

.work-section { padding: 130px 0 150px; }
.section-heading {
  display: grid;
  grid-template-columns: 1fr .7fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 54px;
}
.section-heading h2, .contact-panel h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 72px);
  letter-spacing: -.035em;
  line-height: 1;
}
.section-note {
  justify-self: end;
  max-width: 390px;
  margin: 0;
  color: #858b95;
  line-height: 1.7;
  font-size: 14px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr .8fr;
  gap: 16px;
}
.product-card {
  min-height: 650px;
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.014)),
    var(--bg-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
  pointer-events: none;
}
.product-card:hover::after { border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.012); }
.card-topline {
  display: flex;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 9px;
  letter-spacing: .18em;
  color: #717680;
  border-bottom: 1px solid var(--line-soft);
}
.product-visual {
  height: 320px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.assistant-visual {
  background:
    radial-gradient(circle at 50% 50%, rgba(106,126,255,.24), transparent 22%),
    linear-gradient(145deg, #101624, #090b10 65%);
}
.assistant-core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border: 1px solid rgba(188,198,255,.35);
  border-radius: 22px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 34px;
  background: linear-gradient(135deg, rgba(98,117,255,.32), rgba(255,255,255,.04));
  box-shadow: 0 0 80px rgba(84,104,255,.24);
}
.assistant-orbit {
  position: absolute;
  left: 50%; top: 50%;
  border: 1px solid rgba(170,182,255,.11);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit-one { width: 220px; height: 220px; }
.orbit-two { width: 330px; height: 330px; }
.assistant-chip {
  position: absolute;
  width: 62px; height: 26px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  border-radius: 99px;
}
.chip-a { left: 18%; top: 28%; }
.chip-b { right: 15%; top: 34%; width: 84px; }
.chip-c { left: 26%; bottom: 20%; width: 96px; }

.rail-visual {
  background:
    radial-gradient(circle at 72% 24%, rgba(208,178,119,.16), transparent 12%),
    linear-gradient(180deg, #0d1117 0%, #090b0f 100%);
  perspective: 500px;
}
.rail-horizon {
  position: absolute;
  left: 0; right: 0; top: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
}
.rail {
  position: absolute;
  top: 43%; bottom: -20%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(210,216,227,.18), rgba(210,216,227,.9));
  transform-origin: top center;
}
.rail-left { left: 49%; transform: rotate(11deg); }
.rail-right { right: 49%; transform: rotate(-11deg); }
.rail-sleeper {
  position: absolute;
  left: 50%;
  height: 1px;
  background: rgba(255,255,255,.18);
  transform: translateX(-50%);
}
.sleeper-1 { width: 10%; top: 51%; }
.sleeper-2 { width: 18%; top: 58%; }
.sleeper-3 { width: 28%; top: 67%; }
.sleeper-4 { width: 44%; top: 79%; }
.sleeper-5 { width: 68%; top: 93%; }
.signal-light {
  position: absolute;
  right: 18%; top: 27%;
  width: 7px; height: 7px;
  background: #f1a56e;
  border-radius: 50%;
  box-shadow: 0 0 22px #f1a56e;
}
.card-content { padding: 28px 28px 30px; margin-top: auto; }
.product-type { margin: 0 0 12px; color: #777d88; font-size: 9px; letter-spacing: .18em; }
.card-content h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -.025em;
}
.card-content p:not(.product-type) {
  color: #979ca6;
  line-height: 1.7;
  font-size: 13px;
  margin: 0 0 20px;
}
.product-meta { color: #656b76; font-size: 11px; }
.product-card-future { min-height: 650px; }
.future-mark {
  flex: 1;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 110px;
  color: rgba(255,255,255,.06);
}

.manifesto-section {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background:
    radial-gradient(circle at 75% 45%, rgba(87,103,150,.09), transparent 24%),
    #090c11;
  padding: 140px 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: .35fr 1.1fr .9fr;
  gap: 60px;
}
.manifesto-index {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #666c76;
  font-size: 9px;
  letter-spacing: .18em;
}
.manifesto-lead {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 5.3vw, 76px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
.manifesto-body {
  margin: 38px 0 0;
  color: #9197a1;
  line-height: 1.8;
  max-width: 620px;
}
.principles { border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.principle-number { color: #666b75; font-size: 10px; }
.principle h4 { margin: 0 0 8px; font-size: 14px; font-weight: 500; }
.principle p { margin: 0; color: #7f858f; line-height: 1.6; font-size: 12px; }

.contact-section { padding: 130px 0; }
.contact-panel {
  padding: clamp(34px, 6vw, 80px);
  border: 1px solid var(--line-soft);
  background:
    linear-gradient(135deg, rgba(255,255,255,.035), rgba(255,255,255,.01));
}
.contact-panel p:not(.section-kicker) {
  max-width: 680px;
  color: #90959f;
  line-height: 1.75;
  margin: 28px 0 30px;
}
.contact-actions { display: flex; gap: 14px; }

.site-footer {
  padding: 42px 0 34px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px;
}
.footer-brand { display: flex; flex-direction: column; gap: 8px; }
.footer-logo { font-family: var(--serif); font-size: 24px; }
.footer-brand span:last-child, .footer-meta { color: #686e78; font-size: 11px; }
.footer-links { display: flex; gap: 20px; font-size: 11px; color: #a1a5ad; }
.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .75s ease, transform .75s ease;
}
.reveal.visible { opacity: 1; transform: none; }

.legal-page {
  width: min(820px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 100px 0 130px;
}
.legal-page h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 500;
  letter-spacing: -.04em;
}
.legal-page h2 {
  margin-top: 42px;
  font-size: 16px;
  font-weight: 600;
}
.legal-page p, .legal-page li {
  color: #9ba0aa;
  line-height: 1.8;
  font-size: 14px;
}
.legal-page .legal-note {
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  background: var(--panel);
  color: #c0c3c9;
}
.back-link { color: #b9bdc5; font-size: 13px; }
.back-link:hover { color: var(--text); }

@media (max-width: 980px) {
  :root { --shell: min(100% - 34px, 760px); }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .hero { min-height: auto; padding-top: 88px; }
  .hero-bottom, .section-heading, .manifesto-grid { grid-template-columns: 1fr; }
  .hero-cta { justify-content: flex-start; margin-top: 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card, .product-card-future { min-height: 570px; }
  .section-note { justify-self: start; }
  .manifesto-grid { gap: 44px; }
  .manifesto-index { flex-direction: row; justify-content: space-between; }
}

@media (max-width: 640px) {
  :root { --shell: calc(100vw - 28px); }
  .site-header { height: 68px; }
  .brand-mark, .brand-name { font-size: 18px; }
  .hero { padding-top: 74px; }
  .hero-title { font-size: clamp(55px, 18vw, 84px); margin-top: 22px; }
  .hero-bottom { gap: 18px; }
  .hero-copy { font-size: 15px; }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-rule { margin-top: 54px; gap: 10px; flex-wrap: wrap; }
  .hero-monogram { top: 16%; right: -30%; opacity: .5; }
  .work-section { padding: 95px 0 105px; }
  .section-heading { margin-bottom: 34px; }
  .product-visual { height: 270px; }
  .product-card { min-height: 550px; }
  .manifesto-section { padding: 100px 0; }
  .contact-section { padding: 90px 0; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
  .footer-meta { grid-column: auto; flex-direction: column; gap: 8px; }
}

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