/* Kite Hill Advisors: shared styles for the public pages.
   Fonts are served from this site, so pages make no third-party requests.
   Josefin Slab, Noto Sans, IBM Plex Mono: SIL Open Font License 1.1. */
@font-face { font-family: 'Josefin Slab'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/josefin-slab-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/noto-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/noto-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Noto Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/noto-sans-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2'); }

:root {
  --green: #143F29; --green-2: #2E5A43; --ink: #2B2B28; --muted: #5E5E57; --rule: #D9D9D2;
  --olive: #AAA884; --sage: #A8B08F; --sage-lt: #C9CFB2; --sage-txt: #B8BF9F; --paper: #F4F4EF; --white: #FFFFFF;
  --rust: #A3542F; --ochre: #7D6420;
  --slab: 'Josefin Slab', Georgia, serif; --sans: 'Noto Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--slab); font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: var(--green); }
a:hover { color: var(--ink); }
section[id] { scroll-margin-top: 16px; }

/* Headings and labels are set in capitals by style; the text underneath stays in sentence case for screen readers. */
.caps { text-transform: uppercase; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.gutter { padding: 0 16px; }
.panel { border-radius: 24px; overflow: hidden; position: relative; }
.label { font-family: var(--slab); font-weight: 700; font-size: 18px; line-height: 24px; letter-spacing: .12em; color: var(--green); text-transform: uppercase; }
.label-rule { border-bottom: 2px solid var(--green); padding-bottom: 16px; }
.eyebrow { font: 400 12px/16px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.mono { font-family: var(--mono); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 60; background: var(--green); color: var(--white); padding: 12px 18px; border-radius: 4px; text-decoration: none; }
.skip:focus { top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--slab); font-weight: 700; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; padding: 16px 28px; min-height: 48px; border-radius: 4px; text-decoration: none; cursor: pointer; border: 2px solid var(--green); background: var(--green); color: var(--white); }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn-light { background: var(--white); border-color: var(--white); color: var(--green); }
.btn-light:hover { background: var(--paper); border-color: var(--paper); color: var(--green); }
.btn-ghost { background: transparent; color: var(--green); }
.btn-ghost:hover { background: var(--green); color: var(--white); }
.btn[disabled] { opacity: .6; cursor: default; }
:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }

/* Deep-space panels: near-black with soft, slowly drifting blobs of the brand greens. */
.space { background-color: #040A07; }
.nebula { position: absolute; inset: 0; overflow: hidden; pointer-events: none; background: radial-gradient(120% 90% at 50% 120%, #0A1A12 0%, #040A07 60%); }
.nebula span { position: absolute; display: block; filter: blur(90px); will-change: transform; animation: drift 48s ease-in-out infinite alternate; }
.nebula .b1 { width: 62%; height: 70%; left: -14%; top: -22%; background: #1A4A31; opacity: .55; border-radius: 58% 42% 63% 37% / 46% 58% 42% 54%; }
.nebula .b2 { width: 46%; height: 58%; right: -8%; bottom: -24%; background: #2A5E3F; opacity: .42; border-radius: 41% 59% 38% 62% / 57% 39% 61% 43%; animation-duration: 56s; animation-delay: -12s; }
.nebula .b3 { width: 30%; height: 34%; left: 46%; top: 18%; background: #5C5B30; opacity: .22; border-radius: 63% 37% 52% 48% / 40% 62% 38% 60%; animation-duration: 64s; animation-delay: -30s; }
.nebula .b4 { width: 40%; height: 44%; left: 8%; bottom: -18%; background: #0E3B3A; opacity: .38; border-radius: 47% 53% 36% 64% / 62% 44% 56% 38%; animation-duration: 52s; animation-delay: -20s; }
.nebula .b5 { width: 22%; height: 26%; right: 22%; top: -6%; background: #3E6B4A; opacity: .18; border-radius: 55% 45% 60% 40% / 45% 55% 45% 55%; animation-duration: 70s; animation-delay: -8s; }
.nebula.tall span { height: 120%; }
@keyframes drift { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(3%, -2%) rotate(8deg) scale(1.06); } 100% { transform: translate(-2%, 3%) rotate(-6deg) scale(.97); } }

/* Band header used on the inner pages. */
.band-wrap { padding: 16px 16px 0; }
.band { position: relative; overflow: hidden; border-radius: 24px; padding: 32px 40px 56px; }
.band-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.band-top img { display: block; width: clamp(180px, 20vw, 280px); height: auto; }
.band-title { position: relative; margin-top: 72px; display: flex; flex-direction: column; gap: 16px; max-width: 960px; }
.band-title h1 { font-size: clamp(44px, 6vw, 88px); line-height: .94; color: var(--white); text-transform: uppercase; }
.band-title h1 span { color: var(--sage-lt); }
.band-title p { color: var(--white); font-size: 19px; line-height: 30px; max-width: 640px; }
.band-title p.eyebrow { color: var(--sage-lt); font-size: 12px; line-height: 16px; }

/* Long-form legal pages. */
.doc { max-width: 820px; margin: 0 auto; padding: 56px 40px 96px; font-size: 17px; line-height: 28px; }
.doc h1 { display: none; }
.doc h2 { font-size: 24px; line-height: 1.15; letter-spacing: .06em; text-transform: uppercase; color: var(--green); margin: 48px 0 14px; padding-top: 16px; border-top: 2px solid var(--olive); }
.doc p { margin: 0 0 16px; white-space: pre-line; }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 0 0 8px; }
.doc strong { font-weight: 600; }
.doc blockquote { margin: 0 0 32px; padding: 20px 24px; border-radius: 12px; background: var(--paper); border-top: 2px solid var(--rust); }
.doc blockquote p { margin: 0; font-size: 15px; line-height: 24px; }
.doc mark { background: #E6E8DC; color: var(--ink); padding: 1px 4px; border-radius: 3px; }

/* Footer, shared by every page. */
.site-footer { padding-top: 56px; padding-bottom: 32px; }
.site-footer .cols { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); padding-bottom: 40px; border-bottom: 1px solid var(--rule); }
.site-footer .col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 24px; color: var(--muted); }
.site-footer .col .label { font-size: 14px; letter-spacing: .14em; }
.site-footer .legal { padding-top: 24px; font-size: 14px; line-height: 21px; color: var(--muted); }

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }
  .band { padding: 24px 20px 40px; }
  .band-title { margin-top: 48px; }
  .doc { padding: 40px 20px 72px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nebula span { animation: none; }
}
