/* Group of Brands — Careers. Token system: see :root. */
:root {
  --ink: #20291F;      /* spruce ink — text, dark sections */
  --salt: #F4F1E9;     /* bone-salt paper — page background */
  --kelp: #3E5140;     /* deep green — secondary, hovers */
  --cacao: #7A5233;    /* roasted cacao — accents, links */
  --mist: #DCD5C5;     /* hairlines, borders */
  --band: #ECE8DC;     /* tinted band background */
  --muted: #57604F;
  --on-dark-muted: #A9B4A0;
  --on-dark-dim: #6E7A66;
  --display: 'Newsreader', Georgia, serif;
  --body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Spline Sans Mono', 'SF Mono', Menlo, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--salt); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--cacao); }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cacao); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--kelp); color: var(--salt); }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--salt); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; color: var(--salt); }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 233, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--mist); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.wordmark { text-decoration: none; color: var(--ink); display: flex; align-items: baseline; gap: 10px; }
.wordmark strong { font-family: var(--display); font-weight: 500; font-size: 23px; letter-spacing: -0.01em; }
.wordmark strong em { font-weight: 400; }
.wordmark .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; color: var(--cacao); }
.btn { display: inline-block; text-decoration: none; border-radius: 2px; font-weight: 500; font-size: 15px; padding: 15px 28px; transition: background 0.2s, border-color 0.2s; }
.btn-ink { background: var(--ink); color: var(--salt); }
.btn-ink:hover { background: var(--kelp); color: var(--salt); }
.btn-salt { background: var(--salt); color: var(--ink); }
.btn-salt:hover { background: #fff; color: var(--ink); }
.btn-ghost { color: var(--salt); border: 1px solid #5A6653; }
.btn-ghost:hover { border-color: var(--salt); color: var(--salt); }
.btn-mono { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; padding: 11px 18px; white-space: nowrap; }

/* Hero */
.hero { position: relative; background: linear-gradient(175deg, #1C241B 0%, #20291F 55%, #26301F 100%); color: var(--salt); padding: clamp(56px, 8vw, 108px) 0 clamp(38px, 5vw, 64px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 430px); gap: clamp(42px, 7vw, 86px); align-items: center; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: 0.22em; color: var(--on-dark-muted); }
.hero h1 { margin: 0; font-family: var(--display); font-optical-sizing: auto; font-weight: 500; font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.015em; max-width: 15ch; text-wrap: pretty; }
.hero .sub { margin: 0; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: #C9CFBE; max-width: 52ch; text-wrap: pretty; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 0; }
.hero .ctas .btn-salt { font-size: 17px; padding: 18px 38px; }
.hero .ticker { margin: 14px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--on-dark-dim); border-top: 1px solid #333E30; padding-top: 16px; }
.ticker-track span + span { display: none; }
.hero-bubbles { min-height: clamp(420px, 46vw, 580px); z-index: 1; }

/* Sections */
.section { padding: clamp(72px, 10vw, 130px) 0; }
h2 { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; letter-spacing: -0.01em; }
.intro .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 32px 64px; align-items: start; }
.intro p { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.65; color: #3B443A; text-wrap: pretty; }

/* Brand index (signature section) */
.brands { padding: 0 0 clamp(72px, 10vw, 130px); }
.brands .head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 12px; border-bottom: 2px solid var(--ink); padding-bottom: 18px; }
.brands .head .index-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--cacao); }
.brand-row { text-decoration: none; color: var(--ink); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; padding: 30px 10px; border-bottom: 1px solid var(--mist); transition: background 0.25s; }
.brand-row:hover { background: #FBF9F2; color: var(--ink); }
.brand-row .num { font-family: var(--mono); font-size: 12px; color: #98917D; width: 32px; }
.brand-row .info { flex: 1 1 320px; display: flex; flex-direction: column; gap: 8px; }
.brand-row .name { font-family: var(--display); font-weight: 500; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.01em; }
.brand-row .blurb { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.brand-row .plate { flex: 0 0 190px; display: flex; align-items: center; justify-content: center; min-height: 76px; }
.brand-row .plate img { display: block; object-fit: contain; }
.brand-row .earth-echo-logo {
  height: 42px;
  width: auto;
  filter: brightness(0) saturate(100%) invert(12%) sepia(10%) saturate(1022%) hue-rotate(62deg) brightness(93%) contrast(89%);
}
.brand-row .arrow { font-family: var(--display); font-size: 30px; color: var(--cacao); transition: transform 0.25s; }
.brand-row:hover .arrow { transform: translateX(6px); }

/* Values */
.values { background: var(--band); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.values .wrap { display: flex; flex-direction: column; gap: 48px; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 44px 56px; }
.value { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--ink); padding-top: 18px; }
.value .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: var(--cacao); }
.value h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 26px; }
.value p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #3B443A; text-wrap: pretty; }

/* Story */
.story .wrap { max-width: 780px; display: flex; flex-direction: column; gap: 30px; }
.story .letter { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.55; text-wrap: pretty; }
.story .sig { margin: 0; font-family: var(--display); font-style: italic; font-size: 30px; color: var(--kelp); }
.eyebrow-light { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--cacao); }

/* Facts strip */
.facts { background: var(--ink); color: var(--salt); padding: 44px 0; }
.facts .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px 44px; font-family: var(--mono); }
.fact { display: flex; flex-direction: column; gap: 6px; }
.fact .val { font-size: 26px; font-weight: 500; }
.fact .label { font-size: 11px; letter-spacing: 0.18em; color: var(--on-dark-muted); }

/* Open roles */
.roles .wrap { max-width: 900px; display: flex; flex-direction: column; gap: 36px; }
.roles .head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.roles .all-link { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-decoration: none; color: var(--cacao); }
.roles .all-link:hover { color: var(--ink); }
.jobs-panel { border: 1px solid var(--mist); background: #FBF9F2; border-radius: 3px; padding: clamp(24px, 4vw, 38px); min-height: 210px; display: flex; align-items: flex-start; }
.jobs-feed { min-width: 0; align-self: center; }
.teamtailor-jobs-widget { width: 100%; min-height: 130px; }
.teamtailor-jobs-widget > * + * { border-top: 1px solid var(--mist); padding-top: 18px; margin-top: 18px; }
.brand-bubbles { position: relative; }
.brand-bubble { position: absolute; display: flex; align-items: center; justify-content: center; width: var(--size); height: var(--size); border-radius: 999px; background: var(--salt); border: 1px solid var(--mist); box-shadow: 0 22px 48px rgba(0, 0, 0, 0.18); animation: logo-drift var(--speed) cubic-bezier(0.45, 0, 0.25, 1) infinite alternate; animation-delay: var(--delay); }
.brand-bubble img { max-width: 66%; max-height: 56%; object-fit: contain; }
.bubble-earth { --size: 156px; --speed: 6.8s; --delay: -1s; left: 9%; top: 0; }
.bubble-bright { --size: 186px; --speed: 7.6s; --delay: -3s; right: -7%; top: 16%; }
.bubble-physio { --size: 144px; --speed: 6.2s; --delay: -2s; left: -7%; bottom: 18%; }
.bubble-ava { --size: 168px; --speed: 8.2s; --delay: -4s; right: 17%; bottom: -4%; }
.bubble-paleo { --size: 128px; --speed: 7s; --delay: -5s; left: 40%; top: 41%; }
.roles .btn { align-self: flex-start; }

@keyframes logo-drift {
  0% { transform: translate3d(-18px, 16px, 0) rotate(-5deg) scale(0.98); }
  45% { transform: translate3d(12px, -24px, 0) rotate(3deg) scale(1.04); }
  100% { transform: translate3d(26px, 12px, 0) rotate(7deg) scale(1); }
}

@keyframes ticker-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Footer */
.site-footer { background: var(--ink); color: var(--salt); padding: clamp(56px, 7vw, 90px) 0 40px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 44px 56px; }
.footer-grid .col { display: flex; flex-direction: column; gap: 12px; }
.footer-grid .col-brand { gap: 14px; }
.footer-grid .col-brand .mark { font-family: var(--display); font-weight: 500; font-size: 26px; }
.footer-grid .col-brand .mark em { font-weight: 400; }
.footer-grid .col-brand p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--on-dark-muted); max-width: 30ch; }
.footer-grid .col-title { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--on-dark-dim); }
.footer-grid a { color: #C9CFBE; text-decoration: none; font-size: 14px; }
.footer-grid a:hover { color: var(--salt); }
.footer-bottom { border-top: 1px solid #333E30; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-bottom .copyright { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--on-dark-dim); }
.footer-bottom img { height: 18px; width: auto; opacity: 0.45; }

/* Responsive */
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 42px; padding-bottom: 52px; }
  .hero .wrap { display: block; }
  .hero-copy { gap: 24px; }
  .hero-bubbles { display: none; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 0.16em; }
  .hero .ctas { gap: 10px; margin-top: 0; }
  .hero .ctas .btn-salt { width: 100%; text-align: center; }
  .hero .ticker { margin-top: 10px; overflow: hidden; white-space: nowrap; }
  .hero .ticker .ticker-track { display: inline-flex; width: max-content; animation: ticker-slide 18s linear infinite; }
  .hero .ticker .ticker-track span { display: inline-block; padding-right: 28px; }
  .brand-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 14px 12px;
    padding: 28px 8px;
  }
  .brand-row .num { width: auto; padding-top: 9px; }
  .brand-row .info { min-width: 0; }
  .brand-row .plate {
    grid-column: 2;
    flex: none;
    justify-content: flex-start;
    width: min(100%, 230px);
    min-height: 0;
  }
  .brand-row .plate img { max-height: 68px; max-width: 100%; }
  .brand-row .arrow { display: none; }
  .jobs-panel { min-height: 0; }
  .brand-bubble { animation-duration: calc(var(--speed) * 1.2); }
  .value h3 { font-size: 23px; }
  .facts { padding: 36px 0; }
  .facts .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: initial;
    gap: 28px 22px;
  }
  .fact {
    min-width: 0;
    padding-left: 14px;
    border-left: 1px solid var(--kelp);
  }
  .fact:nth-child(5) {
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
    justify-self: center;
    padding: 0 14px;
    border-left: 1px solid var(--kelp);
  }
}
@media (max-width: 420px) {
  .site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
  .btn-mono { padding: 10px 12px; font-size: 11px; }
  .wordmark .tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}
