/* =========================================================
   Gavin Fortuin — design system
   Consistent type scale, section padding, and container
   width across desktop / tablet / phone. Light theme.
   ========================================================= */

:root{
  interpolate-size:allow-keywords; /* lets height/block-size:auto animate */
  /* palette — teal + terracotta, light & trust-forward */
  --ink:        #1c2b2b;   /* headings / primary text */
  --body:       #4a5a5a;   /* paragraph text */
  --muted:      #7d8c8c;   /* secondary / labels */
  --accent:     #d1724a;   /* terracotta */
  --accent-dk:  #b65d38;
  --primary:    #0e5c5c;   /* deep teal */
  --bg:         #fbf8f4;   /* warm off-white page */
  --card:       #ffffff;   /* cards / inputs */
  --surface:    #f2ece4;   /* alt sections */
  --line:       #e7ded2;   /* warm borders */
  --ink-900:    #0c2b2b;   /* darkest teal (hero/footer) */

  /* type scale — fluid, identical rules everywhere */
  --h1: clamp(2.4rem, 1.4rem + 4.2vw, 4rem);
  --h2: clamp(1.9rem, 1.3rem + 2.4vw, 2.75rem);
  --h3: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  --p:  clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --small: 0.8125rem;

  /* spacing — one source of truth */
  --container: 1680px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);   /* side padding, == header */
  --section-pad: clamp(3.5rem, 6vw, 6rem);  /* top/bottom, every section */
  --radius: 14px;
  --radius-sm: 10px;
}

/* ---------- reset ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:"Plus Jakarta Sans",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  font-size:var(--p);
  line-height:1.65;
  color:var(--body);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

/* ---------- consistent headings ---------- */
h1,h2,h3{color:var(--ink);line-height:1.12;font-weight:400;letter-spacing:-0.02em}
h1{font-size:var(--h1)}
h2{font-size:var(--h2);letter-spacing:-0.015em}
h3{font-size:var(--h3);font-weight:500;letter-spacing:-0.01em}
p{font-size:var(--p)}

/* ---------- container: same width = same as header ---------- */
.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;         /* centering only — not for content spacing */
  padding-inline:var(--gutter);
}

/* ---------- section: identical padding all around ---------- */
.section{padding-block:var(--section-pad)}
.section-alt{background:var(--surface)}

.section-head{max-width:720px;margin-bottom:clamp(2rem,4vw,3.25rem)}
.section-sub{color:var(--muted);margin-top:1rem;font-size:1.05rem}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:500;font-size:0.95rem;letter-spacing:.01em;
  padding:0.85rem 1.6rem;border-radius:0;border:none;
  cursor:pointer;transition:background .2s ease, color .2s ease;
}
.btn-primary{background:var(--accent);color:#fff}
.btn-primary:hover{background:var(--accent-dk)}
.btn-ghost{background:rgba(255,255,255,.14);color:#fff}
.btn-ghost:hover{background:rgba(255,255,255,.24)}
.btn-outline{background:transparent;border:1px solid var(--ink);color:var(--ink)}
.btn-outline:hover{border-color:var(--accent-dk);color:var(--accent-dk)}
.btn-block{display:flex;width:100%}
.btn-sm{padding:0.55rem 1.1rem;font-size:0.85rem;margin-top:1rem}

/* ---------- publications ---------- */
.awards-more{margin-top:2rem;display:flex;justify-content:center}
.page-top{padding-top:calc(var(--section-pad) + 70px)}
.page-head{max-width:720px;margin-bottom:clamp(2rem,4vw,3.25rem)}
.pub-list{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start}
.pub-item{background:var(--card);box-shadow:0 10px 30px rgba(12,43,43,.06);overflow:hidden}
.pub-item summary{list-style:none;cursor:pointer;display:block}
.pub-item summary::-webkit-details-marker{display:none}
.pub-img{width:100%;height:340px;object-fit:cover;object-position:center top;display:block;filter:grayscale(100%);transition:filter .3s ease;cursor:zoom-in}
/* Instagram-style post modal */
.ig{border:none;padding:0;background:transparent;width:min(760px,94vw);max-width:94vw;max-height:94vh;margin:auto;overflow:visible;
  opacity:0;transform:scale(.96);transition:opacity .28s ease,transform .28s ease,overlay .28s allow-discrete,display .28s allow-discrete}
.ig[open]{opacity:1;transform:scale(1)}
@starting-style{.ig[open]{opacity:0;transform:scale(.96)}}
.ig::backdrop{background:rgba(12,43,43,0);transition:background .28s ease,overlay .28s allow-discrete,display .28s allow-discrete}
.ig[open]::backdrop{background:rgba(12,43,43,.9)}
@starting-style{.ig[open]::backdrop{background:rgba(12,43,43,0)}}
.ig-card{position:relative;display:flex;flex-direction:column;width:100%;max-height:94vh;background:#fff;overflow:hidden}
.ig-close{position:absolute;top:.85rem;right:.7rem;z-index:2;display:flex;align-items:center;justify-content:center;width:44px;height:50px;border:none;background:none;color:#000;font-size:2rem;font-weight:300;line-height:1;cursor:pointer}
.ig-head{display:flex;align-items:center;gap:.8rem;padding:.85rem 3.4rem .85rem 1rem}
.ig-avatar{display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:50%;background:var(--primary);color:#fff;font-weight:700;font-size:1rem;flex-shrink:0;overflow:hidden}
.ig-avatar.has-logo{background:#fff}
.ig-avatar img{width:100%;height:100%;object-fit:contain;padding:5px}
.ig-user{display:flex;flex-direction:column;line-height:1.3;min-width:0}
.ig-user strong{font-size:1.1rem;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ig-loc{font-size:.88rem;color:var(--muted)}
.ig-frame{position:relative;background:#0c2b2b;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ig-img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block}
.ig-img.slide-l{animation:igSlideL .3s ease}
.ig-img.slide-r{animation:igSlideR .3s ease}
@keyframes igSlideL{from{transform:translateX(42px);opacity:.25}to{transform:translateX(0);opacity:1}}
@keyframes igSlideR{from{transform:translateX(-42px);opacity:.25}to{transform:translateX(0);opacity:1}}
@media (prefers-reduced-motion:reduce){.ig-img.slide-l,.ig-img.slide-r{animation:none}}
.ig-spin{position:absolute;width:36px;height:36px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:igSpin .7s linear infinite;display:none}
.ig-frame.loading .ig-spin{display:block}
.ig-frame.loading .ig-img{opacity:0}
@keyframes igSpin{to{transform:rotate(360deg)}}
.ig-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border:none;background:rgba(255,255,255,.85);color:#111;cursor:pointer;border-radius:50%}
.ig-nav svg{width:18px;height:18px}
.ig-prev{left:.6rem}.ig-next{right:.6rem}
.ig-count{position:absolute;top:.6rem;right:.6rem;background:rgba(0,0,0,.55);color:#fff;font-size:.72rem;padding:.15rem .5rem;border-radius:999px}
.ig-dots{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;gap:6px;z-index:2}
.ig-dots span{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.5);box-shadow:0 1px 3px rgba(0,0,0,.4);transition:background .2s ease}
.ig-dots span.on{background:#fff}
.ig-caption{padding:.9rem 1.3rem 1.4rem}
.ig-text{font-size:1.2rem;font-weight:600;line-height:1.3;color:var(--ink);margin:0 0 .6rem}
.ig-desc{font-size:.92rem;line-height:1.6;color:var(--muted);margin:0}
.ig-link{margin-left:auto;margin-right:20px;flex-shrink:0;border:none;display:inline-flex;align-items:center;gap:.4rem;padding:.5rem .9rem;background:var(--accent);color:#fff;font-size:.85rem;font-weight:600;border-radius:0;white-space:nowrap;text-decoration:none;transition:background .2s ease}
.ig-link:hover,.ig-link:focus-visible{background:var(--accent-dk)}
.ig-link:focus-visible{outline:none}
.ig-link svg{width:15px;height:15px}
@media(max-width:560px){.ig-link-t{display:none}.ig-link{padding:.55rem}}
@media(max-width:560px){.ig-frame{aspect-ratio:1/1}}
.pub-item summary:hover .pub-img,.pub-item[open] .pub-img{filter:grayscale(0)}
.pub-text{padding:1.4rem 1.6rem;display:flex;align-items:flex-start;gap:1rem}
.pub-head{flex:1;min-width:0}
.pub-meta{font-size:var(--small);color:var(--muted);letter-spacing:.03em;text-transform:uppercase;margin-bottom:.35rem}
.pub-title{color:var(--ink);font-weight:500;font-size:1.1rem;line-height:1.3;transition:color .2s ease}
.pub-item summary:hover .pub-title{color:var(--accent-dk)}
.pub-chev{flex:none;width:20px;height:20px;color:var(--muted);transition:transform .25s ease;margin-top:.25rem}
.pub-item[open] .pub-chev{transform:rotate(180deg)}
.pub-body{padding:0 1.6rem 1.6rem;color:var(--body)}
.pub-body p{margin-bottom:1.1rem}
.pub-body .pub-also{margin:1.1rem 0 0;font-size:.9rem}
.pub-body .pub-also a,.pub-media a{color:var(--primary);text-decoration:underline}
.pub-media{margin:1.1rem 0 0 1.2rem;display:grid;gap:.35rem}
/* Slow slide open/close for the native <details> cards */
.pub-item{interpolate-size:allow-keywords}
.pub-item::details-content{block-size:0;overflow:clip;content-visibility:hidden;transition:block-size .5s ease,content-visibility .5s allow-discrete}
.pub-item[open]::details-content{block-size:auto;content-visibility:visible}
@media (prefers-reduced-motion:reduce){.pub-item::details-content{transition:none}}
@media (max-width:760px){
  .pub-list{grid-template-columns:1fr}
}
@media (max-width:560px){
  .pub-img{height:260px}
  .pub-text{padding:1.1rem 1.2rem}
  .pub-body{padding:0 1.2rem 1.2rem}
}

/* ---------- header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  background:rgba(255,255,255,.88);backdrop-filter:blur(10px);
  transition:transform .3s ease, background .3s ease;
}
.site-header.hide{transform:translateY(-100%)}
/* transparent over the hero until scrolled */
.site-header.at-top{background:transparent;backdrop-filter:none}
.site-header.at-top .nav-links a,.site-header.at-top .brand{color:#fff}
.site-header.at-top .nav-toggle span{background:#fff}
.nav{display:flex;align-items:center;gap:1.5rem;padding-block:0.9rem}
.brand{display:flex;align-items:center;gap:.6rem;margin-right:auto}
.brand-logo{height:56px;width:auto;display:block}
/* white header gets the full-colour mark; the transparent one over the hero gets the reverse */
.footer-logo{height:72px}
.brand-name{font-weight:700;color:var(--ink);font-size:1.05rem}
.nav-links{display:flex;gap:2.2rem}
.nav-links a{font-size:0.8rem;font-weight:400;text-transform:uppercase;letter-spacing:.16em;color:var(--body);transition:color .2s}
.nav-links a:hover{color:var(--accent-dk)}
.site-header.at-top .nav-links a:hover{color:var(--accent)}
/* subpages have no dark hero behind the header — keep it in its solid state */
body.subpage .site-header.at-top{background:rgba(255,255,255,.88);backdrop-filter:blur(10px)}
body.subpage .site-header.at-top .nav-links a{color:var(--body)}
body.subpage .site-header.at-top .nav-toggle span{background:var(--ink)}
body.subpage .site-header.at-top .nav-links a:hover{color:var(--accent-dk)}
body.subpage .site-header.at-top .nav-cta{color:var(--ink)}
body.subpage .site-header.at-top .nav-cta:hover{color:var(--accent-dk)}
.nav-cta{
  font-size:0.8rem;font-weight:400;text-transform:uppercase;letter-spacing:.16em;color:var(--ink);
  padding-top:6px;padding-bottom:6px;border-bottom:1px solid var(--accent);transition:color .2s;
}
.nav-cta:hover{color:var(--accent-dk)}
.site-header.at-top .nav-cta{color:#fff}
.site-header.at-top .nav-cta:hover{color:var(--accent)}
.nav-drawer-cta{display:none}
.nav-toggle{display:none;flex-direction:column;justify-content:center;align-items:center;gap:5px;background:none;border:0;cursor:pointer;width:44px;height:44px;margin:-10px} /* 44px tap target */
.nav-toggle span{width:24px;height:2px;background:var(--ink);border-radius:2px;transition:.25s}

/* ---------- hero ---------- */
.hero{position:relative;background:var(--primary);overflow:hidden;color:#fff;min-height:100dvh;padding-top:90px;display:flex;/* clear the fixed header on short phones */flex-direction:column;justify-content:flex-end}
/* optional photo layer: <img class="hero-bg"> sits behind the tint */
.hero-bg{position:absolute;top:0;right:0;bottom:0;left:auto;width:auto;max-width:100%;height:100%;object-fit:cover;object-position:center top;z-index:0;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 22%);mask-image:linear-gradient(90deg,transparent 0,#000 22%)}
.hero::before{  /* teal tint — darker on the left so the headline reads */
  content:"";position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(1100px 600px at 85% 20%, rgba(209,114,74,.22), transparent 60%),
    linear-gradient(100deg,rgba(12,43,43,.94) 15%,rgba(12,43,43,.55) 48%,rgba(14,92,92,.12) 85%);
}
.hero-overlay{display:none}
.hero-inner{position:relative;z-index:3;padding-block:clamp(3rem,7vw,5rem);max-width:940px}
.hero-eyebrow{
  display:flex;align-items:center;gap:1rem;
  text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:700;
  color:var(--accent);margin-bottom:1.6rem;
}
.hero-eyebrow::before{content:"";width:46px;height:2px;background:var(--accent);flex:none}
.hero-title{
  color:#fff;margin:0 0 1.5rem;font-weight:400;
  font-size:clamp(2.6rem,7.5vw,5.6rem);line-height:1.04;letter-spacing:-.015em;
}
.hero-title em{display:block;font-style:italic;font-weight:400;color:var(--accent)}
.hero-lead{color:rgba(255,255,255,.82);font-size:1.15rem;max-width:560px;margin-bottom:2.4rem}
.hero-actions{display:flex;align-items:center;gap:1.8rem;flex-wrap:wrap}
.hero-link{
  color:#fff;font-weight:500;letter-spacing:.01em;
  padding-bottom:4px;border-bottom:2px solid var(--accent);transition:color .2s;
}
.hero-link:hover{color:var(--accent)}
.hero-link{position:relative}
.hero-link::before{content:"";position:absolute;inset:-10px 0}/* 44px tap area, underline stays put */
.hero-foot{
  position:relative;z-index:3;margin-top:2.5rem;
  display:flex;justify-content:space-between;gap:1rem;
  padding-bottom:clamp(1.4rem,3vw,2.2rem);
  text-transform:uppercase;letter-spacing:.14em;font-size:.74rem;font-weight:600;
  color:rgba(255,255,255,.7);
}
.hero-scroll{display:flex;align-items:center;gap:.8rem}
.hero-scroll::after{content:"";width:60px;height:1px;background:var(--accent)}

/* ---------- trust strip ---------- */
.strip{background:var(--primary)}
.strip-inner{
  display:grid;grid-template-columns:repeat(4,auto);justify-content:space-between;gap:1rem 2rem;
  padding-block:1.4rem;
}
.strip-inner span{
  color:rgba(255,255,255,.72);font-weight:600;font-size:0.95rem;
  letter-spacing:.02em;position:relative;
}

/* ---------- split (about / author) ---------- */
/* ---------- about: full-bleed dark banner, photo fades into panel ---------- */
.about-banner{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:minmax(780px,auto);align-items:stretch;background:#f2ece4;color:var(--ink)}
.about-copy{
  order:1;width:100%;
  /* right edge aligned to page container's right inner edge (text above):
     column starts at page centre, so half the container minus the gutter */
  max-width:calc(840px - var(--gutter));
  padding:clamp(3.5rem,6vw,6rem) 0;
  padding-left:clamp(2.5rem,5vw,5rem);
  display:flex;flex-direction:column;justify-content:center;
}
.about-eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:700;color:var(--accent);margin-bottom:.7rem}
.about-copy h2{color:var(--ink);margin-bottom:1.6rem}
.about-copy p{color:var(--body)}
.about-copy p + p{margin-top:1rem}
.about-img-wrap{position:relative;overflow:hidden}
.about-img{position:absolute;inset:0 auto 0 0;width:72%;height:100%;object-fit:cover;object-position:75% 35%;transform:scaleX(-1)}
.about-img-wrap::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(270deg,#f2ece4 0%,#f2ece4 28%,rgba(242,236,228,0) 44%)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4rem);align-items:center}
.split-copy p{margin-top:1rem;color:var(--body)}
.split-copy .btn{margin-top:1.8rem}
.split-media{display:flex}
.portrait,.book{
  position:relative;width:100%;aspect-ratio:4/5;border-radius:var(--radius);overflow:hidden;
  display:grid;place-items:center;text-align:center;
  color:rgba(255,255,255,.75);font-weight:600;letter-spacing:.03em;
  background:linear-gradient(145deg,#0e5c5c,#14706b);
}
.book{aspect-ratio:3/4;background:linear-gradient(145deg,#d1724a,#b65d38);color:rgba(255,255,255,.92)}
.portrait{border-radius:0;max-width:440px;margin-inline:auto}
.split-media:has(.portrait){justify-content:center}
/* book flyer: show the whole thing, not cropped or oversized */
.book{aspect-ratio:auto;background:none;border-radius:0;overflow:visible;max-width:380px;margin-inline:auto}
.split-media:has(.book){justify-content:center}
.portrait img,.book img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.book img{position:static;inset:auto;height:auto;object-fit:contain}
/* author/book: richer supporting content */
#author .split{align-items:stretch}
#author .split-media{order:-1;align-items:flex-end;justify-content:flex-start}
#author .book{position:static;max-width:520px;margin:0}
#author .book img{display:block;width:100%;height:auto;object-fit:contain}
#author .split-copy h2{text-wrap:balance}
.split-copy .eyebrow{margin-bottom:.8rem}
.split-copy .section-sub{margin-top:.5rem;font-style:italic;color:var(--primary)}
.book-feature{margin-top:1.8rem;padding:1.4rem 1.5rem;border:1px solid var(--line);border-radius:0;background:var(--card)}
.book-feature-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}
.book-feature-head .eyebrow{margin-bottom:0}
.book-chapter{font-size:var(--small);color:var(--muted)}
.book-feature h3{margin:.7rem 0 .5rem;font-size:1.3rem}
.book-feature p{margin:0;color:var(--body)}
.book-tags{list-style:none;display:flex;flex-wrap:wrap;gap:.5rem;margin:1.1rem 0 0;padding:0}
.book-tags li{font-size:var(--small);color:var(--body);border:1px solid var(--line);border-radius:999px;padding:.32rem .85rem}
.book-collab{margin-top:1.6rem;font-size:.95rem;color:var(--muted)}
.book-note{margin-top:1rem;font-size:var(--small);font-style:italic;color:var(--muted)}

/* ---------- grids ---------- */
.grid{display:grid;gap:clamp(1.25rem,2.5vw,1.75rem)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}

.card{
  position:relative;overflow:hidden;
  background:var(--card);
  border-radius:0;
  padding:clamp(1.6rem,2.5vw,2.1rem);
  box-shadow:0 10px 26px rgba(22,32,46,.06);
  transition:transform .22s ease, box-shadow .22s ease;
}
.card-icon{
  position:relative;z-index:1;
  width:54px;height:54px;border-radius:0;margin-bottom:1.15rem;
  display:grid;place-items:center;
  background:var(--primary);color:#fff;
  box-shadow:0 8px 18px rgba(14,92,92,.22);
}
.card-icon svg{width:27px;height:27px}
.card-num{
  position:absolute;top:-.35em;right:.12em;z-index:0;
  color:var(--accent);font-weight:800;font-size:5rem;line-height:1;
  letter-spacing:-.02em;opacity:.10;pointer-events:none;
}
.card h3{position:relative;z-index:1;margin-bottom:.6rem;padding-top:.9rem}
.card p{position:relative;z-index:1;color:var(--body)}
.card:hover{transform:translateY(-4px);box-shadow:0 16px 34px rgba(22,32,46,.08)}

/* ---------- speaking: head-left / numbered list-right ---------- */
.feature-layout{
  display:grid;grid-template-columns:minmax(0,0.85fr) minmax(0,1.25fr);
  gap:clamp(2rem,5vw,4.5rem);align-items:start;
}
.feature-intro{position:sticky;top:90px}
/* speaking: heading on top, list + photo below (template-style divider rows) */
#speaking .feature-intro{position:static;margin-bottom:clamp(1.5rem,3vw,2.5rem)}
/* heading sits top-right above the photo; list aligns with the photo's full height */
.speaking-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,0.85fr);grid-template-rows:auto 1fr;grid-template-areas:"sub intro" "list media";gap:clamp(1.5rem,3vw,2.5rem) clamp(2rem,5vw,4.5rem);align-items:stretch}
#speaking .feature-intro{grid-area:intro;margin-bottom:0}
.speaking-sub{grid-area:sub;align-self:end;max-width:34ch}
.feature-list{grid-area:list;display:flex;flex-direction:column;justify-content:space-between;height:100%}
.speaking-media{grid-area:media}
#speaking .feature-intro h2{font-size:clamp(2.2rem,1.5rem + 3vw,3.4rem)}
.feature-row{display:grid;grid-template-columns:1fr 1fr;gap:1.4rem 2rem;padding:1.5rem 0;border-top:1px solid var(--line);align-items:start}
.feature-list .feature-row:last-child{border-bottom:1px solid var(--line)}
.feature-row h3{margin:0;font-size:1.5rem}
.feature-row p{color:var(--body);margin:0}
.speaking-media img{width:100%;height:100%;object-fit:cover;display:block}

/* ---------- services: intro-left / numbered timeline-right ---------- */
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;font-weight:700;color:var(--accent);margin-bottom:.9rem}
/* split at container centre + 80px left pad so service text lines up with the About copy above */
#services.section .feature-layout{grid-template-columns:1fr 1fr;gap:0}
/* keep intro copy no wider than the heading's first line (up to the comma) */
#services .feature-intro .section-sub{max-width:516px}
#services .service-list{padding-left:clamp(2.5rem,5vw,5rem)}
.service-list{display:flex;flex-direction:column}
/* body text fills the cell (aligned to About copy); icon box hangs left into the gutter */
.service-item{padding-bottom:2.1rem;position:relative}
.service-item:not(:last-child)::before{content:"";position:absolute;left:-47px;top:44px;bottom:0;width:2px;background:var(--primary)}
.service-num{
  position:absolute;left:-68px;top:0;width:44px;height:44px;z-index:1;
  display:grid;place-items:center;background:var(--primary);color:#fff;
}
.service-num svg{width:24px;height:24px}
.service-body h3{font-size:1.35rem;margin-bottom:.55rem}
.service-body p{color:var(--body)}

/* ---------- banner (youth) ---------- */
.testimonial{position:relative;overflow:hidden;color:#fff;background:var(--ink-900);
  display:flex;align-items:center;min-height:min(80vh,640px)}
/* backdrop photos, cross-faded by main.js */
/* photos sit in their own right-hand panel (not full-bleed) so faces stay sharp and never sit under the text */
.testimonial-slides{position:absolute;inset:0 0 0 auto;width:44%;z-index:0}
.testimonial-slides .testimonial-slide{position:absolute;inset:0;background:center 25%/cover no-repeat;
  opacity:0;transition:opacity 1.2s ease-in-out}
.testimonial-slides .testimonial-slide.is-active{opacity:1}
/* solid ink behind the quote, short fade into the photo edge */
.testimonial::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:linear-gradient(90deg,var(--ink-900) 0,var(--ink-900) 56%,rgba(12,43,43,0) 68%)}
.testimonial::before{content:"\201D";position:absolute;right:5%;top:-10%;
  font-family:Georgia,"Times New Roman",serif;font-size:min(32vw,380px);line-height:1;
  color:#fff;opacity:.06;pointer-events:none;z-index:0}
.testimonial-inner{position:relative;z-index:1;width:100%;padding-block:clamp(3.5rem,8vw,6rem)}
.testimonial-track{display:grid;max-width:52%} /* slides share one cell: auto-sizes to tallest, crossfades */
.testimonial-track .testimonial-slide{grid-area:1/1;visibility:hidden;transition:visibility 0s .5s}
.testimonial-track .testimonial-slide.active{visibility:visible}
.testimonial-track .testimonial-slide>*{opacity:0;transform:translateY(10px);transition:opacity .5s ease,transform .5s ease}
/* old quote fades out first; then the quote fades in (.7s), name/role shortly after */
.testimonial-track .testimonial-slide.active>*{opacity:1;transform:none;transition:opacity .7s ease .5s,transform .7s ease .5s}
.testimonial-track .testimonial-slide.active>.testimonial-cite{transition-delay:.85s}
.testimonial .eyebrow{color:var(--accent)}
@media (max-width:900px){
  /* phone/tablet: photo becomes a band above the quote */
  .testimonial-slides{inset:0 0 auto 0;width:auto;height:340px}
  .testimonial::after{background:linear-gradient(180deg,rgba(12,43,43,0) 0,rgba(12,43,43,0) 230px,var(--ink-900) 340px)}
  .testimonial-inner{padding-top:370px}
  .testimonial-track{max-width:none}
}
.testimonial-quote{quotes:"\201C" "\201D";margin:1.4rem 0 2.4rem;max-width:32em;
  font-size:clamp(1.15rem,1.9vw,1.6rem);line-height:1.55;font-weight:500;color:#fff}
.testimonial-quote::before{content:open-quote}
.testimonial-quote::after{content:close-quote}
.testimonial-name{margin:0 0 .3rem;font-size:.8rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}
.testimonial-role{margin:0;font-size:.78rem;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.6)}
/* this section's copy reveals slower, and in a sequence you can actually follow */
.testimonial-inner.reveal-stagger > *{transition-duration:1.1s}
.testimonial-inner.reveal-stagger.in > *:nth-child(1){transition-delay:.2s}
.testimonial-inner.reveal-stagger.in > *:nth-child(2){transition-delay:.55s}
.testimonial-inner.reveal-stagger.in > *:nth-child(3){transition-delay:.9s}

/* ---------- awards: centered band, no cards ---------- */
#speaking{position:relative;overflow:hidden;background:
  radial-gradient(50vw 50vw at 92% 8%, rgba(14,92,92,.07), transparent 60%),
  radial-gradient(42vw 42vw at 0% 95%, rgba(209,114,74,.07), transparent 60%),
  var(--bg)}
#speaking::before{content:"\201C";position:absolute;left:1.5%;bottom:-12%;
  font-family:Georgia,"Times New Roman",serif;font-size:min(46vw,640px);line-height:1;
  color:var(--accent);opacity:.08;pointer-events:none;z-index:0}
#speaking .container{position:relative;z-index:1}
#contact{position:relative;overflow:hidden;background:
  radial-gradient(48vw 48vw at 8% 10%, rgba(14,92,92,.07), transparent 60%),
  radial-gradient(40vw 40vw at 100% 100%, rgba(209,114,74,.07), transparent 60%),
  var(--bg)}
#contact::before{content:"\201D";position:absolute;right:30%;top:-16%;
  font-family:Georgia,"Times New Roman",serif;font-size:min(42vw,560px);line-height:1;
  color:var(--primary);opacity:.05;pointer-events:none;z-index:0}
#contact .contact-layout{position:relative;z-index:1}
#author{position:relative;overflow:hidden;background:#efe4d4}
#author::before{content:"";position:absolute;right:-6%;top:-10%;width:min(44vw,540px);height:min(44vw,540px);
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e5c5c' stroke-width='.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z'/%3E%3Cpath d='M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12'/%3E%3C/svg%3E") no-repeat center/contain;
  opacity:.07;pointer-events:none;z-index:0}
#author .container{position:relative;z-index:1}
#author .split{position:relative}
#author .split::after{content:"";position:absolute;left:41%;top:0;bottom:0;width:1px;transform:translateX(-50%);background:rgba(14,92,92,.18);pointer-events:none}
.clients-head{text-align:center;max-width:640px;margin:0 auto clamp(2rem,4vw,3rem)}
.clients-logos{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:clamp(2.5rem,6vw,5rem)}
/* cap the width too, so wide wordmarks can't tower over the crests */
.clients-logos img{height:72px;width:auto;max-width:160px;object-fit:contain;
  filter:grayscale(1);opacity:.6;transition:filter .3s ease,opacity .3s ease}
.clients-logos img:hover{filter:none;opacity:1}
/* Craft Collective's supplied logo is near-white; darken it so it reads on the light strip */
.clients-logos img.tint-dark,.clients-logos img.tint-dark:hover{filter:grayscale(1) brightness(.55);opacity:.75}
.clients-track{flex-wrap:nowrap;justify-content:flex-start;width:max-content}
#awards{background:var(--surface)}
.awards-layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
.awards-media{display:flex;gap:clamp(1rem,2vw,1.5rem);align-items:flex-start}
.awards-img{width:50%;aspect-ratio:3/4;object-fit:cover;border-radius:0;display:block}
.awards-img-b{margin-top:clamp(1.5rem,4vw,3rem)}
.awards-copy .eyebrow{display:flex;align-items:center;gap:1rem;margin-bottom:.9rem}
.awards-copy .eyebrow::before{content:"";width:46px;height:2px;background:var(--accent);flex:none}
.awards-stats{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,3vw,2.5rem);
  margin-top:1.8rem;
}
.awards-stats .award-item{padding-top:1.6rem;border-top:1px solid var(--line);display:flex;flex-direction:column}
.awards-stats .award-item .btn-sm{margin-top:auto}
.award-year{font-size:clamp(2.6rem,3.5vw,3.2rem);font-weight:500;color:var(--accent);line-height:1;margin-bottom:.6rem}
.award-item h3{margin-bottom:.4rem;font-size:1.15rem}
.award-item p{color:var(--muted)}

/* ---------- expertise: full-bleed moving text over image ---------- */
.expertise{position:relative;overflow:hidden;background:var(--ink-900);color:#fff;padding-block:calc(var(--section-pad) - 20px)}
.expertise-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.expertise-overlay{
  position:absolute;inset:0;z-index:1;
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(209,114,74,.28), transparent 60%),
    linear-gradient(120deg,rgba(8,30,30,.97),rgba(9,52,52,.93));
}
.expertise-head{
  position:relative;z-index:2;text-align:center;
  max-width:720px;margin-inline:auto;margin-bottom:clamp(2.5rem,5vw,3.75rem);
}
.expertise-head h2{color:#fff}
.expertise-sub{color:rgba(255,255,255,.78);margin-top:1rem;font-size:1.05rem}

.marquee-full{
  position:relative;z-index:2;overflow:hidden;
  -webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
          mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.marquee-full + .marquee-full{margin-top:clamp(.75rem,1.5vw,1.25rem)}
.skills{list-style:none;display:flex;align-items:center;width:max-content}
.skills-a{animation:marquee 55s linear infinite}
.skills-b{animation:marquee 55s linear infinite reverse}
@keyframes marquee{from{transform:translateX(-50%)}to{transform:translateX(0)}}
.skills li{
  display:inline-flex;align-items:center;gap:clamp(1.5rem,3vw,3rem);
  white-space:nowrap;padding-left:clamp(1.5rem,3vw,3rem);
  font-size:clamp(1.25rem,2.4vw,2rem);font-weight:500;letter-spacing:-.01em;
  color:rgba(255,255,255,.9);
}
.skills li::before{
  content:"";width:9px;height:9px;flex-shrink:0;
  background:var(--accent);transform:rotate(45deg);
}
@media (prefers-reduced-motion:reduce){
  .skills,.clients-track{animation:none;flex-wrap:wrap;width:auto;justify-content:center}
  .marquee-full{-webkit-mask:none;mask:none}
}

/* ---------- contact form ---------- */
/* ---------- contact: form left, full-bleed image right ---------- */
.contact.section{padding-block:0}
.contact-layout{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
.contact-copy{
  padding:80px clamp(2.5rem,5vw,5rem) 80px 80px;
  width:100%;
}

.contact-img-wrap{position:relative;overflow:hidden}
.contact-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}

.contact-form{
  display:grid;grid-template-columns:1fr 1fr;gap:1.25rem;
}
.field{display:flex;flex-direction:column;gap:.5rem}
.field-full{grid-column:1 / -1}
label{font-size:0.9rem;font-weight:600;color:var(--ink)}
input,textarea{
  font-family:inherit;font-size:1rem;color:var(--ink);
  background:var(--surface);border:none;border-radius:0;
  padding:.85rem 1rem;transition:box-shadow .2s;resize:vertical;
}
input::placeholder,textarea::placeholder{color:rgba(22,32,46,.35)}
input:focus,textarea:focus{outline:none;box-shadow:0 0 0 3px rgba(209,114,74,.18)}

/* Keyboard focus ring — accessibility, consistent across links/buttons */
a:focus-visible,button:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}

/* ---------- footer ---------- */
.site-footer{background:var(--ink-900);color:rgba(255,255,255,.7)}
.footer-inner{
  display:flex;justify-content:space-between;align-items:center;gap:2rem;
  flex-wrap:wrap;padding-block:clamp(2.5rem,5vw,3.5rem);
}
.footer-tag{max-width:360px;margin-top:1rem;color:rgba(255,255,255,.6);font-size:0.95rem}
.footer-nav{display:flex;flex-direction:column;align-items:flex-end;gap:1.1rem}
.footer-links{display:flex;gap:0 1.5rem;flex-wrap:wrap}
.footer-links a{display:inline-flex;align-items:center;min-height:44px;color:rgba(255,255,255,.7);font-size:0.95rem;transition:color .2s}
.footer-links a:hover{color:var(--accent)}
.footer-social{display:flex;gap:1rem}
.footer-social a{color:rgba(255,255,255,.7);transition:color .2s;display:inline-flex;padding:12px;margin:-12px} /* 44px tap target, no visual shift */
.footer-social a:hover{color:var(--accent)}
.footer-social svg{width:20px;height:20px;display:block}
.footer-base{
  padding-block:1.4rem;
  display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;
}
.footer-base p{font-size:var(--small);color:rgba(255,255,255,.5)}
.footer-base a{color:rgba(255,255,255,.7);transition:color .2s}
.footer-base a:hover{color:var(--accent)}

/* ---------- reveal effect (subtle) ---------- */
.reveal{opacity:0;transform:translateY(18px);transition:opacity .5s ease, transform .5s ease}
.reveal.in{opacity:1;transform:none}

/* hero: heading first, then the rest one by one, on load */
@keyframes fadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.hero-title .line{display:block}
.hero-eyebrow,.hero-title .line,.hero-title em,.hero-lead,.hero-actions{animation:fadeUp .5s ease both}
.hero-title .line{animation-delay:.1s}
.hero-title em{animation-delay:.35s}
.hero-eyebrow{animation-delay:.6s}
.hero-lead{animation-delay:.85s}
.hero-actions{animation-delay:1.1s}

/* staggered text reveal on scroll: heading first, then text one by one */
.reveal-stagger > *{opacity:0;transform:translateY(16px);transition:opacity .5s ease, transform .5s ease}
.reveal-stagger.in > *{opacity:1;transform:none}
.reveal-stagger.in > *:nth-child(2){transition-delay:.12s}
.reveal-stagger.in > *:nth-child(3){transition-delay:.24s}
.reveal-stagger.in > *:nth-child(4){transition-delay:.36s}
.reveal-stagger.in > *:nth-child(5){transition-delay:.48s}
.reveal-stagger.in > *:nth-child(6){transition-delay:.6s}
.reveal-stagger.in > *:nth-child(7){transition-delay:.72s}
.reveal-stagger.in > *:nth-child(n+8){transition-delay:.84s}

@media (prefers-reduced-motion:reduce){
  .reveal,.reveal-stagger > *{opacity:1;transform:none;transition:none}
  .hero-eyebrow,.hero-title .line,.hero-title em,.hero-lead,.hero-actions{animation:none}
  html{scroll-behavior:auto}
}

/* =========================================================
   Responsive — tablet
   ========================================================= */
@media (max-width:900px){
  /* tablet: fixed section padding (60 top/bottom, 35 sides) + smaller body text */
  :root{--section-pad:60px;--gutter:35px;--p:15px}
  .hero-title{font-size:clamp(2.4rem,5.5vw,3.2rem)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .feature-layout{grid-template-columns:1fr;gap:2rem}
  #services.section .feature-layout{grid-template-columns:1fr;gap:2rem} /* beat high-specificity base rule */
  .feature-intro{position:static}
  .speaking-grid{grid-template-columns:1fr;grid-template-rows:none;grid-template-areas:"intro" "sub" "media" "list";gap:2rem}
  .speaking-sub{align-self:start;max-width:none}
  .feature-list{height:auto}
  .feature-row{grid-template-columns:1fr;gap:.4rem}
  #services .service-list{padding-left:0}
  .service-item{display:flex;gap:1rem}
  .service-num{position:static;flex:none;align-self:flex-start}
  .service-item:not(:last-child)::before{left:21px}
  .contact-layout{grid-template-columns:1fr}
  .contact-copy{max-width:none;padding-left:var(--gutter)}
  .contact-img-wrap{order:-1;height:320px}
  .about-banner{grid-template-columns:1fr;grid-template-rows:auto}
  .about-copy{order:1;max-width:none;padding:clamp(2.5rem,8vw,3.5rem) var(--gutter)}
  .about-img-wrap{order:0;height:300px}
  .about-img{width:100%;object-position:center 30%}
  .about-img-wrap::before{background:linear-gradient(0deg,#f2ece4 0%,rgba(242,236,228,0) 45%)}
  .split{grid-template-columns:1fr;gap:2.5rem}
  #author .split::after{display:none}
  #author .split-copy h2{white-space:normal}
  .split-media{order:-1;max-width:420px;position:static}
  #author .book{position:static}
  .portrait{aspect-ratio:16/10}
  .book{max-width:420px}

  .strip-inner{grid-template-columns:repeat(2,auto)}

  .nav-cta{display:none}
  .nav-toggle{display:flex}
  /* drawer slides in from the right over the header; page behind is blurred.
     header's own backdrop-filter would trap the blur, so it's dropped on mobile */
  .site-header{backdrop-filter:none;background:rgba(255,255,255,.96)}
  .site-header:has(.nav-links.open){transform:none}
  .site-header::after{
    content:"";position:absolute;top:0;left:0;right:0;height:100dvh;z-index:1;
    background:rgba(12,43,43,.25);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);
    opacity:0;visibility:hidden;transition:opacity .35s,visibility 0s .35s;
  }
  .site-header:has(.nav-links.open)::after{opacity:1;visibility:visible;transition:opacity .35s}
  .nav-links{
    flex-direction:column;align-items:flex-start;
    position:absolute;top:0;right:0;z-index:2;width:min(80vw,340px);height:100dvh;overflow-y:auto;
    background:#fff;padding:90px var(--gutter) 1.5rem;gap:1rem;
    box-shadow:-18px 0 40px rgba(12,43,43,.16);
    transform:translateX(100%);visibility:hidden;
    transition:transform .35s cubic-bezier(.2,.8,.2,1),visibility 0s .35s;
  }
  .nav-links.open{transform:none;visibility:visible;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
  .nav-links a{padding:.85rem 0} /* ~44px tap target */
  /* burger -> X, sits above the drawer */
  .nav-toggle{position:relative;z-index:3}
  .nav-toggle span{transition:transform .35s cubic-bezier(.2,.8,.2,1),opacity .2s,background .3s}
  .site-header:has(.nav-links.open) .nav-toggle span{background:var(--ink)}
  .site-header:has(.nav-links.open) .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .site-header:has(.nav-links.open) .nav-toggle span:nth-child(2){opacity:0}
  .site-header:has(.nav-links.open) .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .nav-links .nav-drawer-cta{
    display:block;align-self:stretch;margin-top:.5rem;border-top:1px solid rgba(12,43,43,.12);
    color:var(--accent-dk);font-weight:600;
  }
  /* over the hero the links are white for contrast — but the drawer is white too */
  .site-header.at-top .nav-links a{color:var(--body)}
  .site-header.at-top .nav-links a:hover,.site-header .nav-links a.nav-drawer-cta{color:var(--accent-dk)}
}

/* =========================================================
   Responsive — phone
   ========================================================= */
@media (max-width:560px){
  /* phone: fixed section padding (50 top/bottom, 25 sides) + smaller body text */
  :root{--section-pad:50px;--gutter:25px;--p:15px}
  .hero-title{font-size:2.1rem}
  .clients-logos{gap:2rem 2.5rem}
  .clients-logos img{height:52px;max-width:120px}
  .grid-3,.grid-2,.contact-form{grid-template-columns:1fr}
  .awards-layout{grid-template-columns:1fr;gap:2.5rem}
  .awards-media{order:-1}
  #awards .awards-stats{grid-template-columns:1fr}
  .contact-form .btn{width:100%;justify-self:stretch}
  .strip-inner{gap:.6rem 1rem}
  .strip-inner span{font-size:0.82rem} /* keeps all four on one line each at 375px */
  .hero-actions{flex-direction:column;align-items:stretch}
  .hero-actions .btn{width:100%}
  .footer-inner{flex-direction:column;align-items:flex-start}
  /* 4-role eyebrow wraps on phones: keep the rule on the first line */
  .hero-eyebrow{align-items:flex-start;gap:.75rem;letter-spacing:.14em;font-size:.72rem;line-height:1.7}
  .hero-eyebrow::before{width:28px;margin-top:.62em}
}

.form-status{font-weight:600;color:var(--primary)}
