/* ==========================================================================
   Sheffield Dance Centre — base.css
   "Soft Steel" design system: warm cream ground, everything rounded,
   muted-primary geometric accents, Outfit headlines over Figtree body.
   Original identity for Sheffield — unlike the post-it family and unlike
   Plymouth's navy editorial. Concatenated with nav.css + footer.css → site.css.
   ========================================================================== */

/* --- Self-hosted fonts (Google Fonts, SIL Open Font License) --- */
@font-face { font-family: "Outfit";  font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/Outfit-variable.woff2") format("woff2-variations"), url("../fonts/Outfit-variable.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/Figtree-variable.woff2") format("woff2-variations"), url("../fonts/Figtree-variable.woff2") format("woff2"); }

:root {
    /* Ground */
    --cream: #f6efe2;
    --cream-2: #ece4d4;
    --cream-3: #e2d9c6;
    --ink: #1e1b16;
    --text: #3b3630;
    --muted: #6b645b;
    --line: rgba(30, 27, 22, 0.12);

    /* Accents — shapes, labels, CTAs (never long body text) */
    --coral: #e9714f;
    --coral-press: #d8603f;
    --mustard: #d9a53b;
    --teal: #2ea38a;
    --sky: #4b9fc4;
    --brick: #a8514a;
    --orchid: #c98fc0;
    --coral-ink: #b4472a;   /* AA-safe coral for small text on cream */
    --teal-ink: #1f7a67;

    /* Type */
    --display: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;
    --fs-sm: 0.8125rem;
    --fs-base: 0.9375rem;

    /* Shape + rhythm */
    --r-card: 18px;
    --r-hero: 22px;
    --r-sm: 12px;
    --r-pill: 999px;
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --container: 1180px;
    --transition: 0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e6dcc8; color: var(--text); font: 15px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; min-width: 0; }
/* grid/flex children must be allowed to shrink below their content size */
.tile, .film-strip img, .hen-grid > *, .classes-grid > *, .local-grid > *, .map-grid > *, .wedding-split > *, .cta-zone > *, .form-grid > * { min-width: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin-top: 0; }

/* --- Page frame: content sits in a centred frame on wide screens --- */
.page { max-width: 1400px; margin: 0 auto; background: var(--cream); min-height: 100vh; overflow-x: clip; box-shadow: 0 0 0 1px rgba(30, 27, 22, 0.06), 0 30px 80px -40px rgba(30, 27, 22, 0.35); }
@media (min-width: 1440px) { .page { margin: 24px auto; border-radius: 26px; overflow: clip; } }

/* --- Headline voice: short, centred, friendly geometric --- */
.headline {
    font-family: var(--display);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: var(--ink);
    margin: 0;
}

.headline--center { text-align: center; }
.headline--light { color: #fff; }
.headline em { font-style: normal; color: var(--coral); }

/* --- Eyebrow pill --- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream-2);
    color: var(--ink);
    border-radius: var(--r-pill);
    padding: 6px 14px 6px 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 0 0 18px;
}

.eyebrow::before {
    content: "";
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--coral);
}

.eyebrow--teal::before { background: var(--teal); }
.eyebrow--coral::before { background: var(--coral); }
.eyebrow--mustard::before { background: var(--mustard); }
.eyebrow--sky::before { background: var(--sky); }
.eyebrow--orchid::before { background: var(--orchid); }
.eyebrow--light { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* --- Section lead (centred paragraph under a headline) --- */
.lead {
    max-width: 640px;
    margin: 18px auto 0;
    text-align: center;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

/* --- Buttons: pills --- */
.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    border: 0;
    cursor: pointer;
    transition: transform 0.16s ease, background var(--transition), color var(--transition), box-shadow var(--transition);
}

.button:active { transform: scale(0.97); }

.button--coral { background: var(--coral); color: #fff; box-shadow: 0 8px 22px -10px rgba(233, 113, 79, 0.7); }
.button--coral:hover { background: var(--coral-press); }
.button--ink { background: var(--ink); color: #fff; }
.button--ink:hover { background: #3b3630; }
.button--ghost { background: var(--cream-2); color: var(--ink); }
.button--ghost:hover { background: var(--cream-3); }
.button--sky { background: var(--sky); color: #fff; }
.button--sky:hover { background: #3f8fb2; }

/* --- Text link --- */
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    border-bottom: 2px solid var(--coral);
    padding-bottom: 3px;
    transition: color var(--transition);
}

.text-link:hover { color: var(--coral-ink); }

/* --- Shape confetti (decorative, aria-hidden) --- */
.shape {
    position: absolute;
    pointer-events: none;
}

.shape--circle { width: 34px; height: 34px; border-radius: 50%; background: var(--mustard); }
.shape--semi { width: 44px; height: 22px; border-radius: 44px 44px 0 0; background: var(--coral); }
.shape--arch { width: 30px; height: 40px; border-radius: 30px 30px 0 0; background: var(--teal); }
.shape--diamond { width: 26px; height: 26px; background: var(--sky); transform: rotate(45deg); }
.shape--dot { width: 18px; height: 18px; border-radius: 50%; background: var(--orchid); }
.shape--cross { width: 26px; height: 26px; background:
    linear-gradient(var(--orchid), var(--orchid)) center / 100% 8px no-repeat,
    linear-gradient(var(--orchid), var(--orchid)) center / 8px 100% no-repeat; transform: rotate(45deg); }
.shape--square { width: 26px; height: 26px; border-radius: 6px; background: var(--brick); }

/* --- Section shell --- */
.section { padding: 80px clamp(20px, 5vw, 64px); position: relative; }

/* Alternating bands give each section its own ground */
.section--band { background: var(--cream-2); }
.section--band .tile { background: var(--cream); }
.section--band .tile:hover { background: #fff; }
.section--band .faq-item { background: var(--cream); }
.section--band .eyebrow { background: var(--cream); }
.section--band .local-card:not(.local-card--ink), .section--band .map-grid__copy, .section--band .wedding-split__copy { background: var(--cream); }
.section--tight { padding: 64px clamp(20px, 5vw, 64px); }
.container { max-width: var(--container); margin: 0 auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 44px; position: relative; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); }

/* --- Bento tiles --- */
.tile {
    background: var(--cream-2);
    border-radius: var(--r-card);
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 1), background 0.25s ease;
}

.tile:hover { transform: translateY(-4px); background: var(--cream-3); }

.tile__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--teal);
    margin-bottom: 8px;
}

.tile__icon--arch { border-radius: 17px 17px 0 0; background: var(--coral); }
.tile__icon--square { border-radius: 8px; background: var(--mustard); }
.tile__icon--sky { background: var(--sky); }
.tile__icon--orchid { background: var(--orchid); border-radius: 8px; }
.tile__icon--brick { background: var(--brick); border-radius: 17px 17px 0 0; }

.tile h3 { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); margin: 0; }
.tile p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.tile--photo { padding: 0; overflow: hidden; position: relative; min-height: 260px; background: var(--ink); }
.tile--photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile--photo span { position: absolute; left: 18px; bottom: 16px; background: rgba(30, 27, 22, 0.72); color: #fff; padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; }

/* --- Pill strip (trusted-by style) --- */
.pill-strip { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.pill-strip span { background: var(--cream-2); color: var(--ink); border-radius: var(--r-pill); padding: 12px 22px; font-size: 13px; font-weight: 700; }

/* --- Call-to-action form card (shared: hub, theme pages, class pages, home) --- */
.cta-zone {
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-hero);
    padding: clamp(36px, 5vw, 64px);
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.cta-zone__pitch h2 { font-size: clamp(32px, 3.8vw, 48px); color: #fff; }
.cta-zone__pitch > p:not(.eyebrow) { color: #d9d3c8; line-height: 1.7; max-width: 400px; margin: 18px 0 0; }
.cta-zone__points { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.cta-zone__points li { display: flex; gap: 12px; align-items: baseline; color: #f1ece2; font-size: 14px; }
.cta-zone__points i { color: var(--mustard); font-size: 12px; }

.form-card {
    background: var(--cream);
    color: var(--text);
    border-radius: var(--r-card);
    padding: 28px 28px 26px;
}

.form-card__banner {
    display: inline-block;
    background: var(--coral);
    color: #fff;
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(18px, 2vw, 22px);
    letter-spacing: -0.01em;
    border-radius: var(--r-pill);
    padding: 10px 20px;
    margin-bottom: 10px;
}

.form-card__sub { color: var(--muted); font-size: 13px; margin: 0 0 20px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid label { display: flex; flex-direction: column; gap: 7px; color: var(--ink); font-size: 13px; font-weight: 700; }
.form-grid .req { color: var(--coral-ink); }
.form-grid .full-field { grid-column: span 2; }

.form-grid input, .form-grid select, .form-grid textarea {
    appearance: none;
    width: 100%;
    background: #fff;
    border: 1.5px solid var(--cream-3);
    border-radius: 10px;
    padding: 12px 16px;
    color: var(--ink);
    outline: none;
    font-size: 14px;
    font-family: var(--sans);
    font-weight: 500;
    resize: vertical;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-grid select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231e1b16' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 36px;
}

.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(233, 113, 79, 0.18); }
.form-grid ::placeholder { color: #9a9288; }
.form-card .form-button { grid-column: span 2; width: 100%; padding: 16px 20px; font-size: 15px; margin-top: 4px; }
.form-card .form-note { grid-column: span 2; color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0; text-align: center; }

/* --- FAQ accordion (rounded rows) --- */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: var(--cream-2); border-radius: 14px; padding: 0 22px; }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__number { width: 28px; height: 28px; border-radius: 50%; background: var(--mustard); color: var(--ink); font-size: 11px; font-weight: 800; display: grid; place-items: center; flex-shrink: 0; }
.faq-item:nth-child(2n) .faq-item__number { background: var(--teal); color: #fff; }
.faq-item:nth-child(3n) .faq-item__number { background: var(--sky); color: #fff; }
.faq-item:nth-child(4n) .faq-item__number { background: var(--orchid); }
.faq__q, .dc-faq__q, .faq-item__q { font-family: var(--display); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); flex: 1; line-height: 1.25; }
.faq-item summary i { color: var(--ink); font-size: 12px; transition: transform var(--transition); }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item > p { color: var(--muted); font-size: 14px; line-height: 1.75; margin: 0 0 20px 44px; max-width: 640px; }

/* --- Breadcrumb chips --- */
.crumbs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 22px clamp(20px, 5vw, 64px) 0; font-size: 12px; font-weight: 700; max-width: calc(var(--container) + 2 * clamp(20px, 5vw, 64px)); margin: 0 auto; }
.crumbs a, .crumbs span { background: var(--cream-2); border-radius: var(--r-pill); padding: 7px 14px; color: var(--ink); }
.crumbs span { background: var(--ink); color: #fff; }
.crumbs a:hover { background: var(--cream-3); }
.crumbs b { color: var(--muted); font-weight: 400; }

/* --- Responsive --- */
@media (max-width: 860px) {
    .cta-zone { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .section { padding: 64px 18px; }
    .cta-zone { padding: 28px 20px; border-radius: 28px; }
    .form-card { padding: 22px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-grid .full-field, .form-card .form-button, .form-card .form-note { grid-column: span 1; }
    .faq__q, .dc-faq__q, .faq-item__q { font-size: 16px; }
    .faq-item > p { margin-left: 0; }
}
/* ==========================================================================
   Icons — replaces Font Awesome (253 KB of webfonts for 11 glyphs).
   Same class names (.fas .fa-check etc) so no markup changes; each icon is a
   tiny original SVG used as a mask, coloured by currentColor.
   ========================================================================== */
.fas, .fab {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    background-color: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.fa-check        { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M2 8.5l4 4L14 4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fa-plus         { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 2v12M2 8h12' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>"); }
.fa-chevron-down { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3 6l5 5 5-5' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.fa-star         { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 1.5l2 4.3 4.7.5-3.5 3.2 1 4.6L8 11.8 3.8 14.1l1-4.6L1.3 6.3 6 5.8z'/></svg>"); }
.fa-heart        { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 14.2S1.6 10.2 1.6 5.6A3.4 3.4 0 0 1 8 4a3.4 3.4 0 0 1 6.4 1.6c0 4.6-6.4 8.6-6.4 8.6z'/></svg>"); }
.fa-envelope     { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M1.5 3.5h13v9h-13z' fill='none' stroke='black' stroke-width='1.6'/><path d='M1.8 4l6.2 5 6.2-5' fill='none' stroke='black' stroke-width='1.6'/></svg>"); }
.fa-phone        { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M3.4 1.6l2.3 2.6-1.4 1.9c.9 2 2.3 3.4 4.3 4.3l1.9-1.4 2.6 2.3-1.7 2.1C8 14 2 8 2.6 3.3z'/></svg>"); }
.fa-location-dot { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M8 15s5-5.2 5-8.8A5 5 0 0 0 3 6.2C3 9.8 8 15 8 15zm0-6.6a2.2 2.2 0 1 1 0-4.4 2.2 2.2 0 0 1 0 4.4z'/></svg>"); }
.fa-clock        { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><circle cx='8' cy='8' r='6.2' fill='none' stroke='black' stroke-width='1.6'/><path d='M8 4.5V8l2.6 1.6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'/></svg>"); }
.fa-facebook-f   { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M9.2 15V9h2l.3-2.4H9.2V5.1c0-.7.2-1.2 1.2-1.2h1.3V1.8A17 17 0 0 0 9.8 1.7c-1.9 0-3.2 1.1-3.2 3.2v1.7h-2V9h2v6z'/></svg>"); }
.fa-instagram    { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><rect x='2' y='2' width='12' height='12' rx='3.4' fill='none' stroke='black' stroke-width='1.6'/><circle cx='8' cy='8' r='2.8' fill='none' stroke='black' stroke-width='1.6'/><circle cx='11.6' cy='4.4' r='.9'/></svg>"); }

/* light eyebrows inside ink cards must survive the band override */
.section--band .eyebrow.eyebrow--light { background: rgba(255, 255, 255, 0.16); color: #fff; }


/* ==========================================================================
   Sheffield Dance Centre — nav.css
   Floating pill masthead on the cream ground. Same nav__* skeleton and
   750px breakpoint as the rest of the network so js/nav.js is unchanged.
   ========================================================================== */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    /* no backdrop-filter: it would become the containing block for the fixed mobile drawer */
}

.header__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px clamp(16px, 3vw, 40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}

/* --- Brand --- */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 17px;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
}

.brand__mark {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--coral);
    position: relative;
    flex-shrink: 0;
}

/* a little dancer: mustard head + teal arch body inside the coral disc */
.brand__mark::before { content: ""; position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--mustard); left: 12.5px; top: 6px; }
.brand__mark::after { content: ""; position: absolute; width: 16px; height: 13px; border-radius: 16px 16px 3px 3px; background: var(--cream); left: 9px; top: 16px; }

.brand small { display: block; font-family: var(--sans); font-weight: 600; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* --- Pill nav --- */
.nav__list {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--cream-2);
    border-radius: var(--r-pill);
    padding: 5px;
}

.nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    border-radius: var(--r-pill);
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    transition: background var(--transition), color var(--transition);
}

.nav__link:hover { background: var(--cream); }
.nav__link i { font-size: 0.55rem; transition: transform var(--transition); }

.nav__link--cta { background: var(--coral); color: #fff; margin-left: 4px; }
.nav__link--cta:hover { background: var(--coral-press); color: #fff; }

/* --- Dropdowns (desktop) --- */
.nav__item--has-dropdown { position: relative; }

.nav__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    max-height: 70vh;
    overflow-y: auto;
    background: var(--cream);
    border: 1px solid var(--cream-3);
    border-radius: 14px;
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    box-shadow: 0 24px 50px -20px rgba(30, 27, 22, 0.35);
}

.nav__dropdown a {
    display: block;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--text);
    transition: background var(--transition), color var(--transition);
}

.nav__dropdown a:hover { background: var(--cream-2); color: var(--ink); }

@media (min-width: 751px) {
    .nav__item--has-dropdown:hover > .nav__dropdown,
    .nav__item--has-dropdown:focus-within > .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
    .nav__item--has-dropdown:hover .nav__link i { transform: rotate(180deg); }
}

@media (max-width: 1024px) and (min-width: 751px) {
    .nav__link { font-size: 12px; padding: 8px 10px; }
    .brand small { display: none; }
}

/* --- Hamburger --- */
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; align-items: center; background: var(--cream-2); border-radius: 50%; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform var(--transition), opacity var(--transition); }
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Mobile drawer --- */
@media (max-width: 750px) {
    .nav__toggle { display: flex; }
    .nav { position: fixed; top: 63px; right: 0; bottom: 0; width: 86vw; z-index: 200; background: var(--cream); transform: translateX(100%); transition: transform 280ms ease; overflow-y: auto; padding: 18px; border-left: 1px solid var(--cream-3); box-shadow: -20px 0 40px -20px rgba(30, 27, 22, 0.3); }
    .nav.active { transform: translateX(0); }
    .nav__list { flex-direction: column; align-items: stretch; gap: 0; background: transparent; padding: 0; }
    .nav__item { border-bottom: 1px solid var(--line); }
    .nav__link { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 15px; border-radius: 0; }
    .nav__link:hover { background: transparent; }
    .nav__link--cta { margin: 14px 0 0; justify-content: center; border-radius: var(--r-pill); }
    .nav__dropdown { position: static; transform: none; min-width: 0; max-height: 0; overflow: hidden; opacity: 1; visibility: visible; border: none; box-shadow: none; background: transparent; padding: 0; border-radius: 0; transition: max-height 320ms ease; }
    .nav__item--has-dropdown.active .nav__dropdown { max-height: 60vh; overflow-y: auto; }
    .nav__item--has-dropdown.active .nav__link i { transform: rotate(180deg); }
}


/* ==========================================================================
   Sheffield Dance Centre — footer.css
   Rounded ink footer floating on the cream ground, four columns,
   geometric shape accents.
   ========================================================================== */

.site-footer {
    margin: 40px clamp(12px, 2vw, 24px) 24px;
    background: var(--ink);
    color: #d9d3c8;
    border-radius: var(--r-hero);
    padding: 52px clamp(24px, 5vw, 64px) 30px;
    display: grid;
    grid-template-columns: 1.3fr 0.75fr 0.75fr 1.2fr;
    column-gap: 40px;
    row-gap: 32px;
    align-items: start;
    position: relative;
    overflow: hidden;
}

.site-footer::before { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: var(--mustard); opacity: 0.16; }
.site-footer::after { content: ""; position: absolute; left: 38%; bottom: -60px; width: 120px; height: 120px; border-radius: 60px 60px 0 0; background: var(--teal); opacity: 0.16; }
.site-footer > * { position: relative; z-index: 1; }

.site-footer .brand { color: #fff; }
.site-footer .brand small { color: #a39b8f; }
.site-footer__tagline { font-size: 13px; line-height: 1.65; max-width: 260px; margin: 16px 0 0; }

.site-footer__heading { display: block; color: #fff; font-family: var(--display); font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.site-footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 13px; font-weight: 600; padding-top: 6px; }
.site-footer__links a:hover { color: var(--mustard); }

.site-footer__contact { display: flex; flex-direction: column; gap: 10px; font-size: 13px; padding-top: 6px; }
.site-footer__contact-list { display: flex; flex-direction: column; gap: 10px; }
.site-footer__contact-list li { display: flex; align-items: center; gap: 10px; }
.site-footer__contact-list i { color: var(--mustard); width: 16px; text-align: center; }
.site-footer__contact-list a:hover { color: #fff; }

.site-footer__social { display: flex; gap: 10px; margin-top: 6px; }
.site-footer__social a { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #d9d3c8; transition: background var(--transition), color var(--transition); }
.site-footer__social a:hover { background: var(--coral); color: #fff; }

.site-footer__copyright { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.12); color: #a39b8f; font-size: 12px; margin: 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 860px) { .site-footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer { grid-template-columns: 1fr; padding: 40px 22px 24px; border-radius: 16px; margin: 24px 10px 12px; } .site-footer__copyright { grid-column: auto; } }
