/* The Carlson Collective — design system */
:root {
  --green: #172C26;
  --green-2: #1F3A32;
  --gold: #B69B68;
  --gold-ink: #7E6638;      /* gold for text on light backgrounds (AA contrast) */
  --ivory: #F4F1EA;
  --white: #FFFFFF;
  --ink: #172C26;
  --muted: #4D5C56;
  --line: rgba(23, 44, 38, .14);
  --line-dark: rgba(244, 241, 234, .16);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 11vw, 140px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7;
  color: var(--ink); background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Typography */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(42px, 6.4vw, 80px); }
h2 { font-size: clamp(34px, 4.6vw, 56px); }
h3 { font-size: clamp(24px, 2.4vw, 30px); }
h4 { font-size: 22px; }
p { margin: 0 0 1.2em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
em.accent { font-style: italic; color: var(--gold-ink); }

/* Layout */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section--white { background: var(--white); }
.section--dark { background: var(--green); color: var(--ivory); }
.section--dark .lede, .section--dark .muted { color: rgba(244, 241, 234, .75); }
.section--dark .eyebrow, .section--dark em.accent { color: var(--gold); }
.grid { display: grid; gap: clamp(28px, 4vw, 56px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.split { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; } }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.muted { color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px; justify-content: center;
  padding: 16px 28px; min-height: 52px; border-radius: var(--radius);
  font: 500 15px/1 var(--sans); letter-spacing: .04em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: #C7AE7E; }
.btn--green { background: var(--green); color: var(--ivory); }
.btn--green:hover { background: var(--green-2); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(182, 155, 104, .12); }
.textlink { font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.textlink:hover { color: var(--gold-ink); }
.section--dark .textlink:hover { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, .94);
  backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-text { line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .02em; display: block; }
.brand-tag { font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-top: 5px; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-cta { display: none; }
.nav-toggle { background: none; border: 0; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; color: var(--green); }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: background .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 22px; height: 1.5px; background: currentColor; transition: transform .25s; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; border-top: 1px solid var(--line); padding: 12px var(--gutter) 28px; background: var(--ivory); }
.nav-open .mobile-menu { display: block; }
.mobile-menu a:not(.btn) { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 24px; }
.mobile-menu .btn { margin-top: 24px; width: 100%; }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; padding: 12px 20px; min-height: 44px; }
  .nav-toggle, .mobile-menu, .nav-open .mobile-menu { display: none; }
}

/* Hero */
.hero { padding: clamp(64px, 10vw, 128px) 0 clamp(72px, 10vw, 120px); position: relative; overflow: hidden; }
.hero-grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
.hero h1 { max-width: 14ch; }
.hero .lede { margin-bottom: 36px; }
.hero-note { margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-art { max-width: 460px; width: 100%; margin: 0 auto; }
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(56px, 7vw, 88px); }
.page-hero h1 { max-width: 18ch; }

/* Network mark animation */
.net .link { stroke: var(--gold); stroke-width: 1.2; opacity: .55; stroke-dasharray: 4 6; animation: flow 6s linear infinite; }
.net .orbit { stroke: var(--gold); stroke-width: 1; fill: none; opacity: .35; }
.net .node { fill: var(--green); stroke: var(--gold); stroke-width: 1.5; }
.net .hub { fill: var(--green); stroke: var(--gold); stroke-width: 2; }
.net .glyph { stroke: var(--ivory); stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.net .star { fill: var(--ivory); }
.net .pulse { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; transform-origin: center; transform-box: fill-box; animation: pulse 4s ease-out infinite; }
@keyframes flow { to { stroke-dashoffset: -60; } }
@keyframes pulse { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(1.8); } }

/* Cards & lists */
.card { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); height: 100%; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--gold); }
.card .num { font-family: var(--serif); font-size: 15px; color: var(--gold-ink); letter-spacing: .1em; margin-bottom: 18px; }
.card p { color: var(--muted); }
.card .textlink { margin-top: auto; align-self: flex-start; }
.section--dark .card { background: transparent; border-color: var(--line-dark); }
.section--dark .card p { color: rgba(244, 241, 234, .72); }
.section--dark .card .num { color: var(--gold); }
.icon { width: 44px; height: 44px; color: var(--gold-ink); margin-bottom: 22px; }
.section--dark .icon { color: var(--gold); }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

.pain-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.pain-list li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 14px; font-size: 18px; }
.pain-list li::before { content: "—"; color: var(--gold-ink); }
.checks { list-style: none; padding: 0; margin: 0 0 1.5em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 1px; background: var(--gold); }

/* Outcomes */
.outcomes { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line-dark); }
@media (min-width: 760px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .outcomes { grid-template-columns: repeat(3, 1fr); } }
.outcome { padding: 32px 28px 32px 0; border-bottom: 1px solid var(--line-dark); }
.outcome h3 { font-size: 26px; margin-bottom: 8px; }
.outcome p { margin: 0; color: rgba(244, 241, 234, .72); font-size: 16px; }

/* Process */
.steps { display: grid; gap: 0; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 36px 28px 36px 0; border-top: 1px solid var(--line); position: relative; }
@media (min-width: 900px) { .step { padding-right: 32px; } }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width 1.2s ease; }
.step.is-visible::before { width: 64px; }
.step .num { font-family: var(--serif); font-size: 54px; line-height: 1; color: var(--gold-ink); margin-bottom: 18px; }
.section--dark .step { border-color: var(--line-dark); }
.section--dark .step .num { color: var(--gold); }
.step p { color: var(--muted); font-size: 16px; }
.section--dark .step p { color: rgba(244, 241, 234, .72); }
.process-detail { display: grid; gap: 0; }
.process-row { display: grid; gap: 20px 56px; padding: 56px 0; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .process-row { grid-template-columns: 120px 4fr 6fr; } }
.process-row .num { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--gold-ink); }

/* Quote / founder */
.founder-note { border-left: 1px solid var(--gold); padding-left: 28px; font-family: var(--serif); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; }
.signature { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--gold-ink); margin-top: 20px; }
.section--dark .signature { color: var(--gold); }
.portrait { aspect-ratio: 4/5; background: var(--green); border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-family: var(--serif); font-size: 18px; text-align: center; padding: 24px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 18ch; margin-left: auto; margin-right: auto; }
.cta-band .lede { margin: 0 auto 36px; }
.cta-band .actions { justify-content: center; }

/* Tags / filters */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.tag { border: 1px solid var(--line); background: transparent; padding: 9px 16px; font: 500 13px/1 var(--sans); letter-spacing: .06em; border-radius: 40px; cursor: pointer; color: var(--ink); min-height: 40px; }
.tag[aria-pressed="true"], .tag:hover { background: var(--green); color: var(--ivory); border-color: var(--green); }
.meta { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 14px; }
.soon { display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--gold); color: var(--gold-ink); padding: 4px 10px; border-radius: 40px; margin-bottom: 18px; align-self: flex-start; }
.section--dark .soon { color: var(--gold); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-family: var(--serif); font-size: 24px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-weight: 300; font-size: 28px; color: var(--gold-ink); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); max-width: 760px; }

/* Forms */
.form { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .06em; margin-bottom: 8px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 16px/1.5 var(--sans); color: var(--ink); background: var(--white);
  border: 1px solid rgba(23, 44, 38, .28); border-radius: var(--radius); padding: 14px 16px; min-height: 52px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(182, 155, 104, .35); }
.field .error { display: none; color: #9B2C1F; font-size: 14px; margin-top: 6px; }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #9B2C1F; }
.field.has-error .error { display: block; }
.form-note { font-size: 14px; color: var(--muted); }
.form-success { display: none; padding: 32px; border: 1px solid var(--gold); background: var(--white); }
.form-success.is-shown { display: block; }
.hp { position: absolute; left: -9999px; }
.booking-box { background: var(--green); color: var(--ivory); padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); }
.booking-box h3 { color: var(--ivory); }
.booking-embed { min-height: 120px; margin-top: 24px; }

/* Footer */
.site-footer { background: var(--green); color: rgba(244, 241, 234, .75); padding: 80px 0 36px; font-size: 15px; }
.site-footer .brand { color: var(--ivory); }
.site-footer .brand-tag { color: var(--gold); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { font-family: var(--sans); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .net .link, .net .pulse { animation: none; }
  .step::before { transition: none; }
}

/* Added: layout helpers, newsletter, articles */
.narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.portrait-img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--gold); }
.newsletter { margin-top: 28px; }
.nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-row input { flex: 1 1 180px; min-height: 48px; padding: 12px 14px; font: 400 15px/1.4 var(--sans); border: 1px solid var(--line-dark); background: rgba(244,241,234,.06); color: var(--ivory); border-radius: var(--radius); }
.nl-row input::placeholder { color: rgba(244,241,234,.55); }
.nl-row .btn { min-height: 48px; padding: 12px 18px; }
.nl-msg { margin: 10px 0 0; font-size: 14px; min-height: 1em; }
.article-body { font-size: 18px; margin-top: 40px; }
.article-body h2 { font-size: clamp(28px, 3vw, 38px); margin-top: 1.6em; }
.article-body h3 { margin-top: 1.4em; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-body blockquote { border-left: 1px solid var(--gold); margin: 1.5em 0; padding-left: 24px; font-family: var(--serif); font-size: 24px; }
.article-body a { color: var(--green); text-decoration-color: var(--gold); }
.small-print { font-size: 13px; margin: 8px 0 0; opacity: .8; }
.footer-bottom a { text-decoration: none; } .footer-bottom a:hover { color: var(--ivory); }
