:root {
  color-scheme: dark;
  --ink: #15110e;
  --paper: #f6eee3;
  --accent: #ff663c;
  --gutter: clamp(1.15rem, 4vw, 4.5rem);
  font-family: system-ui, sans-serif;
  color: var(--paper);
  background: var(--ink);
}
* { box-sizing: border-box; }
body, h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
  padding: .65rem var(--gutter);
}
.brand img { width: clamp(6.2rem, 11vw, 9.5rem); height: auto; }
.bar-link {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 650;
}
.bar-link span { color: var(--accent); }
.bar-link:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero {
  --seal-size: clamp(3.7rem, 8vw, 7.3rem);
  --seal-inset: clamp(1rem, 2.7vw, 2.5rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: clamp(31rem, calc(100svh - 4.4rem), 56rem);
  margin-inline: clamp(.55rem, 1.5vw, 1.7rem);
  border: 1px solid #67483b;
  background: #211711;
}
.hero-photo, .hero-photo::after { position: absolute; inset: 0; }
.hero-photo { z-index: -1; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 43%; }
.hero-photo::after {
  content: "";
  background: linear-gradient(0deg, #130c08 0%, #130c08a0 34%, transparent 77%),
              linear-gradient(90deg, #130c0866, transparent 75%);
}
.hero-copy { padding: clamp(1.35rem, 5vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 10vw, 9rem); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.55rem; height: 2px; background: var(--accent); }
h1 {
  margin: .75rem 0 1.65rem;
  font-size: clamp(4rem, 11.8vw, 11rem);
  line-height: .82;
  letter-spacing: -.087em;
  font-weight: 820;
}
h1 span { color: var(--accent); }
.seal, .replay {
  position: absolute;
  width: var(--seal-size);
  height: var(--seal-size);
  top: var(--seal-inset);
  right: var(--seal-inset);
}
.seal { pointer-events: none; }
.seal img { width: 100%; height: 100%; }
.replay { background: transparent; border: 0; cursor: pointer; border-radius: 50%; }
.replay:hover { box-shadow: 0 0 0 2px var(--accent); }
.intro-word {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72%, 46rem);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}
.intro-word img { width: 100%; }
.playing .intro-word { animation: signature 1.95s both; }
.playing .seal { animation: seal 1.95s both; }
.playing .hero-photo { animation: reveal 1.95s both; }
.playing .hero-copy { animation: copy-in 1.95s both; }
@keyframes signature {
  0% { opacity: 1; clip-path: inset(0); transform: translate(-50%, -50%) scale(.94); }
  16%, 34% { opacity: 1; clip-path: inset(0); transform: translate(-50%, -50%) scale(1); }
  51% { opacity: .9; clip-path: inset(0 78% 0 0); transform: translate(-10%, -50%) scale(.8); }
  61%, 100% { opacity: 0; clip-path: inset(0 78% 0 0); transform: translate(-10%, -50%) scale(.67); }
}
@keyframes seal {
  0%, 46% { opacity: 0; top: 50%; right: 50%; transform: translate(50%, -50%) scale(1.65); }
  63% { opacity: 1; top: 50%; right: 50%; transform: translate(50%, -50%) scale(1.65); }
  95%, 100% { opacity: 1; top: var(--seal-inset); right: var(--seal-inset); transform: none; }
}
@keyframes reveal {
  0%, 52% { opacity: 0; clip-path: circle(0% at 50% 50%); }
  100% { opacity: 1; clip-path: circle(73% at 50% 50%); }
}
@keyframes copy-in {
  0%, 57% { opacity: 0; transform: translateY(.65rem); }
  95%, 100% { opacity: 1; transform: none; }
}
.hero-copy:focus-within { animation: none; }
.scrubbing .hero-copy { animation: none; }
.interaction {
  position: absolute;
  right: var(--seal-inset);
  bottom: var(--seal-inset);
  width: min(18rem, 38%);
  padding: .85rem 1rem;
  border: 1px solid #ad7964;
  background: #1b120fee;
  color: var(--paper);
}
.interaction label {
  display: block;
  font-size: .8rem;
  font-weight: 730;
}
.interaction-track {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
}
.interaction input {
  flex: 1;
  min-width: 0;
  height: 2.75rem;
  margin: 0;
  cursor: ew-resize;
  accent-color: var(--accent);
}
.interaction-phase {
  color: var(--accent);
  font-size: .68rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.bar-nav { display: flex; align-items: center; gap: clamp(.85rem, 3vw, 2rem); }
body > header.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--ink);
  border-bottom: 1px solid #ffffff15;
}
.nav-contact {
  padding: .65rem .85rem;
  border: 1px solid #ffb7a45c;
}
.scroll-progress {
  display: none;
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
  transform-origin: left;
  pointer-events: none;
}
#inicio, #galas, #contacto { scroll-margin-top: 4.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: .85rem;
  min-height: 3rem;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  font: inherit;
  font-size: .875rem;
  font-weight: 720;
  cursor: pointer;
}
.action:hover, .action:focus-visible { background: var(--accent); color: var(--ink); }
.hero-contact { border-color: #ffcfb984; background: #201410b8; color: var(--paper); }

.story, .galas, .contact { padding: clamp(3.4rem, 8vw, 8rem) var(--gutter); }
.story, .contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: center;
}
.section-title h2 {
  margin: .7rem 0 1.1rem;
  font-size: clamp(2.55rem, 6.6vw, 6.8rem);
  line-height: .97;
  letter-spacing: -.078em;
  text-wrap: balance;
}
.section-title h2 em { color: var(--accent); font-style: normal; }
.story-lead > p:last-child, .contact-copy > p:not(.eyebrow):not(.contact-note), .gallery-title > p {
  max-width: 34ch;
  line-height: 1.65;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}
.story-lead > p:last-child, .contact-copy > p:not(.eyebrow) { color: #dbc6b8; }
.moments { padding: 0; margin: 0; list-style: none; }
.moments li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  align-items: baseline;
  gap: .8rem;
  padding: 1.05rem 0;
  border-block-start: 1px solid #5c4538;
}
.moments li:last-child { border-block-end: 1px solid #5c4538; }
.moments li > span, .album-number, .album-count {
  font-size: .75rem;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  letter-spacing: .09em;
}
.moments li > span { color: var(--accent); }
.moments h3 { font-size: clamp(1.3rem, 2.5vw, 2.1rem); letter-spacing: -.045em; }
.moments p { margin-top: .2rem; color: #dbc6b8; line-height: 1.5; }

.afterhours {
  position: relative;
  padding: clamp(3.5rem, 6vw, 6rem) var(--gutter);
  overflow: hidden;
  background: #15110e;
}
.afterhours-topline { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; }
.afterhours-topline .eyebrow { color: #dbc6b8; }
.afterhours-stage { position: relative; margin-block: 2rem 2.5rem; isolation: isolate; }
.afterhours-stage h2 {
  position: relative;
  z-index: 1;
  text-align: center;
  pointer-events: none;
}
.afterhours-stage h2 > span {
  display: block;
  text-shadow: 0 .035em .1em #0005;
  font-size: clamp(3.8rem, 16.5vw, 18rem);
  font-weight: 820;
  line-height: .88;
  letter-spacing: -.08em;
}
.afterhours-stage h2 > em {
  display: block;
  margin-top: clamp(10rem, 18vw, 19rem);
  font-family: Georgia, serif;
  color: var(--accent);
  font-size: clamp(3.5rem, 13vw, 13rem);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .9;
  white-space: nowrap;
}
.afterhours-reel {
  position: absolute;
  z-index: 0;
  top: calc(47% + clamp(.75rem, 2vw, 2rem));
  left: -8%;
  width: 116%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  transform: translateY(-50%) rotate(-7deg);
}
.afterhours-film {
  position: relative;
  display: flex;
  width: max-content;
  gap: .7rem;
  height: clamp(8.5rem, 16vw, 17rem);
  padding: 1.25rem .7rem;
  border-block: 1px solid #67503e;
  background: #080706;
  box-shadow: 0 1.5rem 3rem #0008;
}
.afterhours-film::before, .afterhours-film::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: .35rem;
  background: repeating-linear-gradient(90deg, transparent 0 1rem, #b7a491 1rem 1.5rem, transparent 1.5rem 2rem);
  opacity: .6;
}
.afterhours-film::before { top: .4rem; }
.afterhours-film::after { bottom: .4rem; }
.afterhours-shot { flex: 0 0 max(8.5rem, 24vw); min-width: 0; min-height: 0; overflow: hidden; }
.afterhours-shot img { width: 100%; height: 100%; object-fit: cover; }
.afterhours-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #5c4538;
}
.afterhours-footer p { font-size: clamp(.9rem, 1.3vw, 1.1rem); line-height: 1.6; color: #dbc6b8; }
.afterhours-link { display: inline-flex; align-items: center; gap: 1.5rem; min-height: 2.75rem; font-size: .85rem; text-decoration: none; border-bottom: 1px solid var(--accent); }
.afterhours-link span { color: var(--accent); font-size: 1.3rem; }
.afterhours-link:hover { color: var(--accent); }
@media (max-width: 600px) {
  .afterhours-stage { margin-block: 2rem; }
  .afterhours-stage h2 > span { font-size: 18vw; }
  .afterhours-stage h2 > em { font-size: 15vw; margin-top: 10rem; }
  .afterhours-reel { left: -28%; width: 156%; }
  .afterhours-film { height: 8.5rem; gap: .4rem; }
  .afterhours-footer { align-items: start; }
}
.galas { background: var(--paper); color: var(--ink); }
.memory-section { overflow: hidden; }
.memory-title {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .95;
  letter-spacing: -.065em;
  font-weight: 800;
}
.memory-title span { color: #b32f13; }
.memory-wall {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, clamp(3.2rem, 6.5vw, 6.5rem));
  gap: clamp(.5rem, 1vw, 1rem);
  padding: .75rem 1rem 1.5rem;
  isolation: isolate;
}
.memory-frame {
  position: relative;
  min-width: 0;
  padding: clamp(.4rem, .8vw, .8rem);
  padding-bottom: clamp(1.6rem, 2.4vw, 2.5rem);
  background: #fff8ee;
  box-shadow: 0 .6rem 1.8rem #3924191c, 0 1px 3px #3924191a;
}
.memory-frame-1 { grid-area: 1 / 1 / 4 / 8; transform: rotate(-3deg); }
.memory-frame-2 { grid-area: 1 / 9 / 5 / 13; transform: rotate(4deg); }
.memory-frame-3 { grid-area: 4 / 2 / 7 / 6; transform: rotate(3deg); }
.memory-frame-4 { grid-area: 4 / 6 / 7 / 10; transform: translateY(-.8rem) rotate(-5deg); z-index: 1; }
.memory-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 1px dashed #ac988a;
  background: #e3d4c2;
  color: #8b7464;
  object-fit: cover;
}
.memory-placeholder > span { font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 200; }
.memory-frame-2 .memory-placeholder { background: #d5c2ac; }
.memory-frame-3 .memory-placeholder { background: #dcd0c3; }
.memory-frame-4 .memory-placeholder { background: #cdbba5; }
.memory-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memory-frame-1 .memory-photo { object-position: 50% 40%; }
.memory-frame-2 .memory-photo { object-position: 50% 55%; }
.memory-frame-3 .memory-photo { object-position: 50% 70%; }
.memory-frame-4 .memory-photo { object-position: 50% 65%; }
.memory-index {
  position: absolute;
  bottom: .4rem;
  right: .8rem;
  color: #8b7464;
  font-size: .6rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .15em;
}
.memory-stamp { grid-area: 5 / 11 / 7 / 13; display: grid; place-items: center; transform: rotate(-12deg); }
.memory-stamp img { width: min(100%, 8rem); height: auto; }
@media (max-width: 600px) {
  .memory-wall {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(8, clamp(3.5rem, 15vw, 6rem));
    padding-inline: .4rem;
  }
  .memory-frame-1 { grid-area: 1 / 1 / 3 / 6; }
  .memory-frame-2 { grid-area: 3 / 4 / 6 / 7; }
  .memory-frame-3 { grid-area: 4 / 1 / 7 / 4; }
  .memory-frame-4 { grid-area: 7 / 2 / 9 / 6; }
  .memory-stamp { grid-area: 7 / 6 / 9 / 7; }
}
.gallery-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: .65rem 2rem;
  margin-bottom: clamp(1.8rem, 4.8vw, 4.5rem);
}
.gallery-title h2 { margin-bottom: 0; }
.gallery-title > p { color: #5d4c42; }
.gallery-title h2 span { color: #b32f13; }
.albums-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 3rem);
}
.album {
  min-width: 0;
  padding: clamp(.85rem, 1.6vw, 1.5rem);
  border: 1px solid #cdb9a7;
  background: #efe4d6;
}
.album-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: .55rem .8rem;
  padding-block: 1.5rem;
}
.album-number { color: #b32f13; }
.album-heading h3 { font-size: clamp(1.4rem, 2.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.045em; overflow-wrap: anywhere; }
.album-heading div p { margin-top: .4rem; font-size: .85rem; line-height: 1.5; color: #5d4c42; }
.album-count { grid-column: 2; color: #5d4c42; font-size: .65rem; }
.album-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.gallery-photo, .gallery-placeholder {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #2c1e16;
}
.album-cover { aspect-ratio: 16 / 10; }
.gallery-photo img, .gallery-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { cursor: default; }
.gallery-photo img[src$="passadeira.jpg"] { object-position: center 43%; }
.photo-icon, .photo-label {
  position: absolute;
  bottom: .5rem;
  min-height: 1.8rem;
  background: var(--paper);
  color: var(--ink);
}
.photo-icon { right: .5rem; display: grid; place-items: center; width: 1.8rem; }
.photo-label {
  display: flex;
  align-items: center;
  left: .5rem;
  padding-inline: .65rem;
  font-size: .76rem;
  font-weight: 730;
}
.album-cover .photo-icon, .album-cover .photo-label { min-height: 2.55rem; bottom: .8rem; }
.album-cover .photo-icon { right: .8rem; width: 2.55rem; }
.album-cover .photo-label { left: .8rem; }
.gallery-photo:is(:hover, :focus-visible) .photo-icon { background: var(--accent); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact {
  background: #211711 url("assets/logo-grain.png") repeat;
}
.contact-copy h2 span { color: var(--accent); }
.contact-email {
  width: fit-content;
  max-width: 100%;
  margin-top: 1.45rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid #ffb7a45c;
  overflow-wrap: anywhere;
}
.contact-note { margin-top: .45rem; font-size: .76rem; }
.contact-form {
  border: 1px solid #755647;
  background: #1b1310;
  padding: clamp(1rem, 2.6vw, 2.5rem);
}
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.contact-wide { grid-column: 1 / -1; }
.contact-fields label { display: grid; gap: .4rem; font-weight: 700; font-size: .85rem; }
.contact-fields input, .contact-fields textarea {
  min-width: 0;
  width: 100%;
  min-height: 2.85rem;
  padding: .65rem .75rem;
  border: 1px solid #755647;
  border-radius: 0;
  background: #251a14;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  font-weight: 400;
}
.contact-fields textarea { resize: vertical; }
.contact-fields textarea::placeholder { color: #c7ab9a; }
.contact-fields :is(input, textarea):focus { outline: 1px solid var(--accent); outline-offset: 0; }
.contact-submit { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.contact-submit .action { background: var(--accent); }
.contact-submit .action:is(:hover, :focus-visible) { background: var(--paper); }
.contact-submit p { font-size: .78rem; line-height: 1.45; color: #dbc6b8; }
.footer { border-top: 1px solid #5c4538; }
.photo-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 1rem var(--gutter);
  border: 0;
  background: var(--ink);
  color: var(--paper);
}
.photo-viewer[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: .8rem; }
.photo-viewer::backdrop { background: var(--ink); }
.photo-viewer form { justify-self: end; }
.photo-viewer img { width: 100%; height: 100%; object-fit: contain; }
.photo-viewer button {
  border: 1px solid #ad7964;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding-inline: .75rem;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  cursor: pointer;
}
.photo-viewer button:hover { background: var(--accent); color: var(--ink); }
.viewer-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.viewer-controls p { flex-basis: 18rem; text-align: center; font-size: .875rem; }
body:has(.photo-viewer[open]) { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .action, .nav-contact, .photo-icon, .photo-viewer button {
    transition: background-color .2s, color .2s, transform .23s;
  }
  .action span, .bar-link span { transition: transform .23s ease-out; }
  .action:is(:hover, :focus-visible) { transform: translateY(-2px); }
  .action:active { transform: translateY(1px); }
  :is(.action, .bar-link):is(:hover, :focus-visible) span { transform: translate(3px, -2px); }
  .explore:is(:hover, :focus-visible) span { transform: translateY(3px); }
  .nav-contact:hover { background: #ffb7a422; }
  .gallery-photo img { transition: transform .45s cubic-bezier(.2, .7, .25, 1); }
  .gallery-photo:is(:hover, :focus-visible) img { transform: scale(1.06); }
  .gallery-photo:is(:hover, :focus-visible) .photo-icon { transform: translate(2px, -2px); }
  .photo-viewer[open] { animation: viewer-in .24s ease-out; }
  .photo-viewer img.changing { animation: photo-in .27s ease-out; }
  .motion-ready [data-reveal] {
    transition: opacity .55s ease-out, transform .6s cubic-bezier(.2, .65, .25, 1);
  }
  .motion-ready [data-reveal]:not(.in-view, :focus-within) { opacity: .45; }
  .motion-ready [data-reveal="up"]:not(.in-view, :focus-within) { transform: translateY(1rem); }
  .motion-ready [data-reveal="side"]:not(.in-view, :focus-within) { transform: translateX(-.75rem); }
  .motion-ready [data-reveal="frame"]:not(.in-view, :focus-within) { transform: scale(.96); }
  .motion-ready [data-reveal="frame"] img {
    transition: opacity .7s ease-out, transform .45s cubic-bezier(.2, .7, .25, 1);
  }
  .motion-ready [data-reveal="frame"]:not(.in-view, :focus-within) img { opacity: .35; }
  .motion-ready [data-reveal]:focus-within { transition: none; }
  .motion-ready [data-reveal="frame"]:focus-within img { transition-property: transform; }
}
@keyframes viewer-in { from { opacity: 0; } }
@keyframes photo-in { from { opacity: .45; transform: scale(.985); } }
@keyframes pista-scroll {
  to { opacity: .25; transform: scale(1.14) translateY(3%); }
}
@keyframes reading-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@supports (animation-timeline: view()) and (animation-range: exit 0% exit 100%) {
  @media (prefers-reduced-motion: no-preference) {
    .hero { view-timeline: --entrada block; }
    .hero-photo img {
      animation: pista-scroll linear both;
      animation-timeline: --entrada;
      animation-range: exit 0% exit 100%;
    }
    .scroll-progress {
      display: block;
      animation: reading-progress linear both;
      animation-timeline: scroll(root);
    }
  }
}
@media (max-width: 760px) {
  .hero:has(.interaction:not([hidden])) .hero-copy { padding-bottom: 8.3rem; }
  .interaction { width: auto; left: var(--seal-inset); }
  .story, .contact { grid-template-columns: 1fr; }
  .albums-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .bar { gap: .5rem; }
  .bar-nav { gap: .6rem; }
  .bar-link { gap: .4rem; font-size: .79rem; }
  .nav-contact { padding-inline: .55rem; }
  .hero-photo img { object-position: 56% 43%; }
  h1 { font-size: clamp(3.1rem, 14vw, 5rem); }
  .hero-copy { padding-inline: 1.15rem; }
  .hero-actions .action { min-height: 2.7rem; padding-inline: .65rem; gap: .4rem; font-size: .78rem; }
  .contact-fields { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .playing .intro-word, .playing .seal, .playing .hero-photo, .playing .hero-copy { animation: none; }
  .hero-photo img { animation: cover-fade-in 1.6s ease-out; }
  .motion-ready [data-reveal="frame"] img { transition: opacity .65s ease-out; }
  .motion-ready [data-reveal="frame"]:not(.in-view, :focus-within) img { opacity: .45; }
  .motion-ready [data-reveal="frame"]:focus-within img { transition: none; }
  .replay, .interaction { display: none; }
  .hero:has(.interaction:not([hidden])) .hero-copy { padding-bottom: clamp(1.35rem, 5vw, 5rem); }
}
@keyframes cover-fade-in { from { opacity: .1; } }

/* The middle column keeps the events link centred independently of the logo. */
.site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.site-header > .brand { justify-self: start; }
.site-header > .bar-nav { justify-self: end; }
.events-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 1.5rem;
  min-height: 2.8rem; padding: .7rem 1.3rem; border: 1px solid var(--accent);
  background: var(--accent); color: var(--ink); font-size: .85rem; font-weight: 750;
  text-decoration: none; transition: background-color .2s, border-color .2s;
}
.events-button:hover { background: var(--paper); border-color: var(--paper); }
@media (max-width: 600px) {
  .site-header { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); row-gap: .8rem; padding-block: .85rem; }
  .site-header > .bar-nav { grid-column: 2; grid-row: 1; }
  .site-header > .events-button { grid-column: 1 / -1; grid-row: 2; justify-self: center; min-width: 10rem; }
}

/* Privacy disclosure at the end of each page. */
.privacy { padding: 0 var(--gutter) 1.5rem; }
.privacy details { border-top: 1px solid #f6eee32b; }
.privacy summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font-size: .85rem; font-weight: 650; }
.privacy summary::-webkit-details-marker { display: none; }
.privacy summary span { color: var(--accent); font-size: 1.3rem; }
.privacy details[open] summary span { transform: rotate(45deg); }
.privacy-content { max-width: 48rem; padding: .5rem 0 2rem; color: var(--paper); font-size: .95rem; line-height: 1.75; overflow-wrap: anywhere; }
.privacy-content .privacy-updated { color: #c1b7ab; font-size: .8rem; }
.privacy-content h2 { margin: .75rem 0 1rem; font-size: clamp(1.6rem, 4vw, 2.4rem); line-height: 1.2; }
.privacy-content h3 { margin: 1.5rem 0 .4rem; font-size: 1rem; }
.privacy-content a { text-underline-offset: .2em; }
