:root {
  --ink: #171514;
  --paper: #fff8ef;
  --paper-soft: #f6ebdc;
  --clay: #7a5145;
  --clay-dark: #4a302c;
  --amber: #f2b84b;
  --lime: #b8d94a;
  --teal: #2c786f;
  --cream: #fffdf8;
  --muted: #6f625b;
  --line: rgba(23, 21, 20, 0.14);
  --shadow: 0 22px 60px rgba(28, 18, 14, 0.2);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--lime);
  color: var(--ink);
  border-radius: var(--radius);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 42px);
  color: var(--cream);
  background: rgba(23, 21, 20, 0.48);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(23, 21, 20, 0.78);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  border: 2px solid var(--amber);
  border-radius: 50%;
  color: var(--ink);
  background: var(--amber);
  font-weight: 900;
  line-height: 1;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  max-width: 170px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.75rem;
  line-height: 1.2;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  right: 16px;
  left: 16px;
  padding: 12px;
  background: rgba(23, 21, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 6px;
}

.site-nav a {
  display: block;
  padding: 12px 10px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 750;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--amber);
}

.nav-cta {
  background: var(--lime);
  color: var(--ink) !important;
  border-radius: var(--radius);
  text-align: center;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--cream);
}

.hero {
  position: relative;
  min-height: 86svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--cream);
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(23, 21, 20, 0.9) 0%, rgba(23, 21, 20, 0.52) 45%, rgba(23, 21, 20, 0.24) 100%),
    linear-gradient(0deg, rgba(23, 21, 20, 0.95) 0%, rgba(23, 21, 20, 0.1) 55%);
}

.hero-content {
  position: relative;
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 128px clamp(18px, 5vw, 48px) 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.02;
  letter-spacing: 0;
}

h1 {
  max-width: 950px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 6.9rem);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 3vw, 2.3rem);
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(1.05rem, 2.2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.1;
  cursor: pointer;
}

.button-primary {
  color: var(--ink);
  background: var(--lime);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--amber);
}

.button-secondary {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--amber);
  color: var(--amber);
}

.quick-strip {
  background: var(--clay-dark);
  color: var(--cream);
}

.strip-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.strip-inner > div,
.strip-inner > a {
  padding: 18px;
  background: var(--clay-dark);
}

.strip-inner > a {
  position: relative;
  color: var(--cream);
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.strip-inner > a::after {
  content: "View event";
  display: inline-block;
  margin-top: 10px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.strip-inner > a:hover,
.strip-inner > a:focus-visible {
  background: var(--amber);
  color: var(--ink);
  outline: none;
}

.strip-inner strong,
.strip-inner span {
  display: block;
}

.strip-inner span {
  color: rgba(255, 253, 248, 0.72);
}

.strip-inner > a:hover span,
.strip-inner > a:focus-visible span,
.strip-inner > a:hover::after,
.strip-inner > a:focus-visible::after {
  color: rgba(23, 21, 20, 0.72);
}

.section {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 48px);
}

.section-grid,
.section-heading,
.split-section,
.signup-section,
.network-band,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-grid {
  display: grid;
  gap: 28px;
}

.lead-copy {
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  color: var(--muted);
}

.lead-copy p:last-child,
.section-heading p:last-child,
.split-copy p:last-child,
.signup-copy p:last-child {
  margin-bottom: 0;
}

.image-band {
  display: grid;
  gap: 1px;
  background: var(--ink);
}

.image-band figure {
  position: relative;
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.image-band img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  opacity: 0.82;
}

.image-band figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  max-width: 420px;
  padding-top: 12px;
  color: var(--cream);
  border-top: 3px solid var(--amber);
  font-size: 1rem;
  font-weight: 800;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.7);
}

.dark-section {
  background: var(--ink);
  color: var(--cream);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 32px;
  text-align: left;
}

.section-heading p {
  color: rgba(255, 253, 248, 0.78);
  font-size: 1.08rem;
}

.compact p {
  color: var(--muted);
}

.event-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.event-card {
  display: grid;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
}

.event-card img {
  height: 260px;
  object-fit: cover;
  background: var(--clay);
}

.event-content {
  padding: clamp(22px, 4vw, 34px);
}

.date-pill {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--amber);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.venue {
  color: var(--teal);
  font-weight: 900;
}

.event-content h3 a {
  color: inherit;
  text-decoration: none;
}

.event-content h3 a:hover,
.event-content h3 a:focus-visible {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.perk-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 20px 0 24px;
  list-style: none;
}

.perk-list li {
  padding-left: 18px;
  border-left: 4px solid var(--lime);
  color: var(--muted);
}

.split-section {
  display: grid;
  gap: 34px;
  align-items: center;
}

.split-media img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-copy p {
  color: var(--muted);
}

.expect-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.expect-list div,
.audience-grid article {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.expect-list strong,
.expect-list span {
  display: block;
}

.expect-list strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.08rem;
}

.expect-list span,
.audience-grid p {
  color: var(--muted);
}

.audience-section {
  background: var(--paper-soft);
}

.audience-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.audience-grid article {
  background: transparent;
}

.signup-section {
  display: grid;
  gap: 28px;
  align-items: center;
  grid-template-areas:
    "copy"
    "media"
    "form";
  padding: clamp(32px, 6vw, 54px);
  color: var(--cream);
  background:
    linear-gradient(90deg, rgba(74, 48, 44, 0.94), rgba(44, 120, 111, 0.9)),
    url("Gay-berar-sauna-events.avif") center / cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.signup-copy {
  grid-area: copy;
}

.signup-copy p {
  color: rgba(255, 253, 248, 0.78);
}

.signup-media {
  grid-area: media;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.signup-media img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
}

.signup-form {
  grid-area: form;
  display: grid;
  gap: 12px;
}

.signup-form label:first-child {
  font-weight: 900;
}

.form-row {
  display: grid;
  gap: 10px;
}

.signup-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
}

.signup-form input[type="email"]:focus {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: rgba(255, 253, 248, 0.82);
  font-size: 0.93rem;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--cream);
  font-weight: 800;
}

.form-frame {
  display: none;
}

.faq-section {
  background: var(--paper);
}

.faq-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  gap: 10px;
}

details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

details p {
  max-width: 780px;
  margin: 12px 0 0;
  color: var(--muted);
}

.network-band {
  display: grid;
  gap: 22px;
  padding: clamp(42px, 7vw, 72px) clamp(18px, 5vw, 48px);
  color: var(--cream);
  background: var(--clay-dark);
}

.network-band h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.network-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.network-links a {
  padding: 10px 12px;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
}

.network-links a:hover,
.network-links a:focus-visible {
  color: var(--ink);
  background: var(--amber);
  border-color: var(--amber);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 5vw, 48px) 38px;
  color: var(--cream);
  background: var(--ink);
}

.site-footer p {
  margin: 0;
  color: rgba(255, 253, 248, 0.72);
}

.site-footer a {
  color: var(--amber);
  font-weight: 900;
  text-decoration: none;
}

@media (min-width: 720px) {
  .strip-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .image-band {
    grid-template-columns: repeat(3, 1fr);
  }

  .event-card {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .event-card img {
    height: 100%;
    min-height: 420px;
  }

  .form-row {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 12px;
  }

  .section-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
  }

  .split-section,
  .signup-section {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .signup-section {
    grid-template-areas:
      "copy media"
      "form media";
  }

  .audience-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .network-band {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }
}

@media (max-width: 420px) {
  .brand small {
    display: none;
  }

  .button {
    width: 100%;
  }

  .hero-content {
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
