/* ==========================================================================
   Door · The visual metaphor for change
   Used sparingly at key decision moments (Programme hero, Apply banner,
   YouTube end card, printed brochure back cover).
   Colour palette shifts to warm cream + navy contrast to signal
   the emotional transition from the everyday interface into the programme.
   ========================================================================== */

.door-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 78vh;
  background: var(--hub-paper, #F5F0E7);
  overflow: hidden;
  position: relative;
}

.door-hero-copy {
  padding: 4.5rem 4rem 4.5rem 5.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--hub-paper, #F5F0E7);
}

/* On desktop, snap the copy's left edge to the same offset as the atoms
   container below (max-width 1080, centered) so all text left-edges line up. */
@media (min-width: 1080px) {
  .door-hero-copy {
    padding-left: calc((100vw - 1080px) / 2 + 2.5rem);
    padding-right: clamp(2rem, 4vw, 4rem);
  }
}

.door-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub-accent-deep, #0d2140);
  margin: 0 0 1.75rem;
}

.door-hero-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 3.7rem);
  line-height: 1.12;
  color: var(--hub-ink, #17365D);
  margin: 0;
  letter-spacing: -0.015em;
}

.door-hero-headline .line {
  display: block;
}

.door-hero-headline .invite {
  font-style: italic;
  font-weight: 400;
  color: var(--hub-accent-deep, #0d2140);
}

.door-hero-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--hub-text, #1c2a45);
  margin: 2.25rem 0 0;
  max-width: 34rem;
}

.door-hero-cta {
  align-self: flex-start;
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0.95rem 1.85rem;
  background: var(--hub-ink, #17365D);
  color: var(--hub-paper, #F5F0E7);
  text-decoration: none;
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  border-radius: 3px;
  transition: background 0.18s ease, transform 0.15s ease;
}

.door-hero-cta:hover {
  background: var(--hub-accent-deep, #0d2140);
  transform: translateY(-1px);
}

.door-hero-image {
  background-image: url('../images/tttas_door_hero.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 400px;
}

/* Compact variant · smaller repeated motif (Apply page) */
.door-hero.door-hero--compact {
  min-height: 58vh;
  grid-template-columns: 1.15fr 1fr;
}
.door-hero.door-hero--compact .door-hero-copy {
  padding: 3.75rem 4rem 3.75rem 5.5rem;
}
.door-hero-headline.door-hero-headline--compact {
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  color: var(--hub-ink, #17365D);
  line-height: 1.1;
}
.door-hero-headline.door-hero-headline--compact em {
  font-style: italic;
  font-weight: 400;
  color: var(--hub-accent-deep, #0d2140);
}
.door-hero-tag {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--hub-text, #1c2a45);
  margin: 1rem 0 0;
}
.door-hero-tag em {
  font-style: italic;
}

@media (max-width: 960px) {
  .door-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .door-hero.door-hero--compact {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .door-hero-image {
    min-height: 300px;
    background-position: center;
    order: -1;
  }
  .door-hero-copy {
    padding: 3rem 1.75rem 3.5rem;
  }
  .door-hero.door-hero--compact .door-hero-copy {
    padding: 2.5rem 1.75rem 3rem;
  }
  .door-hero-sub { font-size: 1rem; }
}

/* ==========================================================================
   Apply page — smaller door motif
   ========================================================================== */

.door-callout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--hub-paper, #F5F0E7);
  border-top: 1px solid var(--hub-rule, #d9d0be);
  border-bottom: 1px solid var(--hub-rule, #d9d0be);
  overflow: hidden;
}

.door-callout-copy {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.door-callout-eyebrow {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hub-accent-deep, #0d2140);
  margin: 0 0 1rem;
}

.door-callout-headline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  color: var(--hub-ink, #17365D);
  margin: 0;
  letter-spacing: -0.01em;
}

.door-callout-sub {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--hub-text, #1c2a45);
  margin: 1.25rem 0 0;
  max-width: 32rem;
}

.door-callout-image {
  background-image: url('../images/tttas_door_hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 260px;
}

@media (max-width: 800px) {
  .door-callout {
    grid-template-columns: 1fr;
  }
  .door-callout-image {
    min-height: 220px;
    order: -1;
  }
  .door-callout-copy {
    padding: 2.25rem 1.5rem 2.5rem;
  }
}
