/* chipconley.com — site styles
   Plain CSS, no build step. Sections:
   1. Fonts   2. Tokens   3. Reset   4. Base   5. Layout   6. Components   7. Sections   8. Utilities
   The design was drawn at 1449px wide with a 1200px content column; sizes below are fluid between
   a phone (~375px) and that desktop width. */

@layer reset, base, layout, components, sections, utilities;

/* 1. Fonts ------------------------------------------------------------------
   The design uses PP Neue Montreal (a licensed font). Until its webfont files are added, the
   site uses Inter Tight (SIL Open Font License), the closest free match. To switch, add
   @font-face rules for "PP Neue Montreal" here: it is already first in --font. */
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight-latin-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens ----------------------------------------------------------------- */
:root {
  /* colour */
  --navy: #1e2e57;
  --navy-700: #18264a;
  --navy-800: #172548;
  --navy-900: #0f1a36;
  --gold: #d2b06a;
  --gold-dark: #a17d2a;
  --gold-ink: #7f621e; /* bronze for small text and the bronze button: 4.8:1 or more on every light background */
  --cream: #fcfaed;
  --cream-hi: #f8f5eb;
  --beige: #f0ebd9;
  --card: #f5f1e2;
  --card-light: #fffdf7;
  --tan: #ddc7a6;
  --sand: #ddc7a6;
  --text: #554c42;
  --muted: #6e675f;
  --nav: #d4ccc3;
  --on-dark: #e9e5d9;
  --on-dark-muted: #cec1b3;
  --blue: #2f54a4;
  --green: #41ab81;
  --line: #e7ddd0;
  --chip-ink: #bbc8e3;

  /* type */
  --font: "PP Neue Montreal", "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-display: clamp(2.75rem, 2.05rem + 3vw, 4.8125rem);   /* 44 → 77 */
  --fs-h1: clamp(2.625rem, 2.05rem + 2.45vw, 4.5rem);       /* 42 → 72 */
  --fs-name: clamp(2.5rem, 2.02rem + 2.05vw, 3.9375rem);    /* 40 → 63 */
  --fs-h2: clamp(2rem, 1.69rem + 1.3vw, 2.875rem);          /* 32 → 46 */
  --fs-h2-sm: clamp(1.75rem, 1.53rem + .93vw, 2.5rem);      /* 28 → 40 */
  --fs-h3: clamp(1.625rem, 1.47rem + .65vw, 2.125rem);      /* 26 → 34 */
  --fs-h4: clamp(1.5rem, 1.4rem + .45vw, 2.25rem);          /* 24 → 36 */
  --fs-sub: clamp(1.25rem, 1.11rem + .6vw, 1.625rem);       /* 20 → 26 */
  --fs-lead: clamp(1.125rem, 1.08rem + .19vw, 1.25rem);     /* 18 → 20 */
  --fs-body: clamp(1.0625rem, 1.04rem + .1vw, 1.125rem);    /* 17 → 18 */
  --fs-small: 1rem;
  --fs-meta: .875rem;

  /* space */
  --gutter: clamp(20px, 4.5vw, 48px);
  --container: 1200px;
  --section: clamp(64px, 3.2rem + 5vw, 120px);
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 6px;
  --shadow-btn: 0 0 16px rgb(0 0 0 / .18);
  --shadow-photo: -7px 29px 46px rgb(0 0 0 / .13);
  --shadow-card: 0 9px 47px rgb(0 0 0 / .21);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* textures */
  --tex-grid: url("/assets/img/texture-grid-hand.webp");
  --tex-speckle: url("/assets/img/texture-speckle.webp");
  --tex-speckle-dark: url("/assets/img/texture-speckle-dark.webp");

  color-scheme: light;
  accent-color: var(--gold-dark);
}

/* 3. Reset ------------------------------------------------------------------ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: none; text-size-adjust: none; }
  body { min-height: 100dvh; }
  img, svg, video, iframe, canvas { display: block; max-width: 100%; }
  img { height: auto; }
  picture { display: contents; }
  picture > source { display: none; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; background: none; border: 0; padding: 0; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  p, h1, h2, h3, h4, h5, h6, li, figcaption, blockquote { overflow-wrap: break-word; }
  :target { scroll-margin-block: 24px; }
}

/* 4. Base ------------------------------------------------------------------- */
@layer base {
  html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
  }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  }
  body {
    font-family: var(--font);
    font-size: var(--fs-body);
    line-height: 1.61;
    font-weight: 400;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
  }
  h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--navy);
    line-height: 1.09;
    letter-spacing: -.01em;
    text-wrap: pretty;
  }
  h1, .display { text-wrap: balance; }
  p, li { text-wrap: pretty; }
  a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
  a:hover { text-decoration-thickness: 2px; }
  strong, b { font-weight: 600; }
  em, i, cite { font-style: italic; }
  cite { font-style: italic; }
  :focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 3px; border-radius: 2px; }
  .on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }
  #main:focus { outline: none; } /* the skip link's target: focused so the next Tab starts there */
  ::selection { background: var(--gold); color: var(--navy); }
  hr { border: 0; border-top: 1px solid var(--line); }
}

/* 5. Layout ----------------------------------------------------------------- */
@layer layout {
  .container {
    width: min(100% - 2 * var(--gutter), var(--container));
    margin-inline: auto;
  }
  .container--narrow { --container: 900px; }
  .section { padding-block: var(--section); position: relative; }
  .section--tight { padding-block: calc(var(--section) * .6); }
  .flow > * + * { margin-block-start: var(--flow, 1.1em); }
  .stack { display: flex; flex-direction: column; gap: var(--stack, 16px); }
  .cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--cluster, 16px 24px); }
  /* Single-column grids must not grow wider than the screen because of their content */
  :where(.split, .about-book__grid, .about-chip__grid, .home-speaking__grid, .listen-read__grid,
         .newsletter__grid, .mea-card, .site-footer__top, .page-grid) { grid-template-columns: minmax(0, 1fr); }
  .split {
    display: grid;
    gap: var(--split-gap, clamp(40px, 6vw, 80px));
    align-items: var(--split-align, start);
  }
  @media (min-width: 900px) {
    .split { grid-template-columns: var(--split, 1fr 1fr); }
  }
  .section-head {
    display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between;
    gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 44px);
  }
  .section-head > :first-child { max-width: 680px; }
  .center { text-align: center; margin-inline: auto; }
}

/* 6. Components ------------------------------------------------------------- */
@layer components {

  /* Skip link */
  .skip-link {
    position: absolute; left: 12px; top: -100px; z-index: 100;
    background: var(--cream); color: var(--navy); font-weight: 600;
    padding: 10px 18px; border-radius: 30px; box-shadow: var(--shadow-btn);
  }
  .skip-link:focus { top: 12px; }

  /* Icons (from the inline sprite) */
  .icon { width: 1em; height: 1em; flex: none; fill: none; }
  .icon-arrow { width: 22px; height: 12px; color: var(--arrow, var(--gold-dark)); transition: translate .25s var(--ease); }

  /* Textures */
  .tex-speckle { background-image: var(--tex-speckle); background-size: 300px; }
  .tex-grid { position: relative; isolation: isolate; }
  .tex-grid::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: var(--grid-ink, #554c42);
    opacity: var(--grid-opacity, .07);
    -webkit-mask: var(--tex-grid) 0 0 / 603px repeat;
    mask: var(--tex-grid) 0 0 / 603px repeat;
  }

  /* Backgrounds */
  .bg-cream { background-color: var(--cream); }
  .bg-beige { background-color: var(--beige); }
  .bg-sand { background-color: var(--sand); }
  .bg-navy { background-color: var(--navy); }
  .bg-ink { background-color: var(--navy-900); }
  .on-dark { color: var(--on-dark-muted); }
  .on-dark :is(h1, h2, h3, h4) { color: var(--cream); }

  /* Eyebrow: small caps label with a short rule */
  .eyebrow {
    display: flex; align-items: center; gap: 11px;
    font-size: var(--fs-meta); line-height: 1.15; font-weight: 600;
    letter-spacing: .11em; text-transform: uppercase;
    color: var(--eyebrow, var(--gold-ink));
    margin-bottom: 14px;
  }
  .eyebrow::before { content: ""; width: 27px; height: 2px; background: currentColor; flex: none; }
  .eyebrow--plain::before { display: none; }
  .eyebrow--center { justify-content: center; }
  .on-dark .eyebrow { --eyebrow: var(--gold); }
  .eyebrow--green { --eyebrow: var(--green) !important; }

  /* Headings */
  .display { font-size: var(--fs-display); line-height: .96; }
  .h1 { font-size: var(--fs-h1); line-height: 1; }
  .h-name { font-size: var(--fs-name); line-height: 1; }
  .h2 { font-size: var(--fs-h2); line-height: 1.09; }
  .h2-sm { font-size: var(--fs-h2-sm); line-height: 1.15; }
  .h3 { font-size: var(--fs-h3); line-height: 1.15; }
  .h4 { font-size: var(--fs-h4); line-height: 1.12; }
  .subtitle { font-size: var(--fs-sub); line-height: 1.35; font-weight: 600; color: var(--gold); letter-spacing: -.005em; }
  .lead { font-size: var(--fs-lead); line-height: 1.65; }
  .prose { font-size: var(--fs-body); line-height: 1.61; }
  .prose > * + * { margin-top: 1.6em; }
  .small { font-size: var(--fs-small); line-height: 1.45; }
  .meta { font-size: var(--fs-meta); line-height: 1.36; }

  /* Buttons */
  .btn {
    --btn-bg: var(--navy); --btn-fg: var(--cream);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 50px; padding: 8px 30px;
    border-radius: 30px; border: 0;
    background: var(--btn-bg); color: var(--btn-fg);
    font-size: 1.125rem; line-height: 1.2; font-weight: 600; letter-spacing: -.005em;
    text-decoration: none; text-align: center;
    box-shadow: var(--shadow-btn);
    transition: background-color .2s, color .2s, translate .2s var(--ease), box-shadow .2s;
    cursor: pointer;
  }
  .btn:hover { background: color-mix(in oklab, var(--btn-bg), #000 9%); translate: 0 -1px; text-decoration: none; }
  .btn:active { translate: 0 0; }
  .btn .icon { width: 18px; height: 18px; }
  .btn--gold { --btn-bg: var(--gold); --btn-fg: var(--navy); }
  .btn--bronze { --btn-bg: var(--gold-ink); --btn-fg: var(--cream); }
  .btn--navy { --btn-bg: var(--navy); --btn-fg: var(--cream); }
  .btn--cream { --btn-bg: var(--cream); --btn-fg: var(--navy); }
  .btn--cream:hover { background: #fff; }
  .btn--blue-text { --btn-fg: var(--blue); }
  .btn--outline {
    --btn-bg: transparent; box-shadow: none;
    border: 1.5px solid rgb(252 250 237 / .55); color: var(--cream);
  }
  .btn--outline:hover { background: rgb(252 250 237 / .1); border-color: var(--cream); }
  .btn--sm { min-height: 42px; padding: 6px 22px; font-size: 1rem; }

  .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }

  /* Text link with an arrow */
  .link-arrow, .text-link {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 1rem; line-height: 1.2; font-weight: 600;
    color: var(--link, var(--navy));
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
  }
  :is(.link-arrow, .text-link):hover .icon-arrow { translate: 4px 0; }
  .link-arrow--muted { --link: var(--text); }
  .on-dark .link-arrow { --link: var(--cream); --arrow: var(--gold); }

  /* Pills / tags */
  .tag {
    display: inline-flex; align-items: center; min-height: 33px; padding: 4px 16px;
    border-radius: 30px; font-size: var(--fs-meta); font-weight: 600; line-height: 1.2;
    color: var(--text);
    background: rgb(221 199 166 / .28);
    border: 1px solid rgb(221 199 166 / .44);
  }
  .tags { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; }
  .badge {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    min-height: 28px; padding: 3px 14px; border-radius: 40px;
    font-size: .75rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase;
    color: #f5f0df; background: var(--green);
  }
  .badge--glass {
    background: rgb(38 28 25 / .35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: .875rem; letter-spacing: .11em; min-height: 29px;
    box-shadow: 0 9px 47px rgb(0 0 0 / .21);
  }
  .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--green); flex: none; }

  /* Cards */
  .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); }
  .panel { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); }
  .panel--light { background: var(--card-light); }
  .panel--raised { box-shadow: var(--shadow-card); }
  .card-dark {
    position: relative; isolation: isolate; color: var(--on-dark-muted);
    background: var(--navy) var(--tex-speckle-dark) 0 0 / 240px; border-radius: var(--radius);
  }
  .card-dark :is(h2, h3, h4) { color: var(--cream); }

  /* Gold corner brackets drawn inside a box */
  .corners { position: relative; }
  .corners::after {
    --c: var(--corner-color, var(--gold)); --s: 17px; --w: 1px;
    content: ""; position: absolute; inset: var(--corner-inset, 20px); pointer-events: none;
    background:
      linear-gradient(var(--c) 0 0) 0 0 / var(--s) var(--w),
      linear-gradient(var(--c) 0 0) 0 0 / var(--w) var(--s),
      linear-gradient(var(--c) 0 0) 100% 0 / var(--s) var(--w),
      linear-gradient(var(--c) 0 0) 100% 0 / var(--w) var(--s),
      linear-gradient(var(--c) 0 0) 0 100% / var(--s) var(--w),
      linear-gradient(var(--c) 0 0) 0 100% / var(--w) var(--s),
      linear-gradient(var(--c) 0 0) 100% 100% / var(--s) var(--w),
      linear-gradient(var(--c) 0 0) 100% 100% / var(--w) var(--s);
    background-repeat: no-repeat;
  }

  /* Photo with an offset outline behind it */
  .frame { position: relative; isolation: isolate; }
  .frame::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: var(--frame-inset, 20px -19px -22px 24px);
    border: 1px solid var(--frame-color, var(--gold-dark));
    border-radius: var(--radius-lg);
  }
  .frame img, .frame .frame__media {
    width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-photo);
    background: #261c19;
  }
  .frame--tl { --frame-inset: -18px 28px 24px -20px; }
  @media (max-width: 600px) {
    .frame { --frame-inset: 12px -10px -12px 14px !important; }
    .frame--tl { --frame-inset: -10px 14px 14px -10px !important; }
  }
  .frame--navy { --frame-color: var(--navy); }
  .frame--gold { --frame-color: var(--gold); }

  /* Book covers */
  .cover {
    border-radius: var(--radius-sm); box-shadow: var(--shadow-photo);
    background: #261c19; aspect-ratio: 151 / 226; object-fit: cover; width: 100%;
  }

  /* Forms */
  .field {
    width: 100%; min-height: 50px; padding: 10px 22px;
    border-radius: 100px; border: 1px solid rgb(85 76 66 / .43);
    background: rgb(252 250 237 / .69); color: var(--text);
    font-size: 1.125rem; line-height: 1.2;
    box-shadow: inset 0 0 4px rgb(0 0 0 / .1);
    transition: border-color .2s, background-color .2s, box-shadow .2s;
  }
  .field::placeholder { color: var(--text); opacity: .85; }
  .field:hover { border-color: rgb(85 76 66 / .7); }
  .field:focus-visible { outline: 2px solid var(--gold-dark); outline-offset: 1px; border-color: var(--gold-dark); background: var(--cream); }
  textarea.field { border-radius: 22px; min-height: 160px; resize: vertical; padding-block: 14px; line-height: 1.5; }
  .field--dark {
    background: rgb(60 54 51 / .43); border-color: rgb(252 250 237 / .53); color: #f5f0df;
    box-shadow: inset 0 0 4px rgb(0 0 0 / .25), 0 5px 34px rgb(0 0 0 / .14);
  }
  .field--dark::placeholder { color: #f5f0df; opacity: .8; }
  .field--dark:focus-visible { outline-color: var(--gold); border-color: var(--gold); background: rgb(60 54 51 / .6); }
  .label { display: block; font-size: var(--fs-meta); font-weight: 600; color: var(--navy); margin: 0 0 8px 6px; }
  .inline-form { display: flex; flex-wrap: wrap; gap: 10px 17px; align-items: center; }
  .inline-form .field { flex: 1 1 200px; width: auto; min-width: 0; }
  .inline-form .btn { flex: none; }
  .form-status { font-size: var(--fs-small); min-height: 1.45em; margin-top: 12px; }
  .form-status[data-state="ok"] { color: var(--green); }
  .form-status[data-state="error"] { color: #b3412e; }
  .on-dark .form-status[data-state="ok"] { color: #7fd3ae; }
  .on-dark .form-status[data-state="error"] { color: #f0a08f; }
  .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  /* Lists of episodes / posts */
  .media-list, .post-list { list-style: none; padding: 0; }
  .media-item {
    display: grid; grid-template-columns: 154px 1fr; gap: 20px; align-items: center;
    padding-block: 26px; border-top: 1px solid var(--line);
  }
  .media-item__thumb img { width: 154px; aspect-ratio: 154 / 86; object-fit: cover; border-radius: var(--radius-sm); background: #bebebe; }
  .media-item__meta { font-size: var(--fs-meta); line-height: 1.36; color: var(--gold-ink); margin-bottom: 6px; }
  .media-item__title { font-size: 1.125rem; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; color: var(--navy); text-wrap: pretty; }
  .media-item__title a { text-decoration: none; }
  .media-item__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
  .post-item { padding-block: 11px 13px; border-top: 1px solid var(--line); }
  .post-item .media-item__meta { margin-bottom: 4px; }
  @media (max-width: 480px) {
    .media-item { grid-template-columns: 112px 1fr; gap: 16px; padding-block: 20px; }
    .media-item__thumb img { width: 112px; }
  }

  /* Workshop cards */
  .workshop-grid {
    list-style: none; padding: 0;
    display: grid; gap: clamp(20px, 3.3vw, 47px);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }
  .workshop-card {
    container-type: inline-size;
    display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 22px 28px 22px;
    min-height: 235px;
  }
  @media (max-width: 600px) { .workshop-card { min-height: 0; } }
  .workshop-card__meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px;
    font-size: var(--fs-meta); font-weight: 600; line-height: 1.36; color: var(--muted);
  }
  .workshop-card__meta .dot { width: 5px; height: 5px; background: var(--muted); }
  .workshop-card__title { font-size: 1.5rem; line-height: 1.17; margin-top: 22px; letter-spacing: -.012em; }
  .workshop-card__with { font-size: var(--fs-meta); line-height: 1.36; color: var(--navy); margin-top: 6px; }
  .workshop-card__link { align-self: flex-end; margin-top: auto; padding-top: 14px; --arrow: var(--navy); }
  .workshops-empty { font-size: var(--fs-body); }

  /* Episode cards (podcast page) */
  .episode-grid {
    list-style: none; padding: 0;
    display: grid; gap: 48px clamp(20px, 2.8vw, 26px);
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  }
  .episode-card { display: flex; flex-direction: column; }
  .episode-card__thumb { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: #261c19; }
  .episode-card__thumb img { width: 100%; aspect-ratio: 383 / 215; object-fit: cover; transition: scale .5s var(--ease); }
  .episode-card__thumb:hover img { scale: 1.03; }
  .play-badge { position: absolute; inset: 50% auto auto 50%; width: 64px; height: 64px; translate: -50% -50%; color: var(--cream); filter: drop-shadow(0 4px 14px rgb(0 0 0 / .25)); }
  .episode-card__date { font-size: var(--fs-meta); font-weight: 600; color: var(--muted); margin-top: 18px; }
  .episode-card__title { font-size: 1.3125rem; line-height: 1.29; margin-top: 8px; letter-spacing: -.008em; }
  .episode-card__title a { text-decoration: none; }
  .episode-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
  .icon-link {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
    font-size: 1rem; font-weight: 600; color: var(--navy);
    text-decoration: underline; text-underline-offset: 4px;
  }
  .icon-link .icon { width: 18px; height: 18px; color: var(--gold-dark); }

  /* Video with a click-to-load embed */
  .video { position: relative; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: 0 7px 32px rgb(0 0 0 / .25); aspect-ratio: 16 / 9; }
  .video img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease), filter .3s; }
  .video__play {
    position: absolute; inset: 0; display: grid; place-items: center; width: 100%;
    color: var(--cream); cursor: pointer;
  }
  .video__play svg { width: clamp(56px, 7vw, 75px); height: auto; aspect-ratio: 1; transition: scale .25s var(--ease); filter: drop-shadow(0 4px 18px rgb(0 0 0 / .3)); }
  .video__play:hover svg { scale: 1.08; }
  .video:hover img { scale: 1.02; }
  .video .badge--glass { position: absolute; top: 20px; right: 23px; z-index: 1; pointer-events: none; } /* top right: TED posters carry their title top left */
  .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
  .video-caption { margin-top: 22px; font-size: var(--fs-sub); line-height: 1.35; color: var(--navy); font-weight: 600; letter-spacing: -.008em; }

  /* Press logos */
  .logo-row {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: clamp(24px, 4vw, 52px) clamp(28px, 5vw, 64px); list-style: none; padding: 0;
    color: var(--text);
  }
  .logo-row img { height: auto; max-width: 100%; }

  /* Copy button (media kit) */
  .copy-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 16px;
    border-radius: 30px; border: 1px solid var(--line); background: var(--card-light);
    font-size: .9375rem; font-weight: 600; color: var(--navy);
    transition: background-color .2s, border-color .2s;
  }
  .copy-btn:hover { border-color: var(--gold-dark); }
  .copy-btn .icon { width: 16px; height: 16px; color: var(--gold-dark); }
  .copy-btn[data-copied] { background: var(--green); border-color: var(--green); color: var(--cream); }
  .copy-btn[data-copied] .icon { color: var(--cream); }

  /* Header ------------------------------------------------------------------ */
  .site-header {
    position: relative; z-index: 50;
    background: var(--navy); color: var(--nav);
  }
  .site-header__inner {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 103px; padding-block: 18px 21px;
  }
  .site-header .logo-link { display: block; color: var(--gold); flex: none; border-radius: 4px; }
  .site-header .logo { width: 101px; height: auto; }
  .nav { display: flex; align-items: center; gap: clamp(20px, 2.2vw, 35px); }
  .nav__list { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 28px); list-style: none; padding: 0; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 1rem; line-height: 2; color: var(--nav); text-decoration: none;
    padding-block: 4px; position: relative; white-space: nowrap;
  }
  .nav__link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
    background: var(--gold); scale: 0 1; transform-origin: left; transition: scale .25s var(--ease);
  }
  .nav__link:hover, .nav__link[aria-current="page"], [data-current] > .nav__link { color: var(--cream); }
  .nav__link:hover::after, .nav__link[aria-current="page"]::after, [data-current] > .nav__link::after { scale: 1 1; }
  .nav__link .icon { width: 9px; height: 6px; transition: rotate .2s; }
  .nav__item--dd { position: relative; }
  .nav__dd {
    position: absolute; top: calc(100% + 10px); right: -18px; min-width: 210px;
    list-style: none; padding: 10px; margin: 0;
    background: var(--cream); border-radius: var(--radius); box-shadow: 0 18px 50px rgb(0 0 0 / .28);
    opacity: 0; visibility: hidden; translate: 0 -6px;
    transition: opacity .18s, translate .18s var(--ease), visibility 0s .18s;
  }
  .nav__dd::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
  .nav__dd a {
    display: block; padding: 9px 14px; border-radius: 6px;
    font-size: 1rem; font-weight: 500; color: var(--navy); text-decoration: none; white-space: nowrap;
  }
  .nav__dd a:hover, .nav__dd a:focus-visible { background: var(--beige); }
  .nav__dd a[aria-current="page"] { background: var(--beige); font-weight: 600; }
  .nav__item--dd:hover .nav__dd,
  html:not(.js) .nav__item--dd:focus-within .nav__dd,
  .nav__item--dd [aria-expanded="true"] + .nav__dd {
    opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s;
  }
  .nav__item--dd [aria-expanded="true"] .icon, .nav__item--dd:hover .icon { rotate: 180deg; }
  .btn--contact { min-height: 42px; padding: 6px 26px; font-size: 1rem; }

  .menu-toggle {
    display: none; align-items: center; gap: 10px; min-height: 44px; padding: 6px 16px 6px 14px;
    border-radius: 30px; border: 1px solid rgb(252 250 237 / .35); color: var(--cream);
    font-size: 1rem; font-weight: 600;
  }
  .menu-toggle .icon { width: 22px; height: 22px; }

  /* Mobile menu (popover) */
  .mobile-menu {
    position: fixed; inset: 0 0 0 auto; margin: 0; width: min(420px, 100%); height: 100dvh; max-height: none;
    border: 0; padding: 22px var(--gutter) 40px; overflow-y: auto;
    background: var(--navy) var(--tex-speckle-dark) 0 0 / 240px; color: var(--cream);
    box-shadow: -20px 0 60px rgb(0 0 0 / .3);
    translate: 100% 0;
    transition: translate .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete;
  }
  .mobile-menu:popover-open { translate: 0 0; }
  @starting-style { .mobile-menu:popover-open { translate: 100% 0; } }
  .mobile-menu::backdrop { background: rgb(15 26 54 / .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .mobile-menu__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
  .mobile-menu__top .logo { width: 76px; color: var(--gold); }
  .mobile-menu__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(252 250 237 / .35); color: var(--cream); }
  .mobile-menu__close .icon { width: 22px; height: 22px; }
  .mobile-menu ul { list-style: none; padding: 0; }
  .mobile-menu__list > li { border-bottom: 1px solid rgb(252 250 237 / .12); }
  .mobile-menu__list a {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 2px;
    font-size: 1.25rem; font-weight: 600; color: var(--cream); text-decoration: none;
  }
  .mobile-menu__list a[aria-current="page"] { color: var(--gold); }
  .mobile-menu__list .sub a { font-size: 1.0625rem; font-weight: 500; padding: 9px 2px 9px 18px; color: var(--on-dark); }
  .mobile-menu__list .sub { padding-bottom: 10px; }
  .mobile-menu__list .icon { width: 16px; height: 16px; color: var(--gold); }
  .mobile-menu .btn { margin-top: 28px; width: 100%; }
  .mobile-menu .social { margin-top: 28px; justify-content: center; }

  @media (max-width: 1099px) {
    .site-header__inner { min-height: 76px; padding-block: 12px; }
    .site-header .logo { width: 76px; }
    .nav { display: none; }
    .menu-toggle { display: inline-flex; }
  }

  /* Footer ------------------------------------------------------------------ */
  .site-footer {
    --grid-ink: #fcfaed; --grid-opacity: .05;
    background: var(--navy); color: var(--on-dark-muted);
    padding-block: 77px 46px;
  }
  .site-footer__top {
    display: grid; gap: 40px 32px;
    grid-template-columns: 1fr;
    padding-bottom: 58px; border-bottom: 1px solid rgb(252 250 237 / .16);
  }
  .site-footer .monogram { width: 37px; height: auto; color: var(--gold); }
  .site-footer h2 {
    font-size: var(--fs-meta); line-height: 1.15; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 18px;
  }
  .site-footer ul { list-style: none; padding: 0; }
  .site-footer__top li a, .site-footer p { font-size: 1rem; line-height: 1.625; }
  .site-footer__top li a { color: var(--cream); text-decoration: none; }
  .site-footer__top li a:hover { text-decoration: underline; }
  .site-footer p { color: var(--on-dark-muted); max-width: 290px; }
  .site-footer p a { color: var(--cream); }
  .site-footer p + ul { margin-top: 12px; }
  .site-footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px;
    padding-top: 30px; font-size: 1rem; color: var(--on-dark-muted);
  }
  .site-footer__bottom a { color: var(--on-dark-muted); }
  .site-footer__bottom a:hover { color: var(--cream); }
  .site-footer__bottom .sep { margin-inline: 10px; opacity: .7; }
  .social { display: flex; gap: 8px; list-style: none; padding: 0; }
  .social a { display: block; color: var(--gold-dark); --glyph: var(--cream); border-radius: 50%; transition: color .2s, translate .2s var(--ease); }
  .social a:hover { color: var(--gold); translate: 0 -2px; }
  .social svg { width: 30px; height: 30px; }
  @media (min-width: 700px) {
    .site-footer__top { grid-template-columns: 1fr 1fr 1fr; }
    .site-footer__brand { grid-column: 1 / -1; }
  }
  @media (min-width: 1000px) {
    .site-footer__top { grid-template-columns: 376px 263px 278px 1fr; gap: 32px 0; }
    .site-footer__brand { grid-column: auto; }
  }
}

/* 7. Sections --------------------------------------------------------------- */
@layer sections {

  /* --- Shared hero frame ---------------------------------------------------- */
  .hero { position: relative; isolation: isolate; overflow: clip; color: var(--cream); background: #342e28; }
  .hero__bg { position: absolute; inset: 0; z-index: -1; }
  .hero__bg img { width: 100%; height: 100%; object-fit: cover; }
  .hero .lead { color: var(--cream); }
  .hero h1 { color: var(--cream-hi); }
  .hero .link-arrow { --link: var(--cream); --arrow: var(--gold); }

  /* --- Home: hero -------------------------------------------------------------- */
  .home-hero { min-height: 635px; }
  .home-hero .hero__bg img { object-position: 0 50%; }
  .home-hero__inner {
    display: grid; align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 313px) minmax(0, 521px);
    column-gap: 32px;
    padding-block: 93px 44px;
  }
  .home-hero__book { grid-column: 2; position: relative; margin-top: 44px; }
  .home-hero__book .eyebrow { position: absolute; top: -16px; left: 32px; white-space: nowrap; color: var(--cream); --eyebrow: var(--cream); }
  .home-hero__cover {
    position: relative; isolation: isolate;
    filter: drop-shadow(-14px 21px 15px rgb(0 0 0 / .31));
  }
  .home-hero__cover::before {
    content: ""; position: absolute; inset: 9% 2.5% 9.5% 11.5%; z-index: -1;
    border: 1px solid var(--gold); border-radius: var(--radius); translate: 4px 4px;
  }
  .home-hero__cover img { width: 100%; }
  .home-hero__content { grid-column: 3; }
  .home-hero__content h1 { max-width: 480px; }
  .home-hero__content .subtitle { margin-top: 56px; }
  .home-hero__content .lead { margin-top: 22px; max-width: 521px; }
  .home-hero__content .actions { margin-top: 44px; }
  .release-note { display: inline-flex; align-items: center; gap: 9px; font-size: var(--fs-meta); color: var(--cream); }

  @media (max-width: 1099px) {
    .home-hero__inner { grid-template-columns: minmax(0, .9fr) minmax(200px, 260px) minmax(0, 1.1fr); column-gap: 24px; }
  }
  @media (max-width: 899px) {
    .home-hero { min-height: 0; background: #2d2722; }
    .home-hero .hero__bg { position: relative; inset: auto; aspect-ratio: 4 / 3; max-height: 70vh; width: 100%; }
    .home-hero .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, #2d2722); }
    .home-hero .hero__bg img { object-position: 6% 30%; }
    .home-hero__inner { display: flex; flex-direction: column; padding-block: 0 56px; }
    .home-hero__book { margin-top: -96px; width: min(46%, 220px); position: relative; z-index: 1; align-self: flex-end; }
    .home-hero__book .eyebrow { display: none; }
    .home-hero__content { margin-top: 28px; }
    .home-hero__content::before {
      content: "Chip Conley’s new book"; display: block; font-size: var(--fs-meta); font-weight: 600; letter-spacing: .11em;
      text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
    }
    .home-hero__content .subtitle { margin-top: 26px; }
  }

  /* --- Home: about the book --------------------------------------------------- */
  .about-book { --grid-opacity: .065; padding-block: 130px 68px; z-index: 1; }
  .about-book__grid {
    display: grid; gap: 56px;
  }
  @media (min-width: 1000px) {
    .about-book__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 494px); gap: 0 44px; }
    .about-book__aside { margin-bottom: -95px; }
    .quote-card { margin-left: 22px; }
  }
  @media (min-width: 1300px) {
    .workbook-card { margin-right: -39px; }
  }
  .about-book .prose { max-width: 660px; margin-top: 30px; }
  .steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); max-width: 664px; margin-top: 52px; list-style: none; padding: 0; }
  .step { background: var(--card); border-radius: var(--radius-sm); padding: 21px 24px 24px; }
  .step__head { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
  .step__num {
    display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; flex: none;
    background: var(--step, var(--navy)); color: var(--cream); font-size: 1rem; font-weight: 600; line-height: 1;
  }
  .step__label { font-size: var(--fs-meta); font-weight: 600; letter-spacing: .11em; text-transform: uppercase; color: var(--navy); }
  .step p { font-size: 1rem; line-height: 1.44; }
  .about-book .actions { margin-top: 56px; }
  .about-book__aside { display: grid; gap: 50px; align-content: start; padding-top: 33px; }

  .quote-card {
    --corner-color: var(--gold);
    background: var(--navy); color: var(--cream); border-radius: var(--radius);
    padding: 50px 44px 56px; max-width: 442px; justify-self: start; width: 100%;
  }
  .quote-card .eyebrow { --eyebrow: var(--gold); margin-bottom: 0; }
  .quote-card .eyebrow::before { display: none; }
  .quote-card__mark { display: block; width: 25px; height: 21px; color: var(--gold); margin: 34px 0 20px; }
  .quote-card blockquote p { font-size: var(--fs-sub); line-height: 1.35; font-weight: 600; color: var(--cream); letter-spacing: -.008em; text-wrap: pretty; }
  .quote-card figcaption { display: flex; align-items: center; gap: 11px; margin-top: 26px; font-size: var(--fs-meta); color: var(--on-dark-muted); }
  .quote-card figcaption::before { content: ""; width: 27px; height: 2px; background: var(--gold); }

  .workbook-card {
    display: flex; gap: 25px; align-items: center;
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow-card); padding: 29px 30px 29px 43px;
  }
  .workbook-card img { width: 113px; flex: none; border-radius: var(--radius-sm); box-shadow: 0 14px 39px rgb(0 0 0 / .22); }
  .workbook-card .eyebrow { --eyebrow: var(--green); margin-bottom: 16px; }
  .workbook-card .eyebrow::before { display: none; }
  .workbook-card p { font-size: 1rem; line-height: 1.44; color: var(--navy); }
  @media (max-width: 999px) {
    .quote-card { justify-self: stretch; max-width: none; }
    .about-book__aside { padding-top: 0; gap: 32px; }
  }
  @media (max-width: 520px) {
    .workbook-card { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
    .quote-card { padding: 44px 32px 48px; }
  }

  /* --- Home: about Chip ---------------------------------------------------- */
  .about-chip { padding-block: 77px 100px; }
  .about-chip__grid { display: grid; gap: 64px; align-items: start; }
  @media (min-width: 900px) {
    .about-chip__grid { grid-template-columns: minmax(0, 466px) minmax(0, 640px); justify-content: space-between; gap: 72px; }
  }
  .about-chip__photo img { aspect-ratio: 466 / 570; object-fit: cover; object-position: 50% 30%; }
  /* Stacked on tablets, a full-width portrait would fill the screen */
  @media (max-width: 899px) { .about-chip__photo, .reframe-intro__photo { max-width: 520px; } }
  .about-chip .prose { margin-top: 36px; }
  .about-chip .tags { margin-top: 30px; }
  .about-chip .actions { margin-top: 40px; gap: 18px 30px; }

  /* --- Home: speaking ---------------------------------------------------------- */
  .home-speaking { padding-block: 59px 90px; }
  .home-speaking__grid { display: grid; gap: 64px; align-items: start; }
  @media (min-width: 900px) {
    .home-speaking__grid { grid-template-columns: minmax(0, 543px) minmax(0, 598px); justify-content: space-between; gap: 48px; }
  }
  .home-speaking .prose { margin-top: 30px; max-width: 540px; }
  .home-speaking .actions { margin-top: 40px; }
  .home-speaking__video { padding-top: 58px; }

  /* --- Home: podcast + Wisdom Well ----------------------------------------- */
  .listen-read { --grid-opacity: .08; padding-block: 107px 96px; }
  .listen-read__grid { display: grid; gap: 32px 48px; }
  @media (min-width: 1000px) { .listen-read__grid { grid-template-columns: 1fr 1fr; } }
  .feed-card { display: flex; flex-direction: column; padding: 43px 37px 37px; }
  .feed-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; }
  .feed-card__intro { margin-top: 16px; margin-bottom: 26px; max-width: 483px; }
  .feed-card .media-list, .feed-card .post-list { border-bottom: 0; }
  .feed-card .media-item:first-child, .feed-card .post-item:first-child { border-top: 1px solid var(--line); }
  .email-card { margin-top: auto; padding: 26px 25px 34px 28px; }
  .feed-card .post-list { margin-bottom: 40px; }
  .email-card .eyebrow { margin-bottom: 10px; }
  .email-card .eyebrow::before { display: none; }
  .email-card h3 { font-size: 1.625rem; line-height: 1; margin-bottom: 20px; }
  @media (max-width: 520px) { .feed-card { padding: 32px 22px 26px; } }

  /* --- Home: MEA + workshops ------------------------------------------------ */
  .mea-workshops { padding-block: 93px 96px; }
  .mea-card {
    display: grid; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-photo);
    background: var(--navy) var(--tex-speckle-dark) 0 0 / 240px;
  }
  @media (min-width: 900px) { .mea-card { grid-template-columns: minmax(0, 696px) minmax(0, 504px); min-height: 537px; } }
  .mea-card__photo { position: relative; min-height: 280px; }
  .mea-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .mea-card__body { padding: 38px clamp(24px, 4vw, 50px) 50px; align-self: center; }
  .mea-card__body .h2-sm { margin-bottom: 30px; }
  .mea-card__body p { color: var(--on-dark-muted); max-width: 406px; }
  .mea-card__body .actions { margin-top: 34px; }
  .workshops-head { margin-top: clamp(64px, 6vw, 75px); }
  .workshops-head h2 { max-width: 520px; }
  .workshops-head p { max-width: 600px; margin-top: 30px; }

  /* --- Home: books row ------------------------------------------------------ */
  .books-strip { --grid-opacity: .045; padding-block: 42px 70px; }
  .books-strip .section-head { align-items: center; margin-bottom: 18px; }
  .book-row {
    list-style: none; padding: 13px 0 0; margin: 0;
    display: grid; gap: 24px; grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .book-row a { display: block; text-decoration: none; color: var(--navy); }
  .book-row .cover { transition: translate .3s var(--ease), box-shadow .3s; }
  .book-row a:hover .cover { translate: 0 -4px; box-shadow: -7px 34px 50px rgb(0 0 0 / .18); }
  .book-row cite { display: block; margin-top: 18px; font-size: 1rem; line-height: 1.25; }
  .book-row .badge { margin-top: 13px; }
  @media (max-width: 999px) {
    .book-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 150px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .book-row li { scroll-snap-align: start; }
  }

  /* --- Home: press logos ---------------------------------------------------- */
  .press-strip { padding-block: 64px 44px; }
  .press-strip .eyebrow { margin-bottom: 35px; }

  /* --- ChipGPT teaser card ------------------------------------------------- */
  .gpt-teaser { padding-block: 44px 104px; }
  .gpt-card {
    --corner-color: var(--gold);
    display: grid; gap: 32px; align-items: start;
    max-width: 773px; margin-inline: auto;
    padding: 60px clamp(24px, 6vw, 70px) 56px clamp(24px, 9.5vw, 74px);
    border-radius: var(--radius-sm); color: var(--on-dark-muted);
    background: var(--navy-900);
    position: relative; isolation: isolate;
  }
  .gpt-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .28; border-radius: inherit; }
  @media (min-width: 700px) { .gpt-card { grid-template-columns: 165px 1fr; gap: 75px; } }
  .gpt-card__avatar { display: grid; justify-items: center; text-align: center; }
  .gpt-card__avatar img { width: 165px; height: 165px; border-radius: 50%; object-fit: cover; box-shadow: -7px 19px 46px rgb(0 0 0 / .13); }
  .ai-pill { margin-top: -18px; position: relative; z-index: 1; min-height: 32px; padding-inline: 12px 14px; gap: 7px; }
  .ai-pill .dot { width: 9px; height: 9px; }
  .gpt-card__note { margin-top: 15px; font-size: .9375rem; line-height: 1.27; color: rgb(252 250 237 / .66); max-width: 149px; }
  .gpt-card h2 { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); line-height: 1.39; color: var(--cream); }
  .gpt-card__text { font-size: 1rem; line-height: 1.56; margin-top: 8px; max-width: 405px; }
  .gpt-card__ask { font-size: var(--fs-meta); font-weight: 600; color: var(--cream); margin-top: 24px; margin-bottom: 12px; }
  .chips { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; list-style: none; padding: 0; }
  .chip {
    display: inline-flex; align-items: center; min-height: 33px; padding: 4px 16px; border-radius: 30px;
    background: var(--navy-800); border: 1px solid rgb(187 200 227 / .47); color: var(--chip-ink);
    font-size: var(--fs-meta); line-height: 1.3; text-decoration: none; transition: border-color .2s, color .2s, background-color .2s;
  }
  .chip:hover { border-color: var(--chip-ink); color: #fff; background: #1d2d57; text-decoration: none; }

  /* --- Newsletter ------------------------------------------------------------ */
  .newsletter { padding-block: 110px 104px; }
  .newsletter__grid { display: grid; gap: 56px; align-items: center; }
  @media (min-width: 900px) { .newsletter__grid { grid-template-columns: minmax(0, 471px) minmax(0, 597px); justify-content: space-between; gap: 54px; } }
  .newsletter__photo img { aspect-ratio: 471 / 279; object-fit: cover; object-position: 50% 30%; }
  .newsletter h2 { font-size: var(--fs-h4); line-height: 1.11; }
  .newsletter p { font-size: 1rem; line-height: 1.44; color: var(--navy); margin-top: 18px; }
  .newsletter .inline-form { margin-top: 27px; }
  .newsletter .field[name="firstname"] { flex-basis: 200px; max-width: 236px; }
  .newsletter .field[name="email"] { flex-basis: 180px; }
  @media (max-width: 600px) { .newsletter .field[name="firstname"] { max-width: none; } }
}

/* 8. Utilities -------------------------------------------------------------- */
@layer utilities {
  .visually-hidden {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  .nowrap { white-space: nowrap; }
  .mt-0 { margin-top: 0 !important; }
  [hidden] { display: none !important; }
}

/* View transitions between pages (supporting browsers only) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ---------------------------------------------------------------------------
   Page sections: The Art of the Reframe
   ------------------------------------------------------------------------- */
@layer sections {
  .bg-white { background-color: #fff; }

  /* Gold rule that runs in from the left edge of the screen to a heading */
  .marker { position: relative; }
  .marker::before {
    content: ""; position: absolute; top: .58em; right: calc(100% + 40px);
    width: 50vw; height: 2px; background: var(--gold-dark);
  }
  @media (max-width: 1099px) { .marker::before { display: none; } }
  .rule-below::after { content: ""; display: block; width: 83px; height: 2px; background: var(--gold); margin: 26px auto 0; }
  .subtitle--blue { color: var(--blue); }

  .reframe-hero { --grid-opacity: .065; overflow: clip; padding-block: 91px 85px; }
  .reframe-hero__grid { display: grid; gap: 48px; align-items: center; }
  @media (min-width: 900px) { .reframe-hero__grid { grid-template-columns: minmax(0, 691px) minmax(0, 409px); justify-content: space-between; } }
  .reframe-hero .eyebrow { margin-bottom: 18px; }
  .reframe-hero h1 { color: var(--navy); max-width: 690px; text-wrap: balance; }
  .reframe-hero .subtitle { margin-top: 30px; }
  .reframe-hero__text { margin-top: 12px; max-width: 418px; }
  .reframe-hero .actions { margin-top: 30px; }

  /* Book cover with two offset gold outlines */
  .book-3d { position: relative; isolation: isolate; max-width: 409px; width: 100%; justify-self: center; }
  .book-3d::before, .book-3d::after {
    content: ""; position: absolute; z-index: -1; border: 1px solid var(--gold); border-radius: var(--radius);
  }
  .book-3d::before { inset: 9.4% 3.2% 11% 13.9%; }
  .book-3d::after { inset: 9.5% 11.5% 8.5% 4.4%; }
  .book-3d img { width: 100%; filter: drop-shadow(-11px 16px 29px rgb(0 0 0 / .25)); }
  @media (max-width: 899px) { .book-3d { max-width: 300px; } }

  .reframe-intro { padding-block: 97px 88px; }
  .reframe-intro__grid { display: grid; gap: 56px; align-items: start; }
  @media (min-width: 900px) { .reframe-intro__grid { grid-template-columns: minmax(0, 732px) minmax(0, 359px); justify-content: space-between; } }
  .reframe-intro h2 { margin-top: 31px; max-width: 669px; }
  .reframe-intro .prose { margin-top: 36px; max-width: 729px; }
  .reframe-intro__photo img { aspect-ratio: 359 / 440; object-fit: cover; }

  .why-book { padding-block: 118px 100px; }
  .why-book h2 { margin-bottom: 58px; }
  .why-book__media { max-width: 873px; margin-inline: auto; }
  .why-book__media img { aspect-ratio: 873 / 491; object-fit: cover; border-radius: var(--radius-lg); }
  .why-book__media .video { border-radius: var(--radius-lg); }
  .why-book__media::before { border-radius: 22px; }

  .reframe-steps { padding-block: 115px 0; }
  .reframe-steps__intro { display: grid; gap: 48px; align-items: start; }
  @media (min-width: 900px) { .reframe-steps__intro { grid-template-columns: minmax(0, 792px) minmax(0, 295px); justify-content: space-between; } }
  .reframe-steps h2 { margin-top: 25px; }
  .reframe-steps .prose { margin-top: 22px; }
  .reframe-steps__photo img { aspect-ratio: 295 / 252; object-fit: cover; }
  .big-steps { list-style: none; padding: 0; margin-top: 62px; display: grid; gap: 24px 26px; }
  .big-step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 21px; align-items: start; }
  .big-step__num {
    display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; margin-top: 6px;
    background: var(--step, var(--navy)); color: var(--cream); font-size: 1.5rem; font-weight: 600; line-height: 1;
  }
  .big-step__card {
    background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 9px 47px rgb(0 0 0 / .04); padding: 24px 30px 28px 33px; min-height: 173px; align-self: stretch;
  }
  .big-step__card h3 { font-size: 1.75rem; line-height: 1.25; }
  .big-step__card p { font-size: 1rem; line-height: 1.44; margin-top: 14px; max-width: 228px; }
  /* Three across from tablet width; until there's room beside each card, the number sits above it */
  @media (min-width: 760px) { .big-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  @media (min-width: 760px) and (max-width: 1099px) {
    .big-step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 14px; }
    .big-step__card { padding: 22px 24px 26px; }
  }
  @media (max-width: 759px) {
    .big-step__card { min-height: 0; padding: 20px 24px 24px; }
    .big-step__card p { max-width: 40ch; }
  }
  @media (max-width: 400px) { .big-step { gap: 14px; } .big-step__card h3 { font-size: 1.5rem; } }

  .bonus-card {
    position: relative; z-index: 1; isolation: isolate;
    display: grid; gap: 24px 40px; align-items: center;
    max-width: 974px; margin: 60px auto -120px; padding: 46px clamp(24px, 5vw, 53px);
    background: var(--navy) var(--tex-speckle-dark) 0 0 / 240px; border-radius: var(--radius-sm);
    box-shadow: 0 13px 43px rgb(0 0 0 / .17);
  }
  @media (min-width: 800px) { .bonus-card { grid-template-columns: 113px minmax(0, 1fr) auto; } }
  .bonus-card img { width: 113px; border-radius: var(--radius-sm); box-shadow: 0 14px 39px rgb(0 0 0 / .22); }
  .bonus-card .eyebrow { margin-bottom: 14px; }
  .bonus-card__text p:last-child { font-size: 1rem; line-height: 1.44; max-width: 494px; }

  .chapters { padding-block: 200px 72px; }
  .chapters__head { display: grid; gap: 24px 40px; align-items: start; margin-bottom: 72px; }
  @media (min-width: 900px) { .chapters__head { grid-template-columns: minmax(0, 538px) minmax(0, 494px); } }
  .chapters__head p { margin-top: 6px; }
  .chapter-grid {
    list-style: none; padding: 0; display: grid; gap: 48px 29px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr));
  }
  @media (min-width: 1100px) { .chapter-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
  .chapter-grid img { width: 100%; aspect-ratio: 175 / 263; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-photo); }
  .chapter-grid p { font-size: 1rem; line-height: 1.25; color: var(--navy); margin-top: 18px; }

  .praise { padding-block: 67px 96px; }
  .praise__lead { margin-top: 40px; max-width: 1060px; }
  .praise__mark { width: 36px; height: 30px; color: var(--gold-dark); margin-bottom: 26px; }
  .praise__lead blockquote p { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.22; font-weight: 600; color: var(--navy); letter-spacing: -.012em; }
  .praise__lead figcaption { display: flex; align-items: center; gap: 11px; margin-top: 28px; font-size: var(--fs-meta); color: var(--navy); }
  .praise__lead figcaption::before { content: ""; width: 27px; height: 2px; background: var(--gold-dark); }
  .praise-grid { list-style: none; padding: 0; margin-top: 64px; columns: 4 240px; column-gap: 16px; }
  .praise-grid li { break-inside: avoid; margin-bottom: 19px; }
  .praise-card {
    --corner-inset: 16px auto auto 13px; --corner-color: var(--gold-dark);
    position: relative; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 42px 30px 30px 36px;
  }
  .praise-card::after {
    content: ""; position: absolute; top: 16px; left: 13px; width: 16px; height: 16px;
    border-top: 1px solid var(--gold-dark); border-left: 1px solid var(--gold-dark);
  }
  .praise-card blockquote p { font-size: 1.125rem; line-height: 1.44; font-weight: 600; color: var(--navy); letter-spacing: -.005em; }
  .praise-card figcaption { margin-top: 20px; font-size: var(--fs-meta); line-height: 1.36; color: var(--muted); }
  .praise-card figcaption strong { display: block; color: var(--navy); margin-bottom: 4px; }

  .author { padding-block: 97px 60px; }
  .author__grid { display: grid; gap: 48px 52px; align-items: start; }
  @media (min-width: 1000px) { .author__grid { grid-template-columns: 330px minmax(0, 470px) minmax(0, 292px); justify-content: space-between; } }
  @media (min-width: 700px) and (max-width: 999px) { .author__grid { grid-template-columns: 260px minmax(0, 1fr); } .book-details { grid-column: 1 / -1; } }
  .author__photo img { aspect-ratio: 330 / 397; object-fit: cover; }
  .author__bio .prose { margin-top: 22px; max-width: 470px; }
  .author__bio .link-arrow { margin-top: 30px; }
  .book-details { padding-top: 10px; }
  .book-details .eyebrow { margin-bottom: 22px; }
  .book-details dl > div { display: grid; grid-template-columns: 116px 1fr; gap: 12px; padding-block: 12px 13px; border-top: 1px solid var(--line); font-size: var(--fs-meta); }
  .book-details dl > div:last-child { border-bottom: 1px solid var(--line); }
  .book-details dt { font-weight: 600; color: var(--navy); }
  .book-details dd { margin: 0; font-style: italic; color: var(--muted); }

  .cta-book { background: var(--navy-900); position: relative; isolation: isolate; padding-block: 96px; }
  .cta-book::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .53; }
  .cta-book__inner { display: grid; gap: 36px; align-items: center; justify-content: center; }
  @media (min-width: 700px) { .cta-book__inner { grid-template-columns: 195px minmax(0, auto); gap: 31px; } }
  .cta-book__cover { position: relative; display: block; width: 195px; isolation: isolate; }
  .cta-book__cover::before, .cta-book__cover::after { content: ""; position: absolute; z-index: -1; border: 1px solid var(--gold); border-radius: var(--radius); }
  .cta-book__cover::before { inset: 9% 3.1% 10.6% 13.8%; }
  .cta-book__cover::after { inset: 9% 11.8% 8.4% 4.6%; }
  .cta-book__cover img { width: 100%; filter: drop-shadow(-11px 16px 29px rgb(0 0 0 / .25)); }
  .cta-book__title { font-size: clamp(2.25rem, 1.8rem + 1.9vw, 3.125rem); line-height: 1.28; color: var(--cream-hi) !important; }
  .cta-book__sub { font-size: var(--fs-sub); line-height: 1.35; color: var(--on-dark-muted); margin-top: 6px; }
  .cta-book .actions { margin-top: 30px; }
}

/* Inner pages ---------------------------------------------------------------- */
@layer sections {

  /* --- Photo heroes on inner pages (Books, Chip's story, Speaking, Contact) ----------
     The photo fills the hero on wide screens; on phones it becomes a banner above the text. */
  .page-hero { --hero-bg: var(--navy-900); background: var(--hero-bg); }
  .page-hero .hero__bg img { object-position: var(--hero-pos, 50% 50%); }
  .page-hero__inner { display: flex; align-items: center; min-height: var(--hero-h, 487px); padding-block: 72px; }
  .page-hero--end .page-hero__inner { justify-content: flex-end; }
  .page-hero__content { width: 100%; max-width: 646px; }
  .page-hero .eyebrow { --eyebrow: var(--gold); margin-bottom: 30px; }
  .page-hero .lead { margin-top: 24px; max-width: 560px; }
  @media (max-width: 899px) {
    .page-hero .hero__bg { position: relative; inset: auto; aspect-ratio: 16 / 10; max-height: 62vh; width: 100%; }
    .page-hero .hero__bg img { object-position: var(--hero-pos-sm, var(--hero-pos, 50% 50%)); }
    .page-hero .hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, var(--hero-bg)); }
    .page-hero__inner { min-height: 0; padding-block: 0 60px; }
    .page-hero .eyebrow { margin-bottom: 20px; }
  }

  /* --- Books ---------------------------------------------------------------------- */
  .books-new { padding-top: 98px; }
  /* Navy card that features a book (Books page, Speaking page keynote) */
  .book-feature {
    --book-w: 282px; --book-gap: clamp(40px, 6vw, 83px);
    position: relative; isolation: isolate; display: grid; gap: 36px; align-items: center;
    padding: 47px 60px 50px 99px; border-radius: var(--radius-lg);
    background: var(--navy); box-shadow: 0 5px 37px rgb(0 0 0 / .25);
  }
  .book-feature::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: var(--tex-speckle) 0 0 / 300px; opacity: .53;
  }
  @media (min-width: 900px) { .book-feature { grid-template-columns: var(--book-w) minmax(0, 1fr); column-gap: var(--book-gap); } }
  .book-feature__cover .book-3d { display: block; max-width: var(--book-w); }
  .book-feature__cover .release-note { margin: -8px 0 0 10%; color: var(--gold); }
  .book-feature__title { font-size: clamp(2.25rem, 1.8rem + 1.9vw, 3.125rem); line-height: 1.28; color: #f8f5eb !important; }
  .book-feature__sub { font-size: 1.375rem; line-height: 1.6; color: var(--on-dark-muted); }
  .book-feature__text { margin-top: 26px; max-width: 752px; font-size: var(--fs-lead); line-height: 1.65; color: var(--cream); }
  .book-feature .actions { margin-top: 36px; }
  .book-feature .eyebrow { margin-bottom: 8px; }
  .book-feature--keynote { --book-w: 236px; --book-gap: clamp(36px, 4.5vw, 56px); padding: 42px 60px 42px 71px; }
  .book-feature--keynote .book-feature__text { margin-top: 13px; }
  @media (max-width: 1099px) { .book-feature { padding-left: 60px; } }
  @media (max-width: 899px) {
    .book-feature, .book-feature--keynote { padding: 52px 28px 48px; }
    .book-feature__cover { width: min(72%, 250px); justify-self: center; }
  }

  .books-group { padding-block: 83px 100px; }
  .books-group--earlier { padding-block: 81px 80px; }
  .books-group .h2 { margin-bottom: 30px; }
  .book-list { list-style: none; margin: 0; padding: 0; }
  .book-entry {
    display: grid; grid-template-columns: 207px 220px minmax(0, 1fr); align-items: start;
    padding-block: 52px 53px; border-top: 1px solid var(--line);
    scroll-margin-top: 16px;
  }
  .book-entry__year { margin-top: 10px; font-size: var(--fs-h2); line-height: 1.09; font-weight: 600; color: var(--gold-dark); letter-spacing: -.01em; }
  .book-entry__cover { display: block; width: 208px; --frame-inset: 16px -12px -11px 19px; }
  .book-entry__cover::before { border-radius: var(--radius); }
  .book-entry__cover img { aspect-ratio: 208 / 311; object-fit: cover; border-radius: var(--radius-sm); }
  .book-entry__body { padding-left: 50px; max-width: 753px; }
  .book-entry__title { font-size: var(--fs-h3); line-height: 1.15; }
  .book-entry__sub { margin-top: 6px; font-size: 1rem; line-height: 1.2; font-weight: 600; color: var(--navy); }
  .book-entry__text { margin-top: 20px; max-width: 662px; font-size: var(--fs-body); line-height: 1.61; }
  .book-quote { position: relative; margin: 32px 0 0; padding-left: 70px; max-width: 703px; }
  .book-quote__mark { position: absolute; left: 30px; top: 3px; width: 19px; height: 16px; color: var(--gold-dark); }
  .book-quote blockquote { margin: 0; }
  .book-quote blockquote p { font-size: 1.0625rem; line-height: 1.41; font-weight: 600; font-style: italic; color: var(--navy); text-wrap: pretty; }
  .book-quote blockquote cite { font-style: normal; }
  .book-quote figcaption { margin-top: 7px; font-size: var(--fs-meta); line-height: 1.36; color: var(--muted); }
  .book-entry__link { margin-top: 32px; --arrow: var(--navy); }

  @media (max-width: 999px) {
    .book-entry { grid-template-columns: 180px minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 44px; }
    .book-entry__year { grid-area: 1 / 2; margin: 0 0 8px; font-size: 1.75rem; }
    .book-entry__cover { grid-area: 1 / 1 / 3 / 2; width: 168px; }
    .book-entry__body { grid-area: 2 / 2; padding: 0; }
  }
  @media (max-width: 699px) {
    .book-entry { grid-template-columns: 110px minmax(0, 1fr); grid-template-rows: auto auto auto 1fr; column-gap: 26px; padding-block: 40px 44px; }
    .book-entry__cover { grid-area: 1 / 1 / 5 / 2; width: 110px; --frame-inset: 9px -7px -7px 11px; }
    .book-entry__year { grid-area: 1 / 2; margin: 2px 0 6px; font-size: 1.5rem; }
    .book-entry__body { display: contents; }
    .book-entry__title { grid-area: 2 / 2; }
    .book-entry__sub { grid-area: 3 / 2; font-size: .9375rem; }
    .book-entry__text, .book-quote, .book-entry__link { grid-column: 1 / -1; justify-self: start; }
    .book-entry__text { margin-top: 26px; }
    .book-quote { margin-top: 24px; padding-left: 34px; }
    .book-quote__mark { left: 0; }
    .book-entry__link { margin-top: 24px; }
  }
}

@layer components {
  /* Video pop-up: links with data-embed open the video here (see site.js) */
  .lightbox {
    width: min(1120px, 100% - 32px); max-width: none; max-height: none; margin: auto;
    padding: 0; border: 0; background: transparent; overflow: visible;
  }
  .lightbox::backdrop { background: rgb(15 26 54 / .88); }
  .lightbox__frame { aspect-ratio: 16 / 9; max-height: calc(100dvh - 120px); margin-inline: auto; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: 0 20px 60px rgb(0 0 0 / .45); }
  .lightbox__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
  .lightbox__close {
    position: absolute; right: 0; bottom: calc(100% + 12px); display: grid; place-items: center;
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
    color: var(--navy); background: var(--cream);
  }
  .lightbox__close svg { width: 18px; height: 18px; }
  .lightbox[open], .lightbox[open]::backdrop { transition: opacity .25s, display .25s allow-discrete, overlay .25s allow-discrete; }
  @starting-style { .lightbox[open], .lightbox[open]::backdrop { opacity: 0; } }

  /* Video/podcast cards with a thumbnail and play button */
  .talk-grid { display: grid; gap: 40px 25px; list-style: none; padding: 0; }
  .talk-grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 236px), 1fr)); }
  .talk-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 38px 34px; }
  .talk-card__thumb {
    position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden;
    background: #261c19; box-shadow: var(--shadow-photo);
  }
  .talk-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: scale .5s var(--ease); }
  .talk-card__thumb:hover img { scale: 1.03; }
  .talk-card__thumb .badge--glass { position: absolute; top: 16px; left: 17px; }
  .talk-card .play-badge { width: 48px; height: 48px; transition: scale .25s var(--ease); }
  .talk-card .play-badge--lg { width: 64px; height: 64px; }
  .talk-card__thumb:hover .play-badge { scale: 1.08; }
  .talk-card__meta { margin-top: 14px; font-size: var(--fs-meta); line-height: 1.36; font-weight: 600; color: var(--muted); }
  .talk-card__title { margin-top: 12px; font-size: 1.3125rem; line-height: 1.29; letter-spacing: -.008em; text-wrap: pretty; }
  .talk-card__title a { text-decoration: none; }
  .talk-card__title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

  /* List with short gold dashes */
  .dash-list { list-style: none; padding: 0; display: grid; gap: 22px; }
  .dash-list li { position: relative; padding-left: 23px; font-size: 1rem; line-height: 1.375; font-weight: 600; color: var(--navy); }
  .dash-list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 11px; height: 2px; background: var(--gold-dark); }
}

@layer sections {
  /* --- Speaking ---------------------------------------------------------------- */
  .page-hero .lead + .lead { margin-top: 1em; }
  .page-speaking .page-hero .lead + .lead { margin-top: 1.65em; }
  .page-hero .actions { margin-top: 44px; }
  .page-speaking .page-hero__content { max-width: 700px; }
  .page-speaking .page-hero .lead { max-width: 555px; }

  .spoken-at { padding-block: 68px 92px; }
  .spoken-at .eyebrow { margin-bottom: 52px; }
  .logo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 18px 19px; list-style: none; padding: 0; }
  .logo-grid li { display: grid; place-items: center; min-height: 97px; padding: 12px; background: var(--card); border-radius: var(--radius-sm); }
  .logo-grid img { max-width: 100%; height: auto; }
  @media (max-width: 999px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
  @media (max-width: 599px) { .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .logo-grid li { min-height: 80px; } }

  .topics { padding-block: 82px 76px; }
  .topics .book-feature { margin-top: 54px; }
  .topic-columns { display: grid; margin-top: 57px; }
  .topic-columns .eyebrow { margin-bottom: 44px; }
  @media (min-width: 900px) {
    .topic-columns { grid-template-columns: 374fr 406fr 420fr; }
    .topic-columns > section { padding: 0 24px 0 30px; }
    .topic-columns > section:first-child { padding-left: 30px; }
    .topic-columns > section + section { border-left: 1px solid var(--line); padding-left: 51px; }
  }
  @media (max-width: 899px) {
    .topic-columns { gap: 0; }
    .topic-columns > section { padding-block: 30px; }
    .topic-columns > section + section { border-top: 1px solid var(--line); }
    .topic-columns .eyebrow { margin-bottom: 22px; }
  }

  .talks { --grid-opacity: .08; padding-block: 109px 118px; }
  .talks .h2 { margin-bottom: 39px; }
  .talks .talks__podcasts { margin: 80px 0 40px; }

  .big-quote { padding-block: 111px 133px; }
  .big-quote__inner { max-width: calc(858px + 2 * var(--gutter)); }
  .big-quote__mark { display: block; width: 38px; height: 32px; color: var(--gold-dark); margin-bottom: 22px; }
  .big-quote blockquote { margin: 0; }
  .big-quote blockquote p { max-width: 800px; font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.225; font-weight: 600; color: var(--navy); letter-spacing: -.01em; text-wrap: pretty; }
  .big-quote figcaption { display: flex; align-items: center; gap: 11px; margin-top: 34px; font-size: var(--fs-meta); color: var(--navy); }
  .big-quote figcaption::before { content: ""; width: 27px; height: 2px; background: var(--gold-dark); flex: none; }

  /* Navy band with a round photo, a heading and buttons */
  .cta-band { position: relative; isolation: isolate; background: var(--navy-900); padding-block: 58px; }
  .cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .53; }
  .cta-band__inner { display: grid; gap: 28px 31px; align-items: center; }
  @media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 153px minmax(0, 1fr) auto; } }
  @media (min-width: 640px) and (max-width: 999px) { .cta-band__inner { grid-template-columns: 120px minmax(0, 1fr); } .cta-band .actions { grid-column: 2; } }
  .cta-band__avatar { width: clamp(110px, 12vw, 153px); aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: -7px 19px 46px rgb(0 0 0 / .13); }
  .cta-band__title { font-size: clamp(2.25rem, 1.8rem + 1.9vw, 3.125rem); line-height: 1.28; color: #f8f5eb !important; }
  .cta-band__text p { margin-top: 6px; max-width: 570px; font-size: var(--fs-body); line-height: 1.61; color: var(--on-dark-muted); }
}

@layer components {
  /* Small caps label (e.g. "Listen on") */
  .label-caps { font-size: .8125rem; line-height: 1.2; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
  .on-dark .label-caps { color: var(--gold); }

  /* Pill links (podcast platforms) */
  .pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
  .pill {
    display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px;
    font-size: .9375rem; line-height: 1.3; font-weight: 600; text-decoration: none; white-space: nowrap;
    color: var(--cream); border: 1.5px solid rgb(252 250 237 / .5);
    transition: background-color .2s, border-color .2s, color .2s;
  }
  .pill:hover { background: rgb(252 250 237 / .1); border-color: var(--cream); text-decoration: none; }
  .pills--solid .pill { background: var(--navy); border-color: var(--navy); }
  .pills--solid .pill:hover { background: var(--navy-800); border-color: var(--navy-800); }
}

@layer sections {
  /* --- Podcast ------------------------------------------------------------------- */
  .podcast-hero { position: relative; isolation: isolate; background: var(--navy-900); padding-block: 104px 112px; }
  .podcast-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .5; }
  .podcast-hero__grid { display: grid; gap: 56px; align-items: center; }
  @media (min-width: 900px) { .podcast-hero__grid { grid-template-columns: minmax(0, 420px) minmax(0, 647px); justify-content: space-between; column-gap: 64px; } }
  .podcast-hero__art { position: relative; isolation: isolate; width: min(100%, 420px); margin-right: 22px; }
  .podcast-hero__art::before {
    content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
    border: 1.5px solid var(--gold); border-radius: 10px;
  }
  .podcast-hero__art img { width: 100%; border-radius: var(--radius); box-shadow: 0 30px 60px rgb(0 0 0 / .4); }
  .podcast-hero .eyebrow { margin-bottom: 26px; }
  .podcast-hero h1 { color: #f8f5eb; max-width: 600px; }
  .podcast-hero .lead { margin-top: 26px; color: var(--on-dark); }
  .podcast-hero .label-caps { margin-top: 34px; }
  .podcast-hero .pills { margin-top: 14px; }
  @media (max-width: 899px) {
    .podcast-hero { padding-block: 64px 72px; }
    .podcast-hero__art { width: min(78%, 360px); }
  }

  .podcast-latest { --grid-opacity: .05; padding-block: 120px; }
  .podcast-latest__head { margin-bottom: 52px; align-items: center; }
  .podcast-latest .episode-card__thumb { box-shadow: 0 18px 40px rgb(31 46 87 / .16); }

  .subscribe-band { padding-block: 104px; }
  .subscribe-band .rule-below::after { width: 64px; background: var(--gold-dark); margin-top: 22px; }
  .subscribe-band__text { max-width: 560px; margin: 20px auto 0; font-size: var(--fs-body); line-height: 1.61; }
  .subscribe-band .pills { justify-content: center; margin-top: 30px; }
}

@layer sections {
  /* --- Chip's story (About) ------------------------------------------------------------ */
  .story-hero__content { max-width: 620px; }
  .story-hero__content .eyebrow { margin-bottom: 26px; }
  .story-hero__content .lead { color: var(--on-dark); max-width: 620px; }
  .story-hero__content .lead:first-of-type { margin-top: 28px; }

  .story-chapters { padding-block: 120px; }
  .timeline { list-style: none; padding: 0; margin-top: 48px; border-bottom: 1px solid rgb(85 76 66 / .18); }
  .timeline__item {
    display: grid; grid-template-columns: 190px minmax(0, 780px); gap: 8px 40px;
    padding-block: 34px; border-top: 1px solid rgb(85 76 66 / .18);
  }
  .timeline__year { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); line-height: 1.06; font-weight: 600; color: var(--gold-dark); letter-spacing: -.01em; }
  .timeline__title { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.008em; }
  .timeline__item p:not(.timeline__year) { margin-top: 10px; font-size: 1.09375rem; line-height: 1.66; }
  .timeline__item a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
  @media (max-width: 699px) {
    .timeline__item { grid-template-columns: minmax(0, 1fr); padding-block: 28px; }
  }

  .mission { position: relative; isolation: isolate; padding-block: 120px; background: #3b2f2a; }
  .mission__bg { position: absolute; inset: 0; z-index: -1; }
  .mission__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
  .mission__card {
    max-width: 580px; padding: 56px; border-radius: var(--radius); background: var(--cream);
    box-shadow: 0 24px 56px rgb(20 28 56 / .28);
  }
  .mission__title { font-size: clamp(2rem, 1.7rem + 1.2vw, 2.625rem); line-height: 1.1; letter-spacing: -.012em; }
  .mission__body { margin-top: 22px; display: grid; gap: 16px; font-size: 1.0625rem; line-height: 1.65; }
  .stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; margin-top: 28px; padding-top: 24px; border-top: 1px solid rgb(85 76 66 / .18); }
  .stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; }
  .stats dd { margin: 0; font-size: 1.875rem; line-height: 1.07; font-weight: 600; color: var(--gold-dark); letter-spacing: -.01em; }
  .stats dt { font-size: .90625rem; line-height: 1.45; }
  @media (max-width: 899px) {
    .mission { padding-block: 0 64px; background: var(--cream); }
    .mission__bg { position: relative; inset: auto; aspect-ratio: 4 / 3; max-height: 70vh; }
    .mission__card { position: relative; margin-top: -88px; padding: 44px 28px; }
  }
  @media (max-width: 479px) { .stats { grid-template-columns: minmax(0, 1fr); } }

  .story-workshops { padding-block: 120px; }
  .story-workshops .section-head { align-items: center; margin-bottom: 52px; }
  .story-workshops .section-head > :first-child { max-width: 720px; }
  .story-workshops__intro { margin-top: 20px; font-size: var(--fs-body); line-height: 1.61; }

  .beyond { padding-block: 120px; }
  .beyond__grid { display: grid; gap: 64px; align-items: start; }
  @media (min-width: 1000px) { .beyond__grid { grid-template-columns: minmax(0, 660px) minmax(0, 443px); justify-content: space-between; column-gap: 48px; } }
  .beyond .prose { margin-top: 24px; }
  .beyond .prose > * + * { margin-top: 16px; }
  .beyond__photo { position: relative; isolation: isolate; max-width: 620px; margin: 44px 20px 0 0; }
  .beyond__photo::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; z-index: -1; border: 1.5px solid var(--gold-dark); border-radius: 10px; }
  .beyond__photo img { width: 100%; aspect-ratio: 620 / 349; object-fit: cover; border-radius: var(--radius); box-shadow: 0 26px 54px rgb(31 46 87 / .2); }

  .facts-card { padding: 40px; border-radius: var(--radius); background: var(--cream); box-shadow: 0 24px 56px rgb(20 28 56 / .12); }
  .facts-card .eyebrow { margin-bottom: 14px; }
  .facts > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px; padding-block: 15px; border-bottom: 1px solid rgb(85 76 66 / .16); }
  .facts dt { font-size: .96875rem; line-height: 1.42; font-weight: 600; color: var(--navy); }
  .facts dd { margin: 0; font-size: .96875rem; line-height: 1.48; font-style: italic; color: var(--muted); }
  .facts dd cite { font-style: normal; }
  .facts a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: rgb(119 112 104 / .4); }
  .facts a:hover { text-decoration-color: currentColor; }
  .facts-card .link-arrow { margin-top: 30px; }
  @media (max-width: 479px) { .facts-card { padding: 36px 24px; } .facts > div { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; } }

  /* Navy band with a heading and a row of buttons */
  .explore-band { position: relative; isolation: isolate; background: var(--navy-800); padding-block: 76px; }
  .explore-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .4; }
  .explore-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; }
  .explore-band__title { font-size: clamp(2.125rem, 1.8rem + 1.3vw, 2.75rem); line-height: 1.09; color: var(--cream) !important; }
  .explore-band .actions { list-style: none; padding: 0; gap: 14px; }
}

/* ChipGPT page ------------------------------------------------------------------ */
@layer sections {
  .page-chipgpt main { background: var(--cream) var(--tex-speckle) 0 0 / 300px; }

  .gpt-hero {
    --overlap: clamp(96px, 10vw, 158px);
    position: relative; isolation: isolate; text-align: center;
    background: var(--navy-900);
    padding-block: clamp(48px, 6vw, 85px) calc(var(--overlap) + clamp(40px, 4.2vw, 61px));
  }
  .gpt-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .28; }
  .gpt-hero__inner { display: grid; justify-items: center; }
  .gpt-hero__avatar { display: grid; justify-items: center; }
  .gpt-hero__avatar img { width: clamp(150px, 14vw, 197px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; box-shadow: -7px 19px 46px rgb(0 0 0 / .25); }
  .gpt-hero .ai-pill { margin-top: -16px; }
  .gpt-hero h1 { margin-top: 29px; color: var(--cream-hi); text-wrap: balance; }
  .gpt-hero__lead { max-width: 680px; margin-top: 24px; font-size: var(--fs-lead); line-height: 1.65; color: var(--on-dark); text-wrap: pretty; }
  .gpt-hero__note { margin-top: clamp(28px, 3.4vw, 52px); font-size: .9375rem; line-height: 1.47; color: rgb(252 250 237 / .66); }

  .gpt-chat { position: relative; z-index: 1; margin-top: calc(-1 * clamp(96px, 10vw, 158px)); }
  .gpt-window {
    max-width: 920px; margin-inline: auto; overflow: hidden;
    background: var(--card-light); border: 1px solid rgb(85 76 66 / .14); border-radius: 14px;
    box-shadow: 0 24px 56px rgb(20 28 56 / .11);
  }
  .gpt-window__header {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px;
    padding: 18px 24px; border-bottom: 1px solid rgb(85 76 66 / .16);
  }
  .gpt-window__identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
  .gpt-window__avatar { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--green); object-fit: cover; flex: none; }
  .gpt-window__name { display: flex; align-items: center; gap: 10px; font-size: 1.125rem; line-height: 1.22; font-weight: 600; color: var(--navy); }
  .gpt-window__pill {
    display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px 2px 8px; border-radius: 999px;
    background: #eae0ca; font-size: .75rem; line-height: 1.33; font-weight: 600;
  }
  .gpt-window__pill .dot { width: 6px; height: 6px; }
  .gpt-window__sub { margin-top: 3px; font-size: .875rem; line-height: 1.43; color: var(--text); }
  .gpt-window__open {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px;
    border: 1.5px solid rgb(30 46 87 / .22); border-radius: 999px;
    font-size: .9375rem; line-height: 1.33; font-weight: 600; color: var(--navy); text-decoration: none;
    transition: border-color .2s, background-color .2s;
  }
  .gpt-window__open:hover { border-color: var(--navy); background: rgb(30 46 87 / .04); text-decoration: none; }
  .gpt-window__open .icon { width: 16px; height: 16px; }

  .gpt-question {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
    padding: 16px 24px; background: var(--card); border-bottom: 1px solid rgb(85 76 66 / .12);
  }
  .gpt-question[hidden] { display: none; }
  .gpt-question__text { font-size: 1.0625rem; line-height: 1.45; font-weight: 600; color: var(--navy); }
  .gpt-question__label { display: block; margin-bottom: 2px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
  .gpt-question__text { flex: 1 1 280px; }
  .gpt-question__hint { flex-basis: 100%; font-size: .875rem; line-height: 1.4; color: var(--muted); }
  /* The Ask button needs the chat; if the chat fails, offer to copy the question instead */
  .gpt-question__copy, .gpt-question__hint { display: none; }
  [data-state="error"] .gpt-question__ask { display: none; }
  [data-state="error"] .gpt-question__copy { display: inline-flex; }
  [data-state="error"] .gpt-question__hint { display: block; }

  /* Chat area: the Tricky Wombat widget and our own loading and error states share one cell */
  .gpt-window__body { display: grid; height: clamp(560px, 78svh, 760px); background: var(--card-light); }
  .gpt-window__body > * { grid-area: 1 / 1; min-width: 0; min-height: 0; }
  #trickywombat-widget { height: 100%; }
  [data-state="loading"] #trickywombat-widget { visibility: hidden; }
  [data-state="error"] #trickywombat-widget { display: none; }
  .gpt-status {
    display: grid; place-content: center; justify-items: center; gap: 10px; padding: 32px 24px;
    text-align: center; font-size: .9375rem; line-height: 1.5; color: var(--muted);
  }
  .gpt-status__title { font-size: 1.125rem; font-weight: 600; color: var(--navy); }
  .gpt-status a:not(.btn) { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }
  .gpt-status .btn { margin-top: 8px; }
  .gpt-status__loading::before {
    content: ""; display: block; width: 28px; height: 28px; margin: 0 auto 14px; border-radius: 50%;
    border: 2.5px solid rgb(30 46 87 / .14); border-top-color: var(--navy); animation: gpt-spin .9s linear infinite;
  }
  @keyframes gpt-spin { to { rotate: 360deg; } }
  @media (prefers-reduced-motion: reduce) { .gpt-status__loading::before { animation-duration: 3s; } }
  .gpt-status__error { display: none; justify-items: center; gap: 6px; }
  [data-state="ready"] .gpt-status { display: none; }
  [data-state="error"] .gpt-status__loading { display: none; }
  [data-state="error"] .gpt-status__error { display: grid; }
  html:not(.js) .gpt-status:not(.gpt-status--noscript) { display: none; }
  /* The widget's own look is styled in Tricky Wombat, not here */

  .gpt-window__fine {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px;
    padding: 14px 24px 18px; border-top: 1px solid rgb(85 76 66 / .12);
    font-size: .84375rem; line-height: 1.33; color: var(--muted);
  }
  .gpt-window__fine a { color: var(--text); text-underline-offset: 3px; }
  .gpt-chat__fallback { margin-top: 18px; text-align: center; font-size: .9375rem; color: var(--muted); }
  .gpt-chat__fallback a { color: var(--navy); font-weight: 600; text-underline-offset: 3px; }

  .hear-more { padding-block: clamp(72px, 6.8vw, 98px) clamp(80px, 8vw, 120px); }
  .hear-more__intro { max-width: 760px; margin-inline: auto; }
  .hear-more .rule-below::after { width: 64px; background: var(--gold-dark); margin-top: 24px; }
  .hear-more__intro p { margin-top: 22px; font-size: var(--fs-body); line-height: 1.61; color: var(--text); text-wrap: pretty; }
  .hear-more__cards { display: grid; gap: 28px; max-width: 1080px; margin: 56px auto 0; }
  @media (min-width: 800px) { .hear-more__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  .hear-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start;
    padding: 40px; border-radius: var(--radius); background: var(--card-light);
    box-shadow: 0 24px 56px rgb(20 28 56 / .12);
  }
  .hear-card::after {
    content: ""; position: absolute; top: 18px; left: 18px; width: 17px; height: 17px; pointer-events: none;
    border-top: 1.5px solid var(--gold-dark); border-left: 1.5px solid var(--gold-dark);
  }
  .hear-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; width: 100%; }
  .hear-card__label {
    display: flex; align-items: center; gap: 10px;
    font-size: .8125rem; line-height: 1.23; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink);
  }
  .hear-card__label .icon { width: 18px; height: 18px; }
  .hear-card__title { margin-top: 14px; font-size: clamp(1.625rem, 1.5rem + .5vw, 1.875rem); line-height: 1.13; color: var(--navy); }
  .hear-card__art { width: 92px; height: 92px; border-radius: var(--radius-sm); box-shadow: 0 10px 24px rgb(31 46 87 / .18); flex: none; }
  .hear-card__text { flex: 1; padding-block: 16px 28px; font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
  @media (max-width: 559px) {
    .hear-card { padding: 36px 24px 32px; }
    .hear-card__art { width: 72px; height: 72px; }
    .gpt-window__header, .gpt-question, .gpt-window__fine { padding-inline: 16px; }
    .gpt-window__body { height: clamp(520px, 76svh, 680px); }
  }
}

/* Media kit page ---------------------------------------------------------------- */
@layer components {
  /* Download link: small arrow-down icon and an underlined label */
  .dl-link {
    display: inline-flex; align-items: center; gap: 9px; padding-block: 8px;
    font-size: .9375rem; line-height: 1.33; font-weight: 600; color: var(--text);
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
  }
  .dl-link .icon { width: 18px; height: 18px; color: var(--gold-dark); }
  .dl-link:hover { color: var(--navy); }

  .copy-btn--outline { min-height: 47px; padding: 12px 20px; gap: 9px; background: transparent; border: 1.5px solid rgb(30 46 87 / .4); font-size: .96875rem; }
  .copy-btn--outline:hover { border-color: var(--navy); }
  .copy-btn--outline .icon { width: 18px; height: 18px; color: var(--navy); }
}

@layer sections {
  /* Hero: on wide screens the copy sits on the sky of the photo; on smaller screens it stacks above it */
  .mk-hero {
    position: relative; isolation: isolate; text-align: center;
    background: linear-gradient(#d3d9e1, #e4e5e6);
    margin-bottom: 12px; box-shadow: 0 10px 0 var(--cream), 0 12px 0 var(--gold-dark);
  }
  .mk-hero__content { display: grid; justify-items: center; padding-block: clamp(48px, 6.5vw, 94px) 28px; }
  .mk-hero .eyebrow { margin-bottom: 26px; }
  .mk-hero h1 { color: var(--navy); line-height: 1; text-wrap: balance; }
  .mk-hero__lead { max-width: 697px; margin-top: 26px; font-size: var(--fs-lead); line-height: 1.65; color: var(--text); text-wrap: pretty; }
  .mk-hero .btn { margin-top: 33px; }
  .mk-hero__note {
    display: flex; gap: 10px; align-items: flex-start; max-width: 418px; margin-top: 22px; text-align: left;
    font-size: .90625rem; line-height: 1.52; color: rgb(85 76 66 / .8);
  }
  .mk-hero__note .icon { width: 20px; height: 20px; flex: none; color: var(--text); }
  .mk-hero__photo img { display: block; width: 100%; }
  @media (max-width: 999px) {
    .mk-hero__photo img {
      aspect-ratio: 2898 / 2726; object-fit: cover; object-position: 50% 100%;
      -webkit-mask-image: linear-gradient(transparent, #000 16%); mask-image: linear-gradient(transparent, #000 16%);
    }
  }
  @media (min-width: 1000px) {
    .mk-hero__content { position: relative; z-index: 1; padding-bottom: calc(max(88.9vw, 1290px) + 36px); }
    .mk-hero__photo { position: absolute; inset: 0; z-index: -1; }
    .mk-hero__photo :is(picture, img) { height: 100%; }
    .mk-hero__photo img { object-fit: cover; object-position: 50% 100%; }
  }

  .mk-why { padding-block: clamp(80px, 8vw, 120px); }
  .mk-reasons { display: grid; gap: 24px; margin-top: 52px; list-style: none; padding: 0; }
  @media (min-width: 900px) { .mk-reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .mk-reason {
    position: relative; padding: 36px 34px;
    background: var(--card-light); border: 1px solid rgb(85 76 66 / .12); border-radius: var(--radius);
    box-shadow: 0 24px 56px rgb(20 28 56 / .08);
  }
  .mk-reason::after {
    content: ""; position: absolute; top: 18px; left: 18px; width: 17px; height: 17px; pointer-events: none;
    border-top: 1.5px solid var(--gold-dark); border-left: 1.5px solid var(--gold-dark);
  }
  .mk-reason__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eae0ca; color: var(--gold-dark); }
  .mk-reason__icon .icon { width: 26px; height: 26px; }
  .mk-reason__title { margin-top: 22px; font-size: 1.4375rem; line-height: 1.22; color: var(--navy); }
  .mk-reason p { margin-top: 12px; font-size: 1.03125rem; line-height: 1.64; color: var(--text); }

  .mk-bios { padding-block: clamp(80px, 8vw, 120px); }
  .mk-bios__grid { display: grid; gap: 40px; }
  @media (min-width: 1000px) {
    .mk-bios__grid { grid-template-columns: minmax(0, 380px) minmax(0, 723px); justify-content: space-between; column-gap: 64px; }
    .mk-bios__head { position: sticky; top: 40px; align-self: start; }
  }
  .mk-bios__list { display: grid; gap: 30px; }
  .bio-card { display: grid; gap: 18px; justify-items: start; padding: 34px 36px; background: var(--card-light); border: 1px solid rgb(85 76 66 / .13); border-radius: var(--radius); }
  .bio-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; width: 100%; }
  .bio-card__title { font-size: 1.5rem; line-height: 1.2; color: var(--navy); }
  .bio-card__count { padding: 5px 14px; border-radius: 999px; background: #eae0ca; font-size: .875rem; line-height: 1.43; font-weight: 600; color: var(--navy); }
  .bio-card__text { font-size: clamp(1.0625rem, 1.04rem + .1vw, 1.09375rem); line-height: 1.66; color: var(--text); }
  .bio-card__text p + p { margin-top: 1em; }
  @media (max-width: 559px) { .bio-card { padding: 28px 22px; } }

  .mk-photos { padding-block: clamp(80px, 8vw, 120px); }
  .mk-photos__title { max-width: 820px; }
  .photo-grid { display: grid; gap: 40px 28px; margin-top: 52px; list-style: none; padding: 0; }
  @media (min-width: 600px) { .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (min-width: 1000px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .photo-card img { width: 100%; aspect-ratio: 381 / 476; object-fit: cover; border-radius: var(--radius-sm); box-shadow: 0 18px 40px rgb(31 46 87 / .14); }
  .photo-card__caption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: 16px; }
  .photo-card__name { font-size: 1.03125rem; line-height: 1.33; font-weight: 600; color: var(--navy); }

  .mk-book { padding-block: clamp(80px, 8vw, 120px); }
  .mk-book__grid { display: grid; gap: 48px; align-items: center; }
  @media (min-width: 900px) { .mk-book__grid { grid-template-columns: minmax(0, 400px) minmax(0, 709px); justify-content: space-between; column-gap: 48px; } }
  .mk-book__visual { display: grid; justify-items: center; gap: 14px; }
  .mk-book__cover { position: relative; isolation: isolate; width: min(100%, 313px); }
  /* A thin gold frame tilted behind the book; only its top right corner shows */
  .mk-book__cover::before { content: ""; position: absolute; inset: 11.1% 6.8% 11.4% 15.8%; z-index: -1; border: 1px solid var(--gold-dark); border-radius: 8px; rotate: 4.6deg; }
  .mk-book__cover img { width: 100%; filter: drop-shadow(-11px 16px 29px rgb(0 0 0 / .25)); }
  .mk-book__title { font-size: clamp(2.25rem, 1.9rem + 1.4vw, 3.25rem); line-height: 1.08; color: var(--navy); margin-top: 6px; }
  .mk-book__sub { margin-top: 10px; font-size: clamp(1.25rem, 1.2rem + .25vw, 1.375rem); line-height: 1.27; }
  .mk-book__text { max-width: 640px; margin-top: 20px; font-size: clamp(1.0625rem, 1.04rem + .1vw, 1.09375rem); line-height: 1.66; color: var(--text); }
  .mk-book__facts { max-width: 640px; margin-top: 30px; border-top: 1px solid rgb(85 76 66 / .16); }
  .mk-book__facts > div { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid rgb(85 76 66 / .16); }
  .mk-book__facts dt { font-size: .96875rem; line-height: 1.42; font-weight: 600; color: var(--navy); }
  .mk-book__facts dd { margin: 0; font-size: .96875rem; line-height: 1.48; font-style: italic; color: var(--muted); }
  @media (max-width: 479px) { .mk-book__facts > div { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; } }

  .mk-plan { padding-block: clamp(80px, 8vw, 120px); }
  .mk-plan__grid { display: grid; gap: 56px; align-items: start; }
  @media (min-width: 1000px) { .mk-plan__grid { grid-template-columns: minmax(0, 649px) minmax(0, 440px); justify-content: space-between; column-gap: 64px; } }
  .mk-ideas__intro { max-width: 560px; margin-top: 18px; font-size: 1.0625rem; line-height: 1.65; color: var(--text); }
  .mk-ideas__list { margin-top: 28px; list-style: none; padding: 0; border-bottom: 1px solid rgb(85 76 66 / .16); }
  .mk-ideas__list li {
    display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding-block: 16px;
    border-top: 1px solid rgb(85 76 66 / .16);
    font-size: 1.125rem; line-height: 1.39; font-weight: 600; color: var(--navy);
  }
  .mk-ideas__num { font-size: .9375rem; line-height: 1.67; letter-spacing: .04em; color: var(--gold-ink); }
  .mk-event { padding: 40px; border-radius: var(--radius); background: var(--card); border: 1px solid rgb(85 76 66 / .12); }
  .mk-event__title { font-size: clamp(1.875rem, 1.7rem + .7vw, 2.25rem); line-height: 1.11; color: var(--navy); }
  .mk-event__text { padding-block: 16px 24px; font-size: 1.03125rem; line-height: 1.64; color: var(--text); }
  .mk-event__links { list-style: none; padding: 0; border-bottom: 1px solid rgb(85 76 66 / .16); }
  .mk-event__links li { padding-block: 6px; border-top: 1px solid rgb(85 76 66 / .16); }
  .mk-event__links .dl-link { font-size: 1rem; }
  .mk-event__links .link-arrow { padding-block: 8px; --arrow: var(--gold-dark); }
  @media (max-width: 479px) { .mk-event { padding: 36px 24px; } }

  .mk-press { padding-block: clamp(80px, 8vw, 120px); }
  .press-list { margin-top: 44px; list-style: none; padding: 0; border-bottom: 1px solid rgb(85 76 66 / .16); }
  .press-list li { border-top: 1px solid rgb(85 76 66 / .16); }
  .press-list a {
    display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr) 26px; gap: 8px 40px; align-items: center;
    padding: 26px 4px; text-decoration: none; color: var(--navy);
  }
  .press-list__outlet { font-size: .8125rem; line-height: 1.23; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
  .press-list__title { font-size: clamp(1.1875rem, 1.1rem + .4vw, 1.4375rem); line-height: 1.3; font-weight: 600; }
  .press-list .icon { width: 26px; height: 26px; color: var(--gold-dark); transition: translate .2s var(--ease); }
  .press-list a:hover .press-list__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
  .press-list a:hover .icon { translate: 4px 0; }
  @media (max-width: 799px) {
    .press-list a { grid-template-columns: minmax(0, 1fr) 26px; padding-block: 22px; }
    .press-list__outlet { grid-column: 1 / -1; }
  }

  .inquiries { position: relative; isolation: isolate; background: var(--navy-700); padding-block: 96px; }
  .inquiries::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .35; }
  .inquiries__grid { display: grid; gap: 56px; }
  @media (min-width: 900px) {
    .inquiries__grid { grid-template-columns: minmax(0, 535px) 1px minmax(0, 535px); justify-content: space-between; column-gap: 44px; }
    .inquiries__grid::before { content: ""; grid-column: 2; grid-row: 1; background: rgb(210 176 106 / .35); }
    .inquiries__col:last-child { grid-column: 3; grid-row: 1; }
  }
  .inquiries__title { font-size: clamp(1.875rem, 1.7rem + .7vw, 2.25rem); line-height: 1.11; }
  .inquiries p { max-width: 500px; padding-block: 14px 26px; font-size: 1.0625rem; line-height: 1.65; color: var(--on-dark); }
}

/* Contact page ------------------------------------------------------------------- */
@layer sections {
  .contact-hero__content h1 { font-size: clamp(2.75rem, 2.05rem + 3vw, 4.75rem); line-height: 1.03; }
  .contact-hero__content .lead { max-width: 620px; margin-top: 26px; color: var(--on-dark); }
  .contact-hero__kit { margin-top: 14px; font-size: 1.0625rem; line-height: 1.59; color: var(--on-dark); }
  .contact-hero__kit a { font-weight: 600; color: var(--cream); text-decoration-thickness: 1px; text-underline-offset: 3px; }

  .contact-routes { padding-block: 96px; }
  .route-cards { display: grid; gap: 24px; list-style: none; padding: 0; }
  @media (min-width: 900px) { .route-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .route-card {
    position: relative; display: flex; flex-direction: column; align-items: flex-start;
    padding: 37px 34px 33px 35px;
    background: var(--card-light); border: 1px solid rgb(85 76 66 / .12); border-radius: var(--radius);
    box-shadow: 0 24px 56px rgb(20 28 56 / .09);
  }
  .route-card::after {
    content: ""; position: absolute; top: 18px; right: 18px; width: 17px; height: 17px; pointer-events: none;
    border-top: 1.5px solid var(--gold-dark); border-right: 1.5px solid var(--gold-dark);
  }
  .route-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #eae0ca; color: var(--gold-dark); }
  .route-card__icon .icon { width: 26px; height: 26px; }
  .route-card__label { margin-top: 22px; font-size: .8125rem; line-height: 1.23; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
  .route-card__title { margin-top: 10px; font-size: clamp(1.5rem, 1.4rem + .4vw, 1.625rem); line-height: 1.19; color: var(--navy); }
  .route-card__text { margin-top: 12px; margin-bottom: 26px; font-size: 1.03125rem; line-height: 1.64; color: var(--text); }
  .route-card .link-arrow { margin-top: auto; padding-block: 8px; --arrow: var(--gold-dark); }

  .contact-form-band { padding-block: 110px; }
  .form-card {
    display: grid; gap: 40px 88px; align-items: start;
    padding: clamp(40px, 5vw, 64px) clamp(24px, 5vw, 64px);
    border-radius: 10px; background: var(--cream); box-shadow: 0 24px 56px rgb(20 28 56 / .12);
  }
  @media (min-width: 1000px) { .form-card { grid-template-columns: minmax(0, 400px) minmax(0, 583px); justify-content: space-between; } }
  .form-card__intro h2 { color: var(--navy); }
  .form-card__intro h2::after { content: ""; display: block; width: 64px; height: 2px; margin-block: 22px 24px; background: var(--gold-dark); }
  .form-card__intro p { font-size: clamp(1.0625rem, 1.04rem + .1vw, 1.09375rem); line-height: 1.66; color: var(--text); }
  .form-card__intro .form-card__note { margin-top: 16px; font-size: .96875rem; line-height: 1.61; font-style: italic; color: var(--muted); }
  .contact-form { display: grid; gap: 20px; }
  .contact-form__row { display: grid; gap: 20px; }
  @media (min-width: 560px) { .contact-form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  .contact-form .field { background-color: rgb(255 255 255 / .69); border-color: rgb(85 76 66 / .24); }
  .contact-form textarea.field { min-height: 193px; border-radius: 15px; }
  .field--select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 52px; }
  .field-select-wrap { position: relative; }
  .field-select-wrap::after {
    content: ""; position: absolute; top: 50%; right: 24px; width: 9px; height: 9px; pointer-events: none;
    border-right: 1.6px solid var(--gold-dark); border-bottom: 1.6px solid var(--gold-dark);
    translate: 0 -70%; rotate: 45deg;
  }
  .field--select:invalid { color: rgb(85 76 66 / .85); }
  .field--select option { color: var(--text); }
  .contact-form .btn { justify-self: start; margin-top: 4px; }
}

/* Privacy, 404, small notes ------------------------------------------------------- */
@layer sections {
  .books-note { margin-top: 56px; font-size: .875rem; line-height: 1.5; color: var(--muted); text-align: center; }

  .legal-hero { position: relative; isolation: isolate; background: var(--navy-900); padding-block: clamp(64px, 7vw, 104px) clamp(56px, 6vw, 88px); }
  .legal-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .3; }
  .legal-hero .eyebrow { margin-bottom: 26px; }
  .legal-hero__date { margin-top: 20px; font-size: 1rem; color: var(--on-dark-muted); }
  .legal { padding-block: clamp(56px, 6vw, 96px) clamp(80px, 8vw, 120px); }
  .legal__body { max-width: 720px; color: var(--text); }
  .legal__body > * + * { margin-top: 1.1em; }
  .legal__body h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.4rem + .4vw, 1.75rem); line-height: 1.2; color: var(--navy); }
  .legal__body ul { padding-left: 1.2em; }
  .legal__body li + li { margin-top: .7em; }
  .legal__body li::marker { color: var(--gold-ink); }
  .legal__body strong { color: var(--navy); font-weight: 600; }
  .legal__body a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .legal__body code { font-size: .9em; padding: 1px 5px; border-radius: 4px; background: var(--card); }

  .notfound { position: relative; isolation: isolate; text-align: center; background: var(--navy-900); padding-block: clamp(96px, 12vw, 168px); }
  .notfound::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--tex-speckle) 0 0 / 300px; opacity: .3; }
  .notfound__inner { display: grid; justify-items: center; }
  .notfound .eyebrow { margin-bottom: 26px; }
  .notfound h1 { color: var(--cream-hi); text-wrap: balance; }
  .notfound__lead { max-width: 560px; margin-top: 24px; font-size: var(--fs-lead); line-height: 1.65; color: var(--on-dark); text-wrap: pretty; }
  .notfound__actions { justify-content: center; margin-top: 40px; list-style: none; padding: 0; gap: 14px; }
}
