/* The supplied logo defines the bright accents. Darker companion tones keep
   small text, buttons, and the brand section readable in both palettes. */
:root,
:root[data-theme="green"] {
  color-scheme: light;
  --brand: #00a29b;
  --brand-action: #00766e;
  --brand-hover: #005f59;
  --paper: #f5f6f0;
  --paper-rgb: 245,246,240;
  --ink: #183f3b;
  --ink-rgb: 24,63,59;
  --muted: #536b66;
  --stone: #e4ece5;
  --soft: #e8f0e9;
  --hero-base: #e9eee5;
  --line: rgba(24,63,59,.19);
  --control-border: #758a83;
  --selection: #cce8df;
  --on-brand: #fffdf7;
  --on-brand-muted: #e2efe9;
  --on-brand-line: rgba(255,253,247,.3);
  --focus: #a34d12;
  --dialog-shadow: rgba(11,46,39,.26);
  --backdrop: rgba(10,43,36,.66);
  --green: var(--brand-action);
  --amber: var(--focus);
}

:root[data-theme="orange"] {
  --brand: #f37021;
  --brand-action: #a94012;
  --brand-hover: #87300a;
  --paper: #fbf3e7;
  --paper-rgb: 251,243,231;
  --ink: #4d2c1c;
  --ink-rgb: 77,44,28;
  --muted: #76604f;
  --stone: #f0e0cf;
  --soft: #f5e5d5;
  --hero-base: #f2e3d1;
  --line: rgba(77,44,28,.2);
  --control-border: #9e7c60;
  --selection: #f8d2ae;
  --on-brand-muted: #fbe6d2;
  --focus: #743a17;
  --dialog-shadow: rgba(69,30,10,.25);
  --backdrop: rgba(61,29,13,.66);
}

/* Complete logo lockups are kept intact; only the active palette is exposed. */
.wordmark { width:112px; height:78px; justify-content:center; }
.brand-logo { width:112px; height:78px; object-fit:contain; }
.brand-logo-orange { display:none; }
:root[data-theme="orange"] .brand-logo-green { display:none; }
:root[data-theme="orange"] .brand-logo-orange { display:block; }
.header-inner { height:106px; gap:22px; }
.desktop-nav { gap:29px; margin-left:0; }
.header-actions { display:flex; align-items:center; gap:18px; flex-shrink:0; }
.header-cta { gap:20px; white-space:nowrap; }
.theme-toggle {
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  aspect-ratio:1;
  padding:6px;
  flex-shrink:0;
  border:0;
  border-radius:50%;
  background:transparent;
  touch-action:manipulation;
}
.theme-orbit {
  display:block;
  width:32px;
  height:32px;
  overflow:visible;
  filter:drop-shadow(0 2px 2px rgba(var(--ink-rgb),.25));
  transition:transform 140ms cubic-bezier(.23,1,.32,1);
}
.theme-toggle:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.theme-toggle:focus-visible .theme-orbit { transition:none; }
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
.about { color:var(--on-brand); border-top:4px solid var(--brand); }
.about-copy .about-lead { color:var(--on-brand); }

.site-footer .footer-top { align-items:center; }
.header-cta:hover,
.button-primary,
.intent-options input:checked+span,
.circle-link:hover { color:var(--on-brand); }
.hero { height:min(750px,calc(100svh - 106px)); }
html { scroll-padding-top:118px; }

@media (hover:hover) and (pointer:fine) {
  .theme-toggle:hover .theme-orbit {
    transform:translateY(-1px);
    filter:drop-shadow(0 3px 3px rgba(var(--ink-rgb),.25));
  }
}
.theme-toggle:active .theme-orbit {
  transform:translateY(1px) scale(.96);
  filter:drop-shadow(0 1px 1px rgba(var(--ink-rgb),.2));
}
.theme-toggle:active:focus-visible .theme-orbit { transform:none; }

@media (max-width:1200px) {
  .header-cta { display:none; }
  .header-inner { gap:18px; }
  .desktop-nav { gap:27px; }
}

@media (max-width:900px) {
  .header-inner { height:94px; padding-inline:28px; }
  .desktop-nav { display:none; }
  .header-actions { gap:16px; }
  .wordmark,.brand-logo { width:104px; height:72px; }
  .menu-toggle {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    width:44px;
    height:44px;
    padding:10px;
    margin-right:0;
  }
  .menu-toggle>span { display:block; height:1px; width:24px; background:var(--brand-action); transition:transform .18s ease-out; }
  .menu-toggle[aria-expanded="true"]>span:first-child { transform:translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"]>span:last-child { transform:translateY(-4px) rotate(-45deg); }
  .mobile-nav:not([hidden]) { display:block; padding:8px 28px 22px; border-top:1px solid var(--line); }
  .mobile-nav a { display:flex; justify-content:space-between; padding:14px 0; font-size:15px; border-bottom:1px solid var(--line); }
  .mobile-nav a span { font-size:10px; color:var(--muted); }
  html { scroll-padding-top:108px; }
}

@media (max-width:600px) {
  .header-inner { height:84px; padding-inline:20px; gap:10px; }
  .wordmark,.brand-logo { width:86px; height:60px; }
  .header-actions { gap:9px; }
  .theme-toggle { padding:8px; }
  .theme-orbit { width:28px; height:28px; }
  .mobile-nav:not([hidden]) { padding-inline:20px; }
  .hero { height:780px; max-height:calc(100svh - 84px); }

  .footer-top { gap:24px; }

  html { scroll-padding-top:98px; }
}

@media (max-width:370px) {
  .header-inner { padding-inline:16px; gap:6px; }
  .header-actions { gap:5px; }
  .hero { max-height:none; height:720px; }
  .footer-top { column-gap:21px; }
  .footer-top>p { font-size:16px; }
}

@media (prefers-reduced-motion:reduce) {
  .theme-orbit { transition:none; }
  .theme-toggle:hover .theme-orbit,
  .theme-toggle:active .theme-orbit { transform:none; }
  .menu-toggle>span { transition:none; }
}

/* The brand mark appears only in the header. */
.footer-top>p { border-left:0; padding-left:0; }
