/* ===========================================================
   goehle.net — John Goehle, personal home
   A personal hub pointing to everything John does.
   Dignified slate-navy + warm brass. Family cousin of the
   jgoehle.com / egd-consulting.com house style.
   =========================================================== */

:root {
  --navy:    #1b2a3a;
  --navy-2:  #24384c;
  --navy-3:  #2f4a63;
  --brass:   #c1954a;
  --brass-d: #a97e37;
  --brass-lt:#faf3e6;
  --ink:     #1d2733;
  --muted:   #56616f;
  --line:    #e6e3dd;
  --bg:      #f7f5f1;
  --white:   #ffffff;
  --radius:  10px;
  --shadow:  0 6px 24px rgba(27, 42, 58, 0.12);
  --shadow-sm: 0 2px 8px rgba(27, 42, 58, 0.08);
  --max:     1120px;
}

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

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

h1, h2, h3, h4 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--navy);
  line-height: 1.25;
  margin: 0 0 0.5em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

a { color: var(--navy-3); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; height: auto; }

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

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brass-d);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin-bottom: 0.6em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 70ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 8px;
  font-weight: 700;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.98rem;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary { background: var(--brass); color: #2a2208; }
.btn--primary:hover { background: #cfa257; box-shadow: var(--shadow-sm); }
.btn--solid { background: var(--navy-3); color: #fff; }
.btn--solid:hover { background: var(--navy-2); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy-3); color: var(--navy-3); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand__mark {
  width: 42px; height: 42px;
  background: var(--navy); color: var(--brass);
  border-radius: 8px; display: grid; place-items: center;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: Georgia, serif; font-weight: 700; color: var(--navy); font-size: 1.15rem; }
.brand__tag { font-size: 0.72rem; color: var(--muted); letter-spacing: .04em; }

.nav-links { display: flex; gap: 6px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: 6px; }
.nav-links a:hover { background: var(--brass-lt); text-decoration: none; color: var(--navy); }
.nav-links a.active { color: var(--brass-d); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; font-size: 1.5rem; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 60%, var(--navy-3) 140%);
  color: #fff; padding: 80px 0;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: center; }
.hero h1 { color: #fff; font-size: 2.9rem; max-width: 16ch; }
.hero .lead { color: #d6dee7; }
.hero .eyebrow { color: #d9b477; }

/* Hero portrait */
.hero-portrait { justify-self: center; position: relative; }
.hero-portrait img {
  width: 320px; max-width: 100%;
  border-radius: 14px;
  border: 5px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
}
.hero-portrait__cap {
  margin-top: 14px; text-align: center;
  color: #b9c6d3; font-size: .86rem; font-style: italic;
}

/* ---------- Stats / band ---------- */
.band { background: var(--brass-lt); }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.stat__num { font-family: Georgia, serif; font-size: 2.2rem; color: var(--navy); font-weight: 700; }
.stat__label { color: var(--muted); font-size: 0.92rem; }

/* ---------- Bio split ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.bio-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.bio-photo img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); width: 100%; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm);
}
.card h3 { display: flex; align-items: center; gap: 10px; }
.card__icon { color: var(--brass-d); font-size: 1.4rem; }

/* ---------- "What I do" area cards ---------- */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.area {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.area__kicker {
  text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700;
  color: var(--brass-d); margin-bottom: 8px;
  font-family: -apple-system, sans-serif;
}
.area h3 { margin: 0 0 .4em; font-size: 1.35rem; }
.area p { color: var(--muted); font-size: .97rem; }
.area__links { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.area__links a { font-weight: 600; font-size: .92rem; display: inline-flex; align-items: center; gap: 5px; }
.area__links a::after { content: "\2192"; color: var(--brass-d); }

/* ---------- Directory ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.dir {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; box-shadow: var(--shadow-sm);
  transition: border-color .15s ease, transform .15s ease;
}
.dir:hover { border-color: var(--brass); transform: translateY(-2px); text-decoration: none; }
.dir__main { min-width: 0; }
.dir__name { display: block; font-family: Georgia, serif; font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.dir__desc { display: block; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.dir__domain { color: var(--brass-d); font-size: .82rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.dir__go { flex: none; color: var(--navy-3); font-weight: 700; font-size: 1.2rem; }

/* ---------- Page head ---------- */
.pagehead { background: var(--navy); color: #fff; padding: 56px 0; }
.pagehead h1 { color: #fff; }
.pagehead p { color: #d6dee7; margin: 0; }
.pagehead .eyebrow { color: #d9b477; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.4em; }
.prose p { color: var(--ink); }

/* ---------- Feature list ---------- */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.features li { position: relative; padding-left: 32px; }
.features li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  color: var(--brass-d); font-weight: 800; background: var(--brass-lt);
  width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.8rem;
}

/* ---------- Meta list (label / value rows) ---------- */
.meta-list { list-style: none; padding: 0; margin: 22px 0 0; font-size: 0.95rem; }
.meta-list li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
}
.meta-list li:last-child { border-bottom: 0; }
.meta-list li span:first-child { color: var(--muted); }
.meta-list li span:last-child { font-weight: 600; text-align: right; }

/* ---------- Contact / forms ---------- */
.form-grid { display: grid; gap: 18px; max-width: 620px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.92rem; }
.field input, .field textarea, .field select {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; font-family: inherit; background: var(--white);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--navy-3); box-shadow: 0 0 0 3px rgba(47,74,99,.15);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c3ceda; padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: -apple-system, sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: .1em; }
.site-footer a { color: #c3ceda; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: #8ea1b3;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.center-narrow { max-width: 760px; margin: 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  body { font-size: 16px; }
  h1 { font-size: 2rem; }
  .hero { padding: 56px 0; }
  .hero h1 { font-size: 2.15rem; }
  .hero__grid, .grid-2, .grid-3, .bio-split, .area-grid, .dir-grid, .footer-grid, .stats { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; }
  .hero-portrait img { width: 240px; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; border-radius: 6px; }
  .nav-toggle { display: block; }
  .stats { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}
