/*
 * East Coast MX NL (ECMX): site layout and components ("Edge of the continent").
 * Colours come from css/theme.css. Recurring motocross motifs: the number plate (yellow, white and red plates carry
 * the key facts), the start gate (the home hero's one animation: the 30-second card turns sideways, the gate drops)
 * and the race-livery underline (a red bar that ends in a yellow tab).
 * Customer layer: LiveLaps overwrites css/site.css and css/imported.css, never this file.
 */

/* ------------------------------------------------------------------ base */
:root {
  --ecmx-wrap: 1240px;
  --ecmx-gutter: 16px;
  --ecmx-section: clamp(3.5rem, 8vw, 6.5rem);
  --ecmx-line: color-mix(in srgb, var(--foreground) 14%, transparent);
  --ecmx-flare-hover: color-mix(in srgb, var(--primary) 84%, #000);
  --ecmx-on-dark: #eef2f3;
  --ecmx-on-dark-muted: color-mix(in srgb, #eef2f3 78%, transparent);
  --site-header-row-height: 4.25rem;
}
@media (min-width: 48rem) { :root { --ecmx-gutter: 32px; --site-header-row-height: 4.75rem; } }
html { scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--background); color: var(--foreground); font-family: var(--font-sans);
  font-size: 1.0625rem; line-height: 1.6; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 64rem) { body { font-size: 1.125rem; } }
*:focus-visible { outline: 3px solid var(--plate); outline-offset: 3px; border-radius: 2px; }
.band:not(.band--atlantic):not(.page-head) *:focus-visible, .ecmx-card *:focus-visible { outline-color: var(--foreground); }
img { max-width: 100%; height: auto; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .75rem 1rem; border-radius: .375rem;
  background: var(--plate); color: var(--atlantic); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 2 * var(--ecmx-gutter), var(--ecmx-wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--ecmx-gutter), 820px); }

/* ------------------------------------------------------------------ type */
h1, h2, h3, .display {
  font-family: var(--font-display); font-style: italic; font-stretch: var(--display-stretch, 125%);
  font-weight: 900; line-height: .98; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6.2vw, 5.1rem); }
h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 800; line-height: 1.1; letter-spacing: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.lede p { margin: 0; }
.small { font-size: .92rem; }
.muted { color: var(--muted-foreground); }
.copy { max-width: 40em; }
.copy :is(ul, ol) { padding-left: 1.25em; margin: 0 0 1em; }
.copy ul:not(.checklist) { list-style: disc; }
.copy ol { list-style: decimal; }
.copy li { margin-bottom: .35em; }
.copy a, .textlink { color: var(--flare-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.copy a:hover, .textlink:hover { color: var(--foreground); }
.copy h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.4em; }
.copy h3 { margin-top: 1.4em; }

/* The livery underline: a flare bar that ends in a plate-yellow tab, under section titles. */
.livery { position: relative; padding-bottom: .38em; }
.livery::after {
  content: ""; position: absolute; left: .08em; bottom: 0; width: min(5.5em, 100%); height: .14em; min-height: 5px;
  background: linear-gradient(90deg, var(--primary) 0 72%, transparent 72% 76%, var(--plate) 76%); transform: skewX(-18deg);
}

/* ------------------------------------------------------------------ buttons */
.actions { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 1.75rem; }
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--primary-foreground);
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.4rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 2px solid var(--btn-bg);
  font: italic 800 1.02rem/1.1 var(--font-display); font-stretch: 112%; letter-spacing: .005em; text-decoration: none;
  clip-path: polygon(.6rem 0, 100% 0, calc(100% - .6rem) 100%, 0 100%); padding-inline: 1.7rem; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { --btn-bg: var(--ecmx-flare-hover); }
.btn--plate { --btn-bg: var(--plate); --btn-fg: var(--atlantic); }
.btn--plate:hover { --btn-bg: #ffd95c; }
.btn--line { --btn-bg: transparent; --btn-fg: currentColor; border-color: currentColor; }
.btn--line:hover { --btn-bg: color-mix(in srgb, currentColor 12%, transparent); }
.btn--lg { min-height: 3.4rem; font-size: 1.1rem; }
.btn:focus-visible { clip-path: none; }

/* ------------------------------------------------------------------ bands (sections) */
.band { padding-block: var(--ecmx-section); background: var(--background); color: var(--foreground); }
.band--alt { background: var(--surface-alt); }
.band--white { background: var(--card); }
.band--atlantic { background: var(--atlantic); color: var(--ecmx-on-dark); }
.dark .band--atlantic { background: #04101a; }
.band--plate { background: var(--plate); color: var(--atlantic); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band--atlantic :is(.copy a, .textlink) { color: var(--plate); }
.band--atlantic :is(.copy a, .textlink):hover { color: #fff; }
.band--plate :is(.copy a, .textlink) { color: var(--atlantic); }
.band--atlantic .muted { color: var(--ecmx-on-dark-muted); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section-head > div { max-width: 46rem; }
.section-head h2 { margin-bottom: .3em; }
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); }
@media (min-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* ------------------------------------------------------------------ home hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden; background: var(--atlantic); color: var(--ecmx-on-dark);
  min-height: min(calc(100svh - var(--site-header-height, 5rem)), 56rem); display: grid; grid-template-rows: 1fr auto;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; display: block; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgb(6 17 27 / .72) 0%, rgb(6 17 27 / .35) 38%, rgb(6 17 27 / 0) 60%),
              linear-gradient(0deg, rgb(6 17 27 / .6) 0%, rgb(6 17 27 / 0) 40%);
}
.hero__body { align-self: end; padding-block: clamp(6rem, 18vh, 12rem) clamp(1.5rem, 4vw, 2.75rem); }
.hero__body > div { max-width: 34rem; }
.hero h1 { font-size: clamp(2.75rem, 5.6vw, 5.6rem); line-height: .93; margin-bottom: .35em; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.hero .lede { color: var(--ecmx-on-dark); text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.hero__badge { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem; font-weight: 700; font-size: .98rem; color: var(--ecmx-on-dark); }
.hero__badge img { width: 2.6rem; height: 2.6rem; border-radius: .45rem; }
/* Below desktop width the picture sits above the headline, so the rider never runs behind the text. */
@media (max-width: 71.99rem) {
  .hero { min-height: 0; display: block; }
  .hero__media { position: relative; aspect-ratio: 16 / 9; max-height: 62vh; width: 100%; }
  .hero__media::after { content: ""; position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(0deg, var(--atlantic), transparent); }
  .hero__media img { object-position: 62% 50%; }
  .hero::before { display: none; }
  .hero__body { padding-block: .5rem 2rem; }
  .hero h1 { font-size: clamp(2.5rem, 9vw, 4.4rem); }
}

/* The start gate. The 30-second card goes up, turns sideways, and the gate drops: once, on load. */
.gate { position: relative; background: rgb(6 17 27 / .82); border-top: 4px solid var(--primary); }
.gate__inner { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-block: .9rem; }
.gate__board { display: flex; align-items: center; gap: .9rem; }
.gate__card {
  width: 3.4rem; height: 3.4rem; display: grid; place-items: center; background: var(--fog); color: var(--atlantic);
  font: italic 900 1.7rem/1 var(--font-display); font-stretch: 112%; border: 3px solid var(--atlantic); outline: 2px solid var(--fog);
  transform-origin: 50% 50%; animation: ecmx-card 1.6s cubic-bezier(.6, 0, .3, 1) .4s both;
}
.gate__label { font-weight: 700; font-size: .95rem; line-height: 1.25; max-width: 12rem; }
.gate__label strong { display: block; font: italic 900 1.25rem/1.05 var(--font-display); font-stretch: 118%; color: var(--plate); }
.gate__bars { display: flex; gap: clamp(3px, .6vw, 8px); height: 3.4rem; perspective: 300px; overflow: hidden; }
.gate__bars span {
  flex: 1; min-width: 0; display: grid; place-items: center; background: linear-gradient(180deg, #c7d2d8, #8fa1ab);
  color: var(--atlantic); font: italic 900 .95rem/1 var(--font-display); font-stretch: 112%; border-top: 5px solid var(--plate);
  transform-origin: 50% 100%; animation: ecmx-drop .42s cubic-bezier(.5, 0, .9, .6) 2.05s both;
}
.gate__bars span:nth-child(3n+2) { animation-delay: 2.08s; }
.gate__bars span:nth-child(3n) { animation-delay: 2.11s; }
@keyframes ecmx-card {
  0% { transform: translateY(120%); opacity: 0; }
  25% { transform: translateY(0); opacity: 1; }
  70% { transform: rotate(0); }
  100% { transform: rotate(90deg); }
}
@keyframes ecmx-drop {
  0% { transform: rotateX(0); filter: brightness(1); }
  100% { transform: rotateX(78deg); filter: brightness(.55); }
}
@media (max-width: 40rem) { .gate__bars span:nth-child(n+7) { display: none; } .gate__label { font-size: .85rem; } }
@media (prefers-reduced-motion: reduce) {
  .gate__card { animation: none; transform: rotate(90deg); }
  .gate__bars span { animation: none; transform: rotateX(78deg); filter: brightness(.55); }
}

/* ------------------------------------------------------------------ number plates (key facts) */
.plates { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 40rem) and (max-width: 59.99rem) { .plates { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plates > li { display: flex; }
.plate {
  flex: 1; position: relative; padding: 1.4rem 1.4rem 1.3rem 1.6rem; background: var(--plate); color: var(--atlantic);
  border-radius: 1.1rem 1.1rem 2rem 2rem; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--atlantic) 18%, transparent);
}
.plates > li:nth-child(3n+2) .plate { background: #fff; }
.plates > li:nth-child(3n+3) .plate { background: var(--primary); color: #fff; }
.plate h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 900; font-stretch: 120%; margin-bottom: .35em; }
.plate p { font-size: 1rem; line-height: 1.5; }
.plate::before { content: ""; position: absolute; top: .7rem; left: 50%; width: 2.2rem; height: .32rem; margin-left: -1.1rem; border-radius: 1rem; background: color-mix(in srgb, currentColor 22%, transparent); }

/* ------------------------------------------------------------------ cards and tiles */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.cards > li { display: flex; }
.ecmx-card {
  flex: 1; display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; background: var(--card); color: var(--card-foreground);
  border: 1px solid var(--border); border-radius: var(--radius); border-top: 5px solid var(--primary);
}
.ecmx-card h3 { margin-bottom: .1em; }
.ecmx-card p { font-size: 1rem; }
.ecmx-card .textlink { margin-top: auto; padding-top: .5rem; }
.band--atlantic .ecmx-card { background: var(--atlantic-raised); border-color: color-mix(in srgb, #fff 12%, transparent); border-top-color: var(--plate); color: var(--ecmx-on-dark); }

/* Steps of a first race: a real sequence, so numbered gate positions. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 52rem) { .steps--row { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.steps--row > li { grid-template-columns: 1fr; }
.steps > li::before {
  content: counter(step); width: 3.2rem; height: 2.6rem; display: grid; place-items: center; background: var(--plate); color: var(--atlantic);
  font: italic 900 1.4rem/1 var(--font-display); font-stretch: 118%; border-radius: .5rem .5rem .9rem .9rem;
}
.steps h3 { margin-bottom: .3em; }
.steps p { font-size: 1rem; }
.band--atlantic .steps > li { background: var(--atlantic-raised); border-color: color-mix(in srgb, #fff 12%, transparent); }

/* Season: upcoming events (filled by js/livelaps.js) and the dates card. */
.season-dates {
  display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--atlantic-raised);
  border-left: 6px solid var(--plate); border-radius: var(--radius); color: var(--ecmx-on-dark);
}
@media (min-width: 52rem) { .season-dates { grid-template-columns: minmax(0, 1.4fr) auto; } }
.season-dates h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.season-dates .actions { margin-top: 0; }
.upcoming { margin-bottom: 2rem; }
.upcoming h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

/* Checklists */
.checklist { list-style: none; margin: 0 0 1em; padding: 0; display: grid; gap: .55rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: .8rem; background: var(--primary); clip-path: polygon(.3rem 0, 100% 0, calc(100% - .3rem) 100%, 0 100%); }
@media (min-width: 48rem) { .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }

/* FAQ */
.faq { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.faq summary { cursor: pointer; list-style: none; padding: 1.05rem 3rem 1.05rem 1.25rem; position: relative; font-weight: 800; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.5rem; border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -.15rem; }
.faq .faq__a { padding: 0 1.25rem 1.2rem; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* ------------------------------------------------------------------ inner page head */
.page-head { position: relative; isolation: isolate; overflow: hidden; background: var(--atlantic); color: var(--ecmx-on-dark); padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4.5rem); border-bottom: 6px solid var(--primary); }
.page-head__media { position: absolute; inset: 0; z-index: -2; }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; display: block; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(6 17 27 / .94) 0%, rgb(6 17 27 / .8) 45%, rgb(6 17 27 / .35) 100%); }
.page-head__inner { max-width: 46rem; }
.page-head .eyebrow { margin: 0 0 .8rem; font-weight: 700; color: var(--plate); }
.page-head .eyebrow a { color: inherit; }
.page-head .lede { color: var(--ecmx-on-dark); }
.page-head--plain { background: var(--atlantic); }

/* ------------------------------------------------------------------ contact form */
.contact-form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-form label { display: block; font-weight: 700; margin-bottom: .35rem; }
.contact-form :is(input, textarea) {
  width: 100%; box-sizing: border-box; font: inherit; padding: .75rem .9rem; border: 2px solid var(--border); border-radius: var(--radius);
  background: var(--input); color: var(--foreground);
}
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form :is(input, textarea):focus { border-color: var(--foreground); outline: none; box-shadow: 0 0 0 3px var(--plate); }
.contact-form .req { color: var(--flare-ink); }
[data-contact-status]:not(:empty) { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius); background: var(--accent); color: var(--accent-foreground); font-weight: 600; }
.note { margin-top: 1.5rem; padding: 1rem 1.2rem; border-left: 5px solid var(--plate); background: var(--surface-alt); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }

/* ------------------------------------------------------------------ news (Studio content library) */
.news-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.news-card { display: flex; flex-direction: column; background: var(--card); color: var(--card-foreground); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; height: 100%; }
.news-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.news-card__body { padding: 1.25rem 1.4rem 1.4rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.news-card__body .textlink { margin-top: auto; padding-top: .5rem; }
.kicker { font-weight: 700; font-size: .92rem; color: var(--muted-foreground); margin: 0; }
.photo { width: 100%; height: auto; border-radius: var(--radius); display: block; }

/* ------------------------------------------------------------------ header */
header[data-site-header] {
  --background: #0b2233; --foreground: #eef2f3; --muted: #123650; --muted-foreground: #b9c8d1; --accent: #183449; --accent-foreground: #eef2f3;
  --border: #1f3c52; --input: #0f2536; --ring: #ffc81e; --popover: #0b2233; --popover-foreground: #eef2f3; color-scheme: dark;
  background: var(--background) !important; color: var(--foreground) !important;
  border-bottom: 4px solid var(--primary) !important;
}
.dark header[data-site-header] { --background: #061827; --popover: #061827; border-bottom-color: var(--primary) !important; }
header[data-site-header] [data-header-container] { padding-inline: var(--ecmx-gutter); max-width: 92rem; margin-inline: auto; }
header[data-site-header] :is([data-nav-item] > a, [data-probe-item] > span, [data-more-item] > button, [data-probe-more] > span) {
  background: transparent; color: inherit; height: 2.5rem; padding: .5rem .75rem; border-radius: .25rem;
  font: italic 800 1.02rem/1 var(--font-display); font-stretch: 108%; letter-spacing: .005em; text-transform: none;
}
header[data-site-header] [data-nav-item] > a:hover { background: color-mix(in srgb, #fff 9%, transparent); color: inherit; }
header[data-site-header] [data-nav-item] > a[data-active] { background: transparent; }
header[data-site-header] [data-nav-item] > a[data-active]::after { background: var(--plate); height: 3px; inset-inline: .75rem; bottom: .1rem; border-radius: 2px; opacity: 1; }
header[data-site-header] [data-header-brand] img, header[data-site-header] [data-probe-brand] img { height: 2.6rem; width: auto; max-width: none; }
@media (max-width: 40rem) { header[data-site-header] [data-header-brand] img, header[data-site-header] [data-probe-brand] img { height: 2.15rem; } }
header[data-site-header] :is([data-header-actions] a, [data-probe-actions] > span) {
  height: 2.625rem; padding: 0 1rem; border-radius: var(--radius); font: italic 800 .98rem/1 var(--font-display); font-stretch: 108%;
  display: inline-flex; align-items: center; gap: .4rem; text-decoration: none;
}
header[data-site-header] :is([data-header-actions] a.bg-primary, [data-probe-actions] > span.bg-primary) { background: var(--plate) !important; color: #0b2233 !important; border: 2px solid var(--plate); }
header[data-site-header] [data-header-actions] a.bg-primary:hover { background: #ffd95c !important; border-color: #ffd95c; }
header[data-site-header] :is([data-header-actions] a:not(.bg-primary), [data-probe-actions] > span:not(.bg-primary)) { border: 2px solid transparent; color: inherit; }
header[data-site-header] :is([data-header-menu], [data-header-utilities] button) { color: inherit; }
header[data-site-header] [data-header-menu] {
  height: 2.75rem; min-width: 2.75rem; padding: 0 1rem; border: 2px solid currentColor; border-radius: var(--radius); background: transparent;
  font: italic 800 1rem/1 var(--font-display); gap: .5rem; align-items: center;
}
header[data-site-header] [data-header-menu]:hover { background: var(--foreground); color: var(--background); }
header[data-site-header][data-layout="stacked"] [data-header-nav] { display: none; }
header[data-site-header][data-layout="stacked"] [data-header-menu] { display: inline-flex; grid-area: menu; }
header[data-site-header][data-layout="stacked"] [data-header-grid] {
  grid-template-columns: minmax(0, 1fr) auto auto auto; grid-template-areas: "brand actions utilities menu"; grid-template-rows: var(--site-header-row-height);
}
@media (max-width: 30rem) { header[data-site-header] [data-header-actions] a:not(.bg-primary) { display: none; } }
header[data-site-header] a { text-decoration: none; }

/* ------------------------------------------------------------------ footer */
.ecmx-footer { background: var(--atlantic); color: var(--ecmx-on-dark); border-top: 6px solid var(--plate); }
.dark .ecmx-footer { background: #04101a; }
.ecmx-footer a { color: inherit; }
.footer-grid { display: grid; gap: 2rem 3rem; padding-block: clamp(2.75rem, 6vw, 4.5rem) 2rem; }
@media (min-width: 52rem) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.footer-brand img { width: 13rem; height: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--ecmx-on-dark-muted); max-width: 32ch; }
.ecmx-footer h2 { font: italic 900 1.2rem/1 var(--font-display); font-stretch: 118%; margin: 0 0 1rem; color: var(--plate); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-links a { text-decoration: none; color: var(--ecmx-on-dark-muted); font-weight: 600; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-social { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.footer-social:empty { display: none; }
.footer-social a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: .35rem .85rem; border-radius: 999px; border: 1.5px solid color-mix(in srgb, #fff 35%, transparent); text-decoration: none; font-weight: 600; }
.footer-social a:hover { background: #fff; color: var(--atlantic); }
.footer-social svg { width: 1rem; height: 1rem; }
.footer-bar { border-top: 1px solid color-mix(in srgb, #fff 16%, transparent); }
.footer-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.1rem; font-size: .9rem; color: var(--ecmx-on-dark-muted); }
.footer-bar p { margin: 0; }

/* ------------------------------------------------------------------ print */
@media print {
  header[data-site-header], .ecmx-footer, .hero__media, .page-head__media, .gate, .actions, [data-livelaps], [data-chatwoot-launcher] { display: none !important; }
  .hero, .page-head, .band--atlantic, .band--plate { background: none !important; color: #000 !important; }
  .hero::before, .page-head::before { display: none; }
  body { font-size: 11pt; }
}
