/* ADCO – EVONIK Davetiye
   Navy + ADCO teal + cool greys · Evonik magenta as accent only
   Apple-inspired materials, spacing, icon geometry */

:root {
  --bg: #f2f4f7;
  --bg-elevated: #f5f7fa;
  --bg-deep: #07111f;
  --surface: #ffffff;
  --ink: #0f1724;
  --ink-soft: #3b4658;
  --muted: #7b8698;
  --line: rgba(15, 23, 36, 0.08);
  --line-strong: rgba(15, 23, 36, 0.12);
  --navy: #0f2744;
  --navy-mid: #1a3a5c;
  --navy-soft: rgba(15, 39, 68, 0.08);
  --teal: #0a8fa6;
  --teal-deep: #067a8d;
  --teal-soft: rgba(10, 143, 166, 0.12);
  --magenta: #9a1a86;
  --magenta-soft: rgba(154, 26, 134, 0.1);
  --yes: #0d6b4f;
  --yes-soft: rgba(13, 107, 79, 0.1);
  --no: #b42318;
  --no-soft: rgba(180, 35, 24, 0.1);
  --shadow-sm: 0 1px 2px rgba(15, 23, 36, 0.04), 0 4px 16px rgba(15, 23, 36, 0.04);
  --shadow-md: 0 8px 30px rgba(15, 23, 36, 0.08), 0 2px 8px rgba(15, 23, 36, 0.04);
  --shadow-lg: 0 24px 60px rgba(7, 17, 31, 0.14);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --max: 800px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --spring: cubic-bezier(0.34, 1.2, 0.64, 1);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-display: var(--font);
  --font-body: var(--font);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; border: 0; background: none; }
button { cursor: pointer; }
a { color: inherit; }
fieldset { border: 0; min-width: 0; }

/* Unified SF-like icon stroke system */
.ico svg,
.mini-ico svg,
.program-node svg,
.meta-chip .ico svg,
.scroll-hint .chev svg,
.map-link svg,
.choice span svg,
.btn svg,
.rsvp-note svg,
.success-mark svg,
.modal-icon svg,
.highlight .ico svg,
.venue .ico svg,
.rsvp-head .ico svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.65;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-miterlimit: 2;
  flex-shrink: 0;
}

.mini-ico svg { width: 16px; height: 16px; }
.meta-chip .ico svg { width: 18px; height: 18px; }
.choice span svg { width: 15px; height: 15px; }
.rsvp-note svg { width: 14px; height: 14px; }
.scroll-hint .chev svg { width: 15px; height: 15px; }
.map-link svg { width: 16px; height: 16px; }
.btn svg { width: 17px; height: 17px; }
.success-mark svg { width: 24px; height: 24px; stroke-width: 1.75; }
.program-node svg { width: 18px; height: 18px; }
.highlight .ico svg { width: 20px; height: 20px; }
.venue .ico svg { width: 20px; height: 20px; }
.rsvp-head .ico svg { width: 20px; height: 20px; }
.modal-icon svg { width: 20px; height: 20px; }

/* Ambient */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -18%, rgba(10, 143, 166, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(15, 39, 68, 0.06), transparent 50%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(154, 26, 134, 0.04), transparent 50%),
    var(--bg);
}

.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(15, 39, 68, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 68, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 85% 70% at 50% 35%, #000 15%, transparent 78%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

.page {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding-bottom: calc(40px + var(--safe-b));
}

/* ── Hero — B&W slideshow + navy/teal veil ── */
.hero {
  position: relative;
  min-height: min(90svh, 880px);
  display: flex;
  flex-direction: column;
  color: #f4f6f9;
  overflow: hidden;
  isolation: isolate;
  border-radius: 0 0 var(--r-xl) var(--r-xl);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-media__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) contrast(1.06) brightness(0.88);
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 1.1s ease,
    transform 5.5s ease-out;
  will-change: opacity, transform;
}

.hero-media__img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-media__img--a { object-position: 42% center; }
.hero-media__img--b { object-position: 55% 30%; }

/* Between photo and veil: site navy/teal rising from the bottom for text contrast */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 22%,
    rgba(10, 143, 166, 0.12) 42%,
    rgba(15, 39, 68, 0.55) 68%,
    rgba(10, 26, 46, 0.82) 86%,
    rgba(7, 17, 31, 0.94) 100%
  );
}

.hero-plane {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Lighter veil — photos more visible */
  background:
    radial-gradient(ellipse 70% 55% at 85% 10%, rgba(10, 143, 166, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 45% at 10% 88%, rgba(15, 58, 92, 0.16), transparent 55%),
    linear-gradient(
      165deg,
      rgba(12, 48, 88, 0.42) 0%,
      rgba(10, 36, 68, 0.48) 40%,
      rgba(7, 20, 42, 0.58) 100%
    );
}

.hero-plane::before {
  content: "";
  position: absolute;
  inset: -25%;
  background:
    conic-gradient(from 200deg at 72% 28%, transparent 0deg, rgba(10, 143, 166, 0.1) 50deg, transparent 110deg);
  animation: spin-slow 32s linear infinite;
  opacity: 0.4;
}

.hero-plane::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 80%);
  opacity: 0.3;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
}

.hero-orb--a {
  width: 300px;
  height: 300px;
  top: -50px;
  right: -70px;
  background: rgba(10, 143, 166, 0.18);
  animation: float-a 10s ease-in-out infinite;
}

.hero-orb--b {
  width: 220px;
  height: 220px;
  bottom: 10%;
  left: -60px;
  background: rgba(26, 58, 92, 0.28);
  animation: float-b 12s ease-in-out infinite;
}

@keyframes float-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-14px, 20px) scale(1.05); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(18px, -14px); }
}

.hero-ring {
  position: absolute;
  right: -14%;
  top: 16%;
  width: min(440px, 72vw);
  height: min(440px, 72vw);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}

.hero-ring::before,
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(255,255,255,0.045);
  border-radius: 50%;
}

.hero-ring::after {
  inset: 28%;
  border-color: rgba(10, 143, 166, 0.16);
}

.hero-watermark {
  position: absolute;
  right: -2%;
  bottom: 5%;
  font-family: var(--font);
  font-size: clamp(5rem, 18vw, 9rem);
  font-weight: 600;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.03);
  pointer-events: none;
  z-index: 1;
  user-select: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: calc(20px + var(--safe-t)) 20px 36px;
}

/* Brand bar — light plate for crisp logos (default = davet-1: ADCO + Evonik) */
.brand-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 248, 251, 0.96) 100%);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.7) inset,
    0 10px 28px rgba(0, 0, 0, 0.18);
  animation: rise 0.85s var(--ease) both;
}

.brand-pair {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.brand-pair .logo {
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: none;
  display: block;
  background: transparent;
}

.logo-adco {
  height: clamp(28px, 8vw, 36px);
  width: auto;
  max-width: min(100px, 28vw);
}

.logo-evonik {
  height: clamp(26px, 7.5vw, 34px);
  width: auto;
  max-width: min(140px, 40vw);
}

.logo-po {
  height: clamp(20px, 5.5vw, 26px);
  width: auto;
  max-width: min(132px, 48vw);
}

.brand-divider {
  width: 1px;
  height: 26px;
  background: rgba(15, 39, 68, 0.14);
  flex-shrink: 0;
}

/* ── Davet-2 only: three logos (scoped under .brand-bar--triple) ── */
.brand-bar--triple {
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
}

.brand-bar--triple .brand-logos {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
}

.brand-bar--triple .logo {
  flex: 1 1 0;
  width: auto;
  max-width: none;
  height: clamp(24px, 5.5vw, 34px);
  object-fit: contain;
  object-position: center;
  display: block;
  filter: none;
  background: transparent;
}

.brand-bar--triple .brand-divider {
  flex: 0 0 auto;
  height: clamp(18px, 5vw, 28px);
  align-self: center;
}

/* Mobile: davet-1 original sizing (only when NOT triple) */
@media (max-width: 540px) {
  .brand-bar:not(.brand-bar--triple) {
    padding: 12px;
    gap: 12px;
    border-radius: 12px;
  }

  .brand-bar:not(.brand-bar--triple) .logo-adco {
    height: 30px;
    max-width: 88px;
  }

  .brand-bar:not(.brand-bar--triple) .logo-evonik {
    height: 28px;
    max-width: min(132px, 46vw);
  }

  .brand-bar:not(.brand-bar--triple) .brand-divider {
    height: 24px;
  }

  /* Mobile: davet-2 only */
  .brand-bar--triple {
    padding: 12px 14px;
    gap: 0;
    justify-content: center;
  }

  .brand-bar--triple .brand-logos {
    width: auto;
    max-width: 100%;
    flex: 0 1 auto;
    justify-content: center;
    gap: 8px;
  }

  .brand-bar--triple .logo {
    flex: 0 0 auto;
    height: 32px;
    max-height: 32px;
    max-width: 28vw;
  }

  .brand-bar--triple .brand-divider {
    height: 26px;
    margin: 0 2px;
  }
}

@media (max-width: 360px) {
  .brand-bar:not(.brand-bar--triple) .logo-adco {
    height: 26px;
    max-width: 76px;
  }

  .brand-bar:not(.brand-bar--triple) .logo-evonik {
    height: 24px;
    max-width: 110px;
  }

  .brand-bar:not(.brand-bar--triple) .brand-pair {
    gap: 8px;
  }

  .brand-bar--triple {
    padding: 10px 12px;
  }

  .brand-bar--triple .brand-logos {
    gap: 6px;
  }

  .brand-bar--triple .logo {
    height: 28px;
    max-height: 28px;
    max-width: 26vw;
  }

  .brand-bar--triple .brand-divider {
    height: 22px;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .hero-media__img--a { object-position: center 35%; }
  .hero-media__img--b { object-position: center 20%; }
}

.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 52px;
  max-width: 40rem;
}

/* Mobile only: half the empty space between logo bar and “Teknik Seminer” */
@media (max-width: 767px) {
  .hero {
    min-height: min(68svh, 620px);
  }

  .hero-body {
    padding-top: 26px;
  }

  .hero-inner {
    padding-bottom: 28px;
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.58);
  margin-bottom: 18px;
  animation: rise 0.9s var(--ease) 0.1s both;
}

.hero-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 143, 166, 0.18);
}

.hero h1 {
  font-family: var(--font);
  font-weight: 600;
  font-size: clamp(1.85rem, 6.2vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #f8fafc;
  margin-bottom: 14px;
  text-shadow: 0 2px 28px rgba(7, 17, 31, 0.55), 0 1px 2px rgba(7, 17, 31, 0.35);
  animation: rise 0.9s var(--ease) 0.18s both;
}

.hero h1 em {
  font-style: normal;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.88);
  display: inline;
}

.hero-lead {
  font-size: 1.05rem;
  font-weight: 400;
  color: rgba(244, 246, 249, 0.8);
  max-width: 32rem;
  margin-bottom: 26px;
  line-height: 1.55;
  text-shadow: 0 1px 16px rgba(7, 17, 31, 0.4);
  animation: rise 0.9s var(--ease) 0.26s both;
}

/* Apple-like frosted chips */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  animation: rise 0.9s var(--ease) 0.34s both;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 14px 10px 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.07);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  min-width: 0;
  transition: background 0.25s ease, transform 0.25s var(--spring);
}

.meta-chip:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-1px);
}

.meta-chip .ico {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(10, 143, 166, 0.18);
  color: #7ed4e5;
  flex-shrink: 0;
  border: 1px solid rgba(126, 212, 229, 0.15);
}

.meta-chip small {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.42);
  margin-bottom: 1px;
}

.meta-chip strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.96);
  letter-spacing: -0.015em;
}

/* Petrol Ofisi mark next to start-time chip (davet-2) */
.meta-chip--po {
  gap: 10px;
  padding-right: 12px;
}

.meta-po {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.meta-po img {
  height: 18px;
  width: auto;
  max-width: 96px;
  object-fit: contain;
  display: block;
}

.meta-po span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1;
  white-space: nowrap;
  padding: 4px 7px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 767px) {
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .meta-chip {
    width: 100%;
    min-width: 0;
  }

  .meta-chip--po {
    grid-column: 1 / -1;
    width: 100%;
    gap: 10px;
    padding-right: 12px;
    justify-content: flex-start;
  }

  .meta-po {
    margin-left: auto;
    padding-left: 10px;
    gap: 8px;
  }

  .meta-po img {
    height: 16px;
    max-width: 88px;
  }

  .meta-po span {
    font-size: 9px;
    letter-spacing: 0.16em;
    padding: 4px 7px;
  }

  .scroll-hint {
    width: 100%;
    box-sizing: border-box;
    justify-content: flex-start;
  }
}

.scroll-hint {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244, 246, 249, 0.5);
  text-decoration: none;
  animation: rise 0.9s var(--ease) 0.42s both;
  transition: color 0.25s ease;
}

.scroll-hint:hover { color: rgba(244, 246, 249, 0.92); }

.scroll-hint .chev {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
  display: grid;
  place-items: center;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.35s var(--spring);
}

.scroll-hint:hover .chev {
  border-color: rgba(10, 143, 166, 0.45);
  background: rgba(10, 143, 166, 0.12);
  transform: translateY(2px);
}

.scroll-hint .chev svg { animation: bob 1.8s ease-in-out infinite; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(2px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Content ── */
.section {
  padding: 40px 20px 4px;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-index {
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  min-width: 1.8rem;
  padding: 4px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-label-rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}

.invite-copy {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 38rem;
  line-height: 1.6;
}

.invite-copy p + p { margin-top: 0.9rem; }

.invite-copy .salutation {
  color: var(--ink);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.invite-copy .closing {
  color: var(--ink);
  font-weight: 600;
  position: relative;
  padding-left: 14px;
}

.invite-copy .closing::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  bottom: 0.3em;
  width: 2.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), var(--magenta));
}

/* Highlights on venue media stage */
.highlights-stage {
  position: relative;
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(280px, 52vw, 420px);
  box-shadow: var(--shadow-md);
}

.highlights-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.highlights-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  display: block;
  transform: scale(1.03);
}

.highlights-fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(7, 17, 31, 0.05) 0%,
      rgba(7, 17, 31, 0.1) 35%,
      rgb(10 38 62 / 0%) 62%,
      rgb(7 17 31 / 0%) 82%,
      rgb(7 17 31) 100%
    ),
    linear-gradient(
      0deg,
      rgba(10, 143, 166, 0.18) 0%,
      transparent 40%
    );
}

.highlights-stage .highlights {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 18px 16px 20px;
  min-height: inherit;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: end;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.highlights-stage .highlights--venue-only {
  justify-items: start;
  padding-bottom: 22px;
}

.highlights--venue-only .highlight h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.highlight {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: opacity 0.2s ease, transform 0.25s var(--spring);
}

.highlight:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  background: transparent;
  box-shadow: none;
}

.highlight .ico {
  width: 34px;
  height: 34px;
  border-radius: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.highlight:nth-child(1) .ico,
.highlight:nth-child(2) .ico,
.highlight:nth-child(3) .ico {
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
}

.highlight h3 {
  font-size: 0.95rem;
  font-weight: 650;
  color: #fff;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.highlight p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.35;
}

/* Program — Apple list style */
.program-block { margin-top: 36px; }

.program {
  position: relative;
  margin-top: 12px;
  padding: 8px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.program::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--teal), rgba(15, 39, 68, 0.08));
}

.program-row {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding: 12px 12px;
  align-items: center;
  border-radius: var(--r-md);
  transition: background 0.2s ease;
}

.program-row:hover { background: var(--bg-elevated); }

.program-node {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--navy);
  box-shadow: 0 1px 2px rgba(15, 23, 36, 0.04);
}

.program-row:first-child .program-node {
  color: #fff;
  background: linear-gradient(145deg, var(--teal), var(--teal-deep));
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(10, 143, 166, 0.28);
}

.program-body { min-width: 0; padding-top: 0; }

.program-time {
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  font-variant-numeric: tabular-nums;
  margin-bottom: 2px;
}

.program-title {
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.program-sub {
  margin-top: 2px;
  font-size: 0.86rem;
  color: var(--muted);
}

/* Venue — material card */
.venue {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.venue .ico {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  border: 0;
  box-shadow: 0 8px 20px rgba(15, 39, 68, 0.22);
}

.venue strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 650;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.venue span {
  display: block;
  margin-top: 2px;
  font-size: 0.88rem;
  color: var(--muted);
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  color: var(--navy);
  background: var(--bg);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.25s var(--spring);
  flex-shrink: 0;
}

.map-link:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: scale(1.04);
}

.map-link .map-label { display: none; }

/* ── RSVP — strong Apple sheet ── */
.rsvp {
  position: relative;
  margin: 28px 16px 0;
  padding: 28px 18px 22px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.rsvp::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18%;
  right: 18%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--teal), var(--navy-mid) 55%, var(--magenta));
}

.rsvp-head {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 6px;
}

.rsvp-head .ico {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  box-shadow: 0 10px 22px rgba(15, 39, 68, 0.22);
}

.rsvp-head h2 {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 4px;
  color: var(--ink);
}

.rsvp-head p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.4;
}

.rsvp-q {
  padding: 18px 0 2px;
  border-top: 1px solid var(--line);
  margin-top: 14px;
}

.rsvp-q:first-of-type { margin-top: 16px; }

.q-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 650;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.q-label .mini-ico {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--navy-mid);
  flex-shrink: 0;
}

.choice-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.choice { position: relative; }

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 12px 10px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--line-strong);
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--ink-soft);
  background: var(--bg);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.25s var(--ease),
    transform 0.2s var(--spring);
  user-select: none;
}

.choice span svg { opacity: 0.45; transition: opacity 0.2s ease; }

.choice:hover span {
  border-color: rgba(15, 39, 68, 0.22);
  transform: translateY(-1px);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.choice input:checked + span {
  border-color: var(--yes);
  background: var(--yes-soft);
  color: var(--yes);
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(13, 107, 79, 0.1);
}

.choice input:checked + span svg { opacity: 1; }

.choice.negative input:checked + span {
  border-color: var(--no);
  background: var(--no-soft);
  color: var(--no);
  font-weight: 650;
  box-shadow: 0 6px 16px rgba(180, 35, 24, 0.1);
}

.rsvp-actions {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  transition: transform 0.2s var(--spring), background 0.2s ease, opacity 0.2s ease, box-shadow 0.25s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(180deg, #1a3f66 0%, var(--navy) 100%);
  color: #f7f9fc;
  box-shadow: 0 10px 28px rgba(15, 39, 68, 0.28), inset 0 1px 0 rgba(255,255,255,0.12);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #214a74 0%, #0c2038 100%);
  box-shadow: 0 14px 32px rgba(15, 39, 68, 0.34);
}

.btn-primary:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-ghost {
  background: var(--bg);
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
}

.rsvp-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--muted);
}

.rsvp-note svg { opacity: 0.65; color: var(--teal-deep); }

.success {
  display: none;
  text-align: center;
  padding: 36px 8px 16px;
}

.success.is-visible { display: block; animation: rise 0.65s var(--ease) both; }

.success-mark {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--yes);
  background: var(--yes-soft);
  border: 1px solid rgba(13, 107, 79, 0.2);
  box-shadow: 0 0 0 6px rgba(13, 107, 79, 0.05);
}

.success h3 {
  font-family: var(--font);
  font-size: 1.55rem;
  font-weight: 650;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.success p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 22rem;
  margin: 0 auto;
}

.form-hidden { display: none !important; }

/* Modal — Apple sheet */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(7, 17, 31, 0.48);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  display: grid;
  place-items: end center;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  place-items: center;
}

.modal {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--r-xl);
  padding: 26px 22px 22px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.4s var(--spring);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
}

.modal::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 36px;
  height: 4px;
  border-radius: 4px;
  background: rgba(15, 23, 36, 0.12);
  transform: translateX(-50%);
}

.modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy));
  color: #fff;
  margin: 10px 0 14px;
  box-shadow: 0 8px 18px rgba(15, 39, 68, 0.2);
}

/* Inquiry CTA */
.inquiry-bar {
  margin: 18px 16px 0;
  padding: 18px 18px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: var(--shadow-sm);
}

.inquiry-bar p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.inquiry-bar strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 2px;
}

.btn-outline {
  flex-shrink: 0;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
}

.field + .field { margin-top: 12px; }

.field textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 0.98rem;
  outline: none;
  resize: vertical;
  line-height: 1.45;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
  background: #fff;
}

.inquiry-success {
  display: none;
  text-align: center;
  margin: 12px 16px 0;
  padding: 18px 16px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.inquiry-success.is-visible { display: block; animation: rise 0.55s var(--ease) both; }

.inquiry-bar.is-done { display: none; }

.inquiry-success h3 {
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 650;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.inquiry-success p {
  font-size: 0.92rem;
  color: var(--muted);
}

.modal h3 {
  font-family: var(--font);
  font-size: 1.35rem;
  font-weight: 650;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.modal > p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.field input {
  width: 100%;
  min-height: 50px;
  padding: 12px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 1.05rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-soft);
  background: #fff;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 8px;
  margin-top: 16px;
}

.modal-error {
  min-height: 1.2em;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #b42318;
}

.footer {
  padding: 40px 20px 16px;
  text-align: center;
}

.footer-mark {
  width: 36px;
  height: 3px;
  margin: 0 auto 14px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--magenta));
}

.footer p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

/* Desktop */
@media (min-width: 640px) {
  .highlights-stage {
    min-height: clamp(320px, 38vw, 460px);
  }

  .highlights-stage .highlights {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 22px 24px;
  }

  .highlights-stage .highlights:not(.highlights--venue-only) {
    grid-template-columns: repeat(3, 1fr);
  }

  .highlight {
    padding: 0;
  }

  /* subtle separators between items on wide */
  .highlights:not(.highlights--venue-only) .highlight + .highlight {
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    padding-left: 18px;
  }

  .hero-meta { gap: 10px; }
}

@media (min-width: 768px) {
  .hero-inner { padding: calc(24px + var(--safe-t)) 36px 48px; }
  .hero { border-radius: 0 0 36px 36px; }
  .brand-bar {
    padding: 14px 18px;
    gap: 16px;
    border-radius: 16px;
  }
  .brand-pair { gap: 14px; }
  .logo-adco { height: 40px; max-width: 112px; }
  .logo-evonik { height: 38px; max-width: 190px; }
  .logo-po { height: 28px; max-width: 150px; }
  .brand-divider { height: 32px; }

  /* Davet-2 desktop triple logos only */
  .brand-bar--triple {
    flex-direction: row;
    align-items: center;
    justify-content: center;
  }
  .brand-bar--triple .brand-logos {
    gap: 16px;
    justify-content: center;
  }
  .brand-bar--triple .logo {
    flex: 0 1 auto;
    height: 36px;
    max-height: 36px;
    max-width: min(160px, 22vw);
  }
  .brand-bar--triple .brand-divider {
    height: 30px;
  }
  .section { padding: 52px 36px 8px; }
  .rsvp {
    margin: 32px 36px 0;
    padding: 34px 30px 28px;
  }
  .venue {
    padding: 18px 18px;
  }
  .map-link {
    width: auto;
    height: 42px;
    padding: 0 14px;
    gap: 8px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 650;
  }
  .map-link .map-label { display: inline; }
  .program::before { left: 30px; }
  .inquiry-bar { margin: 20px 36px 0; padding: 20px 22px; }
}

@media (min-width: 960px) {
  .page { max-width: 900px; }
  .hero { min-height: min(80svh, 820px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
