@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-400.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-500.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --night: #090b10;
  --night-raised: #0f131b;
  --night-soft: #151b25;
  --surface: #1b222d;
  --surface-light: #202936;
  --text: #eef2f5;
  --text-soft: #b6c0c9;
  --text-dim: #84909c;
  --blue: #79a9c7;
  --blue-bright: #a9d1e8;
  --teal: #6faeaa;
  --violet: #8f92bd;
  --slate: #66788a;
  --line: rgba(224, 233, 240, 0.13);
  --line-strong: rgba(224, 233, 240, 0.24);
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.44);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--night);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ol, figure { margin-top: 0; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--blue-bright); color: var(--night); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--text);
  color: var(--night);
  font-weight: 600;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 4px; border-radius: 4px; }
.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;
}
.section-shell { width: var(--shell); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(224, 233, 240, 0.07);
  background: rgba(9, 11, 16, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: var(--shell);
  min-height: 74px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 22px/1 "Fraunces", Georgia, serif;
  letter-spacing: -0.02em;
}
.brand img { width: 38px; height: 38px; }
.nav-shell nav { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 34px); font-size: 12px; font-weight: 500; }
.nav-shell nav a { color: var(--text-soft); }
.nav-shell nav a:hover { color: var(--text); }
.nav-cta { padding: 9px 15px; border: 1px solid var(--line-strong); border-radius: 999px; }

.section-kicker, .beat-eyebrow {
  margin-bottom: 18px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
h1 { margin-bottom: 30px; font-size: clamp(60px, 7.8vw, 112px); line-height: 0.9; letter-spacing: -0.058em; }
h1 em { color: var(--blue-bright); font-style: normal; }
h2 { margin-bottom: 25px; font-size: clamp(46px, 5.3vw, 78px); line-height: 0.98; letter-spacing: -0.048em; }
h3 { margin-bottom: 12px; font-size: 29px; line-height: 1.1; letter-spacing: -0.028em; }

.hero {
  min-height: calc(100svh - 74px);
  padding: clamp(78px, 11vh, 128px) 0 86px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
}
.hero-copy { position: relative; z-index: 2; }
.hero-body { max-width: 680px; margin-bottom: 34px; color: var(--text-soft); font-size: clamp(18px, 1.6vw, 22px); line-height: 1.7; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hero-link { padding-block: 8px; font-size: 14px; }
.hero-link-primary { color: var(--text); font-weight: 600; }
.hero-link-secondary { color: var(--text-soft); font-weight: 400; }
.hero-link:hover { color: var(--blue-bright); }
.hero-visual { position: relative; min-height: 590px; margin: 0; isolation: isolate; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 4% -4% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 52% 48%, rgba(201, 177, 134, 0.16), rgba(95, 137, 255, 0.11) 34%, rgba(255, 142, 94, 0.06) 52%, transparent 72%);
  filter: blur(12px);
}
.hero-photo {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(238, 242, 245, 0.2);
  border-radius: 26px;
  background: var(--night-soft);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.42);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-window { z-index: 1; top: 8%; left: 4%; width: 43%; aspect-ratio: 0.8; transform: rotate(-4deg); }
.hero-photo-studio { z-index: 3; top: 19%; right: 2%; width: 49%; aspect-ratio: 1; transform: rotate(3deg); }
.hero-photo-bookstore { z-index: 2; right: 14%; bottom: 3%; width: 36%; aspect-ratio: 0.8; transform: rotate(7deg); }
.hero-orb {
  position: absolute;
  z-index: 5;
  left: 35%;
  bottom: 12%;
  width: clamp(112px, 26%, 148px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201, 177, 134, 0.38);
  border-radius: 50%;
  background: rgba(11, 12, 14, 0.9);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.48), 0 0 0 9px rgba(9, 11, 16, 0.5);
}
.hero-orb img { width: 88%; height: 88%; }

.story { padding: 132px 0 0; border-top: 1px solid var(--line); background: var(--night-raised); }
.story-intro { max-width: 880px; margin-bottom: 90px; }
.story-intro > p:last-child { max-width: 680px; color: var(--text-soft); font-size: 19px; }
.story-track { max-width: 820px; }
.story-beat figure { margin: 0 0 112px; }
.phone-shell {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1206 / 2622;
  margin: 0 auto 30px;
  padding: 9px;
  overflow: hidden;
  border: 1px solid rgba(224, 233, 240, 0.24);
  border-radius: 48px;
  background: #05070a;
  box-shadow: var(--shadow);
}
.phone-shell img { width: 100%; height: 100%; border-radius: 39px; object-fit: cover; }
.story-caption { max-width: 650px; margin-inline: auto; }
.story-caption h3 { max-width: 620px; margin-bottom: 0; font-size: clamp(31px, 4vw, 48px); line-height: 1.08; }
.story-closing { padding: 72px 0 132px; border-top: 1px solid var(--line); color: var(--text-soft); font: 500 clamp(26px, 3.2vw, 42px)/1.3 "Fraunces", Georgia, serif; text-align: center; }

.relationships { padding: 140px 0; }
.section-intro { max-width: 900px; margin-bottom: 64px; }
.relationship-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.relationship-grid article {
  min-height: 480px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--night-soft), #0d1118);
  overflow: hidden;
}
.relationship-grid h3 { margin-top: auto; }
.relationship-grid p { margin-bottom: 0; color: var(--text-soft); }
.card-mark { position: relative; height: 245px; margin-bottom: 50px; }
.card-mark i { position: absolute; display: block; }
.circles-mark i { border: 1px solid rgba(169, 209, 232, 0.35); border-radius: 50%; }
.circles-mark i:nth-child(1) { top: 5px; left: 14%; width: 190px; height: 190px; background: radial-gradient(circle at 40% 35%, rgba(121, 169, 199, 0.62), rgba(35, 56, 72, 0.18) 64%); }
.circles-mark i:nth-child(2) { top: 90px; left: 5%; width: 104px; height: 104px; background: rgba(111, 174, 170, 0.35); }
.circles-mark i:nth-child(3) { top: 105px; right: 4%; width: 82px; height: 82px; background: rgba(143, 146, 189, 0.34); }
.memory-mark i { width: 48%; height: 190px; top: 18px; border: 1px solid var(--line-strong); border-radius: 19px; box-shadow: 0 22px 46px rgba(0, 0, 0, 0.26); }
.memory-mark i:nth-child(1) { left: 2%; background: linear-gradient(150deg, #34515e, #17232c); transform: rotate(-7deg); }
.memory-mark i:nth-child(2) { right: 2%; background: linear-gradient(150deg, #3d4a5f, #1b2030); transform: rotate(8deg); }
.memory-mark i:nth-child(3) { left: 27%; top: 37px; background: linear-gradient(150deg, #315552, #172622); }
.capture-crop {
  overflow: hidden;
  border: 1px solid rgba(224, 233, 240, 0.2);
  border-radius: 22px;
  background: #07090d;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
}
.capture-crop img {
  position: absolute;
  left: 50%;
  width: min(360px, 92%);
  max-width: none;
  height: auto;
  transform: translateX(-50%);
}
.private-replies-crop img { top: -520px; }
.messages-mark { height: 310px; }
.messages-mark img { top: -4px; width: min(300px, 82%); }

.built { padding: 142px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c1017; }
.built-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(58px, 8vw, 120px); }
.built-heading { position: sticky; top: 128px; align-self: start; }
.built-body { max-width: 730px; }
.built-block { padding: 30px 0; display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: start; border-top: 1px solid var(--line); }
.built-block:last-child { border-bottom: 1px solid var(--line); }
.built-block h3 { margin-bottom: 9px; font-size: 25px; }
.built-block p { margin: 0; color: var(--text-soft); }
.built-graphic { width: 120px; height: 88px; }

.beta { margin-block: 138px; padding: clamp(42px, 6vw, 76px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 60px; border: 1px solid var(--line-strong); border-radius: var(--radius-xl); background: linear-gradient(140deg, #162430, #111821 54%, #151a27); overflow: hidden; }
.beta-copy { max-width: 800px; }
.beta h2 { font-size: clamp(42px, 4.7vw, 68px); }
.beta-copy > p:not(.section-kicker) { margin-bottom: 0; color: var(--text-soft); font-size: 18px; }
.beta-orb { width: 220px; height: 220px; display: grid; place-items: center; border: 1px solid rgba(169, 209, 232, 0.16); border-radius: 50%; color: var(--blue-bright); background: rgba(8, 12, 18, 0.24); }
.beta-orb img { width: 190px; filter: grayscale(1) hue-rotate(150deg) brightness(1.4); }

.faq { padding: 130px 0 150px; display: grid; grid-template-columns: 0.36fr 0.64fr; gap: 60px; }
.faq-heading { position: sticky; top: 128px; align-self: start; }
.faq-heading h2 { font-size: clamp(68px, 8vw, 116px); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { position: relative; padding: 28px 52px 28px 0; cursor: pointer; list-style: none; font: 500 24px/1.3 "Fraunces", Georgia, serif; }
summary::-webkit-details-marker { display: none; }
summary span { position: absolute; top: 27px; right: 4px; color: var(--blue); transition: transform 180ms ease; }
details[open] summary span { transform: rotate(45deg); }
details p { max-width: 700px; padding: 0 50px 30px 0; color: var(--text-soft); }

.contact { margin-bottom: 130px; padding: clamp(34px, 5vw, 54px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(121, 169, 199, 0.09), rgba(111, 174, 170, 0.035)); }
.contact h3 { margin-bottom: 10px; }
.contact p { max-width: 760px; margin: 0; color: var(--text-soft); font-size: 17px; }
.contact a { color: var(--blue-bright); font-weight: 500; }
.contact a:hover { color: var(--text); }

footer { border-top: 1px solid var(--line); background: #07090d; }
.footer-shell { width: var(--shell); min-height: 220px; margin-inline: auto; padding: 38px 0; display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.brand-footer { font-size: 20px; }
.brand-footer img { width: 34px; height: 34px; }
.footer-shell > p { margin: 0; color: var(--text-soft); font-size: 13px; }
.footer-shell nav { display: flex; gap: 22px; font-size: 11px; flex-wrap: wrap; }
.footer-shell nav a { color: var(--text-soft); }
.footer-shell nav a:hover { color: var(--text); }
.footer-shell small { grid-column: 1 / -1; padding-top: 15px; border-top: 1px solid rgba(224, 233, 240, 0.07); color: var(--text-dim); font-size: 10px; letter-spacing: 0.03em; }
.footer-shell small + small { padding-top: 0; border-top: 0; }

@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .story-enhanced .story-track {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(350px, 0.52fr);
    grid-template-rows: repeat(6, clamp(500px, 66vh, 660px));
    column-gap: clamp(70px, 10vw, 150px);
    position: relative;
  }
  .story-enhanced .story-beat,
  .story-enhanced .story-beat figure { display: contents; }
  .story-enhanced .story-caption { grid-column: 1; align-self: center; max-width: 650px; margin: 0; padding-right: 10px; opacity: 0.4; transition: opacity 180ms ease; }
  .story-enhanced .story-beat:nth-child(1) .story-caption { grid-row: 1; }
  .story-enhanced .story-beat:nth-child(2) .story-caption { grid-row: 2; }
  .story-enhanced .story-beat:nth-child(3) .story-caption { grid-row: 3; }
  .story-enhanced .story-beat:nth-child(4) .story-caption { grid-row: 4; }
  .story-enhanced .story-beat:nth-child(5) .story-caption { grid-row: 5; }
  .story-enhanced .story-beat:nth-child(6) .story-caption { grid-row: 6; }
  .story-enhanced .story-caption.is-current { opacity: 1; }
  .story-enhanced .story-frame {
    grid-column: 2;
    grid-row: 1 / 7;
    align-self: start;
    position: sticky;
    top: 112px;
    width: min(100%, 345px);
    margin: 0 auto;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 220ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .story-enhanced .story-frame.is-past { transform: translateY(-14px); }
  .story-enhanced .story-frame.is-active { z-index: 2; opacity: 1; transform: translateY(0); }
}

@media (max-width: 940px) {
  :root { --shell: min(100% - 40px, 760px); }
  .nav-shell nav a:not(:last-child) { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 100px; }
  .hero-copy { max-width: 720px; }
  .hero-visual { min-height: 540px; max-width: 620px; width: 100%; margin-inline: auto; }
  .built-grid { grid-template-columns: 1fr; gap: 32px; }
  .built-heading, .faq-heading { position: static; }
  .beta { grid-template-columns: 1fr; }
  .beta-orb { display: none; }
  .faq { grid-template-columns: 1fr; }
  .faq-heading h2 { margin-bottom: 0; }
  .footer-shell { grid-template-columns: auto 1fr; }
  .footer-shell nav { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
  :root { --shell: calc(100% - 28px); --radius-xl: 30px; --radius-lg: 24px; }
  html { scroll-padding-top: 78px; }
  body { font-size: 15px; }
  .nav-shell { min-height: 66px; }
  .brand { font-size: 19px; }
  .brand img { width: 36px; height: 36px; }
  .nav-shell nav a { display: none !important; }
  h1 { font-size: clamp(52px, 16vw, 72px); }
  h2 { font-size: clamp(41px, 12vw, 58px); }
  .hero { padding: 76px 0 62px; gap: 26px; }
  .hero-body { font-size: 17px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-visual { min-height: 430px; }
  .hero-photo { border-radius: 20px; }
  .hero-photo-window { left: 1%; width: 41%; }
  .hero-photo-studio { right: 1%; width: 51%; }
  .hero-photo-bookstore { right: 10%; width: 36%; }
  .hero-orb { left: 31%; bottom: 10%; width: 104px; }
  .story { padding-top: 92px; }
  .story-intro { margin-bottom: 64px; }
  .story-beat figure { margin-bottom: 90px; }
  .phone-shell { width: min(100%, 330px); padding: 7px; border-radius: 42px; }
  .phone-shell img { border-radius: 35px; }
  .story-caption h3 { font-size: 34px; }
  .story-closing { padding: 56px 14px 92px; }
  .relationships, .built { padding: 92px 0; }
  .section-intro { margin-bottom: 42px; }
  .relationship-grid { grid-template-columns: 1fr; }
  .relationship-grid article { min-height: 500px; padding: 24px; }
  .card-mark { position: relative; top: auto; left: auto; width: 100%; height: 245px; margin-bottom: 44px; }
  .capture-crop img { width: min(380px, 112%); }
  .private-replies-crop img { top: -554px; }
  .messages-mark img { width: min(320px, 96%); }
  .built-block { grid-template-columns: 86px 1fr; gap: 16px; }
  .built-graphic { width: 86px; height: auto; }
  .beta { margin-block: 90px; padding: 34px 24px; }
  .beta-copy > p:not(.section-kicker) { font-size: 16px; }
  .faq { padding: 88px 0 100px; gap: 14px; }
  summary { font-size: 20px; }
  details p { padding-right: 18px; }
  .footer-shell { grid-template-columns: 1fr; gap: 16px; }
  .footer-shell nav, .footer-shell small { grid-column: 1; }
  .contact { margin-bottom: 90px; padding: 30px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media print {
  .site-header { position: static; }
  body { background: #fff; color: #111; }
  .story-frame { break-inside: avoid; box-shadow: none; }
}
