:root {
  color-scheme: light;
  --gold: #ffcd00;
  --burgundy: #18020e;
  --charcoal: #212121;
  --sage: #73937e;
  --serif: "Unna", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", Arial, sans-serif;
  --portrait-width: min(72vw, 98svh);
  --portrait-ratio: 1000 / 873;
  --portrait-width-per-height: 1.14547537228;
  --portrait-image-width: 205.43%;
  --portrait-image-left: -53.43%;
  --portrait-image-top: -28.88%;
  --header-top: clamp(16px, 3.5svh, 40px);
  --header-height: clamp(44px, 5.5vw, 72px);
  --portrait-gap: clamp(18px, 3.5vw, 48px);
}

* { box-sizing: border-box; }
.glass-filter-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--burgundy);
  color: #000;
  font-family: var(--sans);
  overflow-x: hidden;
}
.overscroll-note {
  position: fixed;
  z-index: 0;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  background: var(--burgundy);
  color: var(--gold);
  font-size: clamp(11px, 0.88vw, 18px);
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
}
.overscroll-note__lead { margin-right: 0.3em; font-weight: 700; }
a { color: inherit; text-decoration: none; }
.page-width {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  container-type: inline-size;
}
.canvas {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: var(--burgundy);
  isolation: isolate;
}
.scroll-nav-glow {
  position: fixed;
  z-index: 9;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(160px, 20vw, 300px);
  background: linear-gradient(180deg, rgb(24 2 14 / 92%) 0%, rgb(24 2 14 / 70%) 42%, rgb(24 2 14 / 0%) 100%);
  opacity: 0;
  pointer-events: none;
  will-change: opacity;
}

.hero {
  position: relative;
  height: 60.4745cqw;
  overflow: hidden;
}
.hero__gold {
  position: absolute;
  top: -1.331cqw;
  left: -0.174cqw;
  width: 100.174cqw;
  height: 49.248cqw;
  background: var(--gold);
}
.site-header {
  position: fixed;
  z-index: 10;
  top: 2.951cqw;
  left: 50%;
  width: 83.334cqw;
  height: 2.54cqw;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  --header-label-size: clamp(13px, 0.9cqw, 17px);
  transition: opacity 160ms ease;
}
body.is-deep-overscroll .site-header { opacity: 0; pointer-events: none; }
.brand {
  position: fixed;
  z-index: 11;
  top: var(--header-top);
  left: calc((100% - 83.334cqw) / 2);
  display: flex;
  width: clamp(46px, 5.5svh, 58px);
  height: var(--header-height);
  align-items: center;
  flex: 0 0 auto;
  mix-blend-mode: difference;
}
.brand img { display: block; width: 100%; height: auto; }
.primary-nav {
  position: absolute;
  left: 0;
  right: 0;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 8px;
  border: 0;
  border-radius: 70px;
  background: transparent;
  box-shadow: none;
}
.primary-nav::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: rgb(255 255 255 / 50%);
  -webkit-backdrop-filter: blur(4px) saturate(1.5);
  backdrop-filter: blur(4px) saturate(1.5);
  pointer-events: none;
}
.primary-nav::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 8px;
  height: calc(100% - 16px);
  left: var(--hover-left, 8px);
  width: var(--hover-width, 0px);
  border-radius: 50px;
  background: linear-gradient(180deg, #ffe36a, var(--gold) 55%, #f3bf00);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  will-change: left, width;
  transition: left 620ms cubic-bezier(0.22, 1, 0.36, 1), width 620ms cubic-bezier(0.22, 1, 0.36, 1), opacity 300ms ease;
}
.primary-nav.has-hover-indicator::before { opacity: 0.74; }
.primary-nav a {
  position: relative;
  z-index: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-radius: 50px;
  background: transparent;
  color: #000;
  font-size: var(--header-label-size);
  line-height: 40px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 220ms ease;
}
.primary-nav a[aria-current="page"] { background: var(--gold); color: #000; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: #000; }
.primary-nav a:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.say-hi { position: fixed; z-index: 11; top: var(--header-top); right: calc((100% - 83.334cqw) / 2); display: flex; align-items: center; gap: 4px; width: auto; height: var(--header-height); transform: none; color: var(--gold); font-family: var(--sans); font-size: var(--header-label-size); font-weight: 500; line-height: 1; white-space: nowrap; mix-blend-mode: difference; }
.say-hi__say, .say-hi__hi { display: block; font: inherit; line-height: inherit; }
.say-hi__hi { display: flex; align-items: center; justify-content: center; padding: 8px 16px; border-radius: 999px; background: var(--gold); color: #000; }
.say-hi__wave-hand { display: block; flex: 0 0 auto; width: 0; height: 1.05em; margin-left: 0; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: translateX(0.35em) rotate(24deg); transform-origin: 50% 82%; transition: width 260ms ease, margin-left 260ms ease, opacity 180ms ease, transform 300ms ease; }
.say-hi.is-waving .say-hi__wave-hand,
.say-hi:hover .say-hi__wave-hand,
.say-hi:focus-visible .say-hi__wave-hand { width: 1.05em; margin-left: 0.28em; opacity: 1; transform: translateX(0) rotate(0deg); }
.say-hi.is-waving .say-hi__wave-hand { animation: say-hi-wave 1.1s cubic-bezier(0.4, 0, 0.2, 1) 1; }
.say-hi:hover .say-hi__wave-hand, .say-hi:focus-visible .say-hi__wave-hand { animation: say-hi-wave 1.1s cubic-bezier(0.4, 0, 0.2, 1) 2; }
@keyframes say-hi-wave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  18% { transform: translateY(-0.04em) rotate(-7deg); }
  38% { transform: translateY(0) rotate(13deg); }
  58% { transform: translateY(-0.025em) rotate(-8deg); }
  78% { transform: translateY(0) rotate(9deg); }
  90% { transform: translateY(-0.01em) rotate(-3deg); }
}
@media (prefers-reduced-motion: reduce) {
  .say-hi__wave-hand { transition: none; }
  .say-hi:hover .say-hi__wave-hand, .say-hi:focus-visible .say-hi__wave-hand { animation: none; }
}
.menu-toggle { display: none; }
.hero__portrait-frame {
  --light-radius: 12.5cqw;
  --spot-x: 50%;
  --spot-y: 28%;
  position: absolute;
  z-index: 4;
  top: auto;
  bottom: 0;
  left: 50%;
  width: var(--portrait-width);
  aspect-ratio: var(--portrait-ratio);
  transform: translateX(-50%);
  overflow: hidden;
  container-type: inline-size;
  pointer-events: none;
}
.hero__portrait-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: radial-gradient(circle var(--light-radius) at var(--spot-x) var(--spot-y), transparent 0%, rgb(0 0 0 / 0.025) 30%, rgb(0 0 0 / 0.12) 55%, rgb(0 0 0 / 0.3) 82%, rgb(0 0 0 / 0.5) 115%, rgb(0 0 0 / 0.62) 165%);
  -webkit-mask-image: url("assets/nima-reflection.png");
  -webkit-mask-size: var(--portrait-image-width) auto;
  -webkit-mask-position: 50.7% 92.3%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-composite: source-in;
  mask-image: url("assets/nima-reflection.png");
  mask-size: var(--portrait-image-width) auto;
  mask-position: 50.7% 92.3%;
  mask-repeat: no-repeat;
  mask-composite: intersect;
  pointer-events: none;
}
.hero__portrait-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background: url("assets/nima-reflection.png") 50.7% 92.3% / var(--portrait-image-width) auto no-repeat;
  filter: brightness(0.95);
  -webkit-mask-image: radial-gradient(circle var(--light-radius) at var(--spot-x) var(--spot-y), #000 0%, #000 58%, rgb(0 0 0 / 0.72) 82%, transparent 190%);
  -webkit-mask-repeat: no-repeat;
  mask-image: radial-gradient(circle var(--light-radius) at var(--spot-x) var(--spot-y), #000 0%, #000 58%, rgb(0 0 0 / 0.72) 82%, transparent 190%);
  mask-repeat: no-repeat;
  pointer-events: none;
}
.hero__portrait {
  position: absolute;
  top: var(--portrait-image-top);
  left: var(--portrait-image-left);
  display: block;
  width: var(--portrait-image-width);
  height: auto;
  max-width: none;
  filter: brightness(0.15) contrast(1.04);
  z-index: 0;
}
.story__glow-wave {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100cqw;
  height: 29.05cqw;
  pointer-events: none;
}
.story__glow-wave img {
  position: absolute;
  top: -12.35%;
  left: -3.58%;
  display: block;
  width: 107.16%;
  height: 124.7%;
  max-width: none;
}
.hero__intro {
  position: absolute;
  z-index: 6;
  top: 31.886cqw;
  left: 50%;
  width: 36cqw;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.141cqw, 40px);
  color: var(--gold);
  text-align: center;
}
.hero__copy h1 {
  margin: 0;
  font: 500 clamp(30px, 2.453cqw, 64px)/1.19 var(--sans);
  letter-spacing: -0.018em;
}
.hero__copy h1 strong { font-weight: 700; }
.hero__copy { mix-blend-mode: difference; }
.hero__copy p {
  margin: clamp(12px, 1.331cqw, 26px) 0 0;
  font-size: clamp(18px, 1.515cqw, 36px);
  font-weight: 600;
  line-height: 1.45;
  white-space: normal;
}
.hero__copy p span { white-space: nowrap; }
.discover {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: clamp(44px, 2.98cqw, 64px);
  padding: clamp(10px, 0.68cqw, 18px) clamp(22px, 1.535cqw, 34px);
  border-radius: 99px;
  background: var(--gold);
  color: #000;
  font-size: clamp(15px, 1.088cqw, 22px);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.discover:hover, .discover:focus-visible { transform: translateY(-2px); box-shadow: 0 0.4cqw 1.2cqw #0003; }

.story {
  position: relative;
  height: calc(var(--portrait-width) / var(--portrait-width-per-height) + clamp(12px, 1cqw, 20px));
  margin-top: 0;
  background: var(--burgundy);
  isolation: isolate;
}
.story__mirror-frame {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: var(--portrait-width);
  aspect-ratio: var(--portrait-ratio);
  transform: translateX(-50%);
  transform-origin: center;
  overflow: hidden;
  pointer-events: none;
}
.story__mirror-frame::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.72), transparent 34%);
  -webkit-mask-image: url("assets/nima-reflect-01-flipped.png");
  -webkit-mask-size: var(--portrait-image-width) auto;
  -webkit-mask-position: 50.6% 7.9%;
  -webkit-mask-repeat: no-repeat;
  mask-image: url("assets/nima-reflect-01-flipped.png");
  mask-size: var(--portrait-image-width) auto;
  mask-position: 50.6% 7.9%;
  mask-repeat: no-repeat;
  pointer-events: none;
}
.story__mirror {
  position: absolute;
  top: -2.46%;
  left: var(--portrait-image-left);
  display: block;
  width: var(--portrait-image-width);
  height: auto;
  max-width: none;
  opacity: 0;
  will-change: opacity;
}
.story__mirror:first-child { opacity: 1; }
.empathy {
  position: relative;
  padding: clamp(40px, 4cqw, 72px) 0 clamp(100px, 13cqw, 240px);
  overflow: hidden;
  background: var(--burgundy);
  color: var(--gold);
}
.empathy__intro {
  position: relative;
  width: 89.35%;
  max-width: 1578px;
  margin-inline: auto;
}
.feature-title {
  margin: 0;
  font: 400 clamp(54px, 7.5cqw, 130px)/1.1 var(--sans);
  letter-spacing: normal;
  text-wrap: pretty;
}
.feature-title strong { font-weight: 700; }
.empathy__title {
  width: 104%;
}
.empathy__cta {
  position: relative;
  top: -0.25em;
  display: inline-flex;
  vertical-align: middle;
  margin-left: clamp(14px, 1.6cqw, 28px);
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--gold);
  color: #000;
  font-size: clamp(15px, 1.09cqw, 19px);
  line-height: 1;
  letter-spacing: normal;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.empathy__cta:hover, .empathy__cta:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 28px #0004; }
.strategy__visual {
  width: 100%;
  aspect-ratio: 1728 / 968;
  margin: clamp(96px, 14.64cqw, 253px) auto 0;
  overflow: hidden;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform, border-radius;
}
.strategy__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.strategy__copy {
  width: 100%;
  margin: clamp(96px, 14.64cqw, 253px) auto 0;
  padding-inline: 5.84%;
  color: var(--gold);
}
.strategy__title {
  width: 108%;
}
.strategy__copy p {
  margin: 24px 0 0;
  font-size: clamp(16px, 1.74cqw, 30px);
  line-height: 1.4;
}
.portfolio-showcase {
  width: 100%;
  padding-top: clamp(88px, 8.5cqw, 147px);
  color: #fff;
}
.portfolio-showcase__project {
  display: grid;
  grid-template-columns: 50.7% 49.3%;
  align-items: center;
  margin-bottom: 12.8cqw;
}
.portfolio-showcase__project > .portfolio-showcase__details {
  width: 63.2%;
  justify-self: center;
}
.portfolio-showcase__media {
  display: block;
  width: 100%;
  aspect-ratio: 876 / 722;
  overflow: hidden;
  position: relative;
}
@media (min-width: 901px) {
  .portfolio-showcase__project--first .portfolio-showcase__media,
  .portfolio-showcase__project--fourth .portfolio-showcase__media {
    border-radius: 0 28px 28px 0;
  }
  .portfolio-showcase__project--second .portfolio-showcase__media,
  .portfolio-showcase__project--fifth .portfolio-showcase__media {
    border-radius: 28px 0 0 28px;
  }
}
.portfolio-showcase__image {
  position: absolute;
  top: -10%;
  left: 0;
  display: block;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.portfolio-showcase__details {
  width: 100%;
  font-size: clamp(12px, 1.11cqw, 19.2px);
  line-height: 1.35;
}
.portfolio-showcase__mark {
  display: block;
  width: clamp(82px, 6.61cqw, 114.3px);
  height: auto;
  margin-bottom: clamp(16px, 1.55cqw, 27px);
}
.portfolio-showcase__details h2,
.portfolio-showcase__details p { margin: 0; }
.portfolio-showcase__details h2 {
  margin-bottom: clamp(14px, 1.38cqw, 24px);
  font-size: inherit;
  font-weight: 500;
}
.portfolio-showcase__details > p + p { margin-top: clamp(10px, 1.05cqw, 18px); }
.portfolio-showcase__details strong { font-weight: 700; }
.portfolio-showcase__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-block: clamp(10px, 1.05cqw, 18px);
}
.portfolio-showcase__project--second,
.portfolio-showcase__project--fifth {
  grid-template-columns: 49.3% 50.7%;
}
.portfolio-showcase__project--second .portfolio-showcase__media,
.portfolio-showcase__project--fifth .portfolio-showcase__media { grid-column: 2; }
.portfolio-showcase__project--second .portfolio-showcase__details,
.portfolio-showcase__project--fifth .portfolio-showcase__details { grid-column: 1; grid-row: 1; }
.portfolio-showcase__project--wide {
  display: block;
}
.portfolio-showcase__project--wide .portfolio-showcase__media {
  aspect-ratio: 1728 / 640;
}
.portfolio-showcase__wide-details {
  display: grid;
  grid-template-columns: 31.15% 31.15%;
  justify-content: space-between;
  margin: 4.2cqw 6.25% 0;
}
.portfolio-showcase__details--metadata { padding-top: clamp(48px, 4.5cqw, 78px); }
.outro { height: 84.028cqw; background: var(--burgundy); }

@media (min-width: 901px) {
  .overscroll-note { top: var(--header-top); }
  .hero { height: 100svh; }
  .hero__gold { top: 0; left: 0; width: 100%; height: 100%; }
  .site-header { top: var(--header-top); height: var(--header-height); }
  .brand { left: calc((100% - 83.334cqw) / 2); }
  .primary-nav { gap: 8px; }
  .hero__intro {
    top: auto;
    bottom: clamp(24px, 4.5svh, 52px);
    width: 35.822cqw;
    gap: clamp(20px, 2.141cqw, 44px);
  }
  .hero__copy { max-width: min(52cqw, 900px); }
  .hero__copy h1 { font-size: clamp(30px, 2.453cqw, 64px); }
  .hero__copy p {
    margin-top: clamp(12px, 1.331cqw, 26px);
    font-size: clamp(18px, 1.513cqw, 36px);
  }
  .discover {
    min-height: clamp(44px, 3.067cqw, 64px);
    padding: clamp(10px, 0.767cqw, 18px) clamp(22px, 1.534cqw, 34px);
    font-size: clamp(15px, 1.088cqw, 22px);
  }
}

@media (max-width: 900px) {
  .canvas { height: auto; overflow: clip; }
  .hero { height: var(--mobile-hero-height); }
  .hero__gold { top: 0; left: 0; width: 100%; height: 100%; }
  :root { --header-top: 16px; }
  .site-header { top: var(--header-top); left: 18px; width: calc(100% - 36px); height: var(--header-height); transform: none; }
  .site-header { --header-label-size: 15px; }
  .brand { left: 18px; width: 54px; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 50%;
    right: auto;
    width: min(100%, 420px);
    box-sizing: border-box;
    transform: translateX(-50%);
    margin: 0;
    padding: 18px;
    border: 0;
    border-radius: 24px;
    background: linear-gradient(135deg, rgb(255 255 255 / 42%), rgb(255 255 255 / 17%) 48%, rgb(255 255 255 / 31%));
    -webkit-backdrop-filter: blur(4px) saturate(1.5);
    backdrop-filter: blur(4px) saturate(1.5);
    box-shadow: none;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-align: center;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { width: 100%; box-sizing: border-box; padding-inline: 16px; font-size: var(--header-label-size); line-height: 42px; }
  .say-hi { top: var(--header-top); right: 74px; height: var(--header-height); }
  .menu-toggle {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    width: 40px;
    height: 36px;
    padding: 10px 8px;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #000;
    border-radius: 18px;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { width: 100%; height: 1px; background: #000; }
  :root {
    --mobile-hero-height: max(100svh, 640px);
    --portrait-gap: clamp(18px, 5vw, 32px);
    --portrait-width: calc((var(--mobile-hero-height) - var(--header-top) - var(--header-height) - var(--portrait-gap)) * var(--portrait-width-per-height));
  }
  .hero__portrait-frame { top: calc(var(--header-top) + var(--header-height) + var(--portrait-gap)); bottom: auto; width: var(--portrait-width); }
  .story__glow-wave { width: 100cqw; height: 29.05cqw; }
  .hero__intro { top: auto; bottom: clamp(20px, 3.5svh, 36px); width: min(92%, 560px); gap: 22px; }
  .hero__copy h1 { font-size: clamp(30px, 7.8vw, 42px); line-height: 1.12; }
  .hero__copy p { margin-top: 16px; font-size: clamp(14px, 4.4vw, 19px); white-space: normal; }
  .discover { min-height: 46px; padding: 0 24px; font-size: 15px; }
  .story { height: calc(var(--portrait-width) / var(--portrait-width-per-height) + 16px); }
  .story__mirror-frame { top: 0; }
  .empathy { padding: 32px 0 104px; }
  .empathy__intro { width: 90%; }
  .feature-title { font-size: clamp(28px, 9vw, 72px); line-height: 1.08; }
  .empathy__title { width: 100%; }
  .empathy__cta { min-height: 46px; margin-left: 12px; padding-inline: 22px; font-size: 15px; }
  .strategy__visual { margin-top: 14vw; }
  .strategy__copy { margin-top: 14vw; padding-inline: 5%; }
  .strategy__title { width: 108%; font-size: clamp(24px, 7.5vw, 64px); }
  .strategy__copy p { margin-top: 18px; font-size: clamp(15px, 4vw, 19px); }
  .portfolio-showcase { padding-top: 72px; }
  .portfolio-showcase__project,
  .portfolio-showcase__project--second,
  .portfolio-showcase__project--fifth {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    margin-bottom: 76px;
  }
  .portfolio-showcase__media { aspect-ratio: 1.5625; }
  .portfolio-showcase__project--second .portfolio-showcase__media,
  .portfolio-showcase__project--fifth .portfolio-showcase__media { order: 0; }
  .portfolio-showcase__project--second .portfolio-showcase__details,
  .portfolio-showcase__project--fifth .portfolio-showcase__details { order: 1; }
  .portfolio-showcase__details { padding-inline: 7%; font-size: 14px; }
  .portfolio-showcase__project > .portfolio-showcase__details { width: 100%; justify-self: stretch; }
  .portfolio-showcase__mark { width: 100px; margin-bottom: 18px; }
  .portfolio-showcase__details h2 { margin-bottom: 14px; }
  .portfolio-showcase__wide-details { display: flex; flex-direction: column; gap: 20px; margin: 28px 0 0; }
  .portfolio-showcase__details--metadata { padding-top: 0; }
  .portfolio-showcase__project--wide .portfolio-showcase__media { aspect-ratio: 1.8333; }
  .outro { height: 320px; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .site-header { --header-label-size: 18px; }
}

@media (min-width: 901px) and (max-height: 800px) {
  :root { --portrait-width: min(72vw, 95svh); }
}

@media (min-width: 901px) and (max-aspect-ratio: 3 / 2) {
  :root { --portrait-width: min(82vw, 95svh); }
}

@media (min-width: 901px) and (orientation: portrait) {
  :root { --portrait-width: 102svh; }
}

@media (orientation: landscape) and (max-height: 600px) {
  .hero__intro {
    z-index: auto;
    left: 50%;
    transform: none;
    margin-left: -17.911cqw;
  }
  .hero__copy {
    position: relative;
    z-index: 6;
    color: var(--gold);
    mix-blend-mode: difference;
  }
  .hero__intro .discover {
    position: relative;
    z-index: 6;
  }
}

@media (max-width: 900px) and (orientation: landscape) and (max-height: 600px) {
  :root {
    --mobile-hero-height: max(100svh, 480px);
    --portrait-gap: 16px;
    --portrait-width: calc((var(--mobile-hero-height) - var(--header-top) - var(--header-height) - var(--portrait-gap)) * var(--portrait-width-per-height));
  }
  .hero { height: var(--mobile-hero-height); }
  .hero__intro { left: 50%; margin: 0; transform: translateX(-50%); width: min(92%, 560px); }
}

@media (max-width: 600px) {
  .overscroll-note { min-height: 64px; padding: 0 16px 12px; font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav::before, .primary-nav a { transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
