/* ============================================================
   Caroline Robitaille Photography — site styles
   Change colors or fonts here and every page updates.

   Layout sizes:  phone < 700px  ·  tablet 700–1100px  ·  desktop > 1100px
   Backgrounds (hero photo, plum sections, footer) always run edge to
   edge; the content inside them stays within --content.
   ============================================================ */

:root {
  --cream: #fffcf2;      /* page background */
  --plum: #452b30;       /* footer, panels, buttons */
  --linen: #f3ecd8;      /* text on plum */
  --mauve: #8a5d69;      /* accents */
  --link-active: #74404c; /* menu + footer links on hover / current page */
  --field: rgba(198, 200, 155, 0.15); /* form inputs */

  --display: "Playfair Display", "Didot", "Bodoni 72", Georgia, serif;
  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;

  --content: 1280px;                   /* widest the content gets */
  --gutter: clamp(16px, 4vw, 64px);    /* space at the screen edges */
  --gap: clamp(16px, 2.6vw, 36px);     /* space between photos */
  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--plum);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* keeps the footer at the bottom of the screen on short pages */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- Menu button + overlay ---------- */

.menu-btn {
  position: fixed;
  top: calc(clamp(14px, 2.2vw, 32px) + env(safe-area-inset-top, 0px));
  right: clamp(14px, 2.2vw, 32px);
  z-index: 30;
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1;
  letter-spacing: 0.14em;
  color: var(--plum);
  background: rgba(255, 252, 242, 0.7);
  border: 0;
  padding: 10px 12px;
  cursor: pointer;
}
.menu-btn:hover { background: rgba(198, 200, 155, 0.35); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--plum);
  color: var(--linen);
  display: grid;
  place-items: center;
  padding: 24px;
}
.menu nav { display: grid; gap: 18px; text-align: center; }
.menu nav a {
  font-size: clamp(30px, 5vw, 52px);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.menu nav a { transition: color 0.2s; }
.menu nav a:hover,
.menu nav a:focus-visible,
.menu nav a:active,
.menu nav a[aria-current="page"] { color: var(--link-active); }
.menu .menu-btn { background: transparent; color: var(--linen); }
.menu .monogram { width: clamp(70px, 8vw, 100px); margin: 0 auto 28px; }

/* ---------- Home ---------- */

.hero { position: relative; background: #1a1a1a; }
.hero .hero-photo {
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  object-fit: cover;
  object-position: 50% 70%;
}
.hero .monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(220px, min(58vw, 66vh), 720px);
  transform: translate(-50%, -54%);
}

.gallery {
  max-width: var(--content);
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter);
  display: grid;
  grid-template-columns: 328fr 328fr 425fr;
  gap: var(--gap);
}
.gallery .col { display: flex; flex-direction: column; gap: var(--gap); }
.gallery img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.gallery img.landscape { aspect-ratio: 3 / 2; }
.gallery img.tall { aspect-ratio: 425 / 562; }

/* ---------- About ---------- */

.about-top {
  padding: clamp(96px, 10vw, 140px) var(--gutter) 0;
}
/* Portrait on the left, greeting and story on the right (stacked on phones) */
.about-intro {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: clamp(48px, 6vw, 96px);
}
.about-top { overflow-x: clip; } /* keepsakes may peek past the edge on phones */
.portrait-frame {
  position: relative;
  isolation: isolate;
  width: min(clamp(280px, 32vw, 460px), 78%);
}
.frame-inner {
  position: relative;
  z-index: 1;
  background: var(--plum);
  padding: clamp(10px, 1.3vw, 18px);
}
.about-text {
  max-width: 38em;
  text-align: center;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}
.about-greeting {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(38px, 4.4vw, 64px);
  line-height: 1.1;
  margin: 0 0 0.5em;
}
.about-greeting em { color: var(--link-active); }
.about-text p { margin: 0; text-wrap: pretty; }
.about-text p + p { margin-top: 0.9em; }
.about-text a { color: var(--link-active); text-underline-offset: 3px; }

@media (min-width: 900px) {
  .about-intro {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: center;
    justify-items: start;
  }
  .portrait-frame { width: 100%; max-width: 460px; justify-self: end; }
  .about-text { text-align: left; }
}

.about-gallery {
  background: var(--plum);
  margin-top: clamp(56px, 8vw, 110px);
  padding: clamp(40px, 6vw, 88px) var(--gutter);
}
.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 278fr 417fr 278fr;
  align-items: center;
  gap: var(--gap);
}
.about-grid .center { display: flex; flex-direction: column; gap: var(--gap); }
.about-grid .portrait { aspect-ratio: 2 / 3; object-fit: cover; width: 100%; }
.about-grid .landscape { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

/* ---------- Get in touch ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.contact .panel {
  background: var(--plum);
  color: var(--linen);
  padding: clamp(48px, 5vw, 72px) var(--gutter) clamp(56px, 8vw, 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact .panel .wordmark { width: min(466px, 100%); }
.contact .panel-follow { width: 100%; display: flex; flex-direction: column; align-items: center; }
/* On screens tall enough to show the whole photo, it follows the form down */
@media (min-width: 861px) and (min-height: 760px) {
  .contact .panel-follow { position: sticky; top: clamp(24px, 5vh, 56px); }
}
.contact .panel .photo,
.contact .panel .tagline { width: min(408px, 100%); }
.contact .panel .photo {
  margin-top: clamp(16px, 2vw, 26px);
  background: var(--cream);
  padding: clamp(12px, 1.4vw, 20px);
}
.contact .panel .tagline {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: clamp(20px, 2.4vw, 34px) 0 0;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact .form-side {
  padding: clamp(40px, 7vw, 116px) var(--gutter) clamp(56px, 8vw, 120px);
  display: grid;
  justify-items: center;
  align-content: start;
}
.inquiry {
  width: min(460px, 100%);
  display: grid;
  gap: 20px;
}
.field { display: grid; gap: 10px; }
.field label { font-size: 14px; line-height: 1.3; }
.field label em { color: var(--mauve); }
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 44px;
  font: 16px/1.2 var(--display); /* 16px stops iPhones from zooming in */
  color: var(--plum);
  background-color: var(--field);
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0 12px;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23452b30' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.field textarea { height: auto; padding: 10px 12px; line-height: 1.5; resize: vertical; }
.field input:disabled { opacity: 0.45; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--mauve); }
.field .check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.field .check input {
  appearance: auto;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--plum);
}

.follow-up { display: grid; gap: 8px; margin-top: 4px; }
.follow-up label { font-style: italic; color: var(--mauve); }

/* Services: tick as many as they like */
.services { border: 0; margin: 0; padding: 0; min-width: 0; }
.services legend { padding: 0; margin-bottom: 10px; font-size: 14px; line-height: 1.3; }
.services legend em { color: var(--mauve); }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.check-grid .check {
  align-items: flex-start;
  padding: 11px 12px;
  background: var(--field);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.3;
}
.check-grid .check em { color: var(--mauve); font-size: 13px; }
.check-grid .check:has(input:checked) { border-color: var(--mauve); }
.check-grid .check:last-child { grid-column: 1 / -1; }
.services.invalid .check { border-color: #9b2c2c; }

/* Welcome above the form */
.form-intro { width: min(460px, 100%); margin-bottom: 32px; }
.form-intro h2 {
  margin: 0 0 12px;
  font-weight: 400;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.2;
}
.form-intro p { margin: 0; font-family: var(--serif); font-size: 20px; line-height: 1.5; }
.form-intro .booking-note {
  margin: 14px 0 0;
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mauve);
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.submit {
  height: 44px;
  font: 15px var(--display);
  color: var(--cream);
  background: var(--plum);
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}
.submit:hover { background: #5a3a40; }
.submit:disabled { opacity: 0.6; cursor: progress; }

.form-status { margin: 0; font-size: 14px; }
.form-status:empty { display: none; }
.form-status.error { color: #9b2c2c; }
.form-status a,
.form-alt a,
.thanks a { color: var(--link-active); text-underline-offset: 3px; }
.form-alt { margin: 0; font-size: 14px; text-align: center; overflow-wrap: anywhere; }

.thanks { width: min(460px, 100%); }
.thanks h2 { font-weight: 400; font-style: italic; font-size: 34px; margin: 0 0 10px; }
.thanks p { font-family: var(--serif); font-size: 21px; margin: 0; }
.thanks p + p { margin-top: 1em; }

/* ---------- Text pages: FAQ, Journal, stories ---------- */

.page { padding: clamp(96px, 10vw, 140px) var(--gutter) 0; }
.page-head {
  max-width: 40em;
  margin: 0 auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.page-head h1 .keep-together { white-space: nowrap; }
.page-head h1 {
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: clamp(15px, 1.2vw, 17px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mauve);
}
.lede {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 22px);
  text-wrap: balance;
}
.page a:not(.button, .story-card) { color: var(--link-active); text-underline-offset: 3px; }

/* FAQ: each question opens with a tap */
.faq { max-width: 760px; margin: 0 auto; }
.faq section + section { margin-top: clamp(40px, 5vw, 64px); }
.faq h2 {
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2vw, 28px);
  margin: 0 0 8px;
}
.faq details { border-bottom: 1px solid rgba(69, 43, 48, 0.18); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 18px 0;
  font-size: clamp(17px, 1.4vw, 19px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4em;
  line-height: 1;
  color: var(--mauve);
  transition: rotate 0.2s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq summary:hover { color: var(--link-active); }
.faq details p {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
}

/* Closing call to action on text pages */
.page-cta {
  margin: clamp(64px, 8vw, 110px) calc(-1 * var(--gutter)) 0;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  text-align: center;
}
.page-cta p {
  margin: 0 0 22px;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
}
.button {
  display: inline-block;
  padding: 12px 28px;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--cream);
  background: var(--plum);
  border-radius: 10px;
}
.button:hover { background: #5a3a40; }
/* Same call to action on pages without text-page padding (Home, About) */
.page-cta.full-bleed { margin: 0; }

/* Journal list */
.story-list {
  max-width: var(--content);
  margin: 0 auto clamp(72px, 9vw, 130px); /* breathing room above the footer */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--gap);
}
.story-card { text-decoration: none; }
.story-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; margin-bottom: 16px; }
.story-card .eyebrow { margin-bottom: 6px; }
.story-card h2 { margin: 0; font-weight: 400; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.3; }
.story-card:hover h2 { color: var(--link-active); }

/* A single story */
.story-text {
  max-width: 38em;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.6;
}
.story-text p { margin: 0 0 1em; }
.story-gallery {
  max-width: 1100px;
  margin: clamp(40px, 5vw, 64px) auto;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gap);
}
/* Two large photos, then rows of three */
.story-gallery img { width: 100%; grid-column: span 2; }
.story-gallery img:nth-child(-n+2) { grid-column: span 3; }
.tips h2 {
  font-family: var(--display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.4vw, 32px);
  margin: 0 0 18px;
  text-align: center;
}
.tips ul { margin: 0; padding-left: 1.1em; }
.tips li + li { margin-top: 0.7em; }
.tips strong { font-weight: 500; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--plum);
  color: var(--linen);
  padding: clamp(28px, 3vw, 40px) var(--gutter) calc(clamp(24px, 3vw, 36px) + env(safe-area-inset-bottom, 0px));
}
.footer-inner {
  position: relative;
  max-width: var(--content);
  margin: 0 auto;
  min-height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
}
.site-footer .brand { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.site-footer .brand p { margin: 0; text-transform: uppercase; line-height: 1.2; }
.site-footer .brand strong { display: block; font-weight: 400; font-size: clamp(20px, 1.9vw, 27px); }
.site-footer .brand span { font-size: clamp(16px, 1.55vw, 22px); }
.site-footer .ig { display: inline-block; align-self: flex-start; padding: 8px; margin: -8px; transition: color 0.2s; }
.site-footer .ig:hover,
.site-footer .ig:focus-visible,
.site-footer .ig:active { color: var(--link-active); }
.site-footer .ig svg { width: 25px; height: 25px; display: block; }
.site-footer .monogram {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(110px, 12vw, 170px);
  transform: translate(-50%, -50%);
}
.site-footer nav { font-size: clamp(17px, 1.4vw, 20px); }
.site-footer nav p { margin: 0 0 14px; font-style: italic; }
.site-footer nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: auto auto;
  grid-auto-flow: column;
  grid-template-rows: auto auto;
  gap: 8px 40px;
  justify-content: start;
}
.site-footer nav a {
  display: inline-block;
  /* Bigger tap area on phones without moving anything */
  padding: 10px 0;
  margin: -10px 0;
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer nav a:hover,
.site-footer nav a:focus-visible,
.site-footer nav a:active,
.site-footer nav a[aria-current="page"] { color: var(--link-active); }

/* ---------- Tablet (iPad): 2-column photos, form stacks ---------- */

@media (max-width: 1100px) {
  /* Home photos flow into two even columns */
  .gallery { display: block; columns: 2; column-gap: var(--gap); }
  .gallery .col { display: contents; }
  .gallery img { break-inside: avoid; margin-bottom: var(--gap); }
  .gallery img.tall { aspect-ratio: 2 / 3; }
}

@media (max-width: 860px) {
  .contact { grid-template-columns: minmax(0, 1fr); }
  /* Smaller brand panel so the form shows up sooner */
  .contact .panel { padding-bottom: 36px; }
  .contact .panel .wordmark { width: min(320px, 100%); }
  .contact .panel .photo,
  .contact .panel .tagline { width: min(240px, 100%); }
  .contact .panel .tagline { font-size: 12px; justify-content: center; }
  .contact .form-side { padding-top: 40px; }
}
@media (max-width: 400px) {
  .check-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Phone: one column ---------- */

@media (max-width: 700px) {
  .hero .hero-photo { height: 82svh; }
  .gallery { columns: 1; max-width: 480px; }
  .story-gallery { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .story-gallery img, .story-gallery img:nth-child(-n+2) { grid-column: auto; }

  .about-grid { grid-template-columns: minmax(0, 1fr); max-width: 440px; }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
  }
  .site-footer .brand { align-items: center; gap: 14px; }
  .site-footer .ig { align-self: center; }
  .site-footer .monogram { position: static; transform: none; width: 100px; }
  .site-footer nav ul { justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Fade-in + slight rise as photos scroll into view ----------
   Which items animate is set by the list below (and the same list in
   script.js). Only runs when JavaScript is on, so nothing stays hidden. */

.js :is(.hero .monogram, .gallery img, .portrait-frame, .about-grid img, .contact .panel .photo, .story-gallery img, .story-card img, .featured-story img) {
  opacity: 0;
  translate: 0 24px;
  transition: opacity 1.1s ease-out, translate 1.1s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js :is(.hero .monogram, .gallery img, .portrait-frame, .about-grid img, .contact .panel .photo, .story-gallery img, .story-card img, .featured-story img).in {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .js :is(.hero .monogram, .gallery img, .portrait-frame, .about-grid img, .contact .panel .photo, .story-gallery img, .story-card img, .featured-story img) {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* Readable by Google and screen readers, invisible on the page */
.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;
}

/* Keepsakes around the About portrait, balanced on the diagonal:
   seal (top left) and label (bottom right) sit in front;
   butterfly stamp (top right) and pink CR stamp (bottom left) tuck behind. */
.portrait-frame .keepsake {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(69, 43, 48, 0.28));
}
.portrait-frame .stamp-butterfly {
  z-index: 0;
  top: -17%;
  right: -15%;
  width: 30%;
  rotate: 9deg;
}
.portrait-frame .stamp-pink {
  z-index: 0;
  bottom: -11%;
  left: -15%;
  width: 34%;
  rotate: -7deg;
}
.portrait-frame .seal {
  z-index: 2;
  top: 0;
  left: 34%;
  width: 20%;
  translate: -50% -45%;
  rotate: -8deg;
  filter: drop-shadow(0 3px 6px rgba(69, 43, 48, 0.35));
}
.portrait-frame .label {
  z-index: 2;
  right: -12%;
  bottom: -8%;
  width: 44%;
  aspect-ratio: 720 / 522;
  background: url(images/label-oval.webp) center / contain no-repeat;
  display: grid;
  place-content: center;
  rotate: 5deg;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 28px);
  color: var(--link-active);
  white-space: nowrap;
}
.portrait-frame .label span { font-style: italic; }

/* Home: short welcome between the hero and the gallery */
.home-intro {
  max-width: calc(1040px + 2 * var(--gutter));
  margin: 0 auto;
  padding: var(--intro-space) var(--gutter) 0;
  text-align: center;
}
.home-intro h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.15;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
.home-intro p:not(.eyebrow) {
  max-width: 50em;
  margin: 0 auto;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
  text-wrap: pretty;
}
.text-link {
  color: var(--link-active);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link::after { content: " →"; font-style: normal; }

/* Home: featured Journal story after the gallery */
.home-featured {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 5vw, 72px) var(--gutter) 0;
}
.featured-story {
  display: grid;
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.featured-story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.featured-text h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  margin: 0 0 0.5em;
}
.featured-text p:not(.eyebrow) {
  margin: 0 0 1.2em;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.65;
}
.featured-story:hover h2 { color: var(--link-active); }
@media (min-width: 760px) {
  .featured-story { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
}
/* Same space above and below the Home welcome */
:root { --intro-space: clamp(48px, 5.5vw, 84px); }
.home-intro + .gallery { padding-top: var(--intro-space); }

/* Thin sage divider between sections */
.divider {
  max-width: calc(var(--content) - 2 * var(--gutter));
  margin: 0 var(--gutter);
  border: 0;
  border-top: 1px solid #c6c89b;
}
@media (min-width: 1200px) { .divider { margin: 0 auto; } }

/* Divider inside a regular page (Journal): same width as the content, even space on both sides */
.page > .divider { max-width: var(--content); margin: 0 auto; }
.story-list:has(+ .divider) { margin-bottom: clamp(48px, 6vw, 80px); }
.page > .divider + .page-cta { margin-top: 0; }
