:root {
  --ink: #11100e;
  --paper: #f2efe8;
  --paper-deep: #e5dfd3;
  --white: #fffdf8;
  --cobalt: #4d69e8;
  --cobalt-soft: #a9b5ef;
  --coral: #ff684f;
  --acid: #d6ed55;
  --line: rgba(17, 16, 14, .18);
  --shell: min(1180px, calc(100vw - 64px));
  --radius: 28px;
}

* { 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;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 16px;
  top: 12px;
  padding: 10px 16px;
  background: var(--white);
  transform: translateY(-160%);
}
.skip-link:focus { transform: none; }

.section-shell { width: var(--shell); margin-inline: auto; }
.section-space { padding-block: 132px; }

.site-header {
  width: var(--shell);
  margin: 0 auto;
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 20;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo { display: block; width: clamp(162px, 17vw, 218px); height: auto; }
.site-header .brand-logo { mix-blend-mode: multiply; }

.main-nav { display: flex; align-items: center; gap: 34px; font-weight: 750; font-size: 14px; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-contact) { border-bottom: 1px solid transparent; }
.main-nav a:not(.nav-contact):hover { border-color: currentColor; }
.nav-contact { padding: 13px 20px; border-radius: 100px; background: var(--ink); color: var(--white); }
.menu-toggle { display: none; }

.hero {
  min-height: calc(100vh - 96px);
  min-height: calc(100svh - 96px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, .95fr);
  gap: 64px;
  align-items: center;
  padding: 64px 0 94px;
}
.eyebrow, .section-number {
  margin: 0 0 26px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .19em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow > span { width: 8px; height: 8px; background: var(--coral); border-radius: 50%; box-shadow: 0 0 0 5px rgba(255, 104, 79, .15); }
.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(62px, 7.2vw, 112px);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 900;
}
.hero h1 em, .contact-inner h2 em {
  color: var(--cobalt);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.06em;
}
.hero-intro { max-width: 620px; margin: 36px 0 0; font-size: clamp(18px, 2vw, 23px); color: rgba(17,16,14,.69); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 42px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 236px;
  padding: 17px 20px;
  border-radius: 100px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary span:last-child { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: var(--acid); }
.text-link { font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.hero-system {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.hero-system::before {
  content: "";
  position: absolute;
  inset: 5% 0;
  z-index: -3;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(77,105,232,.24), rgba(77,105,232,.04) 46%, transparent 70%);
  filter: blur(8px);
}
.system-ring { position: absolute; border: 1px solid rgba(17,16,14,.17); border-radius: 50%; z-index: -1; }
.ring-one { width: 340px; height: 340px; }
.ring-two { width: 500px; height: 500px; border-style: dashed; animation: rotate 35s linear infinite; }
.system-core {
  width: 238px;
  aspect-ratio: 1.62;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(17,16,14,.14);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 30px 70px rgba(17,16,14,.25);
  transform: rotate(-4deg);
}
.system-core img { display: block; width: 100%; height: auto; }
.signal {
  position: absolute;
  width: 142px;
  padding: 17px;
  border: 1px solid rgba(17,16,14,.14);
  border-radius: 20px;
  background: rgba(255,253,248,.88);
  box-shadow: 0 15px 40px rgba(17,16,14,.08);
  backdrop-filter: blur(9px);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}
.signal span { display: block; margin-bottom: 8px; color: var(--cobalt); font-size: 9px; }
.signal-a { left: 1%; top: 9%; border-top: 3px solid var(--cobalt); }
.signal-b { right: -1%; top: 23%; border-top: 3px solid var(--acid); }
.signal-c { right: 9%; bottom: 5%; border-top: 3px solid var(--coral); }
.system-status { position: absolute; left: 10%; bottom: 15%; font-size: 9px; font-weight: 900; letter-spacing: .15em; }
.system-status i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2abb76; margin-right: 7px; box-shadow: 0 0 0 5px rgba(42,187,118,.14); }

.ticker { overflow: hidden; background: var(--ink); color: var(--white); padding: 18px 0; transform: rotate(-1deg) scale(1.02); }
.ticker-track { width: max-content; display: flex; align-items: center; gap: 28px; animation: ticker 26s linear infinite; }
.ticker span { font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.ticker i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }

.section-number { color: var(--cobalt); }
.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 90px; align-items: start; }
.intro h2, .section-heading h2, .approach h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 86px);
  line-height: .96;
  letter-spacing: -.065em;
}
.intro h2 span, .approach h2 span { color: rgba(17,16,14,.28); }
.intro-text { padding-top: 8px; font-size: clamp(19px, 2vw, 24px); }
.intro-text p { margin: 0 0 24px; }
.intro-text p:last-child { color: rgba(17,16,14,.62); }

.services { border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: .3fr 1fr; column-gap: 40px; align-items: start; margin-bottom: 70px; }
.section-heading .section-number { padding-top: 12px; }
.section-heading h2 { max-width: 900px; font-size: clamp(48px, 5.3vw, 78px); }
.service-list { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 32px;
  align-items: start;
  padding: 36px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .25s ease, padding .25s ease;
}
.service:hover { padding-inline: 24px; background: rgba(255,253,248,.55); }
.service-index { font-size: 12px; font-weight: 900; color: var(--cobalt); }
.service h3 { margin: -8px 0 8px; font-size: clamp(28px, 3vw, 44px); letter-spacing: -.045em; }
.service p { max-width: 640px; margin: 0; color: rgba(17,16,14,.64); font-size: 17px; }
.service-tag { align-self: center; padding: 8px 11px; border: 1px solid var(--line); border-radius: 100px; font-size: 9px; font-weight: 900; letter-spacing: .14em; }

.work-section { background: var(--ink); color: var(--white); overflow: hidden; position: relative; }
.work-section::before { content: ""; position: absolute; width: 700px; height: 700px; top: -300px; right: -260px; background: var(--cobalt); border-radius: 50%; filter: blur(160px); opacity: .2; }
.section-heading-light { position: relative; grid-template-columns: .3fr 1fr; }
.section-heading-light .section-number { color: var(--acid); }
.section-heading-light .heading-note { grid-column: 2; max-width: 660px; font-size: 18px; color: rgba(255,255,255,.58); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; }
.work-card {
  min-height: 500px;
  padding: 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  transition: transform .3s ease;
}
.work-card:hover { transform: translateY(-8px); }
.work-blue { background: #c8d1ff; }
.work-yellow { background: #fff0c7; }
.work-coral { background: #efb6a8; }
.work-top { display: flex; justify-content: space-between; font-size: 9px; font-weight: 900; letter-spacing: .14em; }
.work-top span:last-child { display: grid; place-items: center; width: 34px; height: 34px; margin-top: -8px; border-radius: 50%; border: 1px solid rgba(17,16,14,.25); font-size: 15px; }
.project-logo { display: block; height: auto; object-fit: contain; object-position: left center; margin: auto 0; }
.project-logo-whativr { width: min(270px, 82%); }
.project-logo-astro { width: min(240px, 80%); }
.mediums-lockup { display: flex; align-items: center; gap: 18px; margin: auto 0; }
.mediums-lockup img { width: 92px; height: 92px; object-fit: contain; }
.mediums-lockup span { font-size: clamp(30px, 3.2vw, 45px); font-weight: 950; line-height: .9; letter-spacing: -.06em; }
.work-card h3 { margin: 0 0 12px; font-size: 26px; line-height: 1.02; letter-spacing: -.045em; }
.work-card p { margin: 0; color: rgba(17,16,14,.7); }

.approach { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.steps li { display: grid; grid-template-columns: 58px 1fr; padding: 24px 0 30px; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps span { grid-row: span 2; font-size: 11px; font-weight: 900; color: var(--cobalt); }
.steps strong { font-size: 24px; letter-spacing: -.035em; }
.steps p { margin: 5px 0 0; color: rgba(17,16,14,.62); }

.contact-section { position: relative; overflow: hidden; min-height: 660px; background: var(--cobalt); color: var(--white); display: grid; place-items: center; text-align: center; }
.contact-orbit { position: absolute; width: min(780px, 90vw); aspect-ratio: 1; border: 1px solid rgba(255,255,255,.23); border-radius: 50%; }
.contact-orbit::before, .contact-orbit::after { content: ""; position: absolute; border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; inset: 12%; }
.contact-orbit::after { inset: 26%; }
.contact-inner { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding-block: 110px; }
.contact-inner .eyebrow > span { background: var(--acid); box-shadow: 0 0 0 5px rgba(214,237,85,.16); }
.contact-inner h2 { max-width: 880px; margin: 0; font-size: clamp(58px, 7vw, 104px); line-height: .9; letter-spacing: -.07em; }
.contact-inner h2 em { color: var(--acid); }
.contact-inner > p:not(.eyebrow) { max-width: 540px; margin: 30px 0; font-size: 19px; color: rgba(255,255,255,.7); }
.contact-phone { font-size: clamp(32px, 5vw, 66px); font-weight: 900; letter-spacing: -.055em; text-decoration: none; border-bottom: 2px solid rgba(255,255,255,.65); }
.contact-phone span { display: inline-block; margin-left: 14px; font-size: .48em; vertical-align: middle; }
.contact-email { margin-top: 18px; color: rgba(255,255,255,.72); text-underline-offset: 5px; }

.site-footer { min-height: 150px; padding: 36px max(32px, calc((100vw - 1180px) / 2)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 50px; background: var(--ink); color: var(--white); }
.site-footer p { margin: 0; font-size: 12px; color: rgba(255,255,255,.55); }
.brand-footer .brand-logo { width: min(220px, 50vw); }
.mobile-call { display: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes ticker { to { transform: translateX(-50%); } }

@media (max-width: 980px) {
  :root { --shell: min(100% - 40px, 760px); }
  .site-header { min-height: 78px; }
  .hero { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-system { min-height: 500px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .intro-grid, .approach { grid-template-columns: 1fr; gap: 52px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { min-height: 420px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading-light .heading-note { grid-column: 1; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 32px); --radius: 22px; }
  body { padding-bottom: 70px; }
  .section-space { padding-block: 88px; }
  .site-header { position: relative; }
  .menu-toggle { display: flex; align-items: center; gap: 10px; border: 0; background: none; font-size: 12px; font-weight: 850; }
  .menu-toggle i { display: block; width: 22px; height: 2px; background: var(--ink); box-shadow: 0 6px 0 var(--ink); transform: translateY(-3px); }
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; padding: 24px; border-radius: 18px; background: var(--white); box-shadow: 0 20px 50px rgba(17,16,14,.16); flex-direction: column; align-items: stretch; gap: 18px; }
  .main-nav.is-open { display: flex; }
  .nav-contact { text-align: center; }
  .hero { min-height: auto; padding: 76px 0 78px; gap: 30px; }
  .hero h1 { font-size: clamp(53px, 17vw, 78px); }
  .hero-intro { margin-top: 28px; font-size: 18px; }
  .hero-actions { width: 100%; flex-direction: column; gap: 20px; }
  .button { width: 100%; }
  .hero-system { min-height: 370px; transform: scale(.92); }
  .ring-one { width: 240px; height: 240px; }
  .ring-two { width: 350px; height: 350px; }
  .system-core { width: 180px; padding: 15px; border-radius: 22px; }
  .signal { width: 116px; padding: 12px; font-size: 9px; }
  .signal-a { left: -3%; top: 5%; }
  .signal-b { right: -4%; top: 19%; }
  .signal-c { right: 2%; bottom: 2%; }
  .system-status { left: 1%; bottom: 18%; font-size: 7px; }
  .intro h2, .section-heading h2, .approach h2 { font-size: 48px; }
  .intro-text { font-size: 19px; }
  .service { grid-template-columns: 45px 1fr; gap: 12px; }
  .service-tag { display: none; }
  .service h3 { font-size: 29px; }
  .service p { font-size: 15px; }
  .work-card { min-height: 430px; }
  .approach { gap: 45px; }
  .contact-section { min-height: 620px; }
  .contact-inner h2 { font-size: 56px; }
  .site-footer { grid-template-columns: 1fr; gap: 16px; padding: 38px 24px; }
  .mobile-call { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 10px; display: flex; justify-content: space-between; align-items: center; padding: 13px 18px; border-radius: 16px; background: var(--acid); color: var(--ink); text-decoration: none; box-shadow: 0 14px 40px rgba(17,16,14,.22); font-size: 12px; }
  .mobile-call strong { font-size: 16px; }
}

@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; }
}
