@font-face {
  font-family: "Camillo Grotesk";
  src: url("/fonts/CamilloGrotesk-Display-460.woff") format("woff");
  font-weight: 460;
  font-display: swap;
}
@font-face {
  font-family: "Camillo Grotesk Mark";
  src: url("/fonts/CamilloGrotesk-Mark-560.woff") format("woff");
  font-weight: 560;
  font-display: swap;
}

:root {
  --navy: #080D14;
  --mist: #F0EDE5;
  --mist-soft: rgba(240, 237, 229, .72);
  --quiet: #8F98A3;
  --pale-blue: #8ECAE7;
  --copper: #D5986F;
  --f: "Camillo Grotesk", "Camillo Grotesk Mark", "Helvetica Neue", Arial, sans-serif;
  --f-mark: "Camillo Grotesk Mark", "Camillo Grotesk", "Helvetica Neue", Arial, sans-serif;
  --gutter: 24px;
  /* The C's soft light, lent to the type. Kept faint so every letter stays crisp. */
  --glow: 0 0 .45em rgba(240, 237, 229, .13), 0 0 1.4em rgba(142, 202, 231, .07);
  /* The logo gradient as the wordmark draws it on navy: pale blue on the left, warm copper
     on the right. The mid stops lean cool then warm, so the reveal never matches the mist text.
     r12 light-ground pair, if Cam prefers it: linear-gradient(90deg, #2E6A87, #A8582E). */
  --logo-gradient: linear-gradient(90deg, #7DBFE2 0%, #9EC3D9 38%, #E0B794 62%, #D08F63 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--navy); scroll-behavior: smooth; }
body {
  margin: 0;
  /* No body background: the navy lives on html so the sky canvas (z-index -1) shows. */
  color: var(--mist);
  font-family: var(--f);
  font-weight: 460;
  font-size: 1.0625rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* The living sky: dust and threads, drawn behind everything. */
.sky {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Hero: the lockup fills the first screen. */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.film {
  position: relative;
  flex: 1 1 auto;
  min-height: 56svh;
  overflow: hidden;
  /* Lighten keeps the brighter of film and page per channel. The film's ground is
     at or below the page navy, so its frame disappears and the dust shows through. */
  mix-blend-mode: lighten;
  /* Feather every edge, so the film's grain pulse never shows the box it plays in.
     The page-wide pulse on the sky canvas carries it past these edges. */
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 82%, transparent),
                      linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 82%, transparent),
              linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
}
.stage {
  position: absolute;
  left: 50%; top: 46%;
  width: min(112vw, 165svh);
  aspect-ratio: 16 / 9;
  transform: translate(-50%, -50%);
}
.film-still, .film-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
}
.film-video { opacity: 0; }
/* Cam, 29 Nov 2026: "there is still a box around the logo, when the pulse effect goes". The grain pulse lifts the
   film's ground above the page navy, so lighten showed the frame's rectangle. Feather the film itself on all four
   sides, well clear of the lockup (x 10 to 90 per cent, y 30 to 62 per cent of the frame). */
.film-still, .film-video {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 93%, transparent),
                      linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 93%, transparent),
              linear-gradient(to bottom, transparent, #000 24%, #000 76%, transparent);
  mask-composite: intersect;
}
.film.playing .film-video { opacity: 1; }

/* The copper dot of the C sits at 558 x 540 in the 1920 x 1080 frame. */
.dot-glow {
  position: absolute;
  left: 29.06%; top: 50%;
  width: 9%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(213, 152, 111, .42), rgba(213, 152, 111, .12) 45%, rgba(213, 152, 111, 0));
  opacity: 0;
  transition: opacity 1.6s ease;
  pointer-events: none;
}
.film.ended .dot-glow { opacity: 1; animation: breathe 4.8s ease-in-out 1.6s infinite; }
@keyframes breathe {
  0%, 100% { opacity: 1; }
  50% { opacity: .45; }
}

.hero-foot {
  position: relative;
  padding: 0 var(--gutter) max(9svh, 56px);
  text-align: center;
}
.headline {
  margin: 0 auto;
  font-weight: 460;
  font-size: clamp(1.75rem, 4.4vw, 3.4rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 20ch;
  text-wrap: balance;
}
/* The offer in one line under the promise, so a visitor knows the first step. */
.sub {
  margin: 1rem auto 0;
  max-width: 34ch;
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.45;
  color: var(--mist-soft);
  text-wrap: balance;
}
/* The first call to action: the same pill as the form button, so it reads as a button. */
.cue {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  gap: .5em;
  margin-top: 1.75rem;
  font-family: var(--f-mark);
  font-weight: 560;
  font-size: .9375rem;
  letter-spacing: .01em;
  color: var(--mist);
  text-decoration: none;
  padding: 0 24px;
  border: 1px solid rgba(240, 237, 229, .4);
  border-radius: 999px;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.cue:hover { background: var(--mist); color: var(--navy); border-color: var(--mist); }
.cue:focus-visible { outline: 2px solid var(--pale-blue); outline-offset: 4px; }
.cue span { display: inline-block; animation: nudge 2.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(3px); } }

/* Join */
.col {
  width: 100%;
  max-width: calc(46rem + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.join {
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding: 16svh 0;
}
h2 {
  margin: 0;
  font-weight: 460;
  font-size: clamp(3.4rem, 14.5vw, 7.2rem);
  letter-spacing: -0.035em;
  line-height: .98;
  text-wrap: balance;
}
.dot { color: var(--copper); }
.lede {
  margin: 1.5rem 0 0;
  max-width: 26rem;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  line-height: 1.4;
  color: var(--mist-soft);
}

/* Signup: a thin line of light that warms to copper on focus. */
.signup { position: relative; margin-top: 3.25rem; max-width: 36rem; }
.field { display: flex; flex-direction: column; gap: 20px; }
.input-wrap { position: relative; display: block; flex: 1; }
.field input {
  width: 100%;
  height: 60px;
  padding: 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mist);
  font: 460 clamp(1.375rem, 3.4vw, 1.75rem) / 1 var(--f);
  letter-spacing: -0.01em;
  caret-color: var(--copper);
  -webkit-appearance: none;
  appearance: none;
}
.field input::placeholder { color: rgba(240, 237, 229, .55); }
.field input:focus { outline: none; }
.line {
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(142, 202, 231, .55), rgba(240, 237, 229, .55) 50%, rgba(237, 197, 157, .55));
  transition: background .35s ease, box-shadow .35s ease;
}
.input-wrap:hover .line { background: rgba(240, 237, 229, .7); }
.input-wrap:focus-within .line {
  background: var(--copper);
  box-shadow: 0 0 10px 1px rgba(213, 152, 111, .75), 0 0 28px 2px rgba(213, 152, 111, .28);
}
.field input[aria-invalid="true"] + .line { background: #E59A8C; box-shadow: none; }

.field button {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: .6em;
  height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(240, 237, 229, .4);
  border-radius: 999px;
  background: transparent;
  color: var(--mist);
  font: 560 1rem / 1 var(--f-mark);
  letter-spacing: .005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.field button span { transition: transform .25s ease; }
.field button:hover { background: var(--mist); color: var(--navy); border-color: var(--mist); }
.field button:hover span { transform: translateX(3px); }
.field button:focus-visible { outline: 2px solid var(--pale-blue); outline-offset: 3px; }
.field button[disabled] { opacity: .55; cursor: progress; }

.msg { min-height: 1.5em; margin: 1rem 0 0; font-size: 1rem; color: var(--quiet); }
.msg.error { color: #E59A8C; }
.msg.ok { color: var(--mist); }
.signup.done .field { display: none; }
.signup.done .msg {
  margin-top: 0;
  font-size: clamp(1.5rem, 3.6vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
  animation: rise .9s ease both;
}
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.note { margin: 1.25rem 0 0; font-size: .9375rem; color: var(--quiet); }

.foot {
  display: flex;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 36px;
  font-size: .875rem;
  color: var(--quiet);
  max-width: none;
}

/* What Camillo does: the C in the middle, four parts on thin branches. */
.hub { padding: 10svh 0 4svh; }
.col-wide { max-width: calc(66rem + 2 * var(--gutter)); }
.hub-map {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hub-core { margin: 0; display: flex; flex-direction: column; align-items: center; }
.hub-mark {
  position: relative;
  display: block;
  width: clamp(10rem, 15vw, 13.5rem);
  aspect-ratio: 1;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent);
  mask-image: radial-gradient(closest-side, #000 72%, transparent);
}
.hub-mark img { display: block; width: 100%; height: 100%; }
/* The copper dot sits at 468 x 280 in the 560 px crop. Same glow as the hero's dot. */
.hub-dot {
  position: absolute;
  left: 83.6%; top: 50%;
  width: 31%; aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(213, 152, 111, .42), rgba(213, 152, 111, .12) 45%, rgba(213, 152, 111, 0));
  animation: breathe 4.8s ease-in-out infinite;
}
.part { display: flex; flex-direction: column; align-items: center; }
.branch {
  display: block;
  width: 1px; height: 36px;
  margin: 26px 0 22px;
  background: rgba(213, 152, 111, .5);
}
.part h3 {
  margin: 0;
  font-weight: 460;
  font-size: clamp(1.375rem, 1.9vw, 1.625rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.part p {
  margin: .5rem auto 0;
  max-width: 19rem;
  font-size: 1.0625rem;
  line-height: 1.45;
  color: var(--mist-soft);
  text-wrap: balance;
}

@media (min-width: 960px) {
  .hub-map {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-areas:
      "site    site    site"
      "growth  core    ai"
      "insight insight insight";
    align-items: center;
  }
  .hub-core { grid-area: core; }
  .part-site { grid-area: site; }
  .part-growth { grid-area: growth; justify-self: end; flex-direction: row-reverse; text-align: right; }
  .part-ai { grid-area: ai; justify-self: start; flex-direction: row; text-align: left; }
  .part-insight { grid-area: insight; }
  .part-site .branch { order: 2; height: 28px; margin: 18px 0 2px; }
  .part-insight .branch { height: 28px; }
  .part-insight .branch { margin: 14px 0 22px; }
  .part-growth .branch, .part-ai .branch { width: 84px; height: 1px; margin: 0 16px; }
  .part-growth .branch { margin-left: 32px; }
  .part-ai .branch { margin-right: 32px; }
  .part-growth p, .part-ai p { margin-left: 0; margin-right: 0; }
  .part-growth p { margin-left: auto; }
}

/* A gentle reveal as the map scrolls in. main.js adds .hub-anim only when motion is welcome. */
.hub-anim .hub-map > * { opacity: 0; transform: translateY(10px); transition: opacity 1s ease, transform 1s ease; }
.hub-anim .hub-map .branch { transform: scale(0); transition: transform .9s ease .35s; }
.hub-anim .hub-map.in > * { opacity: 1; transform: none; }
.hub-anim .hub-map.in .branch { transform: none; }
.hub-anim .hub-map > .part-site { transition-delay: .15s; }
.hub-anim .hub-map > .part-growth { transition-delay: .3s; }
.hub-anim .hub-map > .part-ai { transition-delay: .45s; }
.hub-anim .hub-map > .part-insight { transition-delay: .6s; }

/* The roots: Growth in a Bottle, drawn down the page as it scrolls. main.js draws the lines. */
.tree { padding: 9svh 0 4svh; }
.roots-wrap { position: relative; }
.roots {
  position: absolute; left: 0; top: 0;
  overflow: visible;
  pointer-events: none;
}
.roots path { fill: none; stroke-linecap: round; }
.node { position: relative; }
.pin {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--mist);
  box-shadow: 0 0 6px 1px rgba(142, 202, 231, .45);
}
.node-title { display: block; }
.tree-label {
  margin: 0 auto;
  line-height: 1.5;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--f-mark);
  font-weight: 560;
  font-size: .9375rem;
  letter-spacing: .02em;
  color: var(--mist-soft);
  text-align: center;
}
.tree-label .pin { background: var(--copper); box-shadow: 0 0 8px 2px rgba(213, 152, 111, .45); }
.tree-nodes { list-style: none; margin: 0; padding: 0; }
.tree .node h3 {
  margin: 0;
  font-weight: 460;
  font-size: clamp(1.25rem, 1.7vw, 1.5rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.tree .node p {
  margin: .4rem 0 0;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--mist-soft);
  text-wrap: balance;
}
.tree .leaf .node-title { font-size: 1.0625rem; line-height: 1.3; }
.tree .leaf p { font-size: .9375rem; color: var(--quiet); margin-top: .2rem; }
.tree-note { margin: 4.5rem 0 0; font-size: .875rem; color: var(--quiet); text-align: center; }

/* Phone: one column. The trunk runs down the left, leaves sit one step in. */
@media (max-width: 959px) {
  .tree-label { align-items: flex-start; flex-direction: row; gap: 0; padding-left: 0; }
  .tree-label .pin { margin: 7px 22px 0 11px; flex: none; }
  .tree-nodes { display: flex; flex-direction: column; gap: 2.25rem; margin-top: 2.75rem; }
  .node { padding-left: 34px; }
  .node .pin { position: absolute; left: 11px; top: .55em; }
  .leaf { padding-left: 58px; margin-top: -1rem; }
  .leaf .pin { left: 35px; }
  .tree .n-ai { order: -1; padding-left: 58px; margin-bottom: .5rem; }
  .tree .n-ai .pin { left: 35px; }
  .tree .n-read, .tree .n-split, .tree .n-test, .tree .n-keep { margin-top: .75rem; }
  .tree-note { text-align: left; margin-top: 3rem; }
}

/* Desktop: five columns, the trunk down the middle, roots splitting either side. */
@media (min-width: 960px) {
  .tree-label { margin-bottom: 5.5rem; }
  .tree-label .pin { margin: 0; }
  .tree-nodes {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    row-gap: 7rem;
    column-gap: 1.5rem;
    justify-items: center;
    align-items: start;
    text-align: center;
  }
  .node { max-width: 17rem; }
  .node .pin { margin: 0 auto 16px; }
  .leaf { max-width: 12rem; }
  .n-read { grid-area: 1 / 3; }
  .n-ai { grid-area: 1 / 5; }
  .n-sig1 { grid-area: 2 / 1; }
  .n-sig2 { grid-area: 2 / 2; }
  .n-sig3 { grid-area: 2 / 4; }
  .n-sig4 { grid-area: 2 / 5; }
  .n-split { grid-area: 3 / 2 / auto / span 3; }
  .n-seg1 { grid-area: 4 / 1; }
  .n-seg2 { grid-area: 4 / 3; }
  .n-seg3 { grid-area: 4 / 5; }
  .n-test { grid-area: 5 / 3; }
  .n-keep { grid-area: 6 / 3; }
  .tree .n-split { max-width: 24rem; }
  /* Inner roots reach deeper and outer roots stay shallow, so no two roots cross. */
  .n-sig2, .n-sig3 { margin-top: 3.5rem; }
}

/* Growth: nodes wait for their root. Only with motion welcome; otherwise all is drawn. */
.tree-anim .tree .node .pin { opacity: 0; transform: scale(.3); transition: opacity .5s ease, transform .6s ease; }
.tree-anim .tree .node > :not(.pin) { opacity: 0; transform: translateY(6px); transition: opacity .8s ease .1s, transform .8s ease .1s; }
.tree-anim .tree .node.on .pin, .tree-anim .tree .node.on > :not(.pin) { opacity: 1; transform: none; }
.tree-anim .tree-note { opacity: 0; transition: opacity .8s ease; }
.tree-anim .tree-note.on { opacity: 1; }

/* Three steps: numbered, a hairline each, no boxes. */
.steps { padding: 12svh 0 0; }
.steps-title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 20ch;
}
.step-list {
  list-style: none;
  margin: clamp(2.5rem, 6svh, 4rem) 0 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
}
.step-list li { border-top: 1px solid rgba(240, 237, 229, .13); padding-top: 1.25rem; }
.step-n {
  display: block;
  font-family: var(--f-mark);
  font-weight: 560;
  font-size: .9375rem;
  color: var(--pale-blue);
}
.step-list h3 {
  margin: .9rem 0 0;
  font-weight: 460;
  font-size: clamp(1.375rem, 1.9vw, 1.625rem);
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.step-list p { margin: .6rem 0 0; max-width: 22rem; font-size: 1.0625rem; line-height: 1.45; color: var(--mist-soft); }
@media (min-width: 900px) {
  .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
}

/* Glow: the faint light of the C, on every line of text. */
.headline, .sub, h2, h3, .lede, .note, .msg, .cue, .foot, .hub p, .tree .node-title, .tree p, .steps p, .step-n { text-shadow: var(--glow); }

/* Glint: a second fill, the logo gradient, fixed to the text block and seen only through
   a soft circle round the pointer. main.js adds one aria-hidden copy of the text per block. */
.glint { position: relative; }
.glint-layer { display: none; }
.glint-on .glint-layer {
  display: block;
  position: absolute; inset: 0;
  padding: inherit;
  pointer-events: none;
  -webkit-user-select: none; user-select: none;
  text-shadow: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  /* Cam, 29 Nov 2026: orange at the pointer, fading to blue further out. */
  background: radial-gradient(circle 130px at var(--mx, -999px) var(--my, -999px), #E8A06E 0%, #D08F63 22%, #C9A58C 42%, #9EC3D9 66%, #7DBFE2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-mask-image: radial-gradient(circle 130px at var(--mx, -999px) var(--my, -999px), #000 0%, #000 30%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .2) 82%, transparent 100%);
  mask-image: radial-gradient(circle 130px at var(--mx, -999px) var(--my, -999px), #000 0%, #000 30%, rgba(0, 0, 0, .6) 60%, rgba(0, 0, 0, .2) 82%, transparent 100%);
  opacity: 0;
  transition: opacity .45s ease;
}
.glint-on .glint-layer * { color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
.glint-on .glint.lit > .glint-layer { opacity: 1; transition-duration: .25s; }

@media (min-width: 640px) {
  .field { flex-direction: row; align-items: flex-end; gap: 20px; }
  .field button { align-self: auto; margin-bottom: 4px; }
}
@media (min-width: 900px) {
  :root { --gutter: 48px; }
  .stage { top: 50%; }
}

/* Phone: the page runs about ten screens before the form, so a small pill offers the way
   down once the hero has gone. main.js shows it only between the hero and the form. */
.float-cta {
  position: fixed;
  left: 50%; bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 5;
  display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(240, 237, 229, .4);
  border-radius: 999px;
  background: rgba(8, 13, 20, .86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--mist);
  font: 560 .9375rem / 1 var(--f-mark);
  text-decoration: none;
  text-shadow: var(--glow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity .35s ease, transform .35s ease;
}
.float-cta.show { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.float-cta:focus-visible { outline: 2px solid var(--pale-blue); outline-offset: 3px; }
@media (min-width: 960px) { .float-cta { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .float-cta { transition: none; }
  html { scroll-behavior: auto; }
  .cue span, .film.ended .dot-glow, .signup.done .msg, .hub-dot { animation: none; }
  .glint-layer { display: none !important; }
}
.roots .root { stroke-width: 1.1; opacity: .8; }
.roots .strand { stroke-width: .6; opacity: .35; }
.roots .tip { stroke-width: .8; opacity: .45; }

/* Cam, 29 Nov 2026: the page holds still and the tree grows as you scroll. Wide screens only, never with reduced
   motion (main.js sets .tree-pin). The section is as tall as the tree plus one screen. Its column is pinned, and the
   tree slides up inside it so the growing tip stays at 70 per cent of the screen height. */
@media (min-width: 960px) {
  .tree-pin .tree { height: calc(var(--tree-run, 0px) + 100svh); padding: 0; }
  .tree-pin .tree > .col { position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .tree-pin .roots-wrap { transform: translate3d(0, var(--tree-shift, 0px), 0); will-change: transform; }
}
