/* D1 Training Melbourne — site styles
   Brand: red #C8102E, black #101820, gray #888B8D. Headers Oswald, body Montserrat. */

@font-face { font-family: "Oswald"; src: url("../fonts/Oswald.woff2") format("woff2"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/Montserrat.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --red: #C8102E;
  --red-deep: #A50D26;
  --black: #101820;
  --ink: #1B242D;
  --gray: #888B8D;
  --wall: #5A6066;      /* the painted upper wall band in the facility */
  --line: #D9DBDC;
  --paper: #F2F2F0;
  --white: #FFFFFF;
  --head: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Montserrat", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--black); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; text-transform: uppercase; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h1 { font-size: clamp(44px, 8.2vw, 104px); }
h2 { font-size: clamp(34px, 5vw, 60px); }
h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
h4 { font-size: 20px; line-height: 1.15; }
p { margin: 0 0 1em; max-width: 68ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--black); padding: 12px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.lede { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.55; }
.small { font-size: 14px; line-height: 1.5; }
.muted { color: #5b6166; }
.on-dark .muted { color: #B9BDC0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 14px 26px; font-family: var(--head); font-weight: 600; font-size: 19px; letter-spacing: 0.03em; text-transform: uppercase; text-decoration: none; border: 2px solid var(--red); background: var(--red); color: var(--white); cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; line-height: 1.15; }
.btn:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn.ghost { background: transparent; border-color: var(--white); color: var(--white); }
.btn.ghost:hover { background: var(--white); color: var(--black); }
.btn.dark { background: var(--black); border-color: var(--black); }
.btn.dark:hover { background: var(--ink); border-color: var(--ink); }
.btn.line { background: transparent; border-color: var(--black); color: var(--black); }
.btn.line:hover { background: var(--black); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.textlink { font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--white); border-bottom: 3px solid var(--red); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 52px; height: auto; }
.brand span { font-family: var(--head); font-weight: 600; font-size: 27px; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { font-family: var(--head); font-weight: 500; font-size: 17px; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; padding: 10px 12px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--red); }
.nav .btn { min-height: 44px; padding: 8px 18px; font-size: 17px; margin-left: 10px; box-shadow: none; }
.nav .btn:hover { box-shadow: none; }
.menu-btn { display: none; margin-left: auto; background: none; border: 2px solid var(--white); color: var(--white); font-family: var(--head); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 14px; cursor: pointer; }
@media (max-width: 1080px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--black); flex-direction: column; align-items: stretch; padding: 8px var(--pad) 22px; border-bottom: 3px solid var(--red); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid #2a343e; font-size: 20px; }
  .nav .btn { margin: 16px 0 0; min-height: 54px; }
}

/* Promo bar */
.promo-bar { background: var(--red); color: var(--white); font-weight: 600; font-size: 15px; }
.promo-bar .wrap { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: center; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.promo-bar a { text-underline-offset: 3px; }

/* Hero */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,32,.93) 0%, rgba(16,24,32,.78) 42%, rgba(16,24,32,.25) 100%), linear-gradient(0deg, rgba(16,24,32,.85) 0%, rgba(16,24,32,0) 38%); }
.hero .wrap { position: relative; z-index: 2; padding-top: clamp(64px, 11vw, 150px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 11ch; }
.hero h1 span { display: block; }
.hero .lede { max-width: 46ch; margin: 26px 0 30px; color: #E8EAEB; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 34px; font-size: 15px; color: #D4D7D9; }
.hero-facts a { text-underline-offset: 3px; }
@media (min-width: 900px) { .hero > .hero-img { width: 138%; max-width: none; } }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(0deg, rgba(16,24,32,.96) 0%, rgba(16,24,32,.80) 55%, rgba(16,24,32,.55) 100%); }
  .hero .btn { width: 100%; }
}

.page-hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; }
.page-hero .hero-img { object-position: center 40%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,24,32,.94) 0%, rgba(16,24,32,.82) 50%, rgba(16,24,32,.45) 100%); }
.page-hero .wrap { position: relative; z-index: 2; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(40px, 6vw, 80px); }
.page-hero h1 { font-size: clamp(40px, 6.6vw, 84px); max-width: 14ch; }
.page-hero .lede { max-width: 50ch; margin: 22px 0 28px; color: #E8EAEB; }
.kicker { font-family: var(--head); font-weight: 500; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; color: #F2B8C1; margin: 0 0 14px; }
.on-light .kicker, .kicker.red { color: var(--red); }

/* Wall words: the character words painted on the facility walls */
.wall { background: var(--wall); color: #E3E5E6; border-top: 1px solid #6c7379; overflow: hidden; }
.wall ul { display: flex; gap: clamp(28px, 5vw, 72px); padding: 16px var(--pad); white-space: nowrap; width: max-content; font-family: var(--head); font-weight: 600; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: .06em; text-transform: uppercase; animation: wall 46s linear infinite; }
@keyframes wall { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wall ul { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.tight { padding: clamp(40px, 5vw, 64px) 0; }
.section.paper { background: var(--paper); }
.section.dark { background: var(--black); color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin: 14px 0 0; }
/* yard line: a white/red field stripe under headings */
.yard { position: relative; padding-bottom: 18px; }
.yard::after { content: ""; position: absolute; left: 0; bottom: 0; width: 96px; height: 6px; background: var(--red); }

/* Start here: the two ways in */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 2px solid var(--black); }
.path { padding: clamp(26px, 3.4vw, 44px); display: flex; flex-direction: column; background: var(--white); }
.path + .path { border-left: 2px solid var(--black); background: var(--black); color: var(--white); }
.path h3 { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 8px; }
.path .with { font-weight: 600; margin-bottom: 18px; }
.path ul { margin: 6px 0 26px; }
.path li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--line); }
.path + .path li { border-top-color: #2f3a45; }
.path li::before { content: ""; position: absolute; left: 0; top: 19px; width: 14px; height: 4px; background: var(--red); }
.path .btn { margin-top: auto; align-self: flex-start; }
.path .fine { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } .path + .path { border-left: 0; border-top: 2px solid var(--black); } .path .btn { width: 100%; } }

/* Roster: programs listed like a depth chart */
.roster { border-top: 3px solid var(--black); }
.roster a.row, .roster div.row { display: grid; grid-template-columns: 200px 150px 1fr auto; gap: 8px 24px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.roster a.row:hover { background: var(--paper); }
.roster .name { font-family: var(--head); font-weight: 700; font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; line-height: 1; }
.roster .who { font-family: var(--head); font-weight: 500; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; color: var(--red); }
.roster .what { margin: 0; max-width: 60ch; }
.roster .go { font-family: var(--head); font-size: 17px; letter-spacing: .05em; text-transform: uppercase; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 900px) { .roster a.row, .roster div.row { grid-template-columns: 1fr auto; } .roster .what { grid-column: 1 / -1; } .roster .go { grid-column: 1 / -1; } }

/* Split blocks */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { width: 100%; height: 100%; max-height: 640px; object-fit: cover; }
.split .copy > * + * { margin-top: 18px; }
.split .copy p { margin-bottom: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } .split img { max-height: 420px; } }

/* 5-Star sequence */
.five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 3px solid var(--red); counter-reset: five; margin-top: 8px; }
.five li { counter-increment: five; padding: 22px 18px 6px 0; border-right: 1px solid #2f3a45; padding-left: 18px; }
.five li:first-child { padding-left: 0; }
.five li:last-child { border-right: 0; }
.five li::before { content: counter(five); font-family: var(--head); font-weight: 700; font-size: 54px; line-height: 1; color: var(--red); display: block; margin-bottom: 10px; }
.five h4 { margin-bottom: 8px; }
.five p { font-size: 15px; line-height: 1.5; color: #C9CDD0; }
@media (max-width: 900px) { .five { grid-template-columns: 1fr; } .five li { border-right: 0; border-bottom: 1px solid #2f3a45; padding: 16px 0 10px 64px; position: relative; } .five li:first-child { padding-left: 64px; } .five li::before { position: absolute; left: 0; top: 14px; font-size: 44px; } }

/* Promotions */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.promo { border: 2px solid var(--black); background: var(--white); padding: 26px; display: flex; flex-direction: column; position: relative; }
.promo.feature { background: var(--red); border-color: var(--red); color: var(--white); }
.promo .tag { font-family: var(--head); font-weight: 500; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.promo.feature .tag { color: #FFD9DF; }
.promo h3 { margin-bottom: 12px; }
.promo p { font-size: 16px; }
.promo .until { font-size: 14px; font-weight: 600; margin-top: auto; padding-top: 8px; }
.promo a.textlink { margin-top: 14px; align-self: flex-start; }
.promo.feature a.textlink { text-decoration-color: var(--white); }
.promo.feature a.textlink:hover { color: var(--white); }

/* Schedule */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { font-family: var(--head); font-weight: 500; font-size: 17px; letter-spacing: .04em; text-transform: uppercase; padding: 8px 16px; border: 2px solid var(--black); background: var(--white); color: var(--black); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--black); color: var(--white); }
.week { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border: 2px solid var(--black); background: var(--white); }
.day { border-right: 1px solid var(--line); min-width: 0; }
.day:last-child { border-right: 0; }
.day h3 { font-size: 22px; padding: 12px 12px; background: var(--black); color: var(--white); letter-spacing: .06em; }
.slot { padding: 10px 12px; border-bottom: 1px solid var(--line); border-left: 5px solid var(--gray); }
.slot .t { font-family: var(--head); font-weight: 600; font-size: 18px; line-height: 1.2; }
.slot .p { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.slot .n { font-size: 12.5px; color: #5b6166; line-height: 1.3; }
.slot[data-p="rookie"] { border-left-color: #888B8D; }
.slot[data-p="devo"] { border-left-color: #5A6066; }
.slot[data-p="prep"] { border-left-color: #101820; }
.slot[data-p="adult"] { border-left-color: #C8102E; }
.slot[data-p="her"] { border-left-color: #E8798A; }
.slot[data-p="hyrox"] { border-left-color: #F2C200; }
.slot.hide { display: none; }
.day .none { padding: 12px; font-size: 13.5px; color: #5b6166; }
@media (max-width: 980px) { .week { grid-template-columns: 1fr 1fr; } .day { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .week { grid-template-columns: 1fr; } }
.sched-table { width: 100%; border-collapse: collapse; }
.sched-table th, .sched-table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.sched-table th { font-family: var(--head); font-size: 17px; letter-spacing: .05em; text-transform: uppercase; background: var(--black); color: var(--white); }
.sched-table td:first-child { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; white-space: nowrap; }
.sched-table .age { display: block; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--red); text-transform: none; }
.table-scroll { overflow-x: auto; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px 22px; }
.member .photo { aspect-ratio: 4 / 5; background: var(--black); color: var(--white); display: flex; align-items: flex-end; overflow: hidden; position: relative; }
.member .photo img { width: 100%; height: 100%; object-fit: cover; }
.member .mono { font-family: var(--head); font-weight: 700; font-size: 120px; line-height: .8; padding: 0 0 14px 16px; color: #2c3742; }
.member .mono::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 6px; background: var(--red); }
.member h3 { font-size: 26px; margin-top: 14px; }
.member .role { font-weight: 600; font-size: 14.5px; color: var(--red); margin: 4px 0 0; line-height: 1.35; }
.member details { margin-top: 10px; }
.member summary { cursor: pointer; font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.member details p { font-size: 15px; margin: 10px 0 0; }

/* Events */
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.cal-head h3 { font-size: clamp(26px, 3vw, 36px); }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { font-family: var(--head); font-size: 17px; letter-spacing: .05em; text-transform: uppercase; background: var(--white); border: 2px solid var(--black); padding: 8px 14px; cursor: pointer; }
.cal-nav button:hover { background: var(--black); color: var(--white); }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-top: 2px solid var(--black); border-left: 1px solid var(--line); background: var(--white); }
.cal .dow { font-family: var(--head); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; padding: 8px; background: var(--black); color: var(--white); }
.cal .cell { min-height: 108px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 6px; min-width: 0; }
.cal .cell.out { background: var(--paper); }
.cal .cell.today { box-shadow: inset 0 0 0 3px var(--red); }
.cal .num { font-family: var(--head); font-weight: 600; font-size: 17px; }
.cal .ev { display: block; margin-top: 4px; padding: 3px 6px; font-size: 11.5px; font-weight: 600; line-height: 1.25; background: var(--black); color: var(--white); overflow-wrap: anywhere; }
.cal .ev.free { background: var(--red); }
.cal .ev.closed { background: var(--gray); }
@media (max-width: 720px) { .cal .cell { min-height: 64px; padding: 4px; } .cal .ev { font-size: 0; padding: 0; height: 7px; margin-top: 3px; } .cal .dow { font-size: 12px; padding: 6px 3px; text-align: center; } }
.agenda { border-top: 3px solid var(--black); }
.agenda li { display: grid; grid-template-columns: 120px 1fr; gap: 6px 22px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.agenda .when { font-family: var(--head); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.1; }
.agenda .when small { display: block; font-family: var(--body); font-size: 13px; font-weight: 600; color: var(--red); text-transform: none; }
.agenda h4 { margin-bottom: 4px; }
.agenda p { margin: 0; font-size: 15.5px; }
.on-dark .agenda { border-top-color: var(--red); }
.on-dark .agenda .when small { color: #F2B8C1; }
.on-dark .agenda li { border-bottom-color: #2f3a45; }
@media (max-width: 560px) { .agenda li { grid-template-columns: 1fr; } }

/* Booking */
.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.booking .frame { border: 2px solid var(--black); background: var(--white); min-height: 720px; }
.booking iframe { width: 100%; min-height: 720px; border: 0; display: block; }
.booking .fallback { padding: 14px 16px; border-top: 1px solid var(--line); font-size: 14.5px; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-top: 1px solid var(--line); }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 22px; width: 14px; height: 4px; background: var(--red); }
.checks strong { display: block; font-family: var(--head); font-size: 20px; text-transform: uppercase; letter-spacing: .02em; }
.on-dark .checks li { border-color: #2f3a45; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }

.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 3px solid var(--black); }
.steps li { counter-increment: s; padding: 20px 20px 8px 0; }
.steps li::before { content: counter(s); font-family: var(--head); font-weight: 700; font-size: 48px; color: var(--red); line-height: 1; display: block; margin-bottom: 8px; }
.steps p { font-size: 15.5px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.photo-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.photo-row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 640px) { .photo-row { grid-template-columns: 1fr 1fr; } .photo-row img:last-child { display: none; } }

.note { border-left: 6px solid var(--red); background: var(--paper); padding: 18px 22px; font-size: 15px; }
.note p { margin: 0; max-width: none; }
.on-dark .note { background: #1B242D; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.visit .info { background: var(--black); color: var(--white); padding: clamp(32px, 5vw, 64px); }
.visit img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.visit dl { margin: 22px 0 28px; display: grid; grid-template-columns: 110px 1fr; gap: 10px 18px; }
.visit dt { font-family: var(--head); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: #F2B8C1; }
.visit dd { margin: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--red); color: var(--white); padding: clamp(40px, 6vw, 72px) 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 16ch; }
.cta-band .btn { background: var(--black); border-color: var(--black); }
.cta-band .btn:hover { background: var(--ink); border-color: var(--ink); }
.cta-band .btn.ghost { background: transparent; border-color: var(--white); }
.cta-band .btn.ghost:hover { background: var(--white); color: var(--black); }

/* Footer */
.site-footer { background: var(--black); color: #D4D7D9; padding: 56px 0 48px; font-size: 15px; border-top: 1px solid #2f3a45; }
@media (max-width: 760px) { .site-footer { padding-bottom: 110px; } }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--white); font-size: 18px; letter-spacing: .06em; margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer li { padding: 4px 0; }
.site-footer .legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid #2f3a45; font-size: 13px; color: #A9AEB2; }
.site-footer .legal p { max-width: none; margin-bottom: 8px; }
.site-footer .tag { margin-top: 16px; font-family: var(--head); font-size: 20px; letter-spacing: .06em; text-transform: uppercase; color: var(--white); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* Mobile sticky booking bar */
.sticky-cta { display: none; }
@media (max-width: 760px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; border-top: 3px solid var(--black); }
  .sticky-cta a { font-family: var(--head); font-weight: 600; font-size: 16px; letter-spacing: .03em; text-transform: uppercase; text-decoration: none; text-align: center; padding: 14px 8px; line-height: 1.15; }
  .sticky-cta a:first-child { background: var(--red); color: var(--white); }
  .sticky-cta a:last-child { background: var(--white); color: var(--black); }
}

.grid-3 h3, .grid-2 h3 { margin-bottom: 10px; }
.team-photo { width: 100%; max-height: 560px; object-fit: cover; object-position: center 35%; margin-top: 36px; }
@media (max-width: 640px) {
  .sched-table thead { position: absolute; left: -9999px; }
  .sched-table, .sched-table tbody, .sched-table tr, .sched-table td { display: block; width: 100%; }
  .sched-table tr { border-bottom: 2px solid var(--black); padding: 12px 0; }
  .sched-table td { border: 0; padding: 4px 0; }
  .sched-table td[data-label]::before { content: attr(data-label); display: block; font-family: var(--head); font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: #5b6166; margin-top: 6px; }
}

/* FAQ */
.faq { margin-top: 30px; border-top: 3px solid var(--black); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-family: var(--head); font-weight: 600; font-size: clamp(20px, 2.2vw, 25px); text-transform: uppercase; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 32px; font-weight: 500; color: var(--red); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; }
/* steps on dark */
.on-dark-steps { border-top-color: var(--red); }
.on-dark-steps p { color: #C9CDD0; }
/* home faces row */
.team.faces { grid-template-columns: repeat(4, 1fr); }
.team.faces a.member { text-decoration: none; }
.team.faces a.member:hover h3 { color: var(--red); }
@media (max-width: 860px) { .team.faces { grid-template-columns: 1fr 1fr; gap: 20px 14px; } .team.faces h3 { font-size: 21px; } }
/* booking on dark + calendar first on phones */
.on-dark .booking .frame, .on-dark.booking .frame, .dark .booking .frame { border-color: var(--white); color: var(--black); }
@media (max-width: 900px) { .booking > :last-child { order: -1; } }

.split img.natural { height: auto; max-height: none; }
.photo-row.four { grid-template-columns: repeat(4, 1fr); }
.photo-row.four img { aspect-ratio: 1 / 1; }
@media (max-width: 640px) { .photo-row.four { grid-template-columns: 1fr 1fr; } .photo-row.four img:last-child { display: block; } }

@media (min-width: 861px) { .split.imgbig { grid-template-columns: .8fr 1.2fr; } }

/* booking calendar loading state */
.booking .frame { position: relative; }
.frame-loading { position: absolute; inset: 0 0 auto 0; margin: 0; padding: 120px 20px 0; display: flex; flex-direction: column; align-items: center; gap: 16px; font-family: var(--head, "Oswald", sans-serif); font-size: 18px; letter-spacing: .02em; color: var(--black); pointer-events: none; }
.frame-loading .spin { width: 38px; height: 38px; border: 4px solid #e3e4e5; border-top-color: var(--red, #C8102E); border-radius: 50%; animation: d1spin .8s linear infinite; }
.frame.ready .frame-loading { display: none; }
.booking .frame iframe { position: relative; }
@keyframes d1spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .frame-loading .spin { animation-duration: 2.4s; } }
