:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --ink: #0e0e10;
  --ink-2: #55555c;
  --ink-3: #8b8b93;
  --line: rgba(14, 14, 16, 0.09);
  --blue: #2438d8; /* Majorelle blue */
  --blue-soft: #e8ebff;
  --terracotta: #d9694a;
  --sand: #efe6d8;
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* Hairline frame, like the reference */
.frame {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.pad { padding-left: clamp(20px, 4vw, 56px); padding-right: clamp(20px, 4vw, 56px); }
.rule { border-top: 1px solid var(--line); }

/* Type */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.01em;
  color: var(--ink-2);
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; text-wrap: balance; }
h1 { font-size: clamp(44px, 7.4vw, 92px); }
h2 { font-size: clamp(34px, 4.8vw, 60px); }
h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 620px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  font: inherit; font-size: 15px; font-weight: 500;
  border-radius: 14px; border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -8px rgba(36,56,216,.55), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary:hover { box-shadow: 0 14px 30px -10px rgba(36,56,216,.65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-light { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,245,242,0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .frame { display: flex; align-items: center; justify-content: space-between; height: 64px; border-color: transparent; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.03em; }
.brand svg { width: 26px; height: 26px; color: var(--blue); }
.brand span { font-weight: 400; color: var(--ink-2); }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--ink-2); border-radius: 10px; transition: color .2s, background .2s; }
.nav ul a:hover { color: var(--ink); background: rgba(14,14,16,.05); }

/* Hero */
.hero { position: relative; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 50% at 22% 62%, rgba(255, 196, 160, .55), transparent 70%),
    radial-gradient(55% 50% at 80% 55%, rgba(150, 168, 255, .55), transparent 70%),
    radial-gradient(40% 40% at 55% 85%, rgba(255, 214, 236, .6), transparent 70%),
    radial-gradient(40% 30% at 90% 30%, rgba(255, 244, 190, .5), transparent 70%);
  filter: blur(10px);
}
.hero-inner { position: relative; z-index: 1; padding-top: clamp(56px, 9vw, 104px); }
.hero h1 { margin: 22px auto 0; max-width: 900px; }
.hero .lede { margin: 26px auto 0; }
.hero-cta { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }

/* Hero stage */
.stage { position: relative; z-index: 1; margin-top: clamp(40px, 6vw, 72px); perspective: 1800px; height: clamp(300px, 52vw, 640px); }
.screen {
  position: relative; width: min(980px, 92%); margin: 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  background: #101012;
  padding: 10px;
  box-shadow: 0 60px 90px -30px rgba(30, 30, 90, .45), 0 0 0 1px rgba(255,255,255,.08) inset;
  transform: rotateX(var(--rx, 24deg)) rotateY(var(--ry, -10deg)) rotateZ(var(--rz, 3deg));
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease);
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -10px; } }
.ui {
  position: relative; width: 100%; height: 100%;
  border-radius: 10px; overflow: hidden;
  background: #f4f3f0;
  display: grid; grid-template-columns: 8% 1fr;
}
.ui-side { background: #fff; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 16px; }
.ui-side i { width: 38%; aspect-ratio: 1; border-radius: 30% 30% 12% 12%; background: #e3e2de; }
.ui-side i:first-child { background: var(--blue); }
.ui-main { padding: 3.5% 4%; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto 1fr; gap: 3%; min-height: 0; }
.ui-top { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.ui-top b { width: 22%; height: 10px; border-radius: 6px; background: #1b1b1f; }
.ui-top span { display: flex; gap: 6px; }
.ui-top span i { width: 14px; height: 14px; border-radius: 50%; background: #dcdad5; }
.ui-hero {
  position: relative; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #2438d8 0%, #5a49e8 55%, #e07a5c 120%);
  display: flex; align-items: flex-end; justify-content: center;
}
.ui-hero svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.arch-door {
  position: relative; width: 38%; height: 72%;
  background: linear-gradient(180deg, #ffe2c9, #fff 85%);
  border-radius: 999px 999px 0 0;
  box-shadow: 0 0 0 8px rgba(255,255,255,.12), 0 0 0 18px rgba(255,255,255,.07);
}
.arch-door::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; top: 40%; border-radius: 999px 999px 0 0; background: #2438d8; opacity: .9; }
.ui-cards { display: grid; grid-template-rows: repeat(3, 1fr); gap: 5%; min-height: 0; }
.ui-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; display: flex; align-items: center; gap: 12px; padding: 0 12px; }
.ui-card i { flex: none; width: 30px; aspect-ratio: 1; border-radius: 9px; }
.ui-card:nth-child(1) i { background: linear-gradient(135deg, #2438d8, #8a96ff); }
.ui-card:nth-child(2) i { background: linear-gradient(135deg, #d9694a, #ffc29d); }
.ui-card:nth-child(3) i { background: linear-gradient(135deg, #14a38b, #9be8c9); }
.ui-card div { flex: 1; display: grid; gap: 6px; }
.ui-card div b { height: 7px; width: 70%; border-radius: 4px; background: #1b1b1f; }
.ui-card div u { height: 6px; width: 45%; border-radius: 4px; background: #d7d5d0; }
.stand {
  position: absolute; left: 50%; bottom: -34%; translate: -50% 0; z-index: -1;
  width: 18%; height: 40%;
  background: linear-gradient(180deg, #b9b9bf, #e8e8ec 60%, transparent);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.stage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, transparent, var(--bg)); z-index: 2; pointer-events: none; }

/* Values strip */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); }
.strip > div { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.strip > div:last-child { border-right: 0; }
.strip svg { width: 22px; height: 22px; flex: none; color: var(--blue); }

/* Mission */
.mission { position: relative; padding: 0; text-align: center; background: var(--surface); overflow: hidden; }
.mission::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 72 72'%3E%3Cg fill='none' stroke='%230e0e10' stroke-opacity='.07'%3E%3Crect x='20' y='20' width='32' height='32'/%3E%3Crect x='20' y='20' width='32' height='32' transform='rotate(45 36 36)'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, transparent 30%, #000 100%);
  mask-image: radial-gradient(70% 70% at 50% 50%, transparent 30%, #000 100%);
}
.mission .wrap { position: relative; }
.mission-text { margin: 26px auto 0; max-width: 940px; font-size: clamp(28px, 4.2vw, 52px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.1; }
.mission-text .w { color: rgba(14,14,16,.16); transition: color .3s; }
.mission-text .w.on { color: var(--ink); }

/* Section heads */
.section { padding: 0; }
.section > .frame { padding-top: clamp(72px, 10vw, 128px); padding-bottom: clamp(72px, 10vw, 128px); }
.mission > .frame { padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 12vw, 150px); }
.head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin-top: 18px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; min-height: 340px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(20,20,60,.25); }
.card p { color: var(--ink-2); margin-top: 10px; max-width: 420px; font-size: 16px; }
.c1 { grid-column: span 4; background: linear-gradient(140deg, #fff 30%, var(--blue-soft)); }
.c2 { grid-column: span 2; }
.c3 { grid-column: span 2; }
.c4 { grid-column: span 4; background: linear-gradient(140deg, #fff 30%, #fbe9df); }
.card .tag { font-size: 12px; font-weight: 500; color: var(--ink-3); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.art { position: absolute; pointer-events: none; }
.c1 .art { right: -30px; bottom: -40px; width: 52%; max-width: 380px; color: var(--blue); opacity: .9; }
.c2 .art, .c3 .art { right: 22px; top: 22px; width: 64px; height: 64px; }
.c4 .art { right: -20px; bottom: -30px; width: 46%; max-width: 320px; color: var(--terracotta); }
.card .copy { position: relative; margin-top: auto; padding-top: 120px; }
.c1 .copy, .c4 .copy { max-width: 52%; }

/* Founders */
.founders { background: var(--surface); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.f-copy p { color: var(--ink-2); margin-top: 20px; font-size: 18px; max-width: 520px; }
.f-copy p strong { color: var(--ink); font-weight: 600; }
.duo { position: relative; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden; background: linear-gradient(150deg, #e8ebff, #fbe3d6 70%, #fff3c9); border: 1px solid var(--line); }
.duo svg.pattern { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
.arch { position: absolute; bottom: 0; border-radius: 999px 999px 0 0; }
.arch.a { left: 14%; width: 34%; height: 66%; background: linear-gradient(180deg, #2438d8, #5566ff); box-shadow: 0 0 0 10px rgba(36,56,216,.1); }
.arch.b { right: 14%; width: 34%; height: 54%; background: linear-gradient(180deg, #d9694a, #f1a07f); box-shadow: 0 0 0 10px rgba(217,105,74,.12); }
.arch::after { content: ""; position: absolute; left: 26%; right: 26%; top: 30%; bottom: 0; border-radius: 999px 999px 0 0; background: rgba(255,255,255,.9); }
.route { position: absolute; left: 20px; right: 20px; top: 20px; display: flex; justify-content: space-between; font-size: 12px; font-weight: 500; color: var(--ink-2); }
.route span { padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.8); border: 1px solid var(--line); backdrop-filter: blur(6px); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { padding: 18px 16px 0 0; }
.facts b { display: block; font-size: 28px; letter-spacing: -0.04em; font-weight: 600; }
.facts span { font-size: 13px; color: var(--ink-3); }

/* Principles */
.principles { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 90px 1fr 1.3fr; gap: 24px; align-items: baseline; padding: 34px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.principles li:hover { padding-left: 14px; }
.principles .n { font-size: 14px; font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; }
.principles h3 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.035em; }
.principles p { color: var(--ink-2); }

/* Paris */
.paris { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.paris::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 85% 20%, rgba(36,56,216,.55), transparent 70%),
    radial-gradient(40% 50% at 10% 100%, rgba(217,105,74,.35), transparent 70%);
}
.paris .wrap { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.paris h2 { max-width: 640px; }
.paris .lede { color: rgba(255,255,255,.7); margin-top: 22px; }
.paris .eyebrow { background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); border-color: rgba(255,255,255,.16); }
.pin-card { border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.06); backdrop-filter: blur(16px); border-radius: 24px; padding: 28px; }
.pin-card .coords { font-size: 13px; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.pin-card .city { font-size: clamp(40px, 5vw, 64px); font-weight: 600; letter-spacing: -0.05em; margin: 6px 0 20px; line-height: 1; }
.pin-card dl { margin: 0; display: grid; gap: 0; }
.pin-card dl div { display: flex; justify-content: space-between; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 15px; }
.pin-card dt { color: rgba(255,255,255,.55); }
.pin-card dd { margin: 0; font-weight: 500; }

/* CTA */
.cta { text-align: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 70% at 50% 100%, rgba(150,168,255,.45), transparent 70%), radial-gradient(35% 50% at 20% 100%, rgba(255,196,160,.5), transparent 70%); }
.cta .wrap { position: relative; }
.cta h2 { max-width: 760px; margin: 18px auto 0; }
.cta .lede { margin: 22px auto 0; }
.cta .btn { margin-top: 34px; }

/* Footer */
footer { border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
footer .frame { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; }
footer a:hover { color: var(--ink); }
footer nav { display: flex; gap: 20px; }

/* Reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.js-off .rv { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 900px) {
  .nav ul { display: none; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip > div:nth-child(2) { border-right: 0; }
  .head, .f-grid, .paris .wrap { grid-template-columns: 1fr; }
  .head { gap: 20px; align-items: start; }
  .bento { grid-template-columns: 1fr; }
  .c1, .c2, .c3, .c4 { grid-column: auto; min-height: 320px; }
  .c1 .copy, .c4 .copy { max-width: none; }
  .principles li { grid-template-columns: 44px 1fr; row-gap: 10px; }
  .principles p { grid-column: 2; }
  .facts b { font-size: 22px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .strip > div { padding: 22px 16px; font-size: 15px; }
  .stage { height: 250px; }
  .ui-side { display: none; }
  .ui { grid-template-columns: 1fr; }
  footer .frame { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .screen { animation: none; transition: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card, .principles li { transition: none; }
}
