:root {
  --ink: #171b1c;
  --muted: #616b6c;
  --paper: #f4f0e8;
  --paper-deep: #e9e3d8;
  --white: #fffdf8;
  --line: rgba(23, 27, 28, 0.15);
  --orange: #ff5a1f;
  --orange-dark: #d63e08;
  --cyan: #8ce8e4;
  --cyan-deep: #1c8584;
  --green: #b7db7a;
  --radius: 24px;
  --shadow: 0 18px 60px rgba(28, 34, 35, 0.11);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}
a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--cyan-deep); outline-offset: 4px; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--ink); color: white; padding: 10px 16px; border-radius: 99px; }
.skip-link:focus { top: 12px; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.mono { font-family: "Space Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange-dark); font-weight: 700; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.site-header { position: sticky; top: 0; z-index: 15; border-bottom: 1px solid rgba(23,27,28,.1); background: rgba(244,240,232,.92); backdrop-filter: blur(16px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 850; letter-spacing: -.03em; font-size: 1.08rem; white-space: nowrap; }
.brand-mark { width: 46px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--orange); border-radius: 12px 12px 4px 12px; font-family: "Space Mono", monospace; font-size: .76rem; font-weight: 700; }
.nav-panel { display: flex; align-items: center; gap: 26px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: .89rem; font-weight: 750; color: #41494a; position: relative; }
.nav-links a::after { content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -8px; background: var(--orange); transition: right .2s ease; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { right: 0; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.lang-switch { display: flex; padding: 4px; background: var(--white); border: 1px solid var(--line); border-radius: 99px; }
.lang-switch button { border: 0; background: transparent; color: var(--muted); border-radius: 99px; padding: 7px 9px; font: 700 .7rem "Space Mono", monospace; cursor: pointer; }
.lang-switch button.active { background: var(--ink); color: white; }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); cursor: pointer; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 21px; border-radius: 999px; border: 1px solid var(--ink); font-weight: 800; text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { color: white; background: var(--ink); box-shadow: 0 8px 0 var(--orange); }
.button.primary:hover { background: #2c3233; }
.button.ghost { background: rgba(255,255,255,.3); }
.button.small { min-height: 40px; padding: 0 17px; font-size: .82rem; }
.arrow { font-size: 1.25rem; line-height: 1; }

.hero { padding: 70px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr); gap: 64px; align-items: center; }
.hero h1, .page-hero h1 { margin: 0; max-width: 890px; font-size: clamp(3rem, 7vw, 6.7rem); line-height: .94; letter-spacing: -.075em; font-weight: 850; }
.hero h1 span, .page-hero h1 span { color: var(--orange); }
.lede { max-width: 680px; margin: 26px 0 0; color: #4f595a; font-size: clamp(1.06rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 30px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .85rem; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(183,219,122,.28); }
.visual-card { position: relative; min-height: 510px; overflow: hidden; border: 1px solid var(--line); border-radius: 36px 36px 12px 36px; box-shadow: var(--shadow); background: #d8d5cd; }
.visual-card > img { width: 100%; height: 100%; min-height: 510px; object-fit: cover; filter: saturate(.82) contrast(1.04); }
.visual-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(9,13,14,.82)); }
.visual-label { position: absolute; z-index: 2; left: 22px; bottom: 22px; right: 22px; color: white; display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.visual-label strong { display: block; font-size: 1.1rem; }
.visual-label small { color: rgba(255,255,255,.7); }
.scan-corners::before, .scan-corners::after { content: ""; position: absolute; z-index: 3; width: 52px; height: 52px; border-color: var(--cyan); border-style: solid; }
.scan-corners::before { left: 18px; top: 18px; border-width: 3px 0 0 3px; }
.scan-corners::after { right: 18px; top: 18px; border-width: 3px 3px 0 0; }

.page-hero { padding: 74px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(3rem, 6.5vw, 6rem); }
.page-hero .lede { max-width: 780px; }
.breadcrumb { margin: 0 0 24px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-dark); }
.page-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 13px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.48); font-weight: 750; font-size: .78rem; }
.chip.live { background: var(--green); border-color: transparent; }
.chip.building { background: #ffd5c5; border-color: transparent; }
.chip.research { background: var(--cyan); border-color: transparent; }

.section { padding: 92px 0; }
.section.compact { padding: 64px 0; }
.section.dark { background: var(--ink); color: white; }
.section.dark .eyebrow { color: var(--cyan); }
.section.dark .section-copy, .section.dark .muted { color: #aebabb; }
.section.tint { background: var(--paper-deep); }
.section-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: end; margin-bottom: 42px; }
.section-head h2, .content-title { margin: 0; font-size: clamp(2.2rem, 4vw, 4.2rem); line-height: 1.02; letter-spacing: -.055em; }
.section-copy { color: var(--muted); max-width: 620px; margin: 0; font-size: 1.02rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { position: relative; overflow: hidden; min-height: 270px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.card h3 { margin: 22px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.card p { margin: 0; color: var(--muted); }
.card-link { display: block; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.card-link:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .number { font: 700 .78rem "Space Mono", monospace; color: var(--orange-dark); }
.mode-card { display: grid; grid-template-columns: 1fr 1fr; padding: 0; min-height: 390px; }
.mode-card img { width: 100%; height: 100%; object-fit: cover; }
.mode-card .card-body { padding: 32px; align-self: end; }
.project-card { min-height: 390px; display: flex; flex-direction: column; }
.project-card .chip { align-self: flex-start; }
.project-card h3 { font-size: 1.7rem; }
.project-card .button { margin-top: auto; align-self: flex-start; }
.project-card.accent { background: var(--ink); color: white; }
.project-card.accent p { color: #b9c3c4; }
.project-card.accent .button { color: white; border-color: rgba(255,255,255,.5); }
.brand-parent { margin: 18px 0 -12px !important; color: var(--orange-dark) !important; font: 700 .72rem "Space Mono", monospace; text-transform: uppercase; letter-spacing: .08em; }
.project-card.accent .brand-parent { color: var(--cyan) !important; }
.principle-card { min-height: 230px; background: #202526; border-color: rgba(255,255,255,.13); }
.principle-card h3 { color: white; }
.principle-card p { color: #aebabb; }
.principle-card .number { color: var(--cyan); }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; background: var(--paper-deep); font: 700 1rem "Space Mono", monospace; color: var(--orange-dark); }

.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow-step { position: relative; padding: 24px 18px; min-height: 190px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: #202526; }
.flow-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -15px; top: 50%; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: white; transform: translateY(-50%); }
.flow-step strong { display: block; margin: 28px 0 9px; font-size: 1.02rem; }
.flow-step p { color: #9eaaab; font-size: .84rem; margin: 0; }

.detail-grid { display: grid; grid-template-columns: minmax(280px,.72fr) minmax(0,1.28fr); gap: 68px; align-items: start; }
.side-index { position: sticky; top: 112px; border-top: 2px solid var(--ink); }
.side-index a { display: flex; justify-content: space-between; gap: 12px; padding: 15px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); font-weight: 700; }
.side-index a:hover { color: var(--orange-dark); }
.article-block { padding: 0 0 60px; margin: 0 0 60px; border-bottom: 1px solid var(--line); }
.article-block:last-child { border-bottom: 0; margin-bottom: 0; }
.article-block h2 { margin: 0 0 18px; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.05; letter-spacing: -.045em; }
.article-block h3 { margin: 26px 0 9px; font-size: 1.2rem; }
.article-block > p { color: var(--muted); font-size: 1.04rem; max-width: 730px; }
.feature-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.feature-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: #424b4c; }
.feature-list li::before { content: "✓"; width: 22px; height: 22px; display: grid; place-items: center; background: var(--cyan); border-radius: 50%; color: var(--ink); font-weight: 900; font-size: .72rem; }
.callout { margin-top: 30px; padding: 25px; background: var(--white); border-left: 5px solid var(--orange); border-radius: 0 18px 18px 0; }
.callout strong { display: block; margin-bottom: 6px; }
.callout p { margin: 0; color: var(--muted); }
.tech-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }

.roadmap { position: relative; max-width: 900px; margin: 0 auto; }
.roadmap::before { content: ""; position: absolute; left: 33px; top: 34px; bottom: 34px; width: 2px; background: var(--line); }
.phase { position: relative; display: grid; grid-template-columns: 68px 1fr; gap: 26px; padding-bottom: 52px; }
.phase:last-child { padding-bottom: 0; }
.phase-dot { position: relative; z-index: 2; width: 68px; height: 68px; display: grid; place-items: center; border-radius: 20px; background: var(--ink); color: white; font: 700 .88rem "Space Mono", monospace; }
.phase.current .phase-dot { background: var(--orange); }
.phase-body { padding: 8px 0; }
.phase-body h2 { margin: 0 0 8px; font-size: 1.65rem; letter-spacing: -.03em; }
.phase-body p { color: var(--muted); max-width: 680px; }
.phase-body .chip { margin-top: 8px; }

.cta { padding: 44px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; border-radius: 32px; background: var(--orange); color: white; box-shadow: 0 12px 0 var(--ink); }
.cta h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.06em; }
.cta p { margin: 18px 0 0; max-width: 600px; color: #fff2ec; }
.cta .button { justify-self: end; background: white; color: var(--ink); border-color: white; }

.site-footer { padding: 44px 0; border-top: 1px solid var(--line); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 700; font-size: .83rem; }
.footer-links a:hover { color: var(--orange-dark); }

@media (max-width: 980px) {
  .hero-grid, .section-head, .detail-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .hero h1, .page-hero h1 { max-width: 760px; }
  .visual-card, .visual-card > img { min-height: 430px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow-step { min-height: auto; }
  .flow-step:not(:last-child)::after { content: "↓"; top: auto; bottom: -20px; right: 24px; transform: none; }
  .side-index { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
}

@media (max-width: 760px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .nav-wrap { min-height: 68px; }
  .menu-button { display: grid; place-items: center; }
  .nav-panel { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 18px 20px 24px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); }
  .nav-panel.open { display: block; }
  .nav-links { align-items: stretch; flex-direction: column; gap: 0; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .lang-switch { margin-top: 16px; width: fit-content; }
  .hero { padding: 50px 0 65px; }
  .hero h1, .page-hero h1 { font-size: clamp(2.8rem, 15vw, 4.6rem); }
  .page-hero { padding: 50px 0 44px; }
  .section { padding: 70px 0; }
  .grid-2, .grid-3, .mode-card, .cta { grid-template-columns: 1fr; }
  .mode-card img { height: 250px; }
  .visual-card, .visual-card > img { min-height: 360px; }
  .project-card { min-height: 330px; }
  .side-index { grid-template-columns: 1fr; }
  .detail-grid { gap: 48px; }
  .cta { padding: 30px 24px; }
  .cta .button { justify-self: start; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
