:root {
  --night: #0e1a22;
  --gasket: #1a2c36;
  --steel: #8ba3ab;
  --frost: #d4e8ec;
  --paper: #eef6f8;
  --copper: #b87333;
  --worklight: #e8a317;
  --ink: #071015;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--frost);
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 92vh;
  padding: 2.5rem 6vw 3.2rem;
  text-decoration: none;
  background-color: var(--night);
  background-image:
    linear-gradient(180deg, rgba(7, 16, 21, 0.42) 0%, rgba(7, 16, 21, 0.28) 28%, rgba(7, 16, 21, 0.55) 55%, rgba(7, 16, 21, 0.88) 100%),
    url("images/banner.png");
  background-size: cover, 145%;
  background-position: center, 72% 38%;
  background-repeat: no-repeat;
  border-bottom: 6px solid var(--copper);
  color: var(--frost);
}

.banner:hover,
.banner:focus-visible {
  color: var(--frost);
}

.banner:focus-visible {
  outline: 3px solid var(--worklight);
  outline-offset: -3px;
}

.brand {
  position: absolute;
  top: 1.35rem;
  left: 6vw;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: min(28rem, calc(100% - 12vw));
}

.brand-mark {
  width: clamp(2.6rem, 6vw, 3.6rem);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.brand-text strong {
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.place {
  margin: 0 0 0.2rem;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(4.2rem, 14vw, 11rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}

h1.banner-copy,
.banner-copy {
  margin: 0;
  max-width: none;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(1.6rem, 4.2vw, 3.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
}

.local {
  margin: 0.7rem 0 0;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--frost);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
}

.call-line {
  display: block;
  margin-top: 0.85rem;
  color: var(--worklight);
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(2rem, 7vw, 5.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.grid-wrap {
  padding: 2.5rem 4vw 6.5rem;
}

.grid-wrap h2 {
  margin: 0 0 1.25rem;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

@media (min-width: 700px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.flip {
  aspect-ratio: 16 / 9;
  min-height: 0;
  perspective: 1200px;
  cursor: pointer;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.flip:hover .flip-inner,
.flip:focus-within .flip-inner,
.flip.is-flipped .flip-inner {
  transform: rotateY(180deg);
}

.face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid #2d4650;
  padding: 1.25rem 1.3rem;
}

.flip-front {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-color: var(--gasket);
  background-image:
    linear-gradient(180deg, rgba(7, 16, 21, 0.12) 20%, rgba(7, 16, 21, 0.82) 100%),
    var(--shot);
  background-size: cover;
  background-position: center;
  box-shadow: inset 6px 0 0 var(--copper);
}

.flip-front h3 {
  margin: 0;
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}

.flip-hint {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: var(--copper);
}

.flip-hint::after {
  content: "Hover for brands";
}

@media (hover: none) {
  .flip-hint::after {
    content: "Tap for brands";
  }
}

.flip-back {
  transform: rotateY(180deg);
  background: var(--paper);
  color: var(--ink);
}

.brands {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  align-content: center;
}

.brands li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
}

.brands img {
  width: 100%;
  height: 3.1rem;
  object-fit: contain;
  background: #fff;
  border: 1px solid #d3e0e4;
  padding: 0.28rem;
}

.brands span {
  font-size: 0.62rem;
  line-height: 1.2;
  text-align: center;
  color: #3d5056;
}

.site-foot {
  padding: 1.5rem 4vw 5.5rem;
  border-top: 1px solid #2d4650;
  color: var(--steel);
  font-size: 0.9rem;
}

.site-foot strong {
  display: block;
  color: var(--frost);
  font-weight: 600;
}

.site-foot a {
  color: var(--worklight);
  text-decoration: none;
}

.call-dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: block;
  padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: var(--worklight);
  color: var(--ink);
  font-family: "Big Shoulders Display", Impact, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.call-dock:focus-visible {
  outline: 3px solid var(--frost);
  outline-offset: -3px;
}

@media (min-width: 900px) {
  .call-dock {
    display: none;
  }

  .site-foot {
    padding-bottom: 1.75rem;
  }
}

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

  .flip-inner,
  .flip:hover .flip-inner,
  .flip:focus-within .flip-inner,
  .flip.is-flipped .flip-inner {
    transform: none;
    transition: none;
  }

  .flip {
    min-height: 0;
  }

  .flip-inner {
    min-height: 0;
    height: auto;
    display: grid;
    gap: 0;
  }

  .face {
    position: relative;
    transform: none;
  }

  .flip-back {
    min-height: 11rem;
  }
}
