/*
 * LEARNINGLINK WEBSITE — SHARED STYLESHEET
 * Applies to index.html and webinars.html.
 *
 * EDITING MAP
 * 01 Brand colours and base typography
 * 02 Header and navigation
 * 03 Homepage hero
 * 04 Introduction
 * 05 Solution filters and cards
 * 06 Process section
 * 07 Webinar and resource cards
 * 08 Contact section and footer
 * 09 Base responsive rules
 * 10 Logo and component refinements (labelled below)
 * 11 Responsive layout, navigation, tablet and phone refinements
 *
 * Later refinements override the earlier base rules intentionally.
 * Image URLs are relative to this file; keep assets/ beside styles.css.
 */

/* ==================================================
   01. BRAND SETTINGS AND BASE STYLES
   Change colours here to update the whole template.
   ================================================== */
:root {
  --blue: #3254dd;
  --pink: #e83e8a;
  --ink: #212648;
  --cream: #f8f8fb;
  --lime: #eeeafa;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 5px;
}
button[hidden],
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  letter-spacing: -0.055em;
}
h2 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.04;
  font-weight: 500;
}
em {
  font-family: Georgia, serif;
  font-weight: 400;
}
.section {
  padding: 100px max(6vw, 24px);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  font-weight: 700;
  line-height: 1.6;
}
.button {
  padding: 19px 25px;
  border-radius: 50px;
  display: inline-flex;
  gap: 30px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--ink);
  transition: transform 0.2s;
}
.button:hover {
  transform: translateY(-3px);
}
.dark {
  background: var(--ink);
  color: white;
}
.outline {
  background: transparent;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ==================================================
   02. HEADER AND NAVIGATION
   ================================================== */
.header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  border-bottom: 1px solid #21264822;
}
.brand {
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand span {
  color: var(--blue);
}
.brand i {
  display: inline-block;
  font-size: 37px;
  color: var(--pink);
  font-style: normal;
  vertical-align: middle;
  margin-left: 7px;
}
nav {
  display: flex;
  gap: 33px;
  align-items: center;
  font-size: 13px;
}
nav a:hover {
  color: var(--blue);
}
.nav-cta {
  border: 1px solid;
  border-radius: 30px;
  padding: 13px 23px;
}
.menu-toggle {
  display: none;
}

/* ==================================================
   03. HERO AND ORIGINAL GRAPHIC COMPOSITION
   ================================================== */
.hero {
  min-height: 735px;
  padding: 80px 6vw 100px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(65px, 7.6vw, 112px);
  line-height: 0.98;
  font-weight: 500;
  margin: 23px 0 30px;
}
.impact {
  color: var(--blue);
  position: relative;
  display: inline-block;
}
.impact svg {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -17px;
  fill: none;
  stroke: var(--pink);
  stroke-width: 6;
}
.intro {
  font-size: 18px;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 28px;
}
.hero-note {
  font-size: 12px;
  margin: 20px 0 0;
}

/* ==================================================
   04. INTRODUCTION
   ================================================== */
.welcome {
  background: var(--blue);
  color: white;
}
.welcome h2 {
  max-width: 920px;
  font-size: clamp(40px, 5.5vw, 79px);
  margin: 35px 0;
}
.welcome em {
  color: #eeeafa;
}
.welcome-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 45px;
  align-items: flex-start;
}
.welcome-bottom p {
  max-width: 490px;
  line-height: 1.7;
  font-size: 18px;
}
.scribble {
  font-size: 85px;
  line-height: 1;
  color: var(--lime);
}

/* ==================================================
   05. SOLUTION FILTERS AND CARDS
   ================================================== */
.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-end;
  margin-bottom: 35px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading > p {
  line-height: 1.6;
  font-size: 15px;
}
.filters {
  display: flex;
  gap: 10px;
  margin: 45px 0 25px;
  flex-wrap: wrap;
}
.filters button {
  border: 1px solid #21264855;
  border-radius: 30px;
  padding: 12px 22px;
  background: transparent;
  font-size: 13px;
}
.filters button.active {
  background: var(--ink);
  color: white;
}
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 19px;
}
.solution {
  padding: 28px;
  border-radius: 3px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s;
}
.solution:hover {
  transform: translateY(-6px);
}
.blue {
  background: var(--blue);
  color: white;
}
.pink {
  background: #7a47ca;
}
.lime {
  background: var(--lime);
}
.solution-top {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.06em;
  align-items: center;
}
.solution-top b {
  font-size: 25px;
  font-weight: 400;
}
.symbol {
  font-size: 80px;
  height: 115px;
  margin-top: 20px;
}
.solution h3 {
  font-size: 34px;
  font-weight: 500;
  line-height: 1.05;
  margin: 20px 0;
}
.solution p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 270px;
}
.text-link {
  margin-top: auto;
  padding-top: 22px;
  font-size: 12px;
  font-weight: 600;
}

/* ==================================================
   06. PROCESS SECTION
   ================================================== */
.approach {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  background: #eeeafa;
}
.approach h2 {
  margin: 25px 0;
}
.approach-intro {
  max-width: 390px;
  line-height: 1.7;
  margin-bottom: 30px;
}
.steps article {
  display: flex;
  gap: 28px;
  padding: 30px 0;
  border-top: 1px solid #21264855;
}
.steps article > span {
  font-size: 13px;
  color: var(--blue);
  padding-top: 5px;
}
.steps h3 {
  font-size: 25px;
  font-weight: 500;
  margin-bottom: 14px;
}
.steps p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ==================================================
   07. WEBINAR FLYER AND RESOURCE CONTENT
   Flyer image sizing and resource card layouts.
   ================================================== */
.resource-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 25px;
  margin-top: 50px;
}
.featured-resource {
  border: 1px solid #21264833;
}
.resource-body {
  padding: 30px;
}
.resource-body h3,
.resource-stack h3 {
  font-weight: 500;
  font-size: 32px;
}
.resource-body > p:not(.eyebrow),
.resource-stack article > p:not(.eyebrow) {
  font-size: 14px;
  line-height: 1.6;
}
.resource-body a,
.resource-button {
  font-size: 13px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.resource-stack {
  display: grid;
  gap: 20px;
}
.resource-stack article {
  padding: 30px;
  background: #eeeafa;
}
.resource-stack article:nth-child(2) {
  background: #eeeafa;
}
.resource-icon {
  float: right;
  font-size: 45px;
}
.resource-stack h3 {
  margin: 20px 0;
}

/* ==================================================
   08. CONTACT AND FOOTER
   ================================================== */
.contact {
  background: var(--lime);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact h2 {
  font-size: clamp(65px, 8vw, 115px);
  margin: 25px 0;
}
.contact > p:not(.eyebrow) {
  line-height: 1.7;
}
.contact-star {
  position: absolute;
  font-size: 240px;
  left: -50px;
  top: 80px;
  color: var(--blue);
}
.contact-options {
  max-width: 520px;
  padding: 25px;
  background: white;
  margin: 25px auto 0;
  border-radius: 10px;
}
.contact-options a {
  color: var(--blue);
  text-decoration: underline;
}
.setup-note {
  font-size: 12px;
  line-height: 1.5;
  margin: 20px 0 0;
}
footer {
  padding: 55px 6vw 30px;
}
footer > p {
  font-size: 13px;
  margin: 15px 0 30px;
}
footer > div {
  display: flex;
  gap: 25px;
  font-size: 12px;
}
footer small {
  display: block;
  border-top: 1px solid #21264833;
  margin-top: 35px;
  padding-top: 20px;
  font-size: 10px;
}

/* ==================================================
   09. TABLET AND MOBILE LAYOUTS
   ================================================== */
@media (min-width: 1500px) {
  .hero,
  .section,
  footer {
    padding-left: calc((100vw - 1300px) / 2);
    padding-right: calc((100vw - 1300px) / 2);
  }
}
@media (max-width: 1050px) {
  nav {
    gap: 18px;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-top: 60px;
    min-height: 650px;
  }
  .learning-art {
    transform: scale(0.75);
    transform-origin: left center;
    width: 480px;
  }
  .hero h1 {
    font-size: 78px;
  }
  .solution {
    padding: 22px;
  }
  .solution h3 {
    font-size: 29px;
  }
}
@media (max-width: 760px) {
  .header {
    min-height: 80px;
    position: relative;
  }
  .brand {
    font-size: 25px;
  }
  .menu-toggle {
    display: block;
    background: transparent;
    border: 1px solid;
    border-radius: 20px;
    padding: 8px 14px;
  }
  nav {
    display: none;
    position: absolute;
    top: 79px;
    left: 0;
    width: 100%;
    z-index: 10;
    background: var(--cream);
    padding: 25px;
    border-bottom: 1px solid;
  }
  nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .hero {
    display: block;
    padding: 50px 24px 65px;
  }
  .hero h1 {
    font-size: clamp(64px, 13vw, 90px);
  }
  .intro {
    font-size: 17px;
  }
  .learning-art {
    transform: scale(0.68);
    height: 370px;
    margin: -10px auto -75px;
    width: 470px;
    transform-origin: left top;
    margin-top: 60px;
  }
  .scroll-note {
    bottom: 22px;
  }
  .section {
    padding: 65px 24px;
  }
  .welcome-bottom {
    gap: 20px;
  }
  .welcome-bottom p {
    font-size: 16px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 25px;
  }
  .solution-grid,
  .approach,
  .resource-grid {
    grid-template-columns: 1fr;
  }
  .solution {
    min-height: 420px;
  }
  .solution h3 {
    font-size: 37px;
  }
  .approach {
    gap: 45px;
  }
  .contact-star {
    opacity: 0.12;
  }
  .contact > *:not(.contact-star) {
    position: relative;
  }
  footer > div {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* 10. Uploaded LearningLink logo */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 240px;
  height: auto;
  max-width: 100%;
}
footer .brand img {
  width: 270px;
}
@media (max-width: 760px) {
  .brand img {
    width: 200px;
  }
  footer .brand img {
    width: 240px;
  }
}

/* Footer contact details */
footer .footer-contact {
  margin-bottom: 24px;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 14px 25px;
}
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Main headline */
.hero h1.practical-headline {
  font-size: clamp(48px, 5.3vw, 80px);
  line-height: 1.04;
}
@media (max-width: 760px) {
  .hero h1.practical-headline {
    font-size: clamp(42px, 9vw, 65px);
  }
}

/* Enquiry form */
.contact-options {
  max-width: 600px;
  text-align: left;
  padding: 32px;
}
.enquiry-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.enquiry-form h3 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 25px;
}
.enquiry-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.enquiry-form input:not([type="hidden"]),
.enquiry-form textarea {
  width: 100%;
  border: 1px solid #788078;
  border-radius: 6px;
  padding: 13px;
  font: inherit;
  font-size: 16px;
  background: #f8f8fb;
  color: var(--ink);
  margin-bottom: 20px;
}
.enquiry-form textarea {
  resize: vertical;
  min-height: 130px;
}
.enquiry-form input:focus,
.enquiry-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
.enquiry-note,
.enquiry-alternative {
  font-size: 12px;
  line-height: 1.6;
}
.enquiry-form .button {
  align-self: flex-start;
}
.enquiry-alternative {
  margin: 18px 0 0;
  overflow-wrap: anywhere;
}
@media (max-width: 760px) {
  .contact-options {
    padding: 23px 18px;
  }
}

/* Footer vector contact icons */
.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.contact-icon {
  flex-shrink: 0;
  color: var(--blue);
}
.footer-contact a span {
  overflow-wrap: anywhere;
  min-width: 0;
}

/* Brand palette: blue, purple, pink, lavender, white and navy. */
:root {
  --purple: #7a47ca;
}
.pink {
  background: var(--purple);
  color: white;
}
.welcome em,
.scribble {
  color: var(--lime);
}
button:focus-visible,
a:focus-visible {
  outline-color: var(--blue);
}

/* Highlight the introduction’s lasting impact statement. */
.welcome h2 em {
  color: #ffe45c;
}

/* Black arrow beneath the introduction heading. */
.welcome .scribble {
  color: #000000;
}

/* Introduction photograph: blue shading keeps the copy readable. */
.welcome {
  background-color: var(--blue);
  background-image:
    linear-gradient(
      90deg,
      rgba(25, 38, 110, 0.94),
      rgba(35, 50, 130, 0.66) 52%,
      rgba(25, 38, 110, 0.92)
    ),
    url("assets/workshop-team-enhanced.jpg");
  background-size: cover;
  background-position: center 44%;
}
.welcome h2,
.welcome-bottom p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}
.welcome .scribble {
  background: transparent;
  border-radius: 0;
  padding: 0;
}
@media (max-width: 760px) {
  .welcome {
    background-image:
      linear-gradient(rgba(25, 38, 110, 0.85), rgba(25, 38, 110, 0.94)),
      url("assets/workshop-team-enhanced.jpg");
    background-position: center;
  }
}

/* Introduction heading: play once when it enters the viewport. */
.welcome-line {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .welcome-heading.animation-ready .welcome-line {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 0.75s ease,
      transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1);
  }
  .welcome-heading.animation-ready.is-visible .welcome-line {
    opacity: 1;
    transform: translateY(0);
  }
  .welcome-heading .welcome-line:nth-child(2) {
    transition-delay: 0.2s;
  }
  .welcome-heading .welcome-line:nth-child(3) {
    transition-delay: 0.4s;
  }
}

/* Education card photograph with shaded copy area. */
.solution.education-photo {
  background-color: var(--blue);
  background-image:
    linear-gradient(
      180deg,
      rgba(22, 30, 79, 0.55) 0%,
      rgba(22, 30, 79, 0.32) 28%,
      rgba(22, 30, 79, 0.88) 58%,
      rgba(22, 30, 79, 0.97) 100%
    ),
    url("assets/education-classroom-enhanced.jpg");
  background-size: cover;
  background-position: center 44%;
  color: white;
}
.education-photo h3,
.education-photo p,
.education-photo .text-link {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Business card photograph: same overlay and typography as Education. */
.solution.business-photo {
  background-image:
    linear-gradient(
      180deg,
      rgba(22, 30, 79, 0.55) 0%,
      rgba(22, 30, 79, 0.32) 28%,
      rgba(22, 30, 79, 0.88) 58%,
      rgba(22, 30, 79, 0.97) 100%
    ),
    url("assets/business-training-enhanced.jpg");
  background-size: cover;
  background-position: center 44%;
  color: white;
}
.business-photo h3,
.business-photo p,
.business-photo .text-link {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* People & Practice: matching photograph treatment. */
.solution.practice-photo {
  background-image:
    linear-gradient(
      180deg,
      rgba(22, 30, 79, 0.55) 0%,
      rgba(22, 30, 79, 0.32) 28%,
      rgba(22, 30, 79, 0.88) 58%,
      rgba(22, 30, 79, 0.97) 100%
    ),
    url("assets/people-practice-enhanced.jpg");
  background-size: cover;
  background-position: 65% center;
  color: white;
}
.practice-photo h3,
.practice-photo p,
.practice-photo .text-link {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

/* Process numbers: bold italic in the brand pink. */
.steps article > span {
  font-family: inherit;
  font-style: italic;
  font-weight: 700;
  color: var(--pink);
}

/* Featured webinar date and registration placeholder. */
.resource-body .webinar-date {
  font-weight: 700;
  color: var(--blue);
}
.webinar-registration {
  margin: 22px 0;
}
.resource-body .registration-placeholder {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 30px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  cursor: default;
}
.webinar-registration > span {
  display: block;
  margin-top: 10px;
  font-size: 12px;
}

/* Classroom Tools: original game-inspired background, clear reading area. */
.resource-stack .classroom-tools-card {
  background-color: #eeeafa;
  background-image:
    linear-gradient(
      90deg,
      rgba(238, 234, 250, 0.98) 0%,
      rgba(238, 234, 250, 0.94) 44%,
      rgba(238, 234, 250, 0.25) 76%
    ),
    url("assets/classroom-tools-background.jpg");
  background-size: cover;
  background-position: center;
}
.classroom-tools-card h3,
.classroom-tools-card > p:not(.eyebrow) {
  max-width: 65%;
}
.classroom-tools-card .resource-button {
  max-width: 70%;
  line-height: 1.6;
}
@media (max-width: 420px) {
  .resource-stack .classroom-tools-card {
    padding: 24px;
  }
  .classroom-tools-card h3 {
    font-size: 29px;
  }
}

/* Business Learning: restaurant training manual background. */
.resource-stack article.business-learning-card {
  background-color: var(--ink);
  background-image:
    linear-gradient(
      90deg,
      rgba(20, 26, 59, 0.97),
      rgba(20, 26, 59, 0.86) 45%,
      rgba(20, 26, 59, 0.25) 100%
    ),
    url("assets/restaurant-training-manual-v4.jpg");
  background-size: cover;
  background-position: center;
  color: white;
}
.business-learning-card h3,
.business-learning-card > p:not(.eyebrow) {
  max-width: 68%;
}
.business-learning-card .resource-button {
  color: white;
  max-width: 75%;
  line-height: 1.6;
}

/* Replacement hero image: original graphic footprint, no cropping. */
.hero-image-wrap {
  height: 500px;
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 1050px) and (min-width: 761px) {
  .hero-image-wrap {
    height: 400px;
  }
}
@media (max-width: 760px) {
  .hero-image-wrap {
    height: auto;
    width: 100%;
    margin: 45px 0 0;
  }
  .hero-image {
    height: auto;
    max-height: 400px;
  }
}

/* Minimal vector accents around the hero photo. */
.hero-image-wrap {
  position: relative;
  isolation: isolate;
}
.hero-image {
  position: relative;
  z-index: 1;
}
.hero-orbits {
  position: absolute;
  inset: -4% -7%;
  width: 114%;
  height: 108%;
  color: var(--purple);
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}
.hero-doodle {
  position: absolute;
  width: 43px;
  height: 43px;
  z-index: 2;
  pointer-events: none;
}
.bulb-doodle {
  right: 10%;
  top: 1%;
  color: var(--pink);
  transform: rotate(12deg);
}
.gear-doodle {
  left: 0;
  bottom: 18%;
  color: var(--blue);
  transform: rotate(-12deg);
}
.spark-doodle {
  right: 0;
  top: 35%;
  width: 27px;
  height: 27px;
  color: var(--purple);
}
@media (max-width: 760px) {
  .hero-doodle {
    width: 33px;
    height: 33px;
  }
  .spark-doodle {
    width: 22px;
    height: 22px;
  }
}

/* Brand-colour buttons: purple default with pink hover accents. */
.button.dark,
.resource-body .registration-placeholder,
.filters button.active,
.nav-cta {
  background: var(--purple);
  border-color: var(--purple);
  color: #ffffff;
}
.button.dark:hover,
.nav-cta:hover,
.filters button.active:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--ink);
}

/* Uploaded webinar flyer: preserve full image and aspect ratio. */
.webinar-flyer img {
  display: block;
  width: 100%;
  height: auto;
}

/* Webinars page: shared branding, large flyer and two-section layout. */
nav a[aria-current="page"] {
  color: var(--purple);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.webinar-hero {
  background: var(--cream);
  padding-top: 65px;
  padding-bottom: 70px;
}
.webinar-page-heading {
  margin-bottom: 38px;
}
.webinar-page-heading h1 {
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 500;
  line-height: 1;
  margin: 18px 0;
}
.webinar-page-heading h1 span {
  color: var(--pink);
}
.webinar-page-heading > p:last-child {
  font-size: 18px;
  line-height: 1.6;
}
.webinar-hero-flyer {
  max-width: 1300px;
  margin: auto;
  background: var(--purple);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 55px #21264818;
}
.webinar-hero-flyer img {
  display: block;
  width: 100%;
  height: auto;
}
.webinar-details {
  background: var(--lime);
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 9vw;
}
.webinar-details h2 {
  font-size: clamp(56px, 6vw, 88px);
  margin: 25px 0;
}
.webinar-details h2 em {
  color: var(--purple);
}
.webinar-subtitle {
  font-size: 23px;
  line-height: 1.4;
  max-width: 420px;
}
.webinar-details .webinar-date {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--blue);
  margin-top: 30px;
}
.webinar-description h3 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 20px;
}
.webinar-description p,
.webinar-description li {
  font-size: 16px;
  line-height: 1.8;
}
.webinar-description ul {
  padding-left: 21px;
  margin-bottom: 25px;
}
.webinar-description li {
  padding-left: 5px;
  margin-bottom: 9px;
}
.webinar-description li::marker {
  color: var(--pink);
}
.webinar-description .webinar-registration {
  margin: 30px 0 22px;
}
.webinar-registration [aria-disabled="true"] {
  cursor: default;
}
.webinar-registration [aria-disabled="true"]:hover {
  transform: none;
  background: var(--purple);
  color: white;
}
.webinar-registration > span {
  max-width: 390px;
  line-height: 1.6;
}
.webinar-question {
  color: var(--blue);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 5px;
}
@media (max-width: 1050px) and (min-width: 761px) {
  nav {
    gap: 14px;
    font-size: 12px;
  }
  .header .brand img {
    width: 205px;
  }
  .nav-cta {
    padding: 12px 16px;
  }
}
@media (max-width: 760px) {
  .webinar-details {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .webinar-hero {
    padding-top: 45px;
    padding-bottom: 45px;
  }
  .webinar-page-heading > p:last-child {
    font-size: 16px;
  }
  .webinar-subtitle {
    font-size: 21px;
  }
}

/* Webinars navigation accent on every page. */
nav a[href="webinars.html"] {
  color: var(--pink);
  font-style: italic;
}

/* Selected webinar navigation uses brand blue. */
nav a[href="webinars.html"]:active,
nav a[href="webinars.html"][aria-current="page"] {
  color: var(--blue);
}

/* Education card headline highlight. */
.solution.education-photo h3 {
  font-style: italic;
  color: #ffe45c;
}

/* Matching yellow headings for Business and People & Practice. */
.solution.business-photo h3,
.solution.practice-photo h3 {
  color: #ffe45c;
}

/* Live webinar registration link. */
.resource-body .registration-placeholder {
  cursor: pointer;
}
.resource-body .registration-placeholder:hover {
  background: var(--pink);
  color: var(--ink);
}

/* Slightly larger homepage hero artwork, including its vector accents. */
@media (min-width: 761px) {
  .hero-image-wrap {
    width: 110%;
    height: 550px;
    margin-left: 0;
  }
}
@media (min-width: 761px) and (max-width: 1050px) {
  .hero-image-wrap {
    width: 108%;
    height: 440px;
  }
}

/* ==================================================
   11. RESPONSIVE LAYOUT AND TOUCH ACCESSIBILITY
   Flexible tracks prevent content overflow. Breakpoints follow
   the space each component needs, rather than specific devices.
   ================================================== */
html {
  -webkit-text-size-adjust: 100%;
}
img {
  max-width: 100%;
}
.hero-copy,
.solution,
.featured-resource,
.resource-stack,
.approach > *,
.webinar-details > *,
.steps article > div {
  min-width: 0;
}
.hero {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
}
.solution-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.resource-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
}
.approach {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.webinar-details {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
}
p,
h1,
h2,
h3,
a,
button {
  overflow-wrap: break-word;
}
.button {
  min-height: 48px;
  max-width: 100%;
  justify-content: center;
  line-height: 1.4;
}
.button span {
  flex-shrink: 0;
}
.filters button,
.resource-button,
.menu-toggle {
  min-height: 44px;
}
.resource-button {
  padding-block: 10px;
}
footer > div {
  flex-wrap: wrap;
  gap: 12px 25px;
}
footer > div a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}
.footer-contact a {
  max-width: 100%;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 16px;
  z-index: 30;
  transform: translateY(-180%);
  background: white;
  padding: 14px 20px;
  border-radius: 6px;
}
.skip-link:focus {
  transform: translateY(0);
}

/* Navigation collapses before the logo and links run out of space. */
@media (max-width: 1000px) {
  .header {
    position: relative;
    min-height: 84px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .header .brand img {
    width: clamp(160px, 26vw, 220px);
  }
  .header .brand {
    max-width: calc(100% - 95px);
  }
  .menu-toggle {
    display: none;
    border: 1px solid var(--ink);
    border-radius: 24px;
    background: transparent;
    padding: 10px 16px;
  }
  .has-js .menu-toggle {
    display: block;
  }
  #navigation {
    display: flex;
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 0 0;
    border: 0;
    background: var(--cream);
  }
  .has-js #navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 16px 5vw 24px;
    border-bottom: 1px solid #21264833;
    box-shadow: 0 14px 24px #21264814;
    z-index: 20;
  }
  .has-js #navigation.open {
    display: flex;
  }
  #navigation a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 14px;
  }
  #navigation .nav-cta {
    justify-content: center;
    margin-top: 6px;
  }
}

/* Tablet: keep cards readable before moving to a single column. */
@media (min-width: 601px) and (max-width: 1000px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-grid > :last-child {
    grid-column: 1 / -1;
  }
  .solution h3 {
    font-size: clamp(30px, 4vw, 38px);
  }
}
@media (max-width: 900px) {
  .resource-grid,
  .approach,
  .webinar-details {
    grid-template-columns: minmax(0, 1fr);
  }
  .approach,
  .webinar-details {
    gap: 40px;
  }
  .resource-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .resource-stack h3 {
    font-size: clamp(26px, 3.5vw, 32px);
  }
  .resource-stack article h3,
  .resource-stack article > p:not(.eyebrow) {
    max-width: 85%;
  }
  .resource-stack .classroom-tools-card {
    background-image:
      linear-gradient(90deg, #eeeafaf5, #eeeafad9),
      url("assets/classroom-tools-background.jpg");
  }
  .resource-stack article.business-learning-card {
    background-image:
      linear-gradient(90deg, #141a3bf5, #141a3bcc),
      url("assets/restaurant-training-manual-v4.jpg");
  }
}

/* Phone: full-width content, comfortable type and uncropped imagery. */
@media (max-width: 760px) {
  .section {
    padding: 56px clamp(18px, 5vw, 32px);
  }
  .hero {
    min-height: auto;
    padding: 40px clamp(18px, 5vw, 32px) 54px;
  }
  .hero h1.practical-headline {
    font-size: clamp(36px, 8.7vw, 64px);
  }
  .hero-image-wrap {
    width: 100%;
    height: auto;
    margin: 40px 0 0;
  }
  .hero-image {
    height: auto;
    max-height: none;
  }
  .welcome h2 {
    font-size: clamp(31px, 7.5vw, 56px);
    margin: 12px 0 30px;
  }
  .welcome-bottom {
    gap: 14px;
  }
  .welcome-bottom p {
    min-width: 0;
    margin-bottom: 0;
  }
  .welcome .scribble {
    flex-shrink: 0;
    font-size: 52px;
  }
  .section-heading h2 {
    font-size: clamp(32px, 7.7vw, 52px);
  }
  .contact h2 {
    font-size: clamp(44px, 11vw, 74px);
  }
  .steps article {
    gap: 18px;
  }
  .resource-body {
    padding: 24px;
  }
  .webinar-page-heading h1 {
    font-size: clamp(48px, 12vw, 76px);
  }
  .webinar-details h2 {
    font-size: clamp(48px, 12vw, 72px);
  }
  footer {
    padding: 40px clamp(18px, 5vw, 32px) 24px;
  }
}
@media (max-width: 600px) {
  .solution-grid,
  .resource-stack {
    grid-template-columns: minmax(0, 1fr);
  }
  .solution {
    min-height: 430px;
    padding: 26px;
  }
  .solution h3 {
    font-size: clamp(30px, 8vw, 38px);
  }
  .solution p,
  .resource-body > p:not(.eyebrow),
  .resource-stack article > p:not(.eyebrow) {
    font-size: 16px;
  }
  .resource-stack article h3,
  .resource-stack article > p:not(.eyebrow) {
    max-width: 85%;
  }
  .resource-stack article {
    min-height: 300px;
  }
  .resource-icon {
    font-size: 32px;
  }
  .filters {
    gap: 8px;
    margin-top: 30px;
  }
  .filters button {
    padding: 11px 16px;
  }
  .button {
    gap: 16px;
    padding: 16px 20px;
  }
  .enquiry-form .button {
    width: 100%;
  }
}
@media (hover: none) {
  .solution:hover,
  .button:hover {
    transform: none;
  }
}

/* ==================================================
   CONSISTENT VECTOR ICONS — DESKTOP AND MOBILE
   Inline SVG prevents phones from replacing symbols with emoji.
   ================================================== */
.solution-grid .solution .symbol {
  display: flex;
  align-items: center;
  color: #ffffff;
}
.symbol svg {
  display: block;
  width: 80px;
  height: 80px;
}
.card-corner-icon svg {
  display: block;
  width: 24px;
  height: 24px;
}
.resource-icon svg {
  display: block;
  width: 45px;
  height: 45px;
}
@media (max-width: 600px) {
  .resource-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* ==================================================
   SHARED LINK / BUTTON ARROWS AND CONTACT STAR
   SVG replaces emoji-prone text on every page and device.
   ================================================== */
.inline-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  vertical-align: -0.2em;
  margin-inline-start: 4px;
}
.button > .inline-icon,
.button > span .inline-icon {
  margin-inline-start: 0;
}
.contact-star {
  width: 240px;
  height: 240px;
  line-height: 0;
}
.contact-star svg {
  display: block;
  width: 100%;
  height: 100%;
}
