:root {
  color-scheme: light;
  --paper: #f4f1ea;
  --paper-deep: #e7e2d8;
  --ink: #171b20;
  --muted: #5b6269;
  --line: rgba(23, 27, 32, .18);
  --sky: #4f98bd;
  --sky-dark: #23637f;
  --coral: #e4664b;
  --white: #fff;
  --radius: 1.25rem;
  --shadow: 0 1.5rem 4rem rgba(27, 37, 44, .14);
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Iowan Old Style, Charter, "Bitstream Charter", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .28;
  pointer-events: none;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.075'/%3E%3C/svg%3E");
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: .2rem solid var(--coral); outline-offset: .25rem; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  transform: translateY(-200%);
  border-radius: .5rem;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { transform: none; }
.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--sky-dark);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section-heading { max-width: 48rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}
h1 { max-width: 12ch; margin-bottom: 1.75rem; font-size: clamp(3.5rem, 8.5vw, 7rem); }
h2 { max-width: 14ch; margin-bottom: 1.5rem; font-size: clamp(2.6rem, 6vw, 5rem); }
h3 { margin-bottom: .7rem; font-size: 1.2rem; line-height: 1.25; }
.lede { max-width: 40rem; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); }
.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.2rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .92rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }
.button--light { border-color: var(--paper); background: var(--paper); color: var(--ink); }
.button--light:hover { background: transparent; color: var(--paper); }
.text-link {
  display: inline-block;
  padding-block: .35rem;
  border-bottom: 1px solid currentColor;
  font-weight: 750;
  text-decoration: none;
}

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); }
.nav { min-height: 5rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 850; letter-spacing: -.02em; text-decoration: none; }
.brand-mark { width: 1.25rem; aspect-ratio: 1; position: relative; display: inline-block; }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; border-radius: 50%; }
.brand-mark::before { inset: 0; background: var(--sky); }
.brand-mark::after { width: 52%; height: 52%; right: -14%; bottom: -14%; background: var(--coral); border: .16rem solid var(--paper); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.nav-links a { font-size: .9rem; font-weight: 700; text-decoration: none; }
.nav-links a:not(.button):hover { color: var(--sky-dark); }
.nav-links .button { min-height: 2.7rem; padding-inline: 1rem; color: var(--white); }
.nav-links .button:hover { color: var(--ink); }

.hero { min-height: calc(100svh - 5rem); display: grid; align-items: center; padding: clamp(4.5rem, 9vw, 8rem) 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(18rem, .88fr); align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.hero-copy .lede { max-width: 34rem; }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.craft-note { display: flex; align-items: center; gap: .65rem; margin-top: 3.5rem; color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.craft-note::before { content: ""; width: 2.5rem; height: 1px; background: var(--coral); }

.device-stage { position: relative; display: grid; place-items: center; min-height: 35rem; }
.orbit { position: absolute; width: min(32rem, 100%); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; }
.orbit::before { content: ""; position: absolute; width: 1rem; aspect-ratio: 1; top: 18%; left: 4%; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 .6rem var(--paper); }
.phone {
  width: min(16.5rem, 62vw);
  padding: .55rem;
  position: relative;
  z-index: 2;
  transform: rotate(4deg);
  border: .14rem solid #0b0d0f;
  border-radius: 3rem;
  background: #090b0d;
  box-shadow: var(--shadow);
}
.phone-screen {
  min-height: 32rem;
  padding: 1.1rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2.5rem;
  background: #dbeaf1;
  color: #17384a;
}
.phone-top { width: 5.5rem; height: 1.35rem; margin: -.7rem auto 2.8rem; border-radius: 0 0 1rem 1rem; background: #090b0d; }
.phone-kicker { margin-bottom: .55rem; font-size: .68rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.phone-title { font-family: var(--serif); font-size: 2.3rem; letter-spacing: -.04em; line-height: .95; }
.label-lines { margin: 2rem 0 auto; display: grid; gap: .7rem; }
.label-line { width: 85%; height: .65rem; border-radius: 1rem; background: rgba(23, 56, 74, .16); }
.label-line:nth-child(2) { width: 63%; }
.label-line:nth-child(3) { width: 74%; }
.unlabel { margin-top: 2rem; padding: 1rem; border: 1px solid rgba(23, 56, 74, .25); border-radius: 1rem; background: rgba(255, 255, 255, .42); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }
.upcoming-tag { position: absolute; z-index: 3; right: 2%; bottom: 13%; padding: .8rem 1rem; transform: rotate(-5deg); border: 1px solid var(--ink); background: var(--paper); box-shadow: .45rem .45rem 0 var(--coral); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }

.principles { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.principle { padding: 2.4rem clamp(1.2rem, 3vw, 2.5rem); border-right: 1px solid var(--line); }
.principle:first-child { padding-left: 0; }
.principle:last-child { border: 0; }
.principle p { margin-bottom: 0; color: var(--muted); }

.build-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(3rem, 8vw, 8rem); }
.stack { display: grid; gap: 1rem; }
.build-card { padding: clamp(1.4rem, 3vw, 2rem); display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; border-top: 1px solid var(--line); }
.build-card:last-child { border-bottom: 1px solid var(--line); }
.build-icon { width: 3rem; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--sky-dark); font-family: var(--serif); font-size: 1.4rem; }
.build-card p { max-width: 34rem; margin-bottom: 0; color: var(--muted); }

.featured { background: var(--ink); color: var(--paper); }
.featured-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(17rem, .95fr); gap: clamp(3rem, 8vw, 7rem); align-items: end; }
.featured .eyebrow { color: #80c3df; }
.featured .lede { color: #bdc1c4; }
.featured-card { min-height: 28rem; padding: clamp(1.5rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: space-between; border: 1px solid rgba(244, 241, 234, .32); border-radius: var(--radius); background: #21282d; }
.featured-card-top { display: flex; justify-content: space-between; gap: 1rem; color: #aeb7bc; font-size: .8rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.featured-wordmark { max-width: 8ch; margin: 4rem 0 1.5rem; font-family: var(--serif); font-size: clamp(2.7rem, 6vw, 5rem); letter-spacing: -.05em; line-height: .82; }
.featured-wordmark em { color: #80c3df; font-weight: 400; }
.featured-card .text-link { align-self: flex-start; }

.approach-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 9vw, 9rem); align-items: start; }
.pullquote { margin: 0; padding-left: 1.5rem; border-left: .22rem solid var(--coral); font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.25; }
.approach-copy p { color: var(--muted); }
.approach-list { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.approach-list li { padding: .85rem 0; display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); font-weight: 700; }
.approach-list span { color: var(--sky-dark); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

.contact { padding: clamp(5rem, 10vw, 8rem) 0 3rem; background: var(--sky); color: #102b39; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3rem; align-items: end; }
.contact h2 { max-width: 16ch; }
.contact .lede { color: #173e51; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem; }
.footer { margin-top: 6rem; padding-top: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(16, 43, 57, .28); font-size: .82rem; font-weight: 700; }
.footer p { margin: 0; }

[data-reveal] { opacity: 0; transform: translateY(1rem); transition: opacity .65s ease, transform .65s ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (max-width: 760px) {
  .wrap { width: min(100% - 1.5rem, 40rem); }
  .nav { min-height: 4.5rem; }
  .nav-links a:not(.button) { display: none; }
  .nav-links .button { font-size: .8rem; }
  .hero { min-height: auto; }
  .hero-grid, .build-grid, .featured-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
  .device-stage { min-height: 34rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child { border-bottom: 0; }
  .build-card { padding-inline: 0; }
  .featured-grid { align-items: stretch; }
  .contact-links { justify-content: flex-start; }
  .footer { flex-direction: column; }
}

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


