* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1d1d1f;
  --font: "Onest", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .9, .25, 1);
  --nav-h: 64px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 980px; margin: 0 auto; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 max(22px, calc((100vw - 980px) / 2));
  background: rgba(22, 22, 23, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  color: #e8e8ed;
  font-size: 13px;
  letter-spacing: -0.01em;
}

.nav__lang { display: flex; gap: 20px; }
.nav__lang .short { display: none; }
.nav__lang a { opacity: .6; transition: opacity .2s; }
.nav__lang a:hover,
.nav__lang a[aria-current] { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  padding: calc(var(--nav-h) + 10vh) 22px 0;
  text-align: center;
  color: #f5f5f7;
  background: #000;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    url("assets/hero.jpg") center 70% / cover no-repeat,
    radial-gradient(120% 70% at 50% 105%, #3a3a3c 0%, #121212 45%, #000 78%);
  animation: settle 14s var(--ease) both;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(0, 0, 0, .85) 0%,
    rgba(0, 0, 0, .62) 32%,
    rgba(0, 0, 0, .28) 62%,
    rgba(0, 0, 0, .5) 100%);
}

.hero__content { position: relative; max-width: 980px; }

.hero__brand {
  color: #fff;
  font-family: "Big Shoulders Stencil", var(--font);
  font-optical-sizing: auto;
  font-size: clamp(40px, 13vw, 172px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: rise 1.1s var(--ease) .05s both;
}

.hero__brand span { color: rgba(255, 255, 255, .55); }

.hero__title {
  margin-top: clamp(44px, 6.5vw, 96px);
  font-size: clamp(30px, 4.4vw, 60px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  animation: rise 1.1s var(--ease) .15s both;
}

.hero__sub {
  margin-top: 14px;
  font-size: clamp(20px, 2.3vw, 28px);
  color: rgba(245, 245, 247, .88);
  letter-spacing: -0.012em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
  animation: rise 1.1s var(--ease) .25s both;
}

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 170px) 22px; }

.hazard {
  height: 16px;
  background: linear-gradient(-45deg, #111 25%, #ffc400 25%, #ffc400 50%, #111 50%, #111 75%, #ffc400 75%) 0 0 / 30px 30px;
}

/* ---------- Explanation (diamond plate) ---------- */
.explain {
  text-align: center;
  color: var(--ink);
  background-color: #dfe2e6;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, .55), transparent 38%, rgba(255, 255, 255, .3) 62%, transparent 85%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32'%3E%3Cg fill='%23000' fill-opacity='.14' transform='translate(.8 .9)'%3E%3Crect x='1.5' y='6.2' width='13' height='3.6' rx='1.8' transform='rotate(45 8 8)'/%3E%3Crect x='17.5' y='22.2' width='13' height='3.6' rx='1.8' transform='rotate(45 24 24)'/%3E%3Crect x='17.5' y='6.2' width='13' height='3.6' rx='1.8' transform='rotate(-45 24 8)'/%3E%3Crect x='1.5' y='22.2' width='13' height='3.6' rx='1.8' transform='rotate(-45 8 24)'/%3E%3C/g%3E%3Cg fill='%23fff' fill-opacity='.9' transform='translate(-.5 -.6)'%3E%3Crect x='1.5' y='6.2' width='13' height='3.6' rx='1.8' transform='rotate(45 8 8)'/%3E%3Crect x='17.5' y='22.2' width='13' height='3.6' rx='1.8' transform='rotate(45 24 24)'/%3E%3Crect x='17.5' y='6.2' width='13' height='3.6' rx='1.8' transform='rotate(-45 24 8)'/%3E%3Crect x='1.5' y='22.2' width='13' height='3.6' rx='1.8' transform='rotate(-45 8 24)'/%3E%3C/g%3E%3Cg fill='%23d2d6db'%3E%3Crect x='1.5' y='6.2' width='13' height='3.6' rx='1.8' transform='rotate(45 8 8)'/%3E%3Crect x='17.5' y='22.2' width='13' height='3.6' rx='1.8' transform='rotate(45 24 24)'/%3E%3Crect x='17.5' y='6.2' width='13' height='3.6' rx='1.8' transform='rotate(-45 24 8)'/%3E%3Crect x='1.5' y='22.2' width='13' height='3.6' rx='1.8' transform='rotate(-45 8 24)'/%3E%3C/g%3E%3C/svg%3E");
}

.explain .wrap { max-width: 820px; }

.explain__title {
  font-size: clamp(40px, 6.4vw, 72px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.explain__text {
  margin-top: 20px;
  font-size: clamp(19px, 2.3vw, 24px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #4a4a4e;
}

.explain__title + .explain__text { margin-top: 32px; }

.explain__text strong { color: var(--ink); font-weight: 600; }

.explain__cta {
  margin-top: 52px;
  container-type: inline-size;
  perspective: 700px;
}

.explain__steps {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Number-plate button ---------- */
.plate-btn {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  isolation: isolate;
  display: inline-block;
  padding: .12em;
  border-radius: .24em;
  background: #fff;
  font-size: clamp(16px, 8.5cqi, 42px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 18px 32px -14px rgba(0, 0, 0, .45);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .25s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.plate-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  animation: halo 2.2s ease-out infinite;
}

.plate-btn:focus-visible { outline: 3px solid #0b4ea2; outline-offset: 5px; }

.plate-btn__inner {
  position: relative;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: .07em solid #111;
  border-radius: .14em;
}

.plate-btn__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(150, 185, 235, .35) 46%, rgba(255, 255, 255, .95) 50%, rgba(150, 185, 235, .35) 54%, transparent 62%) no-repeat;
  background-size: 260% 100%;
  background-position: 140% 0;
  animation: glint 3.6s ease-in-out infinite;
}

.plate-btn__country {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 2.3em;
  padding-bottom: .55em;
  background: #0b4ea2;
  color: #fff;
  font-size: .31em;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.plate-btn__text {
  position: relative;
  display: flex;
  align-items: center;
  gap: .28em;
  padding: .29em .86em .24em;
  color: #111;
  font-family: "Barlow Condensed", var(--font);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.plate-btn__text::before,
.plate-btn__text::after {
  content: "";
  position: absolute;
  top: 50%;
  width: .19em;
  height: .19em;
  margin-top: -.095em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #9aa0a8 60%, #5d636b);
}

.plate-btn__text::before { left: .31em; }
.plate-btn__text::after { right: .31em; }

.plate-btn__arrow {
  flex: none;
  width: .72em;
  height: .72em;
  transition: transform .3s var(--ease);
}

.plate-btn:hover .plate-btn__arrow { transform: translateX(.14em); }

.plate-btn.is-hit { animation: rattle .5s ease-out; }

@keyframes halo {
  0% { box-shadow: 0 0 0 0 rgba(255, 196, 0, .75); }
  75%, 100% { box-shadow: 0 0 0 .45em rgba(255, 196, 0, 0); }
}

@keyframes glint {
  0% { background-position: 140% 0; }
  30%, 100% { background-position: -40% 0; }
}

@keyframes rattle {
  0% { transform: rotate(0); }
  15% { transform: rotate(-4deg) translateY(2px); }
  30% { transform: rotate(3deg); }
  45% { transform: rotate(-2deg); }
  60% { transform: rotate(1.2deg); }
  75% { transform: rotate(-.6deg); }
  100% { transform: rotate(0); }
}

/* ---------- Footer ---------- */
.foot {
  background: #1a1512;
  color: rgba(255, 255, 255, .6);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: normal;
}

.foot a { transition: color .2s; }

.foot__locations,
.foot__bottom { max-width: 1140px; margin: 0 auto; }

.foot__locations {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 36px 22px 32px;
}

.foot__name {
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }

.foot__label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .5);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.foot__list { list-style: none; }
.foot__list li { margin-bottom: 3px; color: rgba(255, 255, 255, .85); }

.foot__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.foot__contact svg { flex: none; width: 16px; height: 16px; color: #3b74d1; }
.foot__contact:hover { color: rgba(255, 255, 255, .75); }

.foot__addrline { grid-column: 1 / -1; margin-top: -8px; }

.foot__addr {
  color: rgba(255, 255, 255, .75);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.foot__addr:hover { color: #fff; }

.foot__hours { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 2px; color: rgba(255, 255, 255, .75); }
.foot__hours span { white-space: nowrap; }
.foot__hours span + span { color: #fff; font-weight: 600; text-align: right; }

.foot__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 14px 22px 18px;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.foot__ig {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .4);
  font-size: 14px;
  font-weight: 600;
}

.foot__ig svg { width: 18px; height: 18px; }
.foot__ig:hover { color: rgba(255, 255, 255, .7); }

.foot__info { display: flex; align-items: center; gap: 20px; color: rgba(255, 255, 255, .4); font-size: 14px; }
.foot__info a:hover { color: rgba(255, 255, 255, .7); }

@media (max-width: 734px) {
  .foot__locations { grid-template-columns: 1fr; gap: 28px; padding: 28px 20px 24px; }
  .foot__grid { grid-template-columns: 1fr; gap: 14px; }
  .foot__hours { max-width: 300px; }
  .foot__bottom { flex-direction: column; align-items: flex-start; padding: 14px 20px 18px; }
  .foot__info { flex-wrap: wrap; gap: 4px 18px; }
}

/* ---------- Motion ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .plate-btn__inner::after { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 734px) {
  :root { --nav-h: 56px; }
  .nav__lang { gap: 14px; }
  .nav__lang .full { display: none; }
  .nav__lang .short { display: inline; }
  .hero { padding-top: calc(var(--nav-h) + 8vh); }
  .hero__brand { font-size: 15.5vw; }
}
