@font-face {
  font-family: "TT Ramillas";
  src: url("fonts/TTRamillas-Light.ttf") format("truetype");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("fonts/TTRamillas-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "TT Ramillas";
  src: url("fonts/TTRamillas-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "TT Commons Pro";
  src: url("fonts/TT-Commons-Light.otf") format("opentype");
  font-weight: 300;
  font-display: swap;
  unicode-range: U+0020, U+0041-005A, U+0061-007A;
}

@font-face {
  font-family: "TT Commons Pro";
  src: url("fonts/TT-Commons-Regular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0020, U+0041-005A, U+0061-007A;
}

@font-face {
  font-family: "TT Commons Pro";
  src: url("fonts/TT-Commons-Medium.otf") format("opentype");
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0020, U+0041-005A, U+0061-007A;
}

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
  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;
}

@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-ext.woff2") format("woff2");
  font-weight: 300 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, 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;
}

:root {
  --charcoal-50: #f7f6f4;
  --charcoal-100: #eeece8;
  --charcoal-200: #ddd9d3;
  --charcoal-400: #a09a91;
  --charcoal-600: #5f5a54;
  --charcoal-700: #45413d;
  --charcoal-800: #2e2b29;
  --charcoal-850: #232120;
  --charcoal-900: #1a1919;
  --charcoal-950: #100f0f;
  --brass-200: #e3d1b2;
  --brass-300: #d4b98c;
  --brass-400: #c9a97a;
  --brass-600: #8c6e45;
  --brass-700: #735a37;
  --brass-800: #5a462b;

  --bg: var(--charcoal-900);
  --surface: var(--charcoal-850);
  --sunken: var(--charcoal-950);
  --text: var(--charcoal-50);
  --muted: var(--charcoal-400);
  --border: var(--charcoal-700);
  --accent: var(--brass-400);
  --accent-hover: var(--brass-300);
  --accent-active: var(--brass-200);
  --on-accent: var(--charcoal-900);
  --focus: var(--brass-300);
  --on-media: var(--charcoal-50);

  --serif: "TT Ramillas", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "TT Commons Pro", "Inter Tight", "Avenir Next", system-ui, sans-serif;

  --size-display: clamp(3rem, 1.85rem + 5.1vw, 5rem);
  --size-h1: clamp(2.5rem, 1.81rem + 3.08vw, 5.5rem);
  --size-h2: clamp(2rem, 1.54rem + 2.05vw, 2.625rem);
  --size-h3: clamp(1.75rem, 1.46rem + 1.28vw, 2.25rem);
  --size-lead: 1.5rem;

  --gutter: clamp(1.5rem, 1.04rem + 2.05vw, 3.5rem);
  --section-y: clamp(5rem, 3.62rem + 6.15vw, 11rem);
  --section-y-sm: clamp(3rem, 2.08rem + 4.1vw, 7rem);
  --header-h: 4.5rem;

  --ease: cubic-bezier(0.2, 0, 0, 1);
  --ease-slow: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 24px 64px -16px rgb(0 0 0 / 0.7);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1, h2, h3, h4, p, figure, dl, dd {
  margin: 0;
}

button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

a:hover {
  color: var(--accent);
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.wrap {
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.wrap--narrow {
  max-width: 44rem;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.display {
  font-family: var(--serif);
  font-size: var(--size-display);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}

.h2 {
  font-family: var(--serif);
  font-size: var(--size-h2);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  max-width: 38ch;
  font-family: var(--serif);
  font-size: var(--size-lead);
  line-height: 1.7;
  text-wrap: pretty;
}

.muted {
  color: var(--muted);
}

.prose {
  max-width: 68ch;
  text-wrap: pretty;
}

.icon {
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--sm { width: 16px; height: 16px; }
.icon--check { width: 18px; height: 18px; margin-top: 3px; }
.icon--md { width: 24px; height: 24px; stroke-width: 1; }
.icon--lg { width: 28px; height: 28px; }
.icon--xl { width: 36px; height: 36px; stroke-width: 1; }

.icon-ring {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--accent);
}

.icon-ring--media {
  color: var(--brass-300);
  border-color: rgb(247 246 244 / 0.32);
}

.btn {
  --btn-h: 44px;
  --btn-bg: var(--accent);
  --btn-bg-hover: var(--accent-hover);
  --btn-bg-active: var(--accent-active);
  --btn-fg: var(--on-accent);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: var(--btn-h);
  padding-inline: 1.5rem;
  border: 1.5px solid var(--btn-border);
  border-radius: 0;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}

.btn:hover {
  background: var(--btn-bg-hover);
  color: var(--btn-fg);
}

.btn:active {
  background: var(--btn-bg-active);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bg-hover: var(--sunken);
  --btn-bg-active: var(--border);
  --btn-fg: var(--text);
  --btn-border: #7d776f;
}

.btn--outline:hover {
  border-color: var(--text);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-bg-hover: var(--sunken);
  --btn-bg-active: var(--border);
  --btn-fg: var(--text);
}

.btn--light {
  --btn-fg: var(--on-media);
  --btn-bg-hover: rgb(247 246 244 / 0.12);
  --btn-bg-active: rgb(247 246 244 / 0.2);
}

.btn--outline.btn--light {
  --btn-border: rgb(247 246 244 / 0.6);
}

.btn--outline.btn--light:hover {
  border-color: var(--on-media);
}

.btn--sm {
  --btn-h: 32px;
  padding-inline: 1rem;
  font-size: 0.6875rem;
}

.btn--lg {
  --btn-h: 56px;
  gap: 0.75rem;
  padding-inline: 2rem;
  font-size: 0.8125rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.brand:hover {
  color: inherit;
}

.brand__mark {
  flex: none;
  width: 52px;
  height: auto;
  aspect-ratio: 754 / 285;
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  stroke-linecap: round;
  color: var(--accent);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
  padding-inline: var(--gutter);
  background: var(--bg);
  color: var(--text);
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
}

.site-header--overlay {
  background: transparent;
  color: var(--on-media);
}

.site-header--overlay .brand__mark {
  color: var(--brass-400);
}

.site-header--overlay .btn--ghost {
  --btn-fg: var(--on-media);
  --btn-bg-hover: rgb(247 246 244 / 0.12);
}

.site-header--overlay.is-solid {
  background: var(--bg);
  color: var(--text);
}

.site-header--overlay.is-solid .btn--ghost {
  --btn-fg: var(--text);
  --btn-bg-hover: var(--sunken);
}

.site-nav {
  display: none;
  gap: 2rem;
}

.site-nav a {
  display: inline-block;
  overflow: hidden;
  vertical-align: middle;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.site-nav span {
  display: inline-block;
  text-shadow: 0 1.6em currentColor;
  transition: transform 400ms var(--ease-slow);
}

.site-nav a:hover span,
.site-nav a:focus-visible span {
  transform: translateY(-1.6em);
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--charcoal-950);
  color: var(--charcoal-50);
  animation: menu-in 640ms var(--ease-slow);
}

.menu[hidden] {
  display: none;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding-inline: var(--gutter);
}

.menu__top .brand__mark {
  color: var(--brass-400);
}

.menu__top .btn {
  --btn-fg: var(--on-media);
  --btn-bg-hover: rgb(247 246 244 / 0.12);
}

.menu__body {
  display: grid;
  gap: 4rem;
  align-items: center;
  padding: 2rem var(--gutter);
}

.menu__list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu__list li {
  opacity: 0;
  animation: menu-item 640ms var(--ease-out) forwards;
}

.menu__list li:nth-child(1) { animation-delay: 120ms; }
.menu__list li:nth-child(2) { animation-delay: 160ms; }
.menu__list li:nth-child(3) { animation-delay: 200ms; }
.menu__list li:nth-child(4) { animation-delay: 240ms; }

.menu__list a {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  color: rgb(247 246 244 / 0.72);
  font-family: var(--serif);
  font-size: clamp(2rem, 1.54rem + 2.05vw, 4rem);
  font-weight: 300;
  line-height: 1.15;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 160ms var(--ease), transform 400ms var(--ease-slow);
}

.menu__list a:hover {
  color: var(--charcoal-50);
  transform: translateX(1rem);
}

.menu__list .icon {
  color: var(--brass-400);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}

.menu__list a:hover .icon {
  opacity: 1;
  transform: none;
}

.menu__aside {
  display: grid;
  gap: 1.5rem;
  align-content: end;
  font-size: 0.875rem;
}

.menu__aside a {
  color: var(--charcoal-50);
  text-decoration: none;
}

.menu__foot {
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--charcoal-700);
  color: var(--charcoal-400);
  font-size: 0.75rem;
}

@keyframes menu-in {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0); }
}

@keyframes menu-item {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.media {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: linear-gradient(160deg, var(--charcoal-800), var(--charcoal-950));
}

.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media--portrait { aspect-ratio: 4 / 5; }
.media--landscape { aspect-ratio: 3 / 2; }

.media--cover {
  position: absolute;
  inset: 0;
  z-index: -1;
  height: 100%;
}

.media--shade::before,
.media--shade::after {
  content: "";
  position: absolute;
  inset: 0;
}

.media--shade::before {
  z-index: 1;
  background: rgb(0 0 0 / 0.4);
}

.media--shade::after {
  z-index: 1;
  background: linear-gradient(to top, rgb(16 15 15 / 0.72) 0%, rgb(16 15 15 / 0.2) 45%, transparent 70%);
}

.section {
  padding-block: var(--section-y);
}

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

.section--light {
  --bg: var(--charcoal-50);
  --surface: #fff;
  --sunken: var(--charcoal-100);
  --text: var(--charcoal-900);
  --muted: var(--charcoal-600);
  --border: var(--charcoal-200);
  --accent: var(--brass-600);
  --accent-hover: var(--brass-700);
  --accent-active: var(--brass-800);
  --on-accent: #fff;
  --focus: var(--brass-700);
  background: var(--bg);
  color: var(--text);
}

.section-head {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.section-head .lead {
  color: var(--muted);
}

.lead--full {
  max-width: none;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) var(--gutter) var(--section-y-sm);
  color: var(--on-media);
}

.hero__content {
  display: grid;
  gap: 2.5rem;
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

.hero__content h1 {
  max-width: 15ch;
}

.hero__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.hero__row p {
  max-width: 32ch;
  color: rgb(247 246 244 / 0.86);
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
}

.intro {
  display: grid;
  gap: 2rem;
  justify-items: start;
}

.intro p {
  max-width: 32ch;
  font-family: var(--serif);
  font-size: var(--size-h3);
  font-weight: 300;
  line-height: 1.32;
  text-wrap: pretty;
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split + .split {
  margin-top: var(--section-y-sm);
}

.split__text {
  display: grid;
  gap: 1.5rem;
  justify-items: start;
}

.split__text p {
  color: var(--muted);
}

.services {
  display: grid;
  gap: 1.25rem;
  margin: 3rem 0 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
}

.card > .icon {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.card h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.25;
}

.card p {
  color: var(--muted);
  text-wrap: pretty;
}

.chapter {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 80svh;
  padding: var(--section-y-sm) var(--gutter);
  color: var(--on-media);
  text-align: center;
}

.chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgb(16 15 15 / 0.48);
}

.chapter__inner {
  display: grid;
  gap: 28px;
  justify-items: center;
  max-width: 80rem;
}

.chapter__inner > .icon {
  color: var(--brass-300);
}

.chapter .lead {
  margin-inline: auto;
  color: rgb(247 246 244 / 0.82);
}

.ranges {
  display: grid;
  gap: 1.5rem 3rem;
  margin-top: 3rem;
}

.ranges > div {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.ranges .icon {
  margin-top: 2px;
  color: var(--accent);
}

.ranges dt {
  margin-bottom: 4px;
  font-weight: 500;
}

.ranges dd {
  color: var(--muted);
  font-size: 0.875rem;
}

.terms {
  display: grid;
  gap: 1.25rem;
  margin-top: var(--section-y-sm);
}

.criteria {
  display: grid;
  gap: 3rem;
}

.checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 1.125rem;
}

.checklist .icon {
  color: var(--accent);
}

.criteria__note {
  margin-top: 2rem;
  color: var(--muted);
}

.cta {
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: end;
  min-height: 72svh;
  padding: var(--section-y) var(--gutter) var(--section-y-sm);
  color: var(--on-media);
}

.cta .media img {
  object-position: 50% 78%;
}

.cta__inner {
  display: grid;
  gap: 2rem;
  justify-items: start;
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
}

.cta .lead {
  color: rgb(247 246 244 / 0.82);
}

.site-footer {
  padding-block: var(--section-y-sm) 2rem;
  background: var(--charcoal-950);
  color: var(--charcoal-50);
}

.site-footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.site-footer .brand {
  align-self: start;
  font-size: 28px;
}

.site-footer .brand__mark {
  width: 68px;
  color: var(--brass-400);
}

.site-footer address {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-style: normal;
}

.site-footer address a {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--charcoal-50);
  text-decoration: none;
}

.site-footer address a:hover {
  color: var(--brass-300);
}

.site-footer address .icon {
  color: var(--brass-400);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--charcoal-700);
  color: var(--charcoal-400);
  font-size: 0.75rem;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--charcoal-50);
}

.page {
  min-height: 60svh;
  padding-block: calc(var(--header-h) + var(--section-y-sm)) var(--section-y);
}

.legal {
  display: grid;
  gap: 1.25rem;
  justify-items: start;
}

.legal h1 {
  margin-block: 1rem;
  font-family: var(--serif);
  font-size: var(--size-h1);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.legal h2 {
  width: 100%;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--serif);
  font-size: var(--size-h3);
  font-weight: 300;
  line-height: 1.25;
}

.legal h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.25;
}

.legal h4 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 500;
}

.legal p,
.legal li {
  max-width: 68ch;
  color: var(--muted);
  text-wrap: pretty;
}

.legal strong {
  color: var(--text);
  font-weight: 500;
}

.legal ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.25em;
}

.legal li::marker {
  color: var(--accent);
}

.legal a {
  color: var(--accent);
}

.legal .legal__intro {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.4;
}

.legal .legal__updated {
  margin-top: 2.5rem;
  font-size: 0.875rem;
}

.not-found {
  display: grid;
  align-content: center;
  min-height: 100svh;
  padding-block: calc(var(--header-h) + var(--section-y-sm)) var(--section-y-sm);
}

.not-found .wrap {
  display: grid;
  gap: 2rem;
  justify-items: start;
}

.not-found__code {
  color: var(--accent);
  font-family: var(--serif);
  font-size: clamp(3.5rem, 1.6rem + 8.4vw, 11.5rem);
  font-weight: 300;
  line-height: 0.92;
}

.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 600;
  display: grid;
  gap: 1.25rem;
  max-width: 27rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--charcoal-800);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px);
  transition: opacity 640ms var(--ease-slow), transform 640ms var(--ease-slow), visibility 0s linear 640ms;
}

.cookie-banner.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.cookie-banner__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent);
}

.cookie-banner__head p {
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
}

.cookie-banner__text {
  color: var(--muted);
  font-size: 0.875rem;
  text-wrap: pretty;
}

.cookie-banner__text a {
  color: var(--text);
}

.cookie-banner__text a:hover {
  color: var(--accent);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-banner__actions .btn {
  flex: 1 1 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1200ms var(--ease-slow), transform 1200ms var(--ease-slow);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.media.reveal {
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1200ms var(--ease-slow), opacity 640ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.media.reveal.is-visible {
  clip-path: inset(0);
}

@media (min-width: 640px) {
  .services,
  .ranges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-banner {
    inset: auto auto var(--gutter) var(--gutter);
  }

  .cookie-banner__actions .btn {
    flex: 0 0 auto;
  }
}

@media (min-width: 768px) {
  .hero__row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .hero__row p {
    font-size: 1.5rem;
  }

  .menu__body {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-nav {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .intro {
    margin-left: 25%;
  }

  .split {
    grid-template-columns: minmax(0, 7fr) minmax(0, 1fr) minmax(0, 4fr);
  }

  .split > :last-child {
    grid-column: 3;
  }

  .split--reverse {
    grid-template-columns: minmax(0, 4fr) minmax(0, 1fr) minmax(0, 7fr);
  }

  .split--reverse > :first-child {
    grid-column: 3;
    grid-row: 1;
  }

  .split--reverse > :last-child {
    grid-column: 1;
    grid-row: 1;
  }

  .services {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .services > li {
    grid-column: span 4;
  }

  .services > li:nth-child(4) {
    grid-column: 5 / span 4;
  }

  .services > li:nth-child(5) {
    grid-column: 9 / span 4;
  }

  .terms {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 1.5rem;
  }

  .criteria {
    grid-template-columns: minmax(0, 5fr) minmax(0, 1fr) minmax(0, 6fr);
    gap: 0;
  }

  .criteria > :last-child {
    grid-column: 3;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .media.reveal {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
}
