*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

.container{
  width:min(var(--container), 100% - 32px);
  margin-inline:auto;
}

/* Header: blur layer behind text, with overscan to avoid hairline gaps */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  isolation: isolate;         /* creates a clean stacking context */
  transform: translateZ(0);   /* helps reduce sub-pixel cracks on scroll */
}

/* Blur/tint layer */
.site-header::before{
  content:"";
  position:absolute;

  /* Overscan to cover occasional 1px gaps during scroll */
  inset: -2px 0 -32px 0;

  
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);

  /* Fade out the blur layer */
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);

  z-index: 0;
  pointer-events:none;
}

/* Make sure header content sits ABOVE the blur layer */
.header-inner{
  position: relative;
  z-index: 1;
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px 0;
}
.brand{
  font-size: 10px;
  letter-spacing:.12em;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(255,255,255,.82);
}
.header-link{
  color: var(--text);
  text-decoration:none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.header-link:hover{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.page-vignette{
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,.55) 78%,
    rgba(0,0,0,.92) 100%
  );
}
.hero-bg{ z-index: 0; }
.hero-content, .site-footer{ position: relative; z-index: 2; }

/* Hero */
.hero{
  position: relative;
  min-height: 100svh;
  padding-top: 72px; /* header space */
  display: grid;
  align-items: end;
}
.hero-bg{
  position:absolute;
  inset:0;
  z-index: 0;
}
.hero-bg img{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: 50% 50%;
  display:block;

  transform: scale(1);
  transition: transform 420ms ease;
  will-change: transform;
}

/* When any details is open, subtly scale the background */
.hero.hero--details-open .hero-bg img{
  transform: scale(1.03);
}

/* Overlay for readability (keeps it minimal) */
.hero-overlay{
  position:absolute;
  inset: -1px 0 0 0;   /* small overscan to avoid seams */
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,0) 55%,
    rgba(0,0,0,.55) 78%,
    rgba(0,0,0,.92) 100%
  );
  pointer-events:none;
}

.hero-content{
  position: relative;
  z-index: 2;
  padding: 44px 0 52px;
  max-width: 760px;
}

/* Title layer */
.hero-title{
  width: 40vw;
  max-width: 720px;
  height: auto;
  display: block;
  margin: 0 auto 14px; /* center horizontally */
}
@media (max-width: 720px){
  .hero-title{
    width: 80vw;
    max-width: none;
  }
}

.hero-subtitle{
  margin: 0 0 12px;
  color: rgba(255,255,255,1);
  line-height: 1.55;
  font-size: 16px;
  text-shadow: #0c3634 1px 1px 1px;
}

.hero-dates{
  margin: 0 0 18px;
  color: rgba(255,255,255,1);
  line-height: 1.55;
  font-size: 12px;
}

.hero-actions{
  display:flex;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center; /* center horizontally */  
  width: 100%;
  margin-bottom: 50px;
  margin-top: 50px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  text-decoration:none;
  font-size: 14px;
  border: 1px solid rgba(255,255,255,.18);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}
.btn.primary{
  background: color-mix(in oklab, var(--accent) 86%, rgba(0,0,0,.15));
  color: white;
  border-color: rgba(255,255,255,.18);
}
.btn.primary:hover{
  transform: translateY(-2px);
  background: color-mix(in oklab, var(--accent) 92%, rgba(255,255,255,.08));
}
.btn.primary:active{
  transform: translateY(0) scale(.99);
}

.hero-note{
  color: rgba(255,255,255,.70);
  font-size: 13px;
}

/* Minimal collapsible details (solid blocks, no radius) */
.details{
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

/* Base block */
details{
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: hidden; /* keeps animation clean */
}

summary{
  position: relative;
  list-style: none;
  cursor: pointer;

  /* thicker block + comfortable text padding */
  padding: 16px 56px 16px 18px;

  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  color: rgba(255,255,255,.95);
}

/* + / - indicator */
summary::after{
  content: "+";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 800;
  font-size: 16px;
  line-height: 1;
  opacity: .95;
}

details[open] summary::after{
  content: "−"; /* minus sign */
}

summary::-webkit-details-marker{ display:none; }

.details-content{
  overflow: hidden;
  max-height: 0;

  /* closed state: no extra bottom padding */
  padding: 0 18px 0;

  transition: max-height 420ms ease, padding 420ms ease;
}

/* open state padding */
details[open] .details-content{
  padding: 0 18px 16px;
}

.details-content ul{
  margin: 0;
  padding-left: 18px;
  padding-bottom: 19px;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  font-size: 14px;
}

.details-content p{
  margin-top: 10px;
  color: rgba(255,255,255,.92);
  line-height: 1.6;
  font-size: 14px;
}



/* Assign key visual colors (feels random but consistent) */
.details details:nth-child(1){ background: #971518; } /* red */
.details details:nth-child(2){ background: #185c63; } /* teal */
.details details:nth-child(3){ background: #ac9312; } /* mustard */
.details details:nth-child(4){ background: #0c3634; } /* dark teal */
.details details:nth-child(5){ background: #590707; } /* deep wine */

/* Footer */
.site-footer{
  margin-top: -1px;        /* overlap to hide any seam */
  padding-bottom: 100px;
  background: #000;
  border-top: none;
}
.footer-inner{
  display:flex;
  flex-direction: column;
  gap: 12px;
  align-items:flex-start;
}
.footer-logos{
  height: 42px;
  width: auto;
  display:block;
  opacity: .92;
}
.footer-text{
  margin:0;
  color: rgba(255,255,255,.62);
  font-size: 13px;
}

@media (max-width: 720px){
  .footer-logos{ height: 38px; }
}