/* avgrady.com — site styles. Self-hosted fonts (no third-party font requests). */
@font-face { font-family: "Quicksand"; src: url("/assets/fonts/quicksand-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/karla-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/karla-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --teal: #007a7a;
  --teal-dark: #005c5c;
  --band: #005c5c;        /* background of teal bands: white text 7.8:1, sun-yellow labels 4.8:1 (AA) */
  --teal-50: #e6f3f2;
  --sun: #f6c453;
  --sun-dark: #e9ad2a;
  --coral: #e8735a;
  --sand: #f7f0e3;
  --sand-2: #efe3cc;
  --ink: #1d2b30;
  --ink-2: #4a5a60;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(29, 43, 48, .10);
  --shadow-sm: 0 3px 10px rgba(29, 43, 48, .08);
  --wrap: 1160px;
  --font-head: "Quicksand", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Karla", "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-dark); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--teal); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: 3.4rem; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
h2 { font-size: 2.3rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; }
.small { font-size: .95rem; color: var(--ink-2); }
.lead { font-size: 1.35rem; font-size: clamp(1.15rem, 1.8vw, 1.35rem); color: var(--ink-2); }
.eyebrow { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--teal); margin-bottom: .6em; }
.eyebrow--light { color: var(--sun); }
.rounded { border-radius: var(--radius); }

/* "To confirm" marker: visible on purpose until Alex confirms the item (see CONFIRM.md) */
.tbc { display: inline-block; background: #fff4c2; color: #6b4e00; border: 1px dashed #c9a227; border-radius: 6px; padding: 0 .4em; font-size: .78em; font-weight: 700; font-family: var(--font-body); letter-spacing: 0; text-transform: none; vertical-align: .08em; line-height: 1.5; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .4em; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn--sun { background: var(--sun); color: var(--ink); box-shadow: 0 4px 0 var(--sun-dark); }
.btn--sun:hover { background: #ffd36b; color: var(--ink); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 4px 0 var(--teal-dark); }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--teal-dark); border-color: var(--teal); }
.btn--outline:hover { background: var(--teal-50); color: var(--teal-dark); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--small { font-size: .95rem; padding: .6em 1.1em; }
.btn, .btn--small { min-height: 44px; }   /* 44px tap targets */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }   /* long button labels wrap instead of overflowing at 360px */
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.text-link { font-family: var(--font-head); font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid #eee5d3; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 44px; height: 44px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--font-head); font-size: 1.3rem; }
.brand__text small { font-size: .8rem; color: var(--ink-2); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { display: block; padding: .5em .8em; border-radius: 999px; font-family: var(--font-head); font-weight: 700; color: var(--ink); text-decoration: none; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current] { background: var(--teal-50); color: var(--teal-dark); }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--teal-50); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 22px; height: 2.5px; background: var(--teal-dark); border-radius: 2px; position: relative; content: ""; }
  .nav-toggle__bars::before { position: absolute; top: -7px; } .nav-toggle__bars::after { position: absolute; top: 7px; }
  .js .site-nav { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 10px; padding: 14px 22px 22px; background: #fff; border-bottom: 1px solid #eee5d3; box-shadow: var(--shadow); }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav a:not(.btn) { padding: .75em .9em; font-size: 1.1rem; }
  .no-js .site-nav { position: static; box-shadow: none; padding: 0 0 12px; }
  .site-header__inner { flex-wrap: wrap; }
}

/* Sections */
.section { padding: 96px 0; padding: clamp(56px, 8vw, 96px) 0; }
.section--tight { padding: 60px 0; padding: clamp(36px, 5vw, 60px) 0; }
.section--sand { background: var(--sand); }
.section--teal { background: var(--band); color: #fff; }
.section--teal .section-title { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section-head--row > div { max-width: 640px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split--media { grid-template-columns: .9fr 1.1fr; }
.two-col { display: grid; grid-template-columns: 1.6fr 1fr; gap: 64px; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split, .split--media, .two-col { grid-template-columns: 1fr; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 90% -10%, var(--teal-50), transparent 60%), linear-gradient(180deg, #fff, var(--sand)); padding: 90px 0; padding: clamp(40px, 7vw, 90px) 0 clamp(48px, 7vw, 90px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 60px; gap: clamp(28px, 5vw, 60px); align-items: center; }
.hero h1 { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 12px; }
.hero__small { font-size: 1rem; }
.hero__media { position: relative; justify-self: center; width: min(400px, 100%); }
.hero__photo { border-radius: 200px 200px var(--radius) var(--radius); overflow: hidden; background: var(--teal); box-shadow: var(--shadow); border: 8px solid #fff; }
.hero__photo img { width: 100%; aspect-ratio: 8 / 10; object-fit: cover; object-position: top; }
.hero__badge { position: absolute; left: -18px; bottom: 26px; background: var(--sun); color: var(--ink); border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; line-height: 1.1; transform: rotate(-4deg); }
.hero__badge strong { font-family: var(--font-head); font-size: 1.6rem; }
.hero__badge span { font-size: .85rem; font-weight: 700; }
@media (max-width: 860px) { .hero__grid { grid-template-columns: 1fr; } .hero__media { width: min(240px, 64%); order: -1; } .hero__badge { left: -10px; bottom: 14px; } }

.page-hero { background: linear-gradient(180deg, #fff, var(--sand)); padding: 72px 0; padding: clamp(36px, 6vw, 72px) 0; }
.page-hero--simple .wrap { max-width: 860px; }
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; gap: clamp(28px, 5vw, 56px); align-items: center; }
.page-hero__grid--about { grid-template-columns: 1.3fr .7fr; }
.page-hero__media img { box-shadow: var(--shadow); width: 100%; }
.page-hero__media--portrait img { aspect-ratio: 4 / 4.5; object-fit: cover; object-position: top; }
@media (max-width: 860px) { .page-hero__grid, .page-hero__grid--about { grid-template-columns: 1fr; } .page-hero__media--portrait { max-width: 320px; } }

.quick-facts { background: var(--band); color: #fff; }
.quick-facts__list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 auto; padding-top: 18px; padding-bottom: 18px; }
.quick-facts__list li { padding: 6px 18px; border-left: 2px solid rgba(255,255,255,.25); font-size: 1rem; }
.quick-facts__list li:first-child { border-left: 0; padding-left: 0; }
.quick-facts strong { display: block; font-family: var(--font-head); color: var(--sun); text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; }
@media (max-width: 760px) { .quick-facts__list { grid-template-columns: 1fr; } .quick-facts__list li { border-left: 0; padding: 6px 0; } }

/* Pillars */
.pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar { background: #fff; border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); border-top: 6px solid var(--teal); }
.pillar--2 { border-top-color: var(--coral); } .pillar--3 { border-top-color: var(--sun); }
.pillar__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-50); color: var(--teal-dark); font-family: var(--font-head); font-weight: 700; margin-bottom: 12px; }
.pillar p { margin: 0; color: var(--ink-2); }
.section--sand .pillar { box-shadow: none; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* Formats */
.format-teaser { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.format-teaser a { display: flex; gap: 14px; align-items: center; background: #fff; padding: 14px 18px; border-radius: 14px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .15s; }
.format-teaser a:hover { transform: translateX(4px); color: var(--ink); }
.format-teaser .icon { flex: none; width: 42px; height: 42px; padding: 9px; border-radius: 12px; background: var(--teal-50); fill: var(--teal-dark); }
.format-teaser span { display: flex; flex-direction: column; line-height: 1.25; }
.format-teaser strong { font-family: var(--font-head); font-size: 1.1rem; }
.format-teaser small { color: var(--ink-2); font-size: .92rem; }
.format-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.format-card { background: #fff; border: 2px solid #eee5d3; border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; scroll-margin-top: 100px; }
.format-card:target { border-color: var(--sun); box-shadow: 0 0 0 4px #fff4c2; }
.format-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.format-icon .icon { width: 30px; height: 30px; fill: #fff; }
.format-card:nth-child(5n+2) .format-icon { background: var(--coral); }
.format-card:nth-child(5n+3) .format-icon { background: var(--sun-dark); }
.format-card:nth-child(5n+4) .format-icon { background: var(--teal-dark); }
.format-card:nth-child(5n+5) .format-icon { background: #7a5ea8; }
.format-meta { display: grid; gap: 6px; margin: 0 0 12px; font-size: .98rem; }
.format-meta div { display: block; }
.format-meta dt, .format-meta dd { display: inline; }
.format-meta dt { margin-right: .3em; }
.format-meta dt { font-weight: 800; color: var(--teal-dark); }
.format-meta dt::after { content: ":"; }
.format-meta dd { margin: 0; color: var(--ink-2); }
.quote-link { margin-top: auto; padding-top: 14px; font-family: var(--font-head); font-weight: 700; text-decoration: none; border-top: 1px dashed #e4d7bd; }
.quote-link:hover { text-decoration: underline; }
.quote-link, .text-link { display: inline-flex; align-items: center; min-height: 44px; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: .45em; }
.ticks.plain li { display: list-item; list-style: disc; margin-left: 1.2em; }
.tick { flex: none; width: 22px; height: 22px; margin-top: .2em; fill: var(--teal); background: var(--teal-50); border-radius: 50%; padding: 3px; }
.note-box { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-left: 5px solid var(--sun); border-radius: var(--radius-sm); padding: 14px 18px; margin: 26px 0 0; box-shadow: var(--shadow-sm); }
.note-box .icon { flex: none; width: 26px; height: 26px; fill: var(--teal); }
.note-box--plain { box-shadow: none; background: var(--sand); }

/* Books */
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px; }
.book-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .book-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .book-grid--3 { grid-template-columns: 1fr; } }
.book-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.book-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.book-card__img { display: block; background: var(--sand-2); }
.book-card__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.book-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.book-card h3 { margin-bottom: .3em; }
.book-card h3 a { color: var(--ink); text-decoration: none; }
.book-card h3 a:hover { color: var(--teal-dark); text-decoration: underline; }
.book-card .btn { align-self: flex-start; margin-top: auto; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; color: var(--teal-dark); margin: 0 0 .8em; }
.bundle-feature { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--teal-50); border-radius: calc(var(--radius) + 6px); padding: 36px; padding: clamp(20px, 3vw, 36px); }
.bundle-feature img { border-radius: var(--radius); box-shadow: var(--shadow); }
.bundle-feature h2 a { color: var(--ink); text-decoration: none; }
@media (max-width: 760px) { .bundle-feature { grid-template-columns: 1fr; } }

.breadcrumbs { padding-top: 18px; font-size: .95rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ink-2); }
.breadcrumbs [aria-current] { color: var(--ink-2); }
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .3em; margin: 0 -.3em; }
.book-hero { padding: 26px 0 80px; padding: 26px 0 clamp(48px, 6vw, 80px); background: linear-gradient(180deg, #fff, var(--sand)); }
.book-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.byline { font-family: var(--font-head); font-weight: 700; color: var(--teal-dark); margin: -.2em 0 .6em; }
.book-hero__img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 18px 0 22px; padding: 16px 18px; background: #fff; border-radius: var(--radius-sm); }
.facts dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; color: var(--teal-dark); }
.facts dd { margin: 0; }
@media (max-width: 860px) { .book-hero__grid { grid-template-columns: 1fr; } }
.book-hero__grid > * { min-width: 0; }   /* let grid children shrink below their content width (360px fix) */
.buy-slot .btn { white-space: normal; max-width: 100%; }
.buy-slot { border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.buy-slot--email, .buy-slot--square { border: 2px solid #eee5d3; box-shadow: var(--shadow-sm); }
.buy-slot--email .buy-slot__help { font-size: 1rem; color: var(--ink); margin-top: .7em; }
.buy-slot__price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; margin-bottom: .5em; }
.buy-slot__help { font-size: .88rem; color: var(--ink-2); margin: .8em 0 0; }
.buy-slot__note { font-size: .88rem; color: var(--ink-2); margin: .6em 0 0; text-align: center; }
.buy-slot__alt { font-size: .95rem; margin: .4em 0 0; text-align: center; }
.buy-slot__alt a, .buy-slot__bulk a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .25em; }   /* 44px tap area */
.buy-slot__bulk { font-size: .88rem; color: var(--ink-2); margin: .5em 0 0; padding-top: .6em; border-top: 1px solid #eee5d3; text-align: center; }
.side-cta { background: var(--teal-50); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; position: sticky; top: 96px; }
.side-cta h2 { font-size: 1.45rem; }
.side-cta p { margin: 0; }
.topic-books { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.topic-books a { flex: 1 1 200px; background: #fff; border-radius: 14px; padding: 14px 18px; text-decoration: none; color: var(--ink); display: flex; justify-content: space-between; gap: 10px; border: 2px solid transparent; }
.topic-books a:hover { border-color: var(--teal); color: var(--ink); }
.topic-books strong { font-family: var(--font-head); }
.topic-books span { color: var(--teal-dark); font-weight: 700; }

/* Testimonials & clients */
.testimonials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testimonial { margin: 0; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px 28px 24px; position: relative; }
.testimonial::before { content: "“"; position: absolute; top: -18px; left: 22px; font-family: Georgia, serif; font-size: 5rem; line-height: 1; color: var(--sun); }
.testimonial blockquote { margin: 0 0 14px; font-size: 1.12rem; }
.testimonial figcaption { display: flex; flex-direction: column; line-height: 1.3; }
.testimonial figcaption span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 760px) { .testimonials { grid-template-columns: 1fr; } }
.clients-label { margin: 40px 0 12px; font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--sun); }
.clients { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.clients li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: .5em 1.1em; font-family: var(--font-head); font-weight: 700; }

.clients--detailed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.clients--detailed li { border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 2px; padding: .8em 1.1em; }
.clients--detailed span { font-family: var(--font-body); font-weight: 400; font-size: .95rem; color: #fff; }
@media (max-width: 760px) { .clients--detailed { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { counter-increment: s; background: var(--sand); border-radius: var(--radius); padding: 24px; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sun); font-family: var(--font-head); font-weight: 700; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--ink-2); }
.steps--compact { grid-template-columns: 1fr 1fr; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps, .steps--compact { grid-template-columns: 1fr; } }

.jump { padding-top: 0; }
.jump ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 0; margin: 0; }
.jump a { display: inline-block; padding: .45em 1em; border-radius: 999px; background: var(--teal-50); text-decoration: none; font-weight: 700; font-size: .95rem; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.8rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.prose h2:first-child { margin-top: 0; }
.inline-ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }

/* Resources */
.resource-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 26px; }
.resource-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; }
.resource-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.resource-card__body { padding: 24px 26px 28px; }
.resource-card h2 { font-size: 1.6rem; }
.resource-card h2 a { color: var(--ink); text-decoration: none; }
.resource-card--kit { background: var(--sand); justify-content: center; border-top: 6px solid var(--sun); }
@media (max-width: 860px) { .resource-grid { grid-template-columns: 1fr; } }
.resource-grid--3 { grid-template-columns: repeat(3, 1fr); }
.resource-card h3 { font-size: 1.35rem; }
.resource-card h3 a { color: var(--ink); text-decoration: none; }
@media (max-width: 1020px) and (min-width: 861px) { .resource-grid--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 860px) { .resource-grid--3 { grid-template-columns: 1fr; } }
.activity-preview { margin: 0 0 28px; }
.activity-preview img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 52px; gap: clamp(28px, 4vw, 52px); align-items: start; }
.contact-aside { display: grid; gap: 18px; }
.card { background: var(--sand); border-radius: var(--radius); padding: 22px 24px; }
.card h2 { font-size: 1.3rem; }
.card--teal { background: var(--band); color: #fff; }
.big-link { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; word-break: break-all; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.booking-form { scroll-margin-top: 100px; }
.booking-form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.booking-form legend { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; margin-bottom: 10px; color: var(--teal-dark); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 16px; }
.field label, .field .label { display: block; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; padding: .75em .9em; border: 2px solid #d9cdb4; border-radius: 12px; background: #fff; color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-50); }
.hint { font-size: .88rem; color: var(--ink-2); margin: 6px 0 0; }
.req { color: #b4442b; }
.opt { font-weight: 400; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; min-width: 48px; text-align: center; padding: .5em .9em; border: 2px solid #d9cdb4; border-radius: 999px; font-weight: 700; cursor: pointer; background: #fff; }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--coral); outline-offset: 2px; }
.hp { position: absolute; left: -5000px; }
.form-privacy { font-size: .92rem; color: var(--ink-2); }
.form-status { margin-top: 12px; font-weight: 700; }
.form-status.is-ok { color: var(--teal-dark); }
.form-status.is-err { color: #b4442b; }

/* CTA band */
.cta-band { background: var(--band); color: #fff; padding: 64px 0; padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(246,196,83,.18); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .25em; }
.cta-band p { margin: 0; max-width: 560px; color: #fff; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--ink); color: #dfe7e8; padding: 56px 0 24px; font-size: 1rem; }
.site-footer a:not(.btn) { color: #fff; }   /* not .btn: the yellow footer button keeps its dark text (8.98:1) */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.site-footer__brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: #fff; }
.site-footer__brand img { border-radius: 50%; }
.site-footer__h { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--sun); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.site-footer a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); font-size: .9rem; }
.site-footer__legal p { margin: 0; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* Errors */
.error-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.error-links a { display: inline-block; padding: .6em 1.1em; background: #fff; border: 2px solid var(--teal); border-radius: 999px; text-decoration: none; font-weight: 700; }

/* Footer: Cookie settings looks like the privacy link next to it */
.link-btn { display: inline-flex; align-items: center; min-height: 44px; background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
.link-btn[hidden] { display: none; }
.link-btn:hover { color: var(--sun); }

/* Cookie banner (assets/js/extras.js). Fixed position, so it never shifts the page. */
.cc { position: fixed; z-index: 90; left: 12px; right: 12px; bottom: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: 520px; margin: 0 auto;
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 18px 20px; box-shadow: 0 14px 44px rgba(29,43,48,.28); border: 2px solid var(--teal-50); }
.cc[hidden] { display: none; }
.cc-title { font-size: 1.2rem; margin: 0 0 .3em; }
.cc p { font-size: 1rem; line-height: 1.5; margin: 0 0 14px; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-actions .btn { width: 100%; }
@media (min-width: 900px) { .cc { left: 24px; right: auto; bottom: 24px; width: 440px; margin: 0; } }

/* Pop-ups (src/data/popups.json). Fixed overlay: no layout shift. */
.pop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 95; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pop[hidden] { display: none; }
@media (max-width: 600px) { .pop { align-items: flex-end; padding: 10px; } }
.pop-backdrop { position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: rgba(29,43,48,.6); }
.pop-card { position: relative; width: 100%; max-width: 480px; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--sand); color: var(--ink); border-radius: var(--radius); padding: 30px 24px 24px; box-shadow: 0 24px 60px rgba(29,43,48,.35); }
.pop-card:focus { outline: none; }
.pop-card:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }
.pop-x { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; }
.pop-x:hover { background: var(--sand-2); }
.pop-x .icon { width: 22px; height: 22px; }
.pop-title { font-size: 1.6rem; margin: 0 44px .4em 0; color: var(--teal-dark); }
.pop-body p { margin: 0 0 .8em; }
.pop-actions { margin: 16px 0 0; }
.pop-label { display: block; font-weight: 700; margin: 6px 0 6px; }
.pop-row { display: flex; flex-wrap: wrap; gap: 10px; }
.pop-row input { flex: 1 1 200px; min-width: 0; min-height: 48px; font: inherit; font-size: 1rem; padding: .7em .9em; border: 2px solid #d9cdb4; border-radius: 12px; background: #fff; color: var(--ink); }
.pop-row input:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 4px var(--teal-50); }
.pop-row .btn { flex: 1 1 auto; }
.pop-status { font-weight: 700; margin: 10px 0 0; }
.pop-status.ok { color: var(--teal-dark); }
.pop-status.err { color: #b4442b; }
.pop-note { font-size: .92rem; color: var(--ink-2); margin: 10px 0 0; }
/* 44px tap area for the small text links in the banner and pop-ups, without changing the line height */
.cc p a, .pop-note a { display: inline-block; padding: 11px 0; margin: -11px 0; }

/* Fallbacks for renderers without clamp() support (generated) */
@media (max-width: 600px) {
  h1 { font-size: 2.1rem; font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
  h2 { font-size: 1.6rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
  .lead { font-size: 1.15rem; font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
  .section { padding: 56px 0; padding: clamp(56px, 8vw, 96px) 0; }
  .section--tight { padding: 36px 0; padding: clamp(36px, 5vw, 60px) 0; }
  .split { gap: 28px; gap: clamp(28px, 5vw, 64px); }
  .two-col { gap: 28px; gap: clamp(28px, 5vw, 64px); }
  .hero { padding: 40px 0 48px; padding: clamp(40px, 7vw, 90px) 0 clamp(48px, 7vw, 90px); }
  .hero__grid { gap: 28px; gap: clamp(28px, 5vw, 60px); }
  .page-hero { padding: 36px 0; padding: clamp(36px, 6vw, 72px) 0; }
  .page-hero__grid { gap: 28px; gap: clamp(28px, 5vw, 56px); }
  .bundle-feature { gap: 24px; gap: clamp(24px, 4vw, 48px); padding: 20px; padding: clamp(20px, 3vw, 36px); }
  .book-hero { padding: 26px 0 48px; padding: 26px 0 clamp(48px, 6vw, 80px); }
  .book-hero__grid { gap: 28px; gap: clamp(28px, 5vw, 64px); }
  .prose h2 { font-size: 1.4rem; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
  .contact-grid { gap: 28px; gap: clamp(28px, 4vw, 52px); }
  .cta-band { padding: 40px 0; padding: clamp(40px, 6vw, 64px) 0; }
}
