/* 1. Fonts, design tokens and heading typography */
@font-face {
  font-family: "DIN Raven";
  src: url("assets/fonts/din-next-ultralight.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 400;
  font-display: swap;
}

@font-face {
  font-family: "Avenir Raven";
  src: url("assets/fonts/avenir-light.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
}

:root {
  --text: #e8e8e8;
  --soft: rgba(255, 255, 255, 0.5);
  --header: rgba(16, 71, 65, 0.56);
  --content: 61.25rem;
  --cookie-bg: #143740;

  /* Heading typography: this is the single source of truth for h1-h3. */
  --h1-size: 1.5625rem;
  --h1-line-height: 1.4;
  --h1-weight: 400;
  --h2-size: 2.875rem;
  --h2-line-height: 1.4;
  --h2-weight: 300;
  --h3-size: 1.375rem;
  --h3-line-height: 1.4;
  --h3-weight: 300;

  /* The cookie dialog is an independent UI component. */
  --cookie-h2-size: 1.5rem;
  --cookie-h2-line-height: 1.333;
  --cookie-h3-size: 1rem;
  --cookie-h3-line-height: 1.5;
}

@media (max-width: 850px) {
  :root {
    --h1-size: 1.3125rem;
    --h2-size: clamp(2.125rem, 8vw, 2.75rem);
  }
}

@media (max-width: 560px) {
  :root {
    --h1-size: 1.1875rem;
    --h2-size: 2.125rem;
    --h3-size: 1.1875rem;
    --cookie-h2-size: 1.3125rem;
  }
}

/* 2. Document defaults and accessibility helpers */
* { box-sizing: border-box; }
html {
  background: #26575B;
  scroll-behavior: auto;
  scroll-padding-top: 0;
}
@media (min-width: 561px) {
  html { scrollbar-width: thin; scrollbar-color: rgba(232,232,232,.58) rgba(12,22,29,0); }
  ::-webkit-scrollbar { width: 10px; height: 10px; }
  ::-webkit-scrollbar-track { background: rgba(12,22,29,.28); }
  ::-webkit-scrollbar-thumb { min-height: 48px; border: 2px solid transparent; border-radius: 999px; background: linear-gradient(rgba(232,232,232,.72), rgba(195,213,216,.52)) padding-box; }
  ::-webkit-scrollbar-thumb:hover { background: linear-gradient(rgba(255,255,255,.9), rgba(211,229,231,.72)) padding-box; }
  ::-webkit-scrollbar-corner { background: transparent; }
}
body {
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: transparent;
  font-family: "DIN Raven", "Segoe UI Light", sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.4;
  overflow:auto;
}

body::before {
  pointer-events: none;
}

body::after {
  pointer-events: none;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

/* Heading roles: sizes, line heights and weights are configured in :root. */
h1, h2, h3 { margin: 0; }
h1 { font-size: var(--h1-size); font-weight: var(--h1-weight); line-height: var(--h1-line-height); }
h2 { font-size: var(--h2-size); font-weight: var(--h2-weight); line-height: var(--h2-line-height); }
h3 { font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: var(--h3-line-height); }
.cookie-settings-panel h2 { font-size: var(--cookie-h2-size); font-weight: 400; line-height: var(--cookie-h2-line-height); }
.cookie-option h3 { font-size: var(--cookie-h3-size); font-weight: 400; line-height: var(--cookie-h3-line-height); }
.section-label h2, main > section h2, main > section h3 { color: var(--soft); }
.contact-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; margin: 0 !important; padding: 0 !important; opacity: 0 !important; pointer-events: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 12px; z-index: 999; padding: 12px 16px; background: #fff; color: #116dff; }
.skip-link:focus { top: 12px; }

/* Shared layout inherited by every page section inside main. */
main > section {
  --section-content-width: var(--content);
  --section-padding-inline: 1.25rem;
  --section-padding-start: 0;
  --section-padding-end: 0;
  position: relative;
  isolation: isolate;
  padding-block: var(--section-padding-start) var(--section-padding-end);
  padding-inline: var(--section-padding-inline);
}
main > section > .section-inner { position: relative; z-index: 1; width: min(var(--section-content-width), 100%); margin-inline: auto; }
main > section > .section-inner > h2 { width: min(36.625rem, 100%); margin-inline: auto; text-align: center; }

/* 3. Header, navigation and hero */
.site-header {
  position: relative;
  z-index: 100;
  height: 94px;
  background: rgba(34, 34, 34, 0.25);
}

.nav-shell {
  width: min(var(--content), calc(100% - 40px));
  height: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 90px 1fr 90px;
  align-items: center;
}

.fox-link { width: 51px; margin-left: 17px; opacity: 1; }
.site-menu { width: 646px; justify-self: center; display: grid; grid-template-columns: 130px 175px 165px 176px; gap: 0; }
.site-menu a {
  color: #fefefe;
  text-decoration: none;
  font-size: 20px;
  font-weight: 400;
  line-height: 50px;
  text-align: center;
  white-space: nowrap;
  transition: color 400ms ease;
}
.site-menu a.is-active { color: #fefefe; }
.site-menu a:hover, .site-menu a.is-active:hover { color: #b5e3d9; }
.languages { display: flex; align-items: center; justify-content: flex-end; gap: 10px; font-family: "Avenir Raven", sans-serif; font-size: 14px; }
.languages span { width: 1px; height: 38px; background: rgba(255,255,255,.25); }
.languages button { border: 0; padding: 8px 0; color: rgba(255,255,255,.62); background: transparent; cursor: pointer; }
.languages button[aria-pressed="true"] { color: #fff; }
.menu-toggle { display: none; }
.mobile-menu-backdrop { display: none; }

.hero {
  --section-padding-start: 9.25rem;
  --section-padding-end: 5rem;
  min-height: 855px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}
.wordmark {
  width: 406px;
  filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}
.hero h1 { width: min(980px, 100%); margin: 56px 0 0; color: var(--text); }
.scroll-arrow { width: 32px; margin-top: 62px; opacity: 1; text-decoration: none; }

/* 4. Projects and project media */
.section-label { height: 65px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 24px; }

.case {
  --section-content-width: 57.125rem;
  --section-padding-start: clamp(2.5rem, 5vw, 4rem);
  --section-padding-end: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
.case::after { position: absolute; inset: 0; z-index: -1; content: ""; mix-blend-mode: overlay; pointer-events: none; }

.case-inner {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}
.case-lifty .case-inner { grid-template-columns: minmax(14rem, 17.3125rem) minmax(0, 1fr); column-gap: clamp(2rem, 7vw, 4.5rem); }
.case-lifty .case-copy { align-self: center; }
.case-media { min-width: 0; display: grid; gap: clamp(1.5rem, 3vw, 2rem); }
.media-title { display: grid; gap: .875rem; }
.media-title h2 { justify-self: start; width: fit-content; max-width: 100%; }
.media-title h2::after { display: block; width: 100%; height: 1px; margin-top: 3px; content: ""; background: var(--soft); }
.tags { display: flex; flex-wrap: wrap; gap: .625rem; }
.tags img { width: 7.125rem; height: auto; aspect-ratio: 114 / 33; object-fit: contain; }
.case-copy { width: 100%; }
.case-copy h3 { margin-bottom: 1rem; }
.case-copy p { margin: 0; font-size: 1.125rem; line-height: 1.4; }
.single-visual { width: min(100%, 37.5rem); height: auto; margin-inline: auto; object-fit: contain; object-position: center; }

.video-frame { position: relative; overflow: hidden; background: rgba(0,0,0,.15); }
.video-frame video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dg-screens { position: relative; width: min(100%, 51.1875rem); margin-inline: auto; aspect-ratio: 819 / 369; }
.dg-screens .wide { position: absolute; z-index: 1; left: 9.89%; top: 3.25%; width: 56.29%; height: 72.36%; border: 0; border-radius: 0; box-shadow: none; }
.dg-screens .narrow { position: absolute; z-index: 3; left: 60.68%; top: 29%; width: 17.83%; height: 68.83%; border: 0; border-radius: 0; box-shadow: none; }
.dg-frame { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lifty-devices { position: relative; width: min(100%, 17.3125rem); margin-inline: auto; aspect-ratio: 277 / 450; }
.lifty-devices .phone { position: absolute; z-index: 1; left: 6.14%; top: 3.33%; width: 86.64%; height: 93.33%; border: 0; border-radius: 0; box-shadow: none; }
.lifty-devices > img { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }

.art-screens { width: min(100%, 50.1875rem); margin-inline: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 12.6875rem)); justify-content: space-between; gap: clamp(1rem, 5vw, 6rem); align-items: center; }
.art-screens img { width: 100%; height: auto; object-fit: contain; filter: none; }
.store-links { display: flex; flex-wrap: wrap; gap: 1.625rem; margin-top: 1.6875rem; align-items: center; }
.store-links img { height: 2.6875rem; width: auto; }

.fmx-video { position: relative; width: min(100%, 51.1875rem); margin-inline: auto; aspect-ratio: 819 / 355; border: 0; box-shadow: none; background: transparent; }
.fmx-video video { position: absolute; z-index: 1; left: 2.32%; top: 5.35%; width: 95.36%; height: 72.68%; }
.fmx-frame { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* 5. About, services and contact */
.about { --section-padding-start: .8125rem; --section-padding-end: clamp(4rem, 8vw, 6rem); }
.services { --section-padding-start: 2.125rem; --section-padding-end: 3.1875rem; }
.contact { --section-padding-start: .75rem; --section-padding-end: clamp(3rem, 7vw, 5rem); }
.about > .section-inner > p { width: min(57.25rem, 100%); margin: 2.75rem auto 0; }
.clients { width: min(37.5rem, 100%); height: auto; margin: 5.25rem auto 0; opacity: .8; }
.services-grid { width: min(57rem, 100%); margin: 2rem auto 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; text-align: center; }
.services-grid article { position: relative; isolation: isolate; padding: 1.625rem .25rem 1.25rem; }
.services-grid article::before { position: absolute; z-index: -1; inset: 0; content: ""; background: rgba(0,0,0,.25); }
.services-grid img { width: min(6.875rem, 70%); height: auto; aspect-ratio: 1; margin: auto; opacity: 1; }
.services-grid h3 { width: 100%; margin: .8125rem auto 0; }
.services-grid p { width: 100%; margin: .4375rem auto 0; color: var(--text); font-size: .875rem; line-height: 1.4; }

/* Contact form and company details */
#contact-form { width: min(57.25rem, 100%); margin: .8125rem auto 0; }
#contact-form label { display: block; }
#contact-form input, #contact-form textarea {
  width: 100%;
  height: 44px;
  margin: 0 0 12px;
  padding: 3px 3px 3px 20px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 16px;
  line-height: 22.4px;
  transition: border-color 180ms ease;
}
#contact-form textarea { display: block; height: 173px; min-height: 173px; margin-bottom: 9px; padding: 12px 10px 3px 19px; resize: none; }
#contact-form input:focus, #contact-form textarea:focus { border: 2px solid rgba(116,196,180,.5); }
#contact-form input.is-invalid, #contact-form textarea.is-invalid { border: 0; border-bottom: 1px solid #ff4040; background: rgba(85,58,98,.27); }
#contact-form input::placeholder, #contact-form textarea::placeholder { color: var(--text); opacity: 1; }
#contact-form > button { width: 100%; height: 53px; padding: 0; border: 1px solid rgba(255,255,255,.5); outline: 0; color: #fff; background: rgba(0,0,0,.25); font-size: 16px; font-weight: 700; cursor: pointer; transition: color 400ms ease, border-color 400ms ease, background-color 400ms ease; }
#contact-form > button:hover { border-color: #fff; color: #aaa; background: rgba(0,0,0,.35); }
#contact-form > button:disabled { opacity: .5; cursor: wait; }
.form-status { width: 100%; min-height: 1.6875rem; margin: .5rem 0 0; font-size: 1.125rem; line-height: 1.5; text-align: center; }
.contact-details { margin-top: 4rem; text-align: center; }
.contact-details p { width: min(42.25rem, 100%); margin: 0 auto; font-size: 1.125rem; line-height: 1.5; }
.contact-details strong { font-weight: 700; }
.contact-details a { color: inherit; text-decoration: none; }
.contact-details img { width: 7.5625rem; height: auto; margin: 4.3125rem auto 0; opacity: 1; }

/* 6. Footer and cookie controls */
footer { padding: 2.25rem 1rem 1.375rem; background: transparent; text-align: center; font-size: 1rem; font-weight: 700; line-height: 1.4; }

.cookie-banner { position: fixed; right: 0; bottom: 0; left: 0; z-index: 2147483646; min-height: 64px; padding-left: 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; color: #fff; background: var(--cookie-bg); font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 20px; }
.cookie-banner[hidden], .cookie-settings-backdrop[hidden] { display: none; }
.cookie-banner p { margin: 0; padding: 12px 20px 12px 0; }
.cookie-actions { height: 64px; display: flex; align-items: center; gap: 8px; }
.cookie-actions button { height: 32px; padding: 0 16px; border-radius: 0; font: 14px Arial, Helvetica, sans-serif; cursor: pointer; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease; }
.cookie-settings-button { min-width: 84px; border: 1px solid #fff; color: #fff; background: var(--cookie-bg); }
.cookie-settings-button:hover { color: #000; background: #fff; }
.cookie-accept-button { min-width: 80px; border: 1px solid #fff; color: #000; background: #fff; }
.cookie-accept-button:hover { color: #fff; background: var(--cookie-bg); }
.cookie-dismiss-button { width: 48px; padding: 0 !important; border: 0; color: #fff; background: var(--cookie-bg); font-size: 25px !important; font-weight: 200 !important; }
.cookie-dismiss-button:hover { color: #aaa; }

.cookie-settings-backdrop { position: fixed; inset: 0; z-index: 2147483647; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.6); font-family: Arial, Helvetica, sans-serif; }
.cookie-dialog-open { overflow: hidden; }
.cookie-settings-panel { position: relative; width: min(600px, 100%); max-height: calc(100vh - 48px); overflow: auto; padding: 0 24px 30px; color: #000; background: #fff; box-shadow: rgba(0,0,0,.1) -8px -7px 20px; }
.cookie-settings-panel header { position: sticky; top: 0; z-index: 2; min-height: 84px; display: flex; align-items: center; justify-content: space-between; background: #fff; }
.cookie-dialog-close { width: 32px; height: 32px; border: 0; color: #000; background: transparent; font-size: 28px; font-weight: 200; cursor: pointer; }
.cookie-option { position: relative; min-height: 117px; padding: 0 74px 22px 0; }
.cookie-option:last-of-type { min-height: 73px; padding-bottom: 0; }
.cookie-option h3 { margin-bottom: 8px; }
.cookie-option p { margin: 0; font-size: 12px; line-height: 16px; }
.cookie-switch { position: absolute; top: 0; right: 12px; width: 42px; height: 22px; cursor: pointer; }
.cookie-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cookie-switch > span:first-of-type { display: block; width: 42px; height: 22px; border-radius: 999px; background: #a8a8a8; transition: background-color 180ms ease; }
.cookie-switch > span:first-of-type::after { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; content: ""; background: #fff; transition: transform 180ms ease; }
.cookie-switch input:checked + span { background: #000; }
.cookie-switch input:checked + span::after { transform: translateX(20px); }
.cookie-switch input:focus-visible + span { outline: 2px solid #116dff; outline-offset: 2px; }
.cookie-switch input:disabled + span { opacity: .55; cursor: not-allowed; }
.cookie-save-button { display: block; width: 172px; height: 32px; margin-left: auto; border: 1px solid #000; color: #fff; background: #000; font: 14px Arial, Helvetica, sans-serif; cursor: pointer; transition: color 180ms ease, background-color 180ms ease; }
.cookie-save-button:hover { color: #000; background: #fff; }

/* 7. Motion */
@keyframes hero-reveal { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
.js .hero .wordmark, .js .hero h1, .js .hero .scroll-arrow { opacity: 0; transform: translateY(24px); }
.js.hero-intro-ready .hero .wordmark { animation: hero-reveal 1250ms cubic-bezier(.22,.61,.36,1) 180ms both; }
.js.hero-intro-ready .hero h1 { animation: hero-reveal 1100ms cubic-bezier(.22,.61,.36,1) 650ms both; }
.js.hero-intro-ready .hero .scroll-arrow { animation: hero-reveal 900ms cubic-bezier(.22,.61,.36,1) 1150ms both; }

.js .observe { opacity: 0; transform: translateY(14px); transition: opacity 650ms ease, transform 650ms ease; }
.js .observe.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .hero .wordmark, .js .hero h1, .js .hero .scroll-arrow { transform: none; }
  .js.hero-intro-ready .hero .wordmark { animation: hero-fade 700ms ease 80ms both; }
  .js.hero-intro-ready .hero h1 { animation: hero-fade 700ms ease 350ms both; }
  .js.hero-intro-ready .hero .scroll-arrow { animation: hero-fade 650ms ease 650ms both; }
  .js .observe { opacity: 1; transform: none; transition: none; }
}

/* 8. Tablet and mobile overrides */
@media (max-width: 850px) {
  /* Navigation and hero */
  .site-header { height: 4.75rem; }
  .nav-shell { width: calc(100% - 1.75rem); grid-template-columns: 3.75rem 1fr 4.625rem; }
  .fox-link { width: 2.625rem; }
  .menu-toggle { justify-self: center; display: grid; gap: .3125rem; width: 2.625rem; padding: .625rem; border: 0; background: transparent; cursor: pointer; }
  .menu-toggle span { display: block; width: 1.375rem; height: 1px; background: #fff; }
  .site-menu { position: absolute; top: 4.75rem; right: 0; left: 0; width: 100%; display: grid; grid-template-columns: 1fr; gap: 0; padding: .8125rem 1.25rem 1.25rem; background: rgba(16,71,65,.95); text-align: center; transform-origin: top; transform: scaleY(0); opacity: 0; pointer-events: none; transition: transform 180ms ease, opacity 180ms ease; }
  .site-menu.is-open { transform: scaleY(1); opacity: 1; pointer-events: auto; }
  .site-menu a { line-height: 2.75rem; }
  .languages { gap: .4375rem; }
  .languages span { height: 1.75rem; }
  .hero { --section-padding-start: 7rem; min-height: 45rem; }
  .wordmark { width: min(16.875rem, 72vw); }
  .hero h1 { margin-top: 3.25rem; }

  /* Projects */
  .case {
    --section-content-width: 40.625rem;
    --section-padding-start: clamp(3.5rem, 8vw, 4.5rem);
    --section-padding-end: clamp(3.5rem, 8vw, 4.5rem);
  }
  .case-inner { grid-template-columns: 1fr; }
  .case-lifty .case-inner { grid-template-columns: 1fr; }
  .case-copy { max-width: 40.625rem; }

  /* About, services and contact */
  .about, .contact { --section-padding-start: 3.5rem; --section-padding-end: 3.5rem; }
  main > section > .section-inner > h2 { width: 100%; }
  .about > .section-inner > p { width: 100%; margin: 1.875rem 0 0; }
  .clients { width: min(37.5rem, 100%); height: auto; margin: 2.625rem auto 0; }
  #contact-form { width: 100%; margin-top: 2rem; }
  .contact-details { margin-top: 4.5rem; }
  .contact-details p { width: 100%; height: auto; }
  .contact-details img { margin-top: 3rem; }
  .services-grid { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.125rem .5rem; }
  .services-grid article { padding: 1.625rem .5rem; background: rgba(0,0,0,.25); }
  .services-grid article::before { display: none; }

  /* Cookie banner */
  .cookie-banner { padding: .875rem 1rem; grid-template-columns: 1fr; }
  .cookie-banner p { padding: 0 0 .75rem; }
  .cookie-actions { width: 100%; height: auto; justify-content: flex-end; }
}

@media (max-width: 560px) {
  /* Document and navigation */
  html {
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    scrollbar-width: auto;
    scrollbar-color: auto;
  }
  body { width: 100%; min-width: 0; overflow-x: hidden; font-size: 1rem; }
  /* Absolute menu layers preserve Safari's gradient-tinted browser chrome. */
  body.menu-open { overscroll-behavior: none; }
  main > section { --section-content-width: 30rem; }

  .site-header { height: 3.4375rem; }
  .nav-shell { width: 100%; grid-template-columns: 3.4375rem 1fr 3.4375rem; }
  .fox-link { justify-self: start; width: 1.8125rem; margin-left: .875rem; }
  .menu-toggle { position: relative; z-index: 1002; grid-column: 3; grid-row: 1; justify-self: center; align-content: center; width: 3.125rem; height: 3.125rem; gap: .375rem; padding: .75rem .875rem; }
  .menu-toggle:focus { outline: 0; }
  .menu-toggle span { width: 1.375rem; transform-origin: center; transition: opacity 220ms ease, transform 320ms ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(.4375rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-.4375rem) rotate(-45deg); }
  .mobile-menu-backdrop { position: absolute; top: 0; right: 0; left: 0; z-index: 998; display: block; height: 100vh; height: 100dvh; background: rgba(85, 85, 85, .6); opacity: 0; pointer-events: none; touch-action: none; overscroll-behavior: contain; transition: opacity 360ms ease; }
  .mobile-menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
  .site-menu { position: absolute; top: 0; right: 0; left: auto; z-index: 999; width: 9.5rem; height: 100vh; height: 100dvh; padding: 2.875rem 2.0625rem 0 .1875rem; grid-template-columns: 7.25rem; grid-auto-rows: 3.5rem; align-content: start; background: #356f6b url("assets/site/mobile-menu-background.avif") center / cover no-repeat; text-align: right; transform: translateX(100%); opacity: 1; pointer-events: none; touch-action: none; overscroll-behavior: contain; transition: transform 420ms cubic-bezier(.22,.61,.36,1); }
  .site-menu.is-open { transform: translateX(0); opacity: 1; pointer-events: auto; }
  .site-menu a { width: 7.25rem; height: 3.5rem; padding: 0 .5625rem 0 0; color: #fff; font-size: 1.125rem; font-weight: 400; line-height: 3.5rem; text-align: right; }
  .site-menu a.is-active { color: #74c4b4; }
  .languages { display: none; }
  .site-menu.is-open + .languages { position: absolute; top: 1.125rem; right: 3.625rem; z-index: 1001; width: 5.25rem; height: 1.625rem; display: flex; align-items: stretch; justify-content: flex-start; gap: 0; font-size: .9375rem; line-height: 1.3125rem; }
  .site-menu.is-open + .languages button { height: 1.625rem; padding: 0; display: flex; align-items: center; justify-content: center; color: #e8e8e8; font-size: .9375rem; line-height: 1.3125rem; }
  .site-menu.is-open + .languages button:first-child { width: 2.6875rem; }
  .site-menu.is-open + .languages button:last-child { width: 2.5rem; }
  .site-menu.is-open + .languages button[aria-pressed="true"] { color: #fff; }
  .site-menu.is-open + .languages span { width: 1px; height: 1.625rem; background: rgba(255,255,255,.3); }

  /* Hero */
  .hero { --section-padding-start: 5.6875rem; --section-padding-end: 3rem; width: 100%; min-height: 34.375rem; }
  .wordmark { position: relative; left: -.375rem; width: min(17.5rem, 100%); }
  .hero h1 { width: min(17.5rem, 100%); margin-top: .625rem; }
  .scroll-arrow { width: 1.875rem; margin-top: 1.5625rem; }

  .section-label { height: auto; min-height: 7.8125rem; padding: 2rem 1.25rem .375rem; }
  .section-label h2 { width: min(17.5rem, 100%); text-align: center; }

  .js .observe { opacity: 1; transform: none; transition: none; }

  /* Projects */
  .case { --section-padding-start: 2.5rem; --section-padding-end: 2.5rem; }
  .case-inner {
    display: grid;
    gap: 1.25rem;
  }

  .case-media, .media-title, .case-copy { display: contents; }
  .tags { display: none; }
  .media-title h2 { order: 1; width: fit-content; max-width: 100%; }
  .media-title h2::after { margin-top: 0; }
  .case-copy h3 { order: 2; margin: 0; }
  .case-copy p { order: 4; font-size: 1rem; line-height: 1.4; }
  .dg-screens, .lifty-devices, .case-media > .single-visual, .art-screens, .fmx-video { order: 3; }
  .store-links { order: 5; }

  .dg-screens { width: 100%; aspect-ratio: 280 / 209; }
  .dg-screens .wide { left: 2.86%; top: 4.31%; width: 95%; height: 72.25%; }
  .dg-screens .narrow, .dg-frame { display: none; }
  .dg-screens::after { position: absolute; z-index: 2; inset: 0; content: ""; pointer-events: none; background: url("assets/site/distractville-mobile-frame.avif") center / contain no-repeat; }
  .lifty-devices { width: min(100%, 18.5rem); aspect-ratio: 296 / 499; }
  .lifty-devices .phone { left: 5.74%; top: 3.01%; width: 89.19%; height: 92.99%; }
  .lifty-devices > img { display: none; }
  .lifty-devices::after { position: absolute; z-index: 2; inset: 0; content: ""; pointer-events: none; background: url("assets/site/lifty-mobile-frame.avif") center / contain no-repeat; }
  .case-media > .single-visual { width: 100%; height: auto; }
  .art-screens { width: 100%; display: grid; grid-template-columns: 1fr; gap: 0; place-items: center; }
  .art-screens img { display: none; }
  .art-screens img:nth-child(2) { display: block; width: min(77.5%, 13.5625rem); height: auto; }
  .store-links { gap: 1.75rem; margin: 0; }
  .store-links img { width: auto; height: 2.4375rem; }
  .fmx-video { width: 100%; aspect-ratio: 290 / 126; }
  .fmx-video video { left: 2.41%; top: 3.97%; width: 95.52%; height: 74.6%; }

  /* About and services */
  .about, .services, .contact { --section-padding-start: 2.5rem; --section-padding-end: 2.5rem; }
  .about > .section-inner > p { position: static; width: 100%; margin: 1rem 0 0; font-size: 1rem; line-height: 1.4; }
  .clients { position: static; width: min(100%, 17.5rem); height: auto; margin: 2.5rem auto 0; }

  .services-grid { width: 100%; margin: .625rem auto 0; grid-template-columns: 1fr; gap: .25rem; }
  .services-grid article { padding: 1.0625rem 1.25rem 1.25rem; background: rgba(0,0,0,.25); }
  .services-grid article::before { display: none; }
  .services-grid img { position: relative; left: .1875rem; width: 5rem; height: 5rem; margin: 0 auto; }
  .services-grid h3 { width: 100%; margin: .5rem auto 0; }
  .services-grid p { width: 100%; margin: 0 auto; font-size: .875rem; line-height: 1.4; }

  /* Contact and footer */
  #contact-form { width: 100%; margin: .75rem auto 0; }
  #contact-form input, #contact-form textarea { width: 100%; height: 1.625rem; margin: 0 0 .5625rem; padding: .1875rem .1875rem .1875rem .5rem; font-size: .8125rem; line-height: 1.4; }
  #contact-form textarea { height: 4.375rem; min-height: 4.375rem; margin-bottom: .625rem; padding: .5625rem .625rem .1875rem .5rem; font-size: .75rem; line-height: 1.4; }
  #contact-form > button { height: 2.625rem; font-size: .8333rem; }
  .form-status { position: static; width: 100%; height: auto; min-height: 0; margin: 0; padding: 0 .25rem; font-size: 1.0625rem; line-height: 1.47; }
  .form-status:not(:empty) { min-height: 1.5625rem; margin-top: .625rem; }
  .contact-details { margin-top: 2.8125rem; text-align: center; }
  .contact-details p { font-size: 1rem; line-height: 1.4; }
  .contact-details img { width: 6.25rem; height: auto; margin: 2.875rem auto 0; }

  footer { height: auto; min-height: 5rem; padding: 1.5rem 1rem; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-size: 1rem; line-height: 1.4; }

  /* Cookie settings */
  .cookie-settings-backdrop { padding: .75rem; }
  .cookie-settings-panel { max-height: calc(100vh - 1.5rem); padding-right: 1.125rem; padding-left: 1.125rem; }
  .cookie-settings-panel h2 { max-width: calc(100% - 2.625rem); }
  .cookie-option { padding-right: 3.625rem; }
}
