/* NuRoots Consulting Inc. — one-page site
   Palette: teal, green, blue, gold (client brief). No cream, no terracotta.
   Idea of the page: roots go down, growth comes up. The gold root line in
   "Your first 90 days" grows as you scroll and sprouts at each stage. */

:root {
  --ink: #0f2a3d;
  --ink-soft: #3b5367;
  --blue-800: #14395c;
  --blue-700: #1b4f7a;
  --blue-100: #e4eef6;
  --teal-900: #0a3b40;
  --teal-700: #0f6568;
  --teal-500: #1b8f86;
  --teal-100: #ddf0ee;
  --green-600: #3f9460;
  --green-500: #58aa6e;
  --green-100: #e2f2e5;
  --gold-500: #c9a23b;
  --gold-400: #d8b455;
  --gold-100: #f7efd6;
  --mist: #f1f7f6;
  --white: #ffffff;
  --line: #cfe0de;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 32px);
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-tap-highlight-color: rgba(201, 162, 59, .22); }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-700); text-underline-offset: 3px; }
a:hover { color: var(--blue-800); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left)); padding-right: max(var(--gutter), env(safe-area-inset-right)); }
a, button { touch-action: manipulation; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--gold-500); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip:focus { left: 8px; }

.nowrap { white-space: nowrap; }
.ph { background: var(--gold-100); border-bottom: 2px dashed var(--gold-500); padding: 0 .25em; color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 700 1.05rem/1 var(--font-body);
  padding: 1rem 1.6rem; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn-gold { background: var(--gold-500); color: var(--ink); }
.btn-gold:hover { background: var(--gold-400); color: var(--ink); }
.btn-gold:active { transform: translateY(1px); }
.btn-small { padding: .7rem 1.1rem; font-size: .98rem; min-height: 44px; white-space: nowrap; }
.btn-block { width: 100%; padding: 1.1rem 1.4rem; font-size: 1.15rem; }
.icon { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-btn { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 247, 246, .94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding-top: env(safe-area-inset-top);
  border-bottom: 1px solid var(--line);
}
.head-bar { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; letter-spacing: -.01em; }
.brand-text span { font-size: .875rem; color: var(--ink-soft); }
.main-nav { display: flex; gap: 26px; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { border-bottom-color: var(--gold-500); }

/* ---------- Hero ---------- */
.hero { background: var(--teal-900); color: var(--white); position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 96px); }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 7vw, 5rem); font-weight: 800; letter-spacing: -.025em; max-width: 11ch; }
.lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: #d3ebe8; max-width: 34em; margin: 1.2rem 0 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.link-light { color: var(--white); font-weight: 700; text-decoration-color: var(--gold-400); text-decoration-thickness: 2px; }
.link-light:hover { color: var(--gold-400); }
.hero-note { margin: 1.1rem 0 0; font-size: .98rem; color: #b8d8d4; }

/* Horizon mark, used as supplied; padding keeps its quarter-height clear space. */
.hero-art { justify-self: center; width: min(100%, 440px); }
.hero-mark { width: 100%; height: auto; padding: 8%; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section-white { background: var(--white); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 5vw, 52px); }
.section-head h2, .facts-intro h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.015em; margin-bottom: .5em; }
.section-head p, .facts-intro p { color: var(--ink-soft); font-size: 1.15rem; max-width: 40rem; }

/* How we help: two-column list separated by rules, not a grid of cards */
.areas { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(24px, 5vw, 64px); }
.areas li { display: flex; gap: 18px; padding-block: 24px; border-top: 1px solid var(--line); }
.areas .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--teal-100); color: var(--teal-700); }
.areas li:nth-child(3n+2) .icon { background: var(--green-100); color: var(--green-600); }
.areas li:nth-child(3n) .icon { background: var(--gold-100); color: #8a6a14; }
.areas h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .25em; }
.areas p { margin: 0; color: var(--ink-soft); max-width: 30rem; }

/* Facts */
.facts { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.facts-list { display: grid; gap: 0; }
.fact { padding-block: 24px; border-top: 1px solid var(--line); }
.fact:first-child { border-top: 0; padding-top: 0; }
.fact h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .35em; }
.fact p { margin-bottom: .6em; max-width: 36rem; }
.source, .bars figcaption { font-size: .92rem; color: var(--ink-soft); }
.source a, .bars figcaption a { color: var(--teal-700); }
.bars { margin: 1.2rem 0 0; display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: minmax(120px, 11rem) 1fr 3.4rem; align-items: center; gap: 12px; font-size: .98rem; }
.bar-track { height: 20px; background: var(--blue-100); border-radius: 999px; overflow: hidden; }
.fill { display: block; height: 100%; width: var(--w); border-radius: 999px; }
.fill-a { background: var(--teal-700); }
.fill-b { background: var(--green-500); }
.bar-val { font-weight: 700; text-align: right; }

/* Journey: the memorable element. A gold root grows down the page. */
.journey-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(28px, 6vw, 80px); align-items: start; }
.journey-head { position: sticky; top: 110px; margin-bottom: 0; }
.stops { list-style: none; position: relative; padding-left: 76px; }
.stops::before, .stops::after {
  content: ""; position: absolute; left: 23px; top: 20px; bottom: 20px; width: 6px; border-radius: 3px;
}
.stops::before { background: var(--line); }
.stops::after { background: var(--gold-500); transform-origin: top; transform: scaleY(var(--grow, 1)); }
.stop { position: relative; padding-bottom: 52px; }
.stop:last-child { padding-bottom: 0; }
.node {
  position: absolute; left: -76px; top: 0; z-index: 1; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); border: 6px solid var(--line); color: var(--white);
  transition: background-color .35s, border-color .35s;
}
.node svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.5); transition: opacity .35s, transform .35s; }
.stop.is-on .node { background: var(--green-500); border-color: var(--gold-500); }
.stop.is-on .node svg { opacity: 1; transform: none; }
.stop h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; margin: .2em 0 .3em; letter-spacing: -.01em; }
.stop > p { color: var(--ink-soft); max-width: 34rem; }
.stop ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; margin-top: .6rem; }
.stop li { position: relative; padding-left: 20px; }
.stop li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }

/* Band: free help first */
.band { background: var(--blue-800); color: var(--white); padding-block: clamp(48px, 7vw, 80px); }
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.band h2 { color: var(--white); font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.015em; padding-left: 20px; border-left: 6px solid var(--gold-500); }
.band p { color: #d6e4f0; margin-bottom: .8em; }
.band p:last-child { margin-bottom: 0; }

/* Packages */
.packs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack { background: var(--white); border: 1px solid var(--line); border-top: 8px solid var(--teal-700); border-radius: var(--radius); padding: 28px 26px; display: flex; flex-direction: column; }
.pack-green { border-top-color: var(--green-500); }
.pack-gold { border-top-color: var(--gold-500); }
.pack h3 { font-size: 1.8rem; font-weight: 800; }
.pack-tag { color: var(--ink-soft); margin: .2em 0 1em; font-weight: 700; }
.pack ul { list-style: none; display: grid; gap: 10px; margin-bottom: 1.4rem; }
.pack li { position: relative; padding-left: 22px; }
.pack li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.pack-price { margin: auto 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--teal-700); }
.carte { margin-top: 28px; padding: 26px 28px; border-radius: var(--radius); background: var(--teal-100); }
.carte h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .7em; }
.carte-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 1rem; }
.carte-list li { background: var(--white); border-radius: 999px; padding: .4rem 1rem; font-size: 1rem; }
.carte-note { margin: 0; font-weight: 700; color: var(--teal-700); }

/* About */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; grid-template-areas: "photo story" "creds story"; grid-template-rows: auto 1fr; column-gap: clamp(28px, 6vw, 72px); row-gap: 8px; align-items: start; }
.about-photo { grid-area: photo; }
.about-who { grid-area: story; }
.founder-photo { width: 168px; height: 168px; border-radius: 50%; border: 3px dashed var(--gold-500); background: var(--gold-100); display: grid; place-items: center; text-align: center; padding: 18px; font-size: .9rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.about-who h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 700; margin-bottom: .5em; }
.about-who p { max-width: 32rem; }
.about-never { background: var(--mist); border-radius: var(--radius); padding: 28px 28px 24px; border-left: 8px solid var(--gold-500); }
.about-never h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: .7em; }
.about-never ul { list-style: none; display: grid; gap: 16px; }
.about-never li { position: relative; padding-left: 26px; }
.about-never li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--teal-700); transform: rotate(45deg); }

/* Contact */
.contact { background: var(--teal-900); color: var(--white); padding-block: clamp(56px, 8vw, 96px); }
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .5em; }
.contact p { color: #d3ebe8; max-width: 32rem; }
.contact-small { font-weight: 700; color: var(--gold-400) !important; }
.contact-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px; display: grid; gap: 22px; }
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .icon { color: var(--teal-700); width: 24px; height: 24px; }
.contact-list a { color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #c4d3dd; padding-block: 44px 36px; font-size: .98rem; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-bottom: 24px; }
.brand-foot, .brand-foot .brand-text strong { color: var(--white); }
.brand-foot .brand-text span { color: #9fb3c2; }
.foot-tag { margin: 0; font-family: var(--font-display); font-size: 1.15rem; color: var(--gold-400); max-width: 28rem; }
.disclaimer { max-width: 52rem; font-size: .92rem; color: #9fb3c2; }
.copy { margin: 0; font-size: .9rem; color: #7f95a6; }

/* Founder profile (draft) */
.founder-img { width: min(320px, 100%); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid var(--gold-500); box-shadow: 0 0 0 10px var(--teal-100), 0 22px 44px -22px rgba(10, 59, 64, .55); margin: 10px auto 2.2rem; }
.my-words { margin: 1.2rem 0; padding-left: 20px; border-left: 6px solid var(--teal-500); max-width: 34rem; }
.my-words p { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; margin-bottom: .5em; }
.my-words footer { font-size: .92rem; color: var(--ink-soft); }
.about-side { grid-area: creds; }
.creds { background: var(--mist); border-radius: var(--radius); padding: 28px; }
.creds h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5em; }
.creds ul { list-style: none; display: grid; gap: 8px; margin-bottom: 1.4rem; }
.creds li { position: relative; padding-left: 22px; }
.creds li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--green-500); }
.creds-note { margin: 0; font-size: .92rem; color: var(--ink-soft); }
#about .about-never { margin-top: 28px; }

/* Community photo showcase */
.community { background: var(--teal-900); color: var(--white); padding-block: clamp(56px, 9vw, 104px); }
.community-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.community h2 { color: var(--white); font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 700; letter-spacing: -.015em; margin-bottom: .5em; }
.community-head p { color: #d3ebe8; font-size: 1.15rem; margin: 0; }
.shot { margin: 0; }
.shot img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65); }
.shot figcaption { margin-top: .8rem; padding-left: 14px; border-left: 4px solid var(--gold-500); color: #d3ebe8; font-size: .98rem; }
.shot-row { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; margin-top: clamp(32px, 5vw, 56px); }
.shot-text > p:first-child { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.3; color: var(--white); }
.shot-small { color: #b8d8d4; font-size: .92rem; margin-bottom: 1.6rem; }

/* Social links (draft) */
.social { list-style: none; display: flex; gap: 12px; margin: 0 0 24px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #3b5367; color: var(--white); }
.social a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--ink); }
.social svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero-art { width: min(80%, 320px); }
  .areas { grid-template-columns: 1fr; }
  .facts, .band-grid, .about-grid, .contact-grid, .journey-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-areas: "photo" "story" "creds"; grid-template-rows: none; row-gap: 28px; }
  .journey-head { position: static; margin-bottom: 8px; }
  .packs { grid-template-columns: 1fr; }
  .shot-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 1.0625rem; }
  .head-bar { gap: 12px; min-height: 64px; }
  .brand img { width: 40px; height: 40px; }
  .brand-text strong { font-size: 1.15rem; }
  .brand-text span { display: none; }
  .btn-small { padding: .65rem 1rem; }
  .stops { padding-left: 60px; }
  .stops::before, .stops::after { left: 15px; }
  .node { left: -60px; width: 40px; height: 40px; border-width: 5px; }
  .node svg { width: 18px; height: 18px; }
  .stop ul { grid-template-columns: 1fr; }
  .bar-row { grid-template-columns: 1fr 3.2rem; }
  .bar-label { grid-column: 1 / -1; }
  .bar-track { grid-column: 1; }
  .btn-block { font-size: 1.05rem; }
}

/* ---------- Phones and tablets ---------- */
.brand { min-height: 44px; }
.link-light { display: inline-flex; align-items: center; min-height: 44px; }
.menu-btn { display: none; }
.dock { display: none; }

@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .js .menu-btn { display: inline-flex; align-items: center; gap: 10px; min-width: 48px; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 700 1rem/1 var(--font-body); cursor: pointer; }
  .menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s; }
  .menu-lines { position: relative; }
  .menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; top: 0; }
  .menu-lines::before { transform: translateY(-6px); }
  .menu-lines::after { transform: translateY(6px); }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .menu-btn[aria-expanded="true"] .menu-lines::before { transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }
  .js .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--mist); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(10, 59, 64, .45); padding: 4px max(var(--gutter), env(safe-area-inset-right)) 14px max(var(--gutter), env(safe-area-inset-left)); max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; }
  .js .main-nav.is-open { display: flex; }
  .js .main-nav a { min-height: 52px; display: flex; align-items: center; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .js .main-nav a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .head-bar .btn-small { display: none; }
  .js .head-bar .menu-btn { margin-left: auto; }
  .hero-grid { padding-block: 32px 36px; gap: 8px; }
  .hero h1 { font-size: clamp(2.2rem, 10.5vw, 3rem); }
  .lead { font-size: 1.0625rem; margin: .9rem 0 1.3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .hero-actions .btn { width: 100%; }
  .hero-actions .link-light { align-self: center; }
  .hero-note { text-align: center; margin-top: .4rem; }
  .hero-art { width: min(64%, 240px); }
  .my-words p { font-size: 1.15rem; }
  .founder-img { width: min(280px, 82%); }
  .creds, .about-never { padding: 22px 20px; }
  .pack, .carte, .contact-card { padding: 22px 20px; }
  .shot-text .btn { width: 100%; }
  .js .dock { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px max(var(--gutter), env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left)); background: rgba(241, 247, 246, .96); border-top: 1px solid var(--line); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility 0s .25s; }
  .js .dock.is-on { transform: none; visibility: visible; transition: transform .25s; }
  .dock .btn { padding-block: .95rem; font-size: 1.05rem; }
  .site-footer { padding-bottom: calc(36px + env(safe-area-inset-bottom)); }
}

/* Any touch screen, including tablets and sideways phones */
@media (pointer: coarse) {
  .source a, .bars figcaption a { display: inline-block; padding-block: 13px; }
}

/* Phone held sideways: keep the headline and the button on the first screen */
@media (orientation: landscape) and (max-height: 500px) {
  html { scroll-padding-top: 66px; }
  .head-bar { min-height: 56px; }
  .brand img { width: 38px; height: 38px; }
  .brand-text span { display: none; }
  .hero-grid { grid-template-columns: 1.5fr .8fr; padding-block: 20px 24px; align-items: center; }
  .hero h1 { font-size: 2.1rem; max-width: none; }
  .lead { font-size: 1rem; margin: .6rem 0 .9rem; }
  .hero-note { display: none; }
  .hero-art { width: min(100%, 220px); }
  .journey-head { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
