/* Deltina landing — school maroon + gold, mascot-led */

.page-deltina {
  --dt-maroon: #800000;
  --dt-maroon-deep: #2a0000;
  --dt-maroon-mid: #5c0008;
  --dt-gold: #e8c547;
  --dt-gold-soft: rgba(232, 197, 71, 0.22);
  --dt-ink: #1c1412;
  --dt-paper: #f7f1eb;
  --dt-muted: #5c504a;
  --dt-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --dt-font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  margin: 0;
  color: var(--dt-ink);
  font-family: var(--dt-font-body);
  background: var(--dt-paper);
}

.page-deltina .footer {
  margin-top: 0;
}

/* ---- Hero: one composition, full-bleed ---- */
.dt-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 78% 42%, rgba(232, 197, 71, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 18% 70%, rgba(179, 54, 54, 0.45) 0%, transparent 60%),
    linear-gradient(165deg, #9a1a1a 0%, var(--dt-maroon) 42%, var(--dt-maroon-deep) 100%);
}

.dt-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 46px,
      rgba(255, 255, 255, 0.015) 46px,
      rgba(255, 255, 255, 0.015) 47px
    );
  pointer-events: none;
  opacity: 0.9;
}

.dt-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 6.5rem 0 3.25rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}

.dt-brand {
  margin: 0;
  font-family: var(--dt-font-display);
  font-weight: 700;
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-wrap: balance;
  opacity: 0;
  transform: translateY(22px);
  animation: dtRise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
}

.dt-lede {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(18px);
  animation: dtRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.28s forwards;
}

.dt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  animation: dtRise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.dt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--dt-font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dt-btn:focus-visible {
  outline: 2px solid var(--dt-gold);
  outline-offset: 3px;
}

.dt-btn-primary {
  background: var(--dt-gold);
  color: var(--dt-maroon-deep);
}

.dt-btn-primary:hover {
  background: #f0d56a;
  color: var(--dt-maroon-deep);
  transform: translateY(-2px);
}

.dt-btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.dt-btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.dt-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(240px, 42vw, 420px);
  opacity: 0;
  animation: dtFade 1s ease 0.2s forwards;
}

.dt-glow {
  position: absolute;
  width: min(78%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--dt-gold-soft) 0%, transparent 68%);
  filter: blur(8px);
  animation: dtPulse 4.5s ease-in-out infinite;
}

.dt-mascot {
  position: relative;
  width: min(78%, 360px);
  height: auto;
  filter: drop-shadow(0 28px 40px rgba(0, 0, 0, 0.35));
  animation: dtFloat 5.2s ease-in-out infinite;
  user-select: none;
  pointer-events: none;
}

.dt-scroll {
  position: absolute;
  left: 50%;
  bottom: 1.15rem;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  animation: dtFade 0.8s ease 1s forwards;
}

.dt-scroll span {
  width: 1px;
  height: 1.6rem;
  background: linear-gradient(to bottom, var(--dt-gold), transparent);
}

/* ---- Content sections ---- */
.dt-main {
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, rgba(128, 0, 0, 0.06), transparent 55%),
    var(--dt-paper);
}

.dt-section {
  width: min(760px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 4.75rem) 0;
  border-bottom: 1px solid rgba(128, 0, 0, 0.1);
}

.dt-section:last-of-type {
  border-bottom: 0;
}

.dt-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dt-maroon);
}

.dt-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--dt-font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dt-maroon-deep);
}

.dt-section p {
  margin: 0 0 0.85rem;
  color: var(--dt-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.dt-section p:last-child {
  margin-bottom: 0;
}

.dt-section a {
  color: var(--dt-maroon);
  font-weight: 600;
  text-underline-offset: 0.15em;
}

.dt-section a:hover {
  color: var(--dt-maroon-mid);
}

.dt-topics {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.dt-topics li {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.35rem;
  color: var(--dt-ink);
  font-size: 1.05rem;
  line-height: 1.5;
}

.dt-topics li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.65rem;
  height: 2px;
  background: var(--dt-maroon);
}

.dt-geo-line {
  font-family: var(--dt-font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  color: var(--dt-ink);
  line-height: 1.35;
}

.dt-credit {
  padding-bottom: clamp(4rem, 8vw, 5.5rem);
}

@keyframes dtRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dtFade {
  to {
    opacity: 1;
  }
}

@keyframes dtFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes dtPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@media (max-width: 820px) {
  .dt-hero-inner {
    grid-template-columns: 1fr;
    padding: 5.25rem 0 4.25rem;
    text-align: center;
  }

  .dt-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .dt-actions {
    justify-content: center;
  }

  .dt-stage {
    order: -1;
    min-height: clamp(200px, 58vw, 300px);
  }

  .dt-mascot {
    width: min(62%, 260px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-brand,
  .dt-lede,
  .dt-actions,
  .dt-stage,
  .dt-scroll,
  .dt-mascot,
  .dt-glow {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
