:root {
  --utility-height: 64px;
  --ink-3: #aeb8c0;
  --d-ink-3: #a7bac8;
}

.top .wrap {
  min-height: var(--utility-height);
  justify-content: space-between;
}
.top .brand svg { height: 24px; }
.top .snd { width: 44px; height: 44px; }

#landing {
  position: relative;
  isolation: isolate;
}
#landing::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: calc(-1 * var(--utility-height)) 0 auto;
  height: clamp(970px, 151svh, 1480px);
  background:
    linear-gradient(180deg, #11253616 0%, #11253612 23%, #10243642 39%, #10253685 58%, #13233099 75%, #111417 99%),
    radial-gradient(ellipse 65% 32% at 61% 59%, #e7b78d3d, transparent 100%),
    radial-gradient(ellipse 72% 48% at 37% 23%, #5494bf42, transparent 100%),
    url("assets/earth-to-home.webp") center / 100% 100% no-repeat;
  background-color: #13283b;
  background-blend-mode: normal, normal, normal, screen;
  mask-image: linear-gradient(#000 80%, transparent);
  pointer-events: none;
}
.hero {
  overflow-x: clip;
  padding-block: clamp(4px, 1vw, 12px) clamp(24px, 4vw, 48px);
  background:
    radial-gradient(ellipse 33% 25% at 51% 22%, #f5c28b35, transparent 82%),
    radial-gradient(ellipse 55% 35% at 50% 30%, #78b6df20, transparent 84%);
}
.hero .house-aura {
  background: radial-gradient(ellipse 50% 50% at center, #f1c48f5e, #92bfe22e 47%, transparent);
}
.house-btn {
  width: min(384px, 80vw, 41svh);
  aspect-ratio: 1 / .82;
}
.touch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  gap: 9px;
  margin: 0 auto;
  padding: 0 6px;
  border: 0;
  background: transparent;
  font-size: clamp(17px, 1.55vw, 19px);
  letter-spacing: .015em;
  color: #c1e9fb;
  cursor: pointer;
}
.touch::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 12px currentColor;
}
.touch:hover {
  color: #e3f5ff;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(41px, 5.45vw, 74px);
  letter-spacing: -.035em;
  margin-top: 8px;
  color: #faf6ed;
}
.hero .sub {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
  font-size: clamp(17.5px, 1.58vw, 21px);
  color: #e0e9ee;
  margin-top: 16px;
  line-height: 1.52;
}
.acts3 {
  margin-top: clamp(22px, 3vw, 36px);
  gap: clamp(12px, 3vw, 38px);
}
.act { font-size: 16.5px; gap: 10px; }
.act small { font-size: 14px; margin-top: -4px; color: #cbdbe5; }
.act .ring {
  background: #1a2e3de6;
  border-color: #bad6e34d;
}
.act[data-type] .ring {
  background: #234359;
  border-color: #a6e0fc9c;
  color: #d0edff;
  box-shadow: 0 9px 28px #0c10177a, inset 0 0 18px #76c6ee12;
}
.hero-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 10px;
  margin: 16px 0 0;
  color: #d8e5ed;
  font-size: 14px;
}
.hero-start .chip {
  min-height: 44px;
  background: #131f29bd;
  border-color: #9ad3f251;
  font-size: 15px;
  color: #ddecf4;
}
.hero-start .chip:hover { background: #193141; border-color: var(--sano-ink); }
.about { margin-top: 4px; }
.about summary { font-size: 14px; color: #b6d2e1; }
.about p { font-size: 15px; }
.sec-title { font-size: clamp(32px, 3.55vw, 48px); }
.sec-note, .card-desc, .fc { font-size: 16px; }

.talk {
  height: var(--talk-height, 100dvh);
  top: var(--talk-top, 0px);
  bottom: auto;
}
.talk-bar .snd { width: 44px; height: 44px; }
.talk-house { height: clamp(116px, 24svh, 240px); }
.talk.compact .talk-house,
.talk:has(.composer:focus-within) .talk-house {
  height: clamp(68px, 13svh, 124px);
}
.t-col { max-width: 730px; }
.chat { padding-top: 20px; }
.starter-guide { margin: 0 0 24px 36px; }
.say p { font-size: clamp(18px, 1.55vw, 20px); line-height: 1.52; }
.facts li { font-size: 16px; }
.talk .chip { font-size: 15px; min-height: 44px; }
.talk .next .chip { font-size: 14px; }
.composer input { font-size: 18px; }
.t-note { font-size: 13.5px; }
.contact .btn { justify-self: start; }
.contact h3 { font-size: 24px; }
.contact p { font-size: 16px; }

@media (max-width: 700px) {
  #landing::before { background-size: 100% 100%, 100% 100%, 100% 100%, cover; }
}
@media (max-width: 520px) {
  :root { --utility-height: 56px; }
  .hero h1 { font-size: clamp(34px, 10.6vw, 50px); }
  .acts3 { gap: clamp(4px, 2.15vw, 10px); }
  .act {
    width: min(112px, calc((100% - 18px) / 3));
    font-size: clamp(14px, 3.9vw, 16px);
    gap: 9px;
  }
  .act .ring { width: clamp(57px, 16.5vw, 68px); height: auto; aspect-ratio: 1; }
  .act small { font-size: clamp(12px, 3.4vw, 13.5px); }
  .hero-start { margin-top: 12px; }
  .talk .tbtn { gap: 5px; padding-inline: 10px; }
  .t-col { padding-inline: max(14px, env(safe-area-inset-left, 0px)) max(14px, env(safe-area-inset-right, 0px)); }
  .msg { grid-template-columns: 14px minmax(0, 1fr); column-gap: 9px; }
  .msg > .dot { width: 9px; height: 9px; }
  .starter-guide { gap: 6px; margin-left: 23px; }
  .talk .chip { padding: 8px 11px; }
}
@media (min-width: 370px) and (max-width: 520px) {
  .talk-badge { display: inline-flex; font-size: 10px; letter-spacing: .055em; gap: 5px; }
}

/* A second level of headings leads through the work below the house. */
.journey-heading .eyebrow { margin-bottom: 11px; }
.journey-heading .sec-title {
  font: 500 clamp(34px, 4.55vw, 58px)/1.02 var(--font-display);
  letter-spacing: -.038em;
  text-wrap: balance;
}
.work-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, .43fr);
  align-items: end;
  gap: 18px clamp(20px, 4vw, 52px);
}
.work-head .sec-title { max-width: 24ch; }
.work-areas {
  margin: 0 0 5px;
  color: var(--ink);
  font: 500 clamp(21px, 2.2vw, 29px)/1.13 var(--font-display);
  letter-spacing: -.024em;
}
.work-guide .rail-ctl {
  justify-content: space-between;
  gap: 4px 8px;
  margin-top: 4px;
}
@media (max-width: 850px) {
  .work-head { grid-template-columns: minmax(0, 1fr); }
  .work-guide { max-width: 420px; }
}
.field-jump {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: var(--sano-ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration-color: #78c6ee65;
  text-underline-offset: 4px;
}
.field-jump:hover { text-decoration-color: currentColor; }
.field-jump .ico, .field-ask .ico { width: 15px; height: 15px; }
.field-jump .ico { transform: rotate(90deg); }
.mission-body > .mission-lede {
  font: 400 clamp(23px, 2.55vw, 34px)/1.21 var(--font-display);
  color: var(--ink);
  letter-spacing: -.024em;
  text-wrap: pretty;
}

/* Two actual photographs sit together in the normal scroll. */
.field-proof {
  background: radial-gradient(ellipse at 27% 18%, #28628117, transparent 58%);
}
.field-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px 28px;
  margin-bottom: clamp(20px, 3.8vw, 42px);
}
.field-index, .field-meta {
  color: var(--ink-3);
  font: 500 11px/1.35 var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.field-index { padding-bottom: 3px; }
.field-roll {
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  align-items: start;
  gap: clamp(22px, 3.8vw, 46px);
}
.field-frame { min-width: 0; margin: 0; }
.field-frame:nth-child(2) { margin-top: clamp(16px, 3.3vw, 42px); }
.field-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding-top: 9px;
  border-top: 1px solid var(--rule);
}
.field-meta > span:first-child { color: var(--sano-ink); }
.field-photo {
  border-radius: 8px;
  background: var(--sheet);
}
.field-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.field-caption {
  display: grid;
  justify-items: start;
  gap: 2px;
  padding-top: 14px;
}
.field-caption h3 {
  margin: 0 0 4px;
  font: 500 clamp(22px, 2.4vw, 32px)/1.06 var(--font-display);
  letter-spacing: -.035em;
}
.field-caption p {
  margin: 0;
  max-width: 43ch;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.48;
  text-wrap: pretty;
}
.field-ask {
  min-height: 44px;
  gap: 6px;
  font-size: 14.5px;
  color: var(--sano-ink);
  text-decoration-color: #78c6ee65;
}
@media (max-width: 700px) {
  .field-head { align-items: start; flex-direction: column; }
  .field-roll { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .field-frame:nth-child(2) { margin-top: 0; }
  .field-caption { padding-top: 12px; }
  .field-caption h3 { font-size: 25px; }
}

/* Hero centred in the first screen, below the 64px header (Zak, Nov 2026) */
.hero {
  min-height: calc(100svh - 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero > .wrap { width: 100%; }

/* Character-by-character heading reveal (assets/scroll-reveal.js) */
.reveal-word { display: inline-block; white-space: nowrap; }
.reveal-char { opacity: .1; transition: opacity .12s linear; }

/* "Touch the house to talk" sits a little lower under the house (Zak, Nov 2026) */
.hero .touch { margin-top: 18px; }

/* Product cards slide sideways as the page scrolls (assets/rail-scroll.js) */
.rail-pin { position: relative; }
.rail-sticky { position: sticky; }
.rail.rail-driven { overflow-x: hidden; scroll-snap-type: none; scroll-behavior: auto; }

/* Hero headline fades in character by character on load (assets/scroll-reveal.js) */
.load-char { opacity: 0; animation: load-char .7s ease forwards; animation-delay: calc(.35s + var(--i) * 45ms); }
@keyframes load-char { from { opacity: 0; filter: blur(4px); } to { opacity: 1; filter: blur(0); } }
[data-reveal-load]:not(.is-split) { opacity: 0; animation: load-fallback 0s 2s forwards; }
@keyframes load-fallback { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { [data-reveal-load]:not(.is-split) { opacity: 1; animation: none; } }
