:root {
    --dark-red: #6e1f24;
    --dark-red-strong: #3d0d10;
    --accent-yellow: #e3bd63;
    --off-white: #f9e9cd;
    --cream: #fffaf0;
    --mid-brown: #654f3f;
    --ink: #362d2a;
    --panel: rgba(255, 255, 255, 0.72);
    --shadow: rgba(44, 17, 19, 0.14);
    --serif: "Vollkorn", Georgia, serif;
    --sans: "Dosis", "Segoe UI", sans-serif;
    --brand: "DIN", "Arial Narrow", sans-serif;
    --bts-size: clamp(2.5rem, calc(2rem + 1.4vw), 3.2rem);
}

@font-face {
    font-family: "DIN";
    src: url("../fonts/DIN/DIN.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Dosis";
    src: url("../fonts/Dosis/static/Dosis-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Dosis";
    src: url("../fonts/Dosis/static/Dosis-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Vollkorn";
    src: url("../fonts/Vollkorn/static/Vollkorn-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Vollkorn";
    src: url("../fonts/Vollkorn/static/Vollkorn-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
    scroll-padding-top: 60px;
}

body {
    margin: 0;
    font-family: var(--sans);
    background: linear-gradient(180deg, #fffaf2 0%, #f8f0e1 100%);
    color: var(--ink);
    line-height: 1.6;
    max-width: 100%;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.trial-page {
    padding-top: 2rem;
}



#book-trial-title {
    font-size: clamp(1.25rem, 4vw, 1.2rem);
    line-height: 1.05;
    font-family: var(--sans);
    font-weight: 100;
    letter-spacing: -0.04em;
    color: var(--dark-red-strong);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    text-align: center;
}

#class-name {
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* align-items: baseline; */
    /* gap: 0.55rem; */
    /* margin-bottom: 1.25rem; */
    align-content: center;
}

#location-name,
#class-type {
    display: inline-block;
}

#blurb {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(110, 31, 36, 0.08);
    border-radius: 22px;
    padding: 1.2rem 1.3rem;
    box-shadow: 0 14px 28px rgba(30, 12, 13, 0.05);
    margin-bottom: 1.75rem;
}

#blurb p {
    margin: 0;
    color: var(--ink);
    font-size: 1.02rem;
}

.class-details-grid {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.7rem 1.1rem;
    padding: 1.2rem 1.15rem;
    margin-bottom: 1.6rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(110, 31, 36, 0.08);
    box-shadow: 0 14px 26px rgba(30, 12, 13, 0.04);
}

.class-details-grid label {
    margin: 0;
    font-weight: 700;
    color: var(--dark-red-strong);
}

.class-details-grid>div {
    margin: 0;
    line-height: 1.5;
    color: var(--ink);
    font-size: 1rem;
}

.booking-form {
    display: grid;
    gap: 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 14px 24px rgba(41, 20, 20, 0.04);
    padding: .3rem .9rem .2rem;
    border-radius: 24px;
}

.booking-form fieldset {
    margin: 20px 0;
    border: 1px solid rgba(110, 31, 36, 0.12);
    border-radius: 24px;
}

.booking-form legend {
    padding: 0 0.5rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dark-red-strong);
    font-size: large;
    text-align: center;
}

.trial-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
}

.trial-date-grid input[type="radio"] {
    width: auto;
    margin: 0.2rem 0.5rem 0 0;
    accent-color: var(--dark-red);
    display: none;
}

.trial-date-grid label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 52px;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(110, 31, 36, 0.12);
    background: rgba(255, 255, 255, 0.8);
    color: var(--ink);
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.trial-date-grid label:hover {
    border-color: rgba(110, 31, 36, 0.28);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(30, 12, 13, 0.04);
}

.trial-date-grid input[type="radio"]:checked+label,
.trial-date-grid label:has(input:checked) {
    background: linear-gradient(135deg, rgba(110, 31, 36, 0.08), rgba(227, 189, 99, 0.22));
    border-color: rgba(110, 31, 36, 0.7);
    box-shadow: 0 0 0 3px rgba(110, 31, 36, 0.08), 0 10px 20px rgba(110, 31, 36, 0.08);
    color: var(--dark-red-strong);
}

.booking-form-main {
    display: block;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(12px);
}

.booking-form-main.is-visible {
    max-height: 5000px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.booking-form-main>fieldset {
    margin-top: 1.15rem;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 0.82rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(110, 31, 36, 0.4);
    background: rgba(255, 255, 255, 0.9);
    color: var(--ink);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: rgba(110, 31, 36, 0.5);
    box-shadow: 0 0 0 4px rgba(110, 31, 36, 0.08);
}

.booking-form textarea {
    min-height: 110px;
    resize: vertical;
}

.collector-field-group {
    display: grid;
    gap: 0.75rem;
    margin-top: 0.7rem;
}

.collector-list {
    display: grid;
    gap: 0.7rem;
}

.collector-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.collector-row input {
    flex: 1;
}

.collector-add-btn,
.collector-remove-btn {
    border: 1px solid rgba(110, 31, 36, 0.22);
    background: rgba(110, 31, 36, 0.05);
    color: var(--dark-red-strong);
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.collector-remove-btn {
    padding-inline: 0.7rem;
}

.dob-field-wrap {
    margin-bottom: 0.9rem;
}

.dob-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0.55rem;
    padding: 0.35rem 0.2rem;
}

.dob-box {
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.dob-separator {
    font-size: 1.6rem;
    line-height: 1;
    color: rgba(54, 45, 42, 0.7);
    font-weight: 700;
}

.permission-grid,
.checkbox-row {
    display: grid;
    grid-template-columns: minmax(28px, auto) 1fr;
    gap: 0.7rem 0.8rem;
    align-items: start;
}

.permission-grid input[type="checkbox"],
.checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 0.35rem;
    accent-color: var(--dark-red);
}

.checkbox-label {
    font-weight: 500 !important;
    margin: 0;
    line-height: 1.5;
}

.checkbox-row {
    margin-bottom: 0.9rem;
}

.booking-form .checkbox-label a {
    color: var(--dark-red);
    text-decoration: underline;
}

.booking-form button.btn {
    width: 100%;
    margin-top: 0.4rem;
}

@media (max-width: 640px) {



    .dob-inputs {
        grid-template-columns: 1fr auto 1fr auto 1fr;
    }

    .trial-date-grid {
        grid-template-columns: 1fr;
    }
}

.map-link {
    color: var(--dark-red);
    text-decoration: underline;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    color: var(--dark-red);
    text-decoration: underline;
}

img {
    max-width: 100%;
    display: block;
}

main {
    max-width: 1440px;
    margin: 0 auto;
}

section {
    padding: 3.5rem 1.25rem;
}

h1,
h2,
h3,
h4 {
    font-family: var(--serif);
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
    color: var(--dark-red-strong);
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
}

p,
li {
    font-size: 1.05rem;
}

header,
footer {
    width: 100%;
}

.site-header {
    background: linear-gradient(180deg, rgba(110, 31, 36, 0.94), rgba(72, 17, 22, 0.96));
    color: var(--off-white);
    box-shadow: 0 10px 25px rgba(25, 12, 13, 0.12);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#header-liner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.header-logo {
    /* display: inline-flex; */
    /* align-items: center; */
    gap: 0.8rem;
    font-family: var(--brand);
    font-size: var(--bts-size);
    letter-spacing: -0.005em;
    text-transform: uppercase;
    color: var(--off-white);
    text-align: left;
    text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.41);
    transform: scale(1, 0.92);
    line-height: calc(var(--bts-size) * .88);
    margin-top: 0px;
    margin-bottom: -14px;
}

#logo-br {
    display: none;
}

#bts-name {}

#to {
    font-size: calc(var(--bts-size) * .7);
    position: relative;
    bottom: calc(var(--bts-size) * .22);
    text-decoration: underline solid var(--accent-yellow) calc(var(--bts-size) * .07);
    text-underline-offset: calc(var(--bts-size) * .1);
    text-decoration-color: var(--accent-yellow);
    padding: 0;
}

.header-logo-mark {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(249, 233, 205, 0.12);
    border: 1px solid rgba(249, 233, 205, 0.35);
    font-family: var(--serif);
    font-size: 1.4rem;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.nav-links a {
    color: rgba(249, 233, 205, 0.9);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent-yellow);
}

#book-trial {
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--dark-red-strong);
    box-shadow: 0 10px 22px rgba(228, 185, 76, 0.28);
    background: var(--accent-yellow);
    padding: 0.5rem 1.35rem;
    min-width: 150px;
    text-align: center;
}

.btn,
.more-info,
.class-btn,
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    font-family: var(--sans);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.btn,
.submit-btn {
    background: var(--accent-yellow);
    color: var(--dark-red-strong);
    padding: 0.85rem 1.35rem;
    box-shadow: 0 10px 22px rgba(228, 185, 76, 0.28);
}



.header-cta:hover,
.btn:hover,
.submit-btn:hover,
.more-info:hover,
.class-btn:hover {
    transform: translateY(-1px);
}

.site-footer {
    background: #2a1718;
    color: rgba(249, 233, 205, 0.8);
    padding: 2.5rem 1.25rem 1.25rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-column h4 {
    color: var(--off-white);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li+li {
    margin-top: 0.5rem;
}

.footer-column a {
    color: rgba(249, 233, 205, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(249, 233, 205, 0.2);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.92rem;
}

#hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(120deg, rgba(31, 14, 15, 0.78), rgba(110, 31, 36, 0.58)),
        url('/images/hero/hero.webp') center/cover no-repeat;
    color: var(--off-white);
    padding: 5rem 1.25rem 4rem;
}

#hero>* {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 940px;
    text-align: center;
    animation: heroFadeUp 1s ease both;
}

#hero-title {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    letter-spacing: -0.04em;
    line-height: 0.96;
    margin-bottom: 1.1rem;
    color: var(--off-white);
}

#hero-subtitle,
#hero-subtitle-2 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 600;
    color: rgba(249, 233, 205, 0.95);
}

#hero-subtitle-2 ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 1.2rem 0 0;
}

#hero-subtitle-2 li {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: rgba(249, 233, 205, 0.12);
    border: 1px solid rgba(249, 233, 205, 0.32);
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

#intro {
    /* background: linear-gradient(180deg, rgba(249, 233, 205, 0.34), rgba(255, 255, 255, 0.38)); */
}

h1 {
    text-align: center;
    margin-bottom: 1.25rem;
}

.section-liner {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.profile-card-container {
    max-width: 980px;
    margin: 2rem auto 2.5rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 1.5rem;
}

.profile-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(110, 31, 36, 0.1);
    box-shadow: 0 14px 28px rgba(77, 39, 46, 0.08);
}

.profile-pic {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(110, 31, 36, 0.1);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-info .name {
    font-family: var(--serif);
    font-size: 2rem;
    color: var(--dark-red-strong);
    margin-bottom: 0.2rem;
}

.profile-info .bio {
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.5;
}

.pill-list {
    max-width: 760px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    list-style: none;
    padding: 0;
    margin: 1.4rem auto 2rem;
    justify-content: center;
}

.pill-list li {
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(110, 31, 36, 0.95), rgba(110, 31, 36, 0.8));
    color: var(--off-white);
    box-shadow: 0 8px 18px rgba(110, 31, 36, 0.12);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.8rem;
}

#photo-gallery {
    /* background: rgba(255, 255, 255, 0.4); */
}

.gallery-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 1rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(110, 31, 36, 0.08);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 14px 28px rgba(40, 18, 20, 0.08);
    transition: transform 0.25s ease;
}

.gallery-item:hover {
    transform: translateY(-3px);
}

.gallery-item a {
    display: block;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-toggle {
    margin-top: 1.5rem;
}

section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(247, 233, 214, 0.75));
}

.timetable {
    max-width: 1100px;
    min-width: 0;
    margin: 2rem auto 0;
    display: grid;
    gap: 1.5rem;
}

.timetable-group {
    padding: clamp(1.1rem, 3vw, 1.8rem);
    border: 1px solid rgba(110, 31, 36, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 38px rgba(27, 19, 20, 0.08);
}

.timetable-group-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.1rem;
    text-align: left;
}

.timetable-group-header h2 {
    display: inline;
    margin: 0 0 0 0.65rem;
    color: var(--dark-red-strong);
}

.timetable-group-header h2 small {
    font-size: 0.72em;
    font-weight: 600;
}

.timetable-age {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.8rem;
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: var(--dark-red);
    color: var(--off-white);
    font-weight: 800;
}

.about-class-link {
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--dark-red-strong);
    box-shadow: none;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    font-size: 0.95rem;
}

.about-class-link:hover {
    background: transparent;
    transform: none;
}

.class-type-blurb {
    margin: 0 0 1.2rem;
    padding: 1rem 1.1rem;
    border-left: 4px solid var(--accent-yellow);
    border-radius: 0 14px 14px 0;
    background: rgba(255, 253, 250, 0.82);
    line-height: 1.65;
    text-align: left;
    white-space: pre-line;
}

.class-type-blurb[hidden] {
    display: none;
}

.class-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(min(100%, 125px), 1fr));
    gap: 1rem;
}

@media (max-width: 485px) {
    .class-container {

        grid-template-columns: repeat(2, minmax(min(100%, 125px), 1fr));
        gap: 1rem;
    }
}

@media (max-width: 385px) {
    .class-container {

        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.class {
    min-width: 0;
    min-height: 0px;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(51, 25, 28, 0.07);
    overflow: visible;
    cursor: pointer;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.class:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(51, 25, 28, 0.11);
}

.class.is-expanded {
    border-color: var(--dark-red);
    box-shadow: 0 16px 28px rgba(110, 31, 36, 0.18);
}

.class.mini {
    background: linear-gradient(135deg, #f5d7c7, #efbca8);
}

.class.rising {
    background: linear-gradient(135deg, #ebc1ae, #df8d7f);
}

.class.teen {
    background: linear-gradient(135deg, #f0d09b, #dca15c);
}

.class.adult {
    background: linear-gradient(135deg, #d9c5a1, #b88c5a);
}

.location {
    padding: 0;
    color: var(--dark-red-strong);
}

.location-name {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-align: left;
    text-decoration: underline;
    text-underline-offset: 0.2em;
    text-transform: uppercase;
}

.location-name:hover {
    background: transparent;
    transform: none;
}

.location-info {
    display: none;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.8rem;
    border: 1px solid rgba(110, 31, 36, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: left;
    text-transform: none;
    white-space: pre-line;
}

.location-info.is-open {
    display: block;
}

.class-day {
    margin-top: auto;
    padding-top: .4rem;
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-red-strong);
}

.time {
    margin-top: 0.2rem;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(37, 20, 21, 0.88);
}

.class-frequency {
    margin-top: 0.55rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.class-info {
    display: none;
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(54, 45, 42, 0.2);
    text-align: center;
}

.class.is-expanded .class-info {
    display: block;
}

.class-duration {
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(54, 45, 42, 0.82);
}

.class-duration:empty {
    display: none;
}

.class-btn {
    width: 100%;
    padding: 0.65rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--dark-red), #8a2c39);
    color: var(--off-white);
    box-shadow: 0 10px 18px rgba(110, 31, 36, 0.18);
    font-size: 0.78rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.class-message {
    display: none;
    margin: 0 0 0.6rem;
    color: var(--dark-red-strong);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.class.is-full .class-message {
    display: block;
}

@media (max-width: 560px) {
    .timetable-group-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .timetable-group-header h2 {
        display: block;
        margin: 0.55rem 0 0;
    }
}

.waitlist-section {
    max-width: 820px;
    margin: 2rem auto 0;
    display: none;
    padding: 1.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(110, 31, 36, 0.08);
    box-shadow: 0 16px 30px rgba(31, 12, 13, 0.08);
}

.waitlist-section.is-visible {
    display: block;
}

.waitlist-section h3 {
    margin-bottom: 1.2rem;
}

.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    color: var(--dark-red-strong);
}

input,
textarea {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    border: 1px solid rgba(110, 31, 36, 0.18);
    font: inherit;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.9);
}

textarea {
    min-height: 110px;
    resize: vertical;
}

#blurbs {
    display: none;
}



#lamda-classes {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(247, 233, 214, 0.75));
}

#lamda-what-you-will-learn {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 1.2rem;
    margin-top: 1.6rem;
    margin-bottom: 1.6rem;
}

#lamda-what-you-will-learn>div {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(110, 31, 36, 0.08);
    border-radius: 20px;
    padding: 1.15rem 1rem;
    box-shadow: 0 14px 24px rgba(35, 20, 19, 0.05);
}

.more-info {
    margin-top: 1.4rem;
    background: var(--dark-red);
    color: var(--off-white);
    padding: 0.8rem 1.2rem;
    box-shadow: 0 12px 22px rgba(110, 31, 36, 0.18);
}

#reviews {
    background: rgba(255, 255, 255, 0.4);
}

.reviews-container {
    max-width: 1100px;
    margin: 0 auto 20px auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    gap: 1.2rem;
}

.review-card {
    padding: 1.2rem;
    border-left: 4px solid var(--accent-yellow);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 16px;
    box-shadow: 0 14px 24px rgba(41, 20, 20, 0.05);
}

.review-text {
    margin-bottom: 0.7rem;
    font-size: 1.02rem;
    line-height: 1.7;
}

.review-author {
    font-weight: 700;
    color: var(--dark-red-strong);
}

.lamda-extra-content,
#reviews-extra-content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, margin 0.5s ease;
    margin-top: 0;
}

.lamda-extra-content.is-open,
#reviews-extra-content.is-open {
    max-height: 1500px;
    opacity: 1;
    margin-top: 1.5rem;
}

#contact {
    background: linear-gradient(180deg, rgba(246, 236, 223, 0.65), rgba(255, 255, 255, 0.18));
}

#contact form {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(110, 31, 36, 0.08);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 16px 28px rgba(26, 14, 15, 0.06);
}

#contact input,
#contact textarea {
    background: #fffdfa;
}

.col-2 {
    display: grid;
    grid-template-columns: auto auto;
    gap: 1rem;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-logo {
    grid-area: logo;
}

.header-nav {
    grid-area: nav;
}

.header-cta {
    grid-area: cta;
    display: flex;
    justify-content: center;
}

.class-blurb>div {
    display: none;
}


@media (max-width: 955px) {
    #header-liner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "logo cta"
            "nav nav";
    }

    .nav-links {
        display: flex;
    }

    .gallery-grid,
    .reviews-container,
    #lamda-what-you-will-learn,
    .profile-card-container {
        grid-template-columns: 1fr 1fr;
    }

    html {
        scroll-padding-top: 110px;
    }

}

.mini-blurb,
.rising-blurb,
.teen-blurb,
.adult-blurb {
    text-align: left;
}

@media (max-width: 760px) {

    .mini-blurb,
    .rising-blurb,
    .teen-blurb,
    .adult-blurb {
        letter-spacing: -.05em;
        transform: scale(.9, 1);
        ;
    }

    .col-2 {
        grid-template-columns: auto;
    }
}



@media (max-width: 680px) {
    .profile-card-container {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 560px) {
    .nav-links {
        gap: 0.7rem 1rem;
    }

    .reviews-container,
    #lamda-what-you-will-learn {
        grid-template-columns: 1fr;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .weekday-container {
        grid-template-columns: repeat(5, auto)
    }

    #friday {
        /* display: none; */
    }

    .location,
    .day {
        text-align: center;
    }

    #hero {
        min-height: 520px;
    }


    html {
        scroll-padding-top: 140px;
    }

}

@media (max-width: 360px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .class-details-grid {
        grid-template-columns: auto;
    }


}


@media (max-width: 460px) {

    .gallery-item img {
        height: 200px;
    }

    #logo-br {
        display: block;
    }

    #header-liner {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        grid-template-areas:
            "logo nav"
            "cta nav";
    }

    .header-logo {
        text-align: center;
    }

    .nav-links {
        display: block;
    }
}

.optional-breaks {
    display: none;
}

.optional-truncs {
    display: inline;
}

@media (max-width: 700px) {
    .optional-breaks {
        display: inline;
    }

    .optional-truncs {
        display: none;
    }

}