/* Camel Thorn Capital — site styles (modern industrial) */

:root {
  --black: #0F1011;
  --charcoal: #141517;     /* primary dark */
  --steel: #1E2023;        /* raised dark surface */
  --steel-line: #2E3135;
  --concrete: #E4E2DD;     /* light section */
  --concrete-deep: #D6D3CC;
  --paper: #F3F2EF;        /* page background */
  --ink: #141517;
  --ink-soft: #3E4145;
  --muted: #6E7176;
  --rust: #C4511F;         /* corten steel accent */
  --rust-bright: #E0662E;
  --line: rgba(20, 21, 23, .14);
  --line-dark: rgba(243, 242, 239, .12);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h, 68px) + 8px); }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 750;
  text-transform: uppercase;
  line-height: .98;
  letter-spacing: -.005em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: .9; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h3 { font-size: 1.55rem; line-height: 1.05; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--rust);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.eyebrow, .idx, .step, .chip, .pillar-num, .pillar-tag, .value-num, .audience-num,
.field label, .contact-direct span, figcaption, .legal {
  font-family: var(--font-mono);
}

.eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--rust);
}
.eyebrow .idx { color: var(--rust); }

.accent { color: var(--rust); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 600 .82rem/1 var(--font-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 18px 26px;
  border: 1px solid var(--rust);
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.btn span { transition: transform .2s; }
.btn:hover { background: var(--rust-bright); border-color: var(--rust-bright); }
.btn:hover span { transform: translateX(4px); }
.btn:focus-visible { outline: 2px solid var(--rust-bright); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--paper); border-color: rgba(243,242,239,.4); }
.btn-ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-small { padding: 12px 18px; font-size: .74rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 21, 23, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--paper);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.brand strong { font-weight: 700; color: var(--rust-bright); }

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-menu a, .brand span { white-space: nowrap; }
.nav-menu a:not(.btn) {
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: rgba(243,242,239,.78);
  display: flex;
  align-items: baseline;
  gap: 6px;
  transition: color .2s;
}
.nav-menu a:not(.btn):hover { color: #fff; }
.nav-menu .idx { font-size: .68rem; color: var(--rust-bright); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--paper);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background-color: var(--charcoal);
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
  color: var(--paper);
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 480px at var(--mx, 78%) var(--my, 40%), rgba(196,81,31,.18), transparent 65%);
  transition: background-position .2s;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  z-index: 1;
}
.hero .eyebrow { color: rgba(243,242,239,.6); }
.lead { font-size: 1.15rem; color: rgba(243,242,239,.75); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero-art { margin: 0; }
.hero-tree { width: 100%; max-width: 480px; margin-left: auto; }
.hero-tree .tree path { fill: none; stroke: var(--paper); stroke-width: 1.5; stroke-linejoin: miter; }
.hero-tree .tree path:first-child { fill: rgba(196,81,31,.14); stroke: var(--rust-bright); }
.hero-tree .dim path { fill: none; stroke: rgba(243,242,239,.35); stroke-width: 1; }
.hero-tree .dim-label { font: 500 10px var(--font-mono); fill: rgba(243,242,239,.5); letter-spacing: .12em; }
figcaption {
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(243,242,239,.45);
  text-align: right;
  margin-top: 12px;
  border-top: 1px solid var(--line-dark);
  padding-top: 10px;
  max-width: 480px;
  margin-left: auto;
}

.hero-strip {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line-dark);
  background: rgba(15,16,17,.6);
}
.strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip-grid a {
  padding: 22px 24px;
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 700;
  font-size: 1.3rem;
  text-transform: uppercase;
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-right: 1px solid var(--line-dark);
  transition: background .2s;
}
.strip-grid a:first-child { border-left: 1px solid var(--line-dark); }
.strip-grid a:hover { background: rgba(196,81,31,.14); }
.strip-grid .idx { font-size: .72rem; color: var(--rust-bright); font-weight: 500; }
.strip-grid em {
  font: normal 400 .72rem var(--font-mono);
  letter-spacing: .08em;
  color: rgba(243,242,239,.5);
  margin-left: auto;
}

/* Sections */
.section { padding: 120px 0; }
.section-concrete { background: var(--concrete); }
.section-dark { background: var(--charcoal); color: var(--paper); }
.section-dark .eyebrow { color: rgba(243,242,239,.6); }
.section-dark p { color: rgba(243,242,239,.72); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head > p:last-child { color: var(--muted); font-size: 1.08rem; max-width: 600px; }
.section-dark .section-head > p:last-child { color: rgba(243,242,239,.68); }

/* Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: #fff;
}
.pillar {
  padding: 36px 32px 28px;
  position: relative;
  transition: background .25s;
}
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 4px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover { background: #FAFAF8; }
.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
.pillar-num { font-size: .78rem; color: var(--muted); }
.pillar-tag {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  padding: 6px 10px;
}
.pillar h3 { font-size: 2rem; }
.pillar > p { color: var(--ink-soft); }
.pillar ul { list-style: none; padding: 0; margin: 24px 0 0; }
.pillar li {
  padding: 12px 0 12px 22px;
  border-top: 1px solid var(--line);
  font-size: .95rem;
  position: relative;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: 21px;
  width: 8px; height: 8px;
  background: var(--rust);
}

/* Portfolio */
.ventures { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.venture { grid-column: span 2; }
/* When the last row has only two cards, let them share the full width */
.venture:nth-child(3n+1):nth-last-child(2),
.venture:nth-child(3n+1):nth-last-child(2) ~ .venture { grid-column: span 3; }
.venture {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px 30px;
  background: var(--charcoal);
  color: var(--paper);
  text-decoration: none;
  position: relative;
  border-bottom: 4px solid var(--rust);
  transition: background .25s, transform .25s;
}
.venture:hover { background: var(--steel); transform: translateY(-4px); }
.venture:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.venture-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: auto; }
.venture-status {
  font: 500 .7rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rust-bright);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.venture-status::before { content: ""; width: 8px; height: 8px; background: var(--rust-bright); }
.venture-arrow { font-size: 1.4rem; line-height: 1; color: rgba(243,242,239,.5); transition: transform .25s, color .25s; }
.venture:hover .venture-arrow { color: var(--rust-bright); transform: translate(3px, -3px); }
.venture h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 48px 0 10px; color: #fff; }
.venture-url { font: 400 .8rem var(--font-mono); letter-spacing: .04em; color: rgba(243,242,239,.6); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Journey */
.journey {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.journey li {
  padding: 32px 28px 32px;
  position: relative;
}
.journey li + li { border-left: 1px solid var(--line-dark); }
.journey li::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 3px;
  background: var(--rust);
}
.journey .step {
  display: block;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--rust-bright);
  margin-bottom: 36px;
}
.journey h3 { font-size: 2rem; color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border: 1px solid rgba(243,242,239,.25);
  color: rgba(243,242,239,.85);
}

/* Audiences */
.audiences { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.audience { padding: 32px 32px 8px 0; }
.audience + .audience { padding-left: 32px; border-left: 1px solid var(--line); }
.audience-num {
  display: inline-grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid var(--ink);
  font-size: .8rem;
  margin-bottom: 24px;
}
.audience p { color: var(--ink-soft); }

/* Approach */
.approach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.approach-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h, 68px) + 40px); }
.approach-grid .section-head .btn { margin-top: 12px; }
.process { list-style: none; counter-reset: step; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.process li {
  counter-increment: step;
  padding: 30px 0 22px 110px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 22px;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 800;
  font-size: 3.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--rust);
}
.process h3 { font-size: 1.7rem; margin-bottom: .3em; }
.process p { color: var(--ink-soft); margin-bottom: .6em; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.about-copy p { color: var(--ink-soft); font-size: 1.08rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.value { padding: 28px 26px 14px; }
.value:nth-child(even) { border-left: 1px solid var(--line); }
.value:nth-child(n+3) { border-top: 1px solid var(--line); }
.value-num { display: block; font-size: .72rem; color: var(--rust); margin-bottom: 28px; letter-spacing: .08em; }
.value h3 { font-size: 1.5rem; }
.value p { color: var(--ink-soft); font-size: .95rem; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-grid .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h, 68px) + 40px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 12px;
  padding: 24px 0;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:focus-visible { outline: 2px solid var(--rust); outline-offset: 4px; }
.faq-item h3 { font-size: 1.3rem; margin: 0; transition: color .2s; }
.faq-item summary:hover h3 { color: var(--rust); }
.faq-num { font: 500 .75rem var(--font-mono); color: var(--rust); }
.faq-icon { position: relative; width: 18px; height: 18px; justify-self: end; }
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 18px; height: 2px;
  background: var(--ink);
  transition: transform .3s ease;
}
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: rotate(0deg); }
.faq-answer { padding: 0 36px 20px 60px; color: var(--ink-soft); }
.faq-item[open] .faq-answer { animation: fade-up .4s ease both; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.contact-direct { margin-top: 32px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line-dark); padding-top: 20px; }
.contact-direct span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust-bright); }
.contact-direct a { color: #fff; font-size: 1.2rem; text-decoration-color: var(--rust); text-underline-offset: 5px; }

.contact-form {
  background: var(--steel);
  border: 1px solid var(--steel-line);
  border-top: 3px solid var(--rust);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,242,239,.7); }
.optional { color: rgba(243,242,239,.4); text-transform: none; letter-spacing: 0; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--paper);
  background: var(--charcoal);
  border: 1px solid var(--steel-line);
  border-radius: 0;
  padding: 13px 14px;
  transition: border-color .2s;
}
.field select option { color: var(--ink); background: #fff; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust-bright); }
.field.invalid input, .field.invalid textarea { border-color: #E5484D; }
.form-footer { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-status { margin: 0; font-size: .95rem; }

/* Footer */
.site-footer { background: var(--black); color: rgba(243,242,239,.6); padding: 36px 0; font-size: .9rem; border-top: 1px solid var(--line-dark); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .brand { color: var(--paper); font-size: 1.1rem; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--rust-bright); }
.legal { margin: 0; font-size: .74rem; letter-spacing: .04em; }

/* ---------- Motion ---------- */

/* Reveal on scroll (stagger delay set per element in JS via --stagger) */
/* Uses opacity + the independent `translate` property so hover transforms keep working */
.js .reveal { opacity: 0; translate: 0 28px; }
.js .reveal.visible { animation: reveal .8s cubic-bezier(.2,.7,.2,1) var(--stagger, 0s) both; }
@keyframes reveal { to { opacity: 1; translate: none; } }

/* Section headings wipe in from the left; the eyebrow rule extends */
.js .section-head.reveal h2,
.js .about-copy.reveal h2,
.js .contact-copy.reveal h2 {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s cubic-bezier(.7,0,.2,1) .15s;
}
.js .reveal.visible h2 { clip-path: inset(0 0 0 0); }
.js .reveal .eyebrow::before { width: 0; transition: width .6s ease .1s; }
.js .reveal.visible .eyebrow::before { width: 28px; }

/* Pillar list items tick in one by one */
.js .pillar li { opacity: 0; transform: translateX(-10px); transition: opacity .5s ease, transform .5s ease; }
.js .pillar.visible li { opacity: 1; transform: none; }
.js .pillar.visible li:nth-child(1) { transition-delay: calc(var(--stagger, 0s) + .35s); }
.js .pillar.visible li:nth-child(2) { transition-delay: calc(var(--stagger, 0s) + .45s); }
.js .pillar.visible li:nth-child(3) { transition-delay: calc(var(--stagger, 0s) + .55s); }
.js .pillar.visible li:nth-child(4) { transition-delay: calc(var(--stagger, 0s) + .65s); }

/* Process numbers fill with rust as each step arrives */
.js .process li::before { transition: color .6s ease calc(var(--stagger, 0s) + .4s); }
.js .process li.visible::before { color: rgba(196,81,31,.12); }

/* Journey: a rust line runs across the stages */
.journey { position: relative; }
.journey::after {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.6s cubic-bezier(.7,0,.2,1) .2s;
}
.journey.in-view::after { transform: scaleX(1); }

/* Hero intro: headline lines rise, then copy fades up */
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero h1 .line > span { display: inline-block; animation: line-up 1s cubic-bezier(.2,.8,.2,1) both; }
.hero h1 .line:nth-child(1) > span { animation-delay: .15s; }
.hero h1 .line:nth-child(2) > span { animation-delay: .3s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .45s; }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }

.intro { animation: fade-up .9s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Hero grid drifts slowly */
.hero { animation: grid-drift 40s linear infinite; }
@keyframes grid-drift { to { background-position: 63px 63px; } }

/* Hero tree draws itself like a plotter (paths use pathLength="1") */
.hero-tree path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s cubic-bezier(.6,0,.3,1) forwards; animation-delay: var(--d, .3s); }
.hero-tree .tree path:first-child { fill-opacity: 0; animation: draw 1.4s cubic-bezier(.6,0,.3,1) forwards, fill-in .8s ease forwards; animation-delay: .3s, 2.2s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill-in { to { fill-opacity: 1; } }
.hero-tree .dim-label { animation: fade-up .8s ease both; animation-delay: 2s; }

/* Gentle sway once drawn */
.hero-art svg { animation: float 7s ease-in-out 3s infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* Scroll progress bar under the header */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--rust-bright);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

/* Horizontal scroll loop, used by the market ticker */
@keyframes marquee { to { transform: translateX(-50%); } }

/* Venture cards: a rust sweep along the bottom bar on hover */
.venture { overflow: hidden; }
.venture::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100%;
  background: linear-gradient(0deg, rgba(196,81,31,.22), transparent 60%);
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
  pointer-events: none;
}
.venture:hover::after { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal, .js .pillar li { opacity: 1; transform: none; translate: none; }
  .js .reveal h2 { clip-path: none; }
  .js .reveal .eyebrow::before { width: 28px; }
  .hero-tree path { stroke-dashoffset: 0; }
  .hero-tree .tree path:first-child { fill-opacity: 1; }
  .journey::after { transform: scaleX(1); }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--charcoal);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 32px 24px;
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line-dark); font-size: 1rem; }
  .nav-menu .btn { margin-top: 20px; justify-content: center; }
}

@media (max-width: 960px) {
  .pillars, .audiences, .ventures { grid-template-columns: 1fr; }
  .venture, .venture:nth-child(3n+1):nth-last-child(2), .venture:nth-child(3n+1):nth-last-child(2) ~ .venture { grid-column: auto; min-height: 200px; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); }
  .audience, .audience + .audience { padding: 28px 0 4px; border-left: 0; }
  .audience + .audience { border-top: 1px solid var(--line); }
  .journey { grid-template-columns: 1fr 1fr; }
  .journey li:nth-child(3) { border-left: 0; }
  .journey li:nth-child(n+3) { border-top: 1px solid var(--line-dark); }
  .approach-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .approach-grid .section-head, .faq-grid .section-head { position: static; }
  .section { padding: 88px 0; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 64px; }
  .hero-tree, figcaption { max-width: 340px; margin: 0 auto; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid a, .strip-grid a:first-child { border-left: 0; border-right: 0; padding: 18px 0; }
  .strip-grid a + a { border-top: 1px solid var(--line-dark); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .nav-menu { padding: 8px 16px 20px; }
  .journey { grid-template-columns: 1fr; }
  .journey li + li { border-left: 0; border-top: 1px solid var(--line-dark); }
  .journey li { padding: 28px 0; }
  .values { grid-template-columns: 1fr; }
  .value:nth-child(even) { border-left: 0; }
  .value + .value { border-top: 1px solid var(--line); }
  .contact-form { grid-template-columns: 1fr; padding: 24px; }
  .process li { padding-left: 84px; }
  .process li::before { font-size: 2.6rem; }
  .faq-item summary { grid-template-columns: 36px 1fr 20px; }
  .faq-answer { padding: 0 0 18px 48px; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

/* ---------- Language switch ---------- */
.nav-menu { margin-left: auto; }
.nav-right { order: 3; display: flex; align-items: center; gap: 14px; margin-left: 24px; }
.lang-switch {
  display: flex;
  border: 1px solid var(--line-dark);
  font: 500 .72rem var(--font-mono);
  letter-spacing: .08em;
}
.lang-switch a, .lang-switch span { padding: 7px 9px; line-height: 1; text-decoration: none; }
.lang-switch a { color: rgba(243,242,239,.6); transition: color .2s, background .2s; }
.lang-switch a:hover { color: #fff; background: rgba(196,81,31,.25); }
.lang-current { background: var(--rust); color: #fff; }

/* ---------- No-solicitation and form notes ---------- */
.pillar-note {
  margin: 18px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--rust);
  background: var(--paper);
  font-size: .84rem;
  color: var(--ink-soft);
}
.form-note { margin: 0; font-size: .84rem; color: rgba(243,242,239,.6); }
.form-note a { color: var(--paper); text-decoration-color: var(--rust); text-underline-offset: 3px; }

/* ---------- Footer notice and legal links ---------- */
.footer-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 32px;
  align-items: start;
}
.footer-notice { grid-column: 1 / -1; margin: 0; max-width: 820px; font-size: .82rem; color: rgba(243,242,239,.55); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .82rem; }
.footer-legal a { text-decoration: none; color: rgba(243,242,239,.75); }
.footer-legal a:hover { color: var(--rust-bright); }
.footer-bottom .legal { justify-self: end; }

/* ---------- Legal pages ---------- */
.page-hero {
  background-color: var(--charcoal);
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  color: var(--paper);
  padding: 88px 0 0;
}
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: .95; max-width: 14ch; }
.page-hero .eyebrow { color: rgba(243,242,239,.6); }
.page-meta { font: 400 .78rem var(--font-mono); letter-spacing: .06em; color: rgba(243,242,239,.55); margin-bottom: 40px; }
.legal-tabs { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line-dark); }
.legal-tabs a {
  padding: 18px 22px 16px;
  font: 500 .74rem var(--font-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(243,242,239,.65);
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.legal-tabs a:first-child { padding-left: 0; }
.legal-tabs a:hover { color: #fff; }
.legal-tabs a[aria-current="page"] { color: #fff; border-bottom-color: var(--rust); }

.legal-body { padding-top: 72px; }
.legal-grid { display: grid; grid-template-columns: 230px 1fr; gap: 72px; align-items: start; }
.legal-toc { position: sticky; top: calc(var(--header-h, 68px) + 40px); display: flex; flex-direction: column; border-top: 2px solid var(--ink); }
.legal-toc p { font: 500 .7rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.legal-toc a { padding: 7px 0; font-size: .9rem; text-decoration: none; color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.legal-toc a:hover { color: var(--rust); }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.9rem; margin: 2.2em 0 .6em; scroll-margin-top: calc(var(--header-h, 68px) + 24px); }
.prose > h2:first-child, .prose > .lead-text + h2 { margin-top: 0; }
.prose h3 { font-size: 1.2rem; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose a { color: var(--ink); text-decoration-color: var(--rust); text-underline-offset: 3px; }
.prose a:hover { color: var(--rust); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--rust); }
.prose ul.checks li::before { width: 12px; height: 7px; background: none; border-left: 2px solid var(--rust); border-bottom: 2px solid var(--rust); transform: rotate(-45deg); top: .45em; }
.lead-text { font-size: 1.15rem; color: var(--ink) !important; margin-bottom: 2em; }
.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rust); padding: 20px 24px 6px; margin: 0 0 1.2em; }
.callout strong { color: var(--ink); }
.details-list { display: grid; grid-template-columns: 190px 1fr; border-top: 1px solid var(--line); margin: 0 0 1em; }
.details-list dt, .details-list dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.details-list dt { font: 500 .72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 15px; }
.prose-footer { margin-top: 3em; padding-top: 1.4em; border-top: 1px solid var(--line); }
mark.placeholder {
  background: rgba(196,81,31,.14);
  color: #9A3A12;
  font: 500 .85em var(--font-mono);
  padding: 1px 6px;
  border: 1px dashed rgba(196,81,31,.6);
}

.hero-small .hero-grid { padding-top: 72px; padding-bottom: 72px; }

@media (max-width: 960px) {
  .legal-grid { grid-template-columns: 1fr; gap: 32px; }
  .legal-toc { position: static; }
}
@media (max-width: 1100px) {
  .nav-right { margin-left: auto; }
}
@media (max-width: 560px) {
  .details-list { grid-template-columns: 1fr; }
  .details-list dt { border-bottom: 0; padding-bottom: 0; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom .legal { justify-self: start; }
  .legal-tabs a { padding: 14px 14px 12px; }
  .page-hero { padding-top: 56px; }
}

/* ---------- Market ticker (under the header) ---------- */
.ticker {
  display: flex;
  align-items: stretch;
  height: 34px;
  border-top: 1px solid var(--line-dark);
  background: var(--black);
  font-size: .8rem;
}
.ticker[hidden] { display: none; }
.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px 0 max(16px, calc((100vw - var(--container)) / 2 + 32px));
  font: 500 .66rem var(--font-mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rust-bright);
  text-decoration: none;
  border-right: 1px solid var(--line-dark);
  background: var(--black);
  position: relative;
  z-index: 1;
}
.ticker-label::before { content: ""; width: 6px; height: 6px; background: var(--rust-bright); animation: blink 2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.ticker-viewport {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.ticker-track { display: flex; width: max-content; height: 100%; animation: marquee var(--ticker-duration, 60s) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.tk-group { display: flex; align-items: center; }
.tk {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  height: 100%;
  border-right: 1px solid var(--line-dark);
  white-space: nowrap;
  color: rgba(243,242,239,.85);
}
.tk b { font-weight: 600; color: #fff; letter-spacing: .01em; }
.tk-price { font-family: var(--font-mono); color: rgba(243,242,239,.8); }
.tk-chg { font-family: var(--font-mono); font-size: .74rem; }
.tk-chg.up { color: #3FB950; }
.tk-chg.down { color: #F85149; }
.tk-chg.flat { color: rgba(243,242,239,.5); }
.tk-dot { width: 7px; height: 7px; flex-shrink: 0; }
.tk-index { background: var(--rust-bright); }
.tk-crypto { background: #E3A857; }
.tk-fx { background: #6E9FD1; }
.tk-commodity { background: #B8B2A6; }

/* ---------- Opening section fills the first screen ---------- */
.hero:not(.hero-small) {
  min-height: calc(100vh - var(--header-h, 68px));
  min-height: calc(100svh - var(--header-h, 68px));
  display: flex;
  flex-direction: column;
}
.hero:not(.hero-small) .hero-grid { flex: 1; }

/* ---------- Very large screens: use more of the width ---------- */
@media (min-width: 1600px) {
  :root { --container: 1440px; }
  body { font-size: 18px; }
  .hero-tree, figcaption { max-width: 580px; }
  h1 { font-size: clamp(3.4rem, 7vw, 8.5rem); }
}
@media (min-width: 2200px) {
  :root { --container: 1680px; }
  body { font-size: 19px; }
  .hero-tree, figcaption { max-width: 680px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
}
@media (max-width: 560px) {
  .ticker { height: 30px; font-size: .74rem; }
  .ticker-label { padding: 0 10px 0 16px; }
  .ticker-label span:first-child { display: none; }
  .tk { padding: 0 14px; gap: 7px; }
}

/* Language switch: in the header row on larger screens, inside the menu on phones */
.lang-switch-menu { display: none; }
@media (max-width: 640px) {
  .nav-right .lang-switch { display: none; }
  .lang-switch-menu { display: flex; align-self: flex-start; margin-top: 18px; }
  .lang-switch-menu a, .lang-switch-menu span { padding: 10px 14px; font-size: .8rem; }
}

/* ---------- Mobile optimisation ---------- */
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 40px; }
  .hero-grid { gap: 28px; }
  .hero-tree, figcaption { max-width: 260px; }
  .hero-strip .strip-grid a { padding: 14px 0; font-size: 1.15rem; }

  .pillar { padding: 28px 22px 22px; }
  .pillar-top { margin-bottom: 22px; }
  .pillar h3 { font-size: 1.7rem; }

  .venture, .venture:nth-child(3n+1):nth-last-child(2), .venture:nth-child(3n+1):nth-last-child(2) ~ .venture { min-height: 0; }
  .venture { padding: 22px 22px 20px; }
  .venture h3 { margin: 26px 0 6px; font-size: 2rem; }

  .journey .step { margin-bottom: 14px; }
  .journey h3 { font-size: 1.7rem; }

  .values { grid-template-columns: 1fr 1fr; }
  .value { padding: 20px 16px 8px; }
  .value:nth-child(even) { border-left: 1px solid var(--line); }
  .value + .value { border-top: 0; }
  .value:nth-child(n+3) { border-top: 1px solid var(--line); }
  .value-num { margin-bottom: 12px; }
  .value h3 { font-size: 1.25rem; }

  .faq-item h3 { font-size: 1.08rem; }
  .faq-item summary { padding: 18px 0; }

  .contact-form { gap: 18px; }

  /* Readable labels: nothing below 12px on phones */
  .eyebrow, .idx, .step, .chip, .pillar-num, .pillar-tag, .value-num, .audience-num,
  .venture-status, .strip-grid em, figcaption, .field label, .contact-direct span,
  .legal, .legal-tabs a, .legal-toc p, .details-list dt, .page-meta, .faq-num, .footer-legal a {
    font-size: max(12px, .75rem);
  }
  .chip { padding: 6px 10px; }
  .journey .step, .strip-grid .idx, .nav-menu .idx { font-size: max(12px, .75rem); }

  /* Comfortable tap targets (at least ~44px) */
  .footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; width: 100%; }
  .footer-nav a, .footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-legal { gap: 0 20px; }
  .contact-direct a { display: inline-flex; align-items: center; min-height: 44px; }
  .legal-toc a { padding: 11px 0; }
  .brand { min-height: 44px; }
}

@media (max-width: 380px) {
  .brand { font-size: 1.1rem; gap: 10px; }
  .brand img { width: 38px; height: auto; }
  h1 { font-size: 3rem; }
  .values { grid-template-columns: 1fr 1fr; }
  .value h3 { font-size: 1.1rem; }
}

/* Contact form: spam trap (hidden from people) and send states */
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }
.form-status.is-success { color: #3FB950; }
.form-status.is-error { color: #F0806A; }
.form-status a { color: var(--paper); text-decoration-color: var(--rust); text-underline-offset: 3px; }
