:root {
  --ink: #11120f;
  --paper: #f3f0e7;
  --paper-soft: #e9e4d7;
  --lime: #d9ff43;
  --orange: #ff8c42;
  --muted: #6f7169;
  --line: rgba(17, 18, 15, 0.16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .035;
  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='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.section-shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; text-transform: uppercase; }
.brand img { display: block; }
.brand span { display: grid; line-height: .95; letter-spacing: -.03em; }
.brand strong { font-size: 15px; }
.brand small { font-size: 11px; letter-spacing: .28em; margin-top: 6px; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a, .back-link { text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .03em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 100%; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.menu-button { display: none; border: 1px solid var(--line); border-radius: 999px; padding: 10px 15px; background: transparent; font: inherit; font-size: 12px; font-weight: 800; text-transform: uppercase; }

.hero { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 60px; padding: 48px 0 100px; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 2px; background: var(--orange); }
.hero h1 { font-size: clamp(64px, 7.4vw, 112px); line-height: .87; letter-spacing: -.075em; margin: 28px 0; max-width: 760px; }
.hero h1 em { font-style: normal; color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-lead { max-width: 650px; font-size: clamp(18px, 2vw, 23px); line-height: 1.5; color: #45473f; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { min-height: 54px; padding: 0 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(17,18,15,.18); }
.button.secondary { border: 1px solid var(--line); }
.hero-visual { min-height: 560px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; border: 1px solid rgba(17,18,15,.14); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 390px; height: 390px; }
.hero-card { position: absolute; background: var(--ink); color: var(--paper); box-shadow: 0 30px 80px rgba(17,18,15,.2); }
.card-main { width: 290px; height: 360px; border-radius: 145px 145px 34px 34px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; transform: rotate(-5deg); }
.card-main img { filter: drop-shadow(0 20px 30px rgba(217,255,67,.18)); }
.card-main span { font-size: 24px; line-height: 1.02; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; }
.mini-card { width: 130px; height: 130px; padding: 22px; border-radius: 26px; background: var(--lime); color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; }
.mini-card p { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.card-icon { font-size: 28px; }
.card-mobile { left: 0; top: 100px; transform: rotate(-8deg); }
.card-pc { right: 0; top: 70px; transform: rotate(8deg); background: var(--orange); }
.card-apps { right: 30px; bottom: 55px; transform: rotate(-5deg); background: #cfc4ff; }

.statement { display: grid; grid-template-columns: .45fr 1.55fr; gap: 60px; padding: 135px 0; border-top: 1px solid var(--line); }
.section-index { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.statement h2, .section-heading h2, .pipeline h2, .contact h2 { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: .98; letter-spacing: -.055em; }
.statement p:not(.section-index) { max-width: 850px; font-size: 22px; line-height: 1.6; color: #45473f; }

.work { padding: 130px 0; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 60px; margin-bottom: 62px; }
.section-heading h2 { max-width: 780px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.work-card { min-height: 480px; padding: 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; }
.work-card:last-child { border-right: 0; }
.work-number { font: 700 11px/1 monospace; color: var(--muted); }
.work-symbol { width: 76px; height: 76px; margin: 58px 0 72px; border-radius: 50%; background: var(--ink); color: var(--lime); display: grid; place-items: center; font-size: 34px; font-weight: 900; }
.work-card:nth-child(2) .work-symbol { background: var(--orange); color: var(--ink); }
.work-card:nth-child(3) .work-symbol { background: #cfc4ff; color: var(--ink); }
.work-card h3 { font-size: 28px; margin: 0 0 16px; letter-spacing: -.03em; }
.work-card p { margin: 0; color: #56584f; line-height: 1.65; max-width: 330px; }
.status { margin-top: auto; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

.manifesto { background: var(--ink); color: var(--paper); }
.manifesto-inner { min-height: 570px; display: grid; place-items: center; }
.manifesto p { margin: 0; max-width: 1080px; text-align: center; font-size: clamp(38px, 5vw, 72px); line-height: 1.08; font-weight: 750; letter-spacing: -.045em; }
.manifesto p::before { content: "“"; color: var(--lime); }
.manifesto p::after { content: "”"; color: var(--lime); }

.principles { padding: 140px 0; }
.principles-list { border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 100px .8fr 1fr; gap: 36px; padding: 36px 0; border-bottom: 1px solid var(--line); align-items: center; }
.principle > span { font: 700 11px/1 monospace; color: var(--muted); }
.principle h3 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.principle p { margin: 0; color: #56584f; line-height: 1.55; }

.pipeline { margin-top: 20px; margin-bottom: 140px; padding: 70px; border-radius: 42px; background: var(--lime); display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.pipeline-copy p:last-child { font-size: 18px; line-height: 1.65; max-width: 570px; }
.pipeline-copy h2 { margin: 24px 0; }
.pipeline-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.pipeline-steps div { min-height: 145px; padding: 22px; border: 1px solid rgba(17,18,15,.24); border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.pipeline-steps span { font: 700 11px/1 monospace; }
.pipeline-steps strong { font-size: 20px; }

.contact { padding: 130px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; border-top: 1px solid var(--line); }
.contact h2 { margin-top: 28px; }
.contact-box { padding: 34px; border: 1px solid var(--line); border-radius: 28px; }
.contact-box p { margin: 0 0 16px; color: var(--muted); }
.contact-box > a { display: inline-block; font-size: clamp(24px, 3vw, 40px); font-weight: 850; letter-spacing: -.04em; text-decoration-thickness: 2px; text-underline-offset: 7px; }
.company-details { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.site-footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto auto; gap: 44px; align-items: center; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { text-decoration: none; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.legal-page { background: var(--paper); }
.legal-shell { width: min(calc(100% - 48px), 860px); margin: 70px auto 140px; }
.legal-shell h1 { font-size: clamp(58px, 8vw, 104px); letter-spacing: -.07em; line-height: .9; margin: 30px 0 15px; }
.legal-updated { color: var(--muted); margin-bottom: 80px; }
.legal-shell section { padding: 30px 0; border-top: 1px solid var(--line); }
.legal-shell h2 { margin: 0 0 15px; font-size: 24px; letter-spacing: -.03em; }
.legal-shell p { font-size: 17px; line-height: 1.72; color: #494b44; }
.legal-shell strong { color: var(--ink); }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { max-width: 800px; }
  .hero-visual { min-height: 540px; }
  .statement { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--line); }
  .work-card:last-child { border-bottom: 0; }
  .work-symbol { margin: 36px 0; }
  .principle { grid-template-columns: 60px 1fr; }
  .principle p { grid-column: 2; }
  .pipeline, .contact { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 35px 0; }
  .site-footer > p { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
  .section-shell, .site-header, .legal-shell { width: min(calc(100% - 30px), var(--max)); }
  .site-header { height: 78px; }
  .menu-button { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 68px; right: 0; width: 210px; padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); flex-direction: column; align-items: stretch; gap: 0; box-shadow: 0 20px 50px rgba(17,18,15,.12); }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px; }
  .hero { min-height: auto; gap: 20px; padding-bottom: 75px; }
  .hero h1 { font-size: clamp(56px, 17vw, 84px); }
  .hero h1 em { -webkit-text-stroke-width: 1.5px; }
  .hero-visual { min-height: 460px; transform: scale(.86); margin-inline: -35px; }
  .orbit-one { width: 430px; height: 430px; }
  .orbit-two { width: 320px; height: 320px; }
  .card-main { width: 240px; height: 310px; }
  .mini-card { width: 110px; height: 110px; }
  .statement, .work, .principles, .contact { padding: 90px 0; }
  .section-heading { flex-direction: column; margin-bottom: 42px; }
  .statement p:not(.section-index) { font-size: 18px; }
  .manifesto-inner { min-height: 480px; }
  .principle { gap: 18px; }
  .pipeline { width: calc(100% - 30px); padding: 34px 20px; border-radius: 28px; margin-bottom: 90px; }
  .pipeline-steps { grid-template-columns: 1fr; }
  .pipeline-steps div { min-height: 110px; }
  .contact { gap: 42px; }
  .contact-box { padding: 22px; }
  .contact-box > a { font-size: 24px; overflow-wrap: anywhere; }
  .company-details { flex-direction: column; gap: 10px; }
  .site-footer { grid-template-columns: 1fr; gap: 20px; }
  .site-footer > p { grid-column: auto; }
  .footer-links { flex-wrap: wrap; }
  .back-link { font-size: 12px; }
  .legal-shell { margin-top: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .button, .site-nav a::after { transition: none; }
}
