
/* =========================================================
   DEAF SPACES - Editorial & Accessible Theme Stylesheet
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  --ds-navy: #0A0E24;
  --ds-green: #1FA82C;
  --ds-magenta: #DD1888;
  --ds-violet: #6E27D6;

  /* Neutrals */
  --ds-bg-paper: #FCFAF6;     /* Warm off-white paper backdrop */
  --ds-bg-cream: #F5EFE4;     /* Accent panels and banners */
  --ds-bg-ivory: #FAF6ED;     /* Secondary soft background */
  --ds-text: #12162B;         /* High-contrast deep navy text */
  --ds-muted: #4B5262;        /* Accessible description grey */
  --ds-light: #70778B;        /* Caption grey */
  --ds-line: rgba(10, 14, 36, 0.12);
  --ds-line-strong: rgba(10, 14, 36, 0.24);

  /* Transparent backdrops */
  --ds-green-soft: rgba(31, 168, 44, 0.08);
  --ds-magenta-soft: rgba(221, 24, 136, 0.08);
  --ds-violet-soft: rgba(110, 39, 214, 0.08);

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --maxw: 1160px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base resets and defaults */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--ds-text);
  background: var(--ds-bg-paper);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* Focus and accessibility skip */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--ds-navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 700;
  font-family: var(--font-body);
}
.skip:focus {
  left: 0;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--ds-violet);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 84px 0;
  border-bottom: 1px solid var(--ds-line);
}
.section.tight {
  padding: 60px 0;
}

/* Solid colour bands and inverted (white) text */
.band-green { background: var(--ds-green); }
.band-magenta { background: var(--ds-magenta); }
.band-violet { background: var(--ds-violet); }
.band-navy { background: var(--ds-navy); }
.invertband {
  color: #fff;
  border-bottom: 0;
}
.section.invertband .eyebrow { color: #fff; }
.invertband .eyebrow::before { background: rgba(255, 255, 255, 0.6); }
.invertband h1,
.invertband h2,
.invertband h3,
.invertband h4 { color: #fff; }
.invertband p,
.invertband .lead { color: rgba(255, 255, 255, 0.92); }
.invertband a.more { color: #fff; }
/* Light section title over a colour band, while child cards stay light */
.heading-light h2 { color: #fff; }
.section.heading-light .eyebrow { color: #fff; }
.heading-light .eyebrow::before { background: rgba(255, 255, 255, 0.6); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--ds-navy);
  line-height: 1.25;
  font-weight: 700;
}
h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
}
h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  margin-bottom: 20px;
}
h3 {
  font-size: 1.4rem;
  font-weight: 700;
}
p {
  color: var(--ds-muted);
}
.lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--ds-muted);
  max-width: 65ch;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: currentColor;
}
.eyebrow.g { color: var(--ds-green); }
.eyebrow.m { color: var(--ds-magenta); }
.eyebrow.v { color: var(--ds-violet); }

.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* Redesigned Editorial Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-green {
  background: var(--ds-green);
  color: #fff;
}
.btn-green:hover {
  background: #188623;
  transform: translateY(-1px);
}
.btn-violet {
  background: var(--ds-violet);
  color: #fff;
}
.btn-violet:hover {
  background: #561eb1;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--ds-navy);
  border-color: var(--ds-line-strong);
}
.btn-ghost:hover {
  background: var(--ds-bg-cream);
  border-color: var(--ds-navy);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
}
/* Buttons for use on solid colour backgrounds */
.btn-white {
  background: #fff;
  color: var(--ds-navy);
}
.btn-white:hover {
  background: var(--ds-bg-cream);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-1px);
}

/* Header & Menu */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 246, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--ds-line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--ds-navy);
}
.gem {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ds-muted);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ds-navy);
}
.nav-links a.btn-green,
.nav-links a.btn-green:hover {
  color: #fff;
}
.nav-links a.active {
  position: relative;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--ds-green);
}
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ds-navy);
  margin: 5px 0;
  transition: transform var(--transition);
}

/* Inside Page Heros */
.page-hero {
  position: relative;
  background: var(--ds-bg-cream);
  padding: 64px 0 54px;
  border-bottom: 1px solid var(--ds-line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ds-green) 0%, var(--ds-magenta) 50%, var(--ds-violet) 100%);
}
.page-hero::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--ds-violet-soft), transparent 70%);
  pointer-events: none;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
}
.crumbs {
  font-size: 0.85rem;
  color: var(--ds-light);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  gap: 8px;
  align-items: center;
}
.crumbs a {
  color: var(--ds-light);
}
.crumbs a:hover {
  color: var(--ds-navy);
}

/* Slideshow Hero on Home */
.hero {
  position: relative;
  height: 85vh;
  min-height: 560px;
  max-height: 800px;
  background: var(--ds-navy);
  overflow:hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 1;
}
.hero-slide.on {
  opacity: 1;
  z-index: 2;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 14, 36, 0.95) 30%, rgba(10, 14, 36, 0.7) 60%, rgba(10, 14, 36, 0.4));
}
.hero-wrap {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-content {
  max-width: 620px;
  color: #fff;
  padding: 20px 0;
}
.hero-content h1 {
  color: #fff;
  margin-top: 14px;
  margin-bottom: 18px;
  line-height: 1.15;
}
.hero-content h1 span.hi {
  color: var(--ds-green);
}
.hero-content p.lead {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ds-bg-paper);
}
.hero-tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ds-green);
}
.bsl-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-weight: 700;
  color: #fff;
  font-size: 0.95rem;
  border-bottom: 1.5px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
}
.bsl-inline .play {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ds-violet);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bsl-inline .play svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}
.hero-controls {
  position: absolute;
  bottom: 32px;
  right: 28px;
  z-index: 10;
  display: flex;
  gap: 10px;
}
.hero-controls button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background var(--transition);
}
.hero-controls button.on {
  background: #fff;
  transform: scale(1.2);
}

/* Trust Bar */
.trust {
  background: var(--ds-bg-cream);
  border-bottom: 1px solid var(--ds-line);
}
.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--ds-navy);
  font-size: 0.95rem;
}
.trust-item svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.trust-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ds-light);
  border: 1px dashed var(--ds-line-strong);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

/* Stat Strip */
.strip {
  background: var(--ds-navy);
  color: #fff;
  padding: 44px 0;
  border-bottom: 0;
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.strip .n {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 6px;
}
.strip div:nth-child(1) .n { color: var(--ds-green); }
.strip div:nth-child(2) .n { color: var(--ds-magenta); }
.strip div:nth-child(3) .n { color: var(--ds-violet); }
.strip div:nth-child(4) .n { color: #fff; }
.strip .t {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Editorial Two-Column About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.about-points {
  display: grid;
  gap: 28px;
}
.point {
  display: flex;
  gap: 16px;
}
.point .ic {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}
.point:nth-child(1) .ic { background: var(--ds-green-soft); color: var(--ds-green); }
.point:nth-child(2) .ic { background: var(--ds-magenta-soft); color: var(--ds-magenta); }
.point:nth-child(3) .ic { background: var(--ds-violet-soft); color: var(--ds-violet); }
.point h3 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.point p {
  font-size: 0.95rem;
}

/* Editorial Service Cards */
.serv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.serv {
  background: var(--ds-bg-ivory);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.serv .ic {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.serv:nth-child(1) .ic { background: var(--ds-green-soft); color: var(--ds-green); }
.serv:nth-child(2) .ic { background: var(--ds-magenta-soft); color: var(--ds-magenta); }
.serv:nth-child(3) .ic { background: var(--ds-violet-soft); color: var(--ds-violet); }
.serv h3 {
  margin-bottom: 12px;
}
.serv p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}
.serv .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.serv:nth-child(1) .more { color: var(--ds-green); }
.serv:nth-child(2) .more { color: var(--ds-magenta); }
.serv:nth-child(3) .more { color: var(--ds-violet); }

/* Academic Course Grid */
.course-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.course {
  background: var(--ds-bg-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.course .lvl {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.course.c1 { border-top: 4px solid var(--ds-green); }
.course.c1 .lvl { color: var(--ds-green); }
.course.c2 { border-top: 4px solid var(--ds-magenta); }
.course.c2 .lvl { color: var(--ds-magenta); }
.course.c3 { border-top: 4px solid var(--ds-violet); }
.course.c3 .lvl { color: var(--ds-violet); }

.badge {
  position: absolute;
  top: -12px;
  left: 20px;
  background: var(--ds-green);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}
.course h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}
.price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ds-navy);
  margin-top: 10px;
}
.price .was {
  font-size: 1rem;
  font-weight: 400;
  color: var(--ds-light);
  text-decoration: line-through;
  margin-left: 8px;
}
.price-note {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.course.c1 .price-note { color: var(--ds-magenta); }
.course.c2 .price-note, .course.c3 .price-note { color: var(--ds-light); }

.course ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}
.course li {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}
.course li svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
}
.course .btn {
  margin-top: auto;
  justify-content: center;
}

/* Upcoming Dates Rows */
.dates-band {
  background: var(--ds-bg-cream);
}
.date-list {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}
.date-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--ds-bg-paper);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-md);
  padding: 24px;
}
.date-when {
  display: flex;
  flex-direction: column;
}
.date-when .d {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ds-navy);
  line-height: 1;
}
.date-when .mo {
  font-size: 0.8rem;
  color: var(--ds-light);
  text-transform: uppercase;
  font-weight: 700;
  margin-top: 4px;
}
.date-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.date-info .meta {
  font-size: 0.9rem;
  color: var(--ds-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.date-info .mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}
.date-info .mode .pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mode.zoom .pip { background: var(--ds-magenta); }
.mode.inperson .pip { background: var(--ds-green); }
.mode.advice .pip { background: var(--ds-violet); }

/* Team Cards */
.team-stack {
  display: grid;
  gap: 28px;
  margin-top: 40px;
}
.member {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ds-line);
  background: var(--ds-bg-ivory);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.member.in {
  opacity: 1;
  transform: none;
}
.member .bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0.1s;
}
.member.in .bg {
  opacity: 1;
}
.member.r .bg { background: linear-gradient(120deg, rgba(31, 168, 44, 0.05), rgba(31, 168, 44, 0.1)); }
.member.j .bg { background: linear-gradient(120deg, rgba(221, 24, 136, 0.05), rgba(221, 24, 136, 0.1)); }
.member.f .bg { background: linear-gradient(120deg, rgba(110, 39, 214, 0.05), rgba(110, 39, 214, 0.1)); }

/* Per-member brand colour accents */
.member.r .photo { background: rgba(31, 168, 44, 0.12); color: var(--ds-green); }
.member.j .photo { background: rgba(221, 24, 136, 0.12); color: var(--ds-magenta); }
.member.f .photo { background: rgba(110, 39, 214, 0.12); color: var(--ds-violet); }
.member.r .info .role { color: var(--ds-green); }
.member.j .info .role { color: var(--ds-magenta); }
.member.f .info .role { color: var(--ds-violet); }

.member .row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 240px 1fr;
}
.member .photo {
  background: var(--ds-bg-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--ds-light);
  padding: 40px 20px;
  border-right: 1px solid var(--ds-line);
}
.member .photo svg {
  width: 56px;
  height: 56px;
  opacity: 0.6;
}
.member .photo .ph-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.member .info {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.member .info h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.member .info .role {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
  color: var(--ds-violet);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.member .info .bio {
  font-size: 1rem;
  margin-bottom: 20px;
}
.member .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  border-top: 1px solid var(--ds-line);
  padding-top: 16px;
  font-size: 0.9rem;
}
.member .meta b {
  color: var(--ds-navy);
}
.member .pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  background: var(--ds-magenta);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-left: 6px;
}

/* Testimonials */
.tm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.tm {
  background: var(--ds-bg-ivory);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
}
.tm .quote {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 8px;
}
.tm:nth-child(1) .quote { color: var(--ds-green); }
.tm:nth-child(2) .quote { color: var(--ds-magenta); }
.tm:nth-child(3) .quote { color: var(--ds-violet); }

.tm p {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
}
.tm .who {
  font-weight: 700;
  color: var(--ds-navy);
  font-size: 0.95rem;
}
.tm .who span {
  display: block;
  font-weight: 400;
  color: var(--ds-light);
  font-size: 0.85rem;
  margin-top: 2px;
}
.tm .ex {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ds-light);
  border: 1px dashed var(--ds-line-strong);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
}

/* Redesigned Minimal Forms */
form {
  background: var(--ds-bg-ivory);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.field {
  margin-bottom: 20px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
label {
  display: block;
  font-weight: 700;
  color: var(--ds-navy);
  margin-bottom: 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ds-navy);
  padding: 12px 14px;
  border: 1.5px solid var(--ds-line-strong);
  border-radius: var(--radius-sm);
  background: var(--ds-bg-paper);
}
input::placeholder, textarea::placeholder {
  color: var(--ds-light);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--ds-navy);
}
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A0E24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
textarea {
  resize: vertical;
  min-height: 120px;
}
.proto-flag {
  font-size: 0.8rem;
  color: var(--ds-light);
  margin-top: 14px;
  text-align: center;
}

/* Call-to-action panel */
.cta-band {
  background: var(--ds-bg-cream);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 {
  margin-bottom: 8px;
}
.cta-band p {
  max-width: 55ch;
}
/* Solid colour CTA variants */
.cta-green { background: var(--ds-green); border-color: transparent; }
.cta-violet { background: var(--ds-violet); border-color: transparent; }
.cta-magenta { background: var(--ds-magenta); border-color: transparent; }
.cta-navy { background: var(--ds-navy); border-color: transparent; }
.cta-green h2, .cta-violet h2, .cta-magenta h2, .cta-navy h2 { color: #fff; }
.cta-green p, .cta-violet p, .cta-magenta p, .cta-navy p { color: rgba(255, 255, 255, 0.92); }

/* Footer Section */
footer {
  background: var(--ds-navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 32px;
  font-size: 0.95rem;
}
.foot-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-size: 1.3rem;
}
.foot-brand .gem {
  filter: brightness(1.2);
}
.foot-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.foot-col h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.foot-col a, .foot-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
}
.foot-col a:hover {
  color: #fff;
}
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 44px;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Minimal Floating BSL Button */
.bsl-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ds-violet);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 18px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(110, 39, 214, 0.35);
  transition: background var(--transition), transform var(--transition);
}
.bsl-fab:hover {
  background: #561eb1;
  transform: translateY(-2px);
}
.bsl-fab .hands {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bsl-fab .hands svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

/* Visibility triggers */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Page Specific details (BSL Courses page) */
.course-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.cd {
  background: var(--ds-bg-ivory);
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cd-top {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 32px;
  border-bottom: 1px solid var(--ds-line);
}
.cd-badge {
  width: 100%;
  height: 100px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.cd.l1 .cd-badge { background: var(--ds-green); }
.cd.l2 .cd-badge { background: var(--ds-magenta); }
.cd.l3 .cd-badge { background: var(--ds-violet); }

.cd-badge .lv {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
}
.cd-badge .lb {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
}
.cd-head h3 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}
.cd-price {
  text-align: right;
}
.cd-price .p {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ds-navy);
}
.cd-price .was {
  color: var(--ds-light);
  text-decoration: line-through;
  font-size: 0.9rem;
}
.cd-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  padding: 32px;
}
.cd-body h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--ds-light);
  margin-bottom: 16px;
}
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.topic {
  display: flex;
  gap: 10px;
  font-size: 0.95rem;
}
.topic svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 4px;
  stroke: var(--ds-navy);
}
.cd.l1 .topic svg { stroke: var(--ds-green); }
.cd.l2 .topic svg { stroke: var(--ds-magenta); }
.cd.l3 .topic svg { stroke: var(--ds-violet); }
.cd-side {
  background: var(--ds-bg-paper);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--ds-line);
}
.cd-fact {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--ds-line);
  font-size: 0.9rem;
}
.cd-fact:last-of-type {
  border-bottom: 0;
}
.cd-fact .k {
  color: var(--ds-light);
}
.cd-fact .v {
  color: var(--ds-navy);
  font-weight: 700;
}
.cd-teacher {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--ds-line);
}
.cd-teacher .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ds-green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
}
.cd-teacher .tn {
  color: var(--ds-navy);
  font-weight: 700;
  font-size: 0.95rem;
}
.cd-teacher .tr {
  color: var(--ds-light);
  font-size: 0.8rem;
}
.cd-foot {
  padding: 24px 32px;
  border-top: 1px solid var(--ds-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cd-foot .note {
  font-size: 0.88rem;
  color: var(--ds-light);
}

/* Calendar page specifics */
.cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.cal-month {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
}
.cal-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}
.cal-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-legend .pip {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.cal {
  border: 1px solid var(--ds-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ds-bg-paper);
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
.cal-dow {
  padding: 12px;
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--ds-light);
  font-weight: 700;
  border-bottom: 1px solid var(--ds-line);
  background: var(--ds-bg-cream);
}
.cal-cell {
  min-height: 110px;
  border-right: 1px solid var(--ds-line);
  border-bottom: 1px solid var(--ds-line);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cal-cell:nth-child(7n) {
  border-right: 0;
}
.cal-cell.empty {
  background: var(--ds-bg-ivory);
}
.cal-cell .dn {
  font-size: 0.75rem;
  color: var(--ds-light);
  font-weight: 700;
}
.ev {
  display: block;
  border-radius: var(--radius-sm);
  padding: 4px 6px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.ev .t {
  display: block;
}
.ev .h {
  display: block;
  opacity: 0.8;
  font-weight: 400;
}
.ev.green { background: #188623; }
.ev.magenta { background: #be1273; }
.ev.violet { background: #561eb1; }

.cal-list {
  margin-top: 48px;
}
.cal-list h3 {
  margin-bottom: 24px;
}

/* Responsiveness Media Queries */
@media (max-width: 920px) {
  .nav-links {
    position: fixed;
    inset: 84px 0 auto 0;
    background: var(--ds-bg-paper);
    border-bottom: 1px solid var(--ds-line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 0;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    padding: 14px 28px;
  }
  .nav-links a.active::after {
    display: none;
  }
  .nav-links .btn {
    margin: 12px 28px;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    height: auto;
    padding: 60px 0;
  }
  .hero-slides {
    display: none;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-controls {
    display: none;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .serv-grid, .course-grid, .tm-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .strip-grid {
    grid-template-columns: 1fr 1fr;
  }
  .member .row {
    grid-template-columns: 1fr;
  }
  .member .photo {
    border-right: 0;
    border-bottom: 1px solid var(--ds-line);
    padding: 30px;
  }
  .date-row {
    grid-template-columns: 64px 1fr;
    gap: 16px;
  }
  .date-row .btn {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .cd-top {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px;
  }
  .cd-price {
    text-align: left;
  }
  .cd-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .topic-grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .cal-cell {
    min-height: auto;
  }
  .ev .h {
    display: none;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 17px;
  }
  .wrap {
    padding: 0 20px;
  }
  .member .info {
    padding: 24px;
  }
  .bsl-fab span {
    display: none;
  }
}

/* Reduced Motion Settings */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .member {
    opacity: 1;
    transform: none;
  }
  .member .bg {
    opacity: 1;
  }
}