:root {
  --bg: #ffffff;
  --text: #151515;
  --muted: #fff69e;
  --line: rgba(21, 21, 21, 0.14);
  --hero-text: #ffffff;
  --hero-cream: #fff1a8;
  --hero-yellow: #ffe600;
  --accent: #151515;
  --card: rgba(255, 255, 255, 0.6);
  --contact-bg: #151515;
  --contact-text: #ffffff;

  --shell: 1180px;
  --pad-x: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(4.5rem, 9vw, 9rem);
  --radius: 0.85rem;

  --step--1: clamp(0.82rem, 0.78rem + 0.18vw, 0.95rem);
  --step-0: clamp(1rem, 0.96rem + 0.22vw, 1.15rem);
  --step-1: clamp(1.25rem, 1.1rem + 0.75vw, 1.75rem);
  --step-2: clamp(1.8rem, 1.35rem + 2.1vw, 3.2rem);
  --step-3: clamp(2.8rem, 1.65rem + 5.5vw, 6.7rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2, h3 {
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.25rem;
  font-size: var(--step-3);
  font-weight: 700;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: var(--step-2);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: var(--step-1);
}

.shell {
  width: min(100% - (2 * var(--pad-x)), var(--shell));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-text);
  background:
    url("assets/byr-header.jpg") center center / cover no-repeat,
    #2a2a2a;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(90, 55, 25, .12) 10%, rgba(40, 22, 10, .68) 100%);
}

.brand {
  position: absolute;
  z-index: 2;
  top: clamp(1.25rem, 3vw, 2.5rem);
  left: var(--pad-x);
  width: clamp(10rem, 25vw, 21.875rem);
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.hero__content {
  padding-block: clamp(7rem, 18vh, 13rem) clamp(3rem, 8vh, 6rem);
}

.hero__intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.35rem);
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--hero-yellow);
  text-decoration-line: underline;
  text-decoration-color: var(--hero-yellow);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hero h1 {
  color: var(--hero-cream);
  text-shadow:
    0 0 12px rgba(255, 238, 160, 0.35),
    0 0 32px rgba(255, 220, 100, 0.18);
}

.hero h3 {
  color: var(--hero-cream);
  text-shadow:
    0 0 12px rgba(255, 238, 160, 0.35),
    0 0 32px rgba(255, 220, 100, 0.18);
}

.hero__actions,
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
}
.button {
  margin-top: 1rem;
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.8rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;

  transition:
    transform .25s ease,
    background-color .25s ease,
    border-color .25s ease,
    color .25s ease,
    box-shadow .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(255, 243, 176, .22),
    0 0 36px rgba(255, 217, 0, .08);
}


/* White primary */

.button--primary,
.button--light {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.button--primary:hover,
.button--light:hover {
  background: #fffdf5;
  color: #111;
  border-color: #fff3b0;
}


/* Ghost */

.button--ghost {
  background: rgba(255, 255, 255, .04);
  color: #fff;
  border-color: currentColor;
}

.button--ghost:hover {
  background: rgba(255, 243, 176, .12);
  color: #fff3b0;
  border-color: #fff3b0;
}


/* Black */

.button--black {
  background: #200B0B;
  color: #fff;
  border-color: #000;
}

.button--black:hover {
  background: #200B0B;
  color: #fff3b0;
  border-color: #200B0B;
}

.section {
  padding-block: var(--section-y);
  border-bottom: 1px solid var(--line);
}

.section--muted {
  background: var(--muted);
}

.section--contact {
  background: var(--contact-bg);
  color: var(--contact-text);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 8rem);
  align-items: start;
}

.prose {
  max-width: 42rem;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
}

.prose > *:last-child,
.card > *:last-child {
  margin-bottom: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 5vw, 4rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 17rem;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  background: var(--card);
}

.card__number {
  display: inline-block;
  margin-bottom: 5rem;
  font-size: var(--step--1);
  opacity: .55;
}

.card__subtitle {
  font-style: italic;
  opacity: 0.65;
  margin-bottom: 1rem;
}

.testimonials {
  display: grid;
  gap: 2.5rem;
}

.testimonial {
  margin: 0;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.testimonial:last-child {
  border-bottom: 0;
}

.testimonial p {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.35;
  margin: 0 0 1rem;
}

.testimonial footer {
  font-size: 0.95rem;
  opacity: 0.6;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 2rem;
  width: 100%;
}

.text-link {
  font-size: var(--step--1);
}

.footer {
  padding-block: 1.4rem;
  font-size: var(--step--1);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: center;
}

.footer p {
  margin: 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Tablet */
@media (max-width: 1024px) {
  .hero {
    min-height: 82svh;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .card:last-child {
    grid-column: 1 / -1;
  }
}

/* Small tablet / large phone */
@media (max-width: 768px) {
  .hero {
    min-height: 78svh;
  }

  .brand {
    width: clamp(7rem, 28vw, 10rem);
  }

  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .contact__actions {
    justify-content: flex-start;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card:last-child {
    grid-column: auto;
  }

  .card {
    min-height: 0;
  }

  .card__number {
    margin-bottom: 3.5rem;
  }
}

/* Phone */
@media (max-width: 480px) {
  :root {
    --pad-x: 1.1rem;
  }

  .hero {
    min-height: 100svh;
    background-position: center center;
  }

  .hero__content {
    padding-bottom: 2rem;
  }

  .hero__actions,
  .contact__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Very wide screens */
@media (min-width: 1440px) {
  :root {
    --shell: 1280px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
