:root {
  --canvas: #f3f1ec;
  --ink: #12161c;
  --muted: #5f5b53;
  --quiet: #716d65;
  --plate: #e8e4dc;
  --device: #1a1a1a;
  --mint: #d7b56d;
  --on-primary: #f3f1ec;
  --line: rgba(18, 22, 28, 0.16);
  --glass: rgba(243, 241, 236, 0.82);
  --gutter: clamp(20px, 5.5vw, 64px);
  --max: 1440px;
  --radius-24: 24px;
  --radius-28: 28px;
  --radius-36: 36px;
  --radius-pill: 999px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-24: 24px;
  --space-28: 28px;
  --space-32: 32px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: var(--space-16);
  top: 0;
  z-index: 20;
  transform: translateY(-120%);
  padding: var(--space-8) var(--space-16);
  background: var(--ink);
  color: var(--on-primary);
  border-radius: var(--radius-pill);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  transform: translateY(var(--space-12));
}

.site {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 100vh;
}

.page-home .site {
  max-width: none;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  min-height: 44px;
  padding: 12px var(--gutter);
}

.brand {
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-panel {
  position: relative;
  flex: 0 0 auto;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: var(--radius-pill);
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.links.links-desktop {
  display: none;
}

.links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-kaelo {
  gap: 8px;
}

.nav-kaelo img {
  width: 18px;
  height: 18px;
  border-radius: 5px;
}

.links a:hover,
.links a:focus-visible {
  color: var(--ink);
}

.links a.btn-primary {
  color: var(--on-primary);
}

.links a.btn-primary:hover,
.links a.btn-primary:focus-visible {
  color: var(--on-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: normal;
  text-align: center;
  box-shadow: none;
}

.btn-primary {
  background: var(--ink);
  color: var(--on-primary);
  border-color: var(--ink);
}

.btn-primary:hover {
  filter: brightness(1.12);
}

.btn-nav {
  font-size: 12px;
  min-height: 36px;
  padding: 9px 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--ink);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--space-28);
  padding: 28px var(--gutter) 40px;
  min-width: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-28);
  min-width: 0;
}

.eyebrow {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

h1 {
  font-family: var(--serif);
  font-size: clamp(2.75rem, 8vw, 80px);
  font-weight: 500;
  line-height: 0.96;
}

h2 {
  font-size: clamp(2rem, 4vw, 36px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.lede {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 18px);
  line-height: 1.4;
  overflow-wrap: break-word;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-12);
}

.about-hero {
  padding-bottom: 12px;
}

.about-prose {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  padding: 0 var(--gutter) 48px;
  max-width: 42rem;
}

.about-prose h2 {
  margin: var(--space-8) 0 0;
}

.about-prose p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.page-home .nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  background: rgba(243, 241, 236, 0.9);
  backdrop-filter: blur(12px);
}

.home-hero {
  position: relative;
  min-height: 100svh;
  min-width: 0;
  color: var(--ink);
}

.home-hero-photo {
  display: block;
  width: 100%;
  height: 62vh;
  min-height: 280px;
  object-fit: cover;
  object-position: center 44%;
}

.home-hero-scrim {
  display: none;
}

.home-hero-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-28);
  padding: 28px var(--gutter) 40px;
  background: var(--canvas);
}

.hero-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
  max-width: 36rem;
}

.kicker {
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.45;
}

.hero-pillars {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--ink);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.8;
}

.hero-card {
  width: 100%;
  max-width: 22rem;
  padding: 22px 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.hero-card > p {
  margin: 0 0 var(--space-16);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-features li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-features svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.hero-rooms {
  display: flex;
  flex-direction: column;
  gap: var(--space-28);
  width: 100%;
}

.hero-kaelo-name,
.hero-coming-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.hero-kaelo-role,
.hero-coming p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.hero-base {
  width: 100%;
  text-align: center;
}

.hero-tagline {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-subline {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-mark {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.55;
}

.hero-mark::before,
.hero-mark::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.hero-mark::before {
  margin-bottom: 8px;
}

.hero-mark::after {
  margin-top: 8px;
}

.hero-shot {
  margin: 0;
  min-height: clamp(280px, 46vw, 520px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plate);
  border-radius: var(--radius-28);
  min-width: 0;
}

.device-shell {
  width: min(100%, 240px);
  min-height: 320px;
  padding: 40px 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  background: var(--device);
  color: #ffffff;
  border-radius: var(--radius-36);
}

.device-speaker {
  width: 72px;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.16);
}

.device-name {
  margin: 16px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.device-role {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.device-score {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.device-value {
  margin: 0;
  color: var(--mint);
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
}

.device-caption {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.band {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 56px var(--gutter);
}

.band-image-first {
  grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
}

.band-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-12);
  min-width: 0;
}

.band-copy p {
  margin: 0;
  max-width: 32rem;
  width: 100%;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

.band-visual {
  margin: 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--plate);
  border-radius: var(--radius-24);
}

.visual-project .rings {
  width: min(70%, 240px);
  aspect-ratio: 1;
  position: relative;
}

.visual-project .rings span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--ink);
  border-radius: 50%;
}

.visual-project .rings span:nth-child(2) {
  inset: 18%;
  opacity: 0.7;
}

.visual-project .rings span:nth-child(3) {
  inset: 36%;
  opacity: 0.4;
}

.visual-kaelo .mini-device {
  width: min(55%, 180px);
  min-height: 240px;
  padding: 32px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  background: var(--device);
  color: #ffffff;
  border-radius: 28px;
  text-align: center;
}

.visual-kaelo .mini-device p {
  margin: 0;
}

.visual-kaelo .mini-device p:first-child {
  font-weight: 600;
}

.visual-kaelo .mini-device p:last-child {
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 40px var(--gutter) 48px;
}

.legal {
  margin: 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.4;
}

.page-kaelo {
  --canvas: #080b1c;
  --ink: #f5f7ff;
  --muted: #9aa4c7;
  --quiet: #7a84a8;
  --plate: #0d1224;
  --on-primary: #080b1c;
  --line: rgba(23, 185, 255, 0.18);
  --glass: rgba(13, 18, 36, 0.75);
}

.page-kaelo .btn-primary {
  background: #f5f7ff;
  color: var(--on-primary);
  border-color: #f5f7ff;
}

.page-kaelo .links a.btn-primary,
.page-kaelo .links a.btn-primary:hover,
.page-kaelo .links a.btn-primary:focus-visible {
  color: var(--on-primary);
}

.kaelo-hero {
  display: block;
  padding: 28px var(--gutter) 32px;
  min-width: 0;
}

.kaelo-mark {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 0 var(--space-16);
  border-radius: 24px;
}

.page-kaelo h1 {
  margin: 0 0 var(--space-16);
  font-family: var(--font);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.kaelo-motto {
  display: block;
  width: 100%;
  max-width: 38rem;
  margin: 0;
  box-sizing: border-box;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 18px);
  line-height: 1.45;
}

.kaelo-stage {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 4px var(--gutter) 64px;
  min-width: 0;
}

.kaelo-stage-shots,
.kaelo-stage-copy {
  min-width: 0;
}

.kaelo-stagger {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  width: min(100%, 340px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.kaelo-stagger li {
  width: min(200px, 62%);
  margin: 0;
}

.kaelo-stagger li:nth-child(2) {
  margin-left: 9%;
}

.kaelo-stagger li:nth-child(3) {
  margin-left: 18%;
}

.kaelo-stagger li:nth-child(4) {
  margin-left: 27%;
}

.kaelo-shot {
  margin: 0;
}

.kaelo-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.kaelo-shot figcaption {
  margin: 8px 0 0;
  color: var(--quiet);
  font-size: 13px;
  line-height: 1.3;
}

.kaelo-stage-copy {
  max-width: 38rem;
}

.kaelo-stage-copy h2 {
  margin: 0 0 12px;
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.kaelo-stage-copy p {
  margin: 0;
  max-width: 36rem;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.6;
}

.kaelo-stage-copy p + p {
  margin-top: 1.05rem;
}

.kaelo-stage-copy .kaelo-line {
  margin-top: 1.75rem;
  font-weight: 600;
  line-height: 1.45;
}

.kaelo-stage-copy .kaelo-line + p {
  margin-top: 1.75rem;
}

.kaelo-base {
  display: grid;
  gap: 28px;
  margin-top: 12px;
  padding: 28px var(--gutter) 36px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.kaelo-platforms h2 {
  margin: 0;
  max-width: 22rem;
  font-family: var(--font);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.kaelo-platform-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

.kaelo-platform-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.kaelo-platform-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: var(--ink);
}

.kaelo-platform-list p,
.kaelo-platforms > p,
.kaelo-close p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.55;
}

.kaelo-platform-list span {
  font-weight: 600;
}

.kaelo-platforms > p + p {
  margin-top: 0.9rem;
}

.kaelo-close p {
  max-width: 34rem;
}

@media (max-width: 899px) {
  .page-home .nav {
    position: relative;
  }

  .hero-features {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero-features li {
    flex-direction: row;
    text-align: left;
  }

  .band,
  .band-image-first {
    grid-template-columns: 1fr;
  }

  .band-visual {
    order: -1;
  }

  .nav-panel .links-mobile {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + var(--space-8));
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: min(220px, calc(100vw - 40px));
    padding: var(--space-8);
    background: var(--canvas);
    border: 1px solid var(--line);
    border-radius: 18px;
  }

  .nav-check:checked ~ .links-mobile {
    display: flex;
  }

  .nav-panel .links-mobile a {
    padding: 0 var(--space-12);
  }

  .hero-ctas {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas .btn {
    width: auto;
  }
}

@media (min-width: 900px) {
  .links.links-desktop {
    display: flex;
  }

  .nav-panel {
    display: none;
  }

  .home-hero {
    isolation: isolate;
  }

  .home-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100%;
    min-height: 0;
  }

  .home-hero-scrim {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(90deg, rgba(243, 241, 236, 0.9) 0%, rgba(243, 241, 236, 0.7) 38%, rgba(243, 241, 236, 0.62) 100%),
      linear-gradient(180deg, rgba(243, 241, 236, 0.42) 0%, rgba(243, 241, 236, 0.08) 24%, rgba(243, 241, 236, 0.5) 100%);
    pointer-events: none;
  }

  .home-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.7fr) minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    gap: 24px 32px;
    min-height: 100svh;
    padding: 88px var(--gutter) 36px;
    background: transparent;
  }

  .hero-brand {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-pillars {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    text-align: right;
  }

  .hero-card {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
  }

  .home-hero-photo {
    object-position: center 42%;
  }

  .hero-rooms {
    grid-column: 3;
    grid-row: 2 / 4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 28px;
    text-align: right;
    padding: 10vh 0 8vh;
  }

  .hero-base {
    grid-column: 1 / 4;
    grid-row: 4;
    align-self: end;
  }

  .hero-mark {
    grid-column: 3;
    grid-row: 4;
    justify-self: end;
    align-self: end;
    text-align: right;
    z-index: 1;
  }

  .hero-mark::before,
  .hero-mark::after {
    margin-left: auto;
  }

  .kaelo-hero {
    padding-top: 40px;
  }

  .kaelo-mark {
    width: 120px;
    height: 120px;
  }

  .kaelo-stage {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    column-gap: clamp(28px, 4vw, 56px);
    align-items: start;
    padding-top: 8px;
  }

  .kaelo-stage-copy {
    max-width: none;
    padding-top: 12px;
  }

  .kaelo-stagger {
    --phone: clamp(220px, 44%, 260px);
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    max-width: none;
  }

  .kaelo-stagger li,
  .kaelo-stagger li:nth-child(2),
  .kaelo-stagger li:nth-child(3),
  .kaelo-stagger li:nth-child(4) {
    position: relative;
    flex: 0 0 var(--phone);
    width: var(--phone);
    margin-top: 0;
    margin-left: calc((100% - (var(--phone) * 4)) / 3);
    z-index: 1;
  }

  .kaelo-stagger li:first-child {
    margin-left: 0;
  }

  .kaelo-stagger li:nth-child(2) {
    margin-top: 22px;
    z-index: 2;
  }

  .kaelo-stagger li:nth-child(3) {
    margin-top: 44px;
    z-index: 3;
  }

  .kaelo-stagger li:nth-child(4) {
    margin-top: 66px;
    z-index: 4;
  }

  .kaelo-base {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    column-gap: clamp(28px, 4vw, 64px);
    align-items: start;
  }

  .kaelo-platform-list {
    grid-template-columns: 1fr 1fr;
  }
}
