/* ============================================================
   Hantal Advising — shared stylesheet
   ============================================================ */

:root {
  --ink: #14263f;         /* deep navy, from wordmark */
  --ink-soft: #3a4d66;
  --teal: #123047;        /* anchor dark teal/navy */
  --teal-deep: #0b2033;
  --gold: #ab8a55;        /* metallic accent, from icosahedron edges */
  --gold-bright: #c7a668;
  --paper: #f7f3ec;       /* warm off-white ground */
  --paper-raised: #fffdf9;
  --line: #e3dbca;
  --text: #1c2b3a;
  --text-muted: #5b6b7c;
  --max: 1180px;

  --font-head: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--gold); }

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

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--text); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.9em;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 640px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper-raised);
}
.btn-primary:hover { background: var(--gold); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- header / nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand img { height: 34px; width: auto; }
nav.primary { display: flex; align-items: center; gap: 32px; }
nav.primary a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
nav.primary a.current { color: var(--ink); font-weight: 600; }
nav.primary a.cta {
  color: var(--paper-raised);
  background: var(--ink);
  padding: 10px 18px;
  border-radius: 3px;
}
nav.primary a.cta:hover { background: var(--gold); color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

@media (max-width: 860px) {
  nav.primary {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    background: var(--paper-raised);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 28px 28px;
    border-bottom: 1px solid var(--line);
  }
  nav.primary.open { display: flex; }
  nav.primary a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); }
  nav.primary a.cta { margin-top: 12px; text-align: center; }
  .nav-toggle { display: block; }
}

/* ---------- hero ---------- */
.hero {
  padding: 96px 0 72px;
}
.hero .eyebrow { margin-bottom: 1.1em; }
.hero h1 { max-width: 820px; }
.hero .lede { margin-top: 22px; font-size: 1.25rem; }
.hero-cta { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-arenas {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-arenas div {
  background: var(--paper-raised);
  padding: 22px 24px;
  font-size: 0.95rem;
  color: var(--ink-soft);
  font-weight: 500;
}
@media (max-width: 700px) {
  .hero-arenas { grid-template-columns: 1fr; }
}

/* ---------- sections on dark ---------- */
.band-dark {
  background: var(--teal-deep);
  color: #dfe6ec;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: #b9c3cd; }
.band-dark .eyebrow { color: var(--gold-bright); }

/* ---------- cards ---------- */
.grid { display: grid; gap: 26px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 30px 28px;
  border-radius: 4px;
}
.card h3 { margin-bottom: 0.5em; }
.card .tag {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.8em;
  display: block;
}
.card ul { margin: 0.8em 0 0; padding-left: 1.1em; color: var(--text-muted); }
.card ul li { margin-bottom: 0.4em; }
.card a.more { display: inline-block; margin-top: 1em; font-weight: 600; font-size: 0.92rem; }

/* ---------- credibility strip ---------- */
.credibility {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
}
.credibility .label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 22px;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  align-items: center;
}
.logo-row span {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink-soft);
  font-size: 1.02rem;
  opacity: 0.85;
}

/* ---------- signature band ---------- */
.signature {
  background: var(--teal-deep);
  color: #e8ecef;
  padding: 72px 0;
  position: relative;
}
.signature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(171,138,85,0.16), transparent 55%);
  pointer-events: none;
}
.signature .inner { position: relative; }
.signature .eyebrow { color: var(--gold-bright); }
.signature h2 { color: #fff; max-width: 640px; }
.signature p { color: #b9c3cd; max-width: 600px; }
.signature ul { color: #c7d0d8; padding-left: 1.2em; max-width: 600px; }
.signature ul li { margin-bottom: 0.5em; }

/* ---------- about teaser / person ---------- */
.person-teaser {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: center;
}
.person-teaser img {
  border-radius: 4px;
  border: 1px solid var(--line);
}
@media (max-width: 700px) {
  .person-teaser { grid-template-columns: 1fr; }
  .person-teaser img { max-width: 220px; }
}

.person-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  margin-bottom: 24px;
}
.person-card img { border-radius: 4px; border: 1px solid var(--line); }
.person-card .credentials { margin-top: 1em; }
.person-card .credentials li { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 700px) {
  .person-card { grid-template-columns: 1fr; }
  .person-card img { max-width: 200px; }
}

/* ---------- talks / insights ---------- */
.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-tabs button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-raised);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-tabs button.active,
.filter-tabs button:hover {
  background: var(--ink);
  color: var(--paper-raised);
  border-color: var(--ink);
}

.talk-list { display: grid; gap: 20px; }
.talk-card {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 22px 26px;
}
.talk-card .kind {
  width: 96px;
  height: 96px;
  border-radius: 4px;
  background: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  font-family: var(--font-head);
  font-size: 0.8rem;
  text-align: center;
  padding: 8px;
}
.talk-card .meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.talk-card h3 { margin-bottom: 6px; font-size: 1.15rem; }
.talk-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.talk-card .go { white-space: nowrap; font-weight: 600; }
.talk-card.pinned { border-color: var(--gold); }
@media (max-width: 700px) {
  .talk-card { grid-template-columns: 1fr; }
  .talk-card .kind { width: 56px; height: 56px; font-size: 0.65rem; }
}

.talk-card[data-category][hidden] { display: none; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
}
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
}
form.contact-form { display: grid; gap: 18px; }
form.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper-raised);
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--text);
}
form.contact-form textarea { resize: vertical; min-height: 130px; }
form.contact-form .hp { position: absolute; left: -9999px; }

.contact-side .item { margin-bottom: 28px; }
.contact-side .item .label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 6px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c7cfd6; max-width: 520px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: #fff; }

/* ---------- footer ---------- */
footer.site {
  background: var(--teal-deep);
  color: #96a3ae;
  padding: 56px 0 32px;
  font-size: 0.9rem;
}
footer.site .foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}
footer.site h4 { color: #dfe6ec; font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
footer.site a { color: #96a3ae; }
footer.site a:hover { color: var(--gold-bright); }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 10px; }
footer.site .brand-foot { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
footer.site .brand-foot img { height: 30px; }
footer.site .brand-foot span { font-family: var(--font-head); color: #fff; font-size: 1.05rem; }
footer.site .bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
}
@media (max-width: 700px) {
  footer.site .foot-grid { grid-template-columns: 1fr; }
}

/* ---------- misc ---------- */
.section-head { max-width: 680px; margin-bottom: 48px; }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.note-box {
  background: #f0e9d8;
  border: 1px dashed var(--gold);
  border-radius: 4px;
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 20px;
}
