/* Mandala Magic — shared stylesheet (4 pages, extracted from the original single page). */

:root {
  --ink: #2b1d3a;
  --ink-deep: #241830;
  --cream: #fdf6ec;
  --cream-2: #fffaf0;
  --sand: #f3ece0;
  --accent: #b5462f;
  --accent-hover: #7a3a63;
  --gold: #f2c14e;
  --gold-2: #f2b705;
  --green: #4a7c59;
  --muted: #5a4a68;
  --muted-2: #8a7a92;
  --muted-3: #a291ac;
  --lav: #d8c9e4;
  --lav-2: #f2e9d8;
  --line: #efe2c8;
  --form-bg: #3a2b48;
  --body-copy: #3a2b48;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
::selection { background: var(--gold-2); color: var(--ink); }
img { max-width: 100%; display: block; }
h1, h2, h3, .display {
  font-family: 'Oregano', cursive;
  font-weight: 400;
  margin: 0;
  line-height: 1.1;
}
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.eyebrow {
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
}
.container { max-width: 1180px; margin: 0 auto; }
section { padding: clamp(48px, 7vw, 88px) clamp(20px, 6vw, 64px); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 10;
  background: var(--cream); color: var(--ink); font-weight: 600;
  padding: 10px 16px; border-radius: 0 0 10px 10px; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; background: var(--green); color: #fff9ef;
  font-weight: 600; font-size: 16px; padding: 15px 30px;
  border-radius: 999px; border: none; cursor: pointer;
  box-shadow: 0 10px 30px rgba(74,124,89,0.4);
}
.btn:hover { color: #fff9ef; filter: brightness(1.05); }
.btn--ghost {
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(253,246,236,0.6); box-shadow: none;
}
.btn--ghost:hover { color: var(--cream); border-color: var(--gold); filter: none; }
.btn--muted {
  background: var(--sand); color: var(--muted);
  box-shadow: none; cursor: not-allowed;
}
.btn--muted:hover { color: var(--muted); filter: none; }

/* Navigation */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px 24px;
  padding: clamp(16px,3vw,32px) clamp(20px,5vw,64px);
}
.nav--hero { position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.nav--bar {
  background: var(--ink); border-bottom: 1px solid rgba(253,246,236,0.14);
  padding-block: clamp(12px,1.6vw,18px);
}
.brand {
  font-family: 'Oregano', cursive; font-size: clamp(24px,2.8vw,30px);
  color: var(--cream); letter-spacing: 0.03em; text-decoration: none;
  display: inline-flex; align-items: center; gap: clamp(10px,1.4vw,14px);
}
.brand:hover { color: var(--cream); }
.brand-logo { height: clamp(34px,3.6vw,44px); width: auto; display: block; }
.nav-menu {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(8px,1.5vw,22px);
  list-style: none; margin: 0; padding: 0;
}
.nav-menu a {
  display: block; text-decoration: none; color: var(--cream);
  font-weight: 600; font-size: 15px; padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover { color: var(--cream); border-color: var(--gold); }
.nav-menu a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }

/* Hero (homepage) */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  background: var(--ink);
  /* Reserve the nav's height so the bottom-anchored text can never climb
     up into the "Mandala Magic" logo on short/landscape viewports. */
  padding-top: clamp(96px, 14vw, 128px);
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,20,45,0.15) 0%, rgba(30,20,45,0.55) 65%, rgba(20,14,30,0.88) 100%);
}
.hero-overlay-2 {
  position: absolute; inset: 0;
  background: linear-gradient(to top right, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0) 70%);
}
.hero-copy {
  position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 48px clamp(20px,6vw,64px) clamp(56px,7vw,88px) clamp(20px,6vw,64px);
}
.hero-inner { max-width: 1000px; }
.hero-kicker { color: var(--gold); }
.hero h1 { color: var(--cream); font-size: clamp(44px,7.5vw,82px); margin: 0 0 18px; }
.hero p.lede { color: var(--lav-2); font-size: clamp(16px,1.8vw,19px); max-width: 560px; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Interior page header */
.page-head {
  background: var(--ink); color: var(--cream);
  padding: clamp(32px,4vw,56px) clamp(20px,6vw,64px) clamp(40px,5vw,72px);
}
.page-head .eyebrow { color: var(--gold); }
.page-head h1 { font-size: clamp(36px,5.5vw,60px); margin: 0 0 14px; }
.page-head .lede { color: var(--lav-2); font-size: clamp(16px,1.7vw,19px); max-width: 660px; margin: 0; }

/* What is a mandala / what happens (home) */
.intro-grid {
  display: grid; grid-template-columns: minmax(280px,1.05fr) minmax(260px,1fr);
  gap: clamp(28px,5vw,64px); align-items: center;
}
.intro-copy .eyebrow { color: var(--accent); }
.intro-copy h2 { font-size: clamp(32px,4vw,46px); color: var(--ink); margin: 0 0 18px; }
.intro-copy p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--body-copy); }
.intro-media-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px,2vw,20px);
}
.intro-media {
  border-radius: 22px; overflow: hidden; aspect-ratio: 3/4;
  box-shadow: 0 20px 40px rgba(43,29,58,0.12);
}
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.intro-media--offset { margin-top: clamp(18px,4vw,44px); }

/* Next workshop teaser band */
.next-band { background: var(--ink); color: var(--cream); }
.next-band .container { max-width: 760px; text-align: center; }
.next-band .eyebrow { color: var(--gold); }
.next-band h2 { font-size: clamp(30px,4vw,44px); color: var(--cream); margin: 0 0 16px; }
.next-band p { color: var(--lav-2); font-size: 17px; margin: 0 0 26px; }
.next-band .hero-actions { justify-content: center; }

/* Coming soon placeholder (events page) */
.coming-soon {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(26px,4vw,48px); text-align: center;
  box-shadow: 0 20px 50px rgba(43,29,58,0.06);
}
.coming-soon h2 { font-size: clamp(28px,3.6vw,40px); color: var(--ink); margin: 0 0 12px; }
.coming-soon p { margin: 0 auto 24px; max-width: 520px; font-size: 17px; color: var(--body-copy); }
.coming-soon .hero-actions { justify-content: center; }

/* Past / archived event card */
.archived { background: var(--sand); }
.archive-card {
  display: grid; grid-template-columns: minmax(220px,320px) 1fr;
  gap: clamp(24px,4vw,44px); align-items: stretch;
  background: var(--cream-2); border-radius: 28px;
  padding: clamp(20px,3vw,36px); box-shadow: 0 20px 50px rgba(43,29,58,0.08);
}
.archive-media { border-radius: 20px; overflow: hidden; min-height: 220px; background: #111; }
.archive-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.9); }
.archive-body { display: flex; flex-direction: column; gap: 16px; }
.badge {
  display: inline-block; align-self: flex-start;
  background: var(--ink); color: var(--lav);
  border-radius: 999px; padding: 5px 15px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
}
.archive-body h3 { font-size: clamp(24px,3vw,34px); color: var(--ink); }
.archive-body p { margin: 0; font-size: 16.5px; line-height: 1.7; color: var(--body-copy); }
.archive-meta { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 15px; color: var(--muted); }
.archive-meta strong { color: var(--ink); }
.archive-note {
  margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted-2);
}

/* Workshop / event card (shared with the archived layout when live) */
.workshop .eyebrow { color: var(--accent); text-align: center; }
.workshop h2 { font-size: clamp(34px,4.5vw,52px); text-align: center; color: var(--ink); margin-bottom: 44px; }
.event-card {
  display: grid; grid-template-columns: minmax(240px,380px) 1fr;
  gap: clamp(28px,4vw,48px); align-items: stretch;
  background: var(--cream-2); border-radius: 28px;
  padding: clamp(20px,3vw,36px); box-shadow: 0 20px 50px rgba(43,29,58,0.08);
}
.event-media { border-radius: 20px; overflow: hidden; min-height: 260px; background: #111; }
.event-media img { width: 100%; height: 100%; object-fit: cover; }
.event-details { display: flex; flex-direction: column; gap: 18px; min-width: 260px; }
.event-meta { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 15px; color: var(--muted); }
.event-meta strong { color: var(--ink); }
.event-when { font-size: 15px; color: var(--muted); }
.event-blurb { margin: 4px 0 0; font-size: 17px; line-height: 1.7; color: var(--body-copy); }
.price-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line);
}
.price { font-family: 'Oregano', cursive; font-size: 38px; font-weight: 400; color: var(--accent); line-height: 1; }
.price-note { font-size: 14px; color: var(--muted-2); margin-top: 2px; }
.paypal-note { margin: -8px 0 0; font-size: 12.5px; color: #a5978f; }

/* About */
.about { background: var(--sand); }
.about-grid {
  display: grid; grid-template-columns: minmax(260px,1.1fr) minmax(240px,1fr);
  gap: clamp(28px,5vw,64px); align-items: center;
}
.about .eyebrow { color: var(--accent); }
.about h2 { font-size: clamp(32px,4vw,44px); color: var(--ink); margin: 0 0 18px; }
.about p { margin: 0 0 16px; font-size: 17px; line-height: 1.75; color: var(--body-copy); }
.about p:last-child { margin: 0; }
.about-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; box-shadow: 0 20px 40px rgba(43,29,58,0.1); }
.about-media img { width: 100%; height: 100%; object-fit: cover; }

/* Location */
.location-grid {
  display: grid; grid-template-columns: minmax(240px,0.9fr) minmax(260px,1fr);
  gap: clamp(28px,5vw,56px); align-items: center;
}
.location-media { border-radius: 24px; overflow: hidden; aspect-ratio: 1/1; box-shadow: 0 20px 40px rgba(43,29,58,0.1); order: 1; }
.location-media img { width: 100%; height: 100%; object-fit: cover; }
.location-copy { order: 2; }
.location-copy .eyebrow { color: var(--accent); }
.location-copy h2 { font-size: clamp(32px,4vw,44px); color: var(--ink); margin: 0 0 18px; }
.location-copy p { margin: 0 0 20px; font-size: 17px; line-height: 1.7; color: var(--body-copy); }
.perks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; color: var(--muted); }
.perks li { display: flex; gap: 10px; }

/* Mailing list (#signup) */
.signup { background: var(--cream); }
.signup-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: var(--cream-2); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(26px,4vw,48px); box-shadow: 0 20px 50px rgba(43,29,58,0.07);
}
.signup-card .eyebrow { color: var(--accent); }
.signup-card h2 { font-size: clamp(28px,3.6vw,40px); color: var(--ink); margin: 0 0 12px; }
.signup-card p { margin: 0 auto; max-width: 520px; font-size: 17px; color: var(--body-copy); }
.eo-form { margin-top: 24px; min-height: 96px; }
/* The EmailOctopus embed renders its own markup (and its own stylesheet) inside .eo-form. */
.eo-form form, .eo-form input, .eo-form button { font-family: 'Work Sans', sans-serif; }

/* Gallery */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
  gap: clamp(14px,2vw,22px); margin: 0; padding: 0;
}
.gallery-item { margin: 0; }
.gallery-open {
  display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 18px; overflow: hidden; box-shadow: 0 14px 34px rgba(43,29,58,0.1);
}
.gallery-open img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-open:hover img { transform: scale(1.035); }
.gallery-item figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted-2); }
.gallery-note { margin: 28px 0 0; font-size: 14px; color: var(--muted-2); text-align: center; }

dialog.lightbox {
  border: 0; padding: 0; max-width: min(1100px, 94vw); max-height: 92vh;
  background: transparent; color: var(--cream);
}
dialog.lightbox::backdrop { background: rgba(20, 14, 30, 0.88); }
.lightbox-inner { background: var(--ink); border-radius: 20px; overflow: hidden; }
.lightbox-inner img { max-height: 76vh; width: auto; margin: 0 auto; }
.lightbox-body { display: flex; align-items: flex-start; gap: 16px; padding: 16px 20px 20px; }
.lightbox-body p { margin: 0; font-size: 14.5px; color: var(--lav); flex: 1; }
.lightbox-close {
  background: transparent; border: 1.5px solid rgba(253,246,236,0.5); color: var(--cream);
  border-radius: 999px; padding: 7px 16px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.lightbox-close:hover { border-color: var(--gold); }
.lightbox-prev, .lightbox-next {
  background: transparent; border: 1.5px solid rgba(253,246,236,0.5); color: var(--cream);
  border-radius: 999px; width: 42px; height: 42px; font-size: 18px; cursor: pointer;
}
.lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold); }
.lightbox-nav { display: flex; gap: 10px; }
.no-js .gallery-open { cursor: default; }

/* Contact */
.contact { background: var(--ink); }
.contact-head { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-head .eyebrow { color: var(--gold); }
.contact-head h2 { font-size: clamp(32px,4vw,44px); color: var(--cream); margin: 0 0 12px; }
.contact-head p { margin: 0 0 32px; font-size: 16px; color: var(--lav); }
.form-wrap { max-width: 480px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 14px 16px; border-radius: 10px; border: none;
  font-size: 15px; font-family: 'Work Sans', sans-serif;
  background: var(--form-bg); color: var(--cream);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a89bb4; }
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: 4px; align-self: flex-start; }
.form-note { text-align: center; font-size: 17px; font-weight: 600; color: var(--gold); }
.form-error { text-align: center; font-size: 15px; color: #f2b8ad; margin-bottom: 14px; }
.form-meta { margin-top: 18px; text-align: center; font-size: 13px; color: var(--muted-3); }
.form-meta a { color: var(--lav); }

/* Contact strip (home) */
.contact-strip { background: var(--sand); text-align: center; }
.contact-strip h2 { font-size: clamp(28px,3.6vw,40px); color: var(--ink); margin: 0 0 12px; }
.contact-strip p { margin: 0 auto 24px; max-width: 520px; font-size: 17px; color: var(--body-copy); }
.contact-strip .hero-actions { justify-content: center; }

/* Footer */
footer.site-footer {
  padding: clamp(28px,4vw,40px) clamp(20px,6vw,64px);
  background: var(--ink-deep); color: var(--muted-3); font-size: 13.5px; text-align: center;
}
footer.site-footer a { color: var(--lav); }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  list-style: none; margin: 0 0 16px; padding: 0;
}
.footer-nav a { font-weight: 600; font-size: 14px; text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-line { margin: 0; }
.footer-line + .footer-line { margin-top: 6px; }

@media (max-width: 860px) {
  .intro-grid, .about-grid, .location-grid { grid-template-columns: 1fr; }
  .intro-media--offset { margin-top: 0; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); }
}

@media (max-width: 720px) {
  .event-card, .archive-card { grid-template-columns: 1fr; }
  .location-media { order: 0; }
  .location-copy { order: 1; }
  .event-media { min-height: 220px; }
  .archive-media { min-height: 200px; }
}

@media (max-width: 560px) {
  .nav { justify-content: center; row-gap: 10px; }
  .brand { font-size: 22px; }
  .nav-menu { justify-content: center; gap: 10px 16px; width: 100%; }
  .nav-menu a { font-size: 14px; }
  .gallery-item figcaption { font-size: 12.5px; }
}

/* Outdoor/light-background variant of the ghost button */
.btn--ghost-dark {
  background: transparent; color: var(--ink);
  border: 1.5px solid rgba(43,29,58,0.35); box-shadow: none;
}
.btn--ghost-dark:hover { color: var(--accent-hover); border-color: var(--accent-hover); filter: none; }

/* Archived past-workshop band */
.archived .eyebrow { color: var(--accent); text-align: center; }
.archived h2 { font-size: clamp(32px,4vw,46px); text-align: center; color: var(--ink); margin: 0 0 40px; }

/* Coming-soon placeholder heading */
.coming-soon-title { font-size: clamp(24px,3vw,32px); color: var(--ink); margin: 0 0 12px; }

/* Finished-piece feature (gallery) */
.feature-piece { background: var(--sand); }
.feature-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.feature-piece .eyebrow { color: var(--accent); }
.feature-piece h2 { font-size: clamp(30px,4vw,44px); color: var(--ink); margin: 0 0 26px; }
.feature-figure { margin: 0; }
.feature-figure img { border-radius: 22px; margin: 0 auto; box-shadow: 0 20px 50px rgba(43,29,58,0.14); }
.feature-figure figcaption { margin-top: 16px; font-size: 14px; color: var(--muted-2); }

/* ==========================================================================
   Design pass 2026-10-12 — legible nav, inner-page heroes, section rhythm,
   gallery at natural aspect. Overrides the rules above; brand palette unchanged.
   ========================================================================== */
:root {
  --sec-y: clamp(64px, 8vw, 104px);
  --sec-x: clamp(20px, 6vw, 64px);
  --h2: clamp(32px, 4.2vw, 48px);
  --body: 17px;
  --radius: 24px;
  --shadow: 0 20px 48px rgba(43,29,58,0.10);
}
img { height: auto; }
section { padding: var(--sec-y) var(--sec-x); }
section .container > .eyebrow + h2,
.intro-copy h2, .about h2, .location-copy h2, .signup-card h2,
.contact-strip h2, .contact-head h2, .feature-piece h2, .archived h2, .workshop h2, .next-band h2 {
  font-size: var(--h2);
}

/* ---- Navigation: legible cream links on a dark scrim, gold only as accent ---- */
.nav { gap: 12px 28px; }
.nav--hero {
  background: linear-gradient(180deg, rgba(20,14,30,0.72) 0%, rgba(20,14,30,0.35) 70%, rgba(20,14,30,0) 100%);
  padding-bottom: clamp(28px, 4vw, 44px);
}
.nav-menu { gap: 4px; }
.nav-menu a {
  color: var(--cream); font-size: 16px; font-weight: 600; letter-spacing: 0.04em;
  padding: 9px 16px; border: 0; border-radius: 999px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  transition: background-color .2s ease, color .2s ease;
}
.nav-menu a:hover { color: var(--cream); background: rgba(253,246,236,0.14); }
.nav-menu a[aria-current="page"] {
  color: var(--ink); background: var(--cream); text-shadow: none;
}

/* ---- Inner-page heroes (events / gallery / contact) ---- */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(380px, 52vh, 520px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(120px, 15vw, 150px) var(--sec-x) clamp(48px, 6vw, 72px);
}
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.page-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(30,20,45,0.25) 0%, rgba(30,20,45,0.6) 55%, rgba(20,14,30,0.92) 100%),
    linear-gradient(to top right, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 70%);
}
.page-hero .nav--hero { z-index: 3; }
.page-hero-copy { width: 100%; position: relative; }
.page-hero h1 { color: var(--cream); font-size: clamp(42px, 6.5vw, 72px); }

/* ---- Home: intro images aligned (equal height, top-aligned, no offset) ---- */
.intro-grid { align-items: center; }
.intro-media-grid { align-items: start; }
.intro-media, .intro-media--offset { margin-top: 0; aspect-ratio: 3/4; }

/* ---- Section rhythm: every band its own clearly different surface ---- */
.intro      { background: var(--cream); }
.next-band  { background: var(--ink); }
.about      { background: var(--sand); }
.location   { background: var(--cream-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.location-media { aspect-ratio: 4/3; }
.signup {
  background:
    radial-gradient(circle at 15% 20%, rgba(242,193,78,0.16), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(181,70,47,0.22), transparent 50%),
    var(--ink);
}
.signup-card { background: var(--cream-2); border: 0; box-shadow: 0 30px 70px rgba(0,0,0,0.35); max-width: 680px; }
.contact-strip { background: var(--sand); }

/* Events */
.workshop { background: var(--cream); }
.workshop h2 { margin-bottom: 32px; }
.coming-soon { max-width: 820px; margin: 0 auto; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--gold); }
.coming-soon p { margin-bottom: 28px; }
.archived { background: var(--sand); }
.archive-card { border-radius: var(--radius); box-shadow: var(--shadow); max-width: 1040px; margin: 0 auto; }
.archive-media img { position: absolute; inset: 0; }
.archive-media { position: relative; }

/* Gallery: natural aspect, masonry-style columns, nothing stretched or cropped */
.gallery { background: var(--cream); }
.gallery-grid { display: block; columns: 3 260px; column-gap: clamp(14px, 2vw, 24px); }
.gallery-item { break-inside: avoid; margin: 0 0 clamp(18px, 2.4vw, 28px); }
.gallery-open { border-radius: 18px; }
.gallery-open img { aspect-ratio: auto; width: 100%; height: auto; object-fit: initial; }
.gallery-item figcaption { font-size: 14px; color: var(--muted); }
.gallery-note { max-width: 640px; margin: 12px auto 0; }
.feature-piece { background: var(--sand); }
.feature-figure img { width: min(100%, 640px); height: auto; }
dialog.lightbox { max-width: 94vw; }
.lightbox-inner { display: flex; flex-direction: column; max-height: 92vh; }
.lightbox-inner img {
  width: auto; height: auto; max-width: 94vw; max-height: calc(92vh - 84px);
  object-fit: contain; margin: 0 auto; background: #000;
}

/* Contact: light section, dark form card (no dark-on-dark after the hero) */
.contact { background: var(--cream); }
.contact-card {
  max-width: 720px; background: var(--ink); border-radius: var(--radius);
  padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow);
}
.contact-form .btn { align-self: stretch; justify-content: center; }

/* Buttons: consistent hit-area and hover */
.btn { padding: 15px 28px; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-1px); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .intro-media-grid { max-width: 560px; }
  .about-media { order: -1; }
}
@media (max-width: 720px) {
  .archive-media { min-height: 0; aspect-ratio: 4/3; }
  .gallery-grid { columns: 2; }
}
@media (max-width: 560px) {
  .nav { justify-content: center; padding-top: 14px; }
  .nav-menu { justify-content: center; gap: 2px; }
  .nav-menu a { font-size: 15px; padding: 8px 12px; }
  .hero { padding-top: 140px; }
  .page-hero { padding-top: 150px; min-height: 420px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
  .gallery-grid { column-gap: 12px; }
  .gallery-item figcaption { font-size: 12.5px; }
}

/* Gallery workshop sections (gallery-workshops.php) */
.gallery-head { max-width: 680px; margin: 0 auto clamp(28px,4vw,44px); text-align: center; }
.gallery-head .eyebrow { color: var(--accent); }
.gallery-head h2 { font-size: var(--h2); color: var(--ink); margin: 0 0 12px; }
.gallery-lead { margin: 0; font-size: var(--body); color: var(--body-copy); }


/* Shorter poster-slice heroes (gallery, contact) */
.page-hero--short { min-height: clamp(320px, 40vh, 460px); }
.page-hero--short .page-hero-img { object-position: center; }
.page-hero--short .page-hero-shade { background: linear-gradient(180deg, rgba(30,20,45,0.55) 0%, rgba(30,20,45,0.6) 45%, rgba(20,14,30,0.9) 100%), linear-gradient(to top right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 75%); }
@media (max-width: 560px) { .page-hero--short { min-height: 360px; } }


/* Contact hero: painted-area slice of for-poster-04 as a cover background (no canvas edges) */
.page-hero--contact { background: var(--ink) url('/assets/hero-contact-poster-04.webp') center / cover no-repeat; }

/* Home hero fills exactly one viewport (svh/dvh for mobile browser bars), content centred */
.hero {
  min-height: 100vh; height: 100vh;
  min-height: 100svh; height: 100svh;
  align-items: center;
  padding-top: clamp(96px, 12vw, 128px); padding-bottom: 56px;
  overflow: hidden;
}
@supports (height: 100dvh) { .hero { height: 100dvh; min-height: 100dvh; } }
@media (max-height: 560px) { .hero { height: auto; } }
.hero-copy { padding-block: 0; }
.hero-img { object-fit: cover; }
