/* ============================================================
   K2 Wealth Management — site styles
   Three brand treatments, switched via <html data-theme="...">
     gold-light : Design 1 — white background, gold accents
     mono-light : Design 2 — white background, black accents
     gold-dark  : Design 3 — black background, gold accents
   ============================================================ */

:root,
:root[data-theme="gold-light"] {
  --bg:        #FFFFFF;
  --surface:   #FAF8F4;
  --ink:       #17150F;
  --ink-soft:  #5C5648;
  --accent:    #C3A36B;
  --accent-ink:#A98A52;   /* accent darkened for text on white */
  --hairline:  #E9E3D6;
  --band-bg:   #17150F;   /* contrast band */
  --band-ink:  #F4EFE6;
  --band-accent:#C3A36B;
  --btn-bg:    #C3A36B;
  --btn-ink:   #FFFFFF;
  --focus:     #A98A52;
}

:root[data-theme="mono-light"] {
  --bg:        #FFFFFF;
  --surface:   #F7F7F7;
  --ink:       #000000;
  --ink-soft:  #595959;
  --accent:    #000000;
  --accent-ink:#000000;
  --hairline:  #E3E3E3;
  --band-bg:   #000000;
  --band-ink:  #FFFFFF;
  --band-accent:#FFFFFF;
  --btn-bg:    #000000;
  --btn-ink:   #FFFFFF;
  --focus:     #000000;
}

:root[data-theme="gold-dark"] {
  --bg:        #000000;
  --surface:   #0E0D0A;
  --ink:       #F2EDE3;
  --ink-soft:  #A29A8A;
  --accent:    #C3A36B;
  --accent-ink:#C3A36B;
  --hairline:  #2A2619;
  --band-bg:   #0E0D0A;
  --band-ink:  #F2EDE3;
  --band-accent:#C3A36B;
  --btn-bg:    #C3A36B;
  --btn-ink:   #000000;
  --focus:     #C3A36B;
}

/* ---------- reset & base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.wrap {
  width: min(1160px, calc(100% - 3rem));
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 0 0 1rem;
}

.lede { font-size: 1.15rem; color: var(--ink-soft); }

section { padding: 5.5rem 0; }
section + section { border-top: 1px solid var(--hairline); }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--hairline);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
}

.brand .mark { color: var(--accent); flex: none; }

.brand .wordmark {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.brand .wordmark small {
  display: block;
  font-family: "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.6;
  text-transform: uppercase;
  color: var(--ink);
}

.site-nav { display: flex; align-items: center; gap: 1.75rem; }
.site-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 0.35rem 0;
  border-bottom: 1.5px solid transparent;
  transition: color 160ms, border-color 160ms;
}
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: var(--btn-ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--btn-bg);
  transition: opacity 160ms;
}
.btn:hover { opacity: 0.85; }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover { border-color: var(--accent); opacity: 1; }

@media (max-width: 860px) {
  .site-nav { display: none; }  /* keep it simple: nav collapses to footer links */
  .site-header .btn { margin-left: auto; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 7.5rem 0 6.5rem;
  overflow: hidden;
}

.hero .ridge {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: auto;
  color: var(--accent);
  opacity: 0.5;
  pointer-events: none;
}
:root[data-theme="mono-light"] .hero .ridge { opacity: 0.25; }

.hero .wrap { position: relative; }

.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 52ch; margin-bottom: 2.2rem; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- credential strip ---------- */

.creds { padding: 2.2rem 0; }
.creds-line {
  margin: 0;
  max-width: none;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.creds .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
}
.creds .cred h3 {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.4rem;
}
.creds .cred p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.card .glyph { color: var(--accent); margin-bottom: 1rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex: 1; }
.card a {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent-ink);
}
.card a:hover { text-decoration: underline; }

/* ---------- process (real sequence) ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  counter-reset: step;
}
.step { border-top: 2px solid var(--accent); padding-top: 1.2rem; }
.step::before {
  counter-increment: step;
  content: "Step " counter(step);
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.6rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- contrast band ---------- */

.band {
  background: var(--band-bg);
  color: var(--band-ink);
  border-top: 1px solid var(--hairline);
}
:root[data-theme="gold-dark"] .band { border-block: 1px solid var(--hairline); }
.band .eyebrow { color: var(--band-accent); }
.band blockquote {
  margin: 0;
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  line-height: 1.4;
  max-width: 30ch;
  text-wrap: balance;
}
.band .attribution {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--band-accent);
}

/* ---------- insights ---------- */

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.insight {
  border-top: 1px solid var(--hairline);
  padding-top: 1.3rem;
}
.insight .date {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.insight h3 { margin: 0.5rem 0 0.4rem; font-size: 1.15rem; }
.insight h3 a { text-decoration: none; }
.insight h3 a:hover { color: var(--accent-ink); }
.insight p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* ---------- CTA band ---------- */

.cta-band { text-align: center; }
.cta-band h2 { max-width: none; }
.cta-band p { margin-inline: auto; }
.cta-band .btn { margin-top: 1.5rem; }

/* ---------- two-column feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- team ---------- */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.person {
  background: var(--surface);
  border: 1px solid var(--hairline);
  padding: 2rem;
  text-align: center;
}
.person .avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  border: 1px solid var(--accent);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.6rem;
  overflow: hidden;
}
.person .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.person h3 { margin-bottom: 0.2rem; }
.person .title {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin-bottom: 0.8rem;
}
.person p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

/* ---------- forms ---------- */

.form-grid { display: grid; gap: 1.2rem; max-width: 560px; margin-top: 2rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.9rem;
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font: inherit;
  padding: 0.7rem 0.9rem;
}
.field select:focus {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.call-line {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: none;
}
.call-line a {
  font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  text-decoration: none;
  margin-left: 0.5rem;
  vertical-align: middle;
}
.contact-form-head {
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
}
.office-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  margin: 2rem 0 0.3rem;
}
button.btn { cursor: pointer; }
.form-note { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 4rem 0 2.5rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 {
  font-family: "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); text-decoration: underline; }
.site-footer .legal {
  border-top: 1px solid var(--hairline);
  padding-top: 1.8rem;
  font-size: 0.78rem;
  line-height: 1.7;
}
.site-footer .legal p { max-width: none; }

/* ---------- tables (disclosures / fees) ---------- */

.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td {
  text-align: left;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--hairline);
  font-variant-numeric: tabular-nums;
}
th {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Theme switcher removed 2026-07-13 — Design 3 (gold-dark) chosen and
   hard-coded via data-theme on <html>. The other two themes remain defined
   above for easy revert. */
