/* =========================================================
   Miquelangelo Productions — site styles
   Desktop (>= 1000px): 1-op-1 met het Wix-origineel op een 980px kolom.
   Mobiel/tablet (< 1000px): vloeiende, gestapelde opbouw.
   ========================================================= */

:root {
  --black: #000;
  --ink: #1a1818;
  --white: #fff;
  --pink: #ea4686;
  --grey: #8d8d8d;
  --rule: #4a4a4a;
  --g-pink: #cd3689;
  --g-purple: #6f60bb;
  --g-blue: #63aae9;
  --grad: linear-gradient(126deg, var(--g-pink) 13%, var(--g-purple) 47%, var(--g-blue) 86%);

  --font: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-quote: "Inter", "Helvetica Neue", Arial, sans-serif;

  --wrap: 980px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--g-blue); outline-offset: 3px; }

.wrap { width: var(--wrap); margin-inline: auto; position: relative; }
.section { position: relative; overflow-x: clip; }

/* ---------- Shared pieces ---------- */
.bar { display: block; width: 57px; height: 10px; background: var(--grad); }

.glowline {
  position: absolute;
  left: 50%;
  width: 1555px;
  height: 10px;
  border-radius: 100px;
  z-index: 2;
  pointer-events: none;
}
.glowline--hero   { top: 588px; margin-left: -758px;
  background: linear-gradient(126deg, #000 4%, var(--g-pink) 28%, var(--g-purple) 52%, #95d6f6 74%, rgba(0,0,0,0) 98%); }
.glowline--dark   { margin-left: -777px;
  background: linear-gradient(126deg, #000 4%, var(--g-pink) 28%, var(--g-purple) 52%, var(--g-blue) 72%, #000 98%); }
.glowline--light  { margin-left: -777px;
  background: linear-gradient(126deg, rgba(0,0,0,0) 4%, var(--g-pink) 28%, var(--g-purple) 52%, var(--g-blue) 72%, rgba(0,0,0,0) 98%); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 47px;
  border-radius: 100px;
  background: var(--grad);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: filter .25s ease, transform .25s ease;
}
.btn:hover { filter: brightness(1.08) saturate(1.1); transform: translateY(-1px); }

.h-xl { font-size: 60px; line-height: 54px; font-weight: 600; color: var(--black); }

/* ---------- Menu button ---------- */
.menu-btn {
  position: absolute;
  top: 4px;
  right: max(16px, calc(50% - 665px));
  width: 61px;
  height: 61px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  z-index: 40;
  display: grid;
  place-items: center;
}
.menu-btn__lines { position: relative; width: 40px; height: 26px; }
.menu-btn__lines span {
  position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px;
  background: var(--ink);
}
.menu-btn__lines span:nth-child(1) { top: 0; }
.menu-btn__lines span:nth-child(2) { top: 12px; }
.menu-btn__lines span:nth-child(3) { top: 24px; }

/* ---------- Menu panel ---------- */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 373px;
  height: 100vh;
  height: 100dvh;
  max-height: 900px;
  padding: 109px 24px 40px 63px;
  border-radius: 50px;
  background: rgba(26, 24, 24, 0.7);
  box-shadow: -3px 0 30px 3px rgba(0, 0, 0, 0.2);
  color: var(--white);
  z-index: 50;
  overflow-y: auto;
  transform: translateX(110%);
  visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s linear .45s;
}
.menu.is-open {
  transform: none;
  visibility: visible;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), visibility 0s;
}
.menu__close {
  position: absolute;
  top: 63px;
  left: 326px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--black);
  cursor: pointer;
}
.menu__close svg { width: 100%; height: 100%; }
.menu__links a {
  display: block;
  font-size: 22px;
  line-height: 30.8px;
  font-weight: 400;
  transition: color .2s ease;
}
.menu__links a:hover,
.menu__links a[aria-current="page"] { color: var(--pink); }
.menu__social { display: flex; gap: 14px; margin-top: 22px; margin-left: 3px; }
.menu__social a {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: grid; place-items: center;
}
.menu__social svg { width: 15px; height: 15px; fill: currentColor; }
.menu-scrim { position: fixed; inset: 0; z-index: 45; display: none; }
.menu-scrim.is-open { display: block; }

/* ---------- Hero ---------- */
.hero { height: 624px; background: var(--black); color: var(--white); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .wrap { height: 100%; }
.hero__content { position: absolute; left: 4px; top: 147px; z-index: 1; }
.hero__eyebrow { margin-top: 14px; font-size: 22px; line-height: 24.2px; font-weight: 600; }
.hero__title { margin-top: 22.8px; font-size: 75px; line-height: 82.5px; font-weight: 700; }
.hero__title span { display: block; margin-top: -1.5px; font-size: 45px; line-height: 49.5px; font-weight: 600; }

/* ---------- Pastel bands ---------- */
.band {
  height: 234px;
  background: #e8e6e6 url("../img/band-pastel.webp") center / cover no-repeat;
}

/* ---------- World moves ---------- */
.world { height: 744px; }
.world .wrap { display: flex; align-items: flex-start; }
.world__media {
  flex: none;
  width: 320px;
  height: 505px;
  margin-left: 100px;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 4px 10px 22px rgba(0, 0, 0, 0.35);
}
.world__text { width: 404px; margin-left: 71px; padding-top: 132px; color: var(--black); }
.world__title { font-size: 77px; line-height: 69.3px; font-weight: 600; }
.world__sub { margin-top: 17.4px; font-size: 26px; line-height: 23.4px; font-weight: 600; }

/* ---------- Brands (dark) ---------- */
.dark { height: 727px; background: var(--black); color: var(--white); }
.dark__glow {
  position: absolute; top: 0; left: 50%;
  width: 2340px; height: 242px; margin-left: -1169px;
  object-fit: cover; pointer-events: none;
  z-index: 1;
}
.dark .glowline--top { top: 33px; }
.dark .glowline--bottom { top: 693px; }
.dark .wrap { display: grid; grid-template-columns: 474px 506px; height: 100%; }
.dark__text { padding-top: 242px; }
.dark__title { font-size: 50px; line-height: 45px; font-weight: 600; }
.dark__title em { font-style: normal; color: var(--pink); }
.motivation { display: flex; align-items: flex-start; gap: 13px; margin-top: 31px; }
.motivation img { width: 25px; height: 25px; flex: none; }
.motivation p { padding-top: 2px; font-size: 26px; line-height: 23.4px; font-weight: 400; }
.motivation b { font-weight: 600; }
.dark__media { position: relative; margin: 107px 0 0 6px; width: 486px; height: 527px; }
.dark__media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.dark__media::after {
  content: ""; position: absolute; left: 26px; top: -22px; width: 474px; height: 556px;
  background: linear-gradient(180deg, #000 0%, rgba(0,0,0,0) 34%, rgba(0,0,0,0) 60%, #000 98%);
  pointer-events: none;
}

/* ---------- Stories ---------- */
.stories { height: 405px; background-color: var(--black); }
.stories .band-bg {
  position: absolute; inset: 0;
  background: url("../img/band-pastel.webp") center / cover no-repeat;
}
.stories__text {
  position: relative;
  padding-top: 188px;
  text-align: center;
  font-family: var(--font-quote);
  font-size: 53px;
  line-height: 47.7px;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: var(--ink);
}
.stories__l2 { position: relative; display: inline-block; }
.stories__arrow { position: absolute; left: -53px; top: 14px; width: 35px; height: 35px; }

/* ---------- Projects ---------- */
.projects { height: 673px; }
.projects .wrap { padding-top: 76px; }
.projects__grid {
  margin-top: 34px;
  width: 979px;
  display: grid;
  grid-template-columns: repeat(4, 239px);
  justify-content: space-between;
  row-gap: 8px;
}
.tile {
  position: relative;
  display: block;
  height: 177px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  isolation: isolate;
}
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.tile img.is-active { opacity: 1; }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0; transition: opacity .3s ease;
}
.tile:hover::after, .tile:focus-visible::after { opacity: 1; }
.projects__more { margin-top: 74px; text-align: center; }
.projects__more .btn { width: 234px; }

/* ---------- Personal highlights ---------- */
.highlights .wrap { padding-top: 81px; }
.eyebrow { font-size: 23px; line-height: 20.7px; font-weight: 400; color: var(--ink); }
.highlights .h-xl { width: 585px; margin-top: 13.3px; }
.highlights__list { margin-top: 28px; }
.highlights__list a { display: block; width: 979px; }
.highlights__list img { width: 100%; height: auto; object-fit: cover; }
.highlights__list li:nth-child(2) { margin-top: -2px; }
.highlights__list li:nth-child(3) { margin-top: 46px; }

/* ---------- Venture ---------- */
.venture {
  height: 354px;
  background: #fff url("../img/venture-bg.webp") 50% 0 / cover no-repeat;
}
.venture .wrap { padding-top: 102px; text-align: center; }
.venture .btn { width: 239px; }
.venture .glowline--light { top: 345px; }

/* ---------- Clients ---------- */
.clients { height: 678px; }
.clients .wrap { height: 100%; }
.clients__title {
  position: absolute; left: 44px; top: 156px; width: 892px;
  text-align: center;
  font-size: 57px; line-height: 51.3px; font-weight: 600; color: var(--black);
}
.clients__logos li {
  position: absolute;
  left: var(--x); top: var(--y); width: var(--w); height: var(--h);
}
.clients__logos img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */
.footer {
  height: 524px;
  background: var(--black);
  color: var(--white);
  border-radius: 50px 50px 0 0;
  overflow: clip;
}
.footer .wrap {
  display: grid;
  grid-template-columns: 334px 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "brand nav" "copy nav";
  column-gap: 105px;
  height: 100%;
}
.footer__brand { grid-area: brand; padding-top: 57px; }
.footer__nav { grid-area: nav; }
.footer__copy { grid-area: copy; align-self: start; }
.footer__brand .bar { width: 83px; margin-left: 7px; }
.footer__logo { display: block; width: 317px; height: 85px; margin-top: 23px; object-fit: cover; }
.footer__social { display: flex; gap: 10px; margin: 35px 0 0 7px; }
.footer__social a { width: 39px; height: 39px; display: grid; place-items: center; color: #e2e2e2; transition: color .2s ease; }
.footer__social a:hover { color: var(--white); }
.footer__social svg { width: 28px; height: 28px; fill: currentColor; }
.footer__tagline { margin: 41px 0 0 7px; font-size: 17px; line-height: 18.7px; font-weight: 300; color: var(--grey); }
.footer__rule { height: 1px; margin-top: 52.6px; margin-left: 8px; background: var(--rule); }
.footer__copy { margin: 28px 0 0 7px; font-size: 14px; line-height: 15.4px; font-weight: 300; color: var(--grey); }
.footer__copy b { font-weight: 700; }
.footer__copy strong { font-weight: 500; }

.footer__nav { padding-top: 96px; }
.footer__cols { display: grid; grid-template-columns: 212px 198px 1fr; }
.footer__cols h2 { font-size: 17px; line-height: 18.7px; font-weight: 600; color: var(--white); }
.footer__cols ul { display: grid; row-gap: 25.3px; margin-top: 35.3px; }
.footer__cols a, .footer__cols span {
  display: block;
  font-size: 17px; line-height: 18.7px; font-weight: 300; color: var(--grey);
  transition: color .2s ease;
}
.footer__cols a:hover { color: var(--white); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  width: 186px; height: 39px; margin-top: 45px;
  border: 2px solid transparent; border-radius: 100px;
  background: linear-gradient(var(--black), var(--black)) padding-box, var(--grad) border-box;
  color: var(--white); font-size: 16px; font-weight: 400;
  transition: background .25s ease;
}
.btn-outline:hover { background: var(--grad) padding-box, var(--grad) border-box; }
.footer__nav .footer__rule { margin: 37px 9px 0 0; }
.footer__glow {
  position: absolute; bottom: 0; left: 50%;
  width: 1752px; height: 30px; margin-left: -868px;
  background: linear-gradient(90deg, #000 0%, var(--g-pink) 29%, var(--g-purple) 52%, var(--g-blue) 71%, #000 100%);
  pointer-events: none;
}

/* =========================================================
   Mobiel / tablet
   ========================================================= */
@media (max-width: 999px) {
  .wrap {
    width: auto;
    max-width: 720px;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
  }
  .h-xl { font-size: clamp(36px, 10vw, 52px); line-height: 0.95; }

  /* Menu button: altijd bereikbaar */
  .menu-btn {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(26, 24, 24, 0.6);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  .menu-btn__lines { width: 24px; height: 16px; }
  .menu-btn__lines span { height: 2px; background: var(--white); }
  .menu-btn__lines span:nth-child(2) { top: 7px; }
  .menu-btn__lines span:nth-child(3) { top: 14px; }

  .menu {
    top: calc(8px + env(safe-area-inset-top, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    width: min(373px, calc(100vw - 16px));
    height: auto;
    max-height: calc(100dvh - 16px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
    padding: 84px 24px 32px 36px;
    border-radius: 32px;
    background: rgba(26, 24, 24, 0.92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }
  .menu__close { top: 22px; left: auto; right: 22px; color: var(--white); width: 30px; height: 30px; }
  .menu__links a { font-size: 21px; line-height: 38px; }

  /* Hero */
  .hero { height: auto; min-height: min(88svh, 720px); display: flex; flex-direction: column; justify-content: flex-end; }
  .hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 38%, rgba(0,0,0,0) 66%);
  }
  .hero__bg { object-position: 66% 50%; }
  .hero .wrap { flex: none; width: 100%; height: auto; }
  .hero__content { position: relative; left: auto; top: auto; padding-bottom: 72px; }
  .hero__eyebrow { margin-top: 12px; font-size: 15px; line-height: 1.2; }
  .hero__title { margin-top: 8px; font-size: clamp(34px, 10.6vw, 75px); line-height: 1.08; }
  .hero__title span { margin-top: 0; font-size: clamp(20px, 6.36vw, 45px); line-height: 1.1; }
  .glowline--hero { top: auto; bottom: 30px; }

  .band { height: 96px; }

  /* World */
  .world { height: auto; padding-block: 56px 72px; }
  .world .wrap { flex-direction: column; align-items: stretch; }
  .world__media { width: min(320px, 78%); height: auto; aspect-ratio: 320 / 505; margin: 0 auto; }
  .world__text { width: auto; margin: 40px 0 0; padding-top: 0; }
  .world__title { font-size: clamp(44px, 13vw, 77px); line-height: 0.92; }
  .world__sub { margin-top: 14px; font-size: clamp(19px, 5.4vw, 26px); line-height: 1.15; }

  /* Dark */
  .dark { height: auto; padding-bottom: 88px; }
  .dark__glow { height: 180px; }
  .dark .glowline--top { top: 24px; }
  .dark .glowline--bottom { top: auto; bottom: 28px; }
  .dark .wrap { grid-template-columns: minmax(0, 1fr); height: auto; }
  .dark__text { padding-top: 120px; }
  .dark__title { font-size: clamp(32px, 9.4vw, 50px); line-height: 1.0; }
  .motivation { margin-top: 24px; gap: 10px; }
  .motivation img { width: 20px; height: 20px; }
  .motivation p { padding-top: 0; font-size: clamp(19px, 5.4vw, 26px); line-height: 1.1; }
  .dark__media { width: min(486px, 100%); height: auto; aspect-ratio: 486 / 527; margin: 24px auto 0; }
  .dark__media::after { left: 5.35%; top: -4.2%; width: 97.5%; height: 105.5%; }

  /* Stories */
  .stories { height: auto; padding-block: 88px 80px; }
  .stories__text { padding-top: 0; font-size: clamp(30px, 8.4vw, 53px); line-height: 1.02; }
  .stories__l2 { display: inline; }
  .stories__arrow {
    position: static; display: inline-block; vertical-align: -0.08em;
    width: 0.62em; height: 0.62em; margin-right: 0.18em;
  }

  /* Projects */
  .projects { height: auto; padding-block: 64px 72px; }
  .projects .wrap { padding-top: 0; }
  .projects__grid { width: 100%; margin-top: 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { height: auto; aspect-ratio: 239 / 177; border-radius: 16px; }
  .projects__more { margin-top: 40px; }

  /* Highlights */
  .highlights .wrap { padding-top: 24px; }
  .eyebrow { font-size: 18px; line-height: 1.2; }
  .highlights .h-xl { width: auto; margin-top: 8px; }
  .highlights__list { margin-top: 20px; display: grid; gap: 12px; }
  .highlights__list a { width: 100%; }
  .highlights__list li:nth-child(n) { margin-top: 0; }

  /* Venture */
  .venture { height: auto; padding-block: 56px 96px; }
  .venture .wrap { padding-top: 0; }
  .venture .glowline--light { top: auto; bottom: 0; }

  /* Clients */
  .clients { height: auto; padding-block: 80px 88px; }
  .clients__title { position: static; width: auto; font-size: clamp(30px, 8.6vw, 57px); line-height: 1.0; text-wrap: balance; }
  .clients__logos {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: 18px 22px; margin-top: 40px;
  }
  .clients__logos li { position: static; width: calc(var(--w) * 0.66); height: calc(var(--h) * 0.66); }

  /* Footer */
  .footer { height: auto; border-radius: 32px 32px 0 0; padding-block: 48px 84px; }
  .footer .wrap {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "brand" "nav" "copy";
    row-gap: 44px;
    height: auto;
  }
  .footer__brand { padding-top: 0; }
  .footer__logo { width: min(317px, 100%); height: auto; aspect-ratio: 317 / 85; margin-top: 18px; }
  .footer__social { margin-top: 24px; }
  .footer__tagline { margin-top: 24px; max-width: 334px; }
  .footer__brand .footer__rule { display: none; }
  .footer__copy { margin: -12px 0 0 7px; }
  .footer__nav { padding-top: 0; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 16px; }
  .footer__cols ul { row-gap: 16px; margin-top: 20px; }
  .footer__cols a, .footer__cols span { font-size: 16px; }
  .btn-outline { margin-top: 36px; }
  .footer__nav .footer__rule { margin: 32px 0 0; }
}

@media (max-width: 420px) {
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
}

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

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; background: var(--black); color: var(--white); text-align: center; }
.notfound .wrap { width: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.notfound .bar { margin: 0 auto 24px; }
.notfound h1 { font-size: clamp(34px, 8vw, 60px); line-height: 1; font-weight: 600; }
.notfound p { margin: 16px 0 32px; color: var(--grey); font-size: 17px; }
.notfound .btn { padding-inline: 32px; }

/* =========================================================
   Case-pagina's: hero, inhoud (canvas) en afsluiter
   Desktop: elementen staan op hun exacte plek (--x/--y/--w/--h).
   Mobiel: dezelfde elementen onder elkaar in leesvolgorde.
   ========================================================= */
.case-hero { height: 854px; background: var(--black); color: var(--white); }
.case-hero .wrap { height: 100%; }
.case-hero__topbar { position: absolute; top: 1px; left: 0; right: 0; height: 16px; z-index: 2;
  background: linear-gradient(74deg, var(--g-pink) 18.6%, var(--g-purple) 53.75%, var(--g-blue) 69.8%); }
.case-hero__strip { position: absolute; left: 0; right: 0; top: 565px; height: 290px;
  background: #000 url("../img/case-strip.webp") center / cover no-repeat; }
.crumb { position: absolute; left: 0; top: 60px; font: 700 14px/20px "Work Sans", var(--font); color: #9ec1ef; text-decoration: underline; z-index: 3; }
.case-hero__img { position: absolute; object-fit: cover; z-index: 1; }
.case-hero__eyebrow { position: absolute; left: 0; top: 135px; font-size: 20px; line-height: 22px; font-weight: 600; z-index: 2; }
.case-hero__title { position: absolute; left: 0; top: 168px; width: 595px; font-size: 75px; line-height: 82.5px; font-weight: 700; z-index: 2; }
.case-hero__vbar { position: absolute; left: 1px; top: 264px; width: 55px; height: 590px; z-index: 2;
  background: linear-gradient(180deg, rgba(205,54,137,0) 2%, var(--g-pink) 24%, var(--g-purple) 47%, var(--g-blue) 73%, rgba(99,170,233,0) 98%); }
.case-about { position: absolute; left: 176px; top: 505px; width: 627px; padding-left: 32px; z-index: 2; }
.case-about::before { content: ""; position: absolute; left: 0; top: 1px; width: 11px; height: 253px;
  background: linear-gradient(180deg, var(--g-pink) 13%, var(--g-purple) 47%, var(--g-blue) 86%); }
.case-about__label { font-size: 19px; line-height: 20.9px; font-weight: 600; color: #616161; }
.case-about__text { margin-top: 17px; font-size: 36px; line-height: 43.2px; font-weight: 700; }
.case-about__tag { position: absolute; left: 32px; top: 231px; display: flex; align-items: center; gap: 9px;
  font-family: var(--font-quote); font-size: 19px; line-height: 20.9px; white-space: nowrap; }
.case-about__tag img { width: 16px; height: 16px; }
.menu-btn--case { top: 1003px; right: auto; left: calc(50% - 490px + 918px); }

.canvas { position: relative; width: var(--wrap); height: var(--ch); margin-inline: auto; }
.canvas .band-bg { position: absolute; left: calc(50% - 50vw); width: 100vw; top: var(--y); height: var(--h); z-index: 0; }
.canvas .a { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: var(--h); }
.canvas .t { height: auto; }
.canvas .t > * { font-size: var(--fs); margin: 0; }
.canvas .t a { text-decoration: underline; }
.canvas .m > a { display: block; width: 100%; height: 100%; }
.canvas .m img, .canvas .m video, .canvas .m iframe { display: block; width: 100%; height: 100%; object-fit: cover; border: 0; }
.canvas .d .deco { width: 100%; height: 100%; }
.canvas .cbtn { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: var(--fs); transition: filter .25s ease; }
.canvas .cbtn:hover { filter: brightness(1.1); }

.case-end { height: 172px; background: #fafafa; display: grid; place-items: center; }
.btn--lg { width: 251px; height: 59px; font-size: 23px; letter-spacing: 0.15em; }

@media (max-width: 999px) {
  .case-hero { height: auto; padding: 72px 0 56px; }
  .case-hero .wrap { height: auto; display: flex; flex-direction: column; }
  .case-hero__strip { top: auto; bottom: 0; height: 60%; }
  .crumb { position: static; order: 0; }
  .case-hero__eyebrow, .case-hero__title { position: static; width: auto; }
  .case-hero__eyebrow { order: 1; margin-top: 24px; font-size: 15px; }
  .case-hero__title { order: 2; margin-top: 4px; font-size: clamp(38px, 11vw, 75px); line-height: 1.05; }
  .case-hero__img { position: static !important; order: 3; width: 100% !important; height: auto !important; aspect-ratio: 870 / 417; margin-top: 24px; }
  .case-hero__vbar { display: none; }
  .case-about { position: relative; left: auto; top: auto; width: auto; order: 4; margin-top: 32px; padding-left: 24px; }
  .case-about::before { width: 6px; height: 100%; }
  .case-about__label { font-size: 14px; }
  .case-about__text { margin-top: 10px; font-size: clamp(22px, 6.4vw, 36px); line-height: 1.2; }
  .case-about__tag { position: static; margin-top: 16px; white-space: normal; font-size: 16px; }
  .menu-btn--case { top: calc(12px + env(safe-area-inset-top, 0px)); left: auto; right: max(12px, env(safe-area-inset-right, 0px)); }

  .canvas {
    width: auto; max-width: 720px; height: auto;
    display: flex; flex-direction: column; gap: 20px;
    padding: 48px max(20px, env(safe-area-inset-right, 0px)) 64px max(20px, env(safe-area-inset-left, 0px));
  }
  .canvas .band-bg, .canvas .d { display: none; }
  .canvas .a { position: relative; left: auto; top: auto; width: auto; height: auto; z-index: auto !important; }
  .canvas .m { width: min(var(--w), 100%); aspect-ratio: var(--ar); align-self: center; }
  .canvas .b { width: min(var(--w), 100%); height: var(--h); align-self: center; }
  .canvas .t > * { font-size: max(min(var(--fs), 16px), calc(var(--fs) * 0.68)); }
  .canvas .t > [style*="text-align:right"] { text-align: left !important; }
  .canvas .t > [style*="font-weight:200"] { font-weight: 300 !important; }
  .canvas .t + .t { margin-top: -8px; }
  .case-end { height: 132px; }
  .btn--lg { width: 220px; height: 54px; font-size: 19px; }
}
.case-end { margin-bottom: 119px; }
@media (max-width: 999px) { .case-end { margin-bottom: 0; } }
