/* MomentsHeld: Anni Cittern's yoga therapy, yoga and meditation site.
   Brand from the Carrd site (2019 to 2026): sage #9BB6B4, deep sage #729C99, teal #2E4D4C,
   slate #59606E, Montserrat headings and Josefin Sans text, the white spiral mark. */

@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/montserrat.woff2) format('woff2'); }
@font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../fonts/josefin-sans.woff2) format('woff2'); }
@font-face { font-family: 'Josefin Sans'; font-style: italic; font-weight: 300 400; font-display: swap; src: url(../fonts/josefin-sans-italic.woff2) format('woff2'); }

:root {
  color-scheme: light dark;
  --paper: #FAF9F6;
  --surface: #FFFFFF;
  --mist: #EDF3F2;
  --line: #D9E3E2;
  --ink: #343A45;
  --text: #545B68;
  --soft: #6A717D;
  --sage: #9BB6B4;
  --sage-deep: #729C99;
  --teal: #2E4D4C;
  --teal-hover: #23403F;
  --link: #2C5F5B;
  --on-teal: #FFFFFF;
  --on-teal-soft: #D5E3E1;
  --notice: #F3EFE4;
  --notice-line: #D8CBA6;
  --error: #A3262A;
  --ok: #2C5F5B;
  --shadow: 0 18px 40px -28px rgba(46, 77, 76, .45);
  --radius: 18px;
  --wrap: 72rem;
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Josefin Sans', system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #142120;
    --surface: #1B2B2A;
    --mist: #1F3331;
    --line: #2F4644;
    --ink: #EEF3F2;
    --text: #C9D4D3;
    --soft: #A9B7B5;
    --sage: #9BB6B4;
    --sage-deep: #8FB0AD;
    --teal: #9BB6B4;
    --teal-hover: #B4CBC9;
    --link: #A9CCC8;
    --on-teal: #142120;
    --on-teal-soft: #2E4D4C;
    --notice: #2A2A20;
    --notice-line: #6E6340;
    --error: #FF9C96;
    --ok: #A9CCC8;
    --shadow: 0 18px 40px -28px rgba(0, 0, 0, .8);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 1.125rem/1.7 var(--body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sage-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--head); color: var(--ink); font-weight: 400; line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.3rem, 5vw + 1rem, 4.2rem); font-weight: 300; }
h2 { font-size: clamp(1.75rem, 2.4vw + 1rem, 2.6rem); font-weight: 300; }
h3 { font-size: 1.3rem; font-weight: 500; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 44rem; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 50; padding: .6rem 1rem; background: var(--teal); color: var(--on-teal); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.eyebrow { display: block; font: 500 .8rem/1.4 var(--head); letter-spacing: .2em; text-transform: uppercase; color: var(--soft); margin-bottom: 1rem; }
.rule { display: block; width: 4rem; height: 3px; border: 0; margin: 0 0 1.6rem; background: var(--sage); border-radius: 2px; }
.center { text-align: center; }
.center .rule { margin-inline: auto; }

/* The spiral mark, tinted with a mask so one PNG works in any colour */
.mark { display: inline-block; width: 2.4rem; aspect-ratio: 1; background: currentColor;
  -webkit-mask: url(../img/logo-white.png) center / contain no-repeat; mask: url(../img/logo-white.png) center / contain no-repeat; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand .mark { color: var(--sage-deep); width: 2.3rem; }
.brand-name { font: 400 1.3rem/1 var(--head); letter-spacing: .01em; }
.nav-toggle { display: none; align-items: center; gap: .55rem; padding: .55rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 .95rem/1 var(--head); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 1.1rem; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s, background-color .25s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav-list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: block; padding: .5rem .8rem; border-radius: 999px; color: var(--text); text-decoration: none; font: 400 .98rem/1.2 var(--head); }
.nav-list a:hover { background: var(--mist); color: var(--ink); }
.nav-list a[aria-current="page"] { color: var(--ink); background: var(--mist); }
.nav-list .nav-cta a { background: var(--teal); color: var(--on-teal); margin-left: .35rem; }
.nav-list .nav-cta a:hover, .nav-list .nav-cta a[aria-current="page"] { background: var(--teal-hover); color: var(--on-teal); }
@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav { width: 100%; }
  .no-js .site-header .wrap { flex-wrap: wrap; padding-block: .6rem; }
  .nav-list { flex-direction: column; padding: .75rem 1rem 1.25rem; gap: .15rem; }
  .no-js .nav-list { flex-direction: row; flex-wrap: wrap; padding: 0; }
  .nav-list a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-list .nav-cta a { margin: .4rem 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; font: 500 1rem/1.1 var(--head); text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn--solid { background: var(--teal); color: var(--on-teal); }
.btn--solid:hover { background: var(--teal-hover); }
.btn--line { border-color: var(--sage-deep); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--mist); }
.btn--light { background: #FFFFFF; color: #2E4D4C; }
.btn--light:hover { background: #EDF3F2; }
.btn--ghost { border-color: rgba(255, 255, 255, .75); color: #FFFFFF; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.center .actions { justify-content: center; }

/* Hero (home) and page heads */
.hero { position: relative; isolation: isolate; color: #FFFFFF; min-height: min(88vh, 46rem); display: grid; align-items: end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; z-index: -2; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 43, 42, .15) 0%, rgba(25, 43, 42, .35) 45%, rgba(25, 43, 42, .82) 100%); }
.hero .wrap { padding-block: 7rem 4.5rem; }
.hero .mark { color: #FFFFFF; width: 4.5rem; margin-bottom: 1.25rem; }
.hero h1 { color: #FFFFFF; margin-bottom: .2em; letter-spacing: .01em; }
.hero-tagline { font: 300 clamp(1.3rem, 1.4vw + 1rem, 1.9rem)/1.3 var(--head); margin: 0; color: #E9F1F0; letter-spacing: .04em; }
.hero p { max-width: 36rem; }

.page-head { position: relative; isolation: isolate; color: #FFFFFF; overflow: hidden; }
.page-head-img { position: absolute; inset: 0; z-index: -2; }
.page-head-img img { width: 100%; height: 100%; object-fit: cover; }
.page-head::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 43, 42, .88) 0%, rgba(25, 43, 42, .62) 55%, rgba(25, 43, 42, .25) 100%); }
.page-head .wrap { padding-block: 5.5rem 4.5rem; }
.page-head h1 { color: #FFFFFF; margin-bottom: .3em; }
.page-head .eyebrow { color: #D5E3E1; }
.page-head .lead { color: #E9F1F0; max-width: 38rem; font-size: 1.2rem; }
.page-head--plain { background: var(--teal); }
@media (prefers-color-scheme: dark) { .page-head--plain { background: #1F3331; } }
.page-head--plain::after { display: none; }

/* Sections */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: 2.5rem; }
.lead { font-size: 1.22rem; }

.notice { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.3rem; border: 1px solid var(--notice-line); background: var(--notice); border-radius: 14px; color: var(--ink); }
.notice svg { width: 1.5rem; height: 1.5rem; flex: none; fill: currentColor; margin-top: .15rem; }
.notice p { margin: 0; }
.notice p + p { margin-top: .35rem; color: var(--text); }
.notice-band { padding-block: 1.25rem; background: var(--paper); }

/* About Anni */
.about { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: clamp(1.75rem, 5vw, 4rem); align-items: center; }
.about-photo { position: relative; }
.about-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about-photo::before { content: ''; position: absolute; inset: -.6rem; border-radius: 50%; border: 1.5px solid var(--sage); }
.about-role { font: 400 1.05rem/1.5 var(--head); color: var(--soft); margin: -.3rem 0 1.2rem; }
@media (max-width: 700px) {
  .about { grid-template-columns: 1fr; text-align: center; }
  .about-photo { width: 11rem; margin-inline: auto; }
  .about .rule { margin-inline: auto; }
}

/* Quotes */
.quote { margin: 0; padding: 0; }
.quote blockquote { margin: 0; font: italic 300 clamp(1.3rem, 1.2vw + 1rem, 1.7rem)/1.55 var(--body); color: var(--ink); }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: 1rem; font: 500 .85rem/1.4 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--soft); }
.quote--inline { border-left: 3px solid var(--sage); padding-left: 1.4rem; margin-top: 2rem; }
.quote--inline blockquote { font-size: 1.25rem; }
.quote-band { text-align: center; }
.quote-band .mark { color: var(--sage-deep); width: 2.6rem; margin-bottom: 1.5rem; }
.quote-band .quote { max-width: 40rem; margin-inline: auto; }
.poem blockquote p { margin: 0; }

/* Offerings */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; } }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.5rem 1.6rem; }
.card-body p { flex: 1; }
.card h3 { font-size: 1.45rem; font-weight: 400; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card-more { font: 500 .98rem/1.2 var(--head); color: var(--link); display: inline-flex; align-items: center; gap: .4rem; }
.card-more svg { width: 1rem; height: 1rem; fill: currentColor; transition: transform .2s; }
.card:hover .card-more svg { transform: translateX(3px); }

/* Split text + image */
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--flip > :first-child { order: 2; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--flip > :first-child { order: 0; } .split-img img { aspect-ratio: 4 / 3; } }

/* Info boxes and prices */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
@media (max-width: 800px) { .grid-2 { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem); }
.panel h3 { display: flex; align-items: center; gap: .6rem; }
.panel h3 svg { width: 1.3rem; height: 1.3rem; fill: var(--sage-deep); flex: none; }
.panel > :last-child { margin-bottom: 0; }
.prices { width: 100%; border-collapse: collapse; margin: .5rem 0 1.2rem; font-size: 1.08rem; }
.prices th, .prices td { padding: .8rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.prices th { font-weight: 400; color: var(--text); }
.prices td { text-align: right; font: 500 1.15rem/1.3 var(--head); color: var(--ink); white-space: nowrap; padding-left: 1rem; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.price-big { font: 300 2.6rem/1 var(--head); color: var(--ink); margin: .2rem 0 .3rem; }
.price-big small { font-size: 1rem; font-weight: 400; color: var(--soft); }
.small { font-size: 1rem; color: var(--soft); }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: .45rem; }
.ticks li::before { content: ''; position: absolute; left: .1rem; top: .6em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--sage); }

/* Testimonials */
.testimonials { columns: 2 22rem; column-gap: 1.5rem; margin-top: 2rem; }
.testimonial { break-inside: avoid; margin: 0 0 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem; }
.testimonial blockquote { margin: 0; color: var(--text); }
.testimonial blockquote::before { content: '\201C'; display: block; font: 300 3.2rem/1 var(--head); color: var(--sage); height: 1.6rem; }
.testimonial blockquote p { margin-bottom: .8em; }
.testimonial .dated { margin-bottom: 1rem; }
.testimonial .dated time { display: block; font: 500 .78rem/1.4 var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin-bottom: .2rem; }
.testimonial figcaption { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .4rem; }
.testimonial figcaption strong { display: block; font: 500 1.05rem/1.35 var(--head); color: var(--ink); }
.testimonial figcaption span { font-size: .98rem; color: var(--soft); }
.tabs-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.tabs-nav a { padding: .55rem 1.1rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); font: 400 .98rem/1.2 var(--head); }
.tabs-nav a:hover { border-color: var(--sage-deep); }

/* Zoom */
.join-list { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.join-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--ink); text-decoration: none; font: 400 1.08rem/1.3 var(--head); }
.join-list a:hover { border-color: var(--sage-deep); background: var(--mist); }
.join-list small { display: block; font: 400 .95rem/1.4 var(--body); color: var(--soft); margin-top: .2rem; }
.join-list svg { width: 1.2rem; height: 1.2rem; fill: var(--sage-deep); flex: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-ways { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
.contact-ways a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: var(--ink); }
.contact-ways a:hover { border-color: var(--sage-deep); }
.contact-ways .icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--mist); flex: none; }
.contact-ways .icon svg { width: 1.2rem; height: 1.2rem; fill: var(--sage-deep); }
.contact-ways strong { display: block; font: 500 1.02rem/1.3 var(--head); }
.contact-ways span span { display: block; font-size: .98rem; color: var(--soft); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: var(--shadow); }
.field { margin-bottom: 1.15rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field label { display: block; font: 500 .98rem/1.3 var(--head); color: var(--ink); margin-bottom: .4rem; }
.optional { font-weight: 400; color: var(--soft); }
.field input, .field textarea { width: 100%; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font: 400 1.08rem/1.4 var(--body); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sage-deep); box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage) 45%, transparent); }
.field textarea { resize: vertical; min-height: 9rem; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-error { display: block; color: var(--error); font-size: .98rem; margin-top: .3rem; }
.field-error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.turnstile { margin: .25rem 0 1rem; min-height: 0; }
.form-status { margin-bottom: 1rem; }
.form-status:empty { display: none; }
.form-status.is-error, .form-status.is-ok { padding: .9rem 1.1rem; border-radius: 12px; }
.form-status.is-error { border: 1px solid var(--error); color: var(--error); }
.form-status.is-ok { border: 1px solid var(--ok); color: var(--ink); background: var(--mist); }
.form-status:focus { outline: none; }
.form-note, .form-privacy { font-size: .98rem; color: var(--soft); }
.form-privacy { margin: 1rem 0 0; }

/* Call to action band */
.cta-band { background: var(--teal); color: var(--on-teal); text-align: center; position: relative; isolation: isolate; overflow: hidden; }
@media (prefers-color-scheme: dark) { .cta-band { background: #1F3331; color: #FFFFFF; } .cta-band .btn--light { background: #9BB6B4; color: #142120; } }
.cta-band .mark { position: absolute; z-index: -1; width: 26rem; right: -6rem; top: -6rem; color: rgba(255, 255, 255, .07); }
.cta-band h2 { color: inherit; }
.cta-band p { color: inherit; opacity: .9; max-width: 34rem; margin-inline: auto; }

/* Footer */
.site-footer { background: #1E3332; color: #C9D8D6; padding-block: 3.5rem 2rem; font-size: 1rem; }
.site-footer a { color: #E4EEED; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; align-items: flex-start; padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: #FFFFFF; text-decoration: none; }
.footer-brand .mark { color: #9BB6B4; width: 2.6rem; }
.footer-brand span { font: 400 1.35rem/1 var(--head); }
.footer-tag { margin: .7rem 0 0; color: #A9BFBD; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.socials { display: flex; gap: .75rem; list-style: none; margin: 1.25rem 0 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1.5px solid #729C99; transition: background-color .2s, border-color .2s; }
.socials a:hover { background: #729C99; border-color: #729C99; }
.socials svg { width: 1.15rem; height: 1.15rem; fill: #FFFFFF; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; font-size: .95rem; color: #A9BFBD; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: inherit; }
/* The PetroMedia credit and its "Website feedback" badge stay together on the right */
.footer-bottom > .pm-badge { margin-left: auto; }
.footer-bottom > .pm-badge ~ .pm-fb { margin-left: -.5rem; }
@media (max-width: 640px) { .footer-bottom > .pm-badge, .footer-bottom > .pm-badge ~ .pm-fb { margin-left: 0; } }  /* phones: both on the left, wrapping as needed */

/* Simple pages */
.prose h2 { margin-top: 2rem; font-size: 1.7rem; }
.prose h2:first-child { margin-top: 0; }
.big-404 { font: 300 clamp(4rem, 10vw, 7rem)/1 var(--head); color: var(--sage-deep); margin: 0 0 1rem; }

/* Gentle reveal on scroll (site.js adds .reveal only when motion is fine) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Page-to-page fade: the header stays put while the page underneath fades across (browsers without
   view transitions just change page) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .site-header { view-transition-name: site-header; }
  ::view-transition-old(root) { animation: mh-page-out .3s ease both; }
  ::view-transition-new(root) { animation: mh-page-in .55s cubic-bezier(.2, .7, .3, 1) .1s both; }
}
@keyframes mh-page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes mh-page-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-img img, .btn, .card-more svg { transition: none; }
}
@media print {
  .site-header, .site-footer, .cta-band, .pm-badge, .pm-fb { display: none !important; }
  .hero, .page-head { color: #000; min-height: 0; }
  .hero::after, .page-head::after, .hero-img, .page-head-img { display: none; }
  .hero h1, .page-head h1, .page-head .lead { color: #000; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
