/* Kuuni Partners — theme.css
   Design tokens + reset + component styles.
   Palette drawn from the site's navy + clean professional aesthetic. */

:root {
  --navy: #0f2440;
  --navy-800: #16345c;
  --navy-600: #1e4a80;
  --accent: #c8a45c;        /* warm gold accent to pair with navy */
  --accent-600: #b28c42;
  --ink: #14202e;
  --body: #3a4757;
  --muted: #6b7787;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --bg-navy: #0f2440;
  --white: #ffffff;

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 36, 64, 0.08);
  --shadow-sm: 0 4px 14px rgba(15, 36, 64, 0.06);
}

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

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 600; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  border: 1px solid var(--navy); cursor: pointer; transition: transform .15s ease, background .2s ease;
  text-align: center;
}
.btn:hover { background: var(--navy-800); text-decoration: none; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(15,36,64,.25); }
.btn-ghost:hover { background: rgba(15,36,64,.05); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600;
  color: var(--accent-600); margin-bottom: 12px;
}

/* Season mode toggle */
.mode-bar { background: #fff; border-bottom: 1px solid var(--line); }
.mode-inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding-block: 12px; }
.mode-switch { display: inline-flex; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 4px; gap: 4px; }
.mode-btn {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; font-size: 15px; color: var(--muted);
  padding: 9px 22px; border-radius: 999px; transition: background .2s ease, color .2s ease;
}
.mode-btn:hover { color: var(--ink); }
.mode-btn[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.mode-note { font-size: 13.5px; color: var(--muted); margin: 0; }
.hero-strategy { background:
  radial-gradient(1200px 500px at 80% -10%, rgba(200,164,92,.20), transparent 60%),
  linear-gradient(180deg, #fbfaf6, #f4f1ea); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand:hover { text-decoration: none; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--navy); }
.brand-tag { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 26px; padding: 0; }
.nav-menu a { color: var(--ink); font-weight: 500; font-size: 15px; }
.nav-menu a:hover { color: var(--navy-600); text-decoration: none; }
.nav-menu .btn { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* Hero */
.hero {
  background: radial-gradient(1200px 500px at 80% -10%, rgba(30,74,128,.18), transparent 60%),
              linear-gradient(180deg, #fbfcfe, #f2f5f9);
  padding: 84px 0 72px;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 16ch; margin-bottom: 20px; }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--body); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 40px; }
.hero-stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 780px; }
.hero-stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm); font-size: 14px; color: var(--muted); }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 20px; color: var(--navy); margin-bottom: 2px; }

/* Sections */
.section { padding: 78px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); max-width: 20ch; margin-bottom: 14px; }
.section-lede { color: var(--body); max-width: 62ch; font-size: 1.08rem; margin-bottom: 40px; }
.subhead { font-size: 1.4rem; margin: 48px 0 22px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.card h3 { font-size: 1.25rem; margin-bottom: 16px; color: var(--navy); }
.ticks { list-style: none; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600;
  display: grid; place-items: center; font-size: 18px;
}
.steps h4 { font-size: 1.1rem; margin-bottom: 4px; color: var(--ink); }
.steps p { color: var(--muted); font-size: .98rem; }

/* Feature row */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.feature { border-top: 3px solid var(--accent); padding-top: 16px; }
.feature h4 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease; }
.industry:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.industry h3 { font-size: 1.2rem; color: var(--navy); margin-bottom: 10px; }
.industry p { color: var(--body); font-size: .98rem; }
.industry-note { margin-top: 30px; color: var(--muted); font-style: italic; }

/* Georgia focus band */
.ga-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-800) 100%);
  color: #eaf1fa; padding: 66px 0;
}
.ga-band h2 { color: #fff; max-width: 22ch; margin-bottom: 14px; }
.eyebrow-light { color: var(--accent); }
.ga-lede { max-width: 64ch; color: #cdd8e6; font-size: 1.08rem; }
.ga-places { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.ga-places li {
  border: 1px solid rgba(255,255,255,.25); border-radius: 999px;
  padding: 7px 16px; font-size: 14px; color: #eaf1fa;
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; display: grid; gap: 18px; margin-top: 8px; }
.contact-list li { display: grid; grid-template-columns: 90px 1fr; gap: 14px; align-items: baseline; }
.contact-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-list address { font-style: normal; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .muted { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 16px; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus { border-color: var(--navy-600); outline: none; box-shadow: 0 0 0 3px rgba(30,74,128,.15); }
.form-note { margin-top: 14px; font-size: 14px; color: var(--navy-600); min-height: 1em; }

/* Footer */
.site-footer { background: var(--bg-navy); color: #cdd8e6; padding: 56px 0 30px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.site-footer .brand-name { color: #fff; font-size: 20px; }
.footer-tag { max-width: 42ch; margin-top: 8px; color: #9fb1c6; }
.footer-contact { display: grid; gap: 6px; align-content: start; }
.footer-contact a { color: #fff; }
.footer-legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: #8ea1b8; }

/* ===== Wiki page ===== */
.wiki-hero { background: linear-gradient(180deg, #fbfcfe, #f2f5f9); padding: 64px 0 40px; border-bottom: 1px solid var(--line); }
.wiki-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); max-width: 22ch; margin-bottom: 16px; }
.wiki-hero .lede { max-width: 66ch; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--navy-600); }

.wiki-layout { display: grid; grid-template-columns: 250px 1fr; gap: 48px; padding: 48px 0 80px; align-items: start; }
.wiki-toc { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.wiki-toc h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 12px; }
.wiki-toc ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; }
.wiki-toc a { color: var(--ink); font-size: 14px; }

.wiki-content { min-width: 0; }
.wiki-section { padding: 8px 0 40px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.wiki-section:last-child { border-bottom: 0; }
.wiki-section > h2 { font-size: 1.8rem; margin-bottom: 8px; scroll-margin-top: 92px; }
.wiki-section .kicker { color: var(--accent-600); font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.wiki-content h3 { font-size: 1.25rem; margin: 28px 0 10px; color: var(--navy); }
.wiki-content p { margin-bottom: 14px; }
.wiki-content ol.guide { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; margin: 16px 0; }
.wiki-content ol.guide > li { counter-increment: step; position: relative; padding: 16px 18px 16px 58px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.wiki-content ol.guide > li::before {
  content: counter(step); position: absolute; left: 16px; top: 16px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-head); font-weight: 600; display: grid; place-items: center; font-size: 15px;
}
.wiki-content ul.bullets { padding-left: 22px; display: grid; gap: 8px; margin: 12px 0; }
.wiki-content code { background: #eef2f7; padding: 2px 6px; border-radius: 5px; font-size: .9em; color: var(--navy-800); }
.callout { border-left: 4px solid var(--accent); background: var(--bg-alt); padding: 16px 20px; border-radius: 0 8px 8px 0; margin: 18px 0; }
.callout strong { color: var(--ink); }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0; }
.metric { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; background: #fff; }
.metric h4 { font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.metric p { font-size: .92rem; color: var(--muted); margin: 0; }
.wiki-cta { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 30px; text-align: center; margin-top: 8px; }
.wiki-cta h2 { color: #fff; margin-bottom: 10px; }
.wiki-cta p { color: #cdd8e6; max-width: 52ch; margin: 0 auto 18px; }
.wiki-cta .btn { background: var(--accent); border-color: var(--accent); color: var(--navy); }
.wiki-cta .btn:hover { background: var(--accent-600); border-color: var(--accent-600); }

@media (max-width: 900px) {
  .wiki-layout { grid-template-columns: 1fr; gap: 24px; }
  .wiki-toc { position: static; }
}

/* Responsive */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 22px 20px; box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none; transition: .25s;
  }
  .nav-menu.open { max-height: 380px; opacity: 1; pointer-events: auto; padding-top: 12px; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 12px 4px; }
  .nav-menu .btn { text-align: center; margin-top: 6px; }

  .card-grid, .steps, .feature-row, .industry-grid, .contact-grid, .hero-stats { grid-template-columns: 1fr; }
  .feature-row { gap: 26px; }
  .contact-grid { gap: 40px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 60px 0 52px; }
  .section { padding: 56px 0; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
