/* ==========================================================================
   layout.css — page container, nav, section rhythm, footer
   ========================================================================== */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section {
  padding: 96px 0;
}

/* --- Nav ------------------------------------------------------------------
   Sits over the hero photograph, then stays at the top of the page. */
nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--gutter);
}

.logo {
  font: 800 16px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
}

.logo:hover {
  color: var(--coral);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

nav a.l {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}

nav a.l:hover {
  color: var(--coral);
}

/* --- Language switcher ---------------------------------------------------- */
.lang {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
}

.lang a {
  padding: 2px 5px;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 2px;
}

.lang a:hover {
  color: var(--coral);
}

.lang a.on {
  color: var(--text);
  border-color: var(--red);
}

@media (max-width: 760px) {
  .nav-right { gap: 14px; }
  .nav-links { gap: 14px; }

  /* Keep the row from wrapping on small phones */
  .nav-links a.l:nth-last-child(-n+2) { display: none; }
}

@media (max-width: 480px) {
  .nav-links a.l:nth-last-child(-n+3) { display: none; }
  section { padding: 72px 0; }
}

/* --- Footer ---------------------------------------------------------------
   Bookends the hero: the name is set large up there, the song down here. */
footer {
  padding: clamp(54px, 7vw, 88px) 0 30px;
  background: var(--bg-footer);
  color: var(--muted);
}

/* "Listen to Spider" — outline against fill carries the hierarchy, so the
   two halves read as one object instead of two stacked blocks. */
.f-lock {
  margin: 0 0 clamp(24px, 3vw, 36px);
  font: 800 clamp(44px, 11.6vw, 150px)/.88 var(--display);
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(254, 121, 103, .55);
  text-stroke: 1.5px rgba(254, 121, 103, .55);
}

.f-lock em {
  display: block;   /* keeps the lockup on two lines whatever the words are */
  font-style: normal;
  color: var(--coral);
  -webkit-text-stroke: 0;
  text-stroke: 0;
}

/* The fill is transparent, so without text-stroke the outlined half would
   disappear entirely. Fall back to a soft solid coral. */
@supports not ((-webkit-text-stroke: 1px red) or (text-stroke: 1px red)) {
  .f-lock {
    color: rgba(254, 121, 103, .32);
  }
}

.f-call {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
  padding-bottom: clamp(28px, 3.6vw, 40px);
}

/* The live counter, a size up from the one in Music. It reuses the
   .countdown component from sections.css; after release it holds the
   "Out now" text instead, which is why it is not hidden then. */
.f-countdown {
  letter-spacing: .14em;
  font-weight: 700;
}

.f-countdown b {
  font-size: clamp(18px, 2vw, 24px);
}

.f-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.f-base a {
  margin-left: 16px;
  text-decoration: none;
}

.f-base a:first-child {
  margin-left: 0;
}

.f-base a:hover {
  color: var(--coral);
}

/* Platform discs. These used to live in sections.css next to the Music
   markup that also used them; that markup is gone, so they live here with
   their only remaining user. */
.platforms {
  display: flex;
  gap: 12px;
}

.platforms a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  transition: background .18s;
}

.platforms a:hover {
  background: var(--coral);
}

.platforms svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (max-width: 700px) {
  .f-lock {
    -webkit-text-stroke-width: 1px;
    text-stroke-width: 1px;
  }
}
