/* ==========================================================================
   A Face For Radio — stylesheet
   Brand colours and fonts live here as CSS variables — change them here
   and they update across the whole site.
   ========================================================================== */

:root {
  /* Brand colours */
  --colour-blue: #008EC7;
  --colour-red: #D50009;
  --colour-white: #FFFFFF;
  --colour-orange: #EE6700;

  /* Working colours (not brand-specified, chosen for contrast/readability) */
  --colour-ink: #14191c;
  --colour-ink-soft: #45525a;
  --colour-bg: #FFFFFF;
  --colour-bg-alt: #f3f7f9;
  --colour-border: #dde5e8;

  /* Fonts */
  --font-display: "Saira Extra Condensed", "Arial Narrow", sans-serif;
  --font-hand: "Amatic SC", cursive;

  --radius: 10px;
  --max-width: 1100px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset-ish basics ---- */
*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--colour-ink);
  background: var(--colour-bg);
}
img { max-width: 100%; display: block; }
a { color: var(--colour-blue); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
p { margin: 0 0 1em; }
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
section { padding: 3rem 0; scroll-margin-top: 80px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--colour-ink);
  color: var(--colour-white); padding: 0.75em 1em; z-index: 1000;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; border-radius: var(--radius); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.7em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(20, 25, 28, 0.35);
}
.btn-primary { background: var(--colour-red); color: var(--colour-white); }
.btn-primary:hover, .btn-primary:focus-visible { background: #b40007; color: var(--colour-white); }
.btn-secondary { background: var(--colour-white); color: var(--colour-blue); border-color: var(--colour-blue); }
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--colour-blue); color: var(--colour-white); }
.btn-outline { background: transparent; color: var(--colour-white); border-color: var(--colour-white); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--colour-white); color: var(--colour-blue); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* ---- Site header ---- */
.site-header {
  background: var(--colour-white);
  border-bottom: 4px solid var(--colour-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  box-shadow: 0 6px 20px -8px rgba(20, 25, 28, 0.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--colour-ink);
}
.brand img { height: 76px; width: auto; }
.brand-wordmark {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--colour-red);
}
.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--colour-ink);
  border-radius: 6px;
  padding: 0.5em 0.7em;
  cursor: pointer;
}
.hamburger {
  display: block;
  width: 22px;
  height: 16px;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--colour-ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease), top 0.25s var(--ease);
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 7px; }
.hamburger span:nth-child(3) { top: 14px; }
.nav-toggle.is-open .hamburger span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-toggle.is-open .hamburger span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .hamburger span:nth-child(3) { top: 7px; transform: rotate(-45deg); }
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
}
.main-nav a {
  position: relative;
  color: var(--colour-ink);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.98rem;
  padding: 0.3em 0.1em;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  height: 3px;
  width: 0;
  background: var(--colour-red);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a[aria-current="page"]::after {
  width: 100%;
}

@media (max-width: 720px) {
  .brand img { height: 56px; }
  .nav-toggle { display: inline-block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--colour-white);
    border-bottom: 4px solid var(--colour-blue);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  .main-nav a { display: block; padding: 0.6em 0; }
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--colour-blue), #005f87);
  color: var(--colour-white);
  padding: 4rem 0;
}
.hero-logo {
  text-align: center;
  margin-bottom: 1.5rem;
}
.hero-logo img {
  display: inline-block;
  width: 140px;
  height: auto;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.35));
}
@media (min-width: 800px) {
  .hero-inner {
    display: flex;
    align-items: center;
    gap: 3rem;
  }
  .hero-text { flex: 1 1 380px; order: 1; }
  .hero-logo {
    flex: 0 0 200px;
    margin-bottom: 0;
    order: 2;
  }
  .hero-logo img { width: 200px; }
}
.hero-tag {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--colour-red);
  display: block;
  margin-bottom: 0.25rem;
}
.hero h1 { color: var(--colour-white); margin-bottom: 0.2em; }
.hero .lede { font-size: 1.25rem; max-width: 46ch; margin-bottom: 1.4rem; }
.hero .slot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  padding: 0.4em 1em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  animation: pill-pulse 2.8s ease-in-out infinite;
}
@keyframes pill-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}

/* ---- Notice banner (Listen page "not on this week") ---- */
.notice-banner {
  background: var(--colour-orange);
  color: var(--colour-white);
  font-weight: 700;
  text-align: center;
  padding: 0.75em 1em;
  display: none;
}
.notice-banner.is-active { display: block; }

/* ---- Segment cards ---- */
.segments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.segment-card {
  background: var(--colour-bg-alt);
  border-left: 6px solid var(--colour-red);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -14px rgba(20, 25, 28, 0.35);
}
.segment-card:nth-child(2) { border-left-color: var(--colour-blue); }
.segment-card:nth-child(3) { border-left-color: var(--colour-orange); }
.segment-card:nth-child(4) { border-left-color: var(--colour-red); }
.segment-card h3 { margin-bottom: 0.4em; color: var(--colour-ink); }
.segment-card .segment-tag {
  font-family: var(--font-hand);
  color: var(--colour-orange);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.2em;
}

/* ---- Generic section variants ---- */
.section-alt { background: var(--colour-bg-alt); }
.section-dark {
  background: var(--colour-ink);
  color: var(--colour-white);
}
.section-dark h2 { color: var(--colour-white); }

/* ---- News list ---- */
.news-list { list-style: none; margin: 2rem 0 0; padding: 0; }
.news-item {
  border-bottom: 1px solid var(--colour-border);
  padding: 1.6rem 1rem;
  margin: 0 -1rem;
  border-radius: 8px;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.news-item:first-child { padding-top: 0.4rem; }
.news-item:hover {
  background-color: var(--colour-bg-alt);
  transform: translateX(4px);
}
.news-date {
  font-family: var(--font-hand);
  color: var(--colour-red);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.1em;
}
.news-item h3 { margin-bottom: 0.3em; }
.news-empty, .news-error {
  padding: 2rem;
  text-align: center;
  color: var(--colour-ink-soft);
}

/* ---- Cards / teasers ---- */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.teaser-card {
  border: 1px solid var(--colour-border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  background: var(--colour-white);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.teaser-card:hover {
  transform: translateY(-6px);
  border-color: var(--colour-blue);
  box-shadow: 0 16px 30px -14px rgba(20, 25, 28, 0.2);
}

/* ---- Socials ---- */
.socials-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  background: var(--colour-white);
  color: var(--colour-ink);
  border: 2px solid var(--colour-border);
  border-radius: 999px;
  padding: 0.55em 1.2em;
  text-decoration: none;
  font-weight: 700;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.social-link:hover, .social-link:focus-visible {
  border-color: var(--colour-blue);
  color: var(--colour-blue);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px -12px rgba(20, 25, 28, 0.35);
}
.social-icon {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.social-icon svg { width: 14px; height: 14px; display: block; }
.social-icon-instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.social-icon-bluesky { background: #0085ff; }
.social-icon-musicboard { background: var(--colour-orange); }
.social-icon-linkedin { background: #0a66c2; }

/* ---- Footer ---- */
.site-footer {
  background: var(--colour-ink);
  color: var(--colour-white);
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}
.site-footer a { color: var(--colour-white); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer-logo {
  display: inline-block;
  background: var(--colour-white);
  padding: 0.4rem;
  border-radius: 8px;
  line-height: 0;
  transition: transform 0.25s var(--ease);
}
.footer-logo:hover { transform: scale(1.06); }
.footer-logo img { height: 46px; width: auto; }
.footer-brand-logo { display: inline-block; transition: transform 0.25s var(--ease); }
.footer-brand-logo:hover { transform: scale(1.05); }
.footer-brand-logo img { height: 72px; width: auto; }
.footer-tagline {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--colour-orange);
  margin: 0.7rem 0 0;
}
.site-footer h4 {
  color: var(--colour-white);
  font-size: 1rem;
  margin-bottom: 0.6em;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.4em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ---- Live photos ---- */
.photo-frame {
  display: inline-block;
  background: var(--colour-white);
  padding: 0.5rem 0.5rem 1.1rem;
  border-radius: 14px;
  box-shadow: 0 12px 24px -8px rgba(20, 25, 28, 0.35);
  max-width: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.photo-frame img {
  display: block;
  border-radius: 8px;
  width: 100%;
  height: auto;
}
.photo-frame figcaption {
  font-family: var(--font-hand);
  font-size: 1.2rem;
  color: var(--colour-ink-soft);
  text-align: center;
  padding-top: 0.3rem;
}
.tilt-left { transform: rotate(-3deg); }
.tilt-right { transform: rotate(2.5deg); }
.photo-frame:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: 0 20px 34px -10px rgba(20, 25, 28, 0.4);
}

.split-with-photo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2.5rem;
}
.split-with-photo .split-text { flex: 1 1 320px; }
.split-with-photo .split-photo { flex: 0 1 300px; text-align: center; }
.split-with-photo .split-photo.split-photo-sm { flex-basis: 220px; }
.split-with-photo .split-photo-sm .photo-frame { max-width: 200px; margin: 0 auto; }

/* Three-column variant: phone/heading — free text — photo */
.now-playing-row.split-with-photo .split-text { flex: 0 1 300px; }
.now-playing-row .split-mid-text { flex: 1 1 240px; }
.now-playing-row { margin-top: 1rem; }

/* ---- Now playing phone widget ---- */
.heading-icon {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.now-playing-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 1.3rem;
}
.now-playing-eq span {
  display: block;
  width: 4px;
  background: var(--colour-red);
  border-radius: 2px;
  animation: eq-bounce 1s ease-in-out infinite;
}
.now-playing-eq span:nth-child(1) { height: 40%; animation-delay: -0.9s; }
.now-playing-eq span:nth-child(2) { height: 100%; animation-delay: -0.5s; }
.now-playing-eq span:nth-child(3) { height: 65%; animation-delay: -0.2s; }
@keyframes eq-bounce {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .now-playing-eq span { animation: none; }
}

/* ---- Other heading icons (same idea as the equaliser, themed per section) ---- */
.icon-vinyl {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--colour-red) 0 28%, var(--colour-ink) 28% 100%);
  position: relative;
  animation: icon-spin 2.6s linear infinite;
}
.icon-vinyl::after {
  content: "";
  position: absolute;
  top: 12%;
  left: 50%;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  transform: translateX(-50%);
}
@keyframes icon-spin {
  to { transform: rotate(360deg); }
}

.icon-ping-red, .icon-ping-orange, .icon-ping-blue {
  display: inline-block;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}
.icon-ping-red { background: var(--colour-red); animation: icon-ping-red 1.8s ease-out infinite; }
.icon-ping-orange { background: var(--colour-orange); animation: icon-ping-orange 1.3s ease-out infinite; }
.icon-ping-blue { background: var(--colour-blue); animation: icon-ping-blue 1.8s ease-out infinite; }
@keyframes icon-ping-red {
  0% { box-shadow: 0 0 0 0 rgba(213, 0, 9, 0.5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(213, 0, 9, 0); }
}
@keyframes icon-ping-orange {
  0% { box-shadow: 0 0 0 0 rgba(238, 103, 0, 0.55); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(238, 103, 0, 0); }
}
@keyframes icon-ping-blue {
  0% { box-shadow: 0 0 0 0 rgba(0, 142, 199, 0.5); }
  70%, 100% { box-shadow: 0 0 0 9px rgba(0, 142, 199, 0); }
}

.icon-wave {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  transform-origin: 70% 70%;
  animation: icon-wave-wiggle 2.4s ease-in-out infinite;
}
@keyframes icon-wave-wiggle {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(16deg); }
  40% { transform: rotate(-8deg); }
  60% { transform: rotate(16deg); }
  80% { transform: rotate(0deg); }
}

.icon-camera {
  display: inline-block;
  font-size: 1.1rem;
  line-height: 1;
  animation: icon-shutter 3.6s ease-in-out infinite;
}
@keyframes icon-shutter {
  0%, 90%, 100% { transform: scale(1); filter: brightness(1); }
  93% { transform: scale(0.82); filter: brightness(1.7); }
  96% { transform: scale(1); filter: brightness(1); }
}

.icon-signal {
  position: relative;
  display: inline-block;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--colour-blue);
  border-radius: 50%;
}
.icon-signal::before, .icon-signal::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--colour-blue);
  animation: icon-signal-wave 2s ease-out infinite;
  opacity: 0;
}
.icon-signal::after { animation-delay: 0.7s; }
@keyframes icon-signal-wave {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.6); opacity: 0; }
}

.phone-mockup {
  width: 220px;
  max-width: 100%;
  margin: 1.5rem 0 0;
}
.phone-frame {
  background: #0e0e10;
  border-radius: 34px;
  padding: 12px 9px;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone-mockup:hover .phone-frame {
  transform: translateY(-4px);
  box-shadow: 0 28px 48px -14px rgba(0, 0, 0, 0.55);
}
.phone-notch {
  width: 60px;
  height: 16px;
  background: #0e0e10;
  border: 2px solid #2c2c2e;
  border-radius: 10px;
  margin: 0 auto 8px;
}
.phone-screen {
  background: linear-gradient(165deg, #2c2c2e, #1a1a1c);
  border-radius: 22px;
  padding: 1.1rem 1rem 0.9rem;
  color: var(--colour-white);
}
.np-art {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.45);
}
.np-art img { width: 100%; height: 100%; object-fit: cover; }
.np-song {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0.8rem 0 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-artist {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.np-progress {
  position: relative;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  margin: 1.1rem 0 0.35rem;
}
.np-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3%;
  background: var(--colour-blue);
  border-radius: 999px;
}
.np-progress-thumb {
  position: absolute;
  left: 3%; top: 50%;
  width: 10px; height: 10px;
  background: var(--colour-white);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.np-times {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
}
.np-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.9rem 1rem 1.1rem;
  font-size: 1.5rem;
  line-height: 1;
}
.np-controls .np-play { font-size: 2rem; }
.np-skip-icon {
  width: 1.3rem;
  height: 1.3rem;
  fill: var(--colour-white);
  display: block;
}
.np-volume {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  margin-bottom: 0.2rem;
}
.np-volume-track {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}
.np-volume-fill {
  width: 35%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
}
.phone-home-indicator {
  width: 90px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  margin: 0.8rem auto 0.1rem;
}

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---- Back to top ---- */
.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--colour-red);
  color: var(--colour-white);
  border-radius: 50%;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s, background 0.2s ease;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover, .back-to-top:focus-visible {
  background: #b40007;
  transform: translateY(-3px);
}

/* ---- Utility ---- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
