/* ==========================================================================
   Floreo Associates Ltd — floreo.co.uk  (v2)
   Design inspired by the AMY Theme, incl. the signature fan slider.
   Palette: base #f8f7f3 · alt #eceae4 · ink #272626 · teal #03565a · gold #9f8c3d
   Mobile-first: base styles target phones; min-width queries enhance upward.
   ========================================================================== */

:root {
  --bg: #f8f7f3;
  --bg-alt: #eceae4;
  --card: #f8f7f3;
  --ink: #272626;
  --teal: #03565a;
  --teal-dark: #023d40;
  --teal-light: #0a7a80;
  --gold: #9f8c3d;
  --gold-light: #b8a355;
  --grey: #6b6963;
  --grey-light: #a5a29a;
  --line: #ddd9cd;
  --header-h: 66px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', Geneva, sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; border: 0; }
a { color: var(--teal); text-decoration: none; transition: color .3s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: 'Raleway', 'Open Sans', sans-serif;
  color: var(--teal);
  line-height: 1.3;
}

.wrapper { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(248, 247, 243, .97);
  box-shadow: 0 1px 0 rgba(39, 38, 38, .08);
  z-index: 1000;
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(39, 38, 38, .1); }
.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img { display: block; max-height: 40px; width: auto; }

/* Mobile-first nav: off-canvas panel */
.nav-toggle {
  display: block;
  background: none;
  border: 0;
  width: 30px; height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1002;
}
.nav-toggle span {
  position: absolute; left: 0;
  width: 100%; height: 2px;
  background: var(--teal);
  transition: all .3s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

.main-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--teal-dark);
  padding: 84px 0 40px;
  transform: translateX(100%);
  transition: transform .4s ease;
  overflow-y: auto;
  z-index: 1001;
}
body.nav-open .main-nav { transform: translateX(0); box-shadow: -12px 0 40px rgba(0,0,0,.35); }
.main-nav ul { list-style: none; }
.main-nav a {
  display: block;
  padding: 13px 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.88);
}
.main-nav a:hover, .main-nav li.current > a { color: var(--gold-light); }
.main-nav .sub-menu { display: none; background: rgba(0,0,0,.18); }
.main-nav li.open > .sub-menu { display: block; }
.main-nav .sub-menu a {
  font-family: 'Open Sans', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .3px;
  text-transform: none;
  padding: 9px 46px;
  color: rgba(255,255,255,.66);
}
.main-nav li.has-sub > a::after {
  content: '';
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  border-bottom: 0;
}
.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(39,38,38,.4);
  opacity: 0; visibility: hidden;
  transition: opacity .35s ease;
  z-index: 1000;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  color: var(--gold);
  background: transparent;
  transition: all .35s ease;
  cursor: pointer;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn-solid { background: var(--gold); color: var(--bg); }
.btn-solid:hover { background: transparent; color: var(--gold); }
.btn-teal { border-color: var(--teal); color: var(--teal); }
.btn-teal:hover { background: var(--teal); color: var(--bg); }
.btn-light { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-light:hover { background: var(--bg); border-color: var(--bg); color: var(--teal); }

/* ==========================================================================
   Hero intro + fan slider (AMY signature)
   ========================================================================== */
.hero-intro {
  padding: calc(var(--header-h) + 44px) 20px 8px;
  text-align: center;
}
.hero-intro .hero-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: block;
  box-shadow: 0 6px 24px rgba(3,86,90,.25);
}
.hero-intro .kicker {
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.hero-intro h1 {
  font-size: 34px;
  font-weight: 200;
  letter-spacing: 2px;
  color: var(--teal);
}
.hero-intro h1 strong { font-weight: 600; }
.hero-intro .sub {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 10px;
}

/* --- Mobile: swipeable card carousel (scroll-snap) --- */
.fan-slider {
  position: relative;
  padding: 28px 0 40px;
  background: linear-gradient(to bottom, var(--bg) 0%, var(--bg) 55%, var(--bg-alt) 100%);
}
.fan-stage {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 24px 26px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fan-stage::-webkit-scrollbar { display: none; }
.fan-card {
  scroll-snap-align: center;
  flex: 0 0 78vw;
  max-width: 320px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(39,38,38,.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-align: center;
  transition: transform .5s ease, box-shadow .5s ease, opacity .5s ease;
}
.fan-card .fc-head { padding: 24px 22px 18px; }
.fan-card h3 {
  font-size: 19px;
  font-weight: 300;
  letter-spacing: .5px;
  color: var(--teal);
  line-height: 1.35;
}
.fan-card h3 strong { font-weight: 700; color: var(--gold); }
.fan-card p {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--grey);
}
.fan-card .fc-img {
  margin-top: auto;
  height: 190px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.fan-card .fc-img::after {
  content: 'Explore \2192';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(to top, rgba(2,61,64,.85), transparent);
  opacity: 0;
  transition: opacity .35s ease;
}
.fan-card:hover .fc-img::after, .fan-card.active .fc-img::after { opacity: 1; }

.fan-nav { display: none; }
.fan-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 4px;
}
.fan-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.fan-dots button.on { background: var(--gold); transform: scale(1.25); }

/* --- Desktop: the AMY arc/fan formation --- */
@media (min-width: 900px) {
  .hero-intro { padding-top: calc(var(--header-h) + 56px); }
  .hero-intro h1 { font-size: 46px; letter-spacing: 3px; }
  .hero-intro .sub { font-size: 14px; letter-spacing: 3px; }

  .fan-slider {
    height: 620px;
    padding: 0;
    overflow: hidden;
  }
  .fan-stage {
    display: block;
    overflow: visible;
    position: absolute;
    left: 50%;
    top: 30px;
    width: 0;
    padding: 0;
  }
  .fan-card {
    position: absolute;
    left: -170px;
    top: 0;
    width: 340px;
    max-width: none;
    height: 440px;
    /* pivot far below the card => arc/fan geometry */
    transform-origin: 50% 1350px;
    transition: transform .8s cubic-bezier(.22,.8,.28,1), opacity .8s ease, box-shadow .8s ease;
    cursor: pointer;
    will-change: transform;
  }
  .fan-card .fc-head { padding: 30px 28px 20px; }
  .fan-card h3 { font-size: 22px; }
  .fan-card p { font-size: 13px; }
  .fan-card .fc-img { height: 220px; }
  .fan-card.active {
    box-shadow: 0 26px 60px rgba(39,38,38,.22);
    z-index: 60;
  }
  .fan-nav {
    display: block;
    position: absolute;
    top: 205px;
    z-index: 80;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--card);
    color: var(--teal);
    cursor: pointer;
    transition: all .3s ease;
  }
  .fan-nav:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
  .fan-nav svg { width: 18px; height: 18px; stroke: currentColor; }
  .fan-nav.prev { left: 4vw; }
  .fan-nav.next { right: 4vw; }
  .fan-dots { position: absolute; bottom: 26px; left: 0; right: 0; }
}

/* ==========================================================================
   Sections & titles
   ========================================================================== */
.section { padding: 60px 0; }
.section.alt { background: var(--bg-alt); }
.section.teal-band {
  background: var(--teal-dark) url('../images/pattern-teal.png') center/cover no-repeat;
  color: rgba(255,255,255,.88);
}
.section.teal-band h2, .section.teal-band h3 { color: #fff; }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 {
  font-size: 24px;
  font-weight: 200;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
}
.section-title .sep {
  width: 200px;
  max-width: 60%;
  height: 12px;
  margin: 16px auto 0;
  position: relative;
}
.section-title .sep::before {
  content: '';
  position: absolute; top: 5px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.section-title .sep::after {
  content: '';
  position: absolute; top: 1px; left: 50%;
  width: 9px; height: 9px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold);
}
.teal-band .sep::before { background: linear-gradient(to right, transparent, rgba(255,255,255,.3) 20%, rgba(255,255,255,.3) 80%, transparent); }
.section-title .subtitle {
  margin-top: 16px;
  font-size: 14px;
  color: var(--grey);
  font-weight: 300;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.teal-band .subtitle { color: rgba(255,255,255,.8); }

/* Page banner (interior pages) */
.page-banner {
  padding: calc(var(--header-h) + 44px) 20px 44px;
  text-align: center;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.page-banner h1 {
  font-size: 26px;
  font-weight: 200;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
}
.page-banner .crumbs {
  margin-top: 10px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-light);
}
.page-banner .crumbs a { color: var(--gold); }
.page-banner .crumbs a:hover { color: var(--teal); }

/* ==========================================================================
   Grids & components
   ========================================================================== */
.grid { display: grid; gap: 22px; grid-template-columns: 1fr; }

.feature { text-align: center; padding: 0 8px; }
.feature .f-ico {
  width: 78px; height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  transition: all .4s ease;
}
.feature:hover .f-ico { background: var(--teal); border-color: var(--teal); color: #fff; transform: translateY(-4px); }
.feature .f-ico svg { width: 32px; height: 32px; stroke: currentColor; }
.feature h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.feature p { color: var(--grey); font-size: 14px; }

/* Training-area tiles */
.area-tile {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--teal);
}
.area-tile .tile-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .6s ease;
}
.area-tile:hover .tile-bg { transform: scale(1.08); }
.area-tile .tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2,61,64,.92) 0%, rgba(2,61,64,.3) 55%, rgba(2,61,64,.12) 100%);
  transition: background .4s ease;
}
.area-tile:hover .tile-overlay { background: linear-gradient(to top, rgba(159,140,61,.92) 0%, rgba(159,140,61,.42) 60%, rgba(159,140,61,.18) 100%); }
.area-tile .tile-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 22px 18px;
  color: #fff;
  z-index: 2;
}
.area-tile .tile-label h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1.4;
}
.area-tile .tile-label span {
  display: inline-block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s ease;
}
.area-tile:hover .tile-label span { opacity: 1; transform: translateY(0); }
.area-tile .tile-num {
  position: absolute; top: 14px; right: 18px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  z-index: 2;
}

/* Service cards */
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 34px 26px;
  text-align: center;
  transition: all .4s ease;
}
.svc-card:hover { box-shadow: 0 16px 40px rgba(3,86,90,.14); transform: translateY(-5px); }
.svc-card .s-ico {
  width: 66px; height: 66px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(3,86,90,.08);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
  transition: all .4s ease;
}
.svc-card:hover .s-ico { background: var(--gold); color: #fff; }
.svc-card .s-ico svg { width: 28px; height: 28px; stroke: currentColor; }
.svc-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.svc-card p { font-size: 13.5px; color: var(--grey); }

/* Module cards */
.module-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  padding: 26px 24px;
  transition: all .35s ease;
}
.module-card:hover { border-top-color: var(--gold); box-shadow: 0 12px 30px rgba(39,38,38,.1); transform: translateY(-4px); }
.module-card h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.module-card ul { list-style: none; }
.module-card li {
  position: relative;
  padding: 6px 0 6px 20px;
  font-size: 13px;
  color: var(--grey);
  border-bottom: 1px dashed var(--line);
}
.module-card li:last-child { border-bottom: 0; }
.module-card li::before {
  content: '';
  position: absolute; left: 1px; top: 14px;
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
}

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.pill {
  padding: 9px 20px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 40px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  transition: all .3s ease;
}
.pill:hover { background: var(--gold); border-color: var(--gold); }

/* Etymology */
.etymology { text-align: center; max-width: 820px; margin: 0 auto; }
.etymology .word {
  font-family: 'Raleway', sans-serif;
  font-size: 52px;
  font-weight: 100;
  letter-spacing: 6px;
  color: var(--teal);
  line-height: 1;
}
.etymology .phon { margin: 14px 0 6px; color: var(--grey-light); font-style: italic; font-size: 14px; }
.etymology .ety { color: var(--grey); font-size: 13px; letter-spacing: .4px; }
.etymology .ety em { color: var(--gold); }
.etymology .defs {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--ink);
}
.etymology .defs span em { color: var(--gold); font-style: normal; font-weight: 600; margin-right: 7px; }

/* Featured course band */
.featured-band { display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.featured-band .fb-visual {
  aspect-ratio: 5 / 4;
  background: url('../images/floreo-phlebotomy-uk.jpg') center/cover;
  position: relative;
  box-shadow: 14px 14px 0 rgba(159,140,61,.2);
}
.featured-band .fb-visual .fb-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 15px;
}
.featured-band .kicker {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}
.featured-band h2 { font-size: 25px; font-weight: 300; letter-spacing: 1px; color: var(--teal); margin-bottom: 14px; }
.featured-band p { color: var(--grey); margin-bottom: 14px; font-size: 14px; }

/* CTA band */
.cta-band {
  text-align: center;
  padding: 60px 20px;
  background: var(--teal-dark) url('../images/pattern-teal.png') center/cover no-repeat;
}
.cta-band h2 {
  color: #fff;
  font-size: 22px;
  font-weight: 200;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cta-band p { color: rgba(255,255,255,.82); margin-bottom: 26px; font-size: 14px; }

/* Prose */
.prose { max-width: 860px; margin: 0 auto; color: #4c4a45; }
.prose p { margin-bottom: 18px; }
.prose .lead { font-size: 16px; font-weight: 300; color: var(--ink); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 22px; }
.contact-card {
  text-align: center;
  border: 1px solid var(--line);
  padding: 36px 26px;
  background: var(--card);
  transition: all .35s ease;
}
.contact-card:hover { box-shadow: 0 14px 36px rgba(3,86,90,.12); transform: translateY(-5px); }
.contact-card .c-ico {
  width: 70px; height: 70px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: rgba(3,86,90,.08);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.contact-card .c-ico svg { width: 28px; height: 28px; stroke: currentColor; }
.contact-card h3 { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.contact-card p, .contact-card a { color: var(--grey); font-size: 14.5px; }
.contact-card a:hover { color: var(--gold); }
.map-frame { border: 0; width: 100%; height: 340px; display: block; filter: grayscale(35%); background: var(--bg-alt); }

/* ==========================================================================
   Footer — upper widgets on #eceae4, bottom bar teal
   ========================================================================== */
.site-footer { background: var(--bg-alt); color: var(--grey); border-top: 1px solid var(--line); }
.footer-widgets {
  max-width: 1140px;
  margin: 0 auto;
  padding: 50px 20px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.footer-widgets h4 {
  color: var(--teal);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 12px;
}
.footer-widgets h4::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 34px; height: 2px;
  background: var(--gold);
}
.footer-widgets p { font-size: 13.5px; line-height: 1.9; color: var(--grey); }
.footer-widgets ul { list-style: none; }
.footer-widgets li { padding: 4px 0; }
.footer-widgets a { color: var(--grey); font-size: 13.5px; }
.footer-widgets a:hover { color: var(--gold); }
.footer-brand img { max-height: 42px; margin-bottom: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; padding: 6px 0; font-size: 13.5px; }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--gold); flex-shrink: 0; margin-top: 5px; }

.footer-bottom { background: var(--teal-dark); }
.footer-bottom-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 11.5px;
  letter-spacing: .8px;
  color: rgba(255,255,255,.72);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,.72); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .3s ease;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.footer-social svg { width: 15px; height: 15px; fill: currentColor; }

/* Back to top */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 44px; height: 44px;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all .35s ease;
  z-index: 900;
  display: flex; align-items: center; justify-content: center;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); }
.to-top svg { width: 18px; height: 18px; stroke: currentColor; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .12s; }
.reveal.d2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Prev/next area nav */
.area-nav { display: grid; grid-template-columns: 1fr; }
.area-nav a {
  padding: 26px 22px;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  transition: background .3s ease;
}
.area-nav a:hover { background: #e4e1d8; }
.area-nav .lbl { display: block; font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--grey-light); margin-bottom: 5px; }
.area-nav .ttl { font-family: 'Raleway', sans-serif; font-size: 15px; letter-spacing: .8px; color: var(--teal); }

/* ==========================================================================
   Tablet & desktop enhancements (mobile-first upgrades)
   ========================================================================== */
@media (min-width: 640px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
  .etymology .word { font-size: 72px; letter-spacing: 8px; }
  .page-banner h1 { font-size: 34px; }
}

@media (min-width: 900px) {
  body { font-size: 15px; }
  .section { padding: 90px 0; }
  .section-title h2 { font-size: 32px; letter-spacing: 4px; }
  .page-banner { padding: calc(var(--header-h) + 70px) 24px 70px; }
  .page-banner h1 { font-size: 40px; letter-spacing: 3px; }
  .grid { gap: 30px; }
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .etymology .word { font-size: 84px; }
  .featured-band { grid-template-columns: 1fr 1fr; gap: 60px; }
  .featured-band h2 { font-size: 30px; }
  .cta-band { padding: 84px 24px; }
  .cta-band h2 { font-size: 28px; letter-spacing: 3px; }
  .footer-widgets { grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding: 64px 24px 50px; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .area-nav { grid-template-columns: 1fr 1fr; }
  .area-nav a { padding: 32px 30px; }
  .area-nav a:last-child { text-align: right; border-left: 1px solid var(--line); }
  .map-frame { height: 420px; }
  .logo img { max-height: 46px; }
  :root { --header-h: 78px; }

  /* Desktop nav: horizontal bar with hover dropdown */
  .nav-toggle { display: none; }
  .nav-backdrop { display: none; }
  .main-nav {
    position: static;
    width: auto;
    background: none;
    padding: 0;
    transform: none;
    overflow: visible;
  }
  .main-nav ul { display: flex; align-items: center; }
  .main-nav a {
    padding: 10px 14px;
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--ink);
  }
  .main-nav a:hover, .main-nav li.current > a { color: var(--gold); }
  .main-nav li { position: relative; }
  .main-nav .sub-menu {
    display: block;
    position: absolute;
    top: 100%; left: 0;
    min-width: 300px;
    background: var(--bg);
    box-shadow: 0 12px 30px rgba(39,38,38,.14);
    border-top: 3px solid var(--gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .3s ease;
    padding: 8px 0;
  }
  .main-nav li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav .sub-menu a { padding: 9px 22px; color: var(--grey); }
  .main-nav .sub-menu a:hover { color: var(--teal); background: var(--bg-alt); }
}

@media (min-width: 1200px) {
  .hero-intro h1 { font-size: 52px; }
}