/* Mark Stephens | site styles
   Layout: name-first front door. Photo montage hero, press logos, five tall doorways, then quiet sections in one column of warm, open space.
   Single light look by design: every colour is set explicitly below. */
:root {
  --ink: #10201e;        /* deep eucalyptus, main text */
  --ink-soft: #3d4c48;   /* body copy */
  --muted: #5d6c67;      /* captions */
  --paper: #f5f6f2;      /* page ground */
  --surface: #ffffff;    /* raised panels */
  --mist: #e7ece8;       /* quiet panel fill */
  --teal: #0b6a70;       /* links, buttons (deep HZP teal for contrast) */
  --teal-bright: #029ba4;/* HZP brand teal, small accents only */
  --sunrise: #c9832a;    /* eyebrows, small highlights */
  --on-dark: #ffffff;
  --todo-bg: #fff2c7;
  --todo-fg: #6b4a00;
  --display: "Shippori Mincho B1", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --body: "Figtree", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.6rem);
  --step-4: clamp(2.4rem, 1.6rem + 3.6vw, 4.2rem);
  --radius: 14px;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--teal-bright); outline-offset: 3px; border-radius: 6px;
}
h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; line-height: 1.15; text-wrap: balance; margin: 0; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 700; }
p { margin: 0; max-width: 65ch; }
.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-size: var(--step--1); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sunrise); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section-head { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 2.2rem; }
.lead { font-size: var(--step-1); color: var(--ink-soft); }
.todo { background: var(--todo-bg); color: var(--todo-fg); padding: 0.1em 0.4em; border-radius: 4px; font-weight: 600; font-size: 0.92em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center;
  font: 700 var(--step--1)/1 var(--body); letter-spacing: 0.04em;
  padding: 0.95rem 1.4rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 0;
  background: var(--teal); color: var(--on-dark); transition: background 0.2s;
}
.btn:hover { background: var(--ink); }
.btn-quiet { background: var(--mist); color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: var(--on-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--surface); box-shadow: 0 1px 0 rgba(16, 32, 30, 0.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; gap: 0.35rem; }
.brand-name { font-family: var(--display); font-size: 1.45rem; font-weight: 800; color: var(--ink); letter-spacing: 0.01em; }
.brand-tag { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--teal); }
.nav .btn { color: var(--on-dark); padding: 0.75rem 1.15rem; }
.nav-toggle { display: none; background: none; border: 0; font: 700 0.95rem var(--body); color: var(--ink); padding: 0.6rem; cursor: pointer; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.5rem max(16px, env(safe-area-inset-right, 0px)) 1.2rem max(16px, env(safe-area-inset-left, 0px)); box-shadow: 0 12px 24px rgba(16, 32, 30, 0.08); }
  .nav.open { display: flex; }
  .nav a { padding: 0.8rem 0; width: 100%; font-size: 1.05rem; }
  .nav .btn { width: auto; margin-top: 0.5rem; padding: 0.85rem 1.3rem; }
}

/* Hero montage */
.hero { position: relative; min-height: clamp(480px, 72vh, 700px); display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: 0; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides img.on { opacity: 1; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 20, 0.15) 0%, rgba(10, 22, 20, 0.35) 45%, rgba(10, 22, 20, 0.85) 100%); }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-block: 3rem; }
.hero-copy { display: flex; flex-direction: column; gap: 1rem; max-width: 760px; }
.hero h1 { color: var(--on-dark); font-size: var(--step-4); }
.hero .eyebrow { color: #f2c27c; }
.hero p { color: rgba(255, 255, 255, 0.92); font-size: var(--step-1); }
.hero-dots { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, 0.4); cursor: pointer; }
.hero-dots button.on { background: var(--on-dark); }

/* Press logos */
.press { background: var(--surface); padding-block: 1.6rem; }
.press .wrap { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.press-label { font-size: var(--step--1); color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.press-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.1rem 2rem; }
.press-logos img { height: 30px; width: auto; opacity: 0.85; }
.press-logos .logo-text { font-family: var(--display); font-weight: 700; color: var(--muted); font-size: 0.95rem; white-space: nowrap; }

/* Doorways */
.doors-scroll { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 0.5rem; }
.doors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.door { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--ink); scroll-snap-align: start; max-width: 100%; }
.door img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.door:hover img { transform: scale(1.05); }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 22, 20, 0) 40%, rgba(10, 22, 20, 0.88) 100%); }
.door-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.1rem; display: flex; flex-direction: column; gap: 0.35rem; }
.door-title { font-family: var(--display); font-size: 1.35rem; font-weight: 800; color: var(--on-dark); line-height: 1.15; }
.door-line { color: rgba(255, 255, 255, 0.88); font-size: 0.9rem; line-height: 1.4; }
.door-go { color: #f2c27c; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 0.3rem; }
@media (max-width: 960px) {
  .doors { grid-template-columns: repeat(5, 62vw); }
}
@media (max-width: 960px) and (min-width: 600px) {
  .doors { grid-template-columns: repeat(5, 36vw); }
}

/* Split blocks */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split.flip .split-media { order: 2; }
.split-media img { border-radius: var(--radius); width: 100%; }
.split-body { display: flex; flex-direction: column; gap: 1.1rem; min-width: 0; }
@media (max-width: 820px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip .split-media { order: 0; } }

.figures { display: flex; flex-wrap: wrap; gap: 1.2rem 2.4rem; margin-top: 0.5rem; }
.figure { display: flex; flex-direction: column; }
.figure b { font-family: var(--display); font-size: 2rem; color: var(--ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.figure span { font-size: var(--step--1); color: var(--muted); max-width: 16ch; line-height: 1.4; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 1.4rem; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.card-body .meta { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.card-body .more { margin-top: auto; padding-top: 0.4rem; font-weight: 700; font-size: 0.95rem; }

.band { background: var(--mist); }
.band-white { background: var(--surface); }

/* Quotes */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 2rem; }
.quote { display: flex; flex-direction: column; gap: 0.9rem; margin: 0; }
.split .quote p { font-size: var(--step-2); }
.quote p { font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.45; }
.quote cite { font-style: normal; font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.quote cite span { display: block; font-weight: 500; color: var(--muted); }

/* Books */
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.6rem; }
.book { display: flex; flex-direction: column; gap: 0.8rem; min-width: 0; }
.book img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.book-placeholder { aspect-ratio: 3 / 4; border-radius: var(--radius); background: var(--mist); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1.5rem; font-family: var(--display); font-size: 1.4rem; color: var(--ink); }

/* Video placeholder */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); display: block; text-decoration: none; max-width: 100%; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.video-label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.8rem; color: var(--on-dark); text-align: center; padding: 1rem; font-weight: 700; }
.play { width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); display: flex; align-items: center; justify-content: center; }
.play::before { content: ""; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }

/* Stories */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.story + .story { margin-top: clamp(3rem, 6vw, 5rem); }
.story:nth-child(even) .story-media { order: 2; }
.story-media img { border-radius: var(--radius); width: 100%; }
.story-body { display: flex; flex-direction: column; gap: 0.9rem; min-width: 0; }
.story-stat { font-family: var(--display); font-size: 2.4rem; color: var(--teal); font-weight: 800; line-height: 1; }
@media (max-width: 820px) { .story { grid-template-columns: 1fr; } .story:nth-child(even) .story-media { order: 0; } }
.note { font-size: var(--step--1); color: var(--muted); }

/* Guide (private sessions) */
.guide { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.4rem; }
.guide .card-body h3 { font-size: 1.15rem; }

/* Forms */
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; padding: 0.8rem 0.9rem; border-radius: 10px; border: 1px solid #c9d3cf; background: var(--paper); color: var(--ink); width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-thanks { grid-column: 1 / -1; background: var(--mist); color: var(--ink); padding: 1rem 1.2rem; border-radius: 10px; font-weight: 600; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

.news { background: var(--ink); }
.news .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding-block: clamp(3rem, 6vw, 4.5rem); }
.news h2 { color: var(--on-dark); }
.news p { color: rgba(255, 255, 255, 0.85); }
.news-form { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.news-form input { flex: 1 1 200px; min-width: 0; font: inherit; padding: 0.9rem 1rem; border-radius: 999px; border: 0; background: var(--surface); color: var(--ink); }
.news-form .btn { background: var(--teal-bright); color: var(--ink); }
.news-form .btn:hover { background: var(--on-dark); }
.news .form-thanks { background: rgba(255, 255, 255, 0.1); color: var(--on-dark); }
@media (max-width: 820px) { .news .wrap { grid-template-columns: 1fr; } }

/* Page header (inner pages) */
.page-head { background: var(--surface); padding-block: clamp(3rem, 7vw, 5rem); }
.page-head .stack { max-width: 760px; }
.page-head h1 { font-size: var(--step-4); }

/* Speaking */
.subtitle { font-family: var(--display); font-size: var(--step-2); color: var(--teal); line-height: 1.25; }
.talks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.4rem; }
.talks .card-body h3 { font-family: var(--display); font-size: 1.45rem; }
.ticks { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.pull { font-family: var(--display); font-size: var(--step-3); color: var(--ink); line-height: 1.25; max-width: 24ch; }
.mc { background: var(--surface); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: 0.9rem; }

/* Footer */
.site-footer { background: var(--surface); padding-block: 3rem 2rem; font-size: 0.95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.foot-grid h3 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.foot-grid a { color: var(--ink); text-decoration: none; }
.foot-grid a:hover { color: var(--teal); }
.phones { font-weight: 700; color: var(--ink); user-select: all; }
.legal { margin-top: 2.5rem; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slides img, .door img { transition: none; }
}

/* Speaking extras */
.clients { background: var(--surface); padding-block: 1.6rem; }
.clients .wrap { display: flex; flex-direction: column; gap: 0.9rem; align-items: center; text-align: center; }
.client-names { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 2rem; }
.client-names span { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.client-names span:last-child { font-family: var(--body); font-weight: 600; font-size: 0.95rem; color: var(--muted); align-self: center; }
.quote-big { max-width: 880px; margin-inline: auto; text-align: center; align-items: center; }
.quote-big p { font-size: var(--step-3); line-height: 1.3; max-width: none; }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.2rem; }
.chips span { background: var(--mist); color: var(--ink); padding: 0.55rem 1rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem; }
.img-todo { aspect-ratio: 16 / 9; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.split-body .quote { margin-top: 0.4rem; }

/* Jordan feature */
.feature { display: flex; flex-direction: column; gap: clamp(2rem, 5vw, 3.5rem); margin-bottom: clamp(3.5rem, 7vw, 6rem); }
.feature .story + .story { margin-top: 0; }
.feature-head { display: flex; flex-direction: column; gap: 0.6rem; }
.feature-head h2 { font-size: var(--step-4); }
.feature-wide { margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.feature-wide img { width: 100%; border-radius: var(--radius); background: var(--surface); }
.feature-h { font-family: var(--display); font-size: var(--step-3); }
.feature-press { display: flex; flex-direction: column; gap: 1rem; }
.clips { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 1rem; margin-top: 0.5rem; }
.clip { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink-soft); min-width: 0; }
.clip img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.clip:hover img { transform: scale(1.03); }
.clip span { padding: 0.7rem 0.9rem; font-size: 0.88rem; display: flex; flex-direction: column; }
.clip b { color: var(--ink); font-size: 0.95rem; }
.clips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature-wide.narrow { max-width: 900px; margin-inline: auto; width: 100%; }

/* Media collage strip */
.collage { background: var(--ink); line-height: 0; }
.collage img { width: 100%; height: auto; min-height: 120px; object-fit: cover; }
.split-media.stack { display: flex; flex-direction: column; gap: 1rem; }
.split-body h3 { margin-top: 0.4rem; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--ink); max-width: 100%; width: 100%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Speaking head with photo, client logos */
.head-split { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.head-photo { width: clamp(180px, 22vw, 280px); border-radius: var(--radius); }
@media (max-width: 720px) { .head-split { grid-template-columns: 1fr; } .head-photo { width: 200px; } }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 2.4rem; }
.client-logos img { width: auto; max-width: 100%; }
.client-logos span { font-weight: 600; font-size: 0.95rem; color: var(--muted); }
.split.top { align-items: start; }
.book img.book-cover { object-fit: contain; background: var(--mist); padding: 1rem; }
.split-media.smaller img { width: 75%; margin-inline: auto; }
@media (max-width: 820px) { .split-media.smaller img { width: 85%; } }
.figure b .yrs { font: inherit; color: inherit; max-width: none; display: inline; }
.split-media.smaller .note { text-align: center; }
.photo-stack { display: flex; flex-direction: column; gap: 0.8rem; }
.photo-stack img { width: 100%; border-radius: var(--radius); aspect-ratio: 900 / 495; object-fit: cover; }
.quote-side p { font-size: var(--step-3); line-height: 1.3; }

/* Doorways a little shorter; repeated set at the foot of each page */
.door { aspect-ratio: 4 / 5; }
.doors-bottom { background: var(--paper); }

/* Banner page head (Success Stories) */
.banner-head { position: relative; background-size: cover; background-position: center 35%; padding-block: clamp(5rem, 12vw, 9rem); }
.banner-head::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 22, 20, 0.82) 0%, rgba(10, 22, 20, 0.55) 55%, rgba(10, 22, 20, 0.25) 100%); }
.banner-head .wrap { position: relative; }
.banner-head h1, .banner-head .lead { color: var(--on-dark); }
.banner-head .eyebrow { color: #f2c27c; }

/* Speaking quote photos: locked together, smaller */
.photo-stack { gap: 0; border-radius: var(--radius); overflow: hidden; max-width: 380px; width: 100%; justify-self: end; }
.photo-stack img { border-radius: 0; }

/* 1. Form Container Styling */
        .cm-form-container {
            max-width: 600px;
            margin: 20px auto;
            font-family: Arial, sans-serif;
        }

        /* 2. Flexbox row that forces fields side by side */

