/* Chloris Advisory — brand colours taken from the creds deck */
:root {
  --green-900: #0F2A24;
  --green-800: #1B4332;
  --green-200: #A8C3B1;
  --green-50:  #EEF4F0;
  --orange:    #FD6302;
  --orange-dk: #D95200;
  --ink:       #1F2A28;
  --muted:     #5B6B66;
  --white:     #FFFFFF;
  --line:      #D8E3DC;

  --sans:  "Manrope", Corbel, "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif: "Source Serif 4", Cambria, Georgia, serif;

  --wrap: 1160px;
  --radius: 14px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 800; color: var(--green-900); margin-bottom: 1.1em; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

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

.eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .9em;
}
.subhead {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 3rem 0 1.25rem;
}
.note { font-size: .9rem; font-style: italic; color: var(--muted); margin-top: 1.5rem; }

.btn {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  padding: .85em 1.6em;
  border-radius: 999px;
  border: 2px solid var(--orange);
  transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--orange-dk); border-color: var(--orange-dk); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-small { padding: .5em 1.2em; font-size: .9rem; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .25s, box-shadow .25s;
  color: var(--white);
}
.site-header.scrolled { background: var(--green-900); box-shadow: 0 2px 16px rgba(0,0,0,.18); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { filter: brightness(0) invert(1); }
.brand-word { font-weight: 600; letter-spacing: .3em; font-size: .95rem; }
.brand-word small { font-size: .62rem; letter-spacing: .3em; opacity: .75; margin-left: .3em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; }
.site-nav a:not(.btn):hover { color: var(--green-200); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: var(--white);
  background: var(--green-900);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-track.jpg") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15,42,36,.95) 0%, rgba(15,42,36,.85) 45%, rgba(27,67,50,.7) 100%);
}
.hero-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-top: var(--header-h); padding-bottom: 48px; }
.hero-copy { max-width: 640px; }
.hero h1 { margin-bottom: .35em; }
.hero-lede { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.88); line-height: 1.55; margin-bottom: 2em; }
.hero-lede em { font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-logo { width: 220px; flex-shrink: 0; opacity: .95; }

/* Sections */
.section { padding: 104px 0; }
.section-tint { background: var(--green-50); }

/* About */
.about-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: start; }
.about-copy p { color: var(--muted); }
.about-copy strong { color: var(--green-900); }
.pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pillars li { display: flex; align-items: center; gap: 18px; background: var(--green-50); border-radius: var(--radius); padding: 18px 22px; }
.pillars h3 { font-family: var(--serif); margin: 0; color: var(--green-900); }
.pillars p { margin: 0; color: var(--muted); font-size: .92rem; }

.icon-dot {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-dot img { width: 24px; height: 24px; }
.icon-dark { background: var(--green-900); }
.icon-green { background: var(--green-800); }

.stats {
  margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--green-900); color: var(--white);
  border-radius: var(--radius); overflow: hidden;
}
.stats div { padding: 30px 28px; border-left: 1px solid rgba(255,255,255,.1); }
.stats div:first-child { border-left: 0; }
.stats dt { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1; margin-bottom: 8px; }
.stats dd { margin: 0; color: var(--green-200); font-size: .92rem; }

/* Founder */
.founder-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: center; }
.founder-grid > div > p:not(.eyebrow) { color: var(--muted); }
blockquote { margin: 28px 0 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--orange); }
blockquote p { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--green-900); line-height: 1.55; }
blockquote cite { font-style: normal; font-size: .85rem; font-weight: 700; color: var(--muted); }
.headshot { margin: 0; position: relative; }
.headshot img { border-radius: var(--radius); width: 100%; max-width: 340px; margin-left: auto; box-shadow: 18px 18px 0 var(--green-200); }

.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--green-200); }
.timeline li { position: relative; padding: 52px 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.timeline li::before { content: ""; position: absolute; top: 28px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--green-800); border: 3px solid var(--green-50); }
.timeline li.now::before { background: var(--orange); width: 18px; height: 18px; top: 26px; }
.timeline .when { position: absolute; top: 0; left: 0; font-size: .8rem; font-weight: 700; color: var(--orange); }
.timeline strong { font-family: var(--serif); color: var(--green-900); font-size: 1.02rem; line-height: 1.25; }
.timeline span:last-child { font-size: .85rem; color: var(--muted); line-height: 1.4; }

/* Logos */
.logos { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.logos li { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; height: 104px; }
.logos img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.logos li:hover img { filter: none; opacity: 1; }
.logos-rights { grid-template-columns: repeat(3, 1fr); }
.logos-rights li { height: 140px; }
.logos-rights img { max-height: 76px; filter: none; opacity: 1; }
.logos-brands { grid-template-columns: repeat(8, 1fr); }
.logos-brands li { padding: 16px; height: 92px; }
.logos-brands img { max-height: 42px; }

/* Highlights */
.highlights { display: grid; grid-template-columns: 1fr; gap: 6px; background: var(--green-900); }
.highlight { position: relative; aspect-ratio: 16 / 9; max-height: 88vh; min-height: 420px; width: 100%; overflow: hidden; color: var(--white); }
.highlight img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 6s ease; }
.highlight:hover img { transform: scale(1.04); }
.highlight::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,42,36,0) 35%, rgba(15,42,36,.55) 60%, rgba(15,42,36,.95) 100%); }
.highlight .caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px clamp(24px, 5vw, 56px); }
.highlight .eyebrow { margin-bottom: .5em; }
.highlight h3:last-child { margin-bottom: 0; }
.highlight h3 { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 800; margin-bottom: .35em; }
.highlight .caption p:last-child { margin: 0; color: rgba(255,255,255,.85); font-size: .95rem; }

/* Services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.service { background: var(--green-50); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; }
.service header { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.service header h3 { font-family: var(--serif); font-size: 1.6rem; margin: 0; color: var(--green-900); }
.service header p { margin: 0; font-family: var(--serif); font-style: italic; color: var(--muted); }
.service .label { font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: .6em; }
.service ul { margin: 0 0 28px; padding-left: 1.1em; }
.service li { margin-bottom: .4em; }
.service .in-practice { margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.service .in-practice span { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.service-dark { background: var(--green-900); color: var(--white); }
.service-dark header h3 { color: var(--white); }
.service-dark header p, .service-dark .in-practice { color: var(--green-200); }
.service-dark .in-practice { border-color: rgba(255,255,255,.15); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sectors article { background: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.sectors h3 { font-family: var(--serif); color: var(--green-900); margin-top: 18px; }
.sectors p { color: var(--muted); font-size: .95rem; }
.sectors .proven { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink); }
.sectors .proven span { color: var(--orange); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin-right: .4em; }

/* Capabilities */
.chevrons { list-style: none; padding: 0; margin: 0 0 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.chevrons li {
  background: var(--green-900); color: var(--white); text-align: center;
  font-weight: 700; font-size: .9rem; padding: 12px 18px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%);
}
.chevrons li:first-child { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); }
.chevrons li:nth-child(2) { background: var(--green-800); }
.chevrons li:nth-child(3) { background: #2D6A4F; }
.chevrons li:nth-child(4) { background: #40916C; }
.caps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.caps article { background: var(--green-50); border-radius: var(--radius); padding: 24px; }
.caps h3 { font-family: var(--serif); color: var(--green-900); margin: 16px 0 6px; }
.caps p { margin: 0; color: var(--muted); font-size: .92rem; }
.caps .icon-dot { width: 42px; height: 42px; }
.caps .icon-dot img { width: 20px; height: 20px; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; text-align: center; }
.process::before { content: ""; position: absolute; top: 32px; left: 12.5%; right: 12.5%; border-top: 2px dashed var(--green-200); }
.process li { position: relative; }
.process .icon-dot { width: 64px; height: 64px; box-shadow: 0 0 0 8px var(--green-50); }
.process .icon-dot img { width: 30px; height: 30px; }
.process h3 { font-family: var(--serif); color: var(--green-900); margin: 18px 0 6px; }
.process p { color: var(--muted); font-size: .92rem; margin: 0; }

.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.models article { background: var(--white); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.models h3 { font-family: var(--serif); color: var(--green-900); margin-bottom: 6px; }
.models p { color: var(--muted); font-size: .92rem; }
.involve { margin-top: auto; display: flex; align-items: center; gap: 5px; }
.involve i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.involve i.on { background: var(--orange); }
.involve span { margin-left: 8px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--muted); }

/* Contact */
.contact { position: relative; color: var(--white); background: var(--green-900); padding: 120px 0; overflow: hidden; }
.contact-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.contact h2 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); margin-bottom: .6em; }
.contact-name { font-weight: 700; font-size: 1.1rem; }
.contact-name span { font-weight: 400; color: var(--green-200); }
.contact-list { list-style: none; padding: 0; margin: 0 0 30px; }
.contact-list li { margin-bottom: 6px; }
.contact-list a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.3); }
.contact-list a:hover { border-color: var(--orange); }

/* Footer */
.site-footer { background: #0A1F1A; color: rgba(255,255,255,.6); font-size: .82rem; padding: 26px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .highlight img { transition: none; }
}

/* Responsive */
@media (max-width: 1080px) {
  .logos-brands { grid-template-columns: repeat(4, 1fr); }
  .caps, .models { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--green-900); padding: 8px 24px 24px;
    transform: translateY(-120%); transition: transform .3s ease; visibility: hidden;
  }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
  .site-header.menu-open { background: var(--green-900); }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-logo { display: none; }
  .about-grid, .founder-grid, .services { grid-template-columns: 1fr; gap: 36px; }
  .headshot img { margin: 0; max-width: 300px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); }
  .timeline { grid-template-columns: 1fr; gap: 22px; padding-left: 28px; }
  .timeline::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -28px; top: 4px; }
  .timeline li.now::before { left: -30px; top: 2px; }
  .timeline .when { position: static; }
  .highlight { aspect-ratio: auto; min-height: 460px; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .process::before { display: none; }
  .chevrons { grid-template-columns: repeat(2, 1fr); }
  .chevrons li, .chevrons li:first-child { clip-path: none; border-radius: 8px; }
  .section { padding: 76px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .logos-rights { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logos-rights li { height: 90px; padding: 12px; }
  .logos-rights img { max-height: 48px; }
  .logos-brands { grid-template-columns: repeat(2, 1fr); }
  .sectors, .caps, .models, .process { grid-template-columns: 1fr; }
  .service { padding: 26px; }
  .stats div { padding: 22px 18px; }
  .contact { padding: 88px 0; }
}
