/* ============================================================
   Lead with Zoe — theleadwithzoe.com
   Editorial, photographic, precise. White canvas, near-black
   grotesque type, one electric blue, hairline rules, and a thin
   blue line that lives and moves across the page.
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --bg-soft: #F4F5F3;        /* light warm-gray band */
  --ink: #101114;
  --ink-soft: #55585F;
  --ink-faint: #9A9DA6;
  --hairline: #E7E8E6;

  --blue: #2B5BFF;
  --blue-ink: #1E43D8;
  --blue-pale: #E9EEFF;
  --signal: #E8532F;         /* the small orange moment (footer arrow) */

  /* the warm thread — light moving from one room into another */
  --peach: #FFD9C4;
  --lavender: #C9C2FF;
  --sky: #C7DBFF;
  --gold: #F2B98B;
  --grad-flow: linear-gradient(100deg, var(--sky) 0%, var(--lavender) 30%, var(--peach) 62%, var(--gold) 100%);

  /* warm photographic placeholder tones (replaced by real photos in /img) */
  --warm-a: #C9BAA8;
  --warm-b: #8E8274;
  --warm-c: #5C544A;

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Inter Tight", "Inter", -apple-system, sans-serif;

  --max: 1240px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--blue); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.04; }
.display {
  font-size: clamp(52px, 7.6vw, 108px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.98;
}
.display .blue { color: var(--blue); }
.display .flow-word {
  /* stays fully saturated at every animation position — no washed-out letters */
  background: linear-gradient(95deg, #2B5BFF 0%, #5F3DF5 30%, #9A4DF0 55%, #6247F5 78%, #2B5BFF 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: flowDrift 8s ease-in-out infinite alternate;
  padding-right: 0.06em; /* keep the final letter's edge inside the clip box */
}
@keyframes flowDrift {
  from { background-position: 0% 50%; }
  to   { background-position: 100% 50%; }
}

/* ---------- Gradient flows ----------
   Soft bands of moving light — the "light moving from one room into another"
   thread. Skewed, blurred, drifting slowly. Never circles. */
.gradient-flow {
  position: absolute;
  pointer-events: none;
  background: var(--grad-flow);
  background-size: 300% 100%;
  filter: blur(30px);
  opacity: 0.62;
  border-radius: 999px;
  animation: flowSlide 16s ease-in-out infinite alternate;
  will-change: background-position, transform;
}
@keyframes flowSlide {
  from { background-position: 0% 50%; transform: var(--flow-t, rotate(-8deg)) translateX(-2%); }
  to   { background-position: 100% 50%; transform: var(--flow-t, rotate(-8deg)) translateX(2%); }
}
.section-title { font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.04em; }
.lede { font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-soft); max-width: 54ch; line-height: 1.65; }
.micro {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blue-text { color: var(--blue); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(43, 91, 255, 0.55); }
.btn-ghost { background: transparent; color: var(--ink); border-color: #D6D8D4; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
}
.text-link .arrow { color: var(--blue); transition: transform 0.3s var(--ease); }
.text-link:hover .arrow { transform: translateX(4px); }
.text-link.blue { color: var(--blue); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  padding: 16px 0;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--hairline); padding: 11px 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-decoration: none;
}
.logo em { font-style: normal; color: var(--blue); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav a:not(.btn):hover, .nav a.active { color: var(--ink); }
.nav .btn { padding: 10px 18px; font-size: 14px; }

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 42px; height: 42px;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle span { width: 20px; height: 1.6px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }
@media (max-width: 880px) {
  .menu-toggle { display: flex; }
  .nav {
    position: fixed; inset: 0;
    background: var(--bg);
    flex-direction: column; justify-content: center; gap: 26px;
    opacity: 0; pointer-events: none; z-index: -1;
    transition: opacity 0.3s ease;
  }
  .menu-open .nav { opacity: 1; pointer-events: auto; z-index: 99; }
  .nav a:not(.btn) { font-size: 24px; font-weight: 600; color: var(--ink); }
}

/* ---------- Photo slots ----------
   Every photo location is a .photo with data-photo="<name>".
   Drop /img/<name>.jpg into the project and it appears; until then a warm,
   grainy duotone placeholder holds the composition together. */
.photo {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, var(--warm-a) 0%, var(--warm-b) 55%, var(--warm-c) 100%);
  background-size: cover;
  background-position: center;
}
.photo::before {
  /* film grain */
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.045;
  pointer-events: none;
  z-index: 2;
}
.photo > .photo-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.photo.kenburns > .photo-img { animation: kenburns 24s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.1) translate3d(-1.5%, 1.5%, 0); }
}

/* per-slot photo wiring — add your real photos to /img with these names */
.photo[data-photo="hero"] > .photo-img        { background-image: url('/img/hero.jpg'); }
.photo[data-photo="curiosity"] > .photo-img   { background-image: url('/img/pillar-curiosity.jpg'); }
.photo[data-photo="building"] > .photo-img    { background-image: url('/img/pillar-building.jpg'); }
.photo[data-photo="routine"] > .photo-img     { background-image: url('/img/pillar-routine.jpg'); }
.photo[data-photo="wellness"] > .photo-img    { background-image: url('/img/pillar-wellness.jpg'); }
.photo[data-photo="home"] > .photo-img        { background-image: url('/img/pillar-home.jpg'); }
.photo[data-photo="explore"] > .photo-img     { background-image: url('/img/pillar-explore.jpg'); }
.photo[data-photo="realtime"] > .photo-img    { background-image: url('/img/realtime.jpg'); }
.photo[data-photo="about"] > .photo-img       { background-image: url('/img/about.jpg'); }

/* placeholder tint variations so adjacent slots don't look identical */
.photo.t2 { background: linear-gradient(200deg, #BFB4A4 0%, #7E7466 60%, #4E463D 100%); }
.photo.t3 { background: linear-gradient(150deg, #D2C6B4 0%, #97897A 55%, #665C50 100%); }
.photo.t4 { background: linear-gradient(170deg, #C4BBAE 0%, #857B6D 60%, #57503F 100%); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
}
.hero-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo > .photo { position: absolute; inset: 0; margin: 0; }
.hero-photo::after {
  /* the light along the diagonal — now warm and moving */
  content: "";
  position: absolute;
  top: -10%; bottom: -10%;
  left: 3%;
  width: 10%;
  background: linear-gradient(180deg, var(--sky) 0%, var(--lavender) 34%, var(--peach) 68%, rgba(255,255,255,0) 100%);
  background-size: 100% 250%;
  transform: rotate(6deg);
  filter: blur(6px);
  opacity: 0.8;
  z-index: 3;
  animation: beamDrift 9s ease-in-out infinite alternate;
}
@keyframes beamDrift {
  from { background-position: 50% 0%; opacity: 0.65; }
  to   { background-position: 50% 100%; opacity: 0.9; }
}
/* flows drifting behind the hero text */
.hero .gradient-flow.f1 {
  left: -12%; top: 12%;
  width: 60%; height: 150px;
  --flow-t: rotate(-9deg);
  opacity: 0.5;
}
.hero .gradient-flow.f2 {
  left: -6%; bottom: 9%;
  width: 48%; height: 110px;
  --flow-t: rotate(7deg);
  opacity: 0.4;
  animation-duration: 21s;
  animation-delay: -6s;
}
.hero-inner { position: relative; z-index: 4; max-width: 620px; }
.hero .lede { margin: 28px 0 14px; }
.hero-byline { font-size: 15px; color: var(--ink-soft); margin-bottom: 34px; }
.hero-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }
.hero-now {
  margin-top: 64px;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.hero-now strong { color: var(--blue); font-weight: 600; }
.hero-now .dot-sep { width: 3px; height: 3px; border-radius: 50%; background: #C6C8CD; }

@media (max-width: 980px) {
  .hero { min-height: auto; padding: 120px 0 0; display: block; }
  .hero-photo {
    position: relative;
    width: auto; height: 380px;
    margin: 48px -32px 0;
    clip-path: polygon(0 12%, 100% 0, 100% 100%, 0 100%);
  }
  .hero-photo::after { display: none; }
}

/* ---------- Sections ---------- */
section { padding: 108px 0; position: relative; }
section.tight { padding: 72px 0; }
section.band { background: var(--bg-soft); }
.section-head { margin-bottom: 52px; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.section-head .sub { color: var(--ink-soft); margin-top: 12px; font-size: 16px; max-width: 52ch; }

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* ---------- "What could be easier?" ---------- */
.easier { background: var(--bg-soft); overflow: clip; }
.easier .gradient-flow {
  right: -10%; top: -60px;
  width: 44%; height: 110px;
  --flow-t: rotate(-7deg);
  opacity: 0.42;
  animation-duration: 19s;
}
.easier .easier-grid { position: relative; z-index: 1; }
.easier-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 64px;
  align-items: start;
}
.easier-grid h2 { font-size: clamp(28px, 3.4vw, 44px); }
.ask-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1.5px solid var(--ink);
}
.ask-line .prompt {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink-faint);
}
.ask-line .prompt .typed { color: var(--ink); }
.ask-line .prompt .caret {
  display: inline-block;
  width: 2px; height: 0.9em;
  background: var(--blue);
  vertical-align: baseline;
  margin-left: 1px;
  animation: caretBlink 1.1s step-end infinite;
}
@keyframes caretBlink { 50% { opacity: 0; } }
.ask-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.ask-cta .spark { font-size: 15px; }
.easier-quick {
  display: flex; flex-wrap: wrap;
  gap: 6px 26px;
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.easier-quick a { text-decoration: none; color: var(--ink-soft); transition: color 0.2s ease; }
.easier-quick a:hover { color: var(--blue); }
.easier-quick .sep { color: #C6C8CD; }

/* the journey line: a tool → a system → a first step */
.journey { position: relative; margin-top: 64px; height: 130px; }
.journey svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.journey path { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: 0.9; }
.journey .jdot { fill: var(--blue); }
.journey .jpulse { fill: var(--blue); opacity: 0.25; }
.journey-labels {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
}
.journey-labels span {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  background: var(--bg-soft);
  padding: 3px 10px;
  transform: translateY(-34px);
}
.easier-more { text-align: center; margin-top: 40px; }

@media (max-width: 880px) {
  .easier-grid { grid-template-columns: 1fr; gap: 34px; }
  .journey { height: 110px; }
  .journey-labels span { transform: translateY(-28px); font-size: 12.5px; padding: 2px 6px; }
}

/* ---------- Pillars: I've designed my life ---------- */
.pillars-track-wrap { position: relative; }
.pillars-track {
  display: grid;
  grid-template-columns: repeat(6, minmax(180px, 1fr));
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 8px 2px 6px;
  scrollbar-width: none;
}
.pillars-track::-webkit-scrollbar { display: none; }
.pillar { scroll-snap-align: start; }
.pillar-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
}
.pillar-head .n { font-size: 13px; color: var(--blue); font-weight: 600; }
.pillar-head .t { font-size: 11.5px; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; }
.pillar .photo {
  aspect-ratio: 3 / 4.1;
  border-radius: 4px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.pillar:hover .photo { transform: translateY(-6px); box-shadow: 0 24px 44px -26px rgba(16, 17, 20, 0.45); }
.pillar figcaption {
  margin-top: 13px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.45;
  padding: 0 6px;
}
/* the blue line traveling across the photos — rides the bottom third and
   bleeds past both edges so it reads as one fluid thread */
.pillars-line {
  position: absolute;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  top: 68%;
  height: 90px;
  margin-top: -45px;
  pointer-events: none;
  z-index: 3;
}
.pillars-line svg { width: 100%; height: 100%; overflow: visible; }
.pillars-line path { fill: none; stroke: var(--blue); stroke-width: 1.5; opacity: 0.95; }
.pillars-line .ndot { fill: var(--blue); stroke: #fff; stroke-width: 2.5; }

@media (max-width: 980px) {
  .pillars-track { grid-template-columns: repeat(6, 62vw); }
  .pillars-line { display: none; }
}

/* ---------- Guide cards ---------- */
.guides-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}
.guides-rail { position: sticky; top: 120px; }
.guides-rail .sub { color: var(--ink-soft); font-size: 15.5px; margin: 14px 0 26px; }
.guide-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
/* "Ask cards" — each guide is showcased as the thought that leads to it,
   styled like a beautiful prompt. No photography required. */
.guide-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  border-radius: 10px;
  border: 1px solid var(--hairline);
  background: #fff;
  padding: 22px 24px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s ease;
}
.guide-card:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 91, 255, 0.55);
  box-shadow: 0 30px 54px -34px rgba(16, 17, 20, 0.35);
}
.guide-card .g-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 26px;
}
.guide-card .chip {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--blue-pale);
  color: var(--blue);
  border-radius: 4px;
  padding: 5px 9px;
}
.guide-card .chip.hot { background: var(--blue); color: #fff; }
.guide-card .g-min { font-size: 12.5px; color: var(--ink-faint); }
.guide-card .g-ask {
  font-family: var(--font-display);
  font-size: clamp(21px, 1.9vw, 26px);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: auto;
  max-width: 20ch;
}
.guide-card .g-ask .caret {
  display: inline-block;
  width: 2px; height: 0.85em;
  background: var(--blue);
  vertical-align: baseline;
  margin-left: 3px;
  animation: caretBlink 1.1s step-end infinite;
}
.guide-card .g-answer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.guide-card .g-answer .lab {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 5px;
}
.guide-card .g-title {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}
.guide-card .g-go {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--blue);
  transition: transform 0.35s var(--ease), background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  align-self: center;
}
.guide-card:hover .g-go { transform: translateX(4px); background: var(--blue); border-color: var(--blue); color: #fff; }
/* featured: ink card, paper text */
.guide-card.tall { grid-row: span 2; min-height: 100%; background: var(--ink); border-color: var(--ink); color: #fff; }
.guide-card.tall .g-ask { color: #fff; font-size: clamp(26px, 2.4vw, 36px); max-width: 18ch; }
.guide-card.tall .g-min { color: rgba(255, 255, 255, 0.5); }
.guide-card.tall .g-answer { border-top-color: rgba(255, 255, 255, 0.16); }
.guide-card.tall .g-answer .lab { color: rgba(255, 255, 255, 0.45); }
.guide-card.tall .g-title { color: #fff; }
.guide-card.tall .g-go { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.guide-card.tall:hover { border-color: var(--blue); }

/* text-only guide row (index page, articles without photos) */
.guide-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 26px;
  padding: 26px 2px;
  border-top: 1px solid var(--hairline);
  text-decoration: none;
  transition: background 0.2s ease, padding-left 0.35s var(--ease);
}
.guide-row:last-child { border-bottom: 1px solid var(--hairline); }
.guide-row:hover { padding-left: 12px; background: linear-gradient(90deg, var(--bg-soft), transparent 70%); }
.guide-row .r-cat { flex: 0 0 110px; font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); }
.guide-row .r-title { flex: 1; font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; }
.guide-row .r-desc { display: block; font-family: var(--font); font-size: 14.5px; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); margin-top: 7px; max-width: 62ch; }
.guide-row .r-meta { flex: 0 0 auto; font-size: 13px; color: var(--ink-faint); display: flex; align-items: center; gap: 14px; }
.guide-row .r-meta .arrow { color: var(--blue); font-size: 16px; transition: transform 0.3s var(--ease); }
.guide-row:hover .r-meta .arrow { transform: translateX(4px); }

@media (max-width: 980px) {
  .guides-layout { grid-template-columns: 1fr; gap: 36px; }
  .guides-rail { position: static; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-card.tall { grid-row: span 1; min-height: 340px; }
  .guide-row { flex-wrap: wrap; gap: 8px 20px; }
  .guide-row .r-cat { flex-basis: 100%; }
  .guide-row .r-meta { margin-left: auto; }
}

/* ---------- Building in real time ---------- */
.realtime-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.realtime-grid .photo { aspect-ratio: 4 / 3.4; border-radius: 6px; }
.realtime-list { list-style: none; margin-top: 26px; }
.realtime-list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 15px 2px;
  border-top: 1px solid var(--hairline);
  font-size: 15.5px;
  color: var(--ink-soft);
  transition: padding-left 0.35s var(--ease), color 0.2s ease;
}
.realtime-list li:last-child { border-bottom: 1px solid var(--hairline); }
.realtime-list li:hover { padding-left: 10px; color: var(--ink); }
.realtime-list .mini { flex-shrink: 0; font-size: 12px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); width: 84px; }
@media (max-width: 980px) {
  .realtime-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Capture band (footer CTA) ---------- */
.capture {
  border-top: 1px solid var(--hairline);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.capture .swoosh {
  position: absolute;
  left: -14%; bottom: -40px;
  width: 62%; height: 150px;
  background: linear-gradient(100deg, var(--blue) 0%, var(--lavender) 34%, var(--peach) 66%, rgba(255,255,255,0) 100%);
  background-size: 250% 100%;
  border-radius: 999px;
  filter: blur(38px);
  opacity: 0.55;
  transform: rotate(-6deg);
  animation: flowSlide 14s ease-in-out infinite alternate;
  --flow-t: rotate(-6deg);
  pointer-events: none;
}
.capture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.capture h2 { font-size: clamp(34px, 4.4vw, 58px); letter-spacing: -0.045em; }
.capture .sub { color: var(--ink-soft); font-size: 15.5px; max-width: 40ch; }
.capture-form {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 22px;
  max-width: 460px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 10px;
}
.capture-form input[type="email"] {
  flex: 1;
  font-family: inherit;
  font-size: 16px;
  border: none;
  background: transparent;
  color: var(--ink);
  outline: none;
  padding: 8px 4px;
}
.capture-form input[type="email"]::placeholder { color: var(--ink-faint); }
.capture-form button {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border: none;
  border-radius: 8px;
  background: var(--signal);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.3s var(--ease);
}
.capture-form button:hover { background: #C93F1E; transform: translateX(3px); }
.capture .form-msg { margin-top: 12px; }
@media (max-width: 880px) {
  .capture-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* ---------- Coming soon (full-width band under "real time") ---------- */
.coming-soon {
  margin-top: 64px;
  padding: 30px 36px;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: linear-gradient(115deg, #fff 48%, rgba(199, 219, 255, 0.3) 76%, rgba(255, 217, 196, 0.38) 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  position: relative;
  overflow: clip;
}
.coming-soon .cs-copy p {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 23px);
  font-weight: 550;
  letter-spacing: -0.02em;
  margin-top: 8px;
  max-width: 34ch;
  line-height: 1.3;
}
.coming-soon .cs-form { flex: 1; max-width: 420px; }
.coming-soon .capture-form { margin-top: 0; }
@media (max-width: 880px) {
  .coming-soon { flex-direction: column; align-items: flex-start; gap: 20px; padding: 26px 24px; }
  .coming-soon .cs-form { width: 100%; max-width: none; }
}

/* ---------- Instagram feed ---------- */
.insta { background: var(--bg-soft); overflow: clip; position: relative; }
.insta .gradient-flow {
  right: -10%; top: -50px;
  width: 46%; height: 110px;
  --flow-t: rotate(-6deg);
  opacity: 0.45;
}
.insta-ctas { text-align: right; }
.insta-ctas .tiktok-line { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.insta-ctas .tiktok-line a { color: var(--blue); text-decoration: none; font-weight: 550; }
.insta-ctas .tiktok-line a:hover { text-decoration: underline; }
@media (max-width: 880px) {
  .insta-ctas { text-align: left; }
}
.insta-track {
  display: grid;
  grid-template-columns: repeat(6, 322px);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 2px 10px;
  scrollbar-width: none;
  position: relative;
  z-index: 1;
}
.insta-track::-webkit-scrollbar { display: none; }
.insta-card {
  scroll-snap-align: start;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: #fff;
  aspect-ratio: 9 / 16;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.insta-card:hover { transform: translateY(-6px); box-shadow: 0 26px 48px -28px rgba(16,17,20,0.35); }
.insta-card iframe {
  /* Instagram renders the reel pillarboxed in a square media box with header
     and footer chrome. Oversize the iframe and center it so the 9:16 video
     itself fills the card and every bit of chrome/black bar crops away. */
  position: absolute;
  width: 192%;
  left: -46%;
  top: -58px;
  height: calc(100% + 420px);
  border: 0;
}
@media (max-width: 980px) {
  .insta-track { grid-template-columns: repeat(6, min(78vw, 320px)); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); padding: 56px 0 36px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; }
.footer-grid .tagline { color: var(--ink-faint); margin-top: 8px; font-size: 14px; }
.footer-nav { display: flex; gap: 70px; flex-wrap: wrap; }
.footer-nav h4 { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 13px; font-weight: 650; }
.footer-nav ul { list-style: none; display: grid; gap: 8px; }
.footer-nav a { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--blue); }
.footer-base {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--hairline);
  font-size: 13px;
  color: var(--ink-faint);
}

/* ---------- Forms (waitlist / contact) ---------- */
.form-page { padding: 170px 0 100px; }
.form-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.form-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 38px 36px;
  box-shadow: 0 30px 60px -46px rgba(16, 17, 20, 0.4);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--ink-faint); }
.field input, .field textarea, .field select {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  padding: 13px 15px;
  border-radius: 8px;
  border: 1px solid #D9DBD7;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(43, 91, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-msg { margin-top: 14px; font-size: 14px; display: none; }
.form-msg.ok { display: block; color: #157347; }
.form-msg.err { display: block; color: #C0392B; }
.form-success { text-align: center; padding: 26px 8px; }
.form-success .check {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid; place-items: center;
  font-size: 26px;
  margin: 0 auto 20px;
  animation: popIn 0.5s var(--ease);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } }

.checklist { list-style: none; display: grid; gap: 15px; margin-top: 28px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-soft); font-size: 15.5px; }
.checklist .tick {
  flex-shrink: 0;
  width: 21px; height: 21px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
@media (max-width: 980px) {
  .form-shell { grid-template-columns: 1fr; gap: 44px; }
  .form-page { padding-top: 130px; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 180px 0 64px; }
.page-hero .display { font-size: clamp(42px, 6.4vw, 84px); }
.page-hero .lede { margin-top: 24px; }
.hairline-rule { border: none; border-top: 1px solid var(--hairline); }

/* ---------- Article pages ---------- */
.article-hero { padding: 170px 0 44px; }
.article-hero .wrap { max-width: 860px; }
.article-hero h1 { font-size: clamp(34px, 4.8vw, 58px); letter-spacing: -0.04em; margin: 18px 0 16px; }
.article-hero .lede { font-size: 18px; }
.article-meta { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-faint); margin-top: 26px; }
.article-rule { max-width: 860px; margin: 0 auto; padding: 0 32px; }
.article-body { max-width: 720px; margin: 0 auto; padding: 34px 32px 80px; }
.article-body h2 { font-size: 26px; margin: 48px 0 14px; letter-spacing: -0.03em; }
.article-body h3 { font-size: 19px; margin: 34px 0 10px; }
.article-body p { margin: 0 0 18px; color: var(--ink-soft); font-size: 16.5px; line-height: 1.75; }
.article-body strong { color: var(--ink); }
.article-body a { color: var(--blue); text-decoration: none; border-bottom: 1px solid rgba(43,91,255,0.3); }
.article-body a:hover { border-color: var(--blue); }
.article-body ul, .article-body ol { margin: 0 0 20px 20px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote {
  border-left: 2px solid var(--blue);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.4;
}
.article-body .prompt-box {
  background: var(--bg-soft);
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--blue);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  white-space: pre-line;
}
.article-body .prompt-box::before {
  content: "Try this prompt";
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}
.article-next { border-top: 1px solid var(--hairline); padding: 56px 0 80px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.about-grid .photo { aspect-ratio: 3.4 / 4; border-radius: 6px; position: sticky; top: 120px; }
/* ten principles, compact boxes with line icons */
.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.principle {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: #fff;
  padding: 16px 18px;
  transition: transform 0.4s var(--ease), border-color 0.25s ease, box-shadow 0.4s var(--ease);
}
.principle:hover {
  transform: translateY(-3px);
  border-color: rgba(43, 91, 255, 0.45);
  box-shadow: 0 18px 34px -26px rgba(16, 17, 20, 0.3);
}
.principle .p-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-pale);
  color: var(--blue);
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease), background 0.25s ease;
}
.principle .p-icon svg { width: 21px; height: 21px; }
.principle:hover .p-icon { transform: rotate(-6deg) scale(1.08); background: var(--blue); color: #fff; }
.principle .p-num {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--ink-faint);
  letter-spacing: 0.08em;
}
.principle h3 {
  font-size: 15.5px;
  letter-spacing: -0.015em;
  margin: 2px 0 3px;
}
.principle p { font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
@media (max-width: 720px) {
  .principles { grid-template-columns: 1fr; }
}

.belief-list { counter-reset: belief; list-style: none; }
.belief-list li {
  counter-increment: belief;
  padding: 19px 2px;
  border-top: 1px solid var(--hairline);
  display: flex; gap: 20px; align-items: baseline;
  font-size: 16.5px;
  color: var(--ink-soft);
  transition: padding-left 0.35s var(--ease);
}
.belief-list li:last-child { border-bottom: 1px solid var(--hairline); }
.belief-list li:hover { padding-left: 10px; }
.belief-list li::before {
  content: counter(belief, decimal-leading-zero);
  font-size: 12.5px;
  font-weight: 650;
  color: var(--blue);
  flex-shrink: 0;
}
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid .photo { position: static; aspect-ratio: 4 / 3; }
}

/* ---------- The living line (shared) ---------- */
.flow-line { display: block; width: 100%; height: auto; overflow: visible; }
.flow-line path { fill: none; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; opacity: 0.9; }
.flow-line .flow-dot { fill: var(--blue); }

/* ---------- Static mode (?static=1 — debugging/screenshots) ---------- */
.static-mode *, .static-mode *::before, .static-mode *::after {
  animation: none !important;
  transition: none !important;
}
.static-mode [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .photo.kenburns > .photo-img { animation: none; }
}
