/* Mary Massey · marymassey.com
   Direction A: Editorial Authority
   ------------------------------------------------------------ */

:root {
  --ivory: #FBF8F3;
  --sand: #F5F0E8;
  --line: #E3DCD1;
  --ink: #1C1A17;
  --ink-2: #2B2825;
  --muted: #55504A;
  --muted-2: #6B6459;
  --bronze: #9A6B3B;
  --bronze-light: #D4A574;
  --on-dark-muted: #CFC7BB;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--bronze); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* Type helpers */
.eyebrow {
  font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze);
}
.on-dark .eyebrow { color: var(--bronze-light); }
.display { font-size: clamp(44px, 6.2vw, 80px); line-height: 1.0; letter-spacing: -0.015em; }
.h2 { font-size: clamp(36px, 4.2vw, 52px); }
.h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 600; line-height: 1.15; }
.lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); line-height: 1.65; }
.body-lg { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.on-dark .body-lg, .on-dark .lede { color: var(--on-dark-muted); }
em.accent { font-style: italic; color: var(--bronze); }
.quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3; color: var(--bronze); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--ivory);
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--bronze); border-color: var(--bronze); color: var(--ivory); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.on-dark .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.on-dark .btn:hover { background: var(--bronze-light); border-color: var(--bronze-light); color: var(--ink); }
.on-dark .btn-outline { background: transparent; color: var(--ivory); border-color: var(--ivory); }
.on-dark .btn-outline:hover { background: var(--ivory); color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; letter-spacing: 0.04em; text-transform: uppercase; }
.link-caps {
  display: inline-flex; align-items: center; min-height: 24px; padding-bottom: 4px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; transition: color .2s ease;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; padding-top: 22px; padding-bottom: 22px; }
.brand { font-family: var(--serif); font-size: 28px; font-weight: 600; text-decoration: none; letter-spacing: 0.01em; margin-right: auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 14px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--bronze); transition: right .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--bronze); }
.nav .nav-mobile-cta { display: none; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line); background: transparent; border-radius: var(--radius); cursor: pointer;
  align-items: center; justify-content: center; color: var(--ink);
}
@media (max-width: 960px) {
  .header-inner { gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .brand { font-size: 24px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ivory); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
  .nav a::after { display: none; }
  .nav .nav-mobile-cta { display: inline-flex; margin-top: 16px; border-bottom: 0; padding: 0 22px; }
}

/* Sections */
.section { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.section-sm { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 72px); }
.band-sand { background: var(--sand); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.on-dark { background: var(--ink); color: var(--ivory); }
.on-dark a { color: var(--ivory); }
.on-dark a:hover { color: var(--bronze-light); }
.rule-top { border-top: 1px solid var(--line); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 5vw, 64px); align-items: center; }
.split-wide { grid-template-columns: 1.15fr 1fr; }
@media (max-width: 860px) { .split, .split-wide { grid-template-columns: minmax(0, 1fr); } .split .order-first-mobile { order: -1; } }

.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-sm { gap: 16px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }

.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--radius); }
.portrait-tall { aspect-ratio: 3 / 4; max-width: 420px; margin-left: auto; margin-right: auto; }

/* Header row with intro on the right */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head > p { flex: 0 1 460px; max-width: 460px; }
.section-head > .stack { flex: 1 1 420px; }

/* Hero image: keep it from towering over the copy */
.hero-img { max-width: 520px; margin-left: auto; }
@media (max-width: 860px) { .hero-img { margin-left: 0; max-width: 100%; aspect-ratio: 4 / 4.6; } }

/* Credibility strip */
.cred { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; padding-top: 24px; padding-bottom: 24px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 700px) { .cred { justify-content: flex-start; } }

/* Ruled list */
.ruled > * { padding: 22px 0; border-top: 1px solid var(--line); font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--ink-2); }
.ruled > *:last-child { border-bottom: 1px solid var(--line); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px) clamp(24px, 2.6vw, 36px);
  display: flex; flex-direction: column; gap: 18px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(28, 26, 23, .35); }
.card .num { font-family: var(--serif); font-size: 22px; color: var(--bronze); }
.card .grow { flex-grow: 1; color: var(--muted); font-size: 16px; }
.card-dark { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.card-dark .num { color: var(--bronze-light); }
.card-dark .grow { color: var(--on-dark-muted); }
.card-dark .link-caps { color: var(--ivory); }
.card-dark .checks li { color: var(--on-dark-muted); }
.card-dark .checks li::before { background: var(--bronze-light); }
.card-dark .price small { color: var(--on-dark-muted); }
.card-dark .btn { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.card-dark .btn:hover { background: var(--bronze-light); border-color: var(--bronze-light); }
.card .btn { align-self: flex-start; }
.on-dark .card { background: transparent; border-color: #3A3631; }
.on-dark .card:hover { box-shadow: none; border-color: var(--bronze-light); }
.on-dark .card .grow { color: var(--on-dark-muted); }
.price { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.price small { font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-left: 8px; }

/* Check list */
.checks { display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.checks li::before { content: ""; position: absolute; left: 0; top: 11px; width: 16px; height: 1px; background: var(--bronze); }
.on-dark .checks li { color: var(--on-dark-muted); }

/* Two definitions (life vs business coaching) */
.defs { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.def { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; }
.def + .def { border-top: 1px solid var(--line); }
@media (min-width: 700px) { .def + .def { border-top: 0; border-left: 1px solid var(--line); } }
.def-sand { background: var(--sand); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
blockquote { margin: 0; display: flex; flex-direction: column; gap: 18px; }
blockquote p { font-family: var(--serif); font-size: clamp(24px, 2.2vw, 30px); line-height: 1.35; }
blockquote footer { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }

/* Guide box */
.guide-box { border: 1px solid var(--bronze); border-radius: var(--radius); padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; align-items: center; }
@media (max-width: 860px) { .guide-box { grid-template-columns: minmax(0, 1fr); } }
.form { display: flex; flex-direction: column; gap: 12px; }
.form label { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.form input { min-height: 52px; padding: 0 18px; border: 1px solid var(--ink); background: var(--ivory); font-family: var(--sans); font-size: 16px; color: var(--ink); border-radius: var(--radius); width: 100%; }
.form input:focus { outline: 2px solid var(--bronze); outline-offset: 2px; }
.form .fine { font-size: 13px; color: var(--muted-2); }
.embed-placeholder { border: 1px dashed var(--bronze); padding: 24px; font-size: 14px; color: var(--muted); border-radius: var(--radius); background: var(--sand); }

/* Podcast embeds */
.player-wrap { background: var(--ivory); border-radius: var(--radius); overflow: hidden; }
.player-wrap iframe, .player-wrap > div { width: 100%; }

/* Page hero (interior pages) */
.page-hero { padding-top: clamp(56px, 7vw, 96px); padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero .display { max-width: 900px; }
.page-hero .lede { max-width: 640px; margin-top: 24px; }

/* Final CTA */
.cta-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-center h2 { max-width: 820px; }
.cta-center p { max-width: 560px; }

/* Footer */
.site-footer { padding-top: 44px; padding-bottom: 44px; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; }
.footer-brand { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--ink); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-nav a { text-decoration: none; color: var(--muted); }
.socials { display: flex; gap: 14px; }
.socials a { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.socials a:hover { border-color: var(--bronze); color: var(--bronze); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .card:hover { transform: none; } .btn:hover { transform: none; } }

/* Utilities */
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.max-text { max-width: 720px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Logo */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 40px; height: 40px; flex: 0 0 auto; }
@media (max-width: 960px) { .brand img { width: 34px; height: 34px; } .brand { gap: 10px; } }
.footer-logo { width: 150px; height: auto; display: block; }

/* Smaller photos everywhere */
.portrait { max-width: 440px; margin-left: auto; margin-right: auto; }
.portrait-tall { max-width: 400px; }
.hero-img { max-width: 460px; }
@media (max-width: 860px) {
  .portrait, .portrait-tall, .hero-img { max-width: 380px; aspect-ratio: 4 / 5; }
}
.ghl-form { width: 100%; min-height: 461px; }
.portrait { height: auto; }

/* Brand lockup: Mary Massey / COACHING */
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.brand-sub { font-family: var(--sans); font-size: 10px; font-weight: 600; letter-spacing: 0.42em; text-transform: uppercase; color: var(--muted); margin-top: 5px; padding-left: 2px; }
@media (max-width: 960px) { .brand-name { font-size: 22px; } .brand-sub { font-size: 9px; letter-spacing: 0.36em; } }

/* Testimonials */
.quotes-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.testimonial { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 3vw, 40px); justify-content: space-between; }
.testimonial p { font-size: clamp(19px, 1.5vw, 21px); line-height: 1.5; }
.testimonial-long p { font-size: clamp(20px, 1.7vw, 24px); line-height: 1.5; }
.testimonial-long p + p { margin-top: 0; }

/* Speaking organizations */
.orgs { display: flex; flex-wrap: wrap; gap: 14px 0; margin-top: 8px; }
.orgs li { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px); color: var(--ink-2); padding: 0 22px; border-left: 1px solid var(--line); line-height: 1.2; }
.orgs li:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 700px) { .orgs { flex-direction: column; gap: 0; } .orgs li { border-left: 0; padding: 12px 0; border-top: 1px solid var(--line); } .orgs li:first-child { border-top: 0; } }
