/* Chiron Coaching site styles
   Colors and fonts are set once here, under :root. */

/* Fonts are served from this site (src/fonts), trimmed to the characters the site uses.
   EB Garamond and Barlow Semi Condensed, both under the SIL Open Font License. */
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("/fonts/eb-garamond-italic.woff2") format("woff2"); font-weight: 400 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semi-condensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("/fonts/barlow-semi-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --charcoal: #1b1a18;
  --ink: #2b2a27;
  --body: #3d3b37;
  --muted: #5b5953;
  --paper: #f8f7f4;
  --stone: #efece5;
  --line: #d8d3c6;
  --line-strong: #cfc9bb;
  /* Two golds. Text in gold uses the one made for its background, so it stays readable
     (both pass WCAG AA contrast). The rule color is for lines and shapes only. */
  --gold-on-dark: #c9a24a;
  --gold-on-light: #866318;
  --gold-rule: #b8923a;
  --gold: var(--gold-on-dark);
  --gold-deep: var(--gold-on-light);
  --offwhite: #f4f1ea;
  --soft: #d9d5ca;
  --mist: #b9b5aa;

  --display: "EB Garamond", Garamond, "Book Antiqua", Georgia, serif;
  --text: "EB Garamond", Garamond, "Book Antiqua", Georgia, serif;
  --label: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;

  --pad-x: clamp(20px, 5vw, 48px);
  --band-y: clamp(64px, 8vw, 112px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--charcoal);
  color: var(--body);
  font-family: var(--text);
  font-size: 20px;
  line-height: 1.6;
  font-variant-numeric: lining-nums;
}

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }

a { color: var(--gold-deep); }

:focus-visible { outline: 2px solid var(--gold-on-light); outline-offset: 3px; }
.band--dark :focus-visible, .site-footer :focus-visible, .has-photo :focus-visible { outline-color: var(--gold-on-dark); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 16px; background: var(--charcoal); color: var(--offwhite);
}
.skip-link:focus { top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */

.wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pad-x); }

.band { padding-block: var(--band-y); }
.band--paper { background: var(--paper); }
.band--stone { background: var(--stone); }
.band--dark { background: var(--charcoal); color: var(--soft); }

.flow { --flow: 22px; }
.flow > * + * { margin-top: var(--flow); }
.flow-lg > * + * { margin-top: clamp(48px, 6vw, 80px); }

.measure { max-width: 760px; }

.split {
  display: grid;
  grid-template-columns: var(--cols, 1fr 1.4fr);
  gap: 48px 72px;
  align-items: start;
}
.split--center { align-items: center; }
.split--even { --cols: 1fr 1fr; }
.split--wide-left { --cols: 1.3fr 1fr; }
.split--form { --cols: 1.5fr 1fr; }
.split--media-left { --cols: 0.8fr 1.6fr; }
/* If an optional photo is missing, the text takes the full width. */
.split--optional:not(:has(> .media)) { grid-template-columns: minmax(0, 820px); }

.cols-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 40px;
}
.cols-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 48px 72px;
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
}

/* ---------- Type ---------- */

.display, h1, h2, h3 { font-family: var(--display); font-weight: 400; color: var(--charcoal); text-wrap: balance; }
.band--dark :is(h1, h2, h3, .display) { color: var(--offwhite); }

.h-hero { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -0.01em; }
.h-page { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.06; letter-spacing: -0.01em; max-width: 980px; }
h2, .h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; }
h3, .h3 { font-size: 28px; line-height: 1.2; }
.h3-sm { font-size: 24px; line-height: 1.25; }
.h-closing { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.1; max-width: 900px; }

.gold { color: var(--gold-on-light); }
.band--dark .gold, .has-photo .gold { color: var(--gold-on-dark); }
.block { display: block; }

.kicker {
  display: block;
  font-family: var(--label);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.band--dark .kicker { color: var(--gold); }
.kicker--muted { color: var(--muted); font-size: 15px; }

.lede { font-size: 20px; line-height: 1.6; max-width: 720px; }
.lede-lg { font-size: 21px; max-width: 620px; color: #4d4b46; }
.strong-line { font-weight: 600; color: var(--charcoal); }
.statement { font-style: italic; font-size: 24px; line-height: 1.45; color: var(--ink); }
.mission { font-family: var(--display); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.3; color: var(--offwhite); text-wrap: pretty; }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 8px 28px;
  background: var(--gold); color: var(--charcoal);
  border: 0; cursor: pointer;
  font-family: var(--label); font-size: 17px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; text-align: center;
}
.btn:hover { background: #d6b25f; }
.btn--dark { background: var(--charcoal); color: var(--offwhite); min-height: 44px; padding-inline: 20px; font-size: 16px; }
.btn--dark:hover { background: #33312d; }

.link { color: var(--gold-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 5px; }
.link:hover { color: var(--charcoal); }
.band--dark .link { color: var(--gold); }
.band--dark .link:hover { color: var(--offwhite); }
.link--plain { color: inherit; font-weight: 400; text-decoration-color: var(--gold); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }

.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 20px 40px; border-top: 2px solid var(--gold-rule); padding-top: 32px;
}
.cta-row p { flex: 1 1 420px; max-width: 640px; font-size: 20px; color: var(--ink); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  transition: box-shadow 0.25s;
}
/* Once the page has scrolled, the header casts a light shadow and gets a little shorter. */
.site-header.is-stuck { box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(27, 26, 24, 0.08); }
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 8px 32px; padding-block: 16px;
  transition: padding 0.25s;
}
.site-header.is-stuck .wrap { padding-block: 8px; }
.logo img { height: 68px; width: auto; transition: height 0.25s; }
.site-header.is-stuck .logo img { height: 52px; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .site-header .wrap, .logo img { transition: none; }
}

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; }
.nav a:not(.btn) {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--label); font-size: 16px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--gold-deep); }
.nav a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--gold-rule);
  text-decoration-thickness: 2px; text-underline-offset: 8px;
}

.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  background: none; border: 1px solid var(--ink); color: var(--ink); cursor: pointer;
  font-family: var(--label); font-size: 16px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
}

@media (max-width: 880px) {
  .logo img, .site-header.is-stuck .logo img { height: 52px; }
  .site-header.is-stuck .wrap { padding-block: 10px; }
  /* The open menu scrolls within the screen if it is taller than the screen. */
  .nav.is-open { max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { min-height: 48px; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 9vw, 112px); }
.hero__grid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px 64px; align-items: center; }
.hero h1 .kicker { margin-bottom: 28px; }
.hero .lede { color: var(--soft); }
.compass { width: 100%; max-width: 420px; margin-inline: auto; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .compass { max-width: 260px; }
}

.page-hero { padding-block: clamp(48px, 7vw, 88px) clamp(56px, 8vw, 96px); }
.page-hero h1 .kicker { margin-bottom: 24px; }
.page-hero .lede { color: var(--soft); }

/* Optional photo behind a hero. The build adds it when photos/ has one for the page. */
.has-photo { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.has-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(27, 26, 24, 0.95) 0%, rgba(27, 26, 24, 0.88) 50%, rgba(27, 26, 24, 0.45) 100%);
}
.hero.has-photo .hero__grid { grid-template-columns: minmax(0, 720px); }
.hero.has-photo .compass { display: none; }
.hero.has-photo { padding-block: clamp(72px, 10vw, 150px); }
.page-hero.has-photo { padding-block: clamp(72px, 9vw, 130px); }
@media (max-width: 860px) {
  .has-photo::before { background: rgba(27, 26, 24, 0.86); }
}

/* ---------- Content pieces ---------- */

.rule-top { border-top: 2px solid var(--gold-rule); padding-top: 24px; }
.rule-top--thin { border-top-width: 1px; padding-top: 20px; }
.band--dark .rule-top { border-top-color: var(--gold); }

.offer { --flow: 14px; }

.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding: 16px 0 16px 28px; border-top: 1px solid var(--line); }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 27px;
  width: 8px; height: 8px; background: var(--gold-rule); transform: rotate(45deg);
}
.ticks--2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); column-gap: 40px; }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 22px 0 22px 60px; border-top: 1px solid var(--line-strong); }
.steps li:last-child { border-bottom: 1px solid var(--line-strong); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 27px;
  font-family: var(--label); font-size: 17px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-deep);
}
.steps .step-title { font-family: var(--display); font-weight: 400; font-size: 25px; line-height: 1.2; color: var(--charcoal); margin-bottom: 6px; }

.stage-num { font-family: var(--label); font-size: 17px; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-deep); }

.media picture { display: block; }
.media img { width: 100%; object-fit: cover; }
.media--portrait img { aspect-ratio: 2 / 3; }
.media--landscape img { aspect-ratio: 4 / 3; }
.media--tall img { aspect-ratio: 4 / 5; }
.media--square img { aspect-ratio: 1; }
.media figcaption, .caption {
  margin-top: 14px; font-family: var(--label); font-size: 15px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.band--dark .media figcaption { color: var(--mist); }

.next-retreat .value { font-family: var(--display); font-size: 30px; line-height: 1.2; color: var(--charcoal); }

/* Testimonials */
.quote-featured blockquote { font-family: var(--display); font-size: clamp(24px, 2.7vw, 36px); line-height: 1.32; color: var(--charcoal); max-width: 980px; text-wrap: pretty; }
.quote blockquote { color: var(--ink); }
.quote figcaption, .quote-featured figcaption {
  margin-top: 16px; font-family: var(--label); font-size: 15px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
}

.quote figcaption, .quote-featured figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { flex: none; }
.avatar img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }

/* Retreat photos */
.gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery a { display: block; }
/* Every photo is cropped to the same shape so the rows line up. The full photo opens on click. */
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.gallery .caption { margin-top: 8px; color: var(--mist); }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

.gallery-strip { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 620px) { .gallery-strip { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-bottom: 1px solid var(--line-strong); }
.faq details { border-top: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--display); font-size: 24px; line-height: 1.25; color: var(--charcoal);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--label); font-size: 26px; line-height: 1; color: var(--gold-deep); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 28px; max-width: 760px; }

/* Label and value rows */
.rows > div { padding: 14px 0; border-top: 1px solid var(--line); }
.rows dt { font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.rows dd { color: var(--ink); }

/* ---------- Forms ---------- */

.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 20px; }
.field label, .field-label {
  display: block; margin-bottom: 6px;
  font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body);
}
.field input, .field textarea, .field select {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid #8d8676; border-radius: 0; background: #fff; color: var(--charcoal);
  font-family: inherit; font-size: 18px; line-height: 1.5;
}
.field textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 17px; color: var(--muted); }
.hp { position: absolute; left: -9999px; }

/* Email signup */
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 72px; align-items: center; }
.signup-form { display: flex; flex-wrap: wrap; gap: 12px; }
.signup-form .field { flex: 1 1 240px; }
.signup-form .field label { color: inherit; }
.signup-form .btn { align-self: flex-end; }
/* Turnstile bot check. Invisible for most visitors; a checkbox appears only when Cloudflare is unsure. */
.cf-turnstile:empty { display: none; }
.signup-form .cf-turnstile { order: 3; flex-basis: 100%; }
form > div > .cf-turnstile { margin-bottom: 16px; }

/* Video testimonials */
.video-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 300px)); gap: 28px; }
.video-quote video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--charcoal); object-fit: cover; }
.video-quote figcaption {
  margin-top: 12px; font-family: var(--label); font-size: 15px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
@media (max-width: 620px) {
  .video-row { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .video-quote { scroll-snap-align: start; }
}
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

/* ---------- Closing band and footer ---------- */

.closing { padding-block: clamp(72px, 9vw, 128px) clamp(64px, 8vw, 104px); }
.closing .flow { --flow: 32px; }
.closing .lede { color: var(--soft); max-width: 680px; }

.site-footer { background: var(--charcoal); color: var(--soft); padding-bottom: 48px; }
.site-footer--solo { padding-top: 64px; }
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px 64px;
  border-top: 1px solid var(--gold); padding-top: 40px;
}
.footer-brand { flex: 1 1 260px; max-width: 360px; }
.footer-brand .name { font-family: var(--display); font-size: 28px; line-height: 1.1; color: var(--offwhite); }
.footer-brand p { margin-top: 10px; font-size: 17px; color: var(--mist); }
.footer-col h2 {
  font-family: var(--label); font-size: 15px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--soft); text-decoration: none; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--offwhite); text-decoration: underline; }
.footer-signup { flex: 1 1 100%; border-top: 1px solid #3a3833; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.footer-signup .name { font-family: var(--display); font-size: 26px; color: var(--offwhite); }
.footer-signup .signup-form { flex: 1 1 380px; max-width: 520px; }
.footer-signup .field label { color: var(--mist); }
.footer-base { margin-top: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 16px; color: var(--mist); }
.footer-base a { color: var(--mist); text-underline-offset: 4px; }

/* ---------- Blog ---------- */

.post-list { list-style: none; padding: 0; max-width: 860px; }
.post-list li { padding: 32px 0; border-top: 1px solid var(--line-strong); }
.post-list li:last-child { border-bottom: 1px solid var(--line-strong); }
.post-list h2 { font-size: clamp(28px, 3vw, 38px); margin: 8px 0 10px; }
.post-list h2 a { color: inherit; text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; text-decoration-color: var(--gold-rule); text-underline-offset: 6px; }
.post-date { font-family: var(--label); font-size: 15px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.band--dark .post-date { color: var(--gold); }

.byline { display: flex; align-items: center; gap: 14px; }
.byline img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.byline span { font-family: var(--label); font-size: 15px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }

.prose { max-width: 720px; font-size: 19px; line-height: 1.7; color: var(--ink); }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 34px; line-height: 1.15; margin-top: 1.8em; }
.prose h3 { font-size: 26px; line-height: 1.2; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { font-family: var(--display); font-size: 26px; line-height: 1.35; color: var(--charcoal); padding-block: 0.3em; }
.prose img { width: 100%; }
.prose hr { border: 0; border-top: 1px solid var(--line-strong); margin-block: 2.2em; }
.prose a { text-underline-offset: 4px; }
.prose strong { color: var(--charcoal); }
.prose code { font-size: 0.86em; background: var(--stone); padding: 2px 6px; overflow-wrap: anywhere; }

.post-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 40px; max-width: 720px; border-top: 2px solid var(--gold-rule); padding-top: 28px; }
.post-nav a { flex: 1 1 260px; text-decoration: none; color: var(--charcoal); }
.post-nav a:hover .t { text-decoration: underline; text-decoration-color: var(--gold-rule); text-underline-offset: 5px; }
.post-nav .t { display: block; font-family: var(--display); font-size: 22px; line-height: 1.25; margin-top: 4px; }
.post-nav .next { text-align: right; }

/* ---------- Photo checklist page ---------- */

.guide-stack { display: grid; gap: 48px; }
.guide-stack > * { min-width: 0; }
.guide-steps { padding-left: 1.3em; }
.guide-steps li + li { margin-top: 6px; }
.guide-notes { padding-left: 1.2em; }
.guide-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(440px, 100%), 1fr)); gap: 20px 40px; }
.guide-card { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: start; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.guide-card.is-filled { border-top: 2px solid var(--gold-rule); }
.guide-thumb { aspect-ratio: 4 / 3; background: var(--stone); border: 1px dashed #8d8676; display: grid; place-items: center; }
.guide-card.is-filled .guide-thumb { border: 0; }
.guide-thumb span { font-family: var(--label); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.guide-thumb { position: relative; overflow: hidden; }
.guide-thumb picture { position: absolute; inset: 0; }
.guide-thumb img { width: 100%; height: 100%; object-fit: contain; }
.guide-name code, .measure code, .guide-steps code { font-size: 0.9em; background: var(--stone); padding: 2px 6px; overflow-wrap: anywhere; }
.guide-gallery { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.guide-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.guide-gallery span { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 520px) { .guide-card { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
