/* A compact first-visit welcome layout. The full-page feature keeps its own scale. */
.welcome-astypalaia[open] {
  grid-template-rows: minmax(220px, 1fr) auto auto;
  align-content: stretch;
  gap: 16px 3vw;
  padding: 16px 3vw;
}
.welcome-astypalaia #welcome-taste-of-the-wild {
  grid-column: 1 / -1;
  grid-row: 1;
  min-height: 0;
  padding: 0;
  background: transparent;
}
.welcome-astypalaia #welcome-taste-of-the-wild > .shell {
  width: 100%;
  max-width: none;
  height: 100%;
  margin: 0;
  padding: 0;
}
.welcome-astypalaia .taste-of-the-wild-figure {
  min-height: 220px;
  height: 100%;
  border-radius: .5rem;
}
.welcome-astypalaia .taste-of-the-wild-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  height: 100%;
  aspect-ratio: auto;
}
.welcome-astypalaia .taste-of-the-wild-visual img {
  object-position: 75% 60%;
}
.welcome-astypalaia .taste-of-the-wild-visual::after {
  display: block;
  background: linear-gradient(90deg, #052f3a 0%, #052f3a40 24%, transparent 48%);
}
.welcome-astypalaia .taste-of-the-wild-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: 58%;
  padding: 18px 26px;
}
.welcome-astypalaia .taste-of-the-wild-eyebrow {
  margin-bottom: 7px;
  font-size: 11px;
  letter-spacing: .1em;
  line-height: 1.4;
}
.welcome-astypalaia .taste-of-the-wild-copy h2 {
  max-width: none;
  font-size: clamp(46px, 4vw, 58px);
  line-height: 1;
}
.welcome-astypalaia .taste-of-the-wild-support {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.4;
}
.welcome-astypalaia .taste-of-the-wild-support span { display: inline; }
.welcome-astypalaia .welcome-introduction {
  grid-column: 1;
  grid-row: 2;
}
.welcome-astypalaia .welcome-logo {
  width: 164px;
  margin-bottom: 12px;
}
.welcome-astypalaia .welcome-headline {
  font-size: clamp(24px, 2.1vw, 30px);
  line-height: 1.12;
}
.welcome-astypalaia .welcome-support {
  margin: 10px 0 12px;
  font-size: 16px;
  line-height: 1.35;
}
.welcome-astypalaia .welcome-statement p {
  font-size: 14px;
  line-height: 1.4;
}
.welcome-astypalaia .welcome-research-link {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.welcome-astypalaia .welcome-entry-actions { margin-top: 12px; }
.welcome-astypalaia .welcome-enter { min-height: 44px; padding: 10px 22px; }
.welcome-astypalaia .welcome-partner-film {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
}
.welcome-astypalaia .welcome-partner-film video {
  max-height: 40dvh;
}
.welcome-astypalaia .welcome-partner-film figcaption {
  margin-top: 8px;
  font-size: 12px;
}
.welcome-astypalaia .welcome-cookies {
  grid-column: 1 / -1;
  grid-row: 3;
  padding: 12px 18px;
}
.welcome-astypalaia .welcome-cookies h2 { font-size: 14px; }
.welcome-astypalaia .welcome-cookies p,
.welcome-astypalaia .welcome-cookies > a { font-size: 13px; line-height: 1.4; }
.welcome-astypalaia .welcome-cookie-actions button {
  min-height: 42px;
  padding: 8px 14px;
}
@media (min-width: 901px) {
  .welcome-astypalaia[open]:not(:has(.welcome-cookies)) {
    grid-template-rows: minmax(220px, 1fr) auto;
  }
}
@media (min-width: 901px) and (max-height: 760px) {
  .welcome-astypalaia[open] { padding: 10px 3vw; row-gap: 12px; }
  .welcome-astypalaia .welcome-logo { width: 148px; margin-bottom: 8px; }
  .welcome-astypalaia .welcome-research-link,
  .welcome-astypalaia .welcome-entry-actions { margin-top: 8px; }
}
@media (max-width: 900px) {
  .welcome-astypalaia[open] {
    grid-template-rows: repeat(4, auto);
    align-content: start;
    gap: 20px;
    padding: 20px;
  }
  .welcome-astypalaia #welcome-taste-of-the-wild { min-height: auto; }
  .welcome-astypalaia #welcome-taste-of-the-wild > .shell { height: auto; }
  .welcome-astypalaia .taste-of-the-wild-figure { height: clamp(220px, 30dvh, 270px); }
  .welcome-astypalaia .welcome-introduction { grid-column: 1; grid-row: 2; }
  .welcome-astypalaia .welcome-partner-film { grid-column: 1; grid-row: 3; }
  .welcome-astypalaia .welcome-cookies { grid-column: 1; grid-row: 4; }
  .welcome-astypalaia .welcome-headline { font-size: clamp(25px, 4vw, 30px); }
  .welcome-astypalaia .welcome-statement p { font-size: 15px; line-height: 1.45; }
  .welcome-astypalaia .welcome-partner-film video { max-height: none; }
  .welcome-astypalaia .welcome-cookies p { margin: 8px 0; }
  .welcome-astypalaia .welcome-cookie-actions { margin-top: 14px; }
}
@media (max-width: 600px) {
  .welcome-astypalaia[open] { padding: 16px; }
  .welcome-astypalaia .taste-of-the-wild-figure { height: 248px; min-height: 248px; }
  .welcome-astypalaia .taste-of-the-wild-visual { width: 55%; }
  .welcome-astypalaia .taste-of-the-wild-copy { width: 74%; padding: 18px 16px; }
  .welcome-astypalaia .taste-of-the-wild-eyebrow {
    max-width: 26ch;
    font-size: 11px;
    letter-spacing: .06em;
  }
  .welcome-astypalaia .taste-of-the-wild-copy h2 { max-width: 10ch; font-size: 36px; }
  .welcome-astypalaia .taste-of-the-wild-support { max-width: 27ch; font-size: 14px; }
  .welcome-astypalaia .welcome-cookie-actions { flex-wrap: wrap; }
}
@media (max-width: 360px) {
  .welcome-astypalaia .taste-of-the-wild-figure { height: 264px; min-height: 264px; }
  .welcome-astypalaia .taste-of-the-wild-copy { width: 76%; }
}

/* First-screen audience routes share the existing welcome grid. */
.welcome-astypalaia .welcome-logo { width: 132px; margin-bottom: 8px; }
.welcome-astypalaia .welcome-support { margin: 8px 0; font-size: 15px; line-height: 1.35; }
.welcome-signed-status { margin: 8px 0; font-size: 13px; line-height: 1.35; color: #365651; }
.welcome-audience-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.welcome-audience-paths a { display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 56px; padding: 9px 12px; border: 1px solid #51776f; border-radius: 4px; color: #153d3b; background: #e8efeb; text-decoration: none; }
.welcome-audience-paths small { font-size: 11px; line-height: 1.3; }
.welcome-audience-paths strong { font-size: 15px; line-height: 1.3; }
.welcome-audience-paths a:hover { background: #dbe8e0; }
.welcome-audience-paths a:focus-visible { outline: 3px solid #075d73; outline-offset: 3px; }
.welcome-astypalaia .welcome-entry-actions { margin-top: 8px; }
.welcome-astypalaia .welcome-partner-film .welcome-research-link { flex-basis: 100%; margin-top: 0; font-size: 12px; line-height: 1.4; }
@media (max-width: 600px) {
  .welcome-astypalaia .welcome-logo { width: 148px; }
  .welcome-audience-paths { gap: 8px; }
  .welcome-audience-paths a { padding: 10px; }
  .welcome-audience-paths strong { font-size: 14px; }
}
