@font-face {
  font-family: "Instrument Serif";
  src: url("assets/fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin-standard-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --grey: #1c1c1c;
  --deep: #141414;
  --step: #262626;
  --white: #fff;
  --tint: #ecedee;
  --photo: #000;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 2.4vw, 32px);
  --section: clamp(96px, 11vw, 176px);

  --t-hero: min(6.5vw, 13svh);
  --t-title: clamp(28px, 3.8vw, 60px);
  --t-row: clamp(24px, 3vw, 46px);
  --t-sub: clamp(24px, 2.3vw, 34px);
  --t-show: clamp(28px, 3vw, 44px);
  --t-body: 18px;
  --t-small: 15px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--grey);
  color: var(--white);
  font: 350 var(--t-body)/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
.sprite { position: absolute; }

.skip { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { left: var(--gutter); top: 8px; z-index: 30; width: auto; height: auto; padding: 10px 14px; clip-path: none; background: var(--white); color: var(--grey); }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }

h1, h2 {
  font-family: var(--display);
  font-stretch: 125%;
  font-weight: 200;
  letter-spacing: .005em;
  line-height: 1.1;
  text-transform: uppercase;
  text-wrap: balance;
}

h2 { font-size: var(--t-title); }

h3 {
  font-family: var(--sans);
  font-weight: 300;
  font-size: var(--t-sub);
  letter-spacing: -.01em;
  line-height: 1.15;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  background: var(--white);
  color: var(--grey);
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s var(--ease), background-color .18s, color .18s;
}

.btn:hover { background: var(--tint); }
.btn:active { transform: scale(.97); }

.btn--dark { background: var(--grey); color: var(--white); }
.btn--line { border: 2px solid var(--white); background: transparent; color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--grey); }
.btn--dark:hover { background: var(--tint); color: var(--grey); }

.link { text-underline-offset: 5px; font-weight: 600; transition: text-underline-offset .18s; }
.link:hover { text-underline-offset: 8px; }

/* Bar */

.bar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 16px var(--gutter);
  color: var(--white);
}

.bar__links { display: flex; gap: 28px; }

.bar__links a, .bar__tel {
  font-weight: 500;
  text-decoration: underline transparent;
  text-underline-offset: 6px;
  transition: text-decoration-color .2s, text-underline-offset .2s var(--ease);
}

.bar__links a:hover, .bar__tel:hover { text-decoration-color: currentColor; text-underline-offset: 3px; }

.bar__logo { grid-column: 2; display: block; width: 92px; }
.bar__tel { grid-column: 3; justify-self: end; }
.bar__menu { display: none; }

/* Hero */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  background: var(--photo);
  overflow: hidden;
  isolation: isolate;
}

.hero__stage {
  position: absolute;
  inset: auto 0 -7.4vw;
  z-index: -1;
  animation: lights-up 3.2s cubic-bezier(.45, 0, .55, 1) both;
}

.hero__img { width: 100%; }

@keyframes lights-up { from { opacity: 0; } }

.hero__title {
  padding-top: clamp(96px, 14svh, 136px);
  text-align: center;
  font-size: var(--t-hero);
  letter-spacing: -.035em;
  word-spacing: -.06em;
  line-height: .96;
}

.hero__line { display: block; }
.hero__word { display: inline-block; white-space: nowrap; }

.hero__char {
  display: inline-block;
  animation: letter-up 1.1s calc(.3s + var(--i) * 60ms) var(--ease) both;
}

@keyframes letter-up { from { opacity: 0; transform: translateY(.42em); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

.hero__foot {
  position: absolute;
  inset: auto var(--gutter) 22px;
  display: grid;
  grid-template-columns: minmax(max-content, 1fr) minmax(0, 72ch) minmax(max-content, 1fr);
  align-items: center;
  gap: var(--gutter);
  animation: rise .9s 1.1s var(--ease) both;
}

.hero__sentence { text-align: center; text-wrap: balance; }
.hero__actions { display: flex; gap: 8px; justify-self: end; }
.hero__status { font-weight: 500; white-space: nowrap; }

/* Brands */

.brands {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 36px 0 36px var(--gutter);
  background: var(--deep);
}

.brands h2 { font-size: clamp(17px, 1.6vw, 23px); white-space: nowrap; }
.brands__clip { overflow: hidden; }
.brands__track { display: flex; width: max-content; animation: marquee 52s linear infinite; }
.brands__track ul { display: flex; align-items: center; gap: clamp(44px, 5vw, 76px); padding-right: clamp(44px, 5vw, 76px); }
.brands__track img { width: auto; height: 46px; max-width: 150px; }

.mono { filter: brightness(0) invert(1); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* Service */

.service { padding-top: var(--section); background: var(--grey); }

.service__head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding: 0 var(--gutter);
}

.service__head p { max-width: 50ch; }

.service__body {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(48px, 5vw, 80px);
  padding-left: var(--gutter);
}

.service__list { display: grid; gap: 2px; padding-bottom: var(--section); }

.svc__head {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  background: transparent;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  opacity: .62;
  transition: opacity .25s, transform .35s var(--ease);
}

.svc__head svg { flex: none; width: 28px; height: 28px; stroke-width: 1.5; }
.svc__head svg path, .svc__head svg circle { stroke-width: 1.4; }
.svc__head:hover, .svc__head:focus-visible { opacity: 1; transform: translateX(6px); }
.svc.is-active .svc__head { opacity: 1; transform: none; }

.svc__body p { max-width: 40ch; }

.svc__ask {
  display: inline-block;
  margin-top: 12px;
  font-weight: 500;
  text-underline-offset: 5px;
  transition: text-underline-offset .18s;
}

.svc__ask:hover { text-underline-offset: 8px; }

.services-live .svc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}

.services-live .svc__body > * { overflow: hidden; min-height: 0; }
.services-live .svc__body { grid-template-rows: 0fr 0fr; visibility: hidden; }
.services-live .svc.is-active .svc__body { grid-template-rows: 1fr auto; padding: 0 0 24px 44px; visibility: visible; }

.service__stage {
  position: sticky;
  top: 0;
  height: min(100svh, 860px);
  overflow: hidden;
  background: #0d2233;
}

.service__stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  transform-origin: var(--x, 58%) var(--y, 33%);
  transform: scale(var(--zoom, 1));
  transition: transform 1.1s var(--ease), transform-origin 1.1s var(--ease);
}

.service__dot {
  display: none;
  position: absolute;
  left: var(--x, 58%);
  top: var(--y, 33%);
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: var(--white);
  transition: left 1.1s var(--ease), top 1.1s var(--ease);
}

.service__dot::after {
  content: "";
  position: absolute;
  inset: -12px;
  border: 1.5px solid var(--white);
  border-radius: 50%;
  animation: pulse 2.2s ease-out infinite;
}

.services-live .service__dot { display: block; }

@keyframes pulse { from { opacity: .9; transform: scale(.55); } to { opacity: 0; transform: scale(1.5); } }

/* Authorised partners */

.partner { padding: var(--section) var(--gutter); background: var(--deep); }

.partner__head {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
}

.partner__head p { max-width: 44ch; }

.partner__main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: clamp(48px, 5vw, 72px);
}

.partner__card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 32px;
  min-height: clamp(240px, 23vw, 330px);
  padding: 40px;
  background: var(--step);
  text-align: center;
}

.partner__card img { width: auto; height: clamp(56px, 6vw, 88px); max-width: 100%; }

.partner__tyres {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.partner__tyres li { display: grid; place-items: center; min-height: 128px; padding: 24px; background: var(--grey); }
.partner__tyres img { width: auto; height: 38px; max-width: 100%; }
.partner__note { margin-top: 20px; font-size: var(--t-small); }

/* Showroom */

.show { padding-top: var(--section); background: var(--photo); }

.show__head h2, .show__name {
  font-family: var(--serif);
  font-stretch: normal;
  font-weight: 400;
  letter-spacing: -.02em;
  text-transform: none;
}

.show__head h2 { font-size: clamp(52px, 7.6vw, 120px); line-height: .98; }

.show__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px var(--gutter);
  padding: 0 var(--gutter);
}

.show__filters:not([hidden]) { display: flex; gap: 4px; }

.show__filters button {
  appearance: none;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--white);
  font: 500 var(--t-body)/1 var(--sans);
  cursor: pointer;
  transition: background-color .18s, color .18s;
}

.show__filters button:hover { background: var(--step); }
.show__filters button[aria-pressed="true"] { background: var(--white); color: var(--grey); }

.show__stage {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(0, 2.5fr) minmax(210px, .85fr);
  align-items: end;
  gap: var(--gutter);
  min-height: min(78svh, 720px);
  padding: 40px var(--gutter) 28px;
  background: var(--photo) url("assets/img/stage.webp") center bottom / cover no-repeat;
}

.show__info, .show__buy { align-self: center; }

.show__name {
  min-height: 2em;
  font-size: clamp(40px, 4.4vw, 68px);
  line-height: 1;
  letter-spacing: -.02em;
}

.show__note { margin-top: 12px; max-width: 26ch; }

.show__facts {
  display: grid;
  gap: 6px;
  margin-top: 24px;
  font-family: var(--serif);
  font-size: var(--t-show);
  line-height: 1.1;
}

.show__car { width: 100%; transition: opacity .22s, transform .5s var(--ease); }
.show__car.is-changing { opacity: 0; transform: translateX(-28px) scale(.98); }

.show__buy { display: grid; justify-items: start; gap: 18px; }
.show__price { font-family: var(--serif); font-size: var(--t-show); line-height: 1; white-space: nowrap; }

.show__thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  padding: 8px var(--gutter) 0;
}

.show__thumbs [hidden] { display: none; }

.thumb {
  display: block;
  height: 100%;
  padding: 12px 14px 16px;
  background: var(--grey);
  color: var(--white);
  text-decoration: none;
  font-size: var(--t-small);
  line-height: 1.3;
  transition: background-color .2s, color .2s;
}

.thumb:hover { background: var(--step); }
.thumb__pic { display: block; }
.thumb__pic img { aspect-ratio: 3 / 2; object-fit: contain; width: 100%; transition: transform .35s var(--ease); }
.thumb:hover .thumb__pic img { transform: scale(1.05); }
.thumb[aria-current="true"] { background: var(--white); color: var(--grey); }

.thumb__name { display: block; margin-top: 8px; font-weight: 600; }
.thumb__price { display: block; }

.show__meta { padding: 20px var(--gutter) 96px; font-size: var(--t-small); }
.show__meta a { text-underline-offset: 3px; }

/* Story */

.story { padding-top: var(--section); background: var(--grey); }

.story__intro {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding: 0 var(--gutter);
}

.story__intro p { max-width: 54ch; }

.story__years {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--gutter);
  padding: clamp(56px, 7vw, 104px) var(--gutter);
}

.story__years strong { display: block; margin-bottom: 12px; font: 200 clamp(36px, 4.4vw, 68px)/1 var(--sans); font-stretch: 88%; letter-spacing: -.03em; }

.story__band {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: clamp(520px, 46vw, 720px);
  background: var(--step);
}

.story__pic { position: relative; }
.story__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 42%; }

.story__team { align-self: center; padding: 56px clamp(24px, 3.4vw, 48px); }
.story__people { width: 100%; margin-top: 28px; border-collapse: collapse; }
.story__people th { padding: 8px 16px 8px 0; font: 300 var(--t-sub)/1.15 var(--sans); letter-spacing: -.01em; text-align: left; white-space: nowrap; }
.story__people td { padding: 8px 0; font-size: 20px; text-align: right; }

/* Porsche CTA */

.cta {
  position: relative;
  display: grid;
  align-items: end;
  justify-items: center;
  min-height: 100svh;
  padding: 0 var(--gutter) clamp(56px, 9svh, 104px);
  background: var(--photo);
  color: var(--white);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.cta__img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.cta__text { display: grid; justify-items: center; gap: 20px; }
.cta__text p { max-width: 64ch; text-wrap: balance; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 12px; }

/* Reviews */

.reviews {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  padding: var(--section) var(--gutter);
  background: var(--white);
  color: var(--grey);
}

.reviews__number { font: 200 17vw/1 var(--sans); font-stretch: 88%; letter-spacing: -.04em; }

.reviews__rating { display: flex; align-items: center; gap: 14px; margin: 12px 0 10px; }
.reviews__g { flex: none; width: clamp(36px, 3.6vw, 48px); height: clamp(36px, 3.6vw, 48px); }

.stars { position: relative; color: var(--tint); }
.stars__row { display: flex; gap: 4px; }
.stars__row svg { flex: none; width: clamp(28px, 3vw, 40px); height: clamp(28px, 3vw, 40px); }
.stars__row--fill { position: absolute; inset: 0 auto 0 0; width: 96%; overflow: hidden; color: #fbbc04; }

.reviews__text h2 { font-size: var(--t-row); }
.reviews__text p { max-width: 54ch; margin-top: 24px; }
.reviews__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }

/* FAQ */

.faq {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding: var(--section) var(--gutter);
  background: var(--grey);
}

.faq h2 { position: sticky; top: 48px; }
.faq__list { display: grid; gap: 8px; }
.faq__item { background: var(--step); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: "+";
  flex: none;
  font: 300 36px/1 var(--sans);
  transition: transform .25s var(--ease);
}

.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.faq__item h3 { font-size: clamp(21px, 1.9vw, 27px); }
.faq__item p { max-width: 62ch; padding: 0 28px 28px; }

/* Visit */

.visit { display: grid; grid-template-columns: 55fr 45fr; background: var(--grey); }

.visit__where {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: clamp(56px, 7vw, 104px) var(--gutter);
}

.visit__where h2 { font-size: var(--t-row); }
.visit__area { max-width: 44ch; margin-top: -16px; }
.visit__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }

.visit__hours { padding: clamp(56px, 7vw, 104px) var(--gutter); background: var(--step); }
.visit__status { margin-top: 8px; font-weight: 600; }

.visit__table {
  width: 100%;
  margin-top: 28px;
  border-collapse: collapse;
  font: 400 clamp(18px, 1.6vw, 23px)/1.2 var(--sans);
}

.visit__table th { padding: 13px 14px; font-weight: 600; text-align: left; white-space: nowrap; }
.visit__table td { padding: 13px 14px; text-align: right; white-space: nowrap; }
.visit__table tr[aria-current] { background: var(--white); color: var(--grey); }

/* Footer */

.foot {
  display: grid;
  gap: clamp(56px, 7vw, 112px);
  padding: clamp(48px, 5vw, 72px) var(--gutter) 24px;
  background: var(--grey);
}

.foot__top {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.foot__logo { display: block; width: clamp(150px, 16vw, 240px); transition: transform .3s var(--ease); }
.foot__logo:hover { transform: rotate(-3deg); }
.foot__status { font-weight: 600; margin-bottom: 8px; }
.foot__links { display: grid; gap: 2px; }
.foot__links a { display: inline-flex; align-items: center; gap: 10px; min-height: 32px; text-decoration: none; text-underline-offset: 4px; }
.foot__links a:hover { text-decoration: underline; }
.foot__links svg { flex: none; }
.foot__as24 { width: 118px; height: auto; padding: 5px 8px; background: var(--white); }
.foot__meta a { text-underline-offset: 4px; }
.foot__meta p a + a { margin-left: 16px; }
.foot--legal { padding-top: 24px; }

/* Legal pages */

.bar--solid { position: static; background: var(--grey); }
.bar--solid .bar__links { display: flex; }

.legal {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding: clamp(56px, 7vw, 104px) var(--gutter) var(--section);
  background: var(--white);
  color: var(--grey);
}

.legal h1 { position: sticky; top: 32px; font-size: var(--t-title); }
.legal h2 { font-size: var(--t-sub); font-stretch: 100%; font-weight: 400; text-transform: none; }
.legal__text { display: grid; gap: 44px; max-width: 68ch; }
.legal__text p { margin-top: 10px; }
.legal__text section > p:first-child { margin-top: 0; }
.legal__text a { text-underline-offset: 4px; }

/* Cookie notice */

.notice {
  position: absolute;
  left: var(--gutter);
  bottom: 96px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  max-width: 460px;
  padding: 16px 18px;
  background: var(--white);
  color: var(--grey);
  font-size: var(--t-small);
  line-height: 1.4;
  animation: rise .5s 1.2s var(--ease) both;
}

.notice p { flex: 1 1 240px; }
.notice a { text-underline-offset: 3px; }
.notice .btn { min-height: 44px; padding: 0 16px; }
.notice .btn:hover { background: var(--tint); color: var(--grey); }

.foot__tel {
  justify-self: center;
  font: 200 16.6vw/.95 var(--sans);
  font-stretch: 75%;
  letter-spacing: -.03em;
  text-decoration: none;
  white-space: nowrap;
}

.foot__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px var(--gutter);
  font-size: var(--t-small);
}

/* Scroll entrances */

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

/* Tablet */

@media (max-width: 1100px) {
  .service__head { grid-template-columns: minmax(0, 1fr); }
  .service__body { grid-template-columns: minmax(0, 1fr); padding-left: 0; gap: 8px; margin-top: 40px; }
  .service__stage { order: -1; position: relative; height: 38svh; min-height: 260px; max-height: 480px; }
  .svc__head { padding: 10px 0; }
  .service__list { padding: 8px var(--gutter) 72px; }
  .show__stage { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .show__info, .show__buy { align-self: start; }
  .show__name { min-height: 0; }
  .show__note { max-width: 52ch; }
  .show__facts { display: flex; flex-wrap: wrap; gap: 4px 28px; }
  .show__buy { grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .show__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .partner__head { grid-template-columns: minmax(0, 1fr); }
  .partner__main { grid-template-columns: minmax(0, 1fr); }
  .partner__card { min-height: 220px; }
  .partner__tyres { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .partner__tyres li { grid-column: span 2; }
  .partner__tyres li:nth-child(n + 4) { grid-column: span 3; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
  .story__intro { grid-template-columns: minmax(0, 1fr); }
  .story__years { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .visit { grid-template-columns: minmax(0, 1fr); }
  .legal { grid-template-columns: minmax(0, 1fr); }
  .legal h1 { position: static; }
  .foot__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --t-hero: min(7.6vw, 13svh); }
  .hero__stage { inset: auto -24vw clamp(120px, 12svh, 150px); }
  .hero__foot { grid-template-columns: minmax(0, 1fr) auto; row-gap: 12px; }
  .notice { bottom: 132px; }
  .hero__sentence { grid-column: 1 / -1; grid-row: 1; text-align: left; }
  .hero__status { grid-column: 1; grid-row: 2; }
  .hero__actions { grid-column: 2; grid-row: 2; }
}

@media (max-width: 900px) {
  .reviews { grid-template-columns: minmax(0, 1fr); }
  .bar__links { display: none; }
  .bar__menu { display: block; position: relative; grid-column: 1; grid-row: 1; }
  .bar__menu summary { list-style: none; min-height: 44px; display: flex; align-items: center; font-weight: 600; cursor: pointer; }
  .bar__menu summary::-webkit-details-marker { display: none; }
  .bar__menu nav { position: absolute; top: 48px; left: 0; display: grid; min-width: 200px; padding: 8px 0; background: var(--white); color: var(--grey); }
  .bar__menu nav a { padding: 12px 16px; text-decoration: none; font-weight: 500; }
  .bar__logo { grid-row: 1; }
}

/* Phone */

@media (max-width: 720px) {
  :root { --t-hero: 7.2vw; --t-row: 5.2vw; --t-title: 6.5vw; }

  .bar { padding: 12px var(--gutter); }
  .bar__logo { width: 72px; }

  .hero { min-height: 680px; }
  .hero__stage { inset: auto -68vw 214px; }
  .hero__title { padding-top: 92px; }

  .hero__foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    bottom: 20px;
    text-align: center;
    justify-items: center;
  }

  .hero__sentence { grid-column: 1; grid-row: 1; text-align: center; }
  .hero__actions { grid-column: 1; grid-row: 2; justify-self: stretch; }
  .hero__actions .btn { flex: 1; justify-content: center; padding: 0 10px; }
  .hero__status { grid-column: 1; grid-row: 3; }

  .brands { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 28px 0; }
  .brands h2 { padding: 0 var(--gutter); white-space: normal; }
  .brands__track img { height: 36px; }


  .partner { padding-top: 72px; padding-bottom: 72px; }
  .partner__tyres { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner__tyres li, .partner__tyres li:nth-child(n + 4) { grid-column: auto; }
  .partner__tyres li:last-child { grid-column: 1 / -1; }

  .show { padding-top: 72px; }
  .show__head h2 { font-size: 52px; }
  .show__name { font-size: 40px; }
  .show__thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .show__meta { padding-bottom: 72px; }

  .story__years { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .story__years li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; align-items: baseline; }
  .story__years strong { margin-bottom: 0; }
  .story__band { grid-template-columns: minmax(0, 1fr); }
  .story__pic { aspect-ratio: 4 / 3; }
  .story__team { padding: 32px var(--gutter) 72px; }
  .story__people th { white-space: normal; }
  .story__people td { font-size: var(--t-small); }
  .story__years strong { font-size: var(--t-row); margin-bottom: 0; }



  .story { padding-top: 72px; }
  .story__years { padding-top: 48px; padding-bottom: 56px; }

  .cta { min-height: 0; padding-top: 74vw; padding-bottom: 72px; }
  .cta__img {
    inset: 0 auto auto 50%;
    width: 215vw;
    max-width: none;
    height: auto;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(#000 52%, transparent 96%); /* taste-skill-ignore */
    mask-image: linear-gradient(#000 52%, transparent 96%); /* taste-skill-ignore */
  }

  .reviews { grid-template-columns: minmax(0, 1fr); padding-top: 96px; padding-bottom: 72px; }
  .reviews__number { font-size: 150px; }
  .foot__tel { font-size: 18.6vw; }
  .visit__table th, .visit__table td { padding: 8px; }

  .foot__top { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .faq { padding-top: 72px; padding-bottom: 72px; }
  .faq__item summary { padding: 20px; }
  .faq__item h3 { font-size: 21px; line-height: 1.15; }
  .faq__item p { padding: 0 20px 22px; }
  .notice { right: var(--gutter); bottom: 216px; max-width: none; }
  .foot__meta { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .brands__clip { overflow: visible; }
  .brands__track { width: auto; }
  .brands__track ul { flex-wrap: wrap; row-gap: 24px; }
  .brands__track ul[aria-hidden] { display: none; }
  .reveal-ready [data-reveal] { opacity: 1; transform: none; }
}
