/* The Bitcoin Course: redesign v1
   Every colour, font and corner below comes from a token, so themes (styles/themes.css) can swap them.
   Defaults are the "Steel" theme: cool steel and graphite, with orange reserved for "verified / done". */

/* Instrument Sans (SIL Open Font License), self-hosted from Google Fonts' files so visitors never contact Google */
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/instrument-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/instrument-sans-latin.woff2) format("woff2");
  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; }

:root {
  color-scheme: light;

  --paper: #F3F4F2;        /* page background */
  --surface: #FFFFFF;      /* cards */
  --raised: #FFFFFF;       /* things sitting on cards or panels: tiles, posts */
  --steel: #E6E9E8;        /* panels and the alternate section */
  --line: #D2D7D6;
  --ink: #1D2226;          /* text */
  --ink-2: #545B61;        /* secondary text */
  --signal: #F7931A;       /* accent: verified / done */
  --on-signal: #1D2226;    /* tick drawn on the accent */
  --btn: #1D2226;          /* primary buttons */
  --on-btn: #FFFFFF;
  --band: #1D2226;         /* dark band: testimonials, booking card */
  --on-ink: #ECEEED;       /* text on the band */
  --on-ink-2: #A9B0B5;
  --line-on-ink: rgba(236, 238, 237, 0.16);
  --field: #F8F9F8;
  --shadow: 29 34 38;      /* RGB triplet for shadows */

  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-head: var(--font-body);
  --font-brand: var(--font-body);
  --head-weight: 500;
  --track-adjust: 0em;     /* added to every heading's letter-spacing; serifs want it looser */
  --radius-btn: 8px;

  --photo-blend: multiply;
  --float-filter: drop-shadow(0 24px 28px rgb(var(--shadow) / 0.28));
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23545B61' stroke-width='1.6'/%3E%3C/svg%3E");

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-space: clamp(72px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible { outline-color: var(--on-ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--btn); color: var(--on-btn); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  font: 600 16px/1 var(--font-body); letter-spacing: -0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease-out;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--btn); color: var(--on-btn); }
.btn--primary:hover { background: color-mix(in srgb, var(--btn) 86%, var(--paper)); }

.btn--small { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--wrap); margin-inline: auto; padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.nav__brand {
  font-family: var(--font-brand);
  font-weight: 650; font-size: 17px; letter-spacing: -0.015em;
  text-decoration: none; color: var(--ink);
  margin-right: auto;
}
.nav__links { display: flex; gap: 28px; }
.nav__links a {
  font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none;
}
.nav__links a:hover { color: var(--ink); }

/* ---------- Site nav (from the /t1 page, round 9; on every page since 2026-11-03): a plain full-width bar at the top that eases into a floating pill once you scroll.
   Only transform, colour, radius and shadow change, never its height, so nothing on the page jumps. The pill sits 12px
   below the top of the window; its text lines up with the content edges and the pill reaches 16px past them. ---------- */
#site-nav { --ease: cubic-bezier(0.22, 1, 0.36, 1); padding-inline: calc(var(--gutter) - 16px); background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
#site-nav .nav__inner {
  max-width: calc(var(--wrap) - 2 * var(--gutter) + 32px); padding: 10px 16px; border-radius: 22px;
  background: rgb(255 255 255 / 0); box-shadow: 0 0 0 1px rgb(22 18 14 / 0), 0 14px 34px -16px rgb(22 18 14 / 0);
  backdrop-filter: blur(0px) saturate(100%); -webkit-backdrop-filter: blur(0px) saturate(100%);
  transition: transform 0.6s var(--ease), background-color 0.45s ease, box-shadow 0.6s var(--ease), border-radius 0.6s var(--ease),
              padding 0.6s var(--ease), backdrop-filter 0.45s ease, -webkit-backdrop-filter 0.45s ease;
}
#site-nav[data-scrolled="true"] .nav__inner {
  transform: translateY(12px); padding-inline: 22px 8px; border-radius: 32px;
  background: rgb(255 255 255 / 0.84); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 0 0 1px rgb(22 18 14 / 0.07), 0 14px 34px -16px rgb(22 18 14 / 0.32);
}
/* links: a soft pill fades in behind on hover, presses in on click */
#site-nav .nav__links { gap: 4px; }
#site-nav .nav__links a {
  padding: 9px 14px; border-radius: 999px; color: var(--ink-2);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s var(--ease);
}
#site-nav .nav__links a:hover { background: rgb(22 18 14 / 0.06); color: var(--ink); }
#site-nav .nav__links a:active { transform: scale(0.95); background: rgb(22 18 14 / 0.1); }
#site-nav :is(.nav__links a, .nav__brand, .btn):focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
#site-nav .btn--primary {
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 6px 16px -8px rgb(22 18 14 / 0.6);
  transition: background-color 0.2s ease, transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
#site-nav .btn--primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.14), 0 10px 22px -10px rgb(22 18 14 / 0.7); }
#site-nav .btn--primary:active { transform: scale(0.96); }
@media (prefers-reduced-motion: reduce) { #site-nav .nav__inner, #site-nav .nav__links a, #site-nav .btn--primary, #site-nav .nav__panel, #site-nav .nav__toggle span { transition-duration: 0.01s; } }
@media (max-width: 480px) {
  #site-nav .nav__brand { white-space: nowrap; }
  #site-nav .btn--primary { padding: 0 16px; font-size: 14px; }
  #site-nav[data-scrolled="true"] .nav__inner { padding-inline: 16px 6px; }
}
/* Below 960px the links stop fitting on one row: a round button takes their place and opens a card under the bar */
#site-nav .nav__inner { position: relative; }
/* sits tight against the main button, the same height: the nav's own 32px gap is for the links */
#site-nav .nav__login { min-height: 44px; margin-right: -22px; padding: 0 20px; border-radius: 999px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(22 18 14 / 0.16); }
#site-nav .nav__login:hover { background: rgb(22 18 14 / 0.06); }
#site-nav .nav__login:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; }
.form[aria-busy="true"] [type="submit"] { opacity: 0.6; pointer-events: none; }
#site-nav .nav__menu { display: none; }
@media (max-width: 960px) {
  #site-nav :is(.nav__links, .nav__login) { display: none; }
  #site-nav .nav__menu { display: flex; }
  /* The main button ("Book a free call") stays in the bar so it's always one tap away (2026-11-12).
     The menu button goes quiet beside it, so there's only one orange button. */
  #site-nav .nav__toggle { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgb(22 18 14 / 0.16); }
  #site-nav .nav__toggle:hover { background: rgb(22 18 14 / 0.06); box-shadow: inset 0 0 0 1px rgb(22 18 14 / 0.24); }
}
.nav__cta-short { display: none; }
@media (max-width: 480px) {
  #site-nav .nav__inner { gap: 8px; }
  #site-nav .nav__brand { font-size: 15px; }
  #site-nav .nav__cta { padding: 0 14px; }
}
@media (max-width: 370px) {
  #site-nav .nav__cta:has(.nav__cta-short) .nav__cta-long { display: none; }
  #site-nav .nav__cta-short { display: inline; }
}
#site-nav .nav__toggle { position: relative; width: 44px; padding: 0; }
.nav__toggle span { position: absolute; left: 13px; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.35s var(--ease); }
.nav__toggle span:first-child { transform: translateY(-4px); }
.nav__toggle span:last-child { transform: translateY(4px); }
.nav__toggle[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
#site-nav .nav__panel {
  position: absolute; top: calc(100% + 8px); inset-inline: 0; display: grid; gap: 12px; max-height: calc(100dvh - 96px); overflow-y: auto;
  padding: 10px; border-radius: 24px; background: var(--surface); box-shadow: 0 0 0 1px rgb(22 18 14 / 0.07), 0 24px 48px -20px rgb(22 18 14 / 0.4);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(0.98); transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.35s var(--ease), visibility 0.2s;
}
#site-nav .nav__toggle[aria-expanded="true"] + .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__panel nav { display: grid; }
.nav__panel nav a { padding: 13px 14px; border-radius: 14px; font-size: 18px; font-weight: 500; color: var(--ink); text-decoration: none; transition: background-color 0.2s ease; }
.nav__panel nav a:active { background: rgb(22 18 14 / 0.08); }
.nav__panel nav a:focus-visible { outline: 2px solid var(--signal); outline-offset: -2px; }
@media (hover: hover) { .nav__panel nav a:hover { background: rgb(22 18 14 / 0.06); } }
#site-nav .nav__panel .btn--primary { width: 100%; min-height: 50px; font-size: 16px; }

/* YouTube proof right under the CTA */

.proof {
  display: flex; flex-wrap: wrap; gap: 10px 40px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 15px; color: var(--ink-2);
}
.proof strong { color: var(--ink); font-weight: 600; }

/* ---------- Sections ---------- */

.section { padding-block: var(--section-space); }
.section--steel { background: var(--steel); }
.section--ink { background: var(--band); color: var(--on-ink); }

.section__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 1.35rem + 2.3vw, 3.1rem);
  line-height: 1.06;
  font-weight: var(--head-weight);
  letter-spacing: calc(-0.028em + var(--track-adjust));
  max-width: 16em;
  margin-bottom: clamp(32px, 4.5vw, 60px);
  text-wrap: balance;
}

/* Services: four cards in a 2x2 grid, photo on top */

.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 64px;
  margin-bottom: clamp(32px, 4.5vw, 60px);
}
.section__head .section__title { margin-bottom: 0; }

/* How we work */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.step__img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
  background: var(--paper);
}
.step__num {
  display: block;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
  font-family: var(--font-head);
  font-size: 40px; line-height: 1; font-weight: 400; letter-spacing: calc(-0.03em + var(--track-adjust));
  font-variant-numeric: tabular-nums;
  margin-bottom: 28px;
}
.step__title { font-size: 20px; line-height: 1.3; font-weight: 600; margin-bottom: 8px; }
.step__text { font-size: 16px; color: var(--ink-2); }

/* Talks carousel: full-bleed track that starts in line with the page content */

.talks {
  --talks-inset: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  margin-top: clamp(64px, 8vw, 104px);
}
.talks__head {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 28px;
}
.talks__title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.1rem);
  line-height: 1.1; font-weight: var(--head-weight);
  letter-spacing: calc(-0.02em + var(--track-adjust));
}
.talks__nav { display: flex; align-items: center; gap: 10px; }
.talks__more { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; font-size: 15px; font-weight: 500; text-underline-offset: 3px; }
.yt-logo { width: 24px; height: auto; flex: none; }
.talks__arrow {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface); color: var(--ink);
  cursor: pointer;
  transition: background-color 0.15s ease, opacity 0.15s ease, transform 0.1s ease-out;
}
.talks__arrow:hover { background: var(--steel); }
.talks__arrow:active:not(:disabled) { transform: scale(0.92); }
.talks__arrow:disabled { opacity: 0.35; cursor: default; background: var(--surface); }
.talks__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.talks__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(272px, 32vw, 430px);
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--talks-inset);
  padding: 4px var(--talks-inset) 8px;
  scrollbar-width: none;
}
.talks__track::-webkit-scrollbar { display: none; }
/* Snapping would fight the slow drift, so drifting rows scroll freely */
.talks--drift .talks__track { scroll-snap-type: none; }
.talks--drift .talk { translate: calc(var(--sub, 0) * -1px) 0; }
.talks + .talks { margin-top: clamp(48px, 6vw, 72px); }
.talks__track:focus-visible { outline-offset: -2px; }

.talk { scroll-snap-align: start; }
.talk__media {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--band);
}
.talk__media img { width: 100%; height: 100%; object-fit: cover; }
.talk__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* The whole thumbnail is the play button; the icon sits bottom-left so it never covers the speaker */
.talk__play {
  position: absolute; inset: 0;
  display: grid; place-items: end start;
  padding: 14px; border: 0;
  background: linear-gradient(transparent 55%, rgb(0 0 0 / 0.3));
  cursor: pointer;
}
.talk__play span {
  position: relative;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgb(255 255 255 / 0.92);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
  transition: transform 0.2s ease;
}
.talk__play span::after {
  content: ""; position: absolute; left: 20px; top: 16px;
  border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent #111;
}
.talk__play:hover span { transform: scale(1.06); }
.talk__play:active span { transform: scale(0.94); transition-duration: 0.08s; }
.talk__play:focus-visible { outline-offset: -4px; }
.talk__title { margin-top: 14px; font-size: 17px; font-weight: 600; line-height: 1.3; }
.talk__meta { margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
/* the card's text links to the video on YouTube; the underline fades in on hover */
.talk__link { display: block; color: inherit; text-decoration: none; }
.talk__title { text-decoration: underline transparent; text-underline-offset: 3px; transition: text-decoration-color 0.2s ease; }
.talk__link:hover .talk__title { text-decoration-color: currentColor; }
.talk__link:focus-visible { outline: 2px solid var(--signal); outline-offset: 2px; border-radius: 4px; }

/* What clients say: social-post cards (after The Bitcoin Way's testimonial wall) */

.posts { columns: 3 300px; column-gap: 20px; }

.post {
  position: relative;
  break-inside: avoid;
  margin-bottom: 20px;
  padding: 22px 22px 18px;
  background: var(--raised);
  color: var(--ink);
  border-radius: 16px;
  transition: box-shadow 0.15s ease;
}
.post:has(.post__link):hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--on-ink) 35%, transparent); }
.post:has(.post__link:focus-visible) { outline: 2px solid var(--on-ink); outline-offset: 3px; }

.post__head {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.post__avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--steel);
  font-size: 15px; font-weight: 600; letter-spacing: 0.02em; color: var(--ink-2);
}
.post__avatar--anon svg { width: 24px; height: 24px; color: var(--ink-2); }
.post__who { min-width: 0; line-height: 1.3; }
.post__name { display: block; font-size: 16px; font-weight: 600; }
.post__handle { display: block; font-size: 14px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post__platform { width: 22px; height: 22px; color: var(--ink); }

.post__text p { font-size: 16.5px; line-height: 1.55; }
.post__text p + p { margin-top: 12px; }

.post__foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline;
  gap: 6px 16px;
  margin-top: 16px;
  font-size: 14px; line-height: 1.4; color: var(--ink-2);
}
.post__link { color: var(--ink); font-weight: 500; text-underline-offset: 3px; white-space: nowrap; }
.post__link:focus-visible { outline: none; }
/* The whole card opens the original post */
.post__link::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }

/* Book a call */

/* Text on the left, the booking card (and message form) on the right */
.book {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
  gap: 24px clamp(40px, 6vw, 96px);
  align-items: start;
}

/* The booking card: the strongest call to action on the page */

.call {
  background: var(--band);
  color: var(--on-ink);
  border: 1px solid var(--line-on-ink);
  border-radius: 20px;
  padding: clamp(28px, 3.6vw, 44px);
  box-shadow: 0 40px 80px -40px rgb(var(--shadow) / 0.55);
}
.call :focus-visible { outline-color: var(--on-ink); }

.call__facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 18px;
  font-size: 15.5px; color: var(--on-ink-2);
}
.call__facts li { display: inline-flex; align-items: center; gap: 8px; }
.call__facts svg {
  width: 18px; height: 18px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.btn--call {
  width: 100%;
  min-height: 66px;
  margin-top: 30px;
  background: var(--on-ink); color: var(--band);
  border-radius: max(12px, var(--radius-btn));
  font-size: 19px;
}
.btn--call:hover { background: color-mix(in srgb, var(--on-ink) 86%, var(--band)); }

/* The message form, tucked behind a disclosure */

.write {
  grid-column: 1 / -1;
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.write summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  list-style: none;
  cursor: pointer;
  font-size: 16px; font-weight: 500; color: var(--ink-2);
}
.write summary::-webkit-details-marker { display: none; }
.write summary::after {
  content: ""; flex: none;
  width: 8px; height: 8px; margin-top: -4px;
  border: solid currentColor; border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.write summary:hover { color: var(--ink); }
.write[open] summary { color: var(--ink); }
.write[open] summary::after { margin-top: 4px; transform: rotate(-135deg); }
.write .form { padding: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
/* Full width: two fields to a row, the message and the send row across both */
@media (min-width: 761px) {
  .write .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .write .field:has(textarea), .write fieldset.field { grid-column: 1 / -1; }
}
/* The form slides open and shut (browsers without ::details-content just snap open) */
@media (prefers-reduced-motion: no-preference) {
  .write { interpolate-size: allow-keywords; }
  .write::details-content {
    block-size: 0; overflow: clip;
    transition: block-size 0.45s cubic-bezier(0.22, 1, 0.36, 1), content-visibility 0.45s allow-discrete;
  }
  .write[open]::details-content { block-size: auto; }
}

.field { margin-bottom: 22px; }
fieldset.field { border: 0; padding: 0; min-width: 0; }
.field label, .field legend {
  display: block; padding: 0;
  font-size: 15px; font-weight: 600;
  margin-bottom: 10px;
}
/* Inputs (round 7): taller, softly rounded, a warm focus ring */
.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; min-height: 54px;
  font: 400 17px/1.4 var(--font-body); color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.field textarea { resize: vertical; min-height: 128px; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding-right: 44px;
  background-image: var(--chevron);
  background-repeat: no-repeat; background-position: right 16px center;
  cursor: pointer;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: #F7931A;
  box-shadow: 0 0 0 4px rgb(247 147 26 / 0.18);
}
/* Customisable select where the browser supports it (Chrome, Edge): the open list matches the inputs, not the OS menu */
@supports (appearance: base-select) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select { display: flex; align-items: center; background-image: none; }
  .field select::picker-icon { content: ""; width: 10px; height: 10px; margin-left: auto; border: solid var(--ink-2); border-width: 0 1.8px 1.8px 0; rotate: 45deg; translate: 0 -3px; transition: rotate 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
  .field select:open::picker-icon { rotate: 225deg; translate: 0 2px; }
  .field select::picker(select) {
    margin-top: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 16px;
    background: var(--field); box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.28);
    opacity: 0; translate: 0 -6px;
    transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1), translate 0.25s cubic-bezier(0.22, 1, 0.36, 1), overlay 0.25s allow-discrete, display 0.25s allow-discrete;
  }
  .field select:open::picker(select) { opacity: 1; translate: 0; }
  @starting-style { .field select:open::picker(select) { opacity: 0; translate: 0 -6px; } }
  .field select option { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 16px; cursor: pointer; }
  .field select option:hover, .field select option:focus-visible { background: color-mix(in srgb, var(--ink) 6%, transparent); outline: none; }
  .field select option:checked { font-weight: 600; }
  .field select option::checkmark { order: 2; margin-left: auto; color: #F7931A; }
  .field select option:disabled { display: none; }
}

/* What do you want help with: four big checkable cards, an icon, the name and one line each */
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.field .pick {
  position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: start; align-content: start;
  margin: 0 !important; padding: 16px 44px 16px 16px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--field); font-weight: 400 !important; cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.pick:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.pick:active { transform: scale(0.985); }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__icon { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(247 147 26 / 0.14); color: #B86A0B; }
.pick__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pick__name { font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.pick__line { margin-top: 3px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
/* the tick in the corner */
.pick::after {
  content: ""; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--field) no-repeat center / 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.pick:has(input:checked) { border-color: #F7931A; background: color-mix(in srgb, #F7931A 7%, var(--field)); box-shadow: 0 0 0 1px #F7931A; }
.pick:has(input:checked)::after {
  border-color: #F7931A; transform: scale(1.08);
  background-color: #F7931A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316120E' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.pick:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 600px) { .picks { grid-template-columns: minmax(0, 1fr); } }

/* Send row: the note first, the button last */
.form__send { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; grid-column: 1 / -1; margin-top: 4px; }
.form__btn { min-height: 54px; padding: 0 26px; gap: 10px; font-size: 16px; border-radius: 999px; }
.form__btn span { transition: translate 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.form__btn:hover span { translate: 4px 0; }
.book__task { font-size: 15px; color: var(--ink-2); }
@media (max-width: 600px) { .form__btn { width: 100%; } }

/* ---------- Footer ---------- */

/* Light, plain footer (2026-10-31): brand, link columns and the newsletter as the last column (2026-11-17), a faint
   wordmark across the width, then the legal line */
.footer { overflow: hidden; padding: 0 0 24px; background: var(--paper); border-top: 1px solid var(--line); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.footer__main {
  display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.75fr)) minmax(0, 2fr); gap: 32px;
  padding-top: clamp(48px, 6vw, 72px);
}
/* the newsletter: the last column, headed like the link columns */
.footer__news { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.footer__news h3 { margin-bottom: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.footer__news .news__title { font-family: var(--font-head); font-size: 18px; font-weight: var(--head-weight); letter-spacing: -0.01em; color: var(--ink); }
.footer__news > p:not(.news__title) { margin: 4px 0 16px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.footer__legal a { color: inherit; text-underline-offset: 3px; }
.footer__legal a:hover { color: var(--ink); }
.footer__brand { display: grid; justify-items: start; align-content: start; gap: 12px; }
.footer__brand > p { max-width: 26em; font-size: 15px; color: var(--ink-2); }
.footer__col { display: grid; align-content: start; justify-items: start; gap: 10px; }
.footer__col h3 { margin-bottom: 4px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-2); }
.footer__col a { font-size: 15.5px; color: var(--ink); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--steel);
  transition: background-color 0.15s ease, transform 0.1s ease-out;
}
.footer__social a:hover { background: color-mix(in srgb, var(--steel) 80%, var(--ink)); text-decoration: none; }
.footer__social a:active { transform: scale(0.94); }
.footer__social svg { width: 20px; height: 20px; }

/* Newsletter, compact under the brand */

.news__title { font-size: 15px; font-weight: 600; letter-spacing: 0; }

.news__form {
  position: relative;
  display: flex; gap: 8px;
  padding: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.15s ease;
}
.news__form:focus-within { border-color: var(--ink-2); }
.news__form input[type="email"] {
  flex: 1; min-width: 0;
  padding: 0 16px;
  font: 400 16px/1 var(--font-body); color: var(--ink);
  background: transparent; border: 0; outline: none;
}
.news__form input::placeholder { color: var(--ink-2); }
.news__form .btn--call { width: auto; min-height: 44px; margin: 0; padding: 0 20px; border-radius: 999px; font-size: 15px; background: var(--btn); color: var(--on-btn); }
.news__form .btn--call:hover { background: color-mix(in srgb, var(--btn) 86%, var(--paper)); }
.news__form .btn:disabled { opacity: 0.6; cursor: default; }
.news__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.news__error { position: absolute; top: calc(100% + 8px); left: 20px; font-size: 14px; color: #B3261E; }
.news__error:empty { display: none; }
.news__done { font-size: 16px; }
/* Turnstile box: empty and invisible unless Cloudflare asks the visitor to click */
.ts-box:empty { display: none; }
.news__form .ts-box { position: absolute; top: calc(100% + 8px); right: 0; z-index: 5; }

/* Faint wordmark across the full width */
.footer__wordmark {
  margin: clamp(48px, 6vw, 80px) 0 0; text-align: center; white-space: nowrap;
  font: 600 min(10.4vw, 10rem)/0.85 var(--font-head); letter-spacing: -0.055em;
  color: color-mix(in srgb, var(--ink) 6%, transparent);
}
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); }

@media (max-width: 900px) {
  .footer__main { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand, .footer__news { grid-column: 1 / -1; }
  .footer__news { max-width: 460px; }
}
@media (max-width: 560px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  
  .book { grid-template-columns: minmax(0, 1fr); max-width: calc(640px + 2 * var(--gutter)); }
  
}

@media (max-width: 760px) {
  body { font-size: 17px; }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
  .step__num { margin-bottom: 16px; }
  
}

@media (max-width: 480px) {
  .nav__inner { gap: 16px; }
  
  
}

/* ---------- Accessibility preferences (Apple: frostier glass, defined edges) ---------- */

@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--paper); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-contrast: more) {
  .nav { background: var(--paper); }
  .write { box-shadow: 0 0 0 1px var(--ink-2); }
}

/* ---------- Booking page (/book/) ---------- */

.booking { padding-top: clamp(48px, 7vw, 96px); }
.booking__head { margin-bottom: 32px; }
.booking__head .section__title { margin-bottom: 0; }
.booking__intro { max-width: 40em; margin-top: 12px; font-size: clamp(17px, 1rem + 0.3vw, 19px); line-height: 1.5; color: var(--ink-2); }
/* one client quote under the calendar (2026-11-12): picture on the left, text reading left to right across the full width */
.booking__quote { display: flex; align-items: flex-start; gap: 16px; margin-top: clamp(24px, 3vw, 36px); }
.booking__quote > img { flex: none; width: 48px; height: 48px; border-radius: 50%; }
.booking__quote blockquote { margin: 0; font-size: clamp(16px, 0.95rem + 0.3vw, 18px); line-height: 1.55; color: var(--ink); }
.booking__who { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.booking__who strong { font-weight: 600; color: var(--ink); }
.booking__who a { color: var(--ink); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 520px) { .booking__quote { gap: 12px; } .booking__quote > img { width: 40px; height: 40px; } }

.cal {
  position: relative;
  height: 700px;
  overflow: hidden;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--line) 55%, transparent), 0 24px 48px -32px rgb(var(--shadow) / 0.3);
}
.cal iframe { display: block; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 0.4s ease; }
.cal iframe.is-loaded { opacity: 1; }
.cal__loading {
  position: absolute; inset: 0 0 auto; height: 320px;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  font-size: 15px; color: var(--ink-2);
}
.cal__loading span {
  width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--line); border-top-color: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  .cal__loading span { animation: spin 0.8s linear infinite; }
}
@keyframes spin { to { rotate: 1turn; } }
@media (max-width: 760px) { .cal { height: 1100px; } }

/* between the calendar and the form: a dashed rule with "or" in the middle */
.booking__or { display: flex; align-items: center; gap: 20px; margin: clamp(44px, 6vw, 72px) 0; font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.booking__or::before, .booking__or::after { content: ""; flex: 1; border-top: 2px dashed var(--line); }
.booking__or span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
/* the form runs as wide as the calendar, two fields to a row */
.booking__write { max-width: none; }
@media (min-width: 761px) {
  .booking__write .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .booking__write .field:has(textarea), .booking__write fieldset.field { grid-column: 1 / -1; }
}
.booking__write .talks__title { margin-bottom: 24px; }
.booking__write .form {
  padding: clamp(20px, 3vw, 32px);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
}

/* Contact (2026-11-16): one narrow column with the booking page's form card, then the email line and a way to book */
.contact { padding-top: clamp(48px, 7vw, 96px); }
.contact__wrap { max-width: 760px; }
.contact .section__title { margin-bottom: 0; }
.contact__intro { margin-top: 12px; font-size: clamp(17px, 1rem + 0.3vw, 19px); line-height: 1.5; color: var(--ink-2); }
.contact__form {
  margin-top: clamp(24px, 3vw, 36px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 16px;
}
@media (min-width: 761px) {
  .contact__form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
  .contact__form .field:has(textarea) { grid-column: 1 / -1; }
}
.contact__email { margin-top: 20px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.contact__email a { color: var(--ink); text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact__book {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: clamp(32px, 4vw, 48px); padding: 20px 24px; border-radius: 16px;
  background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none;
}
.contact__book strong { display: block; font-size: 17px; font-weight: 600; }
.contact__book > span:first-child > span { font-size: 15px; color: var(--ink-2); }
.contact__book-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.contact__book-cta span { transition: translate 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.contact__book:hover .contact__book-cta span { translate: 3px 0; }

/* Talks and tutorials: the last section, a white band edge to edge right above the footer */
.media {
  padding-block: clamp(56px, 7vw, 96px);
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.media > .talks:first-of-type { margin-top: 0; }

/* ===== Work with Cole (round 2026-10-31): a framed, muted loop of Cole's Beginner Self-Custody Workshop with the copy.
   TEMP variations: 0 one split card, 1 video on top of the card with the copy inside it,
   2 video card with the copy below on the page, 3 video card with the copy in three columns ===== */

/* ===== What people say: glass over Bitcoin (picked 2026-10-31). Every post as frosted cards over an orange neon ₿ sign
   (Valentin Angel Fernandez, Pexels 29012807, free licence), in a wall that shows its first rows and a Show more button
   (after CryptoSea on details.so: fixed-height wall fading out, a small centred pill under it). src/app/testimonials.tsx ===== */
#clients { position: relative; overflow: hidden; background: #1E1206 url("/images/testimonials-bitcoin-neon.webp") center 45% / cover no-repeat; color: #FFFFFF; }
#clients::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(20 16 12 / 0.55), rgb(20 16 12 / 0.35)); }
#clients > * { position: relative; }
#clients .post {
  background: rgb(24 19 15 / 0.58); color: #FFFFFF;
  -webkit-backdrop-filter: blur(24px) saturate(140%); backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgb(255 255 255 / 0.16);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
/* hover: an orange light along the card's top edge (CryptoSea uses blue) */
#clients .post:hover { border-color: rgb(247 147 26 / 0.45); box-shadow: inset 0 1px 0 rgb(247 147 26 / 0.9), 0 -14px 40px -24px rgb(247 147 26 / 0.8); }
#clients :is(.post__handle, .post__foot) { color: rgb(255 255 255 / 0.72); }
#clients .post__link { color: #FFFFFF; }
#clients .post__avatar { background: rgb(255 255 255 / 0.16); color: #FFFFFF; }
#clients .post__avatar--anon svg, #clients .post__platform:not([aria-label="YouTube"]) { color: #FFFFFF; }
#clients .post__platform[aria-label="YouTube"] { color: #FF0000; }
@media (prefers-reduced-transparency: reduce) { #clients .post { background: rgb(29 34 38 / 0.9); } }

/* The wall: a fixed height that fades out, growing to its full height on Show more and shrinking back on Show less */
@property --tm-fade { syntax: "<length>"; inherits: false; initial-value: 0px; }
.tm-wall {
  --tm-fade: 260px;
  height: 720px; overflow: clip; interpolate-size: allow-keywords;
  -webkit-mask-image: linear-gradient(#000 calc(100% - var(--tm-fade)), transparent);
  mask-image: linear-gradient(#000 calc(100% - var(--tm-fade)), transparent);
  transition: height 0.7s cubic-bezier(0.22, 1, 0.36, 1), --tm-fade 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.tm-wall[data-open="true"] { height: auto; --tm-fade: 0px; }
.tm-more {
  display: flex; align-items: center; gap: 8px; margin: 8px auto 0; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid rgb(255 255 255 / 0.22); cursor: pointer;
  font: 500 16px/1 var(--font-body); color: #FFFFFF; background: rgb(255 255 255 / 0.1);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transition: background-color 0.2s ease, transform 0.12s cubic-bezier(0.22, 1, 0.36, 1);
}
.tm-more:hover { background: rgb(255 255 255 / 0.18); }
.tm-more:active { transform: scale(0.97); }
.tm-more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: rotate 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.tm-more[aria-expanded="true"] svg { rotate: 180deg; }
.tm-more:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
@media (max-width: 700px) { .tm-wall { height: 900px; } }
@media (prefers-reduced-motion: reduce) { .tm-wall { transition-duration: 0.2s; } }

/* ===== How we work together: scroll timeline (picked 2026-10-30) ===== */

/* Scroll timeline. Numbers sit on a centre line that fills orange as you scroll; photo and text alternate sides. */
#how .steps { position: relative; grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 8vw, 112px); }
#how .steps::before, #how .steps::after {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; translate: -1px 0; background: var(--line);
}
#how .steps::after { background: var(--signal); transform-origin: top; }
/* the line stops at the last number: this covers it from under the number to the end of the list */
#how .step:last-child::after { content: ""; position: absolute; z-index: 1; left: 50%; top: calc(50% + 26px); bottom: 0; width: 4px; translate: -2px 0; background: var(--paper); }
@supports (animation-timeline: view()) {
  #how .steps::after { animation: line-fill linear both; animation-timeline: view(); animation-range: entry 50% cover 75%; }
}
@keyframes line-fill { from { transform: scaleY(0); } to { transform: scaleY(1); } }
#how .step {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(64px, 10vw, 144px);
  grid-template-rows: 1fr auto auto 1fr; padding: 0; border: 0;
}
#how .step__img { grid-column: 1; grid-row: 1 / -1; margin: 0; border-radius: 24px; box-shadow: 0 30px 60px -40px rgb(var(--shadow) / 0.6); }
#how .step:nth-child(even) .step__img { grid-column: 2; }
#how :is(.step__title, .step__text) { grid-column: 2; }
#how .step:nth-child(even) :is(.step__title, .step__text) { grid-column: 1; text-align: right; justify-self: end; }
#how .step__title { grid-row: 2; margin-bottom: 12px; font-family: var(--font-head); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.6rem); font-weight: var(--head-weight); letter-spacing: -0.025em; }
#how .step__text { grid-row: 3; font-size: 17.5px; max-width: 26em; }
/* the number is a dot on the line */
#how .step__num {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1;
  display: grid; place-items: center; width: 52px; height: 52px; margin: 0; padding: 0;
  border: 4px solid var(--steel); border-radius: 50%; background: var(--signal); color: var(--on-signal); font-size: 20px; font-weight: 600;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    #how .step > :not(.step__num) { animation: step-in linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; }
  }
}
@keyframes step-in { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 760px) {
  #how .steps::before, #how .steps::after { left: 26px; }
  #how .step:last-child::after { left: 26px; top: 50px; }
  #how .step { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; padding-left: 68px; }
  #how .step :is(.step__img, .step__title, .step__text) { grid-column: 1 !important; grid-row: auto !important; text-align: left !important; justify-self: start !important; }
  #how .step__img { margin-bottom: 16px; }
  #how .step__num { left: 26px; top: 24px; }
}

/* Photo credits page (2026-11-01) */
.credits__list { display: grid; margin-top: 32px; border-top: 1px solid var(--line); }
.credits__list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.credits__list span, .credits__note { color: var(--ink-2); }
.credits__list a { color: inherit; text-underline-offset: 3px; }
.credits__list a:hover { color: var(--ink); }
.credits__note { margin-top: 24px; font-size: 14px; }
@media (max-width: 560px) { .credits__list li { grid-template-columns: minmax(0, 1fr); } }

/* Error pages: 404, a page that fails, the whole site failing (error-view.tsx, 2026-11-10) */
.err { padding: clamp(72px, 12vw, 160px) 0 clamp(80px, 12vw, 160px); text-align: center; }
.err__code { margin: 0; font-size: clamp(96px, 20vw, 220px); font-weight: 600; line-height: 0.9; letter-spacing: -0.06em; color: var(--signal); }
.err h1 { margin: 24px 0 14px; font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }
.err__text { max-width: 520px; margin: 0 auto 36px; font-size: 18px; line-height: 1.55; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.err__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.err__more { margin: 32px 0 0; font-size: 15px; color: color-mix(in srgb, var(--ink) 72%, transparent); }
.err__more a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 520px) { .err__actions .t1-btn { width: 100%; } }
.err__actions button.t1-btn { border: 0; cursor: pointer; font: inherit; }
.err__actions .err__alt { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--ink) 22%, transparent); }
.err__actions .err__alt:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
