/* Fonts: self-hosted (add the .woff2 files to /fonts). Italiana and Tenor Sans are free, open-licence fonts. */
@font-face { font-family: "Italiana"; src: url("fonts/italiana-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Tenor Sans"; src: url("fonts/tenor-sans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* Experiment: Gentle Pilates-inspired palette (black, white, blush, dusty rose).
   Fonts use macOS-installed Bodoni 72 / Avenir Next for preview only; self-host
   Bodoni Moda + Figtree (OFL) before publishing so other devices match. */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #111111;
  --muted: #5f5753;
  --accent: #111111;
  --accent-dark: #000000;
  --accent-soft: #f6edea;
  --warm: #f6edea;
  --border: #eadcd5;
  --rose: #e4cbc0;
  --rose-deep: #ddb9aa;
  --red: #c0392b;
  --radius: 14px;
  --max: 68rem;
  --measure: 40rem;
  --serif: "Italiana", "Bodoni Moda", "Bodoni 72", Didot, "Bodoni MT", Georgia, serif;
  --sans: "Figtree", "Avenir Next", "Proxima Nova", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121010;
    --surface: #1c1818;
    --text: #f3ebe7;
    --muted: #b7aba5;
    --accent: #e4cbc0;
    --accent-dark: #f3ddd2;
    --accent-soft: #231e1d;
    --warm: #1a1615;
    --border: #3a302d;
    --red: #e57373;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.2;
  font-weight: 500;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-top: 1.8em; }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: normal; } /* Italiana has no italic */

p { margin: 0 0 1.1em; }
a { color: var(--text); text-decoration-color: var(--rose-deep); text-decoration-thickness: 2px; text-underline-offset: 4px; }
a:hover { color: var(--accent-dark); text-decoration-color: currentColor; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.measure { max-width: var(--measure); }

.skip {
  position: absolute; left: -999px; top: 0;
  background: #111; color: #fff; padding: 0.5rem 1rem; z-index: 10;
}
.skip:focus { left: 0; }

/* Header */
.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 5;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; padding-top: 0.8rem; padding-bottom: 0.8rem;
}
.brand {
  font-family: var(--serif); font-weight: 400; font-size: 2.2rem; letter-spacing: 0.01em;
  color: var(--text); text-decoration: none;
}
.brand small {
  display: block; font-family: "Tenor Sans", var(--sans); font-weight: 400;
  font-size: 0.68rem; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.95rem; padding: 0.2rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: var(--text); }
.nav a[aria-current="page"] { border-bottom-color: var(--text); }
.ig-link { display: inline-flex; align-items: center; gap: 0.35rem; }
.ig-link svg { width: 1.15rem; height: 1.15rem; }

/* Buttons */
.btn {
  display: inline-block; background: #111; color: #fff;
  padding: 0.8rem 1.7rem; border-radius: 999px; text-decoration: none;
  font-weight: 500; border: 0; cursor: pointer; font-size: 0.82rem; font-family: inherit;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.btn:hover { background: var(--rose-deep); color: #111; }
.btn.ghost { background: transparent; color: #111; border: 1.5px solid #111; }
.btn.ghost:hover { background: var(--rose); color: #111; }
@media (prefers-color-scheme: dark) {
  .btn { background: var(--rose); color: #111; }
  .btn:hover { background: #fff; color: #111; }
  .btn.ghost { background: transparent; color: var(--rose); border-color: var(--rose); }
  .btn.ghost:hover { background: var(--rose); color: #111; }
}

/* Hero: black band with italic serif accent, like the reference */
.hero-band { background: #000; color: #fff; text-align: center; }
.hero { padding-top: 4.5rem; padding-bottom: 3rem; }
.hero .eyebrow {
  font-family: var(--serif); font-style: normal; font-size: 1.65rem;
  color: var(--rose-deep); margin-bottom: 1.2rem; letter-spacing: 0.01em;
}
.hero h1 { max-width: 46rem; margin-left: auto; margin-right: auto; }
.hero p.lead { font-size: 1.15rem; color: #e9e1dd; max-width: 40rem; margin-left: auto; margin-right: auto; }
.hero .actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: 1.8rem; justify-content: center; }
.hero-band .btn { background: var(--rose); color: #111; }
.hero-band .btn:hover { background: #fff; color: #111; }
.hero-band .btn.ghost { background: transparent; color: var(--rose); border: 1.5px solid var(--rose); }
.hero-band .btn.ghost:hover { background: var(--rose); color: #111; }
.trust {
  border-top: 1px solid #333; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding: 1.4rem 0 1.8rem; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.trust span { flex: 1 1 10rem; text-align: center; }

/* Sections */
section { padding: 2.5rem 0; }
.band { background: var(--warm); }
.band.soft { background: var(--rose); color: #111; }
.band.soft .signup { background: var(--accent-soft); border-color: transparent; color: #111; }
.band.soft .signup p, .band.soft .signup a { color: #111; }
@media (prefers-color-scheme: dark) {
  .band.soft { background: var(--accent-soft); color: var(--text); }
  .band.soft .signup { background: var(--surface); color: var(--text); }
  .band.soft .signup p { color: var(--text); }
}

.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); margin-top: 1.2rem; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
}
.card h3 { margin-bottom: 0.4em; }
.card p:last-child { margin-bottom: 0; }

.article-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.article-list a.card { display: block; text-decoration: none; color: var(--text); }
.article-list a.card:hover { border-color: var(--rose-deep); background: var(--accent-soft); }
.article-list .meta { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.article-list .read { font-weight: 500; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Article */
.article-head { padding-top: 3rem; padding-bottom: 1rem; }
@media (max-width: 40rem) {
  .site-header { position: static; }
  .hero { padding-top: 2.5rem; }
  .article-head { padding-top: 2rem; }
  .trust { flex-direction: column; gap: 0.4rem; }
}
.article-head .meta { color: var(--muted); font-size: 0.92rem; }
.article-body p, .article-body li { max-width: var(--measure); }
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin-bottom: 0.5em; }
.pull {
  border-left: 3px solid var(--rose-deep); padding: 0.3rem 0 0.3rem 1.2rem;
  font-family: var(--serif); font-size: 1.75rem; color: var(--text);
  max-width: var(--measure); margin: 1.8rem 0;
}
.draft-note {
  background: #fff4cc; color: #5a4600; border: 1px dashed #c9a400;
  padding: 0.8rem 1rem; border-radius: 10px; font-size: 0.92rem; max-width: var(--measure);
}
.disclaimer-line { font-size: 0.88rem; color: var(--muted); max-width: var(--measure); }

/* Newsletter form */
.signup { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; max-width: var(--measure); margin: 2rem 0; }
.signup h3 { margin-top: 0; }
.signup form { display: grid; gap: 0.8rem; margin-top: 1rem; }
.signup label.field { font-size: 0.92rem; font-weight: 600; display: block; }
.signup input[type="email"], .signup input[type="text"] {
  width: 100%; padding: 0.7rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font-size: 1rem; font-family: inherit;
}
.signup .consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.86rem; color: var(--muted); }
.signup .consent input { margin-top: 0.35rem; }
.signup .msg { font-size: 0.9rem; margin: 0; min-height: 1.2em; }
.follow { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }

/* Contact */
.contact-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; max-width: var(--measure); }
dl.facts { margin: 0; display: grid; grid-template-columns: 8rem 1fr; gap: 0.6rem 1rem; }
dl.facts dt { font-weight: 600; color: var(--muted); }
dl.facts dd { margin: 0; }
@media (max-width: 30rem) { dl.facts { grid-template-columns: 1fr; gap: 0.1rem; } dl.facts dd { margin-bottom: 0.8rem; } }

/* Footer */
.site-footer { background: #000; color: #cfc4be; padding: 2.2rem 0 2.5rem; margin-top: 3rem; font-size: 0.9rem; }
.site-footer .wrap { display: grid; gap: 0.8rem; }
.site-footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration-color: #555; }
.site-footer a:hover { color: var(--rose); }

:focus-visible { outline: 3px solid var(--rose-deep); outline-offset: 2px; border-radius: 4px; }

/* Resources */
.resource-group { margin-top: 2rem; padding: 2rem 0 0.5rem; border-top: 1px solid var(--rose-deep); }
.resource-group > h2 { margin-top: 0; }
.resource-group > p.sub { color: var(--muted); max-width: var(--measure); }
.resource { display: block; text-decoration: none; color: var(--text); }
a.resource:hover { border-color: var(--rose-deep); background: var(--accent-soft); }
.resource .tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #111; background: var(--rose); padding: 0.15rem 0.7rem; border-radius: 999px; margin-bottom: 0.6rem;
}
.resource .go { font-weight: 500; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== Warm accent: playful fingerpaint-style touches ===== */
:root {
  --coral: #e0694a;
  --marigold: #f2b14a;
  --berry: #c9738c;
  --squiggle: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 12'%3E%3Cpath d='M2 6 Q8 0 14 6 T26 6 T38 6 T50 6 T62 6' fill='none' stroke='%23f2b14a' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* One painted phrase in the hero, like the rainbow word on Rachel Rudman's site */
.hero h1 em {
  background: linear-gradient(90deg, var(--coral), var(--marigold) 55%, var(--berry));
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  padding-right: 0.08em;
}

/* Hand-drawn wavy underline under section headings */
main section h2::after, .resource-group > h2::after {
  content: ""; display: block; width: 4.5rem; height: 0.7rem; margin-top: 0.3rem;
  background: var(--squiggle) no-repeat left center / contain;
}
.hero-band h1::after { content: none; }

/* Colour-coded audience cards */
.cards .card { border-top: 5px solid var(--coral); }
.cards .card:nth-child(2) { border-top-color: var(--marigold); }
.cards .card:nth-child(3) { border-top-color: var(--berry); }

a:hover { color: var(--coral); }
.btn:hover { background: var(--coral); color: #111; }
.hero-band .btn:hover { background: var(--marigold); color: #111; }
.resource .tag { background: #fbe3b8; }
.trust span:nth-child(2) { color: var(--marigold); }

/* ===== Pale hero variant: softer and gentler for parents ===== */
.hero-band {
  background:
    radial-gradient(circle at 10% 15%, #f9d6c4 0, transparent 38%),
    radial-gradient(circle at 92% 85%, #f7e0a8 0, transparent 34%),
    #f6edea;
  color: #111;
}
.hero .eyebrow { color: #b04f6e; }
.hero p.lead { color: #4a423e; }
.hero h1 em {
  background: linear-gradient(90deg, #c4502f, #d98a12 55%, #b04f6e);
  -webkit-background-clip: text; background-clip: text;
}
.hero-band .btn { background: #111; color: #fff; }
.hero-band .btn:hover { background: var(--coral); color: #111; }
.hero-band .btn.ghost { background: transparent; color: #111; border: 1.5px solid #111; }
.hero-band .btn.ghost:hover { background: #fff; color: #111; }
.trust { border-top-color: #e3cfc6; color: #111; }
.trust span:nth-child(2) { color: #b04f6e; }
.site-footer { background: var(--rose); color: #3a302d; }
.site-footer a { color: #111; text-decoration-color: #b98f7e; }
.site-footer a:hover { color: #b04f6e; }
@media (prefers-color-scheme: dark) {
  .hero-band { background: radial-gradient(circle at 10% 15%, #3a2620 0, transparent 38%), #1a1615; color: #f3ebe7; }
  .hero p.lead { color: #d9cdc7; }
  .hero-band .btn { background: var(--rose); color: #111; }
  .hero-band .btn.ghost { color: var(--rose); border-color: var(--rose); }
  .trust { border-top-color: #3a302d; color: #f3ebe7; }
  .site-footer { background: #000; color: #cfc4be; }
  .site-footer a { color: #fff; }
}

/* Keep the Subscribe button text readable inside the rose band */
.band.soft .signup a.btn { color: #fff; }
.band.soft .signup a.btn:hover { color: #111; }
@media (prefers-color-scheme: dark) { .band.soft .signup a.btn { color: #111; } }

/* About: profile photo beside the intro */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) 16rem; gap: 3rem; align-items: center; margin-bottom: 1rem; }
.about-intro .profile-photo { order: 2; }
.profile-photo {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  border-radius: 6px; border: 0; box-shadow: 0 14px 34px rgba(120, 80, 60, 0.18);
}
@media (max-width: 40rem) {
  .about-intro { grid-template-columns: 1fr; justify-items: center; text-align: left; gap: 1.5rem; }
  .about-intro .profile-photo { order: 0; max-width: 11rem; }
}

/* Instagram: latest posts as tappable cards */
.ig-post { display: flex; flex-direction: column; text-decoration: none; color: var(--text); }
.ig-post:hover { background: var(--accent-soft); }
.ig-post .meta { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.ig-post h3 { font-size: 1.5rem; }
.ig-post .read { margin-top: auto; padding-top: 0.6rem; font-weight: 500; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Article references */
.refs { font-size: 0.92rem; color: var(--muted); }
.refs a { overflow-wrap: anywhere; }

/* Home hero: photo fills the left half, text on the right */
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.hero-photo { margin: 0; height: 22rem; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
@media (min-width: 52rem) {
  .hero-split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: stretch; }
  .hero-photo { height: auto; min-height: 30rem; position: relative; }
  .hero-photo img { position: absolute; inset: 0; }
  .hero-split .hero { max-width: none; margin: 0; padding: 4rem clamp(1.5rem, 5vw, 4.5rem); align-self: center; text-align: left; }
  .hero-split .hero h1, .hero-split .hero p.lead { margin-left: 0; margin-right: 0; }
  .hero-split .hero .actions { justify-content: flex-start; }
}

/* About: home-page colours, one tone per section */
.about-hero { text-align: left; }
.about-hero .article-body { padding-top: 3rem; padding-bottom: 3rem; }
.about-hero h1 { margin-bottom: 1.4rem; }
.about-section { padding: 3rem 0; }
.about-section h2:first-child { margin-top: 0; }
.tone-white { background: var(--bg); }
.tone-blush { background: var(--warm); }
.tone-peach { background: #f9e3d6; }
.tone-butter { background: #fbf0cf; }
.tone-rose { background: var(--rose); color: #111; }
.tone-rose .signup { background: #f6edea; border-color: transparent; color: #111; margin: 0 0 1.2rem; }
.tone-rose .signup a:not(.btn), .tone-rose .disclaimer-line, .tone-rose .disclaimer-line a { color: #111; }
.tone-rose .signup a.btn { color: #fff; }
.tone-rose .signup a.btn:hover { color: #111; }
@media (prefers-color-scheme: dark) {
  .tone-peach { background: #261c18; }
  .tone-butter { background: #262215; }
  .tone-rose { background: #2a2321; color: var(--text); }
  .tone-rose .signup { background: var(--surface); color: var(--text); }
  .tone-rose .signup a:not(.btn), .tone-rose .disclaimer-line, .tone-rose .disclaimer-line a { color: var(--text); }
  .tone-rose .signup a.btn { color: #111; }
}
.tone-rose .signup a.btn.ghost { color: #111; background: transparent; border-color: #111; }
.tone-rose .signup a.btn.ghost:hover { background: var(--rose); }
main:has(.about-section, .tone-butter) + .site-footer { margin-top: 0; }
@media (prefers-color-scheme: dark) { .tone-rose .signup a.btn.ghost { color: var(--rose); border-color: var(--rose); } }

/* Italiana is a very thin face: thicken it slightly so it reads comfortably */
h1, h2, h3, .brand, .hero .eyebrow, .pull { -webkit-text-stroke: 0.4px currentColor; }
h1 em { -webkit-text-stroke: 0; }

/* Home: "Who this is for" continues the hero's blush, peach and soft-yellow glow */
.tone-hero-blend {
  background:
    radial-gradient(circle at 92% 0%, #f7e0a8 0, transparent 42%),
    radial-gradient(circle at 6% 100%, #f9d6c4 0, transparent 42%),
    #f6edea;
}
@media (prefers-color-scheme: dark) { .tone-hero-blend { background: var(--warm); } }

/* ===== Phones: compact header, shorter hero photo, full-width buttons, comfortable tap targets ===== */
@media (max-width: 40rem) {
  body { font-size: 1.02rem; line-height: 1.65; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 0.2rem; padding-top: 0.7rem; padding-bottom: 0.2rem; }
  .brand { font-size: 1.8rem; }
  .brand small { font-size: 0.6rem; letter-spacing: 0.13em; }
  .nav { width: 100%; flex-wrap: nowrap; justify-content: space-between; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { font-size: 0.88rem; padding: 0.65rem 0; white-space: nowrap; }
  .ig-link span { display: none; }
  .ig-link svg { width: 1.3rem; height: 1.3rem; }

  h1 { font-size: clamp(2.1rem, 9.5vw, 2.7rem); }
  h2 { font-size: clamp(1.7rem, 7.5vw, 2.1rem); margin-top: 1.4em; }
  h3 { font-size: 1.4rem; }

  .hero-photo { height: 15rem; }
  .hero-photo img { object-position: center 14%; }
  .hero { padding-top: 1.8rem; padding-bottom: 1.6rem; }
  .hero .eyebrow { font-size: 1.2rem; margin-bottom: 0.6rem; line-height: 1.4; }
  .hero p.lead { font-size: 1.02rem; }
  .hero .actions { flex-direction: column; align-items: stretch; gap: 0.6rem; margin-top: 1.3rem; }
  .hero .actions .btn { text-align: center; padding: 0.95rem 1.2rem; }
  .trust { padding: 0.9rem 0 1.2rem; gap: 0.2rem; font-size: 0.72rem; }
  .trust span { flex: 0 0 auto; }

  section, .about-section { padding: 2rem 0; }
  .about-hero .article-body { padding-top: 2rem; padding-bottom: 2rem; }
  .article-head { padding-top: 1.6rem; }
  .card { padding: 1.2rem; }
  .btn { padding: 0.95rem 1.5rem; }
  .signup .btn, .contact-box .btn { display: block; text-align: center; margin-bottom: 0.6rem; }
  .site-footer { padding: 1.6rem 0 2rem; }
  .site-footer nav { gap: 0.4rem 1.1rem; }
  .site-footer a { padding: 0.25rem 0; display: inline-block; }
}

/* About: photo fills the right third of the hero, like the home page */
.about-split { display: grid; grid-template-columns: minmax(0, 1fr); }
.about-split-photo { margin: 0; height: 18rem; order: -1; }
.about-split-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
@media (min-width: 52rem) {
  .about-split { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: stretch; }
  .about-split-photo { height: auto; min-height: 30rem; order: 0; position: relative; }
  .about-split-photo img { position: absolute; inset: 0; }
  .about-split-text.wrap { max-width: none; margin: 0; align-self: center;
    padding: 4rem clamp(1.5rem, 4vw, 4rem) 4rem max(1rem, calc((100vw - 68rem) / 2 + 1rem)); }
}
section.about-split { padding: 0; }

/* ===== Desktop (960px+): full-width header with name left and menu right; content spread across the page ===== */
@media (min-width: 60rem) {
  :root { --measure: 46rem; }
  .wrap { max-width: none; padding-left: clamp(1.5rem, 4vw, 5rem); padding-right: clamp(1.5rem, 4vw, 5rem); }
  .site-header .wrap { justify-content: space-between; flex-wrap: nowrap; }
  .nav { margin-left: auto; gap: 1.8rem; }
  .nav a { font-size: 1rem; }
  .site-footer .wrap { max-width: none; }

  /* About: heading on the left, text on the right */
  .about-section .article-body:has(> h2) { display: grid; grid-template-columns: minmax(16rem, 1fr) minmax(0, 2.4fr); column-gap: clamp(2rem, 6vw, 7rem); align-items: start; }
  .about-section .article-body:has(> h2) > h2 { grid-column: 1; grid-row: 1 / span 40; margin: 0; }
  .about-section .article-body:has(> h2) > :not(h2) { grid-column: 2; }
  .about-section .article-body:has(> h2) > h3:first-of-type { margin-top: 0; }
  .about-section .article-body p, .about-section .article-body li { max-width: 48rem; }
  .about-section .article-body .signup { max-width: none; }

  /* Hero text lines up with the header's left edge */
  .about-split-text.wrap { padding-left: clamp(1.5rem, 4vw, 5rem); padding-right: clamp(2rem, 4vw, 4rem); }

  /* Cards and lists use the width */
  .article-list { grid-template-columns: repeat(auto-fill, minmax(26rem, 1fr)); }
  .cards { gap: 1.5rem; }

  /* Contact boxes sit side by side */
  .wrap:has(> .contact-box) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
  .contact-box { max-width: none; margin-top: 0 !important; }
}

/* Phones: roomier text area in boxes, and long links (such as the email address) can wrap instead of overflowing */
@media (max-width: 40rem) {
  .signup, .contact-box { padding: 1.2rem 1.1rem; }
  .signup a, .contact-box a, dl.facts a, .article-body a { overflow-wrap: anywhere; }
  .signup p, .contact-box p { font-size: 0.98rem; }
  .signup a[href^="mailto"], .contact-box a[href^="mailto"], dl.facts a[href^="mailto"] { font-size: 0.92rem; }
}

/* ===== Instagram: more eye-catching follow elements ===== */
/* 1. Header pill */
.nav .ig-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 1rem 0.3rem 0.35rem; border: 0; border-radius: 999px; color: #fff;
  background: linear-gradient(135deg, var(--marigold), var(--coral) 45%, var(--berry));
  font-family: "Tenor Sans", var(--sans); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(224, 105, 74, 0.28);
}
.nav .ig-link:hover { color: #fff; border: 0; filter: brightness(1.06); transform: translateY(-1px); }
.nav .ig-link svg { width: 1.75rem; height: 1.75rem; padding: 0.3rem; border-radius: 50%; background: #fff; color: var(--coral); flex: none; }
.nav .ig-link span { white-space: nowrap; }

/* 2. Glowing gradient button (hero and elsewhere) */
.btn.ig-btn, .hero-band .btn.ig-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; border: 0; color: #fff;
  background: linear-gradient(135deg, var(--marigold), var(--coral) 45%, var(--berry));
  box-shadow: 0 10px 26px rgba(224, 105, 74, 0.35);
}
.btn.ig-btn:hover, .hero-band .btn.ig-btn:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); }
.ig-ico { width: 1.2em; height: 1.2em; flex: none; }

@media (max-width: 40rem) {
  .nav .ig-link { padding: 0.3rem; }
  .nav .ig-link span { display: none; }
}

/* 6. Floating Instagram button, phones only */
.ig-float { display: none; }
@media (max-width: 40rem) {
  .ig-float {
    position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 20;
    width: 3.4rem; height: 3.4rem; border-radius: 50%; color: #fff; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--marigold), var(--coral) 45%, var(--berry));
    box-shadow: 0 8px 22px rgba(224, 105, 74, 0.5); display: flex;
  }
  .ig-float svg { width: 1.7rem; height: 1.7rem; }
  .ig-float:active { transform: scale(0.95); }
  .site-footer { padding-bottom: 5rem; }
}

/* ===== Phone burger menu ===== */
.menu-toggle { display: none; }
@media (max-width: 40rem) {
  .site-header .wrap { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0; padding-top: 0.6rem; padding-bottom: 0.6rem; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 0.32rem;
    width: 2.9rem; height: 2.9rem; margin-right: -0.5rem; padding: 0; background: transparent; border: 0; cursor: pointer; color: var(--text);
  }
  .menu-toggle span { display: block; width: 1.5rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.45rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.45rem) rotate(-45deg); }

  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; margin-top: 0.4rem; border-top: 1px solid var(--border); overflow: visible; }
  .js .nav.open { display: flex; }
  .js .nav a { font-size: 1.08rem; padding: 0.95rem 0; border-bottom: 1px solid var(--border); }
  .js .nav a[aria-current="page"] { font-weight: 600; }
  .js .nav a:hover { border-bottom-color: var(--border); }
}

/* Phones: inside the burger menu the Instagram link is a plain white row: icon and handle only */
@media (max-width: 40rem) {
  .js .nav .ig-link {
    display: flex; align-items: center; align-self: stretch; gap: 0.7rem; margin: 0; padding: 0.95rem 0; border: 0; border-radius: 0;
    background: transparent; box-shadow: none; color: var(--text);
    font-family: var(--sans); font-size: 1.02rem; letter-spacing: 0; text-transform: none;
  }
  .js .nav .ig-link svg { width: 1.5rem; height: 1.5rem; padding: 0; background: transparent; color: var(--text); }
  .js .nav .ig-link:hover { color: var(--text); filter: none; transform: none; }
  .js .nav .ig-link .lbl-desktop { display: none; }
  .js .nav .ig-link .lbl-mobile { display: inline; }
}

.nav .ig-link .lbl-mobile { display: none; }
