  :root {
    --black: #000;
    --black-1: #030303;
    --black-2: #070707;
    --black-3: #0d0d0d;
    --white: #efefec;
    --soft: #b8b8b3;
    --muted: #767672;
    --line: #1d1d1d;
    --red: #DA1111;
    --serif: "Bodoni 72", Didot, "Bodoni MT", "Nimbus Roman No9 L", "Times New Roman", serif;
    --sans: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
    --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --pad: clamp(18px, 3vw, 52px);
  }

  * { box-sizing: border-box; }
  html { background: var(--black); color: var(--white); scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
  }
  body.portal-open { overflow: hidden; }
  img { display: block; max-width: 100%; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; }
  ::selection { background: var(--red); color: var(--black); }

  .meta {
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1.45;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  /* =========================================================
     PORTAL
     ========================================================= */
  .hero {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    isolation: isolate;
    background: #050505;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 56% center;
    z-index: -2;
  }

  /* V16: scroll-reactive house cutout, aligned to hero source canvas. */
  .hero__house-scroll {
    --house-progress: 0;
    --house-opacity: 0;
    --house-shift-x: 0vw;
    --house-skew: 0deg;
    --house-scale-x: 1;
    --house-scale-y: 1;
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: var(--red);
    opacity: var(--house-opacity);

    -webkit-mask-image: url("../assets/images/hero-house-cutout.webp");
    mask-image: url("../assets/images/hero-house-cutout.webp");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: cover;
    mask-size: cover;
    -webkit-mask-position: 56% center;
    mask-position: 56% center;

    transform-origin: 100% 100%;
    transform:
      translate3d(var(--house-shift-x), 0, 0)
      skewX(var(--house-skew))
      scaleX(var(--house-scale-x))
      scaleY(var(--house-scale-y));

    will-change: transform, opacity;
    backface-visibility: hidden;
  }
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.08);
    z-index: -1;
    pointer-events: none;
  }

  .hero__nav {
    position: absolute;
    top: var(--pad);
    right: var(--pad);
    z-index: 7;
    display: flex;
    gap: clamp(18px, 3vw, 44px);
  }
  .hero__nav a,
  .hero__nav button {
    font-family: var(--mono);
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #d6d6d2;
    opacity: .72;
    transition: color .2s linear, opacity .2s linear;
  }
  .hero__nav button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
  }
  .hero__nav a:hover,
  .hero__nav a:focus-visible,
  .hero__nav button:hover,
  .hero__nav button:focus-visible {
    color: var(--red);
    opacity: 1;
    outline: none;
  }

  .star-trigger {
    position: absolute;
    top: clamp(18px, 2.7vw, 42px);
    left: clamp(18px, 2.7vw, 42px);
    z-index: 12;
    width: clamp(54px, 6.2vw, 92px);
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-origin: 50% 50%;
  }
  .star-trigger img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .star-trigger:hover {
    transform: rotate(-4deg);
  }
  .star-trigger:focus-visible {
    outline: 1px solid var(--red);
    outline-offset: 8px;
  }

  .hero__quote {
    position: absolute;
    right: var(--pad);
    bottom: clamp(34px, 4.6vw, 72px);
    z-index: 6;
    width: min(31ch, 40vw);
    color: var(--red);
    text-align: right;
  }
  .hero__quote p {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(22px, 2.35vw, 42px);
    line-height: .98;
    letter-spacing: -.025em;
    font-style: italic;
  }
  .hero__quote cite {
    display: block;
    margin-top: 14px;
    font-family: var(--mono);
    font-size: 9px;
    font-style: normal;
    letter-spacing: .18em;
    text-transform: uppercase;
  }

  /* Red portal expansion — the supplied SVG itself expands.
     No circular mask or clip-path is used. */
  .portal-reveal {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: transparent;
    pointer-events: none;
    cursor: zoom-out;
    overflow: hidden;
    contain: paint;
  }
  .portal-reveal.is-open {
    pointer-events: auto;
  }
  .portal-reveal__starfield {
    position: absolute;
    z-index: 0;
    width: 1px;
    height: 1px;
    overflow: visible;
    opacity: 0;
    pointer-events: none;
    transform-origin: 50% 50%;
    will-change: transform;
  }
  .portal-reveal__starfield path,
  .portal-reveal__starfield polygon {
    fill: var(--red);
  }
  .portal-star-core {
    transform-box: view-box;
    transform-origin: 147px 142px;
  }
  .portal-ray {
    transform-box: view-box;
    transform-origin: 147px 142px;
    will-change: transform;
  }
  .portal-reveal__house {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: -1px;
    width: min(91vw, 1580px);
    max-height: 86vh;
    object-fit: contain;
    object-position: 50% 100%;
    transform: translateX(-50%);
    opacity: 0;
  }
  .portal-reveal__micro {
    position: absolute;
    z-index: 3;
    left: var(--pad);
    bottom: var(--pad);
    color: #000;
    opacity: 0;
  }

  /* =========================================================
     CATSO
     ========================================================= */
  .work {
    position: relative;
    min-height: 145svh;
    background: #020202;
    overflow: hidden;
    border-bottom: 0;
  }

  .work__word {
    margin: 0;
    padding-top: clamp(76px, 8vw, 124px);
    font-family: var(--serif);
    font-size: clamp(160px, 31vw, 620px);
    font-weight: 400;
    line-height: .64;
    letter-spacing: -.075em;
    transform: translateX(-2.8vw);
    white-space: nowrap;
    color: #efefec;
  }
  .work__body {
    position: relative;
    min-height: 92svh;
    padding: clamp(48px, 5vw, 82px) var(--pad) clamp(82px, 8vw, 126px);
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto 1fr auto;
  }
  .work__copy {
    grid-column: 2 / span 5;
    grid-row: 1;
    align-self: start;
    max-width: none;
    margin-top: 0;
    z-index: 4;
  }
  .work__copy .meta {
    color: #dededa;
    position: relative;
    padding-left: 14px;
    font-size: clamp(10px, .72vw, 12px);
    letter-spacing: .17em;
  }
  .work__copy .meta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 2px;
    height: 15px;
    background: var(--red);
  }
  .work__copy p {
    margin: clamp(22px, 2.4vw, 34px) 0 0;
    max-width: 17ch;
    color: #e5e5e1;
    font-family: var(--serif);
    font-size: clamp(27px, 2.7vw, 46px);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.028em;
  }
  .work__sat {
    position: absolute;
    right: -10vw;
    bottom: -24vh;
    width: min(67vw, 1080px);
    max-width: none;
    opacity: .96;
    user-select: none;
    pointer-events: none;
  }
  .work__slash {
    position: absolute;
    left: 0;
    top: 57%;
    width: 22vw;
    height: 1px;
    background: var(--red);
  }

  .cult-imprint {
    grid-column: 2 / span 5;
    grid-row: 3;
    align-self: end;
    z-index: 5;
    width: min(100%, 640px);
    transform: translateY(clamp(18px, 1.8vw, 30px));
    padding-bottom: clamp(8px, 1vw, 18px);
  }

  .cult-imprint__brand {
    display: block;
    width: min(100%, 570px);
    color: #efefec;
    line-height: 0;
    cursor: pointer;
    transform-origin: left center;
    transition:
      color 220ms linear,
      transform 420ms cubic-bezier(.16,.84,.22,1);
  }

  .cult-imprint__brand:hover {
    color: var(--red);
    transform: translateX(5px);
  }

  .cult-imprint__brand:focus-visible {
    color: var(--red);
    outline: 1px solid var(--red);
    outline-offset: 10px;
  }

  .cult-imprint__logo {
    display: block;
    width: 100%;
    aspect-ratio: 4398 / 1000;
    background: currentColor;
    -webkit-mask: url("../assets/svg/the-cat-so-cult-wordmark.svg") left center / contain no-repeat;
    mask: url("../assets/svg/the-cat-so-cult-wordmark.svg") left center / contain no-repeat;
  }

  .cult-imprint__copy {
    margin: clamp(20px, 2vw, 28px) 0 0;
    max-width: 46ch;
    color: #aaa9a5;
    font-size: clamp(12px, .9vw, 14px);
    line-height: 1.68;
  }

  @media (max-width: 900px) {
    .work__body {
      min-height: 88svh;
      grid-template-columns: repeat(8, 1fr);
      padding-top: 46px;
      padding-bottom: 90px;
    }

    .work__copy {
      grid-column: 1 / span 5;
    }

    .work__copy p {
      max-width: 15ch;
      font-size: clamp(27px, 4vw, 40px);
    }

    .cult-imprint {
      grid-column: 1 / span 5;
      width: min(64vw, 560px);
      transform: translateY(18px);
    }

    .cult-imprint__brand {
      width: min(100%, 500px);
    }
  }

  @media (max-width: 560px) {
    .work__body {
      min-height: 92svh;
      grid-template-columns: repeat(6, 1fr);
      padding: 38px 18px 64px;
    }

    .work__copy {
      grid-column: 1 / -1;
      max-width: 78vw;
    }

    .work__copy .meta {
      font-size: 8px;
      padding-left: 11px;
    }

    .work__copy .meta::before {
      height: 12px;
    }

    .work__copy p {
      margin-top: 18px;
      max-width: 13.5ch;
      font-size: clamp(25px, 8.1vw, 36px);
      line-height: 1.03;
    }

    .cult-imprint {
      grid-column: 1 / -1;
      width: min(78vw, 390px);
      padding-bottom: 0;
      transform: translateY(14px);
    }

    .cult-imprint__brand {
      width: 100%;
    }

    .cult-imprint__copy {
      margin-top: 17px;
      max-width: 37ch;
      font-size: 11px;
      line-height: 1.62;
    }
  }

  /* =========================================================
     CORRESPONDENCE
     ========================================================= */
    margin: 0 0 26px;
    font-family: var(--serif);
    font-size: clamp(48px, 7vw, 112px);
    font-weight: 400;
    line-height: .85;
    letter-spacing: -.045em;
    max-width: 6ch;
  }
    margin: 0 0 34px;
    color: var(--soft);
    font-size: 12px;
    line-height: 1.7;
    max-width: 40ch;
  }
    color: var(--red);
    outline: none;
  }


  .catso-seal-separator {
    height: clamp(54px, 6vw, 86px);
    background: #000;
    display: flex;
    align-items: center;
    padding: 0 var(--pad);
  }

  .catso-seal-separator span {
    display: block;
    width: 100%;
    height: 1px;
    background: #3a3a3a;
  }

  /* =========================================================
     FINAL SEAL
     ========================================================= */
  .seal {
    position: relative;
    min-height: 82svh;
    background: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(76px, 8vw, 128px) var(--pad) 34px;
    overflow: hidden;
  }
  .seal__lockup {
    width: min(88vw, 1600px);
    display: grid;
    grid-template-columns: minmax(112px, .23fr) 1fr;
    gap: clamp(22px, 3.6vw, 70px);
    align-items: center;
    margin: auto 0;
  }
  .seal__emblem {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
  }
  .seal__wordmark {
    width: 100%;
    height: auto;
  }
  .seal__footer {
    position: static;
    width: min(88vw, 1600px);
    margin-top: clamp(54px, 7vh, 92px);
    padding-top: 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    border-top: 1px solid #202020;
    color: #b2b2ad;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
  }
  .seal__footer a:hover,
  .seal__footer a:focus-visible {
    color: var(--red);
    outline: none;
  }

  @media (max-width: 900px) {
    .hero__bg { object-position: 68% center; }
    .hero__house-scroll {
      -webkit-mask-position: 68% center;
      mask-position: 68% center;
    }
    .hero__quote { width: min(34ch, 58vw); }
    .portal-reveal__house { width: 98vw; }

    
    .seal { min-height: 76svh; }
  }

  @media (max-width: 560px) {
    :root { --pad: 18px; }
    .meta { font-size: 7px; letter-spacing: .15em; }

    .hero { min-height: 94svh; }
    .hero__bg { object-position: 72% center; }
    .hero__house-scroll {
      -webkit-mask-position: 72% center;
      mask-position: 72% center;
    }
    .hero__nav {
      top: 22px;
      right: 18px;
      gap: 12px;
    }
    .hero__nav a, .hero__nav button { font-size: 7px; }
    .star-trigger {
      top: 18px;
      left: 18px;
      width: 54px;
    }
    .hero__quote {
      right: 18px;
      bottom: 30px;
      width: 72vw;
    }
    .hero__quote p { font-size: 25px; }
    .hero__quote cite { font-size: 7px; }
    .portal-reveal__starfield {
      width: 1px;
      height: 1px;
    }
    .portal-reveal__house {
      width: 132vw;
      max-width: none;
      bottom: -1px;
      max-height: 78vh;
    }
        .work__word {
      font-size: 45vw;
      transform: translateX(-5vw);
      padding-top: 34px;
    }
    .work__body {
      grid-template-columns: repeat(6,1fr);
      min-height: 74svh;
      padding-left: 18px;
      padding-right: 18px;
    }
    .work__copy { grid-column: 1 / -1; max-width: 68vw; }
    .work__sat {
      width: 130vw;
      right: -55vw;
      bottom: -9vh;
    }

    .seal {
      min-height: 68svh;
      padding: 64px 12px 24px;
    }
    .seal__lockup {
      width: 100%;
      grid-template-columns: 25vw 1fr;
      gap: 3vw;
    }
    .seal__footer {
      width: calc(100% - 36px);
      margin-top: 44px;
      padding-top: 14px;
      font-size: 8px;
      letter-spacing: .13em;
    }
  }


  body.menu-panel-open {
    overflow: hidden;
  }

  .menu-panel {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: #030303;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 86% 100%);
    transition:
      clip-path 980ms cubic-bezier(.74, 0, .14, 1),
      visibility 0s linear 980ms;
  }

  .menu-panel.is-open {
    visibility: visible;
    pointer-events: auto;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transition:
      clip-path 980ms cubic-bezier(.74, 0, .14, 1),
      visibility 0s linear 0s;
  }

  .menu-panel::after {
    content: "";
    position: absolute;
    z-index: 7;
    inset: 0;
    background: #000;
    pointer-events: none;
    clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  }

  .menu-panel.is-entering::after {
    animation: panel-shutter 920ms cubic-bezier(.68,0,.12,1) both;
  }

  @keyframes panel-shutter {
    0% {
      clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
    }
    38% {
      clip-path: polygon(35% 0, 100% 0, 100% 100%, 21% 100%);
    }
    72% {
      clip-path: polygon(0 0, 61% 0, 46% 100%, 0 100%);
    }
    100% {
      clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
  }

  .menu-panel::before {
    content: "";
    position: absolute;
    z-index: 5;
    top: -12vh;
    bottom: -12vh;
    left: 100%;
    width: 1px;
    background: var(--red);
    transform: rotate(4deg);
    opacity: 0;
    transition:
      left 920ms cubic-bezier(.76, 0, .16, 1),
      opacity 160ms linear;
    pointer-events: none;
  }

  .menu-panel.is-open::before {
    left: 13%;
    opacity: .34;
  }

  .menu-panel__close {
    position: absolute;
    top: var(--pad);
    right: var(--pad);
    z-index: 8;
    appearance: none;
    border: 0;
    background: transparent;
    color: #d3d3cf;
    padding: 0;
    cursor: pointer;
    font-family: var(--mono);
    font-size: 9px;
    line-height: 1;
    letter-spacing: .19em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(-10px);
    transition:
      color .2s linear,
      opacity 220ms linear 520ms,
      transform 420ms cubic-bezier(.16,.84,.22,1) 500ms;
  }

  .menu-panel.is-open .menu-panel__close {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-panel__close:hover,
  .menu-panel__close:focus-visible {
    color: var(--red);
    outline: none;
  }

  .menu-panel__rail {
    position: absolute;
    z-index: 4;
    left: var(--pad);
    top: 50%;
    transform: translateY(-50%) translateX(-28px);
    writing-mode: vertical-rl;
    font-family: var(--serif);
    font-size: clamp(76px, 9vw, 165px);
    line-height: .72;
    letter-spacing: -.055em;
    color: #ededeb;
    opacity: 0;
    filter: blur(1.5px);
    transition:
      opacity 240ms linear 420ms,
      transform 760ms cubic-bezier(.16,.84,.22,1) 330ms,
      filter 420ms linear 420ms;
  }

  .menu-panel.is-open .menu-panel__rail {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
    filter: blur(0);
  }

  .menu-panel__content {
    position: relative;
    z-index: 6;
    min-height: 100svh;
    display: grid;
    align-content: center;
    width: min(780px, 54vw);
    margin-left: clamp(25vw, 31vw, 520px);
    padding: 10vh var(--pad);
    opacity: 0;
    transform: translateX(88px) skewX(-2deg);
    transition:
      opacity 260ms linear 470ms,
      transform 820ms cubic-bezier(.12,.86,.18,1) 360ms;
  }

  .menu-panel.is-open .menu-panel__content {
    opacity: 1;
    transform: translateX(0) skewX(0);
  }

  .menu-panel__content h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(58px, 7.7vw, 138px);
    font-weight: 400;
    line-height: .84;
    letter-spacing: -.052em;
    max-width: 7.5ch;
    clip-path: inset(0 100% 0 0);
    transform: translateY(28px);
    transition:
      clip-path 820ms cubic-bezier(.2,.82,.18,1) 500ms,
      transform 720ms cubic-bezier(.16,.84,.22,1) 500ms;
  }

  .menu-panel.is-open .menu-panel__content h2 {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }

  /* THE HOUSE title: give the long word a real clipping box.
     The reveal animation is unchanged; only its available width is fixed. */
  #housePanel .menu-panel__content h2 {
    width: 100%;
    max-width: none;
    font-size: clamp(54px, 6.9vw, 124px);
    text-wrap: balance;
  }

  .menu-panel__copy {
    margin-top: clamp(34px, 5vh, 62px);
    max-width: 52ch;
    color: var(--soft);
    font-size: clamp(13px, 1vw, 16px);
    line-height: 1.76;
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 320ms linear 640ms,
      transform 700ms cubic-bezier(.16,.84,.22,1) 580ms;
  }

  .menu-panel.is-open .menu-panel__copy {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-panel__copy p {
    margin: 0 0 18px;
  }

  .menu-panel__roles {
    margin: 34px 0 0;
    padding: 17px 0;
    border-top: 1px solid #252525;
    border-bottom: 1px solid #252525;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .16em;
    line-height: 1.8;
    text-transform: uppercase;
    color: #d4d4d0;
    opacity: 0;
    transform: translateX(28px);
    transition:
      opacity 280ms linear 760ms,
      transform 600ms cubic-bezier(.16,.84,.22,1) 700ms;
  }

  .menu-panel.is-open .menu-panel__roles {
    opacity: 1;
    transform: translateX(0);
  }

  .menu-panel__note {
    margin-top: 28px;
    padding-left: 14px;
    border-left: 2px solid var(--red);
    max-width: 46ch;
    font-family: var(--serif);
    font-size: clamp(24px, 2.3vw, 38px);
    line-height: 1.08;
    letter-spacing: -.025em;
    color: #ededeb;
    opacity: 0;
    transform: translateY(18px);
    transition:
      opacity 280ms linear 820ms,
      transform 560ms cubic-bezier(.16,.84,.22,1) 760ms;
  }

  .menu-panel.is-open .menu-panel__note {
    opacity: 1;
    transform: translateY(0);
  }

  .menu-panel__image {
    position: absolute;
    z-index: 2;
    max-width: none;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    transform: translateX(14vw) scale(.94);
    transition:
      opacity 260ms linear 380ms,
      transform 980ms cubic-bezier(.12,.92,.18,1) 300ms;
  }

  .menu-panel.is-open .menu-panel__image {
    opacity: .74;
    transform: translateX(0) scale(1);
  }

  #housePanel .menu-panel__image {
    right: -20vw;
    bottom: -2px;
    width: min(84vw, 1240px);
    transform: translateX(16vw) scale(.92);
  }

  #housePanel.is-open .menu-panel__image {
    transform: translateX(0) scale(1);
  }

  #toHousePanel::before {
    z-index: 1;
    top: 14%;
    bottom: 14%;
    left: 49%;
    width: 1px;
    height: auto;
    background: var(--red);
    transform: none;
    opacity: 0;
    transition:
      opacity 260ms linear 460ms,
      transform 720ms cubic-bezier(.16,.84,.28,1) 360ms;
    transform-origin: top;
    scale: 1 0;
  }

  #toHousePanel.is-open::before {
    left: 49%;
    opacity: .48;
    scale: 1 1;
  }

  #toHousePanel .menu-panel__image {
    left: -5vw;
    bottom: -2px;
    height: min(108vh, 1220px);

    z-index: 3;
  }

  #toHousePanel .menu-panel__content {

margin-left: auto;
    margin-right: clamp(5vw, 9vw, 150px);
    width: min(690px, 46vw);
    z-index: 6;
  }

  #toHousePanel .menu-panel__rail {
    left: auto;
    right: var(--pad);
    transform: translateY(-50%) rotate(180deg);
    color: #1a1a1a;
  }

  @media (max-width: 900px) {
    .menu-panel__content {
      width: min(620px, 66vw);
      margin-left: 22vw;
    }

    #housePanel .menu-panel__image {
      width: 110vw;
      right: -54vw;
    }

    #toHousePanel .menu-panel__image {
      left: -26vw;
      height: 94vh;
      opacity: .6;
    }

    #toHousePanel .menu-panel__content {
      width: min(590px, 58vw);
      margin-right: 6vw;
    }
  }

  @media (max-width: 560px) {
    .menu-panel {
      clip-path: polygon(90% 0, 100% 0, 100% 100%, 100% 100%);
    }

    .menu-panel__rail {
      top: 18vh;
      left: 18px;
      transform: none;
      writing-mode: horizontal-tb;
      font-size: 18vw;
      opacity: .11;
    }

    .menu-panel__content {
      width: auto;
      margin: 0;
      padding: 25vh 24px 10vh 72px;
    }

    .menu-panel__content h2 {
      font-size: 15vw;
      max-width: 7ch;
    }

    .menu-panel__copy {
      font-size: 12px;
      line-height: 1.68;
    }

    #housePanel .menu-panel__image {
      width: 150vw;
      right: -84vw;
      opacity: .35;
    }

    #toHousePanel .menu-panel__image {
      left: -72vw;
      height: 78vh;
      opacity: .34;
    }

    #toHousePanel .menu-panel__content {
      width: auto;
      margin: 0;
      padding: 24vh 24px 10vh 72px;
    }

    #toHousePanel .menu-panel__rail {
      right: auto;
      left: 18px;
      transform: none;
      color: #171717;
    }

    #toHousePanel::before {
      display: none;
    }
  }


  /* FINAL — TO THE HOUSE viewport-fit fix.
     Animation definitions remain untouched. */
  #toHousePanel .menu-panel__content {
    height: 100svh;
    min-height: 0;
    align-content: center;
    padding-top: clamp(52px, 7vh, 78px);
    padding-bottom: clamp(52px, 7vh, 78px);
    overflow-y: auto;
    overflow-x: visible;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #252525 transparent;
  }

  #toHousePanel .menu-panel__content h2 {
    max-width: 9ch;
    font-size: clamp(52px, 6.35vw, 112px);
  }

  #toHousePanel .menu-panel__copy {
    margin-top: clamp(24px, 3.6vh, 40px);
  }

  #toHousePanel .menu-panel__copy p {
    margin-bottom: 14px;
  }

  #toHousePanel .menu-panel__roles {
    margin-top: 22px;
  }

  #toHousePanel .menu-panel__note {
    position: relative;
    z-index: 7;
    margin-top: 18px;
    margin-bottom: 8px;
    max-width: 42ch;
    font-size: clamp(22px, 2vw, 34px);
  }

  @media (max-height: 820px) and (min-width: 561px) {
    #toHousePanel .menu-panel__content {
      align-content: start;
      padding-top: max(58px, 8vh);
      padding-bottom: 34px;
    }

    #toHousePanel .menu-panel__content h2 {
      max-width: 10ch;
      font-size: clamp(46px, 5.5vw, 86px);
      line-height: .86;
    }

    #toHousePanel .menu-panel__copy {
      margin-top: 22px;
      font-size: clamp(12px, .88vw, 14px);
      line-height: 1.62;
    }

    #toHousePanel .menu-panel__roles {
      margin-top: 17px;
      padding-top: 13px;
      padding-bottom: 13px;
    }

    #toHousePanel .menu-panel__note {
      margin-top: 15px;
      font-size: clamp(20px, 1.75vw, 29px);
      line-height: 1.06;
    }
  }

  @media (max-width: 560px) {
    #toHousePanel .menu-panel__content {
      height: 100svh;
      min-height: 0;
      align-content: start;
      padding: max(118px, 17vh) 24px 34px 72px;
      overflow-y: auto;
    }

    #toHousePanel .menu-panel__content h2 {
      max-width: 9ch;
      font-size: 14vw;
    }

    #toHousePanel .menu-panel__copy {
      margin-top: 24px;
    }

    #toHousePanel .menu-panel__roles {
      margin-top: 20px;
    }

    #toHousePanel .menu-panel__note {
      margin-top: 16px;
      margin-bottom: 12px;
      font-size: clamp(21px, 6.5vw, 30px);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .hero__house-scroll {
      transform: none !important;
      will-change: opacity;
    }

    html { scroll-behavior: auto; }
    .menu-panel::after { display: none !important; }
    .menu-panel__content,
    .menu-panel__content h2,
    .menu-panel__copy,
    .menu-panel__roles,
    .menu-panel__note,
    .menu-panel__image,
    .menu-panel__rail,
    .menu-panel__close {
      opacity: 1 !important;
      transform: none !important;
      clip-path: none !important;
      filter: none !important;
    }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      transition-duration: .001ms !important;
      scroll-behavior: auto !important;
    }
  }

