:root {
  --granita: #A10458;
  --pitaya: #F20585;
  --scuba: #04A7B9;
  --island: #3BEB57;
  --inca: #EAF104;
  --citrus: #FFAD31;
  --ink: #210018;
  --paper: #fffaf1;
  --white: #ffffff;
  --shadow: 0 18px 55px rgba(33, 0, 24, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(242,5,133,.13), transparent 27rem),
    radial-gradient(circle at 92% 20%, rgba(4,167,185,.14), transparent 28rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--inca); color: var(--ink); padding: .7rem 1rem; font-weight: 800; border-radius: .5rem; }
.skip-link:focus { top: 1rem; }
.hero { position: relative; min-height: min(92svh, 880px); display: grid; align-items: end; isolation: isolate; color: var(--white); overflow: hidden; }
.hero__media, .hero__media img, .hero__veil { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: center 42%; }
.hero__veil { background: linear-gradient(180deg, rgba(0,0,0,.08) 12%, rgba(33,0,24,.28) 48%, rgba(33,0,24,.9) 100%); z-index: 1; }
.hero::before { content: ""; position: absolute; inset: auto 0 0; height: .65rem; z-index: 3; background: linear-gradient(90deg,var(--granita),var(--pitaya),var(--scuba),var(--island),var(--inca),var(--citrus)); }
.hero__content { position: relative; z-index: 2; width: min(1120px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(7rem,16vh,13rem) 0 clamp(3.7rem,8vh,6rem); }
.eyebrow, .section-label { margin: 0 0 .75rem; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 900; }
.eyebrow { color: var(--inca); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; line-height: .97; text-wrap: balance; }
h1 { max-width: 900px; font-size: clamp(2.8rem, 7vw, 6.6rem); text-shadow: 0 4px 22px rgba(0,0,0,.35); }
.intro { max-width: 720px; margin: 1.5rem 0 .7rem; font-size: clamp(1.05rem,2.1vw,1.35rem); line-height: 1.55; }
.byline { margin: 0 0 1.6rem; font-weight: 750; color: rgba(255,255,255,.82); }
.hero__button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.15rem; border-radius: 999px; background: var(--pitaya); color: white; text-decoration: none; font-weight: 900; box-shadow: 0 10px 28px rgba(242,5,133,.32); transition: transform .2s ease, background .2s ease; }
.hero__button:hover { transform: translateY(-2px); background: var(--granita); }
main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.story { position: relative; display: grid; grid-template-columns: 14px 1fr; gap: clamp(1rem,3vw,2rem); max-width: 930px; margin: clamp(4rem,9vw,8rem) auto; padding: clamp(1.4rem,4vw,3rem); background: rgba(255,255,255,.82); border-radius: 1.7rem; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.story__accent { border-radius: 999px; background: linear-gradient(var(--pitaya),var(--citrus),var(--inca)); }
.section-label { color: var(--granita); }
.story h2, .gallery-heading h2 { font-size: clamp(2.1rem,5vw,4.2rem); }
.story p:last-child { margin-bottom: 0; font-size: clamp(1.03rem,2vw,1.18rem); }
.gallery-section { padding-bottom: 5rem; }
.gallery-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 1.8rem; }
.gallery-heading > p { max-width: 330px; margin: 0; color: rgba(33,0,24,.7); }
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); grid-auto-flow: dense; gap: clamp(.75rem,1.5vw,1.15rem); }
.gallery__item { grid-column: span 6; position: relative; border: 0; padding: 0; background: transparent; border-radius: 1.2rem; overflow: hidden; cursor: zoom-in; box-shadow: 0 10px 26px rgba(33,0,24,.12); aspect-ratio: 3 / 2; }
.gallery__item--portrait { grid-column: span 4; aspect-ratio: 3 / 4; }
.gallery__item--wide { grid-column: span 6; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.gallery__item::after { content: "+"; position: absolute; right: .8rem; bottom: .8rem; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; color: var(--white); background: rgba(161,4,88,.86); font-size: 1.5rem; font-weight: 300; opacity: 0; transform: translateY(.4rem); transition: .25s ease; }
.gallery__item:hover img { transform: scale(1.035); filter: saturate(1.08); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: translateY(0); }
.gallery__item:focus-visible { outline: 5px solid var(--inca); outline-offset: 4px; }
footer { padding: 2.2rem 1rem; text-align: center; background: var(--granita); color: white; border-top: 8px solid var(--inca); }
footer p { margin: 0; }
.lightbox { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20,0,15,.96); color: white; overflow: hidden; }
.lightbox::backdrop { background: rgba(20,0,15,.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; width: min(92vw, 1500px); height: min(88dvh, 980px); display: grid; grid-template-rows: minmax(0,1fr) auto; gap: .8rem; place-items: center; }
.lightbox picture { min-height: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.lightbox__image { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox__caption { font-size: .92rem; color: rgba(255,255,255,.76); text-align: center; }
.lightbox__close, .lightbox__nav { position: fixed; z-index: 2; border: 0; color: white; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); cursor: pointer; }
.lightbox__close { top: max(1rem,env(safe-area-inset-top)); right: max(1rem,env(safe-area-inset-right)); width: 3rem; height: 3rem; border-radius: 50%; font-size: 2rem; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 3.2rem; height: 4.4rem; font-size: 2.6rem; }
.lightbox__nav--prev { left: max(.5rem,env(safe-area-inset-left)); border-radius: 0 1rem 1rem 0; }
.lightbox__nav--next { right: max(.5rem,env(safe-area-inset-right)); border-radius: 1rem 0 0 1rem; }
@media (max-width: 760px) {
  .hero { min-height: 82svh; }
  .hero__content { width: min(100% - 1.4rem, 1120px); }
  .hero__media img { object-position: 54% center; }
  main { width: min(100% - 1.25rem, 1180px); }
  .story { margin: 3.2rem auto 4.2rem; border-radius: 1.2rem; grid-template-columns: 8px 1fr; }
  .gallery-heading { display: block; }
  .gallery-heading > p { margin-top: 1rem; }
  .gallery { gap: .7rem; }
  .gallery__item, .gallery__item--wide { grid-column: span 12; border-radius: .85rem; }
  .gallery__item--portrait { grid-column: span 6; }
  .gallery__item::after { opacity: 1; transform: none; width: 2rem; height: 2rem; font-size: 1.2rem; }
  .lightbox figure { width: 100vw; height: 88dvh; padding: 3.5rem .7rem 1rem; }
  .lightbox__nav { top: auto; bottom: max(1rem,env(safe-area-inset-bottom)); transform: none; height: 3rem; border-radius: 999px; }
  .lightbox__nav--prev { left: calc(50% - 4rem); }
  .lightbox__nav--next { right: calc(50% - 4rem); }
}
@media (max-width: 430px) {
  h1 { font-size: clamp(2.45rem,13vw,3.5rem); }
  .intro { font-size: 1rem; }
  .gallery__item--portrait { grid-column: span 12; aspect-ratio: 3 / 4; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.hero .byline a,
footer a { color: inherit; font-weight: 900; text-underline-offset: .18em; }
.hero .byline a:hover,
footer a:hover { text-decoration-thickness: 2px; }
.stories { display: grid; gap: clamp(1.2rem, 3vw, 2rem); margin: clamp(4rem,9vw,8rem) auto; }
.stories .story { width: 100%; margin: 0 auto; }
.story__accent--blue { background: linear-gradient(var(--scuba),var(--island),var(--inca)); }
.story__accent--green { background: linear-gradient(var(--island),var(--inca),var(--citrus)); }
