/* ==========================================================================
   OneOff Limited Cars
   Mobile-first; desktop layout from 992px (Bootstrap "lg").
   Design reference: Figma "ONEOFF - SITE"
     Home (7:156) / Mobiel Home (169:1793)
     Services (87:4) / Mobiel Services (169:1911)
     Car Hunter (159:6) / Mobiel Services detail (169:2161)
     Referenties (92:16) / Mobiel Referenties (169:2047)
     Over OneOff (92:107) / Mobiel Over OneOff (169:1957)
     Cookie policy (140:99) / Mobiel Cookies (169:1995)
     Algemene voorwaarden (140:172) / Mobiel Algemene voorwaarden (169:2021)
     Contact (96:316) / Mobiel Contact (169:2081)
     Contact verzonden (140:2) / Mobiel Contact verzonden (169:2131)
   ========================================================================== */

/* Sora is served from this site, not from Google Fonts, so a visit doesn't send the visitor's
   IP address to Google. Variable font (weights 100-800, Fontsource, OFL), split like Google's subsets. */
@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/fonts/sora-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --oo-gold: #8a7444;
  --oo-black: #000;
  --oo-white: #fff;
  --oo-grey-bg: #e1e1e1;
  --oo-grey-line: #d0d0d0;
  --oo-dark: #323232;
  --oo-grey-label: #afafaf;
  --oo-error: #e5826f;

  --oo-font: "Sora", system-ui, sans-serif;
  --oo-gutter: 30px;
  --oo-container: 1270px;
}

/* Base ------------------------------------------------------------------- */

body {
  margin: 0;
  background: var(--oo-black);
  color: var(--oo-white);
  font-family: var(--oo-font);
  font-weight: 300;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  display: block;
  max-width: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

p,
h1,
h2,
blockquote,
figure,
address {
  margin: 0;
}

.container-oneoff {
  width: 100%;
  padding-inline: var(--oo-gutter);
}

@media (min-width: 992px) {
  .container-oneoff {
    padding-inline: max(100px, calc((100% - var(--oo-container)) / 2));
  }
}

/* Shared components ------------------------------------------------------ */

.eyebrow {
  color: var(--oo-gold);
  font-size: 16px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.btn-oneoff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 181px;
  height: 32px;
  background: url("../assets/icons/button-bg.svg") center / 100% 100% no-repeat;
  color: var(--oo-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: filter .2s ease;
}

.btn-oneoff:hover,
.btn-oneoff:focus-visible {
  color: var(--oo-white);
  filter: brightness(1.15);
}

button.btn-oneoff {
  padding: 0;
  border: 0;
}

/* Wider button for longer labels ("Bericht verzenden") */
.btn-oneoff--wide {
  width: 194px;
  background-image: url("../assets/icons/button-bg-wide.svg");
}

@media (min-width: 992px) {
  .eyebrow {
    font-size: 18px;
    line-height: 23px;
  }

  .btn-oneoff {
    width: 226px;
    height: 40px;
    font-size: 16px;
  }

  .btn-oneoff--wide {
    width: 246px;
  }
}

.whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--oo-gold);
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: filter .2s ease, transform .2s ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  filter: brightness(1.15);
  transform: scale(1.05);
}

.whatsapp-button img {
  width: 28px;
  height: 28px;
}

@media (min-width: 992px) {
  .whatsapp-button {
    right: 36px;
    bottom: 36px;
    width: 60px;
    height: 60px;
  }

  .whatsapp-button img {
    width: 32px;
    height: 32px;
  }
}

/* Logo ------------------------------------------------------------------- */

.site-logo {
  position: relative;
  display: block;
  flex: none;
  width: 112px;
  height: 50px;
}

.site-logo__mark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 75.02%;
}

.site-logo__tagline {
  position: absolute;
  top: 89.29%;
  left: 17.06%;
  width: 65.88%;
  height: 10.71%;
}

@media (min-width: 992px) {
  .site-logo {
    width: 180px;
    height: 80px;
  }
}

/* Header ----------------------------------------------------------------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px var(--oo-gutter) 0;
}

.menu-toggle,
.menu-close {
  position: relative;
  padding: 0;
  border: 0;
  background: none;
}

.menu-toggle {
  width: 30px;
  height: 14px;
  margin-top: 11px;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--oo-white);
}

.menu-toggle span:first-child { top: 0; }
.menu-toggle span:last-child { bottom: 0; }

/* Enlarge the tap target without moving the icon */
.menu-toggle::before,
.menu-close::before {
  content: "";
  position: absolute;
  inset: -12px;
}

.site-nav {
  margin-top: 26px;
}

.site-nav__list {
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  color: var(--oo-white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: .05em;
}

.site-nav__link:hover,
.site-nav__link:focus-visible,
.site-nav__toggle[aria-expanded="true"] {
  color: var(--oo-gold);
}

/* Small gold chevron, rotated to point down, hangs right of "Services" */
.site-nav__chevron {
  position: absolute;
  top: 6px;
  left: calc(100% + 16px);
  width: 6px;
  height: 10px;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.site-nav__toggle[aria-expanded="true"] .site-nav__chevron {
  transform: rotate(-90deg);
}

.site-nav__lang {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: var(--oo-gold);
  font-weight: 600;
}

.site-nav__lang img {
  width: 14px;
  height: 8px;
}

/* Current section: gold semibold with a 2px gold underline */
.site-nav__link.is-current {
  color: var(--oo-gold);
  font-weight: 600;
}

.site-nav__link.is-current::after {
  content: "";
  position: absolute;
  top: calc(100% + 3px);
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--oo-gold);
}

@media (min-width: 992px) {
  .site-header {
    padding: 70px 40px 0;
  }

  /* Leave room for the absolutely positioned Services chevron */
  .site-nav__toggle {
    margin-right: 26px;
  }
}

@media (min-width: 1280px) {
  .site-header {
    padding: 70px 115px 0 100px;
  }

  .site-nav__list {
    gap: 60px;
  }

  .site-nav__toggle {
    margin-right: 0;
  }
}

/* Dropdown (Services / language) ----------------------------------------- */

.nav-dropdown.dropdown-menu {
  min-width: 150px;
  margin: 0;
  padding: 18px 0 22px;
  border: 0;
  border-top: 2px solid var(--oo-gold);
  border-radius: 0;
  background: var(--oo-dark);
}

.nav-dropdown--lang.dropdown-menu {
  min-width: 80px;
}

.nav-dropdown li + li {
  margin-top: 15px;
}

.nav-dropdown__item {
  display: block;
  padding: 0 22px;
  color: var(--oo-white);
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  letter-spacing: .05em;
  white-space: nowrap;
}

.nav-dropdown__item:hover,
.nav-dropdown__item:focus-visible,
.nav-dropdown__item.is-active {
  color: var(--oo-gold);
  font-weight: 600;
}

/* Mobile menu (Bootstrap offcanvas) -------------------------------------- */

.mobile-menu.offcanvas-top {
  --bs-offcanvas-height: 100%;
  --bs-offcanvas-bg: var(--oo-black);
  --bs-offcanvas-color: var(--oo-white);
  border: 0;
}

.mobile-menu__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 33px 0 var(--oo-gutter);
}

.menu-close {
  width: 22.63px;
  height: 22.63px;
  margin-top: 6.8px;
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 2px;
  background: var(--oo-white);
}

.menu-close span:first-child { transform: translate(-50%, -50%) rotate(-45deg); }
.menu-close span:last-child { transform: translate(-50%, -50%) rotate(45deg); }

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  margin-top: 112px;
  padding-inline: var(--oo-gutter);
}

.mobile-menu__nav a {
  font-size: 16px;
  line-height: 20px;
  letter-spacing: .05em;
}

.mobile-menu__nav a:hover,
.mobile-menu__nav a:focus-visible {
  color: var(--oo-gold);
}

/* Services group: collapsible list with the service pages */
.mobile-menu__toggle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: .05em;
}

.mobile-menu__toggle:hover,
.mobile-menu__toggle:focus-visible,
.mobile-menu__toggle[aria-expanded="true"],
.mobile-menu__toggle.is-current {
  color: var(--oo-gold);
}

.mobile-menu__chevron {
  width: 6px;
  height: 10px;
  transform: rotate(90deg);
  transition: transform .2s ease;
}

.mobile-menu__toggle[aria-expanded="true"] .mobile-menu__chevron {
  transform: rotate(-90deg);
}

.mobile-menu__sub {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 30px 0 0;
  padding: 0 0 0 20px;
  list-style: none;
}

.mobile-menu__sub a[aria-current="page"] {
  color: var(--oo-gold);
}

/* Hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 100%),
    rgba(0, 0, 0, .3);
}

.hero__content {
  position: absolute;
  top: 209px;
  left: 0;
  z-index: 1;
}

.hero__title {
  max-width: 333px;
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 300;
  line-height: 26px;
  letter-spacing: .02em;
}

.hero__scroll {
  position: absolute;
  right: 43px;
  bottom: 31px;
  z-index: 1;
  flex-direction: column;
  align-items: center;
  gap: 21px;
  width: 15px;
  color: var(--oo-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  color: var(--oo-gold);
}

.hero__scroll span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 50px;
  background: var(--oo-gold);
}

@media (min-width: 992px) {
  .hero {
    height: min(100vh, 900px);
    min-height: 640px;
  }

  .hero__content {
    top: 47.44%;
  }

  .hero__title {
    max-width: 559px;
    margin-bottom: 42px;
    font-size: 48px;
    line-height: 50px;
  }
}

/* Page hero (sub pages) -------------------------------------------------- */

.page-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%),
    rgba(0, 0, 0, .6);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding-top: 200px;
}

/* Title only, on the black page background */
.page-hero--plain::after {
  content: none;
}

/* Lighter overlay (Over OneOff) */
.page-hero--light::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, 0) 100%),
    rgba(0, 0, 0, .2);
}

.page-hero__title {
  color: var(--oo-gold);
  font-size: 24px;
  font-weight: 600;
  line-height: 24px;
}

/* "< Alle services" above the title; the negative margin keeps the title in place */
.page-hero__back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 12px;
  margin: -39px 0 23px;
  color: var(--oo-gold);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: .02em;
}

.page-hero__back img {
  width: 6px;
  height: 10px;
  transform: rotate(180deg);
}

.page-hero__back:hover,
.page-hero__back:focus-visible {
  color: var(--oo-white);
}

@media (min-width: 992px) {
  .page-hero {
    height: 600px;
  }

  .page-hero__content {
    padding-top: 385px;
  }

  .page-hero__title {
    font-size: 48px;
    line-height: 50px;
    letter-spacing: .02em;
  }

  .page-hero__back {
    gap: 10px;
    margin: -46px 0 30px;
    font-size: 16px;
  }
}

/* Split: text on grey, photo overhanging into the black section below ---- */

.split {
  container-type: inline-size;
  /* How far the photo hangs below the grey band (design: 239px of 393 mobile, 162px of 1728 desktop) */
  --split-overhang: 60.81cqw;
}

.split__inner {
  background: linear-gradient(var(--oo-grey-bg), var(--oo-grey-bg)) top / 100% calc(100% - var(--split-overhang)) no-repeat;
  padding-top: 61px;
  color: var(--oo-black);
}

.split__text {
  padding-inline: var(--oo-gutter);
}

.split__title {
  max-width: 271px;
  color: var(--oo-gold);
  font-size: 22px;
  font-weight: 600;
  line-height: 24px;
}

.split__body {
  max-width: 505px;
  margin-top: 38px;
  font-size: 12px;
  line-height: 22px;
}

.split__body + .split__body {
  margin-top: 22px;
}

.split__text .btn-oneoff {
  margin-top: 37px;
}

.split__media {
  position: relative;
  aspect-ratio: 363 / 380;
  margin: 73px 0 0 var(--oo-gutter);
}

.split__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 65% 50%);
}

@media (min-width: 992px) {
  .split {
    --split-overhang: 9.375cqw;
  }

  /* 874 | 854 at the 1728px design width; the photo spans both rows */
  .split__inner {
    display: grid;
    grid-template-columns: 874fr 854fr;
    grid-template-rows: auto var(--split-overhang);
    padding-top: 166px;
  }

  .split__text {
    grid-column: 1;
    grid-row: 1;
    padding: 97px 40px 150px max(100px, calc((100cqw - var(--oo-container)) / 2));
  }

  .split__title {
    max-width: 357px;
    font-size: 30px;
    line-height: 38px;
  }

  .split__body {
    margin-top: 38px;
    font-size: 16px;
    line-height: 30px;
  }

  .split__body + .split__body {
    margin-top: 30px;
  }

  .split__media {
    grid-column: 2;
    grid-row: 1 / span 2;
    aspect-ratio: auto;
    min-height: 52.083cqw; /* 900 / 1728 */
    margin: 0;
  }

  .split__media img {
    object-position: var(--focus, 62.6% 50%);
  }
}

/* Service detail: alternating text / photo rows on grey ----------------- */

.detail {
  container-type: inline-size;
  padding: 61px 0 40px;
  background: var(--oo-grey-bg);
  color: var(--oo-black);
}

.detail__text {
  padding-inline: var(--oo-gutter);
}

.detail__title {
  color: var(--oo-gold);
  font-size: 22px;
  font-weight: 600;
  line-height: 24px;
}

.detail__body {
  max-width: 505px;
  margin-top: 38px;
  font-size: 12px;
  line-height: 22px;
}

.detail__row--reverse .detail__body {
  margin-top: 29px;
}

/* Paragraphs are separated by one blank line */
.detail__body + .detail__body {
  margin-top: 22px;
}

.detail__body--lead {
  font-weight: 600;
}

.detail__text .btn-oneoff {
  margin-top: 41px;
}

.detail__media {
  position: relative;
  aspect-ratio: 363 / 380;
  margin: 76px 0 0 var(--oo-gutter);
}

.detail__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.detail__row:first-child .detail__media img {
  object-position: var(--focus, 62.6% 50%);
}

.detail__row--reverse .detail__text {
  padding-top: 104px;
}

.detail__row--reverse .detail__media {
  margin: 85px var(--oo-gutter) 0 0;
}

@media (min-width: 992px) {
  .detail {
    --detail-overlap: 8.912cqw; /* 154 / 1728: second photo starts beside the first one */
    padding: 166px 0 138px;
  }

  /* 725 | 149 | 854 at the 1728px design width */
  .detail__row {
    display: grid;
    grid-template-columns: 725fr 149fr 854fr;
    align-items: start;
  }

  .detail__text {
    grid-row: 1;
    grid-column: 1;
    /* Bottom padding keeps the text clear of the second photo that moves up */
    padding: 97px 0 calc(var(--detail-overlap) + 60px) max(100px, calc((100cqw - var(--oo-container)) / 2));
  }

  .detail__title {
    font-size: 30px;
    line-height: 38px;
  }

  .detail__body {
    margin-top: 39px;
    font-size: 16px;
    line-height: 30px;
  }

  .detail__row--reverse .detail__body {
    max-width: 442px;
    margin-top: 36px;
  }

  .detail__body + .detail__body {
    margin-top: 30px;
  }

  .detail__text .btn-oneoff {
    margin-top: 64px;
  }

  .detail__media {
    grid-row: 1;
    grid-column: 3;
    aspect-ratio: 854 / 900;
    margin: 0;
  }

  .detail__row--reverse .detail__text {
    grid-column: 3;
    padding: 218px 40px 0 max(40px, 7.465cqw); /* 129 / 1728 */
  }

  .detail__row--reverse .detail__media {
    grid-column: 1;
    aspect-ratio: 725 / 900;
    margin: calc(var(--detail-overlap) * -1) 0 0;
  }
}

/* References: odd items big photo left, even items big photo right ------- */

.refs {
  container-type: inline-size;
}

.ref {
  padding-top: 61px;
}

.ref + .ref {
  padding-top: 95px;
}

.ref__text {
  padding-inline: var(--oo-gutter);
}

.ref__title {
  max-width: 433px;
  color: var(--oo-gold);
  font-size: 22px;
  font-weight: 600;
  line-height: 24px;
}

/* Specs run on as one paragraph, separated by a bold gold slash */
.ref__specs {
  max-width: 445px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  line-height: 22px;
}

.ref__specs li {
  display: inline;
}

.ref__specs li + li::before {
  content: "/";
  margin: 0 .55em 0 .27em;
  color: var(--oo-gold);
  font-weight: 700;
}

.ref__media {
  position: relative;
  overflow: hidden;
}

.ref__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.ref__media--big,
.ref__media--wide {
  aspect-ratio: 393 / 350;
  margin-top: 50px;
}

.ref__media--big {
  margin-top: 71px;
}

.ref__media--small {
  aspect-ratio: 333 / 250;
  margin: 50px var(--oo-gutter) 0;
}

@media (min-width: 992px) {
  .refs {
    padding-top: 6px;
  }

  .ref {
    padding-top: 0;
  }

  .ref + .ref {
    padding-top: 150px;
  }

  /* 854 | 149 | 725 at the 1728px design width. The text sits 150px above the
     small photo, which ends 130px above the bottom of the big photo. */
  .ref__main {
    display: grid;
    grid-template-columns: 854fr 149fr 725fr;
    grid-template-rows: 1fr auto;
  }

  .ref__media--big {
    grid-column: 1;
    grid-row: 1 / span 2;
    aspect-ratio: 854 / 1100;
    margin: 0;
  }

  .ref__text {
    grid-column: 3;
    grid-row: 1;
    align-self: end;
    padding: 0 40px 150px 0;
  }

  .ref__title {
    font-size: 30px;
    line-height: 38px;
  }

  .ref__specs {
    font-size: 16px;
    line-height: 30px;
  }

  .ref__media--small {
    grid-column: 3;
    grid-row: 2;
    aspect-ratio: 725 / 546;
    margin: 0 0 7.523cqw; /* 130 / 1728 */
  }

  .ref:nth-child(even) .ref__main {
    grid-template-columns: 725fr 149fr 854fr;
  }

  .ref:nth-child(even) .ref__media--big {
    grid-column: 3;
  }

  .ref:nth-child(even) .ref__text {
    grid-column: 1;
    padding-left: max(100px, calc((100cqw - var(--oo-container)) / 2));
  }

  .ref:nth-child(even) .ref__media--small {
    grid-column: 1;
  }

  .ref__media--wide {
    aspect-ratio: 1528 / 750;
    margin: 150px 100px 0;
  }

  /* Wide photos use the tighter crop from the design */
  .ref__media img.is-cropped {
    inset: auto;
    top: var(--crop-y, 0);
    left: var(--crop-x, 0);
    width: var(--crop-w, 100%);
    height: var(--crop-h, 100%);
    object-fit: fill;
  }
}

/* Over OneOff: story rows (detail variant) and statement ---------------- */

.detail--story {
  padding-bottom: 0;
}

.detail--story .detail__media img {
  object-position: var(--focus, 50% 50%);
}

.detail--story .detail__media {
  margin-top: 83px;
}

.detail--story .detail__row--reverse .detail__text {
  padding-top: 88px;
}

.detail--story .detail__row--reverse .detail__body:first-of-type {
  margin-top: 37px;
}

.detail--story .detail__row--reverse .detail__media {
  margin-top: 59px;
}

.statement {
  padding: 80px 0 114px;
  background: var(--oo-grey-bg);
}

.statement__inner {
  border-top: 1px solid var(--oo-grey-line);
}

.statement__mark {
  display: block;
  height: 87px;
  margin-top: 10px;
  color: var(--oo-grey-line);
  font-size: 100px;
  line-height: normal;
  letter-spacing: .05em;
}

.statement__text {
  color: var(--oo-gold);
  font-size: 22px;
  letter-spacing: .05em;
}

.statement .btn-oneoff {
  margin-top: 63px;
}

@media (min-width: 992px) {
  .detail--story .detail__text {
    padding-top: 163px;
  }

  .detail--story .detail__title {
    max-width: 357px;
  }

  .detail--story .detail__body {
    max-width: 434px;
    margin-top: 38px;
  }

  .detail--story .detail__body + .detail__body {
    margin-top: 30px;
  }

  .detail--story .detail__media {
    margin-top: 0;
  }

  .detail--story .detail__row--reverse .detail__text {
    padding-top: 248px;
  }

  .detail--story .detail__row--reverse .detail__body {
    max-width: 505px;
  }

  .detail--story .detail__row--reverse .detail__body:first-of-type {
    margin-top: 38px;
  }

  .detail--story .detail__row--reverse .detail__media {
    margin-top: calc(var(--detail-overlap) * -1);
  }

  .statement {
    padding: 238px 0 204px;
  }

  /* Quote mark in a 213px column, text beside it */
  .statement__inner {
    display: grid;
    grid-template-columns: 213px minmax(0, 902px);
    align-items: start;
  }

  .statement__mark {
    height: auto;
    margin: 69px 0 0 39px;
    font-size: 150px;
  }

  .statement__content {
    margin-top: 105px;
  }

  .statement__text {
    font-size: 30px;
    line-height: 38px;
  }

  .statement .btn-oneoff {
    margin-top: 68px;
  }
}

/* Wie is OneOff ---------------------------------------------------------- */

.about {
  padding: 73px 0 53px;
  overflow: hidden;
  background: var(--oo-grey-bg);
  color: var(--oo-black);
}

.about__text {
  padding-inline: var(--oo-gutter);
}

.about__title {
  max-width: 284px;
  margin: 19px 0 38px;
  font-size: 22px;
  font-weight: 300;
  line-height: normal;
  letter-spacing: .05em;
}

.about__body {
  max-width: 505px;
  margin-bottom: 35px;
  font-size: 12px;
  line-height: 22px;
}

.about__img {
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.about__img--primary {
  width: calc(100% - 31px);
  aspect-ratio: 362 / 380;
  margin-top: 53px;
}

.about__img--secondary {
  width: calc(100% - var(--oo-gutter));
  aspect-ratio: 363 / 250;
  margin: 29px 0 0 var(--oo-gutter);
}

/* "We handle the entire quest / for your next exclusive car" */
.tagline {
  margin-top: 64px;
  overflow: hidden;
}

.tagline__line {
  width: max-content;
  font-size: 24px;
  line-height: 50px;
  letter-spacing: .02em;
  white-space: nowrap;
  will-change: transform;
}

.tagline__line--start {
  margin-left: -30px;
}

.tagline__line--end {
  margin: -9px -63px 0 auto;
}

@media (min-width: 992px) {
  .about {
    padding: 160px 0 173px;
  }

  /* 854 | 149 | 725 at the 1728px design width */
  .about__grid {
    display: grid;
    grid-template-columns: 854fr 149fr 725fr;
    grid-template-rows: auto auto;
    align-items: start;
  }

  .about__text {
    grid-column: 3;
    grid-row: 1;
    padding: 159px 0 0;
  }

  .about__title {
    max-width: 495px;
    margin: 28px 0 45px;
    font-size: 30px;
  }

  .about__body {
    margin-bottom: 49px;
    font-size: 16px;
    line-height: 30px;
  }

  .about__img--primary {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 100%;
    aspect-ratio: 854 / 1100;
    margin: 0;
  }

  .about__img--secondary {
    grid-column: 3;
    grid-row: 2;
    width: 100%;
    aspect-ratio: 725 / 512;
    margin: 218px 0 0;
  }

  .tagline {
    margin-top: 196px;
  }

  .tagline__line {
    font-size: 56px;
  }

  .tagline__line--start {
    margin-left: 0;
  }

  .tagline__line--end {
    margin: 31px 0 0 auto;
  }
}

/* Onze services ---------------------------------------------------------- */

.services {
  padding-top: 83px;
}

.services__intro {
  max-width: 331px;
  margin: 21px 0 50px;
  font-size: 22px;
  letter-spacing: .05em;
}

.services-list {
  margin: 0 0 80px;
  padding: 0;
  border-top: 1px solid var(--oo-gold);
  list-style: none;
}

.service-row {
  position: relative;
  display: flex;
  align-items: center;
  height: 81px;
  border-bottom: 1px solid var(--oo-dark);
  color: var(--oo-dark);
  transition: color .2s ease;
}

.service-row__num {
  flex: 0 0 68px;
  font-size: 30px;
  font-weight: 200;
}

.service-row__title {
  display: grid;
  flex: 1;
  overflow: hidden;
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
}

.service-row__arrow {
  position: relative;
  margin-right: 59px;
  transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}

.service-row__arrow img {
  width: 15.77px;
  height: 28.71px;
  transition: opacity .2s ease;
}

/* Hover/focus: the title rolls up and is replaced by a gold copy, a gold
   line sweeps along the bottom border and the arrow turns gold. */
.service-row::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--oo-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease-out;
}

.service-row__title > span {
  grid-area: 1 / 1;
  transition: transform .35s cubic-bezier(.65, 0, .35, 1);
}

.service-row__title > span + span {
  color: var(--oo-gold);
  transform: translateY(100%);
}

.service-row__arrow-gold {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.service-row:hover,
.service-row:focus-visible {
  color: var(--oo-gold);
}

.service-row:hover::after,
.service-row:focus-visible::after {
  transform: scaleX(1);
  transition: transform .5s cubic-bezier(.65, 0, .35, 1);
}

.service-row:hover .service-row__title > span,
.service-row:focus-visible .service-row__title > span {
  transform: translateY(-100%);
}

.service-row:hover .service-row__title > span + span,
.service-row:focus-visible .service-row__title > span + span {
  transform: translateY(0);
}

.service-row:hover .service-row__arrow,
.service-row:focus-visible .service-row__arrow {
  transform: translateX(8px);
}

.service-row:hover .service-row__arrow-gold,
.service-row:focus-visible .service-row__arrow-gold {
  opacity: 1;
}

.service-row:hover .service-row__arrow-dark,
.service-row:focus-visible .service-row__arrow-dark {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .service-row,
  .service-row::after,
  .service-row__title > span,
  .service-row__arrow,
  .service-row__arrow img {
    transition: none !important;
  }
}

.services__img,
.closing-img {
  width: 100%;
  aspect-ratio: 393 / 230;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

/* Contact: taller on mobile, same as the default on desktop */
.closing-img--tall {
  aspect-ratio: 393 / 350;
}

@media (min-width: 992px) {
  .services {
    padding-top: 204px;
  }

  .services__intro {
    max-width: 646px;
    margin: 18px 0 116px;
    font-size: 30px;
  }

  .services-list {
    margin-bottom: 175px;
  }

  .service-row {
    height: 121px;
  }

  .service-row__num {
    flex-basis: 131px;
    font-size: 48px;
  }

  .service-row__title {
    font-size: 24px;
  }

  .services__img,
  .closing-img,
  .closing-img--tall {
    aspect-ratio: 1728 / 750;
  }
}

/* Services overview page: no eyebrow above the intro, different spacing */
.services--overview {
  padding-top: 74px;
}

.services--overview .services__intro {
  margin: 0 0 54px;
}

.services--overview .services-list {
  margin-bottom: 99px;
}

@media (min-width: 992px) {
  .services--overview {
    padding-top: 83px;
  }

  .services--overview .services__intro {
    max-width: 494px;
    margin-bottom: 124px;
  }

  .services--overview .services-list {
    margin-bottom: 197px;
  }
}

/* Testimonial ------------------------------------------------------------ */

.testimonial {
  padding: 81px 0 88px;
  background: var(--oo-grey-bg);
  color: var(--oo-black);
}

.testimonial__eyebrow {
  padding-bottom: 25px;
  border-bottom: 1px solid var(--oo-grey-line);
}

.testimonial__mark {
  display: block;
  height: 77px;
  margin-top: 40px;
  color: var(--oo-grey-line);
  font-size: 100px;
  letter-spacing: .05em;
}

.testimonial__quote blockquote {
  font-size: 22px;
  letter-spacing: .05em;
}

/* Photo straddles the grey section and the black footer */
.testimonial-band {
  margin-bottom: 20px;
  background: linear-gradient(var(--oo-grey-bg) 0 54.35%, var(--oo-black) 54.35% 100%);
}

.testimonial-band__media {
  position: relative;
  aspect-ratio: 333 / 230;
}

.testimonial-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 50% 50%);
}

.testimonial-band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
}

@media (min-width: 992px) {
  .testimonial {
    padding: 169px 0 159px;
  }

  .testimonial__eyebrow {
    padding-bottom: 42px;
  }

  .testimonial__quote {
    display: flex;
    align-items: flex-start;
  }

  .testimonial__mark {
    flex: 0 0 219px;
    height: auto;
    margin: 17px 0 0 39px;
    font-size: 150px;
  }

  .testimonial__quote blockquote {
    max-width: 881px;
    margin-top: 64px;
    font-size: 30px;
  }

  .testimonial-band {
    margin-bottom: 0;
    background: linear-gradient(var(--oo-grey-bg) 0 38.92%, var(--oo-black) 38.92% 100%);
  }

  .testimonial-band__media {
    aspect-ratio: 1270 / 650;
  }
}

/* Legal text (cookie policy, terms): plain text on grey ----------------- */

.legal {
  --legal-line: 22px;
  padding: 61px 0 165px;
  background: var(--oo-grey-bg);
  color: var(--oo-black);
  font-size: 12px;
  line-height: var(--legal-line);
}

.legal p {
  margin: 0;
}

.legal__title {
  margin: 0;
  color: var(--oo-gold);
  font-size: 22px;
  font-weight: 600;
  line-height: 30px;
}

.legal__subtitle {
  margin: 0;
  font-size: inherit;
  font-weight: 600;
  line-height: inherit;
}

/* Blocks are separated by one blank line; a subtitle sits right on its text */
.legal p + p,
.legal p + .legal__subtitle {
  margin-top: var(--legal-line);
}

/* A title sits right on its text, with two blank lines above it (as between
   the numbered articles of the terms) */
.legal * + .legal__title {
  margin-top: calc(2 * var(--legal-line));
}

/* Numbered articles (terms): paragraphs run on, two blank lines between
   articles; mobile titles are body size */
.legal--articles .legal__title {
  font-size: inherit;
  line-height: inherit;
}

.legal--articles p + p {
  margin-top: 0;
}

.legal__article + .legal__article {
  margin-top: calc(2 * var(--legal-line));
}

@media (min-width: 992px) {
  .legal {
    --legal-line: 30px;
    min-height: 1600px;
    padding: 180px 0;
    font-size: 16px;
  }

  .legal__title,
  .legal--articles .legal__title {
    font-size: 24px;
  }
}

/* Contact: address next to the form (or the confirmation) --------------- */

.contact {
  padding: 61px 0 119px;
}

.contact--sent {
  padding-bottom: 70px;
}

.contact__address {
  font-size: 12px;
  line-height: 22px;
  letter-spacing: .05em;
}

.contact__address p + p {
  margin-top: 22px;
}

.contact__address a:hover,
.contact__address a:focus-visible {
  color: var(--oo-gold);
}

/* Form: underlined fields; the label sits on the line until there is a value */
.contact-form {
  margin-top: 65px;
  font-size: 12px;
}

.contact-form__fields {
  display: grid;
  row-gap: 18px;
}

.form-field {
  position: relative;
  border-bottom: 1px solid var(--oo-dark);
}

.form-field__input {
  display: block;
  width: 100%;
  height: 45px;
  padding: 0 0 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--oo-white);
  font: inherit;
  line-height: 30px;
  outline: 0;
  appearance: none;
}

.form-field__label {
  position: absolute;
  top: 0;
  left: 0;
  line-height: 30px;
  pointer-events: none;
  transition: top .2s ease, font-size .2s ease, line-height .2s ease, color .2s ease;
}

.form-field:not(.form-field--select):focus-within .form-field__label,
.form-field:has(.form-field__input:not(select):not(:placeholder-shown)) .form-field__label {
  top: -16px;
  color: var(--oo-grey-label);
  font-size: 12px;
  line-height: 14px;
}

.form-field:focus-within {
  border-bottom-color: var(--oo-gold);
}

/* Select: always has a value, so the small grey label stays above it */
.form-field--select {
  margin-top: 10px;
}

.form-field--select .form-field__label {
  position: static;
  display: block;
  color: var(--oo-grey-label);
  font-size: 12px;
  line-height: 24px;
}

.form-field--select .form-field__input {
  height: 31px;
  padding-bottom: 1px;
  cursor: pointer;
}

.form-field--select option {
  background: var(--oo-black);
  color: var(--oo-white);
}

.form-field--textarea {
  margin-top: 36px;
}

.form-field--textarea .form-field__input {
  height: 149px;
  resize: vertical;
}

.contact-form__interests {
  margin: 63px 0 0;
  padding: 0;
  border: 0;
}

.contact-form__interests legend {
  float: none;
  margin: 0 0 15px;
  padding: 0;
  font-size: inherit;
  line-height: 30px;
}

/* Square checkbox: dark outline, white with a filled centre when checked */
.choice {
  --choice-line: 30px;
  display: flex;
  gap: 20px;
  line-height: var(--choice-line);
  cursor: pointer;
}

.choice__input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: calc((var(--choice-line) - 16px) / 2) 0 0;
  border: 1px solid var(--oo-dark);
  background: var(--oo-black);
  cursor: pointer;
  appearance: none;
}

.choice__input:checked {
  border-color: var(--oo-white);
  background: var(--oo-white);
  box-shadow: inset 0 0 0 2px var(--oo-black);
}

.choice__input:focus-visible {
  outline: 1px solid var(--oo-gold);
  outline-offset: 2px;
}

.contact-form__terms {
  --choice-line: 22px;
  margin-top: 37px;
}

.contact-form__terms a {
  text-decoration: underline;
}

.contact-form__terms a:hover,
.contact-form__terms a:focus-visible {
  color: var(--oo-gold);
}

.contact-form__submit {
  margin-top: 67px;
}

/* Confirmation after sending */
.contact-sent {
  margin-top: 77px;
  padding: 65px 38px 68px 34px;
  background: var(--oo-dark);
  font-size: 12px;
  line-height: 22px;
}

.contact-sent__title {
  color: var(--oo-gold);
  font-size: 22px;
  font-weight: 600;
  line-height: 24px;
}

.contact-sent__text {
  margin-top: 22px;
}

.contact-sent .btn-oneoff {
  margin-top: 49px;
}

@media (min-width: 992px) {
  /* The content starts 17px above the bottom of the 600px hero */
  .contact {
    position: relative;
    min-height: 1091px;
    margin-top: -17px;
    padding: 0 0 180px;
  }

  .contact__inner {
    display: grid;
    grid-template-columns: minmax(0, 387fr) minmax(0, 883fr);
    align-items: start;
  }

  .contact__address {
    font-size: 16px;
    line-height: 30px;
  }

  .contact__address p + p {
    margin-top: 30px;
  }

  .contact-form {
    max-width: 754px;
    margin-top: 0;
    font-size: 16px;
  }

  .contact-form__fields {
    grid-template-columns: 1fr 1fr;
    gap: 65px 20px;
  }

  .form-field--select {
    margin-top: 40px;
  }

  .form-field--select .form-field__label {
    margin-bottom: 2px;
    line-height: 30px;
  }

  .form-field--select .form-field__input {
    height: 38px;
    padding-bottom: 8px;
  }

  .form-field--textarea {
    margin-top: 64px;
  }

  .form-field--textarea .form-field__input {
    height: 157px;
  }

  .contact-form__interests {
    margin-top: 62px;
  }

  .contact-form__terms {
    --choice-line: 30px;
    margin-top: 69px;
  }

  .contact-form__submit {
    margin-top: 55px;
  }

  .contact-sent {
    margin-top: 0;
    padding: 65px 71px 55px;
    font-size: 16px;
    line-height: 30px;
  }

  .contact-sent__title {
    font-size: 30px;
    line-height: 30px;
  }

  .contact-sent__text {
    margin-top: 30px;
  }

  .contact-sent .btn-oneoff {
    margin-top: 70px;
  }
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--oo-black);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-areas:
    "contact"
    "nav"
    "legal";
  padding-top: 83px;
  padding-bottom: 38px;
}

.site-footer__contact { grid-area: contact; }
.site-footer__nav { grid-area: nav; }
.site-footer__legal { grid-area: legal; }

.site-footer__title {
  color: var(--oo-gold);
  font-size: 36px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.site-footer__address {
  margin-top: 42px;
  font-size: 12px;
  font-style: normal;
  line-height: 22px;
  letter-spacing: .05em;
}

.site-footer__social {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  margin-top: 42px;
}

.site-footer__social img[src*="facebook"] {
  width: 9px;
  height: 20px;
}

.site-footer__social img[src*="instagram"] {
  width: 20px;
  height: 20px;
}

.site-footer__social img[src*="linkedin"] {
  width: 19.06px;
  height: 18px;
}

.site-footer__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  margin-top: 73px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: .05em;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--oo-gold);
}

.site-footer__legal {
  display: grid;
  grid-template-areas:
    "cookie terms"
    "copy credit";
  align-items: center;
  row-gap: 45px;
  margin-top: 84px;
  font-size: 12px;
  letter-spacing: .05em;
}

.site-footer__copy { grid-area: copy; align-self: start; line-height: 12px; }
.site-footer__cookie { grid-area: cookie; line-height: 14px; }
.site-footer__terms { grid-area: terms; justify-self: end; line-height: 14px; }

.site-footer__credits {
  grid-area: credit;
  justify-self: end;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.site-footer__credit {
  display: flex;
  align-items: baseline;
  gap: 9px;
  line-height: 12px;
}

.site-footer__credit a {
  display: flex;
}

.site-footer__credit img {
  width: 62px;
  height: 11.95px;
}

.site-footer__credit img[src*="flozon"] {
  width: 48px;
  height: 14.5px;
}

/* Big "oneoff" watermark, cropped by the bottom of the footer */
.footer-watermark {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 99.34%;
  aspect-ratio: 227 / 101;
  transform: translateY(26.15%);
}

.footer-watermark img {
  position: absolute;
}

.footer-watermark__o { top: 0; left: 0; width: 19.74%; height: 44.09%; }
.footer-watermark__n { top: .15%; left: 23.77%; width: 16.01%; height: 42.55%; }
.footer-watermark__e { top: 0; left: 43.64%; width: 15.77%; height: 44.09%; }
.footer-watermark__o-turned { top: 30.94%; left: 59.54%; width: 15.31%; height: 44.08%; }
.footer-watermark__ff { top: 16.4%; left: 76.71%; width: 23.29%; height: 57.24%; }

@media (min-width: 992px) {
  .site-footer__inner {
    grid-template-columns: 779fr 491fr;
    grid-template-areas:
      "contact nav"
      "legal legal";
    padding-top: 168px;
    padding-bottom: 45px;
  }

  .site-footer__title {
    font-size: 48px;
    line-height: 48px;
  }

  .site-footer__address {
    margin-top: 119px;
    font-size: 18px;
    line-height: 30px;
  }

  .site-footer__social {
    margin-top: 57px;
  }

  .site-footer__nav {
    gap: 60px;
    margin-top: 0;
    padding-top: 3px;
    font-size: 18px;
    line-height: 23px;
  }

  .site-footer__legal {
    grid-template-columns: auto auto auto 1fr;
    grid-template-areas: "copy cookie terms credit";
    align-items: start;
    column-gap: 100px;
    margin-top: 164px;
    font-size: 14px;
    line-height: 30px;
  }

  .site-footer__copy,
  .site-footer__cookie,
  .site-footer__terms,
  .site-footer__credit {
    line-height: 30px;
  }

  .site-footer__terms {
    justify-self: start;
  }

  .site-footer__credit img {
    width: 83.05px;
    height: 16px;
  }

  .site-footer__credit img[src*="flozon"] {
    width: 66px;
    height: 20px;
  }

  .footer-watermark {
    width: 86.76%;
    transform: translateY(30.33%);
  }
}

/* ==========================================================================
   Umbraco only: states the static templates don't have
   ========================================================================== */

/* A <picture> (photo with a separate desktop crop) must not change the layout of its <img> */
.ref__media picture {
  display: contents;
}

/* Contact form: server-side validation errors and a failed send */
.form-field.is-invalid {
  border-bottom-color: var(--oo-error);
}

.form-field__error {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  margin: 0;
  color: var(--oo-error);
  font-size: 12px;
  line-height: 14px;
}

.contact-form > .form-field__error {
  position: static;
}

.contact-form__alert {
  margin: 0;
  color: var(--oo-error);
}

/* Honeypot field: out of sight for people, still in the form for bots */
.contact-form__website {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Links in the legal texts (cookie policy, privacy statement) */
.legal a {
  text-decoration: underline;
}

.legal a:hover,
.legal a:focus-visible {
  color: var(--oo-gold);
}

/* Contact form: short privacy notice above the submit button */
.contact-form__privacy {
  margin-top: 24px;
  color: var(--oo-grey-label);
  font-size: 12px;
  line-height: 20px;
}

.contact-form__privacy a {
  text-decoration: underline;
}

.contact-form__privacy a:hover,
.contact-form__privacy a:focus-visible {
  color: var(--oo-gold);
}

/* Footer: privacy statement and "Cookie settings" as a second row of legal links */
.site-footer__privacy { grid-area: privacy; line-height: 14px; }

.site-footer__consent {
  grid-area: consent;
  justify-self: end;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  line-height: 14px;
  cursor: pointer;
  transition: color .2s ease;
}

.site-footer__consent:hover,
.site-footer__consent:focus-visible {
  color: var(--oo-gold);
}

.site-footer__legal:has(.site-footer__privacy, .site-footer__consent) {
  grid-template-areas:
    "cookie terms"
    "privacy consent"
    "copy credit";
  row-gap: 30px;
}

@media (min-width: 992px) {
  .contact-form__privacy {
    margin-top: 30px;
    font-size: 14px;
    line-height: 24px;
  }

  .site-footer__privacy,
  .site-footer__consent {
    justify-self: start;
    line-height: 30px;
  }

  .site-footer__legal:has(.site-footer__privacy, .site-footer__consent) {
    grid-template-areas:
      "copy cookie terms credit"
      ". privacy consent credit";
    row-gap: 0;
  }
}

/* Cookie banner, shown by js/consent.js until the visitor accepts or declines analytics cookies */
.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  padding-block: 24px;
  border-top: 1px solid var(--oo-gold);
  background: var(--oo-black);
  font-size: 12px;
  line-height: 20px;
  letter-spacing: .05em;
}

.cookie-consent__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-consent__title {
  margin: 0 0 8px;
  color: var(--oo-gold);
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.cookie-consent a {
  text-decoration: underline;
}

.cookie-consent a:hover,
.cookie-consent a:focus-visible {
  color: var(--oo-gold);
}

/* Both buttons share the width on a phone, so neither choice stands out */
.cookie-consent__actions {
  display: flex;
  gap: 16px;
}

.cookie-consent__actions .btn-oneoff {
  flex: 1 1 0;
  width: auto;
}

@media (min-width: 992px) {
  .cookie-consent {
    padding-block: 30px;
    font-size: 14px;
    line-height: 24px;
  }

  .cookie-consent__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .cookie-consent__text {
    max-width: 760px;
  }

  .cookie-consent__title {
    font-size: 16px;
    line-height: 20px;
  }

  .cookie-consent__actions {
    flex: none;
    gap: 20px;
  }

  .cookie-consent__actions .btn-oneoff {
    flex: none;
    width: 226px;
  }
}
