/* cgrant.io v3 "Daylight". Tokens and shared components. See DESIGN.md. */

:root {
  --paper: #F6F2EA;
  --paper-deep: #ECE5D6;
  --ink: #1C1E1A;
  --ink-soft: #55584F;
  --rule: #CFC8B6;
  --forest: #1E2A1F;
  --forest-ink: #EDE8DC;
  --gold: #E2B33C;
  --gold-hover: #EDC55C;
  --gold-deep: #8A6410;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Helvetica Neue", Helvetica, sans-serif;

  --fs-display: clamp(36px, 4.2vw + 14px, 76px);
  --fs-h1: clamp(36px, 3.4vw + 16px, 64px);
  --fs-h2: clamp(30px, 2.2vw + 16px, 48px);
  --fs-question: clamp(26px, 1.6vw + 16px, 40px);
  --fs-h3: clamp(23px, 0.6vw + 19px, 28px);
  --fs-ledger: clamp(19px, 0.2vw + 18px, 21px);
  --fs-body: clamp(18px, 0.1vw + 17.5px, 19px);
  --fs-lead: clamp(19px, 0.4vw + 17px, 22px);
  --fs-small: 16px;
  --fs-signoff: clamp(30px, 0.6vw + 26px, 36px);

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 144px;

  --max: 1240px;
  --measure: 64ch;
  --gutter: 48px;
  --band-y: 144px;
  --gap: 24px;
  --radius: 2px;
}

@media (max-width: 860px) {
  :root { --gutter: 20px; --band-y: 64px; --gap: 16px; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  text-align: left;
  overflow-wrap: break-word;
}
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
h1 { font-size: var(--fs-h1); line-height: 1.06; }
h2 { font-size: var(--fs-h2); line-height: 1.1; }
h3 { font-size: var(--fs-h3); line-height: 1.2; }
p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; }
.link, .prose a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: text-decoration-thickness 150ms;
}
.link:hover, .prose a:hover { text-decoration-thickness: 4px; }
/* Inline padding grows the tap area to 44px without moving the text. */
.link, .answer h3 a { padding-block: 13px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible, .on-dark input:focus-visible { outline-color: var(--gold); }

.wrap { max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: var(--band-y) 0; }
.band + .band:not(.band-dark):not(.signup-band) { border-top: 1px solid var(--rule); }
.label { font-size: var(--fs-small); font-weight: 500; color: var(--ink-soft); margin: 0 0 var(--s-4); }
.on-dark .label { color: var(--forest-ink); opacity: .85; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.small { font-size: var(--fs-small); line-height: 1.5; }
.soft { color: var(--ink-soft); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* placeholders and slots */
.slot {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: var(--s-2) var(--s-4);
  border: 1px dashed var(--ink); border-radius: var(--radius);
  background: var(--paper-deep); color: var(--ink);
  font-size: var(--fs-small); font-weight: 500;
}
.slot-block { display: block; padding: var(--s-5); }

/* ---------- header ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: var(--s-6); min-height: 72px;
}
.site-name {
  font-family: var(--serif); font-size: 24px; font-weight: 500; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav { display: flex; flex-wrap: wrap; column-gap: var(--s-6); }
.site-nav a {
  font-size: 17px; font-weight: 500; text-decoration: none;
  min-height: 44px; display: inline-flex; align-items: center;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--gold);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}
@media (max-width: 640px) {
  .site-header .wrap { display: block; padding-top: var(--s-2); padding-bottom: var(--s-1); }
  .site-name { font-size: 22px; }
  .site-nav { column-gap: 12px; margin-left: -1px; }
  .site-nav a { font-size: 14.5px; }
}

/* ---------- buttons and forms ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 var(--s-5);
  background: var(--gold); color: var(--ink);
  border: 0; border-radius: var(--radius);
  font: 600 17px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color 150ms;
}
.btn:hover { background: var(--gold-hover); }

.signup { max-width: 560px; }
.signup label { display: block; font-size: var(--fs-small); font-weight: 500; margin-bottom: var(--s-2); }
.signup-row { display: flex; gap: var(--s-2); }
.signup input[type="email"] {
  flex: 1 1 auto; min-width: 0; min-height: 52px; padding: 0 var(--s-4);
  font: 400 18px var(--sans); color: var(--ink);
  background: #FFFDF8; border: 1px solid var(--ink); border-radius: var(--radius);
}
.signup .btn { flex: 0 0 auto; }
.signup-note { font-size: var(--fs-small); line-height: 1.5; margin-top: var(--s-3); max-width: 56ch; }
.on-dark .signup input[type="email"] { border-color: var(--forest-ink); }
@media (max-width: 420px) {
  .signup-row { flex-direction: column; }
  .signup .btn { width: 100%; }
}

/* ---------- bylines and sign-off (used on every note) ---------- */
.byline { display: flex; align-items: center; gap: var(--s-3); font-size: var(--fs-small); line-height: 1.35; }
.byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 50%; flex: none; }
.byline strong { display: block; font-weight: 600; }
.byline time { color: var(--ink-soft); }
.signoff { font-family: var(--serif); font-style: italic; font-size: var(--fs-signoff); line-height: 1.2; margin: var(--s-5) 0 0; }

/* ---------- hero (home): name, one line, one button, over video ---------- */
.hero { position: relative; background: var(--forest); color: #fff; overflow: hidden; --hero-h: max(540px, min(calc(100svh - 117px), 860px)); }
.hero-media { position: absolute; inset: 0; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* Scrim: forest from the left so the name always holds 4.5 to 1, lighter where he stands. */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(18,26,19,.86) 0%, rgba(18,26,19,.70) 34%, rgba(18,26,19,.30) 62%, rgba(18,26,19,.18) 100%),
    linear-gradient(to top, rgba(18,26,19,.55) 0%, rgba(18,26,19,0) 45%);
}
.hero .wrap { position: relative; min-height: var(--hero-h); display: flex; flex-direction: column; justify-content: center; padding-block: var(--s-9); }
.hero-text { max-width: 900px; }
.hero h1 { font-size: clamp(52px, 7.4vw + 10px, 132px); line-height: .96; letter-spacing: -0.025em; font-weight: 500; margin: 0 0 var(--s-5); }
.hero-line { font-size: clamp(21px, 1.3vw + 14px, 34px); line-height: 1.25; font-weight: 400; margin: 0 0 var(--s-7); max-width: 24ch; }
.btn-hero { min-height: 54px; padding: 0 var(--s-7); font-size: 17px; }
.hero-pause {
  position: absolute; right: var(--gutter); bottom: var(--s-5);
  min-height: 44px; padding: 0 var(--s-4); background: rgba(18,26,19,.55); color: #fff;
  border: 1px solid rgba(255,255,255,.55); border-radius: var(--radius);
  font: 500 15px var(--sans); cursor: pointer;
}
.hero-pause:hover { background: rgba(18,26,19,.8); }

@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: rise .8s .15s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

@media (max-width: 860px) {
  .hero { --hero-h: max(500px, calc(100svh - 160px)); }
  .hero-media video { object-position: 50% 20%; }
  .hero-media::after {
    background: linear-gradient(to top, rgba(18,26,19,.94) 0%, rgba(18,26,19,.78) 38%, rgba(18,26,19,.20) 68%, rgba(18,26,19,.10) 100%);
  }
  .hero .wrap { justify-content: flex-end; padding-block: var(--s-7) var(--s-9); }
  .hero-line { margin-bottom: var(--s-6); }
  .btn-hero { width: 100%; padding: 0 var(--s-5); }
  .hero-pause { bottom: var(--s-4); }
}

/* ---------- intro band under the hero ---------- */
.intro-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.intro-head { grid-column: 1 / 8; }
.intro-head h2 { font-size: var(--fs-h1); line-height: 1.06; }
.intro-body { grid-column: 8 / 13; }
.intro-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); margin-top: var(--s-5); }
@media (max-width: 860px) { .intro-grid { display: block; } .intro-body { margin-top: var(--s-5); } }

/* ---------- signature: question, answer, ledger ---------- */
.section-head { margin-bottom: var(--s-8); }
.section-head h2 { margin-bottom: var(--s-4); max-width: 18ch; }
.section-head p { font-size: var(--fs-lead); line-height: 1.5; max-width: 44ch; }
/* Wide variant: big heading left, the one explaining line right, bottoms aligned. */
.section-head-wide { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: end; }
.section-head-wide h2 { grid-column: 1 / 8; font-size: var(--fs-h1); line-height: 1.06; margin: 0; }
.section-head-wide p { grid-column: 8 / 13; margin: 0; }
@media (max-width: 860px) { .section-head-wide { display: block; } .section-head-wide h2 { margin-bottom: var(--s-4); } }

.qa {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap);
  padding: var(--s-8) 0; border-top: 1px solid var(--rule);
}
.qa:last-child { border-bottom: 1px solid var(--rule); }
.qa-q { grid-column: 1 / 7; }
.qa-a { grid-column: 8 / 13; }
.question {
  position: relative; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--fs-question); line-height: 1.18; margin: 0; max-width: 22ch;
}
.question::before {
  content: "\201C"; position: absolute; left: -0.55em; top: -0.12em;
  font-style: normal; font-size: 1.6em; line-height: 1; color: var(--gold);
}
.answer h3 { margin: var(--s-5) 0 var(--s-3); }
.answer h3 a { text-decoration: none; }
.answer h3 a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.answer .signoff { font-size: 28px; margin: var(--s-3) 0 var(--s-4); }
@media (max-width: 860px) {
  .qa { display: block; padding: var(--s-7) 0; }
  .question { padding-top: 0.7em; max-width: none; }
  .question::before { left: 0; top: -0.2em; font-size: 1.4em; }
  .qa-a { margin-top: var(--s-5); }
}

.ledger { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--s-7); row-gap: var(--s-7); }
.ledger h3 { font-family: var(--sans); font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; padding-bottom: var(--s-3); border-bottom: 2px solid var(--ink); }
.ledger ul { list-style: none; margin: 0; padding: 0; }
.ledger li {
  font-family: var(--serif); font-size: var(--fs-ledger); line-height: 1.35;
  padding: var(--s-3) 0; border-bottom: 1px solid var(--rule);
}
@media (max-width: 1000px) { .ledger { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .ledger { grid-template-columns: 1fr; row-gap: var(--s-6); } }

/* ---------- record (proof) ---------- */
.proof { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.proof-photo { grid-column: 1 / 5; position: sticky; top: var(--s-6); }
.proof-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.proof-body { grid-column: 6 / 13; }
.section-head-proof { margin-bottom: var(--s-7); }
.section-head-proof h2 { max-width: none; }
.record { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.record li {
  display: grid; grid-template-columns: 11rem 1fr 6rem; column-gap: var(--s-5);
  padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); align-items: baseline;
}
.record .who { font-family: var(--serif); font-size: 23px; line-height: 1.2; font-weight: 500; }
.record .who small { display: block; font-family: var(--sans); font-size: var(--fs-small); font-weight: 400; color: var(--ink-soft); margin-top: var(--s-1); }
.record .what { max-width: 52ch; }
.record .role { font-weight: 600; font-size: var(--fs-small); text-align: left; }
.record-foot { margin-top: var(--s-6); display: grid; gap: var(--s-5); }
@media (max-width: 860px) {
  .proof { display: block; }
  .proof-photo { position: static; margin-bottom: var(--s-6); }
  .proof-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .record li { grid-template-columns: 1fr auto; row-gap: var(--s-2); }
  .record .what { grid-column: 1 / -1; grid-row: 2; }
}

/* ---------- dark band ---------- */
.band-dark { background: var(--forest); color: var(--forest-ink); padding: 0; }
.band-dark .split { display: grid; grid-template-columns: 5fr 7fr; }
.band-dark .split-photo { background: #0b0c0b; min-height: 100%; }
.band-dark .split-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.band-dark .split-text { padding: var(--s-9) var(--gutter) var(--s-9) var(--s-9); max-width: 760px; }
.band-dark h2 { font-size: var(--fs-h1); line-height: 1.06; margin-bottom: var(--s-6); }
@media (max-width: 860px) {
  .band-dark .split { display: block; }
  .band-dark .split-photo img { height: 360px; object-position: 50% 30%; }
  .band-dark .split-text { padding: var(--s-8) var(--gutter); }
}
.steps { list-style: none; margin: 0 0 var(--s-7); padding: 0; counter-reset: step; }
.steps li {
  display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--s-4);
  padding: var(--s-4) 0; border-top: 1px solid rgba(237,232,220,.25); counter-increment: step;
}
.steps li::before { content: counter(step); font-family: var(--serif); font-size: 30px; line-height: 1.1; color: var(--gold); }
.steps strong { display: block; font-family: var(--serif); font-size: var(--fs-h3); font-weight: 500; line-height: 1.25; }
.steps span { display: block; }
.steps-light li { border-top-color: var(--rule); }
.steps-light li::before { color: var(--ink); }
.call { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.on-dark .slot { background: transparent; color: var(--forest-ink); border-color: var(--forest-ink); }

/* ---------- teaching ---------- */
.teach { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.teach-video { grid-column: 1 / 8; }
.teach-list { grid-column: 9 / 13; }
.video-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; cursor: pointer; aspect-ratio: 16 / 9; }
.video-btn img { width: 100%; height: 100%; object-fit: cover; }
.video-btn .play {
  position: absolute; left: var(--s-5); bottom: var(--s-5);
  display: inline-flex; align-items: center; gap: var(--s-3);
  min-height: 52px; padding: 0 var(--s-5); background: var(--gold); color: var(--ink);
  font: 600 17px var(--sans); border-radius: var(--radius);
}
.video-btn .play::before { content: ""; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--ink); }
.teach-video video { width: 100%; aspect-ratio: 16 / 9; background: #111; }
.caption { font-size: var(--fs-small); color: var(--ink-soft); margin-top: var(--s-3); max-width: 60ch; }
.plain-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.plain-list li { padding: var(--s-5) 0; border-bottom: 1px solid var(--rule); }
.plain-list h3 { margin-bottom: var(--s-2); }
@media (max-width: 860px) {
  .teach { display: block; }
  .teach-list { margin-top: var(--s-7); }
}

/* ---------- signup band ---------- */
.signup-band { background: var(--paper-deep); }
.signup-band .split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.signup-band .split-photo { grid-column: 1 / 6; }
.signup-band .split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.signup-band .split-text { grid-column: 7 / 13; }
.signup-band h2 { margin-bottom: var(--s-5); }
@media (max-width: 860px) {
  .signup-band .split { display: block; }
  .signup-band .split-photo img { aspect-ratio: 1 / 1; }
  .signup-band .split-text { margin-top: var(--s-6); }
}

/* ---------- page heads (inner pages) ---------- */
.page-head { padding: var(--s-8) 0 var(--s-8); }
.page-head .split { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.page-head .split-text { grid-column: 1 / 7; }
.page-head .split-photo { grid-column: 8 / 13; }
.page-head .split-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; }
.page-head h1 { margin-bottom: var(--s-5); }
@media (max-width: 860px) {
  .page-head { padding: var(--s-7) 0; }
  .page-head .split { display: flex; flex-direction: column-reverse; }
  .page-head .split-photo { margin-bottom: var(--s-5); }
  .page-head .split-photo img { aspect-ratio: 4 / 3; }
}

/* ---------- note pages ---------- */
.note-head, .note-body, .note-more { max-width: 720px; }
.note-head { padding: var(--s-9) 0 var(--s-6); }
.note-head .question { margin-bottom: var(--s-7); }
.note-head h1 { margin-bottom: var(--s-6); }
.note-body { font-size: 20px; line-height: 1.65; padding-bottom: var(--s-8); }
.note-body p { max-width: 62ch; }
@media (max-width: 860px) { .note-head { padding: var(--s-7) 0 var(--s-5); } .note-body { font-size: 18px; } .note-head .question { padding-top: .7em; } }

/* ---------- photo band (about) ---------- */
.photo-band { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 4px; }
.photo-band img { width: 100%; height: 460px; object-fit: cover; }
@media (max-width: 860px) { .photo-band { grid-template-columns: 1fr 1fr; } .photo-band img { height: 220px; } .photo-band img:first-child { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--rule); padding: var(--s-8) 0 var(--s-7); }
.site-footer .wrap { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: var(--s-5); align-items: end; }
.site-footer .signoff { grid-column: 1 / 6; font-size: clamp(40px, 3vw + 20px, 64px); margin: 0; }
.site-footer nav { grid-column: 6 / 13; display: flex; flex-wrap: wrap; gap: 0 var(--s-6); justify-content: flex-end; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; font-weight: 500; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.site-footer .foot-meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: var(--s-3) var(--s-6); align-items: center; font-size: var(--fs-small); color: var(--ink-soft); border-top: 1px solid var(--rule); padding-top: var(--s-5); }
@media (max-width: 860px) {
  .site-footer .wrap { display: block; }
  .site-footer nav { justify-content: flex-start; margin: var(--s-5) 0; }
}


/* ==========================================================================
   Page-scoped rules. Merged from the builders' notes-pages.css,
   experience-about.css and work-direct.css during the review pass.
   ========================================================================== */

.band .wrap > h2 { margin-bottom: var(--s-6); }
.page-head .lead { margin-bottom: var(--s-4); }

/* notes.html: heading and byline left, the form right */
.page-head-notes .split-form { grid-column: 8 / 13; align-self: end; }
.page-head-notes .byline { margin-top: var(--s-6); }
@media (max-width: 860px) {
  .page-head-notes .split { display: block; }
  .page-head-notes .split-form { margin-top: var(--s-6); }
}

/* note-*.html: one reading column, centred on the page, text left aligned */
.note-col { display: block; max-width: 720px; margin-inline: auto; }
.note-body { padding-bottom: var(--s-7); }
.wrap.note-band { max-width: calc(720px + 2 * var(--gutter)); }
.note-band .plain-list { max-width: 720px; }

/* experience.html */
#record .slot-block { margin-bottom: var(--s-6); }
.aside-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.aside-head > h2 { grid-column: 1 / 5; margin: 0; }
.aside-head > .plain-list { grid-column: 6 / 13; }
@media (max-width: 860px) { .aside-head { display: block; } .aside-head > h2 { margin-bottom: var(--s-5); } }
/* experience: how I work with the skyline photo */
.proof-skyline .proof-photo img { aspect-ratio: 3 / 2; object-position: 40% 40%; }

/* about: photo on the left, text on the right */
.page-head-about .split-photo { grid-column: 1 / 7; grid-row: 1; }
.page-head-about .split-text { grid-column: 8 / 13; grid-row: 1; }
.page-head-about .split { align-items: center; }
.page-head-about .split-photo img { aspect-ratio: 4 / 5; }
.page-head-about .bio-line { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; margin: 0 0 var(--s-4); }
.page-head-about .lead { margin-bottom: var(--s-2); }
@media (max-width: 860px) {
  .page-head-about .split-photo img { aspect-ratio: 4 / 3; object-position: 50% 25%; }
}

/* about: photo band crops */
.photo-band .pb-1 { object-position: 60% 60%; }
.photo-band .pb-2 { object-position: 50% 52%; }
.photo-band .pb-3 { object-position: 45% 50%; }

.h2-gap { margin-bottom: var(--s-6); }

/* work with me: the one gold action */
.call-gold {
  min-height: 52px; background: var(--gold); border: 1px dashed var(--ink);
  padding: var(--s-3) var(--s-5); font-size: 17px; font-weight: 600;
}

/* dark band phrase list (work with me) */
.plain-list-dark { border-top-color: var(--forest-ink); }
.plain-list-dark li { border-bottom-color: rgba(237,232,220,.25); padding: var(--s-4) 0; }
.plain-list-dark p { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; margin: 0; max-width: none; }

/* direct: signup band used as the page hero */
.direct-hero .split-text h1 { margin-bottom: var(--s-5); }
.direct-hero .split-photo img { aspect-ratio: 4 / 5; object-position: 25% 30%; }
.notes-list .small { margin: 0; }
@media (max-width: 860px) {
  .direct-hero { padding: var(--s-5) 0 var(--s-7); }
  .direct-hero .split-photo img { aspect-ratio: auto; height: 168px; }
  .direct-hero .split-text { margin-top: var(--s-4); }
  .direct-hero .split-text h1 { margin-bottom: var(--s-3); }
  .direct-hero .lead { margin-bottom: var(--s-4); }
}

/* direct thanks: single narrow text column */
.narrow { max-width: 640px; }
.narrow .byline { margin-bottom: var(--s-6); }
.narrow h1 { margin-bottom: var(--s-5); }
.thanks-head { padding-top: var(--s-9); }
@media (max-width: 860px) { .thanks-head { padding-top: var(--s-7); } }

/* contact */
.page-head-contact .call { margin-top: var(--s-6); }
.contact-form { grid-column: 6 / 13; max-width: 620px; display: grid; }
.contact-form label { font-size: var(--fs-small); font-weight: 500; margin: var(--s-5) 0 var(--s-2); }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea {
  width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4);
  font: 400 18px/1.5 var(--sans); color: var(--ink);
  background: #FFFDF8; border: 1px solid var(--ink); border-radius: var(--radius);
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: var(--s-6); justify-self: start; }
@media (max-width: 420px) { .contact-form .btn { justify-self: stretch; } }
.teach-list .btn { margin-top: var(--s-3); }

/* fire pit photo: keep him in frame */
.band-dark .split-photo img[src*="firepit"] { object-position: 70% 75%; }
.page-head-about .split-photo img[src*="firepit"] { object-position: 50% 40%; }
@media (max-width: 860px) { .band-dark .split-photo img[src*="firepit"] { object-position: 70% 70%; } }

/* green polo photos in portrait slots: keep his face in frame */
.signup-band .split-photo img[src*="polo-green-1"] { object-position: 36% 40%; }
.page-head .split-photo img[src*="polo-green-2"] { object-position: 30% 40%; }
.photo-band .pb-3[src*="polo-green-3"] { object-position: 30% 40%; }

/* London street photo on Experience: portrait crop from head to waist */
.proof-skyline .proof-photo img[src*="london-carnaby"] { aspect-ratio: 4 / 5; object-position: 50% 50%; }

/* Google office photo beside the record */
.proof-photo img[src*="google-london"] { object-position: 50% 50%; }

/* album photos */
.page-head .split-photo img[src*="restaurant-portrait"] { object-position: 70% 30%; }
.signup-band .split-photo img[src*="table-portrait"], .direct-hero .split-photo img[src*="table-portrait"] { object-position: 40% 30%; }


/* ==========================================================================
   Home page sections added 2026-11-29: label left, content right.
   ========================================================================== */
.row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.row-label { grid-column: 1 / 5; }
.row-body { grid-column: 5 / 13; }
.rowband { padding: var(--s-9) 0; }
.row-label h2 { font-size: var(--fs-h2); line-height: 1.1; }
.marked { display: inline; background: linear-gradient(to top, var(--gold) 0, var(--gold) 0.32em, transparent 0.32em); padding: 0 .12em; margin-left: -.12em; }
.row-photo { width: 100%; max-width: 300px; aspect-ratio: 4 / 5; object-fit: cover; margin-top: var(--s-7); }
.link-gap { margin-left: var(--s-6); }

.about-band { background: var(--forest); color: var(--forest-ink); padding: var(--s-8) 0; }
.about-band .row { align-items: center; }
.about-band h2 { font-size: var(--fs-h2); }
.about-line { font-family: var(--serif); font-size: clamp(24px, 1.5vw + 14px, 38px); line-height: 1.22; max-width: 30ch; margin: 0; }

.exp-lead { font-family: var(--serif); font-size: clamp(26px, 1.2vw + 18px, 36px); font-weight: 500; line-height: 1.18; max-width: 26ch; margin-bottom: var(--s-6); }
#experience .row-body p { max-width: 66ch; }
#experience { border-top: 1px solid var(--rule); }

.course { background: var(--forest); color: var(--forest-ink); padding: var(--s-9) 0; }
.course-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.course-text { grid-column: 1 / 8; }
.course-art { grid-column: 9 / 13; }
.course-kicker { font-family: var(--serif); font-style: italic; font-size: var(--fs-h3); color: var(--gold); margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4); }
.course-kicker .slot { font-family: var(--sans); font-style: normal; }
.course h2 { font-size: var(--fs-h1); line-height: 1.06; max-width: 17ch; margin-bottom: var(--s-7); }
.course-days { list-style: none; margin: 0 0 var(--s-7); padding: 0; counter-reset: day; max-width: 620px; }
.course-days li { display: grid; grid-template-columns: 3rem 1fr; column-gap: var(--s-3); padding: var(--s-4) 0; border-top: 1px solid rgba(237,232,220,.25); counter-increment: day; font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.25; }
.course-days li::before { content: counter(day); grid-row: 1 / 3; font-size: 30px; line-height: 1.1; color: var(--gold); }
.course-days q { display: block; grid-column: 2; font-family: var(--sans); font-size: var(--fs-small); line-height: 1.45; opacity: .82; margin-top: var(--s-2); quotes: "\201C" "\201D"; }
.course-cover {
  aspect-ratio: 3 / 4; width: 100%; max-width: 360px; margin-left: auto;
  background: var(--paper); color: var(--ink); padding: var(--s-6);
  display: flex; flex-direction: column; transform: rotate(-2.5deg);
  box-shadow: 14px 14px 0 var(--gold);
}
.course-cover p { margin: 0; max-width: none; }
.cover-kicker { font-size: 15px; font-weight: 600; }
.cover-title { font-family: var(--serif); font-weight: 500; font-size: clamp(44px, 3.6vw, 64px); line-height: .98; letter-spacing: -0.02em; margin-top: var(--s-6) !important; }
.cover-sub { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.2; margin-top: var(--s-4) !important; }
.cover-by { margin-top: auto !important; padding-top: var(--s-4); border-top: 3px solid var(--ink); font-weight: 600; font-size: 16px; }

.clients { background: var(--paper-deep); }
.logo-wall { list-style: none; margin: 0 0 var(--s-7); padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-8) var(--s-7); align-items: center; }
.logo-wall li { display: flex; align-items: center; min-height: 72px; }
.logo-wall img { max-height: 44px; max-width: 200px; width: auto; height: auto; }
.logo-wall img:not([class]) { height: 40px; }
.logo-wall .lg-sq { height: 72px; max-height: 72px; }
.logo-wall .lg-tall { height: 72px; max-height: 72px; }
.logo-wall .lg-pad { height: 76px; max-height: 76px; max-width: 260px; }

/* ---------- subscribe band and footer, on every page ---------- */
.subscribe { background: var(--forest); color: var(--forest-ink); padding: var(--s-9) 0; }
.subscribe h2 { font-size: var(--fs-h1); line-height: 1.06; margin-bottom: var(--s-7); }
.subscribe-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: center; }
.subscribe-copy { grid-column: 1 / 7; font-size: var(--fs-lead); line-height: 1.5; }
.subscribe-form { grid-column: 8 / 13; max-width: none; }
.subscribe-form input[type="email"] { min-height: 64px; border-color: var(--gold); border-width: 2px; }
.subscribe-form .btn { min-height: 64px; padding: 0 var(--s-6); font-size: 18px; }

.foot { background: var(--paper-deep); padding: var(--s-8) 0 var(--s-6); }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); row-gap: var(--s-7); }
.foot-id { grid-column: 1 / 6; }
.foot-name { font-family: var(--serif); font-size: 34px; line-height: 1.1; font-weight: 500; margin: 0 0 var(--s-2); }
.foot-role { margin: 0 0 var(--s-5); }
.foot-contact { font-size: var(--fs-small); line-height: 2.2; margin: 0 0 var(--s-5); }
.foot-social { display: flex; gap: var(--s-2); margin: 0; margin-left: -10px; }
.foot-social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--ink); }
.foot-social a:hover { color: var(--gold-deep); }
.foot-links { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr 1.3fr; column-gap: var(--gap); }
.foot-links ul { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-block; padding: 9px 0; font-size: var(--fs-lead); line-height: 1.3; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.foot-links a:hover { text-decoration-thickness: 4px; }
.foot-base { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: var(--s-3) var(--s-6); border-top: 1px solid var(--rule); padding-top: var(--s-5); font-size: var(--fs-small); color: var(--ink-soft); }
.foot-base .signoff { font-size: 32px; margin: 0; color: var(--ink); }

@media (max-width: 860px) {
  .row, .course-grid, .subscribe-grid { display: block; }
  .rowband, .course, .subscribe { padding: var(--s-8) 0; }
  .about-band { padding: var(--s-7) 0; }
  .row-label { margin-bottom: var(--s-5); }
  .row-photo { max-width: none; aspect-ratio: 4 / 3; object-position: 50% 30%; margin-top: var(--s-5); }
  .link-gap { margin-left: 0; display: block; }
  .course h2 { margin-bottom: var(--s-6); }
  .course-art { margin-top: var(--s-8); padding: 0 var(--s-5) var(--s-4) 0; }
  .course-cover { margin: 0 auto; max-width: 280px; }
  .course .btn-hero { width: 100%; }
  .logo-wall { grid-template-columns: 1fr 1fr; gap: var(--s-6) var(--s-5); }
  .logo-wall img { max-width: 140px; }
  .subscribe h2 { margin-bottom: var(--s-5); }
  .subscribe-form { margin-top: var(--s-6); }
  .foot-grid { display: block; }
  .foot-links { display: block; margin: var(--s-7) 0; }
  .foot-links ul + ul { margin-top: var(--s-5); padding-top: var(--s-5); border-top: 1px solid var(--rule); }
  .foot-links a { padding: 11px 0; }
}

/* ---------- sliver above the header ---------- */
.topbar { background: var(--forest); color: var(--forest-ink); font-size: 15px; line-height: 1.3; }
.topbar a { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--s-2); min-height: 44px; padding: 6px 0; text-decoration: none; text-align: center; }
.topbar strong { font-weight: 600; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- contact page: video band, centred head, form card ---------- */
.band-video { position: relative; height: clamp(220px, 30vw, 400px); overflow: hidden; background: var(--forest); }
.band-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.band-video .wrap { position: relative; height: 100%; }
.contact-head { padding: var(--s-9) 0 var(--s-7); text-align: center; }
.contact-head h1 { font-size: var(--fs-display); line-height: 1.1; margin-bottom: var(--s-5); }
.contact-head .lead { margin: 0 auto; max-width: 44ch; }
.contact-main { padding: 0 0 var(--s-9); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gap); align-items: start; }
.contact-side { grid-column: 1 / 5; }
.contact-side img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% 30%; margin-bottom: var(--s-6); }
.contact-side h2 { font-size: var(--fs-h3); margin-bottom: var(--s-2); }
.contact-slots { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.contact-card { grid-column: 6 / 13; display: grid; background: #FFFDF8; border: 1px solid var(--rule); border-top: 12px solid var(--gold); padding: var(--s-7); }
.contact-card h2 { font-size: var(--fs-h2); padding-bottom: var(--s-5); margin-bottom: var(--s-2); border-bottom: 1px solid var(--rule); }
.contact-card label { font-size: var(--fs-small); font-weight: 500; margin: var(--s-5) 0 var(--s-2); }
.contact-card input, .contact-card textarea { width: 100%; min-height: 52px; padding: var(--s-3) var(--s-4); font: 400 18px/1.5 var(--sans); color: var(--ink); background: #fff; border: 1px solid var(--ink); border-radius: var(--radius); }
.contact-card textarea { resize: vertical; }
.contact-card .btn { margin-top: var(--s-6); justify-self: start; }
@media (max-width: 860px) {
  .contact-head { padding: var(--s-7) 0 var(--s-6); text-align: left; }
  .contact-head .lead { margin: 0; }
  .contact-grid { display: flex; flex-direction: column-reverse; gap: var(--s-7); }
  .contact-card { padding: var(--s-5); }
  .contact-card .btn { justify-self: stretch; }
  .contact-side img { aspect-ratio: 4 / 3; object-position: 70% 25%; }
}

.page-head .split-photo img[src*="table-wide"] { aspect-ratio: 4 / 5; object-position: 12% 30%; }

.logo-note { margin: calc(-1 * var(--s-4)) 0 var(--s-6); }

/* ---------- course page ---------- */
.course-page h1 { font-size: var(--fs-display); line-height: 1.02; margin-bottom: var(--s-5); }
.course-page .lead { max-width: 34ch; margin-bottom: var(--s-7); }
.course-form { max-width: 560px; }
.course-form input[type="email"] { min-height: 60px; }
.course-form .btn { min-height: 60px; }
.course-days-light { margin-bottom: 0; max-width: 720px; }
.course-days-light li { border-top-color: var(--rule); }
.course-days-light li:last-child { border-bottom: 1px solid var(--rule); }
.course-days-light li::before { color: var(--ink); }
.course-days-light q { color: var(--ink-soft); opacity: 1; }
.course-who { background: var(--paper-deep); }
