  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --brand-primary:       #E86100;
    --brand-dark:          #B34A00;
    --brand-muted:         #FFD4B3;
    --brand-gradient:      linear-gradient(135deg, #E86100 0%, #B34A00 100%);
    --brand-charcoal:      #2a2a2a;
    --brand-ink:           #1a1a1a;
    --brand-mid:           #4a4a4a;
    --brand-muted-text:    #6b7280;
    --brand-light:         #f7f8f5;
    --brand-white:         #ffffff;
    --brand-border:        #e5e7eb;
    --brand-section-alt:   #FFF4EC;
    --brand-light-bg:      #FFFAF6;
    --brand-nav-border:    #FFBF8A;
    --brand-footer-bg:     #FFE8D1;
    --brand-footer-border: #FFBF8A;
    --brand-tag-bg:        #FFE8D1;
    --brand-hero-border:   #FFD4B3;
    --brand-hero-grad:     linear-gradient(to left, #FFF0E0, #ffffff);
    --radius:              10px;
    --radius-lg:           16px;
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--scroll-offset, 70px);
  }

  /* ── Scroll offset for sticky nav ── */
  .scroll-anchor,
  section[id],
  [id="main-content"] {
    scroll-margin-top: var(--scroll-offset, 70px);
  }

  .scroll-anchor {
    display: block;
    height: 0;
    visibility: hidden;
  }

  /* ── SKIP LINK ── */
  .skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    background: var(--brand-dark);
    color: var(--brand-white);
    padding: 10px 20px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.15s;
  }
  .skip-link:focus { top: 1rem; }

  body {
    font-family: 'DM Sans', sans-serif;
    font-size: 19px;
    line-height: 1.7;
    color: var(--brand-charcoal);
    background: var(--brand-white);
  }

  /* ── NAV ── */
  nav {
    background: var(--brand-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--brand-nav-border);
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
  }
  .nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
  }
  .nav-logo { display: flex; align-items: center; padding-right: 1rem; }
  .nav-logo svg { display: block; vertical-align: middle; }
  .nav-logo img { max-height: 42px; height: auto; width: auto; display: block; }
  .nav-links { display: flex; gap: 2rem; list-style: none; }
  .nav-links a {
    color: var(--brand-mid);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.2s;
  }
  .nav-links a:hover { color: var(--brand-ink); }
  .nav-cta {
    background: var(--brand-gradient) !important;
    color: var(--brand-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600 !important;
    font-size: 15px;
    transition: opacity 0.2s, transform 0.15s;
  }
  .nav-cta:hover { opacity: 0.88; color: var(--brand-white) !important; transform: translateY(-1px); }

  /* ── HERO ── */
  .hero {
    background: var(--brand-light-bg);
    padding: 5rem 1.5rem;
    border-bottom: 1px solid var(--brand-border);
    position: relative;
    overflow: hidden;
  }
  .hero::before { display: none; }
  .hero-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
  .hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--brand-hero-grad);
    border: 1px solid var(--brand-hero-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    box-shadow: 0 4px 24px rgba(232, 97, 0, 0.08);
  }
  .hero-badge {
    display: inline-block;
    background: var(--brand-gradient);
    color: var(--brand-white);
    font-size: 13px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 1.2rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }
  .hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
    color: var(--brand-ink);
    margin-bottom: 1rem;
  }
  .hero h1 span {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero-lead {
    font-size: 1.1rem;
    color: var(--brand-mid);
    margin-bottom: 2rem;
    line-height: 1.65;
  }
  .hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
  .btn-primary,
  .btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s, border-color 0.2s, color 0.2s;
    white-space: nowrap;
    line-height: 1;
  }
  .btn-primary {
    background: var(--brand-gradient);
    color: var(--brand-white);
    border: 1.5px solid transparent;
  }
  .btn-primary:hover { opacity: 0.88; color: var(--brand-white); transform: translateY(-1px); }
  .btn-outline {
    background: transparent;
    color: var(--brand-charcoal);
    border: 1.5px solid var(--brand-muted);
  }
  .btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-ink); transform: translateY(-1px); }

  .nav-logo,
  .nav-links a,
  .nav-mobile a,
  .btn-primary,
  .btn-outline,
  .nav-burger,
  .footer-bottom a,
  .footer-col ul li a,
  .audience-card a,
  .form-note a {
    outline: none;
  }

  .nav-logo:focus-visible,
  .nav-links a:focus-visible,
  .nav-mobile a:focus-visible,
  .btn-primary:focus-visible,
  .btn-outline:focus-visible,
  .nav-burger:focus-visible,
  .footer-bottom a:focus-visible,
  .footer-col ul li a:focus-visible,
  .audience-card a:focus-visible,
  .form-note a:focus-visible {
    outline: 3px solid var(--brand-dark);
    outline-offset: 3px;
    border-radius: var(--radius);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  .stat-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-muted);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
  }
  .stat-card .num {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    color: var(--brand-ink);
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .stat-card .label {
    font-size: 13px;
    color: var(--brand-muted-text);
    line-height: 1.3;
  }

  .btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 20px;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, transform 0.15s;
    background: transparent;
    color: var(--brand-charcoal);
    border: 1.5px solid var(--brand-muted);
    margin-top: 0.75rem;
  }
  .btn-card:hover { border-color: var(--brand-primary); color: var(--brand-ink); transform: translateY(-1px); }
  .badges {
    background: var(--brand-primary);
    border-top: none;
    border-bottom: none;
    padding: 3.5rem 1.5rem;
  }
  .badges-header {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    text-align: center;
  }
  .badges-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0.75rem;
  }
  .badges-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
  }
  .badges-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.2rem;
  }
  .badge-card {
    background: var(--brand-light-bg);
    border: 1px solid var(--brand-primary);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(179, 74, 0, 0.5), 0 2px 8px rgba(179, 74, 0, 0.3);
  }
  .badge-card .num {
    font-family: 'DM Serif Display', serif;
    font-size: 1.6rem;
    color: var(--brand-ink);
    line-height: 1;
    margin-bottom: 0.3rem;
  }
  .badge-card .label {
    font-size: 13px;
    color: var(--brand-muted-text);
    line-height: 1.3;
  }
  @media (max-width: 640px) {
    .badges-inner { grid-template-columns: repeat(2, 1fr); }
  }
  section { padding: 4.5rem 1.5rem; }
  .section-inner { max-width: 1100px; margin: 0 auto; }
  .section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand-ink);
    margin-bottom: 0.6rem;
  }
  .section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--brand-ink);
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }
  .section-lead {
    font-size: 1rem;
    color: var(--brand-muted-text);
    max-width: 600px;
    margin-bottom: 3rem;
  }

  /* ── COURSES ── */
  .courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    padding-top: 1rem;
  }
  .course-card {
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  .course-card:hover { border-color: var(--brand-primary); transform: translateY(-3px); }
  .course-card.featured { border-color: var(--brand-primary); border-width: 2px; }
  .course-badge-feat {
    position: absolute;
    top: -12px; left: 1.5rem;
    background: var(--brand-primary);
    color: var(--brand-white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .course-badge-value {
    position: absolute;
    top: -12px; left: 1.5rem;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    background:
      linear-gradient(white, white) padding-box,
      linear-gradient(135deg, #E86100 0%, #B34A00 100%) border-box;
  }
  .course-badge-value-text {
    background: linear-gradient(135deg, #E86100 0%, #B34A00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .course-card-top {
    padding: 1.75rem 1.5rem 1.25rem;
    flex: 1;
  }
  .course-card-bottom {
    background: var(--brand-section-alt);
    border-top: 1px solid var(--brand-muted);
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  }

  .course-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--brand-ink); margin-bottom: 0.4rem; }
  .course-card p  { font-size: 1rem; color: var(--brand-ink); line-height: 1.5; margin-bottom: 0; }
  .course-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.25rem; }
  .tag {
    font-size: 12px;
    background: var(--brand-white);
    color: var(--brand-dark);
    border: 1px solid var(--brand-muted);
    padding: 3px 10px;
    border-radius: 100px;
    font-weight: 500;
  }

  /* ── COURSE CARD BUTTONS ── */
  .btn-sm-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: var(--radius);
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    background: var(--brand-gradient);
    color: #ffffff !important;
    border: 1.5px solid transparent;
    line-height: 1;
  }
  .btn-sm-primary:hover { opacity: 0.88; color: #ffffff !important; transform: translateY(-1px); }

  /* ── COURSE CARD DROPDOWN ── */
  .card-btn-wrap { position: relative; display: inline-block; }
  .card-dropdown {
    display: none;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 0;
    min-width: 220px;
    background: var(--brand-white);
    border: 1px solid var(--brand-border);
    border-radius: var(--radius);
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    z-index: 50;
    overflow: hidden;
  }
  .card-dropdown.open { display: block; }
  .card-dropdown-item {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--brand-mid);
    text-decoration: none;
    border-bottom: 1px solid var(--brand-border);
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
  }
  .card-dropdown-item:last-child { border-bottom: none; }
  .card-dropdown-item:hover { background: var(--brand-section-alt); color: var(--brand-dark); }
  .card-btn-wrap.align-right .card-dropdown { left: auto; right: 0; }

  /* ── AUDIENCES ── */
  .audiences { background: var(--brand-section-alt); }
  .audiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.5rem;
  }
  .audience-card {
    background: var(--brand-white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    border: 1px solid var(--brand-border);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .audience-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 57px;
    height: 57px;
    background: var(--brand-section-alt);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    padding: 12px;
  }
  .audience-icon svg {
    width: 32px;
    height: 32px;
  }
  .audience-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--brand-ink); }
  .audience-card p { font-size: 1rem; color: var(--brand-muted-text); line-height: 1.55; }
  .audience-card a { color: var(--brand-white); font-weight: 600; text-decoration: none; font-size: 14px; display: inline-block; }
  .audience-card a:hover { text-decoration: none; opacity: 0.88; }

  /* ── ABOUT ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
  .about-grid .section-title {
    font-size: 1.75rem;
  }
  .about-text p { color: var(--brand-mid); margin-bottom: 1rem; }
  .about-text p:last-child { margin-bottom: 0; }
  .creds-list { list-style: none; }
  .creds-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--brand-border);
    font-size: 1rem;
    color: var(--brand-mid);
  }
  .creds-list li:last-child { border-bottom: none; }
  .check {
    width: 20px; height: 20px;
    background: var(--brand-muted);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .check svg { width: 11px; height: 11px; stroke: var(--brand-dark); }

/* ── ENQUIRY FORM ── */
.enquiry {
  background: var(--brand-light-bg);
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}

.enquiry .section-label {
  color: var(--brand-ink);
}

.enquiry .section-title {
  color: var(--brand-ink);
}

.enquiry .section-lead {
  color: var(--brand-muted-text);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--brand-white);
  border: 1px solid var(--brand-nav-border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 15px;
  color: var(--brand-charcoal);
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-muted);
}

.form-group select option {
  background: var(--brand-white);
  color: var(--brand-charcoal);
}

.form-group .field-error {
  display: none;
  font-size: 13px;
  color: #b42318;
  margin-top: 4px;
  line-height: 1.4;
}

.form-group.has-error .field-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.form-submit {
  margin-top: 0.5rem;
}

.form-note {
  font-size: 12px;
  color: var(--brand-muted-text);
  margin-top: 1rem;
}

.form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 14px;
  line-height: 1.5;
}

.form-status.is-error {
  display: block;
  background: #fef3f2;
  border: 1px solid #fecdca;
  color: #b42318;
}

#form-success {
  display: none;
  background: var(--brand-muted);
  border: 1px solid var(--brand-ink);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  color: var(--brand-ink);
  font-weight: 500;
  margin-top: 1rem;
}
  
  /* ── FOOTER ── */
  footer {
    background: var(--brand-tag-bg);
    color: var(--brand-mid);
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid var(--brand-footer-border);
  }
  .footer-inner { max-width: 1100px; margin: 0 auto; }
  .footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2.5rem;
  }
  .footer-brand { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
  .footer-brand p { font-size: 14px; line-height: 1.6; color: var(--brand-mid); max-width: 280px; }
  .footer-col h4 { font-size: 12px; font-weight: 600; color: var(--brand-charcoal); margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 0.5rem; }
  .footer-col ul li a { color: var(--brand-mid); text-decoration: none; font-size: 14px; transition: color 0.2s; }
  .footer-col ul li a:hover { color: var(--brand-ink); }
  .footer-bottom {
    border-top: 1px solid var(--brand-footer-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .footer-bottom p { font-size: 13px; color: var(--brand-muted-text); }
  .footer-bottom a { color: var(--brand-muted-text); text-decoration: none; }
  .footer-bottom a:hover { color: var(--brand-ink); }

  /* ── MOBILE MENU ── */
  .nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius);
    transition: background 0.2s;
  }
  .nav-burger:hover { background: var(--brand-section-alt); }
  .nav-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--brand-charcoal);
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
    transform-origin: center;
  }
  .nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav-mobile {
    display: none;
    flex-direction: column;
    background: var(--brand-white);
    border-top: 1px solid var(--brand-border);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-mobile.open {
    max-height: 360px;
    padding: 0.5rem 0 1rem;
  }
  .nav-mobile a {
    padding: 0.75rem 1.5rem;
    color: var(--brand-mid);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--brand-border);
    transition: color 0.2s, background 0.2s;
  }
  .nav-mobile a:last-child { border-bottom: none; }
  .nav-mobile a:hover { color: var(--brand-ink); background: var(--brand-section-alt); }
  .nav-mobile .nav-mobile-cta {
    display: block;
    margin: 0.75rem 1.5rem 0;
    background: var(--brand-gradient);
    color: var(--brand-white) !important;
    border-radius: var(--radius);
    text-align: center;
    font-weight: 600;
    border: none;
    padding: 0.75rem 1.5rem;
    transition: opacity 0.2s, transform 0.15s;
  }
  .nav-mobile .nav-mobile-cta:hover {
    opacity: 0.88;
    color: var(--brand-white) !important;
    background: var(--brand-gradient);
    transform: translateY(-1px);
  }

  /* ── RESPONSIVE ── */

  /* Tablet — 900px to 1024px */
  @media (max-width: 1024px) {
    .hero-card { gap: 2rem; padding: 2rem; }
    .hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .stat-card .num { font-size: 1.6rem; }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
    .audiences-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .about-grid { gap: 2rem; }
    .form-grid { grid-template-columns: 1fr 1fr; }
  }

  /* Large mobile / small tablet — 768px to 900px */
  @media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-burger { display: flex; }
    .nav-mobile { display: flex; }
    .hero-card { grid-template-columns: 1fr; padding: 1.75rem; }
    .hero::before { display: none; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr 1fr; }
  }

  /* Mobile — under 600px */
  @media (max-width: 600px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .courses-grid { grid-template-columns: 1fr; }
    .audiences-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
    .footer-brand { grid-column: auto; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
    .section-title { font-size: 1.6rem; }
    .hero h1 { font-size: 1.8rem; }
    .about-grid { grid-template-columns: 1fr; }
  }
  .partners {
    background: var(--brand-dark);
    padding: 3.5rem 1.5rem;
  }
  .partners-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
  .partners-eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--brand-white);
  }
  .partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    width: 100%;
  }
  .partner-card {
    background: var(--brand-section-alt);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
  }
  .partner-card-abbr {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: var(--brand-ink);
    line-height: 1;
  }
  .partner-card-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-ink);
    letter-spacing: 0.03em;
  }

/* ── KB QUIRK PASS — mobile calm authority, no redesign ── */
@media (max-width: 600px) {
  html { scroll-padding-top: 64px; }
  body { font-size: 17px; line-height: 1.65; }

  nav { box-shadow: 0 1px 10px rgba(0,0,0,0.06); }
  .nav-inner { min-height: 64px; height: 64px; padding: 0 1.25rem; }
  .nav-logo img { max-height: 34px !important; }
  .nav-burger { padding: 8px; }
  .nav-burger span { width: 25px; height: 2.5px; }
  .nav-mobile a { padding-left: 1.25rem; padding-right: 1.25rem; }

  .hero { padding: 2.35rem 1rem 3rem; }
  .hero-card {
    padding: 1.7rem 1.55rem;
    gap: 1.8rem;
    border-radius: 15px;
    box-shadow: 0 3px 18px rgba(232, 97, 0, 0.06);
  }

  .hero-badge {
    display: inline-block;
    max-width: 100%;
    background: transparent;
    color: var(--brand-dark);
    padding: 0;
    border-radius: 0;
    margin-bottom: 1.05rem;
    font-size: 0.68rem;
    line-height: 1.35;
    letter-spacing: 0.085em;
    font-weight: 800;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.2rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.68;
    margin-bottom: 1.45rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    align-items: stretch;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    min-height: 46px;
    padding: 13px 18px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }
  .stat-card {
    padding: 1rem 0.75rem;
    min-height: 84px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .stat-card .num { font-size: 1.6rem; }
  .stat-card .label { font-size: 0.76rem; line-height: 1.25; }

  section { padding: 3.25rem 1.1rem; }
  .section-lead { margin-bottom: 2rem; line-height: 1.65; }

  .course-card { border-radius: 15px; transform: none !important; }
  .course-card-top { padding: 1.55rem 1.25rem 1.15rem; }
  .course-card-bottom { padding: 1.15rem 1.25rem 1.3rem; }
  .course-card h3 { font-size: 1rem; line-height: 1.35; }
  .course-card p { font-size: 0.95rem; line-height: 1.55; }
  .course-tags { gap: 0.45rem; margin-bottom: 1rem; }
  .tag { font-size: 0.72rem; padding: 3px 8px; }
  .course-badge-feat,
  .course-badge-value {
    left: 1.1rem;
    max-width: calc(100% - 2.2rem);
    white-space: normal;
    line-height: 1.2;
  }
  .course-card-bottom > div[style*="justify-content"] {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0.65rem;
    justify-content: stretch !important;
  }
  .card-btn-wrap,
  .btn-sm-primary,
  .btn-outline.btn-card,
  .course-card .btn-outline,
  .course-card .btn-sm-primary {
    width: 100%;
  }
  .card-dropdown {
    width: 100%;
    min-width: 0;
    bottom: calc(100% + 8px);
  }
  .card-dropdown-item { white-space: normal; line-height: 1.35; }

  .audience-card { padding: 1.55rem 1.25rem; }
  .audience-icon { width: 50px; height: 50px; }
  .audience-card p { font-size: 0.95rem; }

  .partners { padding: 3rem 1.1rem; }
  .partners-grid { grid-template-columns: 1fr 1fr; gap: 0.9rem; }
  .partner-card { padding: 1.25rem 0.8rem; }

  footer { padding: 2.5rem 1.25rem 1.6rem; }
  .footer-brand img { max-width: 155px !important; }
}

@media (max-width: 380px) {
  .hero-card { padding: 1.45rem 1.25rem; }
  .hero h1 { font-size: 1.78rem; }
  .stat-card .num { font-size: 1.45rem; }
  .partners-grid { grid-template-columns: 1fr; }
}


/* ── KB FIX: course/audience button discipline ── */
.audience-card {
  align-items: center;
  text-align: center;
}
.audience-card p {
  flex: 1;
}
.audience-card a.btn-sm-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  min-height: 44px;
  margin-top: auto !important;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  line-height: 1.15;
  text-align: center;
}
.course-card-bottom > div[style*="justify-content"] {
  gap: 0.75rem;
}
.course-card .btn-sm-primary,
.course-card .btn-outline {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.card-btn-wrap {
  vertical-align: top;
}
@media (min-width: 721px) {
  .audience-card {
    min-height: 100%;
  }
  .course-card-bottom > div[style*="justify-content"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch !important;
  }
  .course-card-bottom > div[style*="justify-content"] > .card-btn-wrap,
  .course-card-bottom > div[style*="justify-content"] > a,
  .course-card-bottom > div[style*="justify-content"] > button {
    width: 100%;
  }
  .course-card-bottom > div[style*="justify-content"] .btn-outline,
  .course-card-bottom > div[style*="justify-content"] .btn-sm-primary {
    width: 100%;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }
  .course-card-bottom > div[style*="justify-content"]:has(.card-btn-wrap:only-child),
  .course-card-bottom > div[style*="justify-content"]:has(> a:only-child),
  .course-card-bottom > div[style*="justify-content"]:has(> button:only-child) {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .audience-card {
    align-items: center;
    text-align: center;
  }
  .audience-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .audience-card a.btn-sm-primary {
    max-width: none;
  }
}


/* L4: calmer desktop course actions for unavailable courses */
.course-card .btn-disabled {
  color: var(--brand-mid) !important;
  background: #f4f4f2 !important;
  border-color: var(--brand-border) !important;
  cursor: not-allowed;
  opacity: 0.82;
  pointer-events: none;
}
.course-card .btn-disabled strong {
  font-weight: 700;
}
@media (min-width: 721px) {
  .course-card-bottom > div[style*="justify-content"] .btn-disabled {
    width: 100%;
  }
}
