/* thesmall.company, v3 (9 Nov 2026). The trust-anchor site, in the house style:
   Geist Sans 400/500 with hierarchy by size, the living tree-and-clouds hero (assets/v2/hero.js), and a forest sage
   and graphite palette. No photos of people.
   Copy: context/thesmall-company/site-copy-2026-11-09.md */

:root {
  --paper: #F5F6F1;     /* cool off-white */
  --card: #FBFBF8;
  --sage-tint: #E2E9DF; /* bands and the offer */
  --sage-line: #C3D0BF;
  --forest: #3D5B47;    /* forest sage: eyebrows, accents, hover. 7.0:1 on paper */
  --forest-deep: #2C4434;
  --graphite: #25292A;  /* headings, buttons, the closing band */
  --text: #383D3C;      /* body. 10.6:1 on paper */
  --mute: #5A615E;      /* secondary. 6.0:1 on paper */
  --rule: #25292A1F;
  --focus: #3D5B47;
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --t-display: clamp(38px, 4.4vw, 60px);
  --t-h2: clamp(30px, 3.2vw, 44px);
  --t-h3: clamp(20px, 1.7vw, 23px);
  --t-lead: clamp(18px, 1.45vw, 20px);
  --t-body: 17px;
  --t-small: 15px;
  --t-eyebrow: 13px;

  --wrap: 1200px;
  --measure: 36em;
  --gutter: clamp(20px, 4vw, 40px);
  --space: clamp(80px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 var(--t-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; color: var(--graphite); font-weight: 500; text-wrap: balance; }
p, ul, ol, dl { margin: 0; }
p { text-wrap: pretty; }

a { color: var(--graphite); text-decoration-color: var(--forest); text-decoration-thickness: 1.5px; text-underline-offset: 0.22em; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }


.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 20;
  padding: 12px 18px; border-radius: 999px; background: var(--graphite); color: var(--paper); font-weight: 500; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Header: floats over the hero's sky, sits on paper elsewhere */
.top { position: relative; z-index: 10; border-bottom: 1px solid var(--rule); }
.top--over { position: absolute; inset: 0 0 auto; border-bottom: 0; }
.top__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; min-height: 76px; padding-block: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--graphite); font: 500 20px/1 var(--sans); letter-spacing: -0.03em; text-decoration: none; }
.brand:hover { color: var(--graphite); }
.brand svg { width: 30px; height: 30px; flex: none; border-radius: 6px; }
.nav { display: flex; flex-wrap: wrap; gap: 2px; padding: 0; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px; font: 500 16px/1 var(--sans); text-decoration: none; transition: background-color 0.15s ease; }
.nav a:hover { background: #25292A12; color: var(--graphite); }
.nav a[aria-current="page"] { background: #25292A14; }
.nav__short { display: none; }

/* Type */
.eyebrow { display: block; margin: 0 0 14px; color: var(--forest); font: 500 var(--t-eyebrow)/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
.h1 { font-size: var(--t-display); line-height: 1.04; letter-spacing: -0.045em; }
.h2 { max-width: 22ch; font-size: var(--t-h2); line-height: 1.08; letter-spacing: -0.035em; }
.h3 { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -0.02em; }
.lead { max-width: var(--measure); margin-top: 20px; color: var(--mute); font-size: var(--t-lead); line-height: 1.55; }
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 16px; }

/* Sections: hairlines between, never boxes */
.sec { padding-block: var(--space); }
.sec + .sec { border-top: 1px solid var(--rule); }
.hero + .sec { border-top: 0; padding-top: clamp(40px, 5vw, 72px); }

/* Buttons: one pill, graphite, forest on hover */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 32px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px;
  border: 0; border-radius: 28px; background: var(--graphite); color: var(--paper);
  font: 500 16px/1.2 var(--sans); letter-spacing: -0.01em; text-align: center; text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.btn:hover { background: var(--forest); color: var(--paper); }
.btn--ghost { background: #FBFBF8CC; color: var(--graphite); box-shadow: inset 0 0 0 1.5px #25292A40; }
.btn--ghost:hover { background: var(--graphite); color: var(--paper); }
.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px #F5F6F166; }
.btn--line:hover { background: var(--paper); color: var(--graphite); }
.link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; text-decoration: underline; text-decoration-color: var(--forest); text-underline-offset: 0.3em; }
.email { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; overflow-wrap: anywhere; }

/* ---------- The living hero ---------- */
.hero { position: relative; display: grid; align-items: start; min-height: max(640px, 100svh); overflow: hidden; background: #F3D3BE; }
.scene { position: absolute; inset: 0; }
.scene__still, .scene__gl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.scene__gl { z-index: 1; opacity: 0; transition: opacity 0.8s var(--ease); }
.scene.is-live .scene__gl { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .scene__gl { display: none; } }
/* A soft paper glow behind the words, so a cloud drifting behind them never fights the type */
.scene::before { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(ellipse 66% 60% at 50% 32%, #F5F6F1E6 0%, #F5F6F1B8 48%, #F5F6F100 80%); }
/* The scene hands off to the paper of the page below */
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 14%; z-index: 2; pointer-events: none; background: linear-gradient(180deg, #F5F6F100, var(--paper)); }

.hero__in { position: relative; z-index: 3; padding-block: clamp(132px, 17vh, 176px) 120px; }
.hero__copy { display: grid; justify-items: center; max-width: 760px; margin-inline: auto; text-align: center; }
.hero .h1 { color: var(--graphite); }
.hero .lead { max-width: 34em; margin-inline: auto; color: var(--graphite); }
.hero .actions { justify-content: center; margin-top: 30px; }
.hero .eyebrow { color: var(--forest-deep); }

/* Plain page top (the accessibility statement) */
.page-top { padding-block: clamp(64px, 9vw, 112px) 0; }

/* Two doors */
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 56px; margin-top: 40px; padding: 0; list-style: none; }
.doors--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 40px; }
.door { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 22px; border-top: 2px solid var(--forest); }
.door p { max-width: 26em; color: var(--mute); }
.door__link { text-decoration: none; }
.door__link::after { content: ''; position: absolute; inset: 0; }
.door__link:focus-visible { outline: none; }
.door:focus-within { outline: 3px solid var(--focus); outline-offset: 8px; border-radius: 4px; }
.door__go { margin-top: 6px; color: var(--forest); font-weight: 500; }
.door:hover .door__go { text-decoration: underline; text-underline-offset: 0.22em; }

/* Hairline lists */
.items { display: grid; max-width: 760px; margin-top: 40px; padding: 0; list-style: none; }
.items > li { display: grid; gap: 6px; padding-block: 22px; border-top: 1px solid var(--rule); }
.items > li:last-child { border-bottom: 1px solid var(--rule); }
.items p { color: var(--mute); }
.items .h3 + p { max-width: 36em; }

/* The offer (business review) */
.offer { max-width: 760px; margin-top: 40px; padding: clamp(28px, 4vw, 44px); border-radius: 20px; background: var(--sage-tint); }
.offer__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 18px; }
.offer__price strong { color: var(--graphite); font-size: clamp(40px, 4.4vw, 56px); font-weight: 500; letter-spacing: -0.045em; line-height: 1; }
.offer__price span { color: var(--forest-deep); font-weight: 500; }
.offer .prose p { color: var(--text); }

/* Split sections: heading left, words or list right */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.split .h2 { max-width: 13ch; }
.split__body { max-width: 640px; }
.split__body.prose > p, .split__body > .prose > p { color: var(--text); font-size: var(--t-lead); line-height: 1.6; }
.split .items { margin-top: 0; }
.split .items > li:first-child { padding-top: 0; border-top: 0; }
.split .offer { margin-top: 0; margin-bottom: 32px; }
.split .offer + .items > li:first-child { padding-top: 22px; border-top: 1px solid var(--rule); }
.split__body > .eyebrow { margin: 8px 0 14px; }
.note { margin-top: 28px; color: var(--mute); }
.split .prose + .items { margin-top: 28px; }

/* About: a sage band */
.about { background: var(--sage-tint); }
.sec.about, .about + .sec { border-top: 0; }

/* Closing band: graphite, with a sage action */
.cta { background: var(--graphite); color: #D6DED4; }
.sec.cta { border-top: 0; }
.cta .eyebrow { color: #A9C2A6; }
.cta .h2 { color: var(--paper); }
.cta a { color: var(--paper); text-decoration-color: #A9C2A6; }
.cta .btn { background: #C9D8C5; color: var(--graphite); }
.cta .btn:hover { background: var(--paper); color: var(--graphite); }
.cta :focus-visible { outline-color: #C9D8C5; }
.cta .lead { color: #C8D1C7; }  /* 10.4:1 on graphite */
.cta .btn.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1.5px #F5F6F173; }
.cta .btn.btn--line:hover { background: var(--paper); color: var(--graphite); }
.cta + .foot { border-top: 0; }

/* Footer */
.foot { padding-block: 48px 56px; border-top: 1px solid var(--rule); color: var(--mute); font-size: var(--t-small); }
.foot__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 24px 48px; }
.foot address { font-style: normal; line-height: 1.75; }
.foot strong { color: var(--graphite); font-weight: 500; }
.foot ul { display: grid; gap: 2px; padding: 0; list-style: none; line-height: 2; }
.foot a { display: inline-flex; align-items: center; min-height: 32px; }

/* Statement page */
.statement h2 { margin-top: 44px; font-size: 24px; letter-spacing: -0.02em; }
.statement ul { padding-left: 1.25rem; }
.statement li + li { margin-top: 8px; }

/* Narrow or portrait: words on top, the tree in the lower part of the screen */
@media (max-width: 1000px), (max-aspect-ratio: 1/1) {
  .hero { min-height: min(100svh, 960px); }
  .hero__in { padding-block-end: min(50svh, 420px); }
  .scene__still, .scene__gl { object-position: 68% 100%; }
}
@media (max-width: 1100px) {
  .nav__full { display: none; }
  .nav__short { display: inline; }
}
@media (max-width: 900px) {
  .doors--3 { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split .h2 { max-width: 20ch; }
}
@media (max-width: 760px) {
  .doors { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .scene__still, .scene__gl { object-position: 71% 100%; }
  .hero__in { padding-top: 120px; }
  .hero .lead { font-size: 17px; line-height: 1.5; }
}
@media (max-width: 560px) {
  .nav__contact { display: none; }
}
@media (max-width: 520px) {
  .top__in { min-height: 0; }
  .hero__in { padding-top: 144px; }
  .nav a { padding: 0 10px; font-size: 15px; }
  .brand { font-size: 18px; }
  .actions .btn { width: 100%; }
  .hero .actions { justify-self: stretch; }
}
@media (max-width: 380px) {
  .nav a { padding: 0 8px; font-size: 14px; }
  .nav { margin-inline: -8px; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  .skip, .nav, .scene, .cta .btn { display: none; }
  .cta { background: none; color: #000; }
}
