/* Guided for Good — site styles
   Brand colors from Cody Watts / BCKWDS brand guide (guided_for_good_004, Nov 2026) */
@font-face {
  font-family: "Mr Mamoulian Blather";
  src: url("../fonts/MrMamoulianBlather.woff2") format("woff2"),
       url("../fonts/MrMamoulianBlather.woff") format("woff"),
       url("../fonts/MrMamoulianBlather.otf") format("opentype");
  font-display: swap;
}

:root {
  --navy: #244163;
  --blue: #337BA4;
  --tan: #E5D5B4;
  --mint: #E6F2E4;
  --white: #FFFFFF;
  --ink: #1B2F47;
  --muted: #4E6178;
  --font-h1: "Mr Mamoulian Blather", "Lilita One", "Work Sans", sans-serif;
  --font-h2: "Work Sans", sans-serif;
  --font-h3: "Suez One", Georgia, serif;
  --font-body: "Work Sans", sans-serif;
  --wrap: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }

h1, .h1 { font-family: var(--font-h1); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: .01em; margin: 0 0 .4em; color: var(--navy); }
h2, .h2 { font-family: var(--font-h2); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy); }
h3, .h3 { font-family: var(--font-h3); font-weight: 400; line-height: 1.2; margin: 0 0 .4em; color: var(--navy); }
p { margin: 0 0 1em; }
.eyebrow { font-family: var(--font-h2); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 14px; color: var(--blue); margin-bottom: 14px; display: inline-block; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-h2); font-weight: 800; font-size: 16px; text-decoration: none; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--navy); transition: transform .15s ease, background .15s ease, color .15s ease; cursor: pointer; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--tan); border-color: var(--tan); }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.site-header .logo img { height: 50px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--tan); }
.nav .btn { padding: 10px 18px; font-size: 15px; }
.nav a.btn-light { color: var(--navy); }
.nav a.btn-light:hover { color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); font-size: 28px; cursor: pointer; }

/* Mountain ridge dividers (shape from the brand guide) */
.ridge { display: block; width: 100%; height: clamp(40px, 7vw, 90px); }
.ridge-top { margin-bottom: -1px; }
.ridge-bottom { margin-top: -1px; }

/* Hero */
.hero { background: var(--navy); color: var(--white); padding: 56px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(48px, 7vw, 92px); }
.hero .eyebrow { color: var(--tan); }
.hero-body { font-size: 20px; max-width: 34em; color: #DCE6F0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .btn-ghost { color: var(--white); border-color: var(--white); }
.hero .btn-ghost:hover { background: var(--white); color: var(--navy); }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); border: 6px solid var(--white); }
.hero-photo .badge { position: absolute; left: -28px; bottom: 34px; width: 96px; height: 96px; background: var(--white); border-radius: 50%; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* Manifesto panel */
.manifesto { background: var(--navy); padding: 64px 0 24px; }
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.manifesto-card { background: rgba(255,255,255,.06); border: 2px solid rgba(229,213,180,.35); border-radius: var(--radius); padding: 34px; color: #DCE6F0; }
.manifesto-card h3 { color: var(--tan); font-size: 30px; }
.manifesto-card ul { list-style: none; padding: 0; margin: 18px 0 0; }
.manifesto-card li { padding: 10px 0 10px 34px; border-top: 1px solid rgba(255,255,255,.12); position: relative; font-weight: 600; color: var(--white); }
.manifesto-card li::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 12px; transform: translateY(-50%); background: var(--blue); clip-path: polygon(0 100%, 30% 35%, 45% 55%, 70% 0, 100% 100%); }

/* Proof bar */
.proof { background: var(--white); padding: 40px 0 72px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.stat { border-left: 6px solid var(--blue); padding: 6px 0 6px 22px; }
.stat-num { font-family: var(--font-h2); font-weight: 800; font-size: clamp(34px, 4.5vw, 52px); line-height: 1; color: var(--navy); }
.stat-label { color: var(--muted); font-size: 17px; margin-top: 8px; }

/* Sections */
.section { padding: 88px 0; }
.section-mint { background: var(--mint); }
.section-tan { background: var(--tan); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); }
.lead { font-size: 20px; color: var(--muted); }

/* What I do */
.do-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.do-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 32px; display: grid; gap: 16px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; background: var(--white); border-radius: var(--radius); padding: 18px 20px; }
.steps li::before { content: counter(step); font-family: var(--font-h3); font-size: 26px; color: var(--white); background: var(--blue); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; }
.steps strong { font-family: var(--font-h3); font-weight: 400; color: var(--navy); font-size: 21px; display: block; }

/* Who I work with */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; border: 2px solid var(--navy); position: relative; }
.card h3 { font-size: 24px; }
.card p { margin: 0; color: var(--muted); }
.card-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--mint); display: grid; place-items: center; margin-bottom: 18px; color: var(--navy); }
.card-icon svg { width: 26px; height: 26px; }
.card.highlight { background: var(--navy); }
.card.highlight h3 { color: var(--white); }
.card.highlight p { color: #DCE6F0; }
.card.highlight .card-icon { background: var(--blue); color: var(--white); }

/* Work cards */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.work-card { display: block; text-decoration: none; color: inherit; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 2px solid var(--navy); transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(36,65,99,.18); }
.work-media { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-media.type { background: var(--blue); display: flex; flex-direction: column; justify-content: center; padding: 34px; color: var(--white); }
.work-media.type .big { font-family: var(--font-h2); font-weight: 800; font-size: clamp(48px, 6vw, 76px); line-height: .95; }
.work-media.type .small { font-family: var(--font-h3); font-size: 22px; color: var(--tan); margin-top: 10px; }
.work-media.photo-stat img { object-position: right center; }
.work-media.photo-stat .overlay { position: absolute; left: 0; top: 0; bottom: 0; width: 46%; display: flex; flex-direction: column; justify-content: center; padding: 0 0 0 30px; color: var(--white); }
.work-media.photo-stat .big { font-family: var(--font-h2); font-weight: 800; font-size: clamp(40px, 5vw, 64px); line-height: .95; }
.work-media.photo-stat .small { font-family: var(--font-h3); font-size: clamp(16px, 1.8vw, 21px); color: var(--tan); margin-top: 10px; line-height: 1.25; }
.work-body { padding: 26px 28px 30px; }
.work-body .client { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--blue); }
.work-body h3 { font-size: 26px; margin-top: 6px; }
.work-body .more { font-weight: 800; color: var(--navy); }

/* Closing CTA */
.closing { position: relative; color: var(--white); background: #4E91EF url("../img/leap-blue-sky.jpg") center 75% / cover no-repeat; min-height: max(760px, 60vw); display: flex; align-items: flex-start; }
.closing-photo { display: none; }
.closing-inner { padding: clamp(48px, 5vw, 80px) 0 48px; }
.closing-content { max-width: 440px; }
.closing h2 { color: var(--white); font-family: var(--font-h1); font-weight: 400; text-transform: uppercase; font-size: clamp(54px, 7vw, 96px); line-height: 1; margin-bottom: 10px; }
.closing-content > p { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 22px; }
.closing .form { padding: 24px 26px; }
.closing .form label { margin: 10px 0 4px; }
.closing .form textarea { min-height: 80px; }
.form { padding: 24px 26px; }
.closing .form label { margin: 10px 0 4px; }
.closing .form textarea { min-height: 80px; }
.form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; box-shadow: 0 24px 60px rgba(0,0,0,.3); }
.form h3 { font-size: 26px; }
.form label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; color: var(--navy); }
.form input[type=text], .form input[type=email], .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 2px solid #C9D3DE; border-radius: 10px; background: #FAFBFC; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.form textarea { min-height: 110px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; margin-top: 16px; color: var(--ink); }
.form .check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); }
.form .btn { margin-top: 20px; width: 100%; justify-content: center; }
.form-note { margin-top: 12px; font-size: 15px; color: var(--blue); font-weight: 600; display: none; }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--white); padding: 56px 0 40px; border-top: 6px solid var(--blue); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-grid img { height: 92px; width: auto; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: var(--navy); font-weight: 600; text-decoration: none; }
.footer-small { color: var(--muted); font-size: 14px; margin-top: 28px; }

/* Case study pages */
.cs-hero { background: var(--navy); color: var(--white); padding: 64px 0 0; }
.cs-hero .eyebrow { color: var(--tan); }
.cs-hero h1 { color: var(--white); font-size: clamp(44px, 6.5vw, 84px); max-width: 15ch; }
.cs-hero .sub { font-size: 21px; color: #DCE6F0; max-width: 40em; }
.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.cs-stats.three { grid-template-columns: repeat(3, 1fr); }
.cs-stat { background: rgba(255,255,255,.07); border: 2px solid rgba(229,213,180,.3); border-radius: var(--radius); padding: 22px; }
.cs-stat .n { font-family: var(--font-h2); font-weight: 800; font-size: clamp(30px, 3.8vw, 46px); line-height: 1; color: var(--white); }
.cs-stat .l { color: var(--tan); font-weight: 600; margin-top: 8px; font-size: 16px; }
.cs-banner img { width: 100%; max-height: 560px; object-fit: cover; }
.prose { max-width: 760px; }
.prose p { font-size: 19px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-box { background: var(--white); border-radius: var(--radius); padding: 20px; border-top: 6px solid var(--blue); }
.stat-box .n { font-family: var(--font-h2); font-weight: 800; font-size: 30px; color: var(--navy); line-height: 1.05; }
.stat-box .l { color: var(--muted); font-size: 15px; margin-top: 6px; }
.platforms { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.platform { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 22px 24px; }
.platform h3 { color: var(--tan); font-size: 22px; margin-bottom: 4px; }
.list-hits { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.list-hits li { background: var(--white); border-radius: var(--radius); padding: 20px 22px; border-left: 6px solid var(--blue); }
.list-hits .t { font-family: var(--font-h3); font-size: 21px; color: var(--navy); }
.list-hits .m { font-weight: 800; color: var(--blue); font-size: 15px; letter-spacing: .02em; }
.series { background: var(--white); border-radius: var(--radius); padding: 32px; border: 2px solid var(--navy); margin-bottom: 26px; }
.series .totals { display: inline-block; background: var(--mint); color: var(--navy); font-weight: 800; padding: 8px 14px; border-radius: 999px; font-size: 15px; margin: 6px 0 18px; }
.series-stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; margin: 10px 0 22px; }
.series-stats > div { background: var(--navy); color: var(--white); border-radius: 12px; padding: 16px 18px; }
.series-stats .n { display: block; font-family: var(--font-h2); font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); line-height: 1; }
.series-stats .l { display: block; color: var(--tan); font-weight: 600; font-size: 15px; margin-top: 6px; }
.videos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.section-navy .watch { color: var(--tan); }
.watch { display: block; width: fit-content; margin-top: 12px; font-weight: 800; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--blue); }
.watch:hover { color: var(--blue); }
.embed { margin-top: 14px; }
.fb-embed iframe { display: block; width: 100%; max-width: 320px; aspect-ratio: 9/16; border: 0; border-radius: 12px; background: var(--mint); }
.embed .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; background: var(--white); border-radius: 12px !important; padding: 18px; }
.embed .instagram-media a { font-weight: 800; color: var(--navy); }
.video { background: var(--mint); border-radius: 12px; padding: 18px 20px; }
.video .t { font-family: var(--font-h3); font-size: 19px; color: var(--navy); line-height: 1.25; }
.video .d { font-size: 14px; color: var(--muted); font-weight: 600; margin-top: 2px; }
.video .m { font-size: 15px; font-weight: 800; color: var(--blue); margin-top: 8px; }
.video q { display: block; font-style: italic; margin-top: 10px; font-size: 16px; color: var(--ink); }
.worked { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.worked div { background: rgba(255,255,255,.07); border-radius: var(--radius); padding: 28px; border: 2px solid rgba(229,213,180,.3); }
.worked h3 { color: var(--tan); font-size: 23px; }
.worked p { color: #DCE6F0; margin: 0; }
.footnote { font-size: 14px; color: var(--muted); margin-top: 26px; }
.callout { background: var(--blue); color: var(--white); border-radius: var(--radius); padding: 30px 32px; margin-top: 26px; }
.callout .big { font-family: var(--font-h2); font-weight: 800; font-size: 26px; line-height: 1.2; }
.strategy-points { margin: 0 0 1em; padding-left: 22px; }
.strategy-points li { font-size: 19px; margin-bottom: 6px; }
.strategy-points strong { font-weight: 600; color: var(--navy); }
.big-quote { font-family: var(--font-h3); font-size: clamp(26px, 3.2vw, 36px); color: var(--navy); line-height: 1.25; max-width: 24em; }
.cta-band { background: var(--tan); padding: 72px 0; text-align: center; }
.cta-band h2 { font-size: clamp(30px, 4vw, 46px); }
.cta-band p { font-size: 20px; max-width: 34em; margin: 0 auto 26px; }

/* Responsive */
@media (max-width: 900px) {
  body { font-size: 17px; }
  .closing { display: block; background-image: none; min-height: 0; }
  .closing-inner { padding: 56px 0 8px; }
  .closing-content { max-width: none; }
  .closing-photo { display: block; }
  .closing-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 80%; }
  .hero-grid, .do-grid, .two-col, .work-grid, .manifesto-grid, .worked { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; margin: 0 auto; }
  .hero-photo .badge { left: -10px; width: 78px; height: 78px; }
  .proof-grid { grid-template-columns: 1fr; gap: 18px; }
  .cs-stats, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-stats.three { grid-template-columns: 1fr; }
  .platforms { grid-template-columns: 1fr; }
  .series-stats { gap: 8px; }
  .series-stats > div { padding: 12px; }
  .series-stats .l { font-size: 13px; }
  .section { padding: 64px 0; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: flex-start; padding: 18px 24px 26px; gap: 18px; display: none; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-header .logo img { height: 42px; }
}
