  :root {
    --limestone: #F6EBDD;   /* bluff limestone, page background */
    --sand: #FFFFFF;        /* creek sand, panels */
    --oak: #2A0A14;         /* oak bark, text */
    --coulee: #1E3A2B;      /* coulee green, primary */
    --sage: #6B4A52;        /* sage, secondary */
    --bluff: #B3124A;       /* sandstone rust, accent */
    --river: #7E0C34;       /* river slate, dark sections */
    --goldenrod: #F2993A;   /* prairie gold, small highlights */
    --muted: #6B4A52;
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Work Sans', system-ui, -apple-system, sans-serif;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; scroll-padding-top: 80px; }
  body {
    font-family: var(--sans);
    color: var(--oak);
    background: var(--limestone);
    line-height: 1.65;
    padding-top: env(safe-area-inset-top, 0px);
  }
  img, svg { max-width: 100%; display: block; }
  a { color: inherit; }

  /* NAV */
  nav {
    position: sticky; top: 0; z-index: 10;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    padding: 16px 6vw;
    background: rgba(246, 235, 221, 0.95);
    border-bottom: 1px solid var(--sage);
  }
  .wordmark { font-family: var(--serif); font-weight: 800; font-size: 1.3rem; text-decoration: none; color: var(--coulee); }
  .wordmark small { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
  nav ul { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
  nav a { text-decoration: none; font-size: 0.9rem; font-weight: 500; }
  nav a:hover { color: var(--bluff); }

  /* HERO */
  .hero {
    position: relative;
    min-height: 74vh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 4vh 6vw 0;
    background: linear-gradient(180deg, rgba(246,235,221,0) 66%, var(--limestone) 100%), url(../img/hero-bluff.jpg) center bottom / cover no-repeat, var(--limestone);
    overflow: hidden;
  }
  .hero-content { position: relative; z-index: 2; max-width: 880px; padding-bottom: 11vh; }
  .eyebrow {
    font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--bluff); font-weight: 600; margin-bottom: 18px;
  }
  .hero h1 {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    line-height: 1.02; letter-spacing: -0.01em;
    color: var(--coulee);
  }
  .hero h1 em { color: #9A8A68; font-style: italic; font-weight: 600; }
  .hero p.lede { margin-top: 24px; max-width: 880px; font-size: 1.1rem; color: var(--oak); }
  .btn {
    display: inline-block; margin-top: 32px; margin-right: 10px;
    padding: 15px 28px; border-radius: 999px;
    background: var(--coulee); color: var(--limestone);
    text-decoration: none; font-weight: 600; font-size: 0.95rem;
  }
  .btn:hover { background: var(--river); }
  .btn.ghost { background: transparent; color: var(--coulee); border: 2px solid var(--coulee); }
  .btn.ghost:hover { background: var(--coulee); color: var(--limestone); }
  .ridge { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: auto; z-index: 1; }

  /* LOCATION STRIP */
  .strip {
    background: #B3124A; color: var(--limestone);
    padding: 22px 6vw; display: flex; flex-wrap: wrap; gap: 14px 36px; justify-content: space-between;
    font-size: 0.95rem;
  }
  .strip strong { color: #FFD9B0; font-weight: 600; }

  /* SECTIONS */
  section { padding: 100px 6vw; }
  .kicker { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bluff); font-weight: 600; margin-bottom: 12px; }
  h2 {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.05; color: var(--coulee);
    margin-bottom: 14px;
  }
  .lead { color: var(--muted); max-width: 640px; margin-bottom: 56px; }

  /* PHILOSOPHY */
  .philosophy { background: var(--sand); }
  .pull {
    font-family: var(--serif); font-style: italic; font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.2; max-width: 980px; color: var(--oak);
  }
  .pull span { color: var(--bluff); }
  .principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; margin-top: 64px; }
  .principle { background: var(--limestone); border-radius: 18px; padding: 28px 26px; }
  .principle .glyph { width: 36px; height: 36px; margin-bottom: 14px; }
  .principle h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--coulee); margin-bottom: 8px; }
  .principle p { color: var(--muted); font-size: 0.95rem; }

  /* WHAT WE DO */
  .offerings { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
  .offering {
    border: 1.5px solid var(--sage); border-radius: 18px; padding: 36px 30px;
    display: flex; flex-direction: column; background: #FFFFFF;
  }
  .offering .num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--goldenrod); }
  .offering h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--coulee); margin: 10px 0 10px; }
  .offering p { color: var(--muted); font-size: 0.96rem; flex-grow: 1; }
  .offering a { margin-top: 18px; font-weight: 600; font-size: 0.9rem; color: var(--bluff); text-decoration: none; }

  /* GALLERY */
  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .gallery .ph {
    aspect-ratio: 4 / 5; border-radius: 14px;
    background: linear-gradient(160deg, var(--sage), var(--coulee));
    display: flex; align-items: flex-end; padding: 14px;
    font-size: 0.8rem; color: var(--limestone); font-weight: 500;
  }
  .gallery .ph.wide { grid-column: span 2; aspect-ratio: auto; min-height: 340px; }
  .gallery .ph.alt { background: linear-gradient(160deg, #c49a74, var(--bluff)); }
  .gallery .ph.river { background: linear-gradient(160deg, #6f8c99, var(--river)); }

  /* BIOS */
  .people { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 40px; }
  .person .portrait {
    aspect-ratio: 3 / 4; border-radius: 18px;
    background: var(--sand);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted); margin-bottom: 20px;
  }
  .person h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--coulee); }
  .person .role { color: var(--bluff); font-size: 0.85rem; font-weight: 600; margin: 4px 0 12px; }
  .person p { color: var(--muted); font-size: 0.96rem; }
  .person a { display: inline-block; margin-top: 12px; font-weight: 600; font-size: 0.9rem; color: var(--coulee); }

  /* LINKS */
  .link-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .link-card {
    display: block; padding: 26px; border-radius: 16px; text-decoration: none;
    background: #FFFFFF; border: 1.5px solid var(--sage);
    transition: background 0.15s;
  }
  .link-card:hover { background: var(--coulee); }
  .link-card .tag { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bluff); font-weight: 600; }
  .link-card h3 { font-family: var(--serif); font-size: 1.35rem; color: var(--coulee); margin: 8px 0 6px; }
  .link-card p { font-size: 0.9rem; color: var(--muted); }
  .link-card:hover h3, .link-card:hover p { color: var(--limestone); }
  .link-card:hover .tag { color: var(--goldenrod); }

  /* CTA */
  .cta { background: var(--coulee); color: var(--limestone); }
  .cta h2 { color: var(--limestone); }
  .cta .kicker { color: var(--goldenrod); }
  .cta p { max-width: 560px; color: #d8dfcf; margin-bottom: 28px; }
  .cta .btn { background: var(--limestone); color: var(--coulee); }
  .cta .btn:hover { background: var(--sand); }

  footer {
    background: var(--oak); color: #cbbfa9;
    padding: 34px 6vw; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 0.88rem;
  }

  /* FOUNDER QUOTE */
  .founder-quote {
    margin: 40px 6vw 0; padding: 8px 0 8px 28px;
    border-left: 6px solid var(--bluff);
    max-width: 920px;
  }
  .founder-quote p:first-child {
    font-family: var(--serif); font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.15; color: var(--coulee);
  }
  .founder-quote .attrib {
    margin-top: 18px; font-size: 1.1rem; font-weight: 600; color: var(--oak);
  }
  .founder-quote cite { font-style: normal; color: var(--bluff); }
  .quote-note { margin-top: 22px; color: var(--muted); max-width: 640px; font-size: 0.98rem; }

  /* MCDOUGALL BAND */
  .mc-band { background: var(--coulee); color: var(--limestone); padding: 96px 6vw; }
  .mc-quote { max-width: 980px; border-left: 6px solid var(--goldenrod); padding-left: 36px; }
  .mc-quote p:first-child { font-family: var(--serif); font-weight: 600; font-size: clamp(1.4rem, 2.8vw, 2.2rem); line-height: 1.35; }
  .mc-quote .attrib { margin-top: 22px; font-size: 1rem; color: var(--goldenrod); font-weight: 600; }
  .mc-quote cite { font-style: normal; }

  /* QUOTE: attribution on the right of the line */
  .founder-quote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
  .founder-quote .attrib { margin-top: 0; white-space: nowrap; }

  /* HOW WE WORK: two cards on top, one full-width card below */
  .offerings { grid-template-columns: 1fr 1fr; }
  .offering.wide { grid-column: 1 / -1; }
  @media (max-width: 800px) {
    .offerings { grid-template-columns: 1fr; }
    .offering.wide { grid-column: auto; }
    .founder-quote .attrib { white-space: normal; }
  }

  /* SCHEDULE + CALLOUT + LINK GRID */
  .when { margin-top: 12px; font-weight: 600; color: var(--bluff); }
  .callout { margin-top: 18px; padding: 12px 16px; border-left: 4px solid var(--bluff); background: #FFFFFF; font-size: 0.88rem; color: var(--oak); }
  @media (max-width: 800px) { .link-grid { grid-template-columns: 1fr; } }

  /* CALLOUT UNDER WORKSHOPS */
  .callout-wrap { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
  .callout-wrap .callout { margin-top: 0; max-width: 640px; }
  .callout-wrap .btn { margin: 0; }

  /* LOGOS: top right of link cards, out of the text flow */
  .link-card { position: relative; }

  /* ERWAN LE CORRE QUOTE (philosophy section) */
  .le-quote { margin: 56px 0 0; padding: 8px 0 8px 28px; border-left: 6px solid var(--bluff); max-width: 920px; }
  .le-quote p:first-child { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: 1.35; color: var(--coulee); }
  .le-quote .attrib { margin-top: 16px; font-size: 1rem; font-weight: 600; color: var(--oak); }
  .le-quote cite { font-style: normal; color: var(--bluff); }

  /* COACHES NOTE */
  .since { text-align: center; margin-top: 56px; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--coulee); }

  /* OUR QUESTION */
  .question { margin-top: 56px; max-width: 920px; border-top: 3px solid var(--bluff); padding-top: 22px; }
  .q-label { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--bluff); margin-bottom: 12px; }
  .q-text { font-family: var(--serif); font-weight: 800; font-size: clamp(1.7rem, 3.8vw, 3rem); line-height: 1.12; color: var(--oak); }
  .q-text em { color: var(--bluff); font-weight: 600; }

  /* PHOTO TRIO (philosophy) */
  .photo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
  .photo-trio .shot { aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: var(--sage); }
  .photo-trio img, .offering .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }

  /* PHOTOS ON TRAINING CARDS */
  .offering { overflow: hidden; }
  .offering .shot { margin: -36px -30px 24px; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sage); }
  .offering.wide .shot { aspect-ratio: 3 / 1; }

  /* GALLERY: fill gaps */
  .gallery { grid-auto-flow: dense; }

  @media (max-width: 800px) {
    .photo-trio { grid-template-columns: 1fr 1fr; }
    .photo-trio .shot:first-child { grid-column: 1 / -1; }
    .offering.wide .shot { aspect-ratio: 16 / 9; }
  }

  /* HOW WE WORK: shorter photos, no numbers, stamp */
  .offering { position: relative; }
  .offering .shot { aspect-ratio: 16 / 9; margin-bottom: 22px; }
  .offering.wide .shot { aspect-ratio: 3.6 / 1; }
  @media (max-width: 800px) { .offering.wide .shot { aspect-ratio: 16 / 9; } }
  .offering h3 { margin-top: 0; }
  .stamp {
    position: absolute; top: 20px; right: 22px; z-index: 2;
    transform: rotate(-6deg);
    padding: 7px 14px; border: 3px solid var(--bluff); outline: 1px solid var(--bluff); outline-offset: 3px; border-radius: 6px;
    background: rgba(255, 255, 255, 0.94); color: var(--bluff);
    font-family: var(--sans); font-weight: 700; font-size: 0.8rem; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase;
  }
  @media (max-width: 800px) {
    .stamp { top: 12px; right: 14px; padding: 5px 9px; font-size: 0.62rem; letter-spacing: 0.12em; border-width: 2px; outline-offset: 2px; }
  }

  /* BRAND LOGO */
  .hero-logo { position: absolute; top: 16px; left: 6vw; height: 64px; width: auto; z-index: 3; }
  @media (max-width: 800px) { .hero-logo { position: static; display: block; height: 64px; margin: 0 0 28px; } }

  /* PRINCIPLE PHOTOS */
  .principle { padding: 0 0 28px; overflow: hidden; }
  .principle .p-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 22px; }
  .principle h3, .principle p, .principle .glyph { margin-left: 26px; margin-right: 26px; }

  /* HERO TEXT CENTERED BETWEEN HEADER AND BLUFF (desktop) */
  @media (min-width: 801px) { .hero-content { padding-bottom: 28vh; } }

  /* RESPONSIVE */
  @media (max-width: 800px) {
    nav { flex-direction: column; align-items: flex-start; }
    .gallery { grid-template-columns: 1fr 1fr; }
    .gallery .ph.wide { grid-column: span 2; }
    section { padding: 76px 6vw; }
  }
/* ==========================================================
   MULTI-PAGE ADDITIONS (everything above is the original design)
   ========================================================== */
:root { color-scheme: light; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--coulee); color: var(--limestone); padding: 10px 16px; border-radius: 8px; text-decoration: none; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--bluff); outline-offset: 3px; }
.cta :focus-visible, footer :focus-visible, .mc-band :focus-visible, .lightbox :focus-visible { outline-color: var(--limestone); }
nav a[aria-current="page"] { color: var(--bluff); }
footer a { color: #e4d9c4; }
footer a:hover { color: #fff; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* INNER PAGE HEADER */
.page-head { padding: 72px 6vw 56px; border-bottom: 1px solid rgba(107, 74, 82, 0.25); }
.page-head h1 {
  font-family: var(--serif); font-weight: 800;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.01em;
  color: var(--coulee); margin-bottom: 14px;
}
.page-head .lead { margin-bottom: 0; }
.page-body { padding-top: 72px; }

/* FULL BIOS */
.bios { display: grid; gap: 80px; }
.bio { display: grid; grid-template-columns: minmax(240px, 360px) 1fr; gap: 48px; align-items: start; }
.bio .portrait { aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--sand); }
.bio .portrait img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 4px; }
.bio .role { color: var(--bluff); font-weight: 600; font-size: 0.95rem; margin-bottom: 18px; }
.bio p { color: var(--muted); max-width: 62ch; margin-bottom: 14px; }
.todo {
  margin-top: 22px; padding: 16px 18px; max-width: 62ch;
  border: 2px dashed var(--sage); border-radius: 12px; background: rgba(255, 255, 255, 0.6);
  color: var(--oak); font-size: 0.9rem;
}
.todo strong { color: var(--bluff); }
@media (max-width: 800px) {
  .bio { grid-template-columns: 1fr; gap: 24px; }
  .bio .portrait { max-width: 360px; }
  .page-head { padding: 52px 6vw 40px; }
  .page-body { padding-top: 52px; }
}

/* HOME: PHOTO STRIP BEFORE THE CALL TO ACTION */
.moments { background: var(--limestone); }
.moments .lead { margin-bottom: 40px; }
.moments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.moments-grid a { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: var(--sage); }
.moments-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.moments .btn { margin-top: 32px; }
@media (max-width: 800px) { .moments-grid { grid-template-columns: 1fr 1fr; } }

/* GALLERY PAGE */
.photo-grid { column-count: 3; column-gap: 14px; }
.photo-grid .tile {
  display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0;
  background: var(--sage); border-radius: 14px; overflow: hidden;
  cursor: zoom-in; break-inside: avoid;
}
.photo-grid .tile img { width: 100%; height: auto; display: block; }
@media (max-width: 800px) { .photo-grid { column-count: 2; } }
.gallery-note { margin-top: 36px; color: var(--muted); font-size: 0.95rem; }

dialog.lightbox {
  border: 0; padding: 0; background: transparent;
  width: 100%; height: 100%; max-width: 100vw; max-height: 100vh;
}
dialog.lightbox::backdrop { background: rgba(42, 10, 20, 0.93); }
.lightbox .frame {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 64px 72px 84px;
}
.lightbox .frame img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox .cap {
  position: absolute; left: 0; right: 0; bottom: 24px; padding: 0 80px;
  text-align: center; color: var(--limestone); font-size: 0.95rem;
}
.lightbox .lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 999px; cursor: pointer;
  background: rgba(246, 235, 221, 0.12); color: var(--limestone);
  border: 1.5px solid rgba(246, 235, 221, 0.55); font-size: 1.4rem; line-height: 1;
}
.lightbox .lb-btn:hover { background: rgba(246, 235, 221, 0.28); }
.lightbox .lb-close { top: 14px; right: 14px; }
.lightbox .lb-prev { left: 12px; top: 50%; margin-top: -24px; }
.lightbox .lb-next { right: 12px; top: 50%; margin-top: -24px; }
@media (max-width: 800px) {
  .lightbox .frame { padding: 64px 12px 96px; }
  .lightbox .cap { padding: 0 16px; bottom: 74px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lightbox .lb-prev { left: 14px; }
  .lightbox .lb-next { right: 14px; }
}

/* CONTACT PAGE */
.contact-wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.form { display: grid; gap: 22px; max-width: 640px; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; color: var(--coulee); margin-bottom: 6px; }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--oak); background: #FFFFFF;
  border: 1.5px solid var(--sage); border-radius: 12px; padding: 13px 14px;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--bluff); outline-offset: 1px; border-color: var(--bluff); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form button.btn { margin: 0; border: 0; cursor: pointer; font-family: inherit; justify-self: start; }
.form button.btn[disabled] { opacity: 0.6; cursor: wait; }
.form-status { min-height: 1.6em; font-weight: 600; }
.form-status.ok { color: var(--coulee); }
.form-status.err { color: var(--bluff); }
.side-card { background: #FFFFFF; border: 1.5px solid var(--sage); border-radius: 18px; padding: 30px 28px; }
.side-card h2 { font-size: 1.6rem; margin-bottom: 4px; }
.when-list { list-style: none; display: grid; gap: 16px; margin-top: 18px; }
.when-list strong { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--coulee); }
.when-list span { color: var(--muted); font-size: 0.95rem; }
.side-card .callout { margin-top: 26px; background: var(--limestone); }
.side-card .social { margin-top: 20px; font-size: 0.95rem; color: var(--muted); }
@media (max-width: 800px) { .contact-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* QR CARD PAGE */
.card-page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--limestone); }
.card-main {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 18px; padding: 28px 6vw 12px;
}
.card-logo { height: 92px; width: auto; }
.qr-panel { background: #FFFFFF; border: 1.5px solid var(--sage); border-radius: 22px; padding: 16px; width: min(82vw, 380px); }
.qr-panel svg { width: 100%; height: auto; }
.qr-panel .qr-empty { padding: 36px 12px; color: var(--muted); font-size: 0.95rem; }
.card-hint { color: var(--muted); font-size: 0.95rem; }
.card-url { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--oak); word-break: break-all; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.card-actions .btn { margin: 0; border-width: 2px; border-style: solid; border-color: var(--coulee); cursor: pointer; font-family: inherit; }
.card-actions .btn.ghost { border-color: var(--coulee); }
.card-foot { text-align: center; padding: 16px 6vw 28px; font-size: 0.9rem; color: var(--muted); }
.card-foot a { color: var(--coulee); font-weight: 600; }

/* NAV: five tabs fit on one line on phones */
@media (max-width: 800px) { nav ul { gap: 16px; } }
[hidden] { display: none !important; }

/* Book link in the quote attribution */
.mc-quote .attrib a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.mc-quote .attrib a:hover { color: var(--limestone); }

/* QR image and address on the QR Link page */
.qr-panel img { width: 100%; height: auto; display: block; }
.card-url a { color: inherit; text-decoration: none; }
.card-url a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Philosophy section now opens with the quote */
.philosophy .le-quote { margin-top: 0; }


/* SECTION TONES: a warm sand band alternates with the limestone page color
   (replaces the pure white bands) and a soft ridge edge joins them. */
:root { --dune: #E9D8BE; }
.philosophy { background: var(--dune); }
#links { background: var(--dune); }
#what-we-do, #links, .moments { position: relative; }
#what-we-do::before, #links::before, .moments::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 48px;
  background-repeat: no-repeat; background-size: 100% 100%; pointer-events: none;
}
#what-we-do::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 48%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,0 H1440 V16 C1220,46 1040,2 780,24 C530,45 290,8 0,34 Z%22 fill=%22%23E9D8BE%22/%3E%3C/svg%3E"); }
#links::before      { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 48%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,0 H1440 V16 C1220,46 1040,2 780,24 C530,45 290,8 0,34 Z%22 fill=%22%23F6EBDD%22/%3E%3C/svg%3E"); }
.moments::before    { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 1440 48%22 preserveAspectRatio=%22none%22%3E%3Cpath d=%22M0,0 H1440 V16 C1220,46 1040,2 780,24 C530,45 290,8 0,34 Z%22 fill=%22%23E9D8BE%22/%3E%3C/svg%3E"); }
@media (max-width: 800px) {
  #what-we-do::before, #links::before, .moments::before { height: 30px; }
}

/* Sections that open straight from the title into the cards */
#what-we-do > h2, #people > h2 { margin-bottom: 44px; }
