@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Karla:wght@400;500;600;700&family=Josefin+Sans:wght@300;400;500;600;700&display=swap');

* { box-sizing: border-box; }
body { margin: 0; background: #FFFFFF; color: #2B2824; font-family: 'Karla', sans-serif; }
a { color: #BE6B45; text-decoration: none; }
a:hover { color: #93711F; }
::selection { background: #BAAFA3; color: #F7F3EC; }
img { max-width: 100%; }

/* Layout containers */
/* All content columns share the header's 1200px + 24px gutter */
.container-1200, .container-1100, .container-1000,
.container-900, .container-800, .container-700 {
  max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px;
}
.hero-grid, .box-grid { max-width: 1200px; margin: 0 auto; }

/* Header / nav */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95); backdrop-filter: blur(6px); border-bottom: 1px solid #ECEAE4; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.header-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 8px; flex-shrink: 0; }
.social-row { display: flex; gap: 10px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid #2B2824; color: #2B2824; }
.social-icon svg { width: 14px; height: 14px; }
.social-icon:hover { background: #2B2824; color: #FBF8F2; border-color: #2B2824; }
.site-footer-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer .social-icon { border-color: #8A8477; color: #C9B896; }
.site-footer .social-icon:hover { background: #8A8477; color: #2B2824; border-color: #8A8477; }

/* Scroll fade-in */
.fade-in-scroll { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.fade-in-scroll.is-visible { opacity: 1; transform: translateY(0); }
.logo-link { display: flex; align-items: center; flex-shrink: 0; font-family: 'Karla', sans-serif; font-size: 44px; color: #000000; text-decoration: none; }
.main-nav { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; row-gap: 6px; flex: 1 1 auto; min-width: 0; justify-content: center; }
.nav-link { cursor: pointer; font-size: 16px; font-weight: 500; font-family: 'Josefin Sans', sans-serif; color: #2B2824; border-bottom: 2px solid transparent; padding-bottom: 4px; white-space: nowrap; }
.nav-link:hover { color: #000000; border-bottom-color: #F6D24B; }
.nav-link.active { color: #000000; font-weight: 600; border-bottom-color: #F6D24B; }
.connect-btn { background: #BAAFA3; color: #FBF8F2; padding: 10px 20px; border-radius: 6px; font-size: 15px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
.connect-btn:hover { background: #9C9084; color: #FBF8F2; }

/* Footer */
.site-footer { background: #2B2824; padding: 32px 24px; text-align: center; color: #8A8477; font-size: 13px; }

/* Section padding utilities */
.pad-hero { padding: 88px 0; }
.pad-xl { padding: 110px 0; }
.pad-lg { padding: 100px 0; }
.pad-md { padding: 90px 0; }
.pad-sm { padding: 56px 0; }
.pad-top-page { padding: 90px 0 60px; }
/* a section that is itself a container keeps one gutter, not two */
section.container-1200, section.container-1100, section.container-1000,
section.container-900, section.container-800, section.container-700,
main.container-1200, main.container-1100, main.container-1000,
main.container-900, main.container-800 { padding-left: 24px; padding-right: 24px; }

/* Backgrounds */
.bg-ivory { background: #FFFFFF; }
.bg-sage { background: #FFFFFF; }
.bg-terracotta { background: #BE6B45; }
.bg-charcoal { background: #2B2824; }

/* Typography */
.eyebrow { font-family: 'Karla', sans-serif; font-style: italic; font-size: 32px; margin: 0 0 16px; }
.eyebrow-lg { font-size: 40px; }
.eyebrow-sm { font-size: 17px; }
.eyebrow-terracotta { color: #BE6B45; }
.eyebrow-sage { color: #5C6B4E; }
.eyebrow-gold { color: #C9B896; }

.h1-hero { font-family: 'Karla', sans-serif; font-size: 48px; line-height: 1.14; margin: 0 0 24px; font-weight: 600; }
.h1-page { font-family: 'Karla', sans-serif; font-size: 44px; margin: 0 0 24px; font-weight: 600; }
.h1-about { font-family: 'Karla', sans-serif; font-size: 46px; margin: 0 0 32px; font-weight: 600; }
.h1-enough { font-family: 'Karla', sans-serif; font-size: 42px; margin: 0 0 24px; font-weight: 600; }

h2 { font-family: 'Karla', sans-serif; font-weight: 600; margin: 0; }
.h2-sm { font-size: 26px; margin-bottom: 24px; }
.h2-md { font-size: 28px; margin-bottom: 20px; }
.h2-lg { font-size: 34px; margin-bottom: 40px; }
.h2-xl { font-size: 36px; margin-bottom: 20px; }
.h2-book { font-size: 30px; margin-bottom: 36px; }
.h2-white { color: #FBF8F2; }
.center { text-align: center; }

.body-text { font-size: 20px; line-height: 1.7; color: #4A4640; margin: 0 0 20px; }
.body-text-light { color: #D8D2C4; }
.body-text-dim { color: #EFE9DD; }
.italic-quote { font-family: 'Karla', sans-serif; font-style: italic; font-size: 20px; line-height: 1.6; margin: 0 0 20px; }
.eyebrow-caption { font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 0 32px; color: #BE6B45; }

.link-underline { font-weight: 600; font-size: 15px; color: #2B2824; border-bottom: 2px solid #BAAFA3; padding-bottom: 2px; white-space: nowrap; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 6px; font-size: 15px; font-weight: 600; cursor: pointer; }
.btn-sm { padding: 12px 22px; font-size: 14px; }
.btn-gold { background: #BAAFA3; color: #FBF8F2; }
.btn-gold:hover { background: #9C9084; color: #FBF8F2; }
.btn-dark { background: #2B2824; color: #FBF8F2; }
.btn-dark:hover { color: #FBF8F2; }
.btn-dark2 { background: #2C2825; color: #FBF8F2; }
.btn-outline-dark { border: 1.5px solid #2B2824; color: #2B2824; background: transparent; }
.btn-outline-light { border: 1.5px solid #FBF8F2; color: #FBF8F2; background: transparent; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* Cards / quotes */
.quote-card { font-size: 15.5px; line-height: 1.6; color: #3A362F; border-top: 2px solid #93A374; padding-top: 16px; margin: 0; }
.quote-card-gold { border-top-color: #BAAFA3; }
.attribution-name { font-size: 14px; font-weight: 700; }
.attribution-title { font-size: 13px; color: #5C564D; }

/* Article cards */
.article-image { height: 170px; border-radius: 6px; margin-bottom: 16px; background-size: cover; background-position: top; background-color: #EFE9DD; }
.article-pub { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #BE6B45; margin-bottom: 8px; }
.article-title { font-family: 'Karla', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.4; }

/* Timeline */
.timeline { display: flex; flex-direction: column; border-left: 2px solid #E4DCC9; padding-left: 32px; }
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-dot { position: absolute; left: -38px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: #BAAFA3; }
.timeline-year { font-family: 'Karla', sans-serif; font-size: 18.75px; color: #BE6B45; font-weight: 600; margin-bottom: 6px; }
.timeline-text { font-size: 20.6px; color: #3A362F; line-height: 1.5; }

/* Video placeholders */
.video-placeholder { background: #3A362F; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #C9B896; font-size: 15px; }

/* Video embed with thumbnail */
.video-embed { position: relative; background-color: #3A362F; background-size: contain; background-repeat: no-repeat; background-position: top center; border-radius: 6px; display: flex; align-items: flex-end; cursor: pointer; overflow: hidden; }
.video-embed::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 55%); pointer-events: none; }
.video-embed-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(251,248,242,.92); color: #2B2824; display: flex; align-items: center; justify-content: center; font-size: 20px; z-index: 1; }
.video-embed-label { position: relative; z-index: 1; color: #FBF8F2; font-size: 15px; font-weight: 600; padding: 14px 16px; }

/* Client card */
.client-card { display: block; background: #FBF8F2; border-radius: 6px; padding: 20px; text-align: center; font-size: 15px; font-weight: 600; color: #2B2824; }
.client-card-photo { display: block; background: #FBF8F2; border-radius: 6px; overflow: hidden; text-align: center; font-size: 15px; font-weight: 600; color: #2B2824; }
.client-card-photo img { display: block; width: 100%; height: 140px; object-fit: cover; }
.client-card-photo span { display: block; padding: 16px 12px; }

/* Info card */
.info-card { background: #FBF8F2; border-radius: 8px; padding: 28px; text-align: center; }
.info-card-title { font-family: 'Karla', sans-serif; font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.info-card-text { font-size: 15.5px; color: #4A4640; }

.nav-item-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #FFFFFF; border: 1px solid #E4DCC9; border-radius: 6px; padding: 8px 0; min-width: 160px; box-shadow: 0 8px 20px rgba(43,40,36,0.12); z-index: 60; }
.nav-item-dropdown:hover .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a { display: block; padding: 8px 18px; font-size: 15px; font-weight: 500; color: #2B2824; white-space: nowrap; }
.nav-dropdown-menu a:hover { color: #000000; background: #FBF7E6; }

@media (max-width: 860px) {
  .h1-hero, .h1-about { font-size: 34px; }
  .h1-page, .h1-enough { font-size: 30px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ── Revamp: logo, hero, corner boxes ───────────────────────────── */
.logo-img { display: block; height: 156px; width: auto; }
.logo-link { padding: 6px 0; }

.hero-wrap { padding: 60px 24px 64px; background: linear-gradient(180deg, #FFFDF6 0%, #FEFCF4 45%, #FFFFFF 100%); }
.hero-grid { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero-figure img { display: block; width: 100%; height: auto; }
.hero-grid.framed { padding-bottom: 12px; }
.hero-head { margin: 0; }
.hero-kicker { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: #8A8477; margin: 0 0 22px; }
.hero-title { font-family: 'Karla', sans-serif; font-weight: 600; font-size: clamp(28px, 3.9vw, 58px); line-height: 1.15; color: #2B2824; margin: 0; letter-spacing: -0.01em; display: flex; flex-direction: column; align-items: flex-start; gap: 0.05em; white-space: nowrap; }
.rotator { display: inline-block; height: 1.15em; line-height: 1.15; overflow: hidden; position: relative; flex: 0 0 auto; min-width: 9.2em; }
.rotator-item { position: absolute; left: 0; top: 0; line-height: 1.15; white-space: nowrap; color: #2B2824; opacity: 0; transform: translateY(0.5em); transition: opacity .5s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.rotator-item.is-in { opacity: 1; transform: translateY(0); }
.rotator-item.is-out { opacity: 0; transform: translateY(-0.55em); }
.rotator-item .dot { color: #F0C93B; }

.hero-photos { position: relative; height: 460px; max-width: 1280px; margin: 0 auto; border-bottom: 4px solid #F6D24B; }
.hero-photos img { position: absolute; bottom: 0; display: block; width: auto; max-width: 100%; height: 460px; object-fit: contain; object-position: bottom; opacity: 0; animation: heroFade 15s infinite; }
.hero-photos img:nth-child(1) { left: 0; }
.hero-photos img:nth-child(2) { left: 50%; transform: translateX(-50%); }
.hero-photos img:nth-child(3) { right: 0; }
.hero-photos img:nth-child(1) { animation-delay: 0s; }
.hero-photos img:nth-child(2) { animation-delay: 5s; }
.hero-photos img:nth-child(3) { animation-delay: 10s; }
@keyframes heroFade {
  0%    { opacity: 0; }
  4%    { opacity: 1; }
  30%   { opacity: 1; }
  36%   { opacity: 0; }
  100%  { opacity: 0; }
}

/* Corner box — three sides + a corner tick on the fourth, like the logo */
/* Logo-exact frame: full top + right, a short left segment at the top, a short bottom segment at the right */
.box-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 64px; }
.corner-box { position: relative; display: flex; flex-direction: column; background: #FFFFFF; padding: 40px 34px 36px 30px; color: #2B2824; transition: transform .35s ease; }
/* Animated frame: left tick → top → right → bottom tick, drawn on scroll-in */
.corner-box .fr, .framed .fr { position: absolute; margin-left: 0; background: #F6D24B; }
.corner-box .fr-l, .framed .fr-l { left: -3px; top: -3px; width: 3px; height: 0; }
.corner-box .fr-t, .framed .fr-t { left: -3px; top: -3px; height: 3px; width: 0; }
.corner-box .fr-r, .framed .fr-r { right: -3px; top: -3px; width: 3px; height: 0; }
.corner-box .fr-b, .framed .fr-b { right: -3px; bottom: -3px; height: 3px; width: 0; }
.corner-box.is-visible .fr-l, .framed.is-visible .fr-l { animation: frGrowV .22s ease forwards; --fr-to: 30px; }
.corner-box.is-visible .fr-t, .framed.is-visible .fr-t { animation: frGrowH .55s cubic-bezier(.25,.8,.3,1) .2s forwards; --fr-to: calc(100% + 6px); }
.corner-box.is-visible .fr-r, .framed.is-visible .fr-r { animation: frGrowV .55s cubic-bezier(.25,.8,.3,1) .72s forwards; --fr-to: calc(100% + 6px); }
.corner-box.is-visible .fr-b, .framed.is-visible .fr-b { animation: frGrowH .26s ease 1.24s forwards; --fr-to: 26%; }
@keyframes frGrowV { from { height: 0; } to { height: var(--fr-to); } }
@keyframes frGrowH { from { width: 0; } to { width: var(--fr-to); } }
@media (prefers-reduced-motion: reduce) {
  .corner-box.is-visible .fr, .framed.is-visible .fr { animation-duration: .01s; animation-delay: 0s; }
}
.corner-box:hover { transform: translateY(-4px); color: #2B2824; }
.corner-box > * { margin-left: -40px; }
.corner-num { font-size: 13px; letter-spacing: 0.2em; color: #A9A498; margin-bottom: 22px; margin-top: 8px; }
.corner-title { font-family: 'Karla', sans-serif; font-size: 27px; font-weight: 600; line-height: 1.2; margin: 0 0 14px -40px; }
.corner-text { font-size: 17px; line-height: 1.6; color: #4A4640; margin: 0 0 26px -40px; flex: 1 1 auto; }
.corner-cta { display: inline-block; align-self: flex-start; white-space: nowrap; font-size: 14px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #2B2824; border-bottom: 2px solid #F6D24B; padding-bottom: 3px; }

@media (max-width: 860px) {
  .box-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

.bg-white-sec { background: #FFFFFF; }
.h2-dark { color: #2B2824; }
.body-text-dark { color: #4A4640; }

/* Headline typeface */
h1, h2, h3,
.h1-hero, .h1-page, .h1-about, .h1-enough,
.h2-sm, .h2-md, .h2-lg, .h2-xl, .h2-book,
.hero-title, .corner-title, .article-title, .info-card-title, .timeline-year {
  font-family: 'Josefin Sans', sans-serif;
}
.hero-title { letter-spacing: 0.005em; }

/* Site header UI type */
.site-header, .nav-link, .nav-dropdown-menu a, .connect-btn, .site-footer { font-family: 'Josefin Sans', sans-serif; }
.nav-link { font-size: 17px; font-weight: 600; letter-spacing: 0.02em; }
.connect-btn { letter-spacing: 0.04em; }

.framed { position: relative; padding: 44px 40px 44px 34px; }
.framed .fr { position: absolute; background: #F6D24B; }

/* Headlines: Josefin Sans everywhere */
h1, h2, h3, h4,
.h1-hero, .h1-page, .h1-about, .h1-enough,
.h2-sm, .h2-md, .h2-lg, .h2-xl, .h2-book,
.hero-title, .rotator, .rotator-item,
.eyebrow, .eyebrow-lg, .eyebrow-sm,
.corner-title, .article-title, .info-card-title, .timeline-year {
  font-family: 'Josefin Sans', sans-serif !important;
}



/* ── Responsive header ─────────────────────────────────────────── */
.nav-toggle { display: none; order: 3; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; width: 100%; background: #2B2824; transition: transform .3s ease, opacity .2s ease; }
.nav-scrim { display: none; position: fixed; inset: 0; background: rgba(43,40,36,0.42); z-index: 60; }

@media (max-width: 1024px) {
  .header-inner { flex-wrap: nowrap; gap: 10px; }
  .logo-img { height: 88px; }
  .nav-toggle { display: flex; }
  .header-right { order: 2; }
  .header-right .connect-btn { display: none; }

  html, body { overflow-x: clip; }
  .main-nav {
    position: fixed; top: 0; right: 0; z-index: 70; visibility: hidden;
    width: min(320px, 82vw); height: 100vh;
    background: #FFFFFF; border-left: 3px solid #F6D24B;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    gap: 4px; padding: 96px 28px 32px; margin: 0;
    transform: translateX(100%); transition: transform .32s cubic-bezier(.2,.7,.2,1);
    box-shadow: -18px 0 40px rgba(43,40,36,0.12); overflow-y: auto;
  }
  .main-nav .nav-link { font-size: 20px; padding: 12px 0; border-bottom: 0; width: 100%; }
  .nav-item-dropdown { display: block; width: 100%; }
  .nav-dropdown-menu { display: block; position: static; background: transparent; box-shadow: none; border: 0; padding: 0 0 0 18px; }
  .nav-dropdown-menu a { display: block; padding: 8px 0; font-size: 17px; }
  .main-nav .connect-btn { margin-top: 18px; }

  body.nav-open .main-nav { transform: translateX(0); visibility: visible; }
  body.nav-open .nav-scrim { display: block; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}

@media (max-width: 640px) {
  .logo-img { height: 64px; }
  .header-right .social-row { gap: 8px; }
}

.nav-connect { display: none; }
@media (max-width: 1024px) {
  .nav-connect { display: inline-block; margin-top: 18px; }
  body.nav-open .site-header { z-index: 80; }
  .nav-toggle { position: relative; z-index: 90; }
}

/* ── Mobile layout fixes ───────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-title { white-space: normal; font-size: clamp(26px, 6.4vw, 40px); }
  .rotator { min-width: 0; width: 100%; }
  .rotator-item { white-space: normal; }
  .framed { padding: 32px 22px; }
  /* two-column image + text blocks (book, In Betweens) */
  div[style*="grid-template-columns:280px"] { grid-template-columns: 1fr !important; gap: 28px !important; }
  div[style*="grid-template-columns:280px"] > img,
  div[style*="grid-template-columns:280px"] img { max-width: 240px; height: auto; }
  .corner-box { padding: 32px 22px 30px 26px; }
  .corner-box > *, .corner-title, .corner-text { margin-left: -14px; }
  .corner-title { margin: 0 0 14px -14px; }
  .corner-text { margin: 0 0 22px -14px; }
  .btn, .btn-sm { white-space: normal; }
  .h2-xl { font-size: 30px; }
  .h2-md { font-size: 24px; }
}
@media (max-width: 560px) {
  .hero-figure img { max-width: 320px; margin: 0 auto; }
  .box-grid { gap: 40px; }
  .quote-card { font-size: 18px !important; }
}

@media (max-width: 900px) {
  .about-headshot { float: none !important; display: block; width: 100% !important; max-width: 340px; margin: 0 0 28px !important; }
}

@media (max-width: 900px) {
  .book-cover-img { margin-left: auto !important; margin-right: auto !important; }
  .book-blurb { grid-template-columns: 1fr !important; gap: 20px !important; }
  .book-blurb img { max-width: 220px; }
}

@media (max-width: 640px) {
  .news-row { flex-direction: column; align-items: flex-start !important; gap: 12px !important; }
}

@media (max-width: 640px) {
  .podcast-row { flex-direction: column; align-items: flex-start !important; gap: 10px !important; }
}
