:root {
    --dark: #2a2e40;
    --blue: #0c71c3;
    --red: #e02b20;
    --ink: #333;
    --muted: #666;
    --bg: #fff;
    --line: #e6e6e6;
    --heading: "Oswald", "Arial Narrow", sans-serif;
    --body: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink);
    background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
p { margin: 0 0 1em; }

h1, h2, h3 {
    font-family: var(--heading);
    font-weight: 400;
    line-height: 1.15;
    margin: 0 0 .6em;
}
.display {
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: .35em;
    text-transform: uppercase;
    color: var(--dark);
}
.display--light { color: #fff; }
.label {
    font-family: var(--body);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--ink);
}
.label--red { color: var(--red); }
.strong { font-weight: 600; }
.alert { color: var(--red); font-weight: 600; }
.alert a { color: var(--red); }
.location { color: var(--muted); }

.container { width: min(1080px, 100% - 32px); margin: 0 auto; }
.narrow { max-width: 720px; }
.center { text-align: center; }
.section { padding: 64px 0; }

/* Hero */
.hero {
    position: relative;
    min-height: 420px;
    background: var(--dark) url("../img/hero.jpg") center / cover no-repeat;
    color: #fff;
    display: flex;
    align-items: center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(42, 46, 64, .85) 0%, rgba(42, 46, 64, .45) 50%, rgba(42, 46, 64, .6) 100%);
}
.hero__inner {
    position: relative;
    width: min(1080px, 100% - 32px);
    margin: 0 auto;
    padding: 56px 0;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}
.hero__heading {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    letter-spacing: .3em;
    text-transform: uppercase;
    max-width: 4ch;
    line-height: 1.05;
    margin: 0;
}
.hero__logo { width: clamp(160px, 24vw, 260px); justify-self: center; filter: drop-shadow(0 4px 16px rgba(0, 0, 0, .4)); }
.hero__nav {
    position: absolute;
    top: 0;
    right: 0;
    padding: 16px 20px;
    display: flex;
    gap: 22px;
    font-family: var(--heading);
    text-transform: uppercase;
    letter-spacing: .15em;
    font-size: .85rem;
}
.hero__nav a { color: #fff; text-decoration: none; opacity: .85; }
.hero__nav a:hover { opacity: 1; text-decoration: underline; }

/* Photo strip */
.strip { background: var(--dark); padding: 40px 0 0; }
.strip__inner {
    width: min(1080px, 100% - 32px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    height: 220px;
}
.strip__block { height: 100%; }
.strip__block--blue { background: var(--blue); }
.strip__block--dark { background: #1c2030; }
.strip__photo { width: 100%; height: 100%; object-fit: cover; }
.strip__photo--tall { height: 320px; position: relative; z-index: 1; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.strip + main > .about { padding-top: 160px; }

/* About */
.about h2 { margin-bottom: 1.2em; }

/* Timetable */
.timetable { padding-top: 0; }
.table-wrap { overflow-x: auto; margin-top: 32px; }
.sessions {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}
.sessions th, .sessions td {
    border: 1px solid var(--line);
    padding: 12px 10px;
    text-align: center;
    vertical-align: top;
    min-width: 130px;
}
.sessions th {
    font-family: var(--heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .1em;
    background: #f7f7f7;
    color: var(--dark);
}

/* Challenge */
.challenge { padding-top: 0; }
.challenge__img { margin: 24px auto 0; width: min(420px, 100%); }

/* Programs */
.programs { background: #fafafa; }
.programs__heading { text-align: right; margin-bottom: .8em; }
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    padding: 32px 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}
.card h3 {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    font-weight: 500;
}
.card p { font-size: .92rem; margin: 0; }
.card--dark { background: var(--dark); color: #fff; }
.card--light { background: #fff; color: var(--ink); }
.card--light h3 { color: var(--dark); }
.card--blue { background: var(--blue); color: #fff; }
.programs__note { margin: 48px 0 0; }

/* Qualifications band */
.band { background: var(--red); color: #fff; padding: 48px 0; }
.band__badge { width: 250px; margin-bottom: 20px; }
.band h2 { font-family: var(--body); font-weight: 400; font-size: 1.5rem; margin-bottom: .4em; }
.band__list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }

/* Social */
.social { display: flex; justify-content: center; gap: 10px; padding: 36px 0; }
.social__link {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    border-radius: 3px;
}
.social__link--fb { background: #3b5998; }
.social__link--ig { background: #ea2c59; }

/* Contact */
.contact {
    position: relative;
    background: var(--dark) url("../img/dumbbells.jpg") center / cover no-repeat;
    color: #fff;
    padding: 96px 0;
}
.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 46, 64, .75), rgba(42, 46, 64, .7));
}
.contact__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}
.contact__text a { color: #fff; }
.contact__text p { margin: 0 0 .4em; }
.contact__logos { display: grid; gap: 20px; justify-items: end; }
.contact__logos img:first-child { width: 220px; }
.contact__fa { width: 220px; background: #fff; padding: 10px 14px; border-radius: 6px; }

.footer { background: #1c2030; color: #aab; text-align: center; padding: 18px; font-size: .8rem; }
.footer p { margin: 0; }

@media (max-width: 800px) {
    .section { padding: 48px 0; }
    .hero { min-height: 360px; }
    .hero__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 72px 0 40px; }
    .hero__heading { max-width: none; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: .2em; }
    .hero__nav { right: auto; left: 0; width: 100%; justify-content: center; gap: 18px; }
    .strip__inner { grid-template-columns: repeat(4, 1fr); height: 140px; }
    .strip__photo--tall { height: 200px; }
    .strip + main > .about { padding-top: 110px; }
    .sessions th, .sessions td { min-width: 0; padding: 10px 6px; font-size: .85rem; }
    .cards { grid-template-columns: 1fr; }
    .programs__heading { text-align: left; }
    .contact__inner { grid-template-columns: 1fr; }
    .contact__logos { justify-items: start; }
}
