:root {
  --surface: rgba(255, 250, 242, 0.94);
  --surface-soft: rgba(255, 247, 235, 0.82);
  --surface-dark: #10233a;
  --surface-dark-2: #193655;
  --text: #213042;
  --text-soft: #536171;
  --text-on-dark: #eef3f8;
  --gold: #bc9351;
  --gold-soft: #ebd7b0;
  --bordeaux: #7b2b33;
  --shadow: 0 22px 55px rgba(17, 30, 49, 0.12);
  --shadow-strong: 0 26px 70px rgba(7, 16, 29, 0.24);
  --radius: 28px;
  --radius-sm: 18px;
  --container: 1200px;
  --header-height: 84px;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(188, 147, 81, 0.14), transparent 28%),
    linear-gradient(180deg, #faf4e9 0%, #f4ecde 45%, #faf7f1 100%);
  line-height: 1.6;
}

body.is-locked,
body.has-modal {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 80;
  padding: 0.75rem 1rem;
  background: var(--surface-dark);
  color: var(--text-on-dark);
  border-radius: 999px;
}

.skip-link:focus {
  top: 16px;
}

.page-shell {
  transition: opacity 220ms ease, filter 220ms ease;
}

body.gate-pending .page-shell,
body.is-locked .page-shell {
  opacity: 0.12;
  filter: blur(10px);
  pointer-events: none;
  user-select: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 5.5rem 0;
}

.section-dark {
  color: var(--text-on-dark);
  background:
    linear-gradient(135deg, rgba(17, 34, 55, 0.96), rgba(8, 20, 35, 0.98)),
    url("img/barockfest_background.png") center/cover;
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(188, 147, 81, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(8, 17, 29, 0.08), rgba(8, 17, 29, 0.18));
  pointer-events: none;
}

.section-dark > .container,
.section-pattern > .container,
.hero > .container {
  position: relative;
  z-index: 1;
}

.section-pattern {
  background:
    linear-gradient(180deg, rgba(251, 247, 239, 0.96), rgba(244, 235, 218, 0.95)),
    url("img/barockfest_background.png") center/cover fixed;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(248, 241, 229, 0.88);
  border-bottom: 1px solid rgba(27, 46, 72, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-logos,
.footer-logos,
.access-gate-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logos img,
.footer-logos img,
.access-gate-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0.35rem;
}

.brand-logos img,
.footer-logos img {
  width: 82px;
  height: 82px;
}

.brand-logos img {
  width: 103px;
  height: 103px;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-copy strong,
.section-heading h2,
.highlight-copy h2,
.prose-card h2,
.hero h1,
.hero-card h2,
.voice-card blockquote,
.timeline-card h3,
.price-card h3,
.summary-card h3,
.modal-dialog h2,
.access-gate-title {
  font-family: var(--font-display);
}

.brand-copy strong {
  font-size: 1.45rem;
  line-height: 1;
}

.brand-copy span:last-child {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.visitor-counter {
  margin: 0.35rem 0 0;
  color: rgba(238, 243, 248, 0.82);
  font-size: 0.95rem;
}

.visitor-counter strong {
  color: var(--gold-soft);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a,
.nav-link-button {
  position: relative;
  padding: 0.35rem 0;
  color: var(--text-soft);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: color 180ms ease;
}

.site-nav a::after,
.nav-link-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.25rem;
  height: 2px;
  transform: scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active,
.nav-link-button:hover,
.nav-link-button:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after,
.nav-link-button:hover::after,
.nav-link-button:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.75rem 1.1rem !important;
  border-radius: 999px;
  color: var(--surface-dark) !important;
  background: linear-gradient(135deg, #efddb4, #c9964d);
  box-shadow: 0 10px 24px rgba(188, 147, 81, 0.28);
}

.nav-cta::after {
  display: none;
}

.nav-toggle {
  display: none;
  border: 0;
  padding: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  min-height: calc(100vh - var(--header-height));
  padding: 4rem 0 3.5rem;
  color: #ffffff;
  overflow: clip;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: url("img/barockfest_background.png") center/cover;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(248, 233, 202, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(16, 26, 40, 0.14));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.78fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-eyebrow {
  color: #fff4d7;
  margin-bottom: 1.25rem;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  letter-spacing: 0.26em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(9, 19, 32, 0.72);
}

.hero h1,
.section-heading h2,
.highlight-copy h2,
.prose-card h2,
.modal-dialog h2 {
  margin: 0;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.01em;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  color: #ffffff;
  -webkit-text-stroke: 1px rgba(22, 33, 48, 0.52);
  text-shadow:
    0 1px 0 rgba(22, 33, 48, 0.9),
    0 10px 28px rgba(14, 24, 38, 0.55);
}

.hero-date-repeat {
  margin: 1rem 0 0;
  color: #fff4d7;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 3px 12px rgba(10, 18, 31, 0.72);
}

.ornament {
  width: 164px;
  height: 18px;
  margin: 1.35rem 0 1.5rem;
  background:
    radial-gradient(circle, rgba(239, 221, 180, 0.98) 0 3px, transparent 4px) center/36px 18px repeat-x;
}

.hero-text,
.section-intro,
.highlight-copy p,
.prose-card p,
.gondel-stage-copy p,
.form-aside p,
.form-card,
.summary-card li,
.voice-card blockquote,
.modal-dialog p,
.footer-inner p {
  font-size: 1.05rem;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.35rem;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.button-primary {
  color: #17283d;
  background: linear-gradient(135deg, #fff2c9 0%, #e3b45c 38%, #c8872f 100%);
  box-shadow:
    0 14px 30px rgba(188, 147, 81, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(137, 88, 27, 0.2);
}

.button-secondary,
.button-outline,
.button-footer {
  color: var(--text-on-dark);
  border: 1px solid rgba(245, 236, 218, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.button-outline {
  color: var(--surface-dark);
  border-color: rgba(21, 39, 63, 0.18);
  background: rgba(255, 255, 255, 0.84);
}

.button-footer {
  white-space: nowrap;
}

.hero-card,
.prose-card,
.fact-panel,
.note-card,
.timeline-card,
.form-card,
.form-aside,
.price-card,
.summary-card,
.voice-card,
.modal-dialog,
.access-gate-panel {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card,
.prose-card,
.fact-panel,
.note-card,
.summary-card,
.voice-card,
.modal-dialog,
.access-gate-panel {
  background: var(--surface);
  border: 1px solid rgba(33, 49, 73, 0.08);
}

.hero-card {
  padding: 1.6rem;
}

.hero-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 0.98;
  color: var(--surface-dark);
}

.hero-card p {
  color: var(--text);
}

.hero-card img {
  width: min(100%, 420px);
  margin: 1.2rem auto 0;
  filter: drop-shadow(0 24px 30px rgba(25, 39, 58, 0.22));
}

.hero-mobile-highlight {
  display: none;
  padding-top: 0;
}

.card-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--bordeaux);
}

.voice-card .card-kicker,
.hero-card .card-kicker,
.note-card .card-kicker,
.price-card .card-kicker {
  color: var(--bordeaux);
}

.section-heading {
  max-width: 50rem;
  margin-bottom: 2rem;
}

.section-heading h2,
.highlight-copy h2,
.prose-card h2,
.modal-dialog h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

#grussworte .section-heading {
  max-width: none;
  text-align: center;
}

#grussworte .section-heading h2 {
  font-size: clamp(3rem, 6vw, 4.8rem);
}

.section-intro,
.small-note,
.summary-card li,
.price-subline,
.pricing-note,
.voice-card blockquote,
.voice-card p,
.gondel-stage-copy p,
.footer-inner p {
  color: var(--text);
}

.section-date {
  margin: 0.9rem 0 0;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-dark .section-intro,
.section-dark .gondel-stage-copy p,
.section-dark .price-subline,
.section-dark .pricing-note,
.section-dark .form-aside-dark p,
.section-dark .fact-list li {
  color: rgba(236, 242, 248, 0.9);
}

.split-layout,
.highlight-grid,
.form-layout,
.gondel-layout {
  display: grid;
  gap: 1.5rem;
}

.split-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
}

.gondel-layout {
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
  align-items: start;
}

.prose-card,
.note-card,
.summary-card,
.form-aside,
.voice-card,
.modal-dialog,
.access-gate-panel {
  padding: 1.7rem;
}

.fact-panel {
  overflow: hidden;
}

.fact-panel img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.fact-panel-copy {
  padding: 1.35rem;
}

.fact-list,
.price-list,
.summary-list {
  margin: 0;
  padding-left: 1.2rem;
}

.fact-list li,
.price-list li,
.summary-list li {
  margin-bottom: 0.55rem;
}

.gondel-slider {
  overflow: hidden;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.08);
  border: 1px solid rgba(243, 226, 193, 0.16);
}

.slider-stage {
  position: relative;
  min-height: 540px;
}

.slider-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.slider-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.slider-slide > img,
.slider-composite {
  width: 100%;
  height: 470px;
  border-radius: 24px;
  object-fit: cover;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.slider-slide figcaption {
  margin-top: 0.85rem;
  color: rgba(240, 244, 249, 0.9);
}

.slider-composite {
  position: relative;
}

.slider-composite-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-composite-ship {
  position: absolute;
  right: 2%;
  bottom: 4%;
  width: min(88%, 640px);
  filter: drop-shadow(0 28px 34px rgba(9, 16, 25, 0.5));
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.slider-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(243, 226, 193, 0.24);
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
  font-size: 1.5rem;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.24);
  cursor: pointer;
}

.slider-dot.is-active {
  background: var(--gold-soft);
}

.gondel-stage-copy {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: rgba(255, 252, 245, 0.08);
  border: 1px solid rgba(243, 226, 193, 0.14);
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.badge-grid span {
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(242, 221, 179, 0.12);
  border: 1px solid rgba(242, 221, 179, 0.22);
  color: var(--gold-soft);
  font-weight: 600;
}

.note-card-dark {
  margin-top: 1.4rem;
  background: rgba(255, 248, 236, 0.96);
  color: var(--text);
}

.note-card.note-card-dark,
.note-card.note-card-dark .card-kicker,
.note-card.note-card-dark h3,
.note-card.note-card-dark p,
.note-card.note-card-dark * {
  color: var(--text);
}

.voice-grid,
.timeline-grid,
.pricing-grid {
  display: grid;
  gap: 1.5rem;
}

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

.voice-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.95rem;
}

.voice-avatar-wrap {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, rgba(188, 147, 81, 0.88), rgba(255, 244, 221, 0.95));
}

.voice-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #f6efe3;
}

.voice-avatar-franz {
  object-position: center 18%;
}

.voice-avatar-soeder {
  object-position: center 10%;
}

.voice-avatar-krause {
  object-position: center 14%;
}

.voice-card blockquote {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.45;
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card {
  padding: 1.5rem;
  background: rgba(255, 251, 243, 0.9);
  border: 1px solid rgba(188, 147, 81, 0.18);
}

.timeline-time {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(188, 147, 81, 0.12);
  color: var(--bordeaux);
  font-weight: 700;
  font-size: 0.88rem;
}

.timeline-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--surface-dark);
}

.timeline-card p {
  color: var(--text);
}

.highlight-section {
  background:
    radial-gradient(circle at top left, rgba(123, 43, 51, 0.12), transparent 24%),
    linear-gradient(180deg, #f8f1e6, #f2e7d8);
}

.highlight-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
}

.highlight-media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}

.highlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-layout {
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.98fr);
  align-items: start;
}

.ticket-badge {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff1c8, #d79b3f);
  color: #3c2410;
  box-shadow: 0 18px 34px rgba(188, 147, 81, 0.24);
  border: 1px solid rgba(145, 95, 29, 0.2);
}

.ticket-badge-count {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.ticket-badge-text {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-layout-reversed {
  grid-template-columns: minmax(0, 0.98fr) minmax(260px, 0.42fr);
}

.form-card {
  padding: 1.7rem;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(249, 242, 230, 0.92));
  border: 1px solid rgba(33, 49, 73, 0.08);
}

.form-card-dark {
  background: linear-gradient(180deg, rgba(247, 243, 236, 0.98), rgba(233, 225, 212, 0.94));
  color: var(--text);
}

.form-aside {
  position: sticky;
  top: calc(var(--header-height) + 1rem);
}

.form-aside-dark {
  background: rgba(255, 249, 238, 0.12);
  border: 1px solid rgba(248, 235, 213, 0.14);
}

.small-note {
  font-size: 0.95rem;
}

.form-grid,
.check-grid {
  display: grid;
  gap: 1rem;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span,
.check-field span {
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(32, 48, 70, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(188, 147, 81, 0.82);
  box-shadow: 0 0 0 4px rgba(188, 147, 81, 0.15);
}

.check-field {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.56);
}

.check-field input {
  margin-top: 0.25rem;
  accent-color: var(--bordeaux);
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  align-self: center;
  font-weight: 600;
}

.form-message.is-success {
  color: #1f6a44;
}

.form-message.is-error {
  color: var(--bordeaux);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.price-card {
  padding: 1.6rem;
  background: rgba(255, 249, 240, 0.08);
  border: 1px solid rgba(248, 236, 214, 0.14);
  text-align: center;
}

.price-card h3 {
  margin: 0 0 0.55rem;
  font-size: 2.1rem;
  line-height: 0.95;
}

.price-icon {
  width: 92px;
  height: 92px;
  margin: 0 auto 1rem;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(17, 30, 49, 0.2));
}

.price-card .card-kicker {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.price-card-featured {
  background: linear-gradient(180deg, rgba(248, 229, 193, 0.22), rgba(188, 147, 81, 0.16));
  border-color: rgba(242, 221, 179, 0.3);
  transform: translateY(-1rem);
}

.pricing-note {
  max-width: 46rem;
  margin: 1.6rem auto 0;
  text-align: center;
}

.summary-card {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.98), rgba(242, 233, 217, 0.94));
}

.site-footer {
  padding: 3rem 0 4rem;
  color: var(--text-on-dark);
  background:
    radial-gradient(circle at top left, rgba(188, 147, 81, 0.16), transparent 22%),
    linear-gradient(180deg, #11253c, #091726);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  color: rgba(234, 240, 248, 0.86);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(10, 17, 28, 0.58);
  backdrop-filter: blur(10px);
}

.modal[hidden] {
  display: none;
}

.modal-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: min(86vh, 920px);
  overflow: auto;
}

.modal-dialog-wide {
  width: min(100%, 900px);
}

.modal-close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(25, 40, 61, 0.08);
  color: var(--surface-dark);
  font-size: 1.8rem;
  cursor: pointer;
}

.access-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(10, 17, 28, 0.56);
  backdrop-filter: blur(14px);
}

body:not(.is-locked) .access-gate {
  display: none;
}

.access-gate-panel {
  width: min(100%, 560px);
  text-align: center;
}

.access-gate-brand {
  justify-content: center;
  margin-bottom: 1rem;
}

.access-gate-title {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 3.5rem);
  line-height: 1;
}

.access-gate-text {
  color: var(--text);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 550ms ease, transform 550ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .hero {
    min-height: auto;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-height) + 8px) 1rem auto 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(250, 245, 236, 0.98);
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a,
  .nav-link-button {
    padding: 0.7rem 0.2rem;
    text-align: left;
  }

  .nav-toggle {
    display: inline-block;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-grid,
  .split-layout,
  .gondel-layout,
  .highlight-grid,
  .form-layout,
  .form-layout-reversed {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
    gap: 1.6rem;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
  }

  .hero-visual {
    margin-top: 0.25rem;
  }

  .timeline-grid,
  .pricing-grid,
  .voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .price-card-featured {
    transform: none;
  }

  .form-aside {
    position: static;
  }

  .footer-inner,
  .footer-branding {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 4.5rem 0;
  }

  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .brand-copy span:last-child {
    display: none;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-grid {
    gap: 1.25rem;
  }

  .hero-visual {
    display: none;
  }

  .hero-mobile-highlight {
    display: block;
    margin-top: -0.75rem;
  }

  .hero h1 {
    max-width: none;
    -webkit-text-stroke: 0.7px rgba(22, 33, 48, 0.5);
  }

  .section-heading h2,
  .highlight-copy h2,
  .prose-card h2,
  .modal-dialog h2,
  .access-gate-title {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .timeline-grid,
  .pricing-grid,
  .voice-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .slider-stage {
    min-height: 400px;
  }

  .slider-slide > img,
  .slider-composite {
    height: 330px;
  }

  .hero-card,
  .prose-card,
  .fact-panel,
  .note-card,
  .timeline-card,
  .form-card,
  .form-aside,
  .price-card,
  .summary-card,
  .voice-card,
  .modal-dialog,
  .access-gate-panel {
    border-radius: 22px;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
