/* ==========================================================================
   The Zest Life — thezestlife.co.nz
   Built to the Brand Guidelines: Azure / Aero / Bone / Alabaster,
   Source Serif headings, Source Sans body, wave motifs, soft corners.

   Contrast note: pure Azure #227AD7 is used for the logo, waves, chips,
   rules and accents. Panels that carry text use #1E6EC2, a four percent
   deepening, so cream and white copy on blue meets WCAG AA.
   ========================================================================== */

/* --- 1. Design tokens --------------------------------------------------- */

:root {
  /* Brand */
  --azure:        #227AD7;
  --azure-ink:    #1E6EC2;   /* text-bearing blue fills */
  --azure-text:   #1A5FA8;   /* links on light grounds */
  --aero:         #4FB8D9;
  --bone:         #E4D9C7;
  --alabaster:    #F2F0E6;

  /* Grounds */
  --paper:        #FCFBF7;
  --surface:      #FFFFFF;
  --band:         #F2F0E6;
  --line:         #E7E1D3;
  --line-soft:    #EFEBE0;

  /* Ink */
  --ink:          #16293A;
  --ink-soft:     #4E6274;
  --ink-faint:    #5C6E80;

  --on-azure:     #F2F0E6;
  --focus:        #1A5FA8;

  --font-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-body:    "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --measure:      38rem;
  --wrap:         72rem;

  /* Softened corners throughout, echoing the logo pills and Canva tiles */
  --r-sm:         12px;
  --r:            20px;
  --r-lg:         28px;
  --r-xl:         36px;
  --r-pill:       999px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --azure:       #6FB3EA;
    --azure-ink:   #1E6EC2;
    --azure-text:  #8CC5F2;
    --bone:        #2F3B46;
    --alabaster:   #16242F;

    --paper:       #0F1B24;
    --surface:     #16242F;
    --band:        #13202A;
    --line:        #27343F;
    --line-soft:   #1E2B36;

    --ink:         #E9EEF2;
    --ink-soft:    #AEBFCB;
    --ink-faint:   #90A3B1;

    --on-azure:    #F2F0E6;
    --focus:       #8CC5F2;
  }
}

:root[data-theme="dark"] {
  --azure:       #6FB3EA;
  --azure-ink:   #1E6EC2;
  --azure-text:  #8CC5F2;
  --bone:        #2F3B46;
  --alabaster:   #16242F;

  --paper:       #0F1B24;
  --surface:     #16242F;
  --band:        #13202A;
  --line:        #27343F;
  --line-soft:   #1E2B36;

  --ink:         #E9EEF2;
  --ink-soft:    #AEBFCB;
  --ink-faint:   #90A3B1;

  --on-azure:    #F2F0E6;
  --focus:       #8CC5F2;
}

/* --- 2. Base ------------------------------------------------------------ */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

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

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

a { color: var(--azure-text); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--azure); }

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

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--azure-ink); color: #fff;
  padding: .75rem 1.15rem; z-index: 100; border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- 3. Typography ------------------------------------------------------ */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;              /* Brand: Source Serif Pro Bold */
  line-height: 1.16;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: clamp(2.05rem, 1.28rem + 3.3vw, 3.2rem); letter-spacing: -0.018em; }
h2 { font-size: clamp(1.55rem, 1.15rem + 1.75vw, 2.2rem); letter-spacing: -0.012em; }
h3 { font-size: clamp(1.15rem, 1.05rem + .45vw, 1.35rem); }

/* Brand sub-heading role: Source Sans Pro Bold */
h4, .subhead {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.0625rem;
  line-height: 1.4;
  margin: 0;
}

p, ul, ol { margin: 0; }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.15rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: .5rem; }
.prose h2 { margin-top: 2.6rem; }
.prose h3 { margin-top: 2rem; }

.lede {
  font-size: clamp(1.125rem, 1.03rem + .42vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 34rem;
}

.muted { color: var(--ink-soft); }
.small { font-size: .92rem; }

/* --- 4. Layout ---------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

section { padding-block: clamp(2.9rem, 6vw, 5rem); }
section.tight { padding-block: clamp(1.9rem, 3.5vw, 2.75rem); }

.band { background: var(--band); }

.section-head { max-width: 40rem; margin-bottom: 2.2rem; }
.section-head p { margin-top: .85rem; color: var(--ink-soft); }

/* --- 5. Wave motifs ----------------------------------------------------- */
/* The brand's signature: soft hand-drawn sine lines and layered wave
   shapes. Used instead of hard rules and square section edges. */

.wave-rule {
  border: 0;
  height: 14px;
  margin: 0;
  background-repeat: repeat-x;
  background-position: center;
  background-size: 96px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14' viewBox='0 0 96 14'%3E%3Cpath d='M0 7 Q 12 1 24 7 T 48 7 T 72 7 T 96 7' fill='none' stroke='%23E4D9C7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wave-rule.blue {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14' viewBox='0 0 96 14'%3E%3Cpath d='M0 7 Q 12 1 24 7 T 48 7 T 72 7 T 96 7' fill='none' stroke='%234FB8D9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wave-rule.cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14' viewBox='0 0 96 14'%3E%3Cpath d='M0 7 Q 12 1 24 7 T 48 7 T 72 7 T 96 7' fill='none' stroke='%23F2F0E6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.wave-rule.stack { height: 30px; background-size: 96px 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='30' viewBox='0 0 96 30'%3E%3Cpath d='M0 8 Q 12 2 24 8 T 48 8 T 72 8 T 96 8' fill='none' stroke='%23E4D9C7' stroke-width='2' stroke-linecap='round'/%3E%3Cpath d='M0 22 Q 12 16 24 22 T 48 22 T 72 22 T 96 22' fill='none' stroke='%234FB8D9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* Layered wave shapes, as used on the Course info tile */
.wave-shapes { display: block; width: 100%; height: auto; }

/* --- 6. Header ---------------------------------------------------------- */

.site-header {
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 40;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1.7rem;
  padding-block: 1rem .85rem;
}
.site-header .wave-rule { margin-top: -1px; }

.brand { display: block; margin-right: auto; line-height: 0; }
.brand img { height: 30px; width: auto; }
.brand .logo-dark { display: none; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .brand .logo-dark  { display: block; }
}
:root[data-theme="dark"] .brand .logo-light { display: none; }
:root[data-theme="dark"] .brand .logo-dark  { display: block; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem .6rem;
  align-items: center;
  font-size: .95rem;
}
.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
}
.nav a:hover { color: var(--ink); background: var(--band); }
.nav a[aria-current="page"] { color: var(--azure-text); background: var(--band); font-weight: 600; }

@media (max-width: 48rem) {
  .site-header { position: static; }
  .brand { margin-right: 0; width: 100%; }
  .brand img { height: 26px; }
  .nav { font-size: .9rem; margin-left: -.8rem; }
}

/* --- 7. Buttons and chips ----------------------------------------------- */

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  padding: .85rem 1.6rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.btn-primary { background: var(--azure-ink); color: #FFFFFF; border-color: var(--azure-ink); }
.btn-primary:hover { background: #17579B; border-color: #17579B; color: #FFFFFF; }

.btn-secondary { background: transparent; color: var(--azure-text); border-color: var(--bone); }
.btn-secondary:hover { border-color: var(--azure); background: var(--band); color: var(--azure-text); }

/* On a blue ground the buttons invert */
.on-azure .btn-primary { background: var(--alabaster); color: #14538F; border-color: var(--alabaster); }
.on-azure .btn-primary:hover { background: #FFFFFF; border-color: #FFFFFF; color: #14538F; }
.on-azure .btn-secondary { color: #FFFFFF; border-color: rgba(242,240,230,.45); }
.on-azure .btn-secondary:hover { border-color: var(--alabaster); background: rgba(255,255,255,.1); color: #FFFFFF; }

/* Pill label, as used over photography in the brand templates */
.chip {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .01em;
  color: var(--alabaster);
  background: var(--azure-ink);
  padding: .3rem .95rem;
  border-radius: var(--r-pill);
}
.chip-soft {
  background: var(--alabaster);
  color: var(--azure-text);
  border: 1px solid var(--bone);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--azure-text);
  margin: 0 0 .9rem;
}

/* --- 8. Blue panels ----------------------------------------------------- */

.on-azure {
  background: var(--azure-ink);
  color: var(--alabaster);
  position: relative;
}
.on-azure h1, .on-azure h2, .on-azure h3 { color: #FFFFFF; }
.on-azure .muted { color: #E4EEF8; }
.on-azure .eyebrow { color: #BEDBF3; }
.on-azure a { color: #FFFFFF; }

/* Cream card sitting on the blue, straight from the testimonial template */
.cream-card {
  background: var(--alabaster);
  color: var(--ink);
  border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3.5vw, 2.6rem);
}
.cream-card h2, .cream-card h3 { color: var(--ink); }
.cream-card p { color: var(--ink-soft); }

/* --- 9. Hero ------------------------------------------------------------ */

.hero { padding-block: clamp(2.2rem, 5vw, 4.2rem); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(1.8rem, 4vw, 3.6rem);
  align-items: center;
}
.hero-grid > div:first-child { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }

@media (max-width: 54rem) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Photo frame with a soft Aero wave tucked behind it */
.figure {
  position: relative;
  margin: 0;
}
.figure img {
  width: 100%;
  border-radius: var(--r-xl);
  position: relative;
  z-index: 1;
}
/* A single wave line tucked under the photograph, echoing the brand cover.
   Kept as a line rather than a shape so nothing reads as a stray block. */
.figure::after {
  content: "";
  position: absolute;
  left: 8%;
  right: -18px;
  bottom: -18px;
  height: 14px;
  z-index: 0;
  background-repeat: repeat-x;
  background-size: 96px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14' viewBox='0 0 96 14'%3E%3Cpath d='M0 7 Q 12 1 24 7 T 48 7 T 72 7 T 96 7' fill='none' stroke='%234FB8D9' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E");
}
.figure-plain::after { display: none; }
.figure figcaption {
  position: absolute;
  left: clamp(.9rem, 3%, 1.4rem);
  bottom: clamp(.9rem, 3%, 1.4rem);
  z-index: 2;
}

.figure-plain img { border-radius: var(--r-lg); }
.figure-plain::before { display: none; }

/* --- 10. Summary box ---------------------------------------------------- */

.summary {
  background: var(--band);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem);
  max-width: 46rem;
  position: relative;
  overflow: hidden;
}
.summary::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background-repeat: repeat-x;
  background-size: 96px 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='10' viewBox='0 0 96 10'%3E%3Cpath d='M0 5 Q 12 0 24 5 T 48 5 T 72 5 T 96 5' fill='none' stroke='%234FB8D9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}
.summary .eyebrow { margin-bottom: .6rem; }
.summary p { color: var(--ink-soft); }
.summary p + p { margin-top: .7rem; }
.summary strong { color: var(--ink); font-weight: 700; }

/* --- 11. Cards ---------------------------------------------------------- */

.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 62rem) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 46rem) { .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  align-items: flex-start;
}
.card h3 { margin: 0; }
.card p { color: var(--ink-soft); }
.card .btn { margin-top: auto; }
.card ul { width: 100%; }

.card-feature { border-color: var(--azure); border-width: 1.5px; }

.price {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--azure-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.price small {
  display: block;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 400;
  color: var(--ink-faint);
  letter-spacing: .01em;
  margin-top: .25rem;
}

/* --- 12. Module sequence ------------------------------------------------ */

.modules { display: grid; gap: 1rem; list-style: none; padding: 0; margin: 0; counter-reset: mod; }
.modules li {
  counter-increment: mod;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0 1.25rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.2rem, 2.2vw, 1.6rem) clamp(1.2rem, 2.2vw, 1.75rem);
}
.modules li::before {
  content: counter(mod, decimal-leading-zero);
  grid-row: span 3;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--azure);
  font-variant-numeric: tabular-nums;
  line-height: 1.5;
}
.modules h3 { margin: 0 0 .4rem; }
.modules p { color: var(--ink-soft); margin: 0; }
.modules p + p { margin-top: .6rem; }
.modules .weeks {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 .35rem;
}

@media (max-width: 34rem) {
  .modules li { grid-template-columns: 2.2rem minmax(0, 1fr); gap: 0 .85rem; }
}

/* --- 13. Lists ---------------------------------------------------------- */

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .7rem; align-items: start; }
.ticks li::before {
  content: "";
  width: .5rem; height: .5rem;
  margin-top: .6rem;
  border-radius: 50%;
  background: var(--aero);
}

/* --- 14. FAQ ------------------------------------------------------------ */

.faq { max-width: 46rem; display: grid; gap: .85rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.15rem, 2vw, 1.5rem) clamp(1.15rem, 2vw, 1.6rem);
}
.faq-item h3 { margin: 0 0 .55rem; font-size: 1.1rem; }
.faq-item p { color: var(--ink-soft); }
.faq-item p + p { margin-top: .7rem; }

/* --- 15. Quote ---------------------------------------------------------- */

blockquote.pull {
  margin: 0;
  max-width: 34rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.1rem + 1.1vw, 1.85rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  padding-top: 2.2rem;
  background-repeat: repeat-x;
  background-position: left top;
  background-size: 96px 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='14' viewBox='0 0 96 14'%3E%3Cpath d='M0 7 Q 12 1 24 7 T 48 7 T 72 7 T 96 7' fill='none' stroke='%234FB8D9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* --- 16. Definition rows ------------------------------------------------ */

.deflist { display: grid; gap: .75rem; margin: 0; }
.deflist > div {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: .35rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: .9rem 1.15rem;
}
.deflist dt { font-weight: 700; color: var(--ink); }
.deflist dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 34rem) { .deflist > div { grid-template-columns: 1fr; } }

/* --- 16b. Social links -------------------------------------------------- */

.social-row {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}
/* Inside .prose the generic list rules indent the row and step each circle
   down by half a rem. The row has to sit outside that. */
.prose ul.social-row { padding-left: 0; }
.prose ul.social-row li + li { margin-top: 0; }

.social-row a {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--azure-ink);
  color: var(--alabaster);
  text-decoration: none;
  transition: background-color .18s ease, transform .18s ease;
}
.social-row a:hover { background: #17579B; transform: translateY(-2px); }
.social-row svg { width: 1.4rem; height: 1.4rem; display: block; }

/* On the azure footer the buttons invert */
.site-footer .social-row { display: flex; flex-wrap: wrap; margin-top: 0; gap: .6rem; }
.site-footer .social-row a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(242, 240, 230, .16);
  color: #FFFFFF;
}
.site-footer .social-row a:hover { background: var(--alabaster); color: var(--azure-ink); }
.site-footer .social-row svg { width: 1.2rem; height: 1.2rem; }

/* --- 17. Footer --------------------------------------------------------- */
/* Treated like the brand cover: azure ground between two wave lines. */

.site-footer {
  background: var(--azure-ink);
  color: #E4EEF8;
  font-size: .95rem;
  padding-block: 0;
}
.site-footer .wave-rule { height: 16px; background-size: 96px 16px; }
.site-footer-inner { padding-block: clamp(2.2rem, 4.5vw, 3.4rem); }
.site-footer a { color: #FFFFFF; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 34rem) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo { height: 30px; width: auto; margin-bottom: 1rem; }

.site-footer h2 {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #BEDBF3;
  margin: 0 0 .9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }

/* On a phone the footer links need a bigger tap area than the text itself. */
/* Page links only. The social circles must keep their own grid centring,
   or the icons sit high inside the circle on a phone. */
@media (max-width: 46rem) {
  .site-footer ul:not(.social-row) { gap: .1rem; }
  .site-footer ul:not(.social-row) a { display: inline-block; padding-block: .5rem; }
}

.footer-note {
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(242,240,230,.25);
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .85rem;
  color: #D6E6F4;
}

/* --- 20. Testimonials --------------------------------------------------- */

/* Cards in a row match height, so a short quote beside a long one does not
   leave a hole in the grid. */
.quotes { display: grid; gap: 1.1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.quote figcaption { margin-top: auto; padding-top: .9rem; }
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.6vw, 1.8rem);
  display: flex;
  flex-direction: column;
  gap: .9rem;
}
.quote.wide { grid-column: 1 / -1; background: var(--alabaster); border-color: transparent; }
.quote .stars { display: flex; gap: .2rem; color: var(--azure); }
.quote .stars svg { width: 1.05rem; height: 1.05rem; display: block; }
.quote blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  line-height: 1.5;
  color: var(--ink);
}
.quote figcaption { font-size: .9rem; color: var(--ink-faint); margin: 0; }
.quote figcaption b { color: var(--ink-soft); font-weight: 700; }
.quote-source { font-size: .9rem; color: var(--ink-faint); margin-top: 1.4rem; }

@media (max-width: 46rem) { .quotes { grid-template-columns: minmax(0, 1fr); } }

/* --- 21. Photo sets ----------------------------------------------------- */

.photo-set { display: grid; gap: 1rem; margin-top: clamp(1.8rem, 3.5vw, 2.6rem); }
.photo-set .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.photo-set figure { margin: 0; }
.photo-set img {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
}
.photo-set figcaption { font-size: .88rem; color: var(--ink-faint); margin-top: .8rem; }

@media (max-width: 46rem) { .photo-set .pair { grid-template-columns: minmax(0, 1fr); } }
