/* ============================================================
   Tony Walton — site styles
   Palette: warm ivory, deep pine green, warm gold accent
   Type: Fraunces (display serif) + Inter (body sans)
   ============================================================ */

:root {
  --pine: #1f3a34;
  --pine-deep: #152a26;
  --pine-soft: #2f5249;
  --gold: #c08a3e;
  --gold-soft: #d8a85c;
  --ivory: #faf6ef;
  --cream: #f3ece0;
  --ink: #2a2723;
  --ink-soft: #5b554d;
  --line: #e3dac9;
  --white: #ffffff;

  --maxw: 1140px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 3px rgba(31, 58, 52, 0.08);
  --shadow-md: 0 18px 40px -22px rgba(31, 58, 52, 0.45);
  --shadow-lg: 0 30px 70px -30px rgba(21, 42, 38, 0.55);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--pine); margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--pine); color: var(--ivory); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--pine-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--pine); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--pine); transform: translateY(-2px); }
.btn-light { background: var(--gold); color: #2a1f0c; font-size: 1.05rem; padding: 0.95em 2em; box-shadow: var(--shadow-sm); }
.btn-light:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---------- Section kickers ---------- */
.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.9rem;
}
.section-kicker.light { color: var(--gold-soft); }
.section-head { max-width: 640px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.section-intro { color: var(--ink-soft); margin-top: 1rem; }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--pine);
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1rem;
  letter-spacing: 0.02em;
}
.brand-mark.small { width: 44px; height: 44px; border-radius: 12px; }
.brand-name { font-family: var(--serif); font-size: 1.2rem; color: var(--pine); }
.nav { display: flex; align-items: center; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 500; font-size: 0.97rem; color: var(--ink-soft); transition: color 0.18s ease; }
.nav-links a:hover { color: var(--pine); }
.nav-cta {
  background: var(--pine);
  color: var(--ivory) !important;
  padding: 0.55em 1.2em;
  border-radius: 999px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--pine-deep); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--pine); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(192, 138, 62, 0.12) 0%, rgba(192, 138, 62, 0) 55%),
    linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.eyebrow {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pine-soft);
  margin: 0 0 1.1rem;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 600; }
.hero h1 .accent { color: var(--gold); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 33em; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-meta { margin-top: 1.8rem; font-size: 0.9rem; color: var(--ink-soft); letter-spacing: 0.02em; }

/* Portrait */
.hero-portrait { position: relative; justify-self: center; }
.portrait-frame {
  width: clamp(240px, 30vw, 340px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--white);
  background: linear-gradient(150deg, var(--pine-soft), var(--pine-deep));
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  background:
    radial-gradient(80% 70% at 50% 20%, rgba(216, 168, 92, 0.35) 0%, rgba(216, 168, 92, 0) 60%),
    linear-gradient(150deg, var(--pine-soft), var(--pine-deep));
}
.portrait-monogram {
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 5rem);
  color: rgba(250, 246, 239, 0.92);
  letter-spacing: 0.04em;
}
.portrait-badge {
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--white);
  border-radius: 18px;
  padding: 0.85rem 1.1rem;
  display: flex; align-items: center; gap: 0.6rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.portrait-badge-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.portrait-badge-label { font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); line-height: 1.2; text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================================================
   Mission
   ============================================================ */
.mission { background: var(--pine); color: var(--ivory); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.mission-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.mission .section-kicker { color: var(--gold-soft); }
.mission-quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  line-height: 1.32;
  margin: 0;
  color: var(--ivory);
}
.mission-quote em { font-style: italic; color: var(--gold-soft); }
.mission-attrib { margin-top: 1.8rem; font-size: 1rem; letter-spacing: 0.05em; color: rgba(250, 246, 239, 0.7); }

/* ============================================================
   About
   ============================================================ */
.about { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.about-grid { display: grid; grid-template-columns: 1.4fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1.4rem; max-width: 18ch; }
.about-copy p { color: var(--ink-soft); }
.about-stats {
  display: grid; gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-md);
  position: sticky; top: 96px;
}
.stat { display: flex; align-items: baseline; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.stat:last-child { padding-bottom: 0; border-bottom: 0; }
.stat-num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; min-width: 1.8em; }
.stat-label { font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.stat-label small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.82rem; margin-top: 2px; }

/* ============================================================
   Speaking
   ============================================================ */
.speaking { background: var(--cream); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  display: grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(192, 138, 62, 0.14);
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1.3rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--ink-soft); margin: 0; font-size: 0.98rem; }

.speaking-formats {
  margin-top: 3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
}
.formats-title { font-size: 1.15rem; margin-bottom: 1rem; color: var(--pine); }
.formats-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.formats-list li { color: var(--ink-soft); padding-left: 1.6rem; position: relative; }
.formats-list li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold); }
.formats-list strong { color: var(--ink); }

/* ============================================================
   Consulting
   ============================================================ */
.consulting { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.consulting-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.consulting-copy h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); margin-bottom: 1.3rem; max-width: 16ch; }
.consulting-copy p { color: var(--ink-soft); }
.check-list { list-style: none; margin: 1.6rem 0 2rem; padding: 0; display: grid; gap: 0.85rem; }
.check-list li { position: relative; padding-left: 2rem; color: var(--ink); }
.check-list li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  width: 1.4rem; height: 1.4rem;
  display: grid; place-items: center;
  background: rgba(31, 58, 52, 0.1);
  color: var(--pine);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
}
.consulting-aside { position: relative; }
.pull-quote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.35;
  color: var(--pine);
  margin: 0;
  padding: 2.5rem;
  background: linear-gradient(160deg, var(--cream), var(--ivory));
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--gold);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   Contact
   ============================================================ */
.contact {
  background:
    radial-gradient(120% 120% at 0% 100%, rgba(192, 138, 62, 0.18) 0%, rgba(192, 138, 62, 0) 55%),
    linear-gradient(160deg, var(--pine-deep), var(--pine));
  color: var(--ivory);
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  text-align: center;
}
.contact-inner { max-width: 700px; margin: 0 auto; }
.contact h2 { color: var(--ivory); font-size: clamp(1.9rem, 4vw, 2.7rem); max-width: 16ch; margin: 0 auto 1.2rem; }
.contact-intro { color: rgba(250, 246, 239, 0.8); margin-bottom: 2rem; font-size: 1.08rem; }
.contact-note { margin-top: 1.2rem; font-size: 0.85rem; color: rgba(250, 246, 239, 0.55); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--pine-deep); color: rgba(250, 246, 239, 0.78); padding: 3rem 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; }
.footer-name { font-family: var(--serif); font-size: 1.2rem; color: var(--ivory); margin: 0; }
.footer-tag { margin: 0; font-size: 0.88rem; color: var(--gold-soft); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { font-size: 0.92rem; color: rgba(250, 246, 239, 0.78); transition: color 0.18s ease; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-copy { grid-column: 1 / -1; font-size: 0.82rem; color: rgba(250, 246, 239, 0.5); margin: 0; padding-top: 1.2rem; border-top: 1px solid rgba(250, 246, 239, 0.12); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: left; }
  .hero-portrait { order: -1; justify-self: start; margin-bottom: 1rem; }
  .about-grid { grid-template-columns: 1fr; }
  .about-stats { position: static; }
  .consulting-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 28px 1.2rem;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .nav-cta { display: inline-block; width: auto; margin-top: 0.8rem; border-bottom: 0 !important; }
}

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