/* ============================================================
   Homepage. Loaded after /site.css, which supplies the shared
   components (ws- classes). Only what is particular to the
   homepage lives here.
   ============================================================ */

.hm-hero__title { font-size: clamp(4.5rem, 11.4vw, 9.25rem); line-height: 0.86; }

/* ---------- hero: Ian, under the stage light ----------
   The same photo and the same light as the About page, fully lit from the
   first moment. He stands on the bottom edge of the section, and his photo
   fades out into it. The cue to scroll shows only where the hero is the whole
   of the first screen: on a phone the photo sits below the words, so by the
   time the cue came into view the visitor would already be scrolling. */
.hm-hero { padding-bottom: 0; }
.hm-hero .ws-hero__scene { width: min(72vw, 21rem); }
.hm-hero__photo { position: relative; z-index: 2; width: 100%; -webkit-mask-image: linear-gradient(#000 72%, transparent 99%); mask-image: linear-gradient(#000 72%, transparent 99%); }
.hm-hero__beam { position: absolute; z-index: 1; inset: -14% -42% 0; pointer-events: none; filter: blur(22px); }
.hm-hero .ws-hero__hint { display: none; opacity: 1; }
.hm-hero__beam::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(217, 169, 75, 0.3), rgba(217, 169, 75, 0.1) 58%, transparent 92%); clip-path: polygon(43% 0, 57% 0, 96% 100%, 4% 100%); }
.hm-hero__beam::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: -3%; height: 20%; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(217, 169, 75, 0.34), rgba(201, 75, 26, 0.16) 55%, transparent 72%); }
@media (min-width: 900px) {
  /* Beside the headline. The photo is as wide as its column allows, and never
     taller than the screen, so the whole of the first screen is the hero. */
  .hm-hero { align-items: stretch; padding-bottom: 0; }
  .hm-hero .ws-hero__copy { padding-bottom: clamp(3.5rem, 8vh, 5.5rem); }
  .hm-hero .ws-hero__scene { align-self: end; width: min(100%, 27rem, calc((100svh - var(--ia-nav-h) - 3.5rem) * 0.578)); }
  .hm-hero .ws-hero__hint { display: flex; }
}
/* A window wider than it is tall but under 900px: a phone on its side, or a
   small browser window. Stacked, the photo would sit below the first screen,
   so here too it goes beside the headline. A tablet held upright keeps the
   words first and the large photo under them. */
@media (min-width: 700px) and (max-width: 899.98px) and (min-aspect-ratio: 5/4) {
  .hm-hero { align-items: stretch; }
  .hm-hero .ws-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: clamp(1.5rem, 4vw, 3rem); }
  .hm-hero .ws-hero__copy { padding-bottom: 2.5rem; }
  .hm-hero .ws-hero__scene { align-self: end; width: min(100%, 21rem); }
}
.hm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem 1.5rem; }

/* ---------- Ian in numbers ----------
   Five figures. One row on a wide screen, where the numbers step down a size
   so that 40,000+ fits its column. Three then two on a tablet, each row the
   full width. Any other count falls back to the shared grid in /site.css. */
@media (min-width: 640px) {
  .hm-stats--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hm-stats--5 > .ws-stat { grid-column: span 2; }
  .hm-stats--5 > .ws-stat:nth-child(n + 4) { grid-column: span 3; }
}
@media (min-width: 1100px) {
  .hm-stats--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hm-stats--5 > .ws-stat, .hm-stats--5 > .ws-stat:nth-child(n + 4) { grid-column: auto; }
  .hm-stats--5 .ws-stat__num { font-size: clamp(3.75rem, 5.4vw, 4.375rem); }
}

/* ---------- three paths ---------- */
.hm-paths { display: grid; gap: 1.25rem; }
.hm-paths > li { display: flex; }
.hm-path { display: flex; flex-direction: column; gap: 0.9rem; width: 100%; padding: 2rem 1.6rem 1.7rem; border: 1px solid var(--ia-line-strong); border-radius: var(--ia-radius); background: var(--ia-surface); text-decoration: none; transition: border-color var(--ia-dur-fast) linear, transform var(--ia-dur-fast) var(--ia-ease); }
.hm-path:hover { border-color: var(--ia-accent); transform: translateY(-4px); }
.hm-path__no { font-family: var(--ia-font-display); font-size: 1.5rem; line-height: 1; color: var(--ia-accent); }
.hm-path__title { font-family: var(--ia-font-display); font-size: clamp(2.3rem, 3.5vw, 3.1rem); line-height: 0.95; text-transform: uppercase; }
.hm-path__text { font-size: 1.0625rem; color: var(--ia-bone-soft); }
.hm-path__cta { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; padding-top: 0.6rem; font-family: var(--ia-font-display); font-size: 1.5rem; letter-spacing: 0.05em; line-height: 1; text-transform: uppercase; color: var(--ia-bone); }
.hm-path__cta .ia-arrow { color: var(--ia-accent); }
a:hover > .hm-path__cta .ia-arrow, a:hover .hm-path__cta .ia-arrow { transform: translateX(5px); }
@media (min-width: 900px) { .hm-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- join the mailing list ----------
   A postcard lying under a lamp. The visitor writes their email in the form
   and it appears on the card's address line as they type. Joining postmarks
   it. Nothing here moves on its own: the card leans toward a mouse, steadies
   when the field is in use, and is stamped when the visitor joins.

   Order on the page is words, card, form, so that on a phone the card sits
   just above the field and stays in view while the keyboard is up. On a wide
   screen the card stands beside both. */
.hm-join { --lamp-x: 74%; --lamp-y: 46%; overflow: clip; border-block: 1px solid var(--ia-line); background: rgba(0, 0, 0, 0.42); }
.hm-join::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(42rem 33rem at var(--lamp-x) var(--lamp-y), rgba(217, 169, 75, 0.25), rgba(201, 75, 26, 0.12) 44%, transparent 72%); }
.hm-join__grid { position: relative; display: grid; gap: 2rem; }
.hm-join__head .ws-head { margin-bottom: 0; }
.hm-join .ws-lead { max-width: 33rem; }

/* the two cards: a photo postcard, and in front of it the one being addressed */
.hm-join__stage { --tilt-x: 0deg; --tilt-y: 0deg; --shine-x: 72%; --shine-y: 18%; --rest: -3deg; display: grid; place-items: center; width: 100%; max-width: 32rem; margin-inline: auto; padding: 0.75rem 0 1.5rem; perspective: 1100px; }
.hm-join__stage > * { grid-area: 1 / 1; }
.hm-postcard-photo { display: none; width: 88%; aspect-ratio: 3 / 2; padding: 2.3%; border-radius: 5px; background: var(--ia-bone); box-shadow: 0 30px 56px -20px rgba(0, 0, 0, 0.9), 0 10px 18px -10px rgba(0, 0, 0, 0.7); transform: rotateX(calc(var(--tilt-x) * 0.5)) rotateY(calc(var(--tilt-y) * 0.5)) translate(8%, -38%) rotate(5deg); transition: transform 620ms var(--ia-ease); }
/* Cropped so that his head and shoulders clear the top edge of the card in front. */
.hm-postcard-photo img { width: 100%; height: 100%; border-radius: 2px; object-fit: cover; object-position: 50% 45%; }
.hm-postcard { --ink: #1D1B18; --pencil: #6A655E; position: relative; width: 100%; aspect-ratio: 3 / 2; container-type: inline-size; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) rotate(var(--rest)); transition: transform 620ms var(--ia-ease); }
.hm-join__stage.is-leaning .hm-postcard, .hm-join__stage.is-leaning .hm-postcard-photo { transition-duration: 110ms; transition-timing-function: linear; }
.hm-join__stage.is-writing { --rest: 0deg; }
.hm-postcard__paper { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); padding: 8.4% 7.2% 7.6%; border-radius: 5px; overflow: hidden; background: var(--ia-bone); color: var(--ink); box-shadow: 0 34px 64px -20px rgba(0, 0, 0, 0.9), 0 12px 20px -10px rgba(0, 0, 0, 0.75), inset 0 0 46px rgba(128, 96, 42, 0.13); }
/* the striped edge of an airmail card, in the brand's own colours */
.hm-postcard__paper::before { content: ""; position: absolute; inset: 0; padding: 10px; padding: 2.1cqi; border-radius: inherit; background: repeating-linear-gradient(-45deg, var(--ia-ember) 0 9px, var(--ia-bone) 9px 18px, var(--ia-midnight) 18px 27px, var(--ia-bone) 27px 36px); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); pointer-events: none; }
/* paper grain */
.hm-postcard__paper::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: multiply; opacity: 0.5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45  0 0 0 0 0.36  0 0 0 0 0.22  0 0 0 0.16 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23p)'/%3E%3C/svg%3E"); }
/* lamp light on the paper: it follows a mouse with the lean */
.hm-postcard__shine { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: soft-light; background: radial-gradient(62% 70% at var(--shine-x) var(--shine-y), rgba(255, 255, 255, 0.85), transparent 62%); }

.hm-postcard__note { position: relative; z-index: 1; display: grid; align-content: center; gap: 0.5em; padding-right: 9%; border-right: 1px solid rgba(29, 27, 24, 0.3); font-family: var(--ia-font-voice); font-style: italic; }
.hm-postcard__quote { font-size: 1.05rem; font-size: 4.25cqi; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.hm-postcard__sign { font-size: 1.4rem; font-size: 5.6cqi; font-weight: 600; line-height: 1; }

.hm-postcard__address { position: relative; z-index: 1; display: grid; align-content: end; padding-left: 8%; }
.hm-postcard__stamp { --scallop: 3px; position: absolute; top: 0; right: 0; display: grid; justify-items: center; align-content: center; gap: 8%; width: 30%; aspect-ratio: 5 / 6; padding: 10% 4% 7%; background: var(--ia-ember); color: var(--ia-bone); font-family: var(--ia-font-display); font-size: 0.6rem; font-size: 2.3cqi; letter-spacing: 0.1em; line-height: 1; text-align: center; text-transform: uppercase; white-space: nowrap;
  /* a scalloped edge: a row of dots all round, joined by a solid middle */
  -webkit-mask: radial-gradient(50% 50%, #000 68%, #0000 71%) round 0 0 / calc(var(--scallop) * 2) calc(var(--scallop) * 2), linear-gradient(#000 0 0) center / calc(100% - var(--scallop) * 2) calc(100% - var(--scallop) * 2) no-repeat;
  mask: radial-gradient(50% 50%, #000 68%, #0000 71%) round 0 0 / calc(var(--scallop) * 2) calc(var(--scallop) * 2), linear-gradient(#000 0 0) center / calc(100% - var(--scallop) * 2) calc(100% - var(--scallop) * 2) no-repeat; }
@supports (width: 1cqi) { .hm-postcard__stamp { --scallop: 0.68cqi; } }
.hm-postcard__stamp img { width: 58%; height: auto; }
.hm-postcard__stamp span { padding-left: 0.1em; }   /* the last letter's spacing would otherwise push the word off centre */
/* the postmark: ink over the stamp, there only once the card is posted */
.hm-postcard__mark { position: absolute; top: -8%; right: 5%; width: 96%; color: var(--ink); font-family: var(--ia-font-display); opacity: 0; transform: rotate(-8deg); mix-blend-mode: multiply; pointer-events: none; }
.hm-join__stage.is-posted .hm-postcard__mark { opacity: 0.86; animation: hm-postmark 460ms cubic-bezier(0.2, 0.9, 0.3, 1.15) both; }
.hm-join__stage.is-posted .hm-postcard { animation: hm-thud 380ms ease-out 250ms; }
@keyframes hm-postmark { 0% { opacity: 0; transform: rotate(-8deg) scale(1.85); } 55% { opacity: 0.95; transform: rotate(-8deg) scale(0.96); } 100% { opacity: 0.86; transform: rotate(-8deg) scale(1); } }
@keyframes hm-thud { 0% { translate: 0 0; } 32% { translate: 0 6px; } 100% { translate: 0 0; } }

.hm-postcard__to { margin-bottom: 0.3em; font-family: var(--ia-font-display); font-size: 0.8rem; font-size: 3.1cqi; letter-spacing: 0.16em; line-height: 1; text-transform: uppercase; color: var(--pencil); }
.hm-postcard__line { display: flex; align-items: flex-end; min-width: 0; height: 2.1rem; height: 8.6cqi; border-bottom: 1px solid rgba(29, 27, 24, 0.42); font-family: var(--ia-font-voice); font-style: italic; font-size: 1.15rem; font-size: 4.9cqi; font-weight: 500; line-height: 1; white-space: nowrap; overflow: hidden; }
.hm-postcard__line > * { padding-bottom: 0.22em; }
.hm-postcard__typed { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hm-postcard__empty { color: var(--pencil); font-weight: 400; }
.hm-join__stage.has-address .hm-postcard__empty { display: none; }
.hm-postcard__caret { display: none; flex: none; align-self: flex-end; width: 2px; height: 0.95em; margin: 0 0 0.26em 2px; padding: 0; background: var(--ia-ember); }
.hm-join__stage.is-writing .hm-postcard__caret { display: block; animation: hm-caret 1.05s steps(1, end) infinite; }
@keyframes hm-caret { 50% { opacity: 0; } }

/* the form */
.hm-join__steps { display: flex; flex-wrap: wrap; gap: 0.7rem 1.75rem; margin-bottom: 1.5rem; }
.hm-join__steps li { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--ia-font-display); font-size: 1.375rem; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; color: var(--ia-text-muted); }
.hm-join__steps b { display: grid; place-items: center; flex: none; width: 2.1rem; height: 2.1rem; padding-top: 0.12em; border: 2px solid currentColor; border-radius: 50%; font-weight: 400; }
.hm-join__steps li.is-now { color: var(--ia-bone); }
.hm-join__steps li.is-now b { border-color: var(--ia-accent); background: var(--ia-accent); }
.hm-join__steps li.is-done { color: var(--ia-bone-soft); }
/* a finished step swaps its number for a tick, drawn from two sides of a small box */
.hm-join__steps li.is-done b { border-color: var(--ia-bone-soft); padding: 0; font-size: 0; }
.hm-join__steps li.is-done b::before { content: ""; width: 0.42rem; height: 0.82rem; margin-top: -0.18rem; border: solid var(--ia-bone-soft); border-width: 0 3px 3px 0; transform: rotate(42deg); }
.hm-join__form { display: grid; gap: 0.75rem; justify-items: start; max-width: 35rem; }
.hm-join__form[hidden], .hm-join__done[hidden], .hm-join__error[hidden] { display: none; }
.hm-join__label { font-size: 1.0625rem; font-weight: 700; }
.hm-join__row { display: grid; gap: 0.7rem; width: 100%; }
.hm-join__row input { width: 100%; min-height: 64px; padding: 0 1.1rem; border: 2px solid var(--ia-line-strong); border-radius: 6px; background: rgba(14, 14, 14, 0.72); color: var(--ia-bone); font: inherit; font-size: 1.25rem; }
.hm-join__row input::placeholder { color: var(--ia-smoke-text); }
.hm-join__row input:focus-visible { border-color: var(--ia-bone); outline-offset: 2px; }
.hm-join__row input[aria-invalid="true"] { border-color: var(--ia-accent); }
.hm-join__row .ia-btn { min-height: 64px; }
.hm-join__row .ia-btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.hm-join__error { padding-left: 0.9rem; border-left: 4px solid var(--ia-accent); font-weight: 700; }
/* a field no person fills in: left out of sight, out of the tab order and unread */
.hm-join__trap { position: absolute; left: -200vw; width: 1px; height: 1px; overflow: hidden; }
.hm-join__done { display: grid; gap: 0.9rem; justify-items: start; max-width: 35rem; }
.hm-join__done:focus { outline: none; }
.hm-join__done-title { font-family: var(--ia-font-display); font-size: var(--ia-fs-h3); font-weight: 400; line-height: 1; text-transform: uppercase; }
.hm-join__done-text { font-size: var(--ia-fs-lead); line-height: 1.5; overflow-wrap: anywhere; }
/* the line for someone already on the list: set apart, and as easy to read as the one above it */
.hm-join__done-also { padding-left: 0.9rem; border-left: 4px solid var(--ia-line-strong); font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.hm-join__again { padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 700; cursor: pointer; }

@media (min-width: 560px) {
  .hm-join__row { grid-template-columns: minmax(0, 1fr) auto; }
}
.hm-join__fallback { font-size: var(--ia-fs-small); font-weight: 600; text-decoration-thickness: 1px; }

/* A narrow card has no room for two columns. Ian's line goes across the top,
   beside the stamp, and the address lines run the full width under it. */
@media (max-width: 559.98px) {
  .hm-postcard__paper { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 8.5% 7.5% 8%; }
  .hm-postcard__note { align-content: start; gap: 0.2em; padding-right: 47%; border-right: 0; }   /* clear of the stamp, and of the postmark beside it */
  .hm-postcard__quote { font-size: 0.875rem; font-size: 4.3cqi; }
  .hm-postcard__sign { font-size: 1.05rem; font-size: 5cqi; }
  .hm-postcard__address { position: static; padding-left: 0; }
  .hm-postcard__stamp { top: 5.4cqi; right: 5cqi; width: 19cqi; }
  .hm-postcard__mark { top: 2.4cqi; right: 2.5cqi; width: 45cqi; }
  .hm-postcard__line:last-child { display: none; }
}
/* With room to spare the photo postcard comes out from behind. The padding makes
   the room: it is a share of the stage's own width, so it grows with the cards. */
@media (min-width: 560px) {
  .hm-join__stage { padding: 30% 0 14%; }
  .hm-postcard-photo { display: block; }
  .hm-postcard { width: 93%; transform: rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translate(-3%, 15%) rotate(var(--rest)); }
}
@media (min-width: 980px) {
  .hm-join__grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); grid-template-areas: "head stage" "body stage"; column-gap: clamp(2.5rem, 6vw, 5.5rem); row-gap: 2.25rem; align-items: start; }
  .hm-join__head { grid-area: head; }
  .hm-join__body { grid-area: body; }
  .hm-join__stage { grid-area: stage; align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .hm-postcard, .hm-postcard-photo, .hm-postcard__mark, .hm-postcard__caret { transition: none !important; animation: none !important; }
}

/* ---------- manifesto ---------- */
.hm-statement { max-width: 20em; font-family: var(--ia-font-display); font-size: clamp(2.5rem, 6.2vw, 4.75rem); line-height: 0.98; text-transform: uppercase; text-wrap: balance; }
.hm-statement + .hm-statement { margin-top: clamp(2rem, 5vw, 3.5rem); }
.hm-statement span { color: var(--ia-text-muted); }

/* ---------- speaking: photo band ---------- */
.hm-band { position: relative; display: grid; align-items: end; min-height: min(80vh, 46rem); overflow: clip; }
.hm-band__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hm-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 14, 14, 0.35) 0%, rgba(14, 14, 14, 0.15) 38%, rgba(14, 14, 14, 0.94) 100%); }
.hm-band__inner { position: relative; z-index: 2; display: grid; gap: 1.6rem; justify-items: start; padding-block: clamp(3rem, 8vw, 5.5rem); }
.hm-band__title { font-family: var(--ia-font-display); font-size: clamp(3.2rem, 8.6vw, 7.25rem); font-weight: 400; line-height: 0.9; text-transform: uppercase; text-wrap: balance; }
.hm-play { display: inline-flex; align-items: center; gap: 1rem; padding: 0; border: 0; background: none; color: var(--ia-bone); font-family: var(--ia-font-display); font-size: 1.75rem; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; }
.hm-play__icon { display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%; background: var(--ia-accent); color: var(--ia-bone); transition: transform var(--ia-dur-fast) var(--ia-ease); }
.hm-play__icon svg { width: 1.7rem; height: 1.7rem; margin-left: 3px; }
.hm-play:hover .hm-play__icon { transform: scale(1.08); }

/* ---------- keynotes ---------- */
.hm-cards { display: grid; gap: 1.25rem; }
.hm-card { display: flex; flex-direction: column; gap: 0.8rem; padding: 2rem 1.6rem 1.6rem; border-top: 4px solid var(--ia-accent); border-radius: 0 0 var(--ia-radius) var(--ia-radius); background: var(--ia-surface); }
.hm-card__no { font-family: var(--ia-font-display); font-size: 1.5rem; line-height: 1; color: var(--ia-accent); }
.hm-card__title { font-family: var(--ia-font-display); font-size: clamp(2.2rem, 3.3vw, 2.9rem); font-weight: 400; line-height: 0.95; text-transform: uppercase; }
.hm-card__copy { font-size: 1.0625rem; color: var(--ia-bone-soft); }
.hm-card__tag { margin-top: auto; padding-top: 1rem; font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.08em; line-height: 1.1; text-transform: uppercase; color: var(--ia-text-muted); }
.hm-formats { display: flex; flex-wrap: wrap; gap: 0.6rem 0.8rem; margin-top: 2.25rem; }
.hm-formats li { padding: 0.5rem 1.05rem 0.36rem; border: 1px solid var(--ia-line-strong); border-radius: 999px; font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.06em; line-height: 1.1; text-transform: uppercase; }
@media (min-width: 900px) { .hm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- book ---------- */
.hm-book { display: grid; gap: 2.5rem; align-items: center; }
.hm-book__art img { width: min(100%, 21rem); margin-inline: auto; filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.85)); }
.hm-book .ws-head { margin-bottom: 1.6rem; }
.hm-retailers { margin-top: 1.2rem; font-size: var(--ia-fs-small); color: var(--ia-text-muted); }
.hm-retailers a { color: var(--ia-bone); text-decoration: underline; text-decoration-color: var(--ia-accent); text-underline-offset: 4px; }
.hm-portal { display: grid; gap: 1.5rem; align-items: center; margin-top: clamp(2.5rem, 6vw, 4rem); padding: clamp(1.5rem, 4vw, 2.75rem); border: 1px solid var(--ia-line-strong); border-radius: var(--ia-radius); background: #050505; text-decoration: none; transition: border-color var(--ia-dur-fast) linear; }
.hm-portal:hover { border-color: var(--ia-accent); }
.hm-portal__text { display: grid; gap: 0.6rem; justify-items: start; }
.hm-portal__eyebrow { font-family: var(--ia-font-display); font-size: 1.25rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ia-text-muted); }
.hm-portal__title { font-family: var(--ia-font-display); font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 0.95; text-transform: uppercase; }
.hm-portal__copy { max-width: 30rem; color: var(--ia-bone-soft); }
.hm-portal img { width: min(100%, 20rem); margin-inline: auto; }
.hm-sub { margin: clamp(2.5rem, 6vw, 4rem) 0 1.25rem; font-family: var(--ia-font-display); font-size: var(--ia-fs-h3); font-weight: 400; line-height: 1; text-transform: uppercase; }
.hm-minis { display: grid; gap: 1.25rem; }
.hm-mini { display: grid; grid-template-columns: 6.25rem minmax(0, 1fr); gap: 1.25rem; align-items: start; padding: 1.4rem; border: 1px solid var(--ia-line); border-radius: var(--ia-radius-sm); background: var(--ia-bg); }
.hm-mini img { border-radius: 4px; }
.hm-mini h4 { margin: 0 0 0.4rem; font-family: var(--ia-font-display); font-size: 1.9rem; font-weight: 400; line-height: 1; text-transform: uppercase; }
.hm-mini p { margin-bottom: 0.7rem; color: var(--ia-bone-soft); }
@media (min-width: 760px) {
  .hm-portal { grid-template-columns: 1.2fr 0.8fr; }
  .hm-minis { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) { .hm-book { grid-template-columns: 0.7fr 1.3fr; gap: 4rem; } }

/* ---------- podcast ---------- */
.hm-pod { display: grid; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--ia-line-strong); border-radius: var(--ia-radius); background: var(--ia-surface); text-decoration: none; transition: border-color var(--ia-dur-fast) linear; }
.hm-pod:hover { border-color: var(--ia-accent); }
.hm-pod img { width: 100%; border-radius: var(--ia-radius-sm); }
.hm-pod__text { display: grid; gap: 0.75rem; justify-items: start; }
.hm-pod__title { font-family: var(--ia-font-display); font-size: clamp(3.2rem, 7vw, 5.25rem); line-height: 0.9; text-transform: uppercase; }
.hm-pod__tagline { font-family: var(--ia-font-voice); font-style: italic; font-weight: 500; font-size: 1.5rem; line-height: 1.3; }
.hm-pod__copy { max-width: 34rem; color: var(--ia-bone-soft); }
@media (min-width: 760px) { .hm-pod { grid-template-columns: 17rem minmax(0, 1fr); gap: 3rem; } }

/* ---------- assessment ---------- */
.hm-fdp { display: grid; gap: 3rem; align-items: center; }
.hm-fdp__list { margin-bottom: 1.7rem; font-size: 1.125rem; }
.hm-fdp .hm-actions { margin-bottom: 1rem; }
.hm-rails { display: grid; gap: 1.05rem; padding: 2rem 1.5rem 1.6rem; border: 1px solid var(--ia-line); border-radius: var(--ia-radius); background: var(--ia-bg); }
.hm-rail { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr); align-items: center; gap: 1rem; font-family: var(--ia-font-display); font-size: 1.35rem; letter-spacing: 0.04em; line-height: 1; text-transform: uppercase; }
.hm-rail i { display: block; height: 14px; border-radius: 7px; background: rgba(245, 242, 235, 0.09); }
.hm-rail b { display: block; width: var(--w); height: 100%; border-radius: 7px; background: var(--ia-bone); }
.hm-rail.is-low b { background: var(--ia-accent); }
.hm-rails__ceiling { display: flex; align-items: center; gap: 0.7rem; margin-top: 0.3rem; padding-top: 1rem; border-top: 1px solid var(--ia-line); font-family: var(--ia-font-display); font-size: 1.5rem; letter-spacing: 0.06em; line-height: 1; text-transform: uppercase; }
.hm-rails__ceiling::before { content: ""; width: 1.4rem; height: 14px; border-radius: 7px; background: var(--ia-accent); }
@media (min-width: 900px) { .hm-fdp { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }

/* ---------- challenge ---------- */
.hm-challenge__inner { display: grid; gap: 2rem; align-items: center; }
.hm-challenge__form { display: grid; gap: 0.8rem; justify-items: start; max-width: 30rem; }
.hm-challenge__form input[type="email"] { width: 100%; min-height: 56px; padding: 0 1rem; border: 2px solid var(--ia-line-strong); border-radius: 6px; background: transparent; color: var(--ia-bone); font: inherit; }
.hm-challenge__form input[type="email"]::placeholder { color: var(--ia-smoke-text); }
.hm-challenge__form input[type="email"]:focus-visible { border-color: var(--ia-bone); outline-offset: 2px; }
.hm-seven { font-family: var(--ia-font-display); font-size: clamp(13rem, 32vw, 25rem); line-height: 0.78; text-align: center; color: transparent; -webkit-text-stroke: 3px var(--ia-accent); }
@media (min-width: 900px) { .hm-challenge__inner { grid-template-columns: 1.3fr 0.7fr; } }

/* ---------- story and praise ---------- */
.hm-about, .hm-voices { display: grid; gap: 2.5rem; align-items: center; }
.hm-about__img img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--ia-radius); }
.hm-about .ws-head { margin-bottom: 1.5rem; }
.hm-prose { display: grid; gap: 1rem; max-width: 38rem; margin-bottom: 1.75rem; font-size: 1.125rem; color: var(--ia-bone-soft); }
.hm-voices__img img { width: min(100%, 21rem); margin-inline: auto; }
.hm-voices__quotes { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .hm-about { grid-template-columns: 0.9fr 1.1fr; gap: clamp(2.5rem, 5vw, 5rem); }
  .hm-voices { grid-template-columns: 0.7fr 1.3fr; gap: clamp(2.5rem, 5vw, 5rem); }
}

/* ---------- calm band (a still image: nothing plays on its own) ---------- */
.hm-calm { position: relative; display: grid; align-items: center; min-height: min(72vh, 40rem); overflow: clip; }
.hm-calm__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hm-calm::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 14, 14, 0.92) 0%, rgba(14, 14, 14, 0.55) 60%, rgba(14, 14, 14, 0.25) 100%); }
.hm-calm__inner { position: relative; z-index: 2; display: grid; gap: 1.1rem; padding-block: 5rem; }
.hm-calm__title { font-family: var(--ia-font-display); font-size: clamp(3.75rem, 10.5vw, 8.5rem); font-weight: 400; line-height: 0.88; text-transform: uppercase; }

/* ---------- contact ---------- */
.hm-details { display: grid; gap: 0.55rem; margin-bottom: 1.5rem; font-size: 1.2rem; font-weight: 600; }
.hm-details a { text-decoration: underline; text-decoration-color: var(--ia-accent); text-underline-offset: 5px; }

/* ---------- the film: opens only when asked ---------- */
.hm-film { width: min(92vw, 64rem); padding: 0; border: 0; border-radius: var(--ia-radius-sm); background: #000; color: var(--ia-bone); overflow: visible; }
.hm-film::backdrop { background: rgba(0, 0, 0, 0.88); }
.hm-film__frame { aspect-ratio: 16 / 9; }
.hm-film__frame iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: var(--ia-radius-sm); }
.hm-film__close { position: absolute; top: -3.6rem; right: 0; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 2px solid var(--ia-bone); border-radius: 50%; background: var(--ia-midnight); color: var(--ia-bone); cursor: pointer; }
.hm-film__close svg { width: 22px; height: 22px; }

.hm-404 { min-height: 80vh; padding-top: calc(var(--ia-nav-h) + 4rem); border-top: 0; }
