/* ==========================================================================
   Sections — hero, faixa, modalidades, horários, CTA final e footer
   Mobile first; breakpoints em 48em (768px) e 64em (1024px).
   ========================================================================== */

@property --glow-x {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 66%;
}

@property --glow-y {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 36%;
}

@property --light {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

/* Script accents revelados como pincelada (esquerda → direita) */
.js [data-reveal="lines"] .script,
.js [data-intro-script] {
  clip-path: inset(-40% 105% -40% -15%);
  transition: clip-path 1.1s var(--ease-in-out);
}

.js [data-reveal="lines"] .script {
  transition-delay: 0.45s;
}

.js [data-reveal="lines"].is-inview .script,
.is-loaded [data-intro-script] {
  clip-path: inset(-40% -15% -40% -15%);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: 50svh;
  padding-bottom: clamp(2.5rem, 6vh, 4.5rem);
  overflow: clip;
}

.hero__glow {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(40% 34% at var(--glow-x) var(--glow-y), rgb(176 8 17 / 0.34), transparent 72%),
    radial-gradient(34% 30% at 92% 76%, rgb(124 6 13 / 0.3), transparent 74%),
    radial-gradient(70% 40% at 0% 100%, rgb(124 6 13 / 0.2), transparent 70%);
  transition:
    --glow-x 1.8s var(--ease-out),
    --glow-y 1.8s var(--ease-out);
}

.hero__wall {
  display: none;
}

/* Palco em proporção fixa (4:3, igual à foto): foto, neon e emblema
   compartilham o mesmo sistema de coordenadas em qualquer viewport. */
.hero__stage {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: -1;
  height: 60svh;
  aspect-ratio: 4 / 3;
  translate: -60% 0;
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image:
    linear-gradient(to bottom, #000 45%, transparent 97%),
    linear-gradient(to right, transparent 8%, #000 30%, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, #000 45%, transparent 97%),
    linear-gradient(to right, transparent 8%, #000 30%, #000 82%, transparent 100%);
  mask-composite: intersect;
}

.hero__neon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  -webkit-mask: url("../assets/images/hero-atleta-mask.webp") 0 0 / 100% 100% no-repeat;
  mask: url("../assets/images/hero-atleta-mask.webp") 0 0 / 100% 100% no-repeat;
}

.neon path {
  fill: none;
  stroke-linecap: round;
}

.neon--red {
  stroke: url("#neon-red");
}

.neon--gold {
  stroke: url("#neon-gold");
}

.neon__glow {
  filter: url("#neon-blur");
}

.neon--red .neon__glow {
  stroke-width: 46;
  opacity: 0.6;
}

.neon--red .neon__core {
  stroke-width: 10;
}

.neon--gold .neon__glow {
  stroke-width: 26;
  opacity: 0.45;
}

.neon--gold .neon__core {
  stroke-width: 4;
}

.emblem {
  display: none;
}

.brush--hero {
  top: 34%;
  left: -15rem;
  z-index: -2;
  width: clamp(22rem, 42vw, 46rem);
  opacity: 0.75;
  rotate: -66deg;
}

.hero__inner {
  position: relative;
  z-index: var(--z-content);
}

.hero__copy {
  max-width: 64rem;
}

.hero__kicker {
  margin-bottom: clamp(1rem, 2.6vh, 1.75rem);
}

.hero__title {
  position: relative;
  font-size: var(--fs-hero);
  line-height: 0.84;
}

.hero__title .line > span {
  background: linear-gradient(180deg, #f7f4ef 0%, #e4e0da 46%, #a29d97 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__title .line:last-child {
  margin-top: 0.14em;
}

.hero__script {
  position: absolute;
  top: 50%;
  left: 0.8em;
  z-index: 1;
  color: var(--red);
  font-size: 0.62em;
  line-height: 1;
  text-shadow: 0 0.12em 0.5em rgb(0 0 0 / 0.55);
  rotate: -8deg;
  translate: 0 -58%;
  pointer-events: none;
}

.hero__lead {
  max-width: 30rem;
  margin-top: clamp(1.25rem, 3vh, 2rem);
  font-size: var(--fs-lead);
  line-height: 1.5;
}

.hero__lead span {
  display: block;
  color: var(--bone-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 3.6vh, 2.5rem);
}

.hero__actions .btn {
  flex: 1 1 100%;
}

.hero .facts {
  margin-top: clamp(2rem, 5vh, 3.25rem);
}

.hero__address {
  margin-top: 1.5rem;
  color: var(--bone-3);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.hero__address .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--red-bright);
}

.hero__motto,
.hero__scroll {
  display: none;
}

/* Hero intro (disparado por .is-loaded no <html>) */
.js [data-intro] {
  opacity: 0;
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 0.9s var(--ease-soft),
    transform 1.2s var(--ease-out);
}

.js [data-intro-line] > span {
  transform: translate3d(0, 112%, 0);
  transition: transform 1.25s var(--ease-out);
}

.js .hero__photo {
  opacity: 0;
  scale: 1.08;
  transition:
    opacity 1.6s var(--ease-soft),
    scale 2.6s var(--ease-out);
}

.js .neon path {
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1.02;
  transition: stroke-dashoffset 2s var(--ease-in-out) 0.6s;
}

.js .neon--gold path {
  transition-delay: 0.85s;
}

.js .emblem {
  opacity: 0;
  scale: 0.85;
  transition:
    opacity 1s var(--ease-soft) 1s,
    scale 1.4s var(--ease-out) 1s;
}

.is-loaded [data-intro],
.is-loaded [data-intro-line] > span {
  opacity: 1;
  transform: none;
}

.is-loaded .hero__photo {
  opacity: 1;
  scale: 1;
}

.is-loaded .neon path {
  stroke-dashoffset: 0;
}

.is-loaded .emblem {
  opacity: 1;
  scale: 1;
}

.hero__kicker { transition-delay: 0.1s; }
.hero__title .line:first-child > span { transition-delay: 0.2s; }
.hero__title .line:last-child > span { transition-delay: 0.34s; }
.hero__script { transition-delay: 0.75s; }
.hero__lead { transition-delay: 0.6s; }
.hero__actions { transition-delay: 0.7s; }
.hero .facts { transition-delay: 0.8s; }
.hero__address { transition-delay: 0.9s; }
.hero__motto { transition-delay: 1.1s; }
.hero__scroll { transition-delay: 1.25s; }

@media (min-width: 30em) {
  .hero {
    padding-top: 54svh;
  }

  .hero__stage {
    height: 64svh;
  }

  .hero__actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 64em) {
  .hero {
    justify-content: center;
    min-height: max(100svh, 46rem);
    padding-top: calc(var(--header-h) + 3.5rem);
    padding-bottom: 6rem;
  }

  .hero__stage {
    right: -7%;
    left: auto;
    height: 100%;
    translate: none;
  }

  .hero__photo {
    -webkit-mask-image:
      linear-gradient(to bottom, #000 72%, transparent 100%),
      linear-gradient(to right, transparent 4%, #000 42%);
    mask-image:
      linear-gradient(to bottom, #000 72%, transparent 100%),
      linear-gradient(to right, transparent 4%, #000 42%);
  }

  .hero__script {
    left: 0.55em;
    font-size: 0.56em;
  }

  .hero__wall {
    position: absolute;
    top: 17%;
    right: 4.5%;
    z-index: -2;
    display: block;
    color: rgb(238 234 228 / 0.075);
    font-size: clamp(2.4rem, 3.4vw, 4.25rem);
    line-height: 1;
    text-align: right;
    rotate: -9deg;
  }

  .emblem {
    position: absolute;
    top: 79%;
    left: 57%;
    display: grid;
    place-items: center;
    width: 17%;
    aspect-ratio: 1;
    translate: -50% -50%;
  }

  .emblem::before {
    content: "";
    position: absolute;
    inset: 11%;
    border: 1px solid rgb(255 255 255 / 0.12);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 35%, rgb(34 34 34 / 0.45), rgb(5 5 5 / 0.78) 70%);
    box-shadow:
      inset 0 1px 0 rgb(255 255 255 / 0.08),
      0 0 70px rgb(224 18 28 / 0.22);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }

  .emblem__ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    rotate: var(--ring-rotation, 0deg);
  }

  .emblem__ticks {
    fill: none;
    stroke: rgb(238 234 228 / 0.4);
    stroke-width: 5;
    stroke-dasharray: 0.8 5.3;
  }

  .emblem__track {
    fill: none;
    stroke: var(--red);
    stroke-width: 1.2;
    stroke-dasharray: 150 390;
    stroke-linecap: round;
  }

  .emblem__logo {
    position: relative;
    width: 56%;
    height: auto;
    filter: drop-shadow(0 10px 24px rgb(0 0 0 / 0.65));
  }

  .brush--hero {
    top: 22%;
    left: -17rem;
  }

  .hero__motto {
    position: absolute;
    right: var(--gutter);
    bottom: clamp(3rem, 9vh, 5.5rem);
    display: grid;
    justify-items: end;
    color: var(--bone-3);
    line-height: 2;
    text-align: right;
  }

  .hero__motto::before {
    content: "";
    width: 2.5rem;
    height: 1px;
    margin-bottom: 0.9rem;
    background: var(--red);
  }

  .hero__motto span {
    color: var(--bone);
  }

  .hero__scroll {
    position: absolute;
    bottom: 1.75rem;
    left: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--bone-3);
    translate: -50% 0;
  }

  .hero__scroll-line {
    position: relative;
    width: 1px;
    height: 3rem;
    overflow: hidden;
    background: var(--line);
  }

  .hero__scroll-line::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--red);
    transform: translateY(-100%);
    animation: scroll-cue 2.6s var(--ease-in-out) infinite;
  }

  .hero.is-offscreen .hero__scroll-line::after {
    animation-play-state: paused;
  }
}

/* Desktop estreito: afasta o atleta da coluna de texto */
@media (min-width: 64em) and (max-width: 74.99em) {
  .hero__stage {
    right: -24%;
  }

  .hero__motto {
    display: none;
  }
}

@media (min-width: 100em) {
  .hero__stage {
    right: -12%;
  }
}

@keyframes scroll-cue {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   Faixa editorial
   ========================================================================== */

.band {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding-block: clamp(1.25rem, 2.6vw, 2rem);
  border-block: 1px solid var(--line);
  background: var(--ink-950);
}

.band__track {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.75rem);
  width: max-content;
  transform: translate3d(var(--band-x, 0px), 0, 0);
}

.band span {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.4rem + 5vw, 6.75rem);
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.band .is-outline {
  color: transparent;
  -webkit-text-stroke: 1px rgb(238 234 228 / 0.42);
}

.band i::before {
  content: "/";
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.6vw, 4.75rem);
  font-style: normal;
}

/* ==========================================================================
   Modalidades
   ========================================================================== */

.disciplines {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y) calc(var(--section-y) * 1.1);
  overflow: clip;
}

.section-head {
  display: grid;
  gap: 1.75rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-head__title {
  margin-top: 1.25rem;
  font-size: var(--fs-display);
}

.section-head__aside {
  max-width: 22rem;
  color: var(--bone-2);
}

.section-head__count {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.25rem;
  color: var(--bone-3);
}

.section-head__count::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--red);
}

.disciplines__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.discipline {
  position: relative;
}

.discipline__link {
  --lx: 50%;
  --ly: 50%;
  position: relative;
  isolation: isolate;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-850);
  transition: --light 0.6s var(--ease-out);
}

.discipline__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8) contrast(1.05);
  transition:
    transform 1.6s var(--ease-out),
    scale 1.8s var(--ease-out),
    filter 0.9s var(--ease-out);
}

/* Sombra de leitura + luz que segue o cursor + filete */
.discipline__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(26rem circle at var(--lx) var(--ly), rgb(255 58 63 / calc(var(--light) * 0.14)), transparent 62%),
    linear-gradient(180deg, rgb(5 5 5 / 0.45) 0%, transparent 26%, transparent 42%, rgb(5 5 5 / 0.94) 100%);
  box-shadow: inset 0 0 0 1px rgb(238 234 228 / calc(0.08 + var(--light) * 0.1));
  pointer-events: none;
}

.discipline__link::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease-out);
}

.discipline__index {
  position: absolute;
  top: clamp(1rem, 2vw, 1.6rem);
  left: clamp(1.25rem, 2.4vw, 2rem);
  z-index: 2;
  color: transparent;
  font-size: clamp(3rem, 2rem + 3vw, 5.25rem);
  line-height: 1;
  -webkit-text-stroke: 1px rgb(238 234 228 / 0.55);
  transition:
    color 0.6s var(--ease-out),
    -webkit-text-stroke-color 0.6s var(--ease-out);
}

.discipline__icon {
  position: absolute;
  top: clamp(1.4rem, 2.6vw, 2.1rem);
  right: clamp(1.25rem, 2.4vw, 2rem);
  z-index: 2;
  width: 2rem;
  height: 2rem;
  transition:
    color var(--dur-base) ease,
    transform 0.8s var(--ease-out);
}

.discipline__body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  padding: clamp(1.4rem, 2.8vw, 2.4rem);
}

.discipline__title {
  font-size: var(--fs-title);
  line-height: 0.95;
}

.discipline__text {
  max-width: 24ch;
  color: var(--bone-2);
}

.discipline__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.75rem;
  color: var(--bone-3);
  transition: color var(--dur-base) ease;
}

.discipline__cta .icon {
  width: 1rem;
  height: 1rem;
  transition: transform var(--dur-base) var(--ease-out);
}

.discipline__link:hover,
.discipline__link:focus-visible {
  --light: 1;
}

.discipline__link:hover .discipline__img,
.discipline__link:focus-visible .discipline__img {
  filter: brightness(0.96) contrast(1.12);
  transform: scale(1.05);
}

.discipline__link:hover::before,
.discipline__link:focus-visible::before {
  transform: scaleX(1);
}

.discipline__link:hover .discipline__index {
  color: var(--red);
  -webkit-text-stroke-color: var(--red);
}

.discipline__link:hover .discipline__icon {
  color: var(--red-bright);
  transform: rotate(-10deg) scale(1.08);
}

.discipline__link:hover .discipline__cta {
  color: var(--bone);
}

.discipline__link:hover .discipline__cta .icon {
  color: var(--red-bright);
  transform: translate(3px, -3px);
}

.discipline__link:focus-visible {
  outline-offset: -3px;
}

/* Reveal: a moldura abre e a foto assenta */
.js .discipline[data-reveal] .discipline__img {
  scale: 1.18;
}

.js .discipline[data-reveal].is-inview .discipline__img {
  scale: 1;
}

.brush--disciplines {
  right: -16rem;
  bottom: 4%;
  z-index: -1;
  width: clamp(22rem, 42vw, 46rem);
  opacity: 0.55;
  rotate: 162deg;
}

@media (min-width: 48em) {
  .disciplines__grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }

  .discipline:nth-child(even) {
    margin-top: 5rem;
  }

  .discipline:nth-child(2) { --reveal-delay: 120ms; }
  .discipline:nth-child(4) { --reveal-delay: 120ms; }
}

@media (min-width: 64em) {
  .section-head {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .disciplines__grid {
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1.5rem;
    row-gap: 1.5rem;
  }

  .discipline--wide .discipline__link {
    aspect-ratio: 1;
  }

  .discipline:nth-child(1) {
    grid-column: 1 / span 7;
  }

  .discipline:nth-child(2) {
    grid-column: 8 / span 5;
    margin-top: 9rem;
  }

  .discipline:nth-child(3) {
    grid-column: 2 / span 5;
    margin-top: 0;
  }

  .discipline:nth-child(4) {
    grid-column: 7 / span 6;
    margin-top: 7rem;
  }
}

/* ==========================================================================
   Horários
   ========================================================================== */

.hours {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: min(100svh, 56rem);
  padding-block: calc(var(--section-y) * 1.1);
  overflow: clip;
}

.hours__media {
  position: absolute;
  inset: -12% 0;
  z-index: -3;
}

.hours__media picture,
.hours__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay escuro + bordas orgânicas no topo e na base */
.hours::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgb(5 5 5 / 0.35) 0%, rgb(5 5 5 / 0.55) 55%, rgb(5 5 5 / 0.8) 100%),
    radial-gradient(60% 70% at 85% 50%, rgb(224 18 28 / 0.18), transparent 70%);
}

.hours::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050505' d='M0 0h1440v34c-190 30-420-10-690 16S230 70 0 40z'/%3E%3C/svg%3E") top / 100% clamp(2.5rem, 5vw, 5rem) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23050505' d='M0 80h1440V36c-260 36-480-8-760 12S190 58 0 30z'/%3E%3C/svg%3E") bottom / 100% clamp(2.5rem, 5vw, 5rem) no-repeat;
  pointer-events: none;
}

.hours__ghost {
  position: absolute;
  right: -0.04em;
  bottom: 0.12em;
  z-index: -1;
  color: transparent;
  font-size: clamp(8rem, 26vw, 27rem);
  line-height: 0.8;
  -webkit-text-stroke: 1px rgb(255 255 255 / 0.13);
  pointer-events: none;
}

.hours__inner {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}

.hours__title {
  margin-top: 1.25rem;
  font-size: var(--fs-display);
  text-shadow: 0 0.1em 0.6em rgb(0 0 0 / 0.35);
}

.hours__script {
  display: block;
  width: max-content;
  margin: -0.12em 0 0 1.2em;
  color: var(--gold);
  font-size: 0.78em;
  line-height: 1;
  rotate: -6deg;
}

.hours__panel {
  width: 100%;
  max-width: 34rem;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.schedule__row {
  display: grid;
  gap: 0.4rem;
  padding-block: clamp(1.1rem, 2.2vw, 1.6rem);
  padding-left: 3.05rem;
}

.schedule__row:first-child {
  padding-top: 0.25rem;
}

.schedule__row + .schedule__row {
  border-top: 1px solid var(--line);
}

.schedule__day {
  position: relative;
  color: var(--bone-2);
  font-size: var(--fs-small);
  font-weight: 500;
}

/* Ícone dentro do <dt> (HTML válido), posicionado na coluna à esquerda */
.schedule__icon {
  position: absolute;
  top: 0.05rem;
  left: -3.05rem;
  width: 1.9rem;
  height: 1.9rem;
  color: var(--red-bright);
}

.schedule__time {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 3rem);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: none;
}

.schedule__time span {
  margin-inline: 0.3em;
  color: var(--bone-3);
  font-family: var(--font-body);
  font-size: 0.34em;
  letter-spacing: 0.14em;
  vertical-align: 0.4em;
}

.hours__link {
  margin-top: 1rem;
  color: var(--bone);
}

@media (min-width: 64em) {
  .hours__inner {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .hours__panel {
    justify-self: end;
  }
}

/* ==========================================================================
   CTA final
   ========================================================================== */

.finale {
  position: relative;
  isolation: isolate;
  padding-bottom: var(--section-y);
  overflow: clip;
}

.finale__ghost {
  position: absolute;
  top: 58%;
  left: 50%;
  z-index: -2;
  color: transparent;
  font-size: clamp(7rem, 25vw, 27rem);
  line-height: 0.8;
  white-space: nowrap;
  -webkit-text-stroke: 1px rgb(238 234 228 / 0.06);
  translate: -50% -50%;
  pointer-events: none;
}

.finale__media {
  position: relative;
  height: 68svh;
  max-height: 40rem;
  overflow: hidden;
}

.finale__photo {
  position: absolute;
  inset: -8% 0;
}

.finale__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
}

.finale__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--ink-950) 0%, transparent 16%, transparent 50%, var(--ink-950) 97%),
    linear-gradient(90deg, rgb(5 5 5 / 0.3), transparent 40%);
}

.brush--finale {
  top: 8%;
  left: -12rem;
  z-index: 1;
  width: clamp(20rem, 36vw, 40rem);
  opacity: 0.8;
  rotate: 106deg;
}

.finale__inner {
  position: relative;
  z-index: var(--z-content);
  margin-top: -7rem;
}

.finale__title {
  margin-top: 1.25rem;
  font-size: clamp(2.7rem, 1.2rem + 4.2vw, 5.9rem);
}

.line--script {
  margin-block: -0.34em -0.22em;
  padding-block: 0.34em 0.22em;
}

.finale__script {
  display: inline-block;
  margin-inline: 0.04em 0.1em;
  color: var(--gold);
  font-size: 1.12em;
  font-style: normal;
  line-height: 0.6;
  rotate: -6deg;
}

.finale__text {
  max-width: 30rem;
  margin-top: 1.5rem;
  color: var(--bone-2);
  font-size: var(--fs-lead);
}

.finale__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2.25rem;
  margin-top: 2.25rem;
}

.finale__phone {
  color: var(--bone);
  font-size: 0.9375rem;
}

.finale__phone .icon {
  width: 1.3rem;
  height: 1.3rem;
  color: var(--red-bright);
}

.finale__signature {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(1.5rem, 4vw, 3.5rem);
  color: rgb(238 234 228 / 0.12);
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);
  line-height: 1;
  rotate: -8deg;
  pointer-events: none;
}

@media (min-width: 64em) {
  .finale {
    display: grid;
    align-items: center;
    min-height: min(100svh, 58rem);
    padding-block: 0;
  }

  .finale > * {
    grid-area: 1 / 1;
  }

  .finale__media {
    align-self: stretch;
    width: 54%;
    height: auto;
    max-height: none;
  }

  .finale__media::after {
    background:
      linear-gradient(90deg, transparent 35%, var(--ink-950) 98%),
      linear-gradient(180deg, var(--ink-950) 0%, transparent 14%, transparent 84%, var(--ink-950) 100%);
  }

  .finale__ghost {
    grid-area: auto;
  }

  .brush--finale {
    grid-area: auto;
    top: 14%;
  }

  .finale__inner {
    margin-top: 0;
    padding-block: var(--section-y);
  }

  .finale__copy {
    width: min(56%, 48rem);
    margin-left: auto;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  position: relative;
  isolation: isolate;
  padding-top: clamp(4.5rem, 9vw, 8rem);
  overflow: clip;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(55% 45% at 0% 0%, rgb(124 6 13 / 0.2), transparent 70%),
    linear-gradient(var(--ink-950), var(--ink-1000));
}

.footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: var(--gutter);
  width: clamp(4rem, 10vw, 9rem);
  height: 1px;
  background: var(--red);
}

.footer__top {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}

.footer__statement {
  font-size: clamp(2.7rem, 1.1rem + 6.2vw, 8.25rem);
  line-height: 0.9;
}

.footer__emblem {
  width: clamp(5.5rem, 11vw, 9.5rem);
  transition: transform 1s var(--ease-out);
}

.footer__emblem:hover {
  transform: rotate(-8deg) scale(1.04);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.75rem 1.5rem;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.footer__col--brand {
  grid-column: 1 / -1;
}

.brand--footer .brand__mark {
  width: 3.25rem;
  height: 3.25rem;
}

.footer__tagline {
  max-width: 24rem;
  margin-block: 1.25rem 1.5rem;
  color: var(--bone-3);
  font-size: 0.9375rem;
}

.footer__heading {
  margin-bottom: 1.1rem;
  color: var(--red-bright);
}

.footer__list {
  display: grid;
  gap: 0.7rem;
  font-size: 0.9375rem;
}

.footer__address,
.footer__hours {
  color: var(--bone-2);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer__hours div + div {
  margin-top: 0.8rem;
}

.footer__hours dt {
  color: var(--bone-3);
  font-size: 0.8125rem;
}

.footer__hours dd {
  color: var(--bone);
}

.footer__map {
  margin-top: 1rem;
  color: var(--bone);
  font-size: 0.9375rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--line);
  color: var(--bone-3);
  font-size: 0.8125rem;
}

.footer__signature {
  flex: 1 1 6rem;
  max-width: 14rem;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red) 55%, var(--gold) 100%);
}

.footer__top-link {
  font-size: 0.8125rem;
}

.footer__top-link:hover .icon {
  transform: translateY(-3px);
}

.footer__wordmark {
  margin-bottom: -0.12em;
  background: linear-gradient(180deg, rgb(238 234 228 / 0.08), transparent 80%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(5.5rem, 24.5vw, 27rem);
  line-height: 0.78;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 48em) {
  .footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 64em) {
  .footer__top {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 80em) {
  .footer__grid {
    grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr));
  }

  .footer__col--brand {
    grid-column: auto;
  }
}
