/* Ghana Photo Festival — site styles (see DESIGN.md) */
:root {
  --bg-dark: #1C1C1C;
  --bg-dark-2: #2A2A2A;
  --bg-cream: #FFF6F0;
  --bg-cream-2: #FBEDE3;

  --text-on-dark: #F2ECE4;
  --text-on-dark-muted: #BDB5AB;
  --text-on-cream: #2B2B2B;
  --heading-dark: #1C1C1C;
  --heading-muted: #3A3A3A;

  --red: #CC0000;
  --gold: #FFDD55;
  --green: #00BF63;
  --green-deep: #0B7A3E;
  --peach: #F5C27A;

  --bar-start: #452424;
  --bar-mid: #4B4632;
  --bar-end: #283823;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-meta: "Archivo", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;

  --max: 1320px;
  --gutter: clamp(16px, 5vw, 80px);
  --section-pad: clamp(64px, 10vw, 128px);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; border-radius: 0; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-on-cream);
  background: var(--bg-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
p { margin: 0 0 1em; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: .95;
  font-size: clamp(3.5rem, 11vw, 9rem);
}
.section-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .9;
  font-size: clamp(2.2rem, 8vw, 7rem);
  color: var(--heading-dark);
  overflow-wrap: break-word;
}
.section-title--sm { font-size: clamp(2rem, 6.5vw, 5.5rem); }
.section--dark .section-title, .section--dark-2 .section-title { color: var(--text-on-dark); }
.subhead {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--heading-muted);
  margin-top: 1rem;
}
.section--dark .subhead, .section--dark-2 .subhead { color: var(--text-on-dark-muted); }
.label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.1;
  margin-bottom: .6rem;
  color: var(--red);
}
.label--peach { color: var(--peach); }
.label--green { color: var(--green-deep); }
.section--dark .label--green, .section--dark-2 .label--green { color: var(--green); }
.label--gold { color: var(--gold); }
.eyebrow {
  font-family: var(--font-meta);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: clamp(.8rem, 1.2vw, 1.05rem);
  line-height: 1.5;
}
.tagline {
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: clamp(1rem, 2vw, 1.5rem);
}
.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); max-width: 60ch; }
.t-red { color: var(--red); }
.t-gold { color: var(--gold); }
.t-green { color: var(--green); }
.t-green-deep { color: var(--green-deep); }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; position: relative; }
.section--cream { background: var(--bg-cream); color: var(--text-on-cream); }
.section--dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section--dark-2 { background: var(--bg-dark-2); color: var(--text-on-dark); }
.section--dark::after, .section--dark-2::after, .hero::after, .site-footer::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: .06;
}
.section > .container, .hero > .container, .site-footer > .container { position: relative; z-index: 1; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--center { text-align: center; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.stack > * + * { margin-top: 2rem; }
.bullets { list-style: none; padding: 0; margin: 0; }
.bullets li { padding-left: 1.2em; position: relative; margin-bottom: .4rem; }
.bullets li::before { content: "•"; position: absolute; left: 0; color: var(--red); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--font-meta); font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  font-size: .9rem; padding: 16px 28px; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--red); color: var(--text-on-dark); border-color: var(--red); }
.btn--primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn--outline { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--outline:hover { background: var(--gold); color: var(--bg-dark); }
.btn--dark { background: var(--bg-dark); color: var(--text-on-dark); border-color: var(--bg-dark); }
.btn--dark:hover { background: var(--red); border-color: var(--red); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.link {
  text-decoration: underline; text-decoration-color: var(--red);
  text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600;
}
.link:hover { color: var(--red); }

/* ---------- Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg-dark); color: var(--text-on-dark); border-bottom: 1px solid #333; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--font-display); text-transform: uppercase; font-size: 1.05rem; line-height: 1; letter-spacing: .02em; }
.brand img { width: 36px; height: 36px; flex-shrink: 0; }
.nav-links { display: flex; gap: clamp(1rem, 2.5vw, 2.25rem); list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a:not(.btn) {
  text-decoration: none; font-family: var(--font-meta); font-weight: 800; text-transform: uppercase;
  letter-spacing: .14em; font-size: .82rem; color: var(--text-on-dark); padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:not(.btn):hover { color: var(--gold); }
.nav-links a[aria-current="page"]:not(.btn) { border-bottom-color: var(--red); }
.nav-links .btn { padding: 12px 20px; font-size: .8rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text-on-dark); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-dark); padding: 8px var(--gutter) 24px; display: none; border-bottom: 4px solid var(--red);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid #333; }
  .nav-links a:not(.btn) { display: block; padding: 16px 0; border: 0; }
  .nav-links li:last-child { border: 0; padding-top: 16px; }
  .nav-links .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--bg-dark); color: var(--text-on-dark);
  min-height: calc(100vh - 76px); display: flex; overflow: hidden;
}
.hero > .container { display: flex; flex-direction: column; justify-content: space-between; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(40px, 7vw, 88px); gap: 48px; }
.hero-title { display: flex; flex-direction: column; }
.hero-title .year { font-size: .42em; color: var(--red); margin-bottom: .08em; }
.hero .tagline { margin: 1.6rem 0 2rem; }
.hero .display { font-size: clamp(3.5rem, 7.5vw, 6.5rem); }
/* Festival logo as a see-through overlay: transparent mark + film grain blended into it */
.mark { position: absolute; pointer-events: none; aspect-ratio: 1; background: url("../images/logo-mark.png") center / contain no-repeat; opacity: .92; }
.mark::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); background-size: 220px; mix-blend-mode: overlay; opacity: .6;
  -webkit-mask: url("../images/logo-mark.png") center / contain no-repeat;
          mask: url("../images/logo-mark.png") center / contain no-repeat;
}
/* Page heroes: oversized mark bleeding off the right edge, drifting on scroll */
.star::after {
  -webkit-mask-image: url("../images/logo.png");
          mask-image: url("../images/logo.png");
}
.star {
  background-image: url("../images/logo.png");
  z-index: 0; width: min(30vw, 400px); opacity: 1;   /* menu logo (cream disc), whole and clear of the page title */
  right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); top: 50%; transform: translateY(-50%) rotate(var(--spin, 0deg));
  will-change: transform;
}
@media (max-width: 760px) {
  .star { display: none; }
}

.page-hero { min-height: 0; }
.page-hero > .container { padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px); }
.page-hero .display { font-size: clamp(2.6rem, 7vw, 6rem); }
.page-hero .lead { color: var(--text-on-dark); max-width: 52ch; margin-top: 1.6rem; }

/* Homepage hero: full-bleed photo slideshow under one festival lens */
.hero--slides { min-height: max(620px, calc(100vh - 76px)); }
.slides { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.slide {
  position: absolute; inset: 0; margin: 0;
  transform: translateX(100%); transition: transform 1.1s cubic-bezier(.7, 0, .2, 1);
}
.slide.is-active { transform: none; }
.slide.is-leaving { transform: translateX(-100%); }
.slide.no-anim { transition: none; }
.slide-photo { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.slide::before {   /* keeps the headline readable over any photo */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(28, 28, 28, .82) 0%, rgba(28, 28, 28, .55) 34%, rgba(28, 28, 28, .05) 60%, transparent 100%),
    linear-gradient(0deg, rgba(28, 28, 28, .4), transparent 28%);
}
/* soft shadow keeps headline text legible now the photo fade is lighter */
.hero--slides .container { text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .35); }
.hero--slides .btn { text-shadow: none; }
.hero-mark {   /* one lens, always whole; turns one blade each time a photo slides in */
  z-index: 0; width: min(44vw, 580px); opacity: 1;
  right: max(24px, calc((100vw - var(--max)) / 2)); top: 50%;   /* nudged towards the right edge, still whole */
  transform: translateY(-50%) rotate(var(--r, 0deg));
  transition: transform 1.1s cubic-bezier(.7, 0, .2, 1);
}
.slide-dots { position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(20px, 4vw, 44px); display: flex; gap: 6px; }
.slide-dots button { width: 40px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.slide-dots button::before { content: ""; width: 100%; height: 4px; background: rgba(242, 236, 228, .4); transition: background .2s; }
.slide-dots button:hover::before { background: var(--text-on-dark); }
.slide-dots button[aria-current="true"]::before { background: var(--gold); }
@media (max-width: 760px) {
  .slide::before {
    background: linear-gradient(0deg, rgba(28, 28, 28, .92) 0%, rgba(28, 28, 28, .72) 48%, rgba(28, 28, 28, .1) 85%, transparent 100%);
  }
  /* Phones: lens gets its own space at the top; text starts below it, nothing overlaps */
  .hero-mark { --size: min(54vw, 240px); width: var(--size); right: var(--gutter); top: 24px; transform: rotate(var(--r, 0deg)); }
  .hero--slides > .container { padding-top: calc(min(54vw, 240px) + 48px); padding-bottom: 72px; gap: 24px; }
  .slide-dots { left: var(--gutter); right: auto; bottom: 20px; }
  .slide-dots button { width: 32px; }
}

/* ---------- Image strip (edge to edge) ---------- */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); height: 100%; min-height: 420px; }
.strip img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .strip { min-height: 0; height: 300px; } }

/* ---------- Objectives ---------- */
.objectives { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 3vw, 48px); }
.objective .num {
  font-family: var(--font-display); font-size: clamp(4rem, 8vw, 7rem); line-height: .9;
  color: transparent; -webkit-text-stroke: 2px var(--red); margin-bottom: 1rem;
}
.objective:nth-child(odd) .num { color: var(--red); -webkit-text-stroke: 0; }
.objective h3 { font-family: var(--font-display); text-transform: uppercase; font-size: 1.125rem; letter-spacing: .02em; margin-bottom: .6rem; }
.objective p { color: var(--text-on-dark-muted); font-size: 1.05rem; }
.section--cream .objective p { color: var(--text-on-cream); }
@media (max-width: 1000px) { .objectives { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .objectives { grid-template-columns: 1fr; } }

/* ---------- Flag-framed trio ---------- */
.flag-trio { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: clamp(48px, 6vw, 80px); }
.flag-trio img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border: 10px solid var(--red); }
.flag-trio img:nth-child(2) { border-color: var(--gold); }
.flag-trio img:nth-child(3) { border-color: var(--green); }
@media (max-width: 600px) { .flag-trio img { border-width: 6px; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(24px, 3vw, 40px); }
.pillars p { font-size: 1.05rem; margin: 0; }
@media (max-width: 1000px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pillars { grid-template-columns: 1fr; } }
.venue-line {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 3px solid var(--heading-dark);
  display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: baseline;
}

/* ---------- Timeline bars ---------- */
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 68px; padding: 14px clamp(18px, 3vw, 32px);
  background: linear-gradient(90deg, var(--bar-start), var(--bar-mid) 50%, var(--bar-end));
  border-left: 4px solid transparent; transition: filter .2s, border-color .2s;
}
.bar:hover { filter: brightness(1.15); border-left-color: var(--gold); }
.bar-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .02em; font-size: 1.125rem; line-height: 1.2; }
.bar-date { font-weight: 600; font-size: 1rem; white-space: nowrap; color: var(--text-on-dark); }
.bar-desc { display: block; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-size: .98rem; color: var(--text-on-dark-muted); margin-top: .2rem; }
@media (max-width: 640px) {
  .bar { flex-direction: column; align-items: flex-start; gap: .3rem; }
  .bar-date { white-space: normal; }
}

/* ---------- Feature trio ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
.features h3 { font-family: var(--font-display); text-transform: uppercase; line-height: 1; font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.features h3 span { display: block; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; } }
.callout {
  margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 3px solid currentColor;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.callout p { font-family: var(--font-meta); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.1rem, 2vw, 1.5rem); line-height: 1.3; margin: 0; max-width: 40ch; }

/* ---------- Red-framed gallery (homepage) ---------- */
.frame-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.frame-col { border: 6px solid var(--red); background: var(--red); display: grid; gap: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.frame-col img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 760px) {
  .frame-grid { grid-template-columns: 1fr 1fr; }
  .frame-col:nth-child(3) { display: none; }
}

/* ---------- Gallery page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: clamp(32px, 4vw, 56px); }
.filter {
  font-family: var(--font-meta); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem;
  background: transparent; color: var(--text-on-dark); border: 2px solid #555; padding: 12px 18px; cursor: pointer;
}
.filter:hover { border-color: var(--gold); color: var(--gold); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: var(--text-on-dark); }
/* Justified rows: every photo in a row shares one height, widths follow each photo's shape,
   rows fill the width exactly and nothing is cropped. --ar is set per figure (width / height). */
.gallery { --row: 300px; --frame: 6px; display: flex; flex-wrap: wrap; gap: clamp(10px, 1.6vw, 18px); }
.gallery::after { content: ""; flex-grow: 1000000; }   /* stops the last row stretching */
@media (max-width: 900px) { .gallery { --row: 220px; } }
@media (max-width: 520px) { .gallery { --row: 120px; --frame: 4px; } }
.gallery figure {
  flex: calc(var(--ar) * 1000) 1 calc(var(--ar) * var(--row) + 2 * var(--frame));
  min-width: 0; margin: 0; position: relative; cursor: zoom-in; border: var(--frame) solid var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45); background: var(--red); overflow: hidden;
}
.gallery figure[hidden] { display: none; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: var(--ar); transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 32px 12px 10px; color: var(--text-on-dark);
  background: linear-gradient(transparent, rgba(28, 28, 28, .85)); opacity: 0; transition: opacity .25s;
  font-size: .72rem; line-height: 1.35;
}
.gallery figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: .04em; }
.gallery figure:hover figcaption, .gallery figure:focus-visible figcaption { opacity: 1; }
@media (hover: none) { .gallery figcaption { opacity: 1; } }
@media (max-width: 520px) { .gallery figcaption { display: none; } }   /* tiles too small; caption shows in the viewer */

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20, 20, 20, .97); display: none; align-items: center; justify-content: center; padding: 72px 20px; }
.lightbox.open { display: flex; }
.lightbox-inner { display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; border: 6px solid var(--red); }
.lightbox-caption { color: var(--text-on-dark); text-align: center; margin-top: 1rem; }
.lightbox-caption strong { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border: 2px solid var(--gold); background: transparent; color: var(--gold);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
}
.lb-btn:hover { background: var(--gold); color: var(--bg-dark); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); }
.team figure { margin: 0; }
.team img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 8px solid var(--red); }
.team figure:nth-child(3n+2) img { border-color: var(--gold); }
.team figure:nth-child(3n+3) img { border-color: var(--green); }
.team figcaption { padding: 1rem 1rem 0 0; }
.team figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.05rem; }
@media (max-width: 900px) { .team { grid-template-columns: repeat(2, 1fr); row-gap: 28px; } }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.fieldset { border: 0; padding: 0; margin: 0 0 3rem; }
.fieldset legend { padding: 0; margin-bottom: 1.4rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .row { grid-template-columns: 1fr; } }
.field { margin-bottom: 20px; }
.field > label, .field-label {
  display: block; font-family: var(--font-meta); font-weight: 800; text-transform: uppercase;
  letter-spacing: .12em; font-size: .78rem; margin-bottom: .5rem; color: var(--heading-dark);
}
.hint { font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--heading-muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%; padding: 14px 16px; font: 1.05rem var(--font-body); color: var(--text-on-cream);
  background: #FFFBF7; border: 2px solid var(--heading-dark); border-radius: 0; appearance: none;
}
select {
  background-image: linear-gradient(45deg, transparent 50%, var(--heading-dark) 50%), linear-gradient(135deg, var(--heading-dark) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 44px;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--heading-dark); }
textarea { min-height: 130px; resize: vertical; }
.checks { display: grid; gap: .7rem; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: 1.02rem; }
.check input { margin-top: .3rem; width: 20px; height: 20px; accent-color: var(--red); flex-shrink: 0; }
.hidden { display: none !important; }
.form-status { margin-top: 1.2rem; padding: 16px 18px; display: none; font-weight: 600; border-left: 6px solid; }
.form-status.ok { display: block; border-color: var(--green-deep); background: #E6F4EC; color: var(--green-deep); }
.form-status.err { display: block; border-color: var(--red); background: #FBE6E3; color: #9E0000; }
.section--dark .form-status.ok, .section--dark-2 .form-status.ok { background: transparent; color: var(--green); border-color: var(--green); }
.form-note { margin-top: 1.2rem; font-size: 1rem; }

.aside-panel { background: var(--bg-dark); color: var(--text-on-dark); padding: clamp(28px, 3vw, 40px); position: sticky; top: 100px; border-top: 8px solid var(--red); }
.aside-panel .bullets li { margin-bottom: .7rem; }
.aside-panel .bullets li::before { color: var(--gold); }
.aside-panel .btn { width: 100%; margin-top: 1.2rem; }

.newsletter { display: flex; flex-wrap: wrap; gap: 12px; max-width: 760px; }
.newsletter input { flex: 1 1 220px; }
.section--dark .newsletter input, .section--dark-2 .newsletter input { background: transparent; color: var(--text-on-dark); border-color: var(--text-on-dark); }
.section--dark .newsletter input::placeholder { color: var(--text-on-dark-muted); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--bg-dark); color: var(--text-on-dark); padding: clamp(64px, 8vw, 104px) 0 32px; border-top: 8px solid var(--red); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer-title { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); line-height: .95; margin-bottom: 1.2rem; }
.footer-title span { display: block; }
.site-footer h4 { font-family: var(--font-meta); font-weight: 800; text-transform: uppercase; letter-spacing: .2em; font-size: .8rem; color: var(--gold); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; font-size: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid #3a3a3a; padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .95rem; color: var(--text-on-dark-muted); }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .3s ease-out, transform .3s ease-out; transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .star { --spin: 0deg !important; }
  .slide, .hero-mark { transition: none !important; }
}

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
