:root {
  --navy: #071b2b;
  --dark: #031320;
  --ink: #142b3e;
  --muted: #42596a;
  --soft: #ebf2f7;
  --line: #d6e1e9;
  --accent: #69dded;
  font: 100%/1.6 system-ui, sans-serif;
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; background: #f9fbfc; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #0987ad; outline-offset: 4px; }
.shell { width: min(72rem, calc(100% - 3rem)); margin-inline: auto; }
.top, .footer { background: var(--dark); color: #eef7fc; }
.header-inner, .footer-inner, .actions, nav { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1.25rem; }
.header-inner, .footer-inner { justify-content: space-between; min-height: 5rem; padding-block: .7rem; }
.brand img { width: clamp(9rem, 18vw, 11.5rem); height: auto; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.8rem; padding: .55rem 1rem; border: 1px solid transparent; border-radius: .5rem; background: var(--accent); color: var(--dark); text-decoration: none; font-weight: 750; }
.button:hover { background: #a6f3fb; }
.button.outline { background: transparent; color: #fff; border-color: #8baabd; }
.button.outline:hover { background: #ffffff29; }
.button.secondary { background: var(--navy); color: #fff; }
.button.secondary:hover { background: #234d63; }
.skip { position: absolute; left: 1rem; top: 0; z-index: 2; transform: translateY(-150%); padding: .6rem; background: white; }
.skip:focus { transform: none; }
.hero { color: white; background: linear-gradient(95deg,#061b2a 10%,#081e2bea 48%,#0a2737a8), url("assets/palco.jpg") center / cover, var(--navy); }
.hero-inner { display: grid; grid-template-columns: 1fr .65fr; align-items: center; gap: 2rem; padding-block: clamp(3.25rem, 8vw, 6rem); }
.eyebrow { margin: 0 0 .85rem; color: #126077; font-size: .875rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.hero .eyebrow, h1 span { color: var(--accent); }
h1, h2, h3 { margin: 0; line-height: 1.06; }
h1 { font-size: clamp(3.6rem, 9vw, 8rem); letter-spacing: -.075em; }
h2 { font-size: clamp(2rem, 5vw, 3.65rem); letter-spacing: -.055em; }
h3 { font-size: 1.25rem; }
p, dd { color: var(--muted); }
.hero .intro { max-width: 35ch; margin: 1.35rem 0 1.75rem; color: #dfedf6; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-screen { justify-self: center; width: min(14rem, 100%); transform: rotate(5deg); }
.hero-screen img, .gallery img { width: 100%; height: auto; border: 5px solid #263e50; border-radius: 1.15rem; background: #263e50; }
.hero-screen img { box-shadow: 0 1.5rem 4rem #0009; }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.highlights, .event-types, .gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.highlights { margin-top: 2rem; }
.highlights article, .contact { padding: clamp(1rem, 3vw, 1.6rem); border: 1px solid var(--line); border-radius: .85rem; background: white; }
.highlights article { border-top: 4px solid #319ab1; }
.highlights p, .contact p { margin-bottom: 0; }
.details { margin-top: 2.5rem; }
.details dl { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem 1.5rem; margin-bottom: 0; }
.details dl div { border-top: 1px solid var(--line); padding-top: .75rem; }
dt { font-weight: 750; }
dd { margin: .2rem 0 0; }
.events { background: var(--soft); }
.event-types { margin: 1.75rem 0 0; padding: 0; list-style: none; }
.event-types li { display: flex; align-items: center; gap: .85rem; padding: 1rem; background: #fff; border-radius: .75rem; font-weight: 750; }
.event-types img { width: 3rem; height: 3rem; object-fit: contain; }
.screens { background: var(--navy); color: #fff; }
.screens p, .footer p { color: #c8dce9; }
.gallery { max-width: 48rem; margin-top: 1.5rem; }
.gallery a { display: block; border-radius: 1.15rem; }
.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.75rem; align-items: center; }
.split p { max-width: 55ch; }
.contact a { display: inline-block; margin-top: .65rem; overflow-wrap: anywhere; }
.footer-inner { padding-block: 1rem; font-size: .9rem; }
.footer-inner p { margin: 0; }
.legal { max-width: 52rem; }
.legal section + section { margin-top: 2.5rem; }
.legal h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
.legal h2 { margin-top: 1rem; font-size: clamp(1.75rem, 5vw, 2.5rem); }
@media (max-width: 48rem) {
  .header-inner nav { order: 1; width: 100%; }
  .hero-inner { grid-template-columns: 1fr .5fr; }
  .highlights, .event-types, .split { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .shell { width: calc(100% - 2rem); }
  .hero-inner, .details dl { grid-template-columns: 1fr; }
  .hero-screen { width: 10rem; justify-self: start; margin-left: .5rem; }
  .gallery { gap: .4rem; }
  .gallery img { border-width: 2px; border-radius: .6rem; }
}

#contact-dialog {
  width: min(32rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: clamp(1rem, 4vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  color: var(--ink);
}
#contact-dialog::backdrop { background: #031320b8; }
#contact-dialog h2 { font-size: 2rem; }
#contact-dialog form { display: grid; gap: .9rem; }
#contact-dialog label { display: grid; gap: .25rem; font-weight: 650; }
#contact-dialog input, #contact-dialog textarea {
  width: 100%;
  padding: .6rem .75rem;
  border: 1px solid #758b9b;
  border-radius: .5rem;
  font: inherit;
}
#contact-dialog textarea { resize: vertical; }
#contact-dialog button { font-family: inherit; font-size: 1rem; cursor: pointer; }
#contact-dialog button:disabled { opacity: .65; cursor: wait; }
#contact-feedback { margin: 0; }

.gallery { --gallery-columns: 3; grid-template-columns: repeat(var(--gallery-columns), minmax(0, 1fr)); }
.gallery a[hidden] { display: none; }
.gallery-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.25rem; }
.gallery-controls[hidden] { display: none; }
.gallery-controls button { font: inherit; font-weight: 700; cursor: pointer; }
.gallery-controls button[aria-disabled="true"] { opacity: .55; cursor: default; }
#gallery-position { color: #dbeaf3; font-variant-numeric: tabular-nums; }
@media (max-width: 48rem), (max-width: 60rem) and (pointer: coarse) { .gallery { --gallery-columns: 1; max-width: 18rem; } }

.app-wordmark { font-size: clamp(2.15rem, 6.45vw, 5.5rem); font-weight: 800; letter-spacing: -.065em; white-space: nowrap; }
.app-wordmark span { color: #c5ddf3; font-weight: 450; }

.app-brand { width: max-content; max-width: 100%; }
.app-wordmark-tagline { margin: .7rem 0 0; color: #d5edff; font-size: clamp(1rem, 2.25vw, 1.4rem); font-weight: 400; }
.app-wordmark-letters { display: flex; justify-content: space-between; }
.app-wordmark-space { width: .25em; }
.app-wordmark-readable { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
