/* Everything scales from one unit so proportions stay locked
   across screen sizes — larger screens enlarge the whole page. */

:root {
  /* Tighter reference = composition fills more of the viewport */
  --u: min(calc(100vw / 1100), calc(100vh / 780));

  --black: #000000;
  --white: #ffffff;
  --tagline: #a48dcd;
  --shadow: 0 calc(10 * var(--u)) calc(28 * var(--u)) rgba(0, 0, 0, 0.14);
}

@property --scale {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

@property --nudge-x {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* legacy Edge */
}

html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--white);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.welcome-active {
  overflow: hidden;
}

body::-webkit-scrollbar {
  display: none;
}

/* —— Welcome / loading screen —— */
.welcome {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--tagline);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.welcome.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.welcome__decor {
  display: none;
}

.welcome__stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(92vw, 560px);
}

.welcome__slot {
  width: 100%;
  height: clamp(120px, 22vw, 168px);
  display: flex;
  align-items: stretch;
  gap: clamp(8px, 1.4vw, 14px);
  padding: clamp(10px, 1.8vw, 16px) clamp(18px, 3vw, 28px);
  border-radius: 999px;
  background: var(--white);
  overflow: hidden;
}

.welcome__reel {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--white);
}

.welcome__reel:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 6%;
  bottom: 6%;
  right: calc(-0.5 * clamp(8px, 1.4vw, 14px) - 2px);
  width: 4px;
  border-radius: 999px;
  background: var(--tagline);
  z-index: 2;
}

.welcome__strip {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.welcome__cell {
  flex: 0 0 auto;
  height: var(--cell-h, 140px);
  display: grid;
  place-items: center;
  padding: 8px;
}

.welcome__cell img,
.welcome__cell svg {
  width: min(72%, 78px);
  height: min(72%, 78px);
  object-fit: contain;
  display: block;
}

.welcome__cell--logo img {
  width: min(68%, 72px);
  height: min(68%, 72px);
}

.welcome__text {
  position: absolute;
  left: 50%;
  top: calc(100% + clamp(24px, 4vh, 40px));
  margin: 0;
  font-size: clamp(42px, 8vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0;
  transform: translate(-50%, 18px) scale(0.96);
  white-space: nowrap;
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.welcome__text.is-visible {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}

.welcome__text.is-exit {
  opacity: 0;
  transform: translate(-50%, -12px) scale(1.02);
}

.welcome__slot.is-hidden {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

/* Site hidden until welcome finishes, then staggers in */
body.welcome-active .header,
body.welcome-active .site-panel {
  opacity: 0;
  pointer-events: none;
}

body.site-ready .header,
body.site-ready .site-panel {
  opacity: 1;
  pointer-events: auto;
}

body.site-entering .home .logo,
body.site-entering .name,
body.site-entering .tagline,
body.site-entering .menu-btn {
  animation: site-rise-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.site-entering .gallery__item {
  animation: site-fade-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.site-entering .home-social {
  animation: site-social-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.site-entering .scroll-cue {
  animation: site-scroll-cue-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.site-entering .home .logo {
  animation-delay: 0.05s;
}

body.site-entering .name {
  animation-delay: 0.18s;
}

body.site-entering .gallery__item--1 {
  animation-delay: 0.28s;
}
body.site-entering .gallery__item--2 {
  animation-delay: 0.34s;
}
body.site-entering .gallery__item--3 {
  animation-delay: 0.4s;
}
body.site-entering .gallery__item--4 {
  animation-delay: 0.46s;
}
body.site-entering .gallery__item--5 {
  animation-delay: 0.52s;
}

body.site-entering .tagline {
  animation-delay: 0.62s;
}

body.site-entering .home-social {
  animation-delay: 0.5s;
}

body.site-entering .scroll-cue {
  animation-delay: 0.75s;
}

body.site-entering .menu-btn {
  animation-delay: 0.35s;
}

@keyframes site-rise-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes site-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes site-social-in {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}

@keyframes site-scroll-cue-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .welcome__strip {
    transition: none !important;
  }

  .welcome__text {
    transition: none;
  }

  body.site-entering .home .logo,
  body.site-entering .name,
  body.site-entering .gallery__item,
  body.site-entering .tagline,
  body.site-entering .home-social,
  body.site-entering .scroll-cue,
  body.site-entering .menu-btn {
    animation: none;
  }
}

body.menu-open,
body.menu-closing {
  overflow: hidden;
  background: var(--tagline);
}

/* —— Slide-out angled menu —— */
.nav-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--tagline);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.menu-open .nav-menu-backdrop,
body.menu-closing .nav-menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: transparent;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: calc(48 * var(--u)) calc(56 * var(--u)) calc(48 * var(--u))
    min(58vw, calc(720 * var(--u)));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

body.menu-open .nav-menu {
  opacity: 1;
  visibility: visible;
}

body.menu-closing .nav-menu {
  opacity: 0;
  visibility: hidden;
  transition: none;
}

body.menu-open .nav-menu__close,
body.menu-open .nav-menu__list {
  pointer-events: auto;
}

body.menu-closing .nav-menu__close,
body.menu-closing .nav-menu__list {
  pointer-events: none;
}

.nav-menu__close {
  position: absolute;
  top: calc(40 * var(--u));
  right: calc(48 * var(--u));
  border: none;
  background: none;
  color: var(--white);
  font-family: inherit;
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
}

.nav-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: min(42vw, calc(520 * var(--u)));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: calc(10 * var(--u));
  text-align: right;
}

.nav-menu__list a {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(24px, calc(44 * var(--u)), 56px);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  transition: opacity 0.2s ease;
}

.nav-menu__list a:hover {
  opacity: 0.7;
}

.site-panel {
  position: relative;
  z-index: 60;
  min-height: 100%;
  background: var(--white);
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  transform-origin: 20% 50%;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.75s ease, box-shadow 0.75s ease;
}

body.menu-open .site-panel,
body.menu-closing .site-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: none;
  scrollbar-width: none;
  pointer-events: none;
  z-index: 80;
}

body.menu-open .site-panel::-webkit-scrollbar,
body.menu-closing .site-panel::-webkit-scrollbar {
  display: none;
}

body.menu-open .site-panel.is-shifted {
  border-radius: calc(18 * var(--u));
  box-shadow: calc(24 * var(--u)) calc(18 * var(--u)) calc(60 * var(--u))
    rgba(0, 0, 0, 0.22);
  transform: translate3d(-32vw, 0, 0) rotate(8deg) scale(0.88);
}

/* —— Header —— */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

body.menu-open .header,
body.menu-closing .header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.menu-open .header *,
body.menu-closing .header * {
  pointer-events: none;
}

.header__logo {
  pointer-events: none;
  position: absolute;
  top: calc(28 * var(--u));
  left: calc(40 * var(--u));
  width: calc(48 * var(--u));
  height: calc(48 * var(--u));
  opacity: 0;
  visibility: hidden;
}

.header__logo.is-docked {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.menu-btn {
  pointer-events: auto;
  position: absolute;
  top: calc(36 * var(--u));
  right: calc(48 * var(--u));
  border: none;
  background: none;
  color: var(--black);
  font-family: inherit;
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

/* —— Homepage (unchanged layout, full viewport) —— */
.home-section {
  position: relative;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.home-social {
  position: absolute;
  right: calc(40 * var(--u));
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--u));
}

.home-social__link {
  display: block;
  width: calc(34 * var(--u));
  height: calc(34 * var(--u));
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-social__link:focus,
.home-social__link:focus-visible,
.home-social__link:active {
  outline: none;
  border: 0;
  box-shadow: none;
}

.home-social__link:hover {
  opacity: 1;
  transform: scale(1.08);
}

.home-social__link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: calc(36 * var(--u));
  transform: translateX(-50%) translateY(calc(12 * var(--u)));
  z-index: 200;
  padding: calc(12 * var(--u)) calc(18 * var(--u));
  border-radius: calc(8 * var(--u));
  background: #1a1a1a;
  color: var(--white);
  font-size: calc(13 * var(--u));
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.home {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(24 * var(--u)) calc(32 * var(--u));
  text-align: center;
}

.logo {
  width: calc(80 * var(--u));
  height: calc(80 * var(--u));
  object-fit: contain;
  margin-top: calc(-64 * var(--u));
  margin-bottom: calc(0 * var(--u));
  transition: opacity 0.2s ease;
}

.logo.is-away {
  opacity: 0;
}

.logo-flyer {
  position: fixed;
  z-index: 120;
  margin: 0;
  object-fit: contain;
  pointer-events: none;
  transform-origin: top left;
  will-change: transform;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  .logo-flyer {
    transition: none;
  }
}

.name {
  font-size: calc(68 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: calc(-8 * var(--u));
  margin-bottom: calc(36 * var(--u));
  white-space: nowrap;
}

.gallery {
  position: relative;
  width: calc(800 * var(--u));
  height: calc(340 * var(--u));
  margin-bottom: calc(22 * var(--u));
  pointer-events: none;
}

.gallery__item {
  position: absolute;
  top: 50%;
  width: calc(240 * var(--u));
  height: calc(240 * var(--u));
  border-radius: calc(34 * var(--u));
  box-shadow: var(--shadow);
  background: #a48dcd;
  overflow: hidden;
  display: block;
  pointer-events: auto;
  --scale: 1;
  --nudge-x: 0px;
  transform: translateX(var(--nudge-x))
    translateY(calc(-50% + var(--lift))) rotate(var(--tilt))
    scale(var(--scale));
  transform-origin: center center;
  transition: --scale 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    --nudge-x 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Varied heights + slight tilts — tighter overlap */
.gallery__item--1 {
  left: calc(0 * var(--u));
  --lift: calc(22 * var(--u));
  --tilt: -5deg;
  z-index: 1;
}

.gallery__item--2 {
  left: calc(140 * var(--u));
  --lift: calc(-36 * var(--u));
  --tilt: 4deg;
  z-index: 2;
}

.gallery__item--3 {
  left: calc(280 * var(--u));
  --lift: calc(6 * var(--u));
  --tilt: -2deg;
  z-index: 3;
}

.gallery__item--4 {
  left: calc(420 * var(--u));
  --lift: calc(-24 * var(--u));
  --tilt: 6deg;
  z-index: 4;
}

.gallery__item--5 {
  left: calc(560 * var(--u));
  --lift: calc(34 * var(--u));
  --tilt: -4deg;
  z-index: 5;
}

/* Spotlight (hover or auto-cycle): grow focused, shrink siblings */
.gallery:has(.gallery__item:is(:hover, .is-spotlight)) .gallery__item {
  --scale: 0.82;
}

.gallery:has(.gallery__item:is(:hover, .is-spotlight))
  .gallery__item:is(:hover, .is-spotlight) {
  --scale: 1.18;
}

/* Neighbors slide aside */
.gallery:has(.gallery__item--1:is(:hover, .is-spotlight)) .gallery__item--2 {
  --nudge-x: calc(58 * var(--u));
}
.gallery:has(.gallery__item--1:is(:hover, .is-spotlight)) .gallery__item--3 {
  --nudge-x: calc(40 * var(--u));
}
.gallery:has(.gallery__item--1:is(:hover, .is-spotlight)) .gallery__item--4 {
  --nudge-x: calc(24 * var(--u));
}
.gallery:has(.gallery__item--1:is(:hover, .is-spotlight)) .gallery__item--5 {
  --nudge-x: calc(14 * var(--u));
}

.gallery:has(.gallery__item--2:is(:hover, .is-spotlight)) .gallery__item--1 {
  --nudge-x: calc(-58 * var(--u));
}
.gallery:has(.gallery__item--2:is(:hover, .is-spotlight)) .gallery__item--3 {
  --nudge-x: calc(58 * var(--u));
}
.gallery:has(.gallery__item--2:is(:hover, .is-spotlight)) .gallery__item--4 {
  --nudge-x: calc(40 * var(--u));
}
.gallery:has(.gallery__item--2:is(:hover, .is-spotlight)) .gallery__item--5 {
  --nudge-x: calc(24 * var(--u));
}

.gallery:has(.gallery__item--3:is(:hover, .is-spotlight)) .gallery__item--1 {
  --nudge-x: calc(-40 * var(--u));
}
.gallery:has(.gallery__item--3:is(:hover, .is-spotlight)) .gallery__item--2 {
  --nudge-x: calc(-58 * var(--u));
}
.gallery:has(.gallery__item--3:is(:hover, .is-spotlight)) .gallery__item--4 {
  --nudge-x: calc(58 * var(--u));
}
.gallery:has(.gallery__item--3:is(:hover, .is-spotlight)) .gallery__item--5 {
  --nudge-x: calc(40 * var(--u));
}

.gallery:has(.gallery__item--4:is(:hover, .is-spotlight)) .gallery__item--1 {
  --nudge-x: calc(-24 * var(--u));
}
.gallery:has(.gallery__item--4:is(:hover, .is-spotlight)) .gallery__item--2 {
  --nudge-x: calc(-40 * var(--u));
}
.gallery:has(.gallery__item--4:is(:hover, .is-spotlight)) .gallery__item--3 {
  --nudge-x: calc(-58 * var(--u));
}
.gallery:has(.gallery__item--4:is(:hover, .is-spotlight)) .gallery__item--5 {
  --nudge-x: calc(58 * var(--u));
}

.gallery:has(.gallery__item--5:is(:hover, .is-spotlight)) .gallery__item--1 {
  --nudge-x: calc(-14 * var(--u));
}
.gallery:has(.gallery__item--5:is(:hover, .is-spotlight)) .gallery__item--2 {
  --nudge-x: calc(-24 * var(--u));
}
.gallery:has(.gallery__item--5:is(:hover, .is-spotlight)) .gallery__item--3 {
  --nudge-x: calc(-40 * var(--u));
}
.gallery:has(.gallery__item--5:is(:hover, .is-spotlight)) .gallery__item--4 {
  --nudge-x: calc(-58 * var(--u));
}

.tagline {
  position: relative;
  width: min(100%, calc(900 * var(--u)));
  min-height: calc(84 * var(--u));
  font-size: calc(40 * var(--u));
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--tagline);
  line-height: 1.05;
}

.tagline__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  transition: opacity 0.28s ease;
}

.tagline__panel:not(.tagline__panel--default) {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  opacity: 0;
  pointer-events: none;
}

.home:has(.gallery__item--1:is(:hover, .is-spotlight)) .tagline__panel--default,
.home:has(.gallery__item--2:is(:hover, .is-spotlight)) .tagline__panel--default,
.home:has(.gallery__item--3:is(:hover, .is-spotlight)) .tagline__panel--default,
.home:has(.gallery__item--4:is(:hover, .is-spotlight)) .tagline__panel--default,
.home:has(.gallery__item--5:is(:hover, .is-spotlight)) .tagline__panel--default {
  opacity: 0;
}

.home:has(.gallery__item--1:is(:hover, .is-spotlight)) .tagline__panel--awards,
.home:has(.gallery__item--2:is(:hover, .is-spotlight)) .tagline__panel--goodreads,
.home:has(.gallery__item--3:is(:hover, .is-spotlight)) .tagline__panel--aboutme,
.home:has(.gallery__item--4:is(:hover, .is-spotlight)) .tagline__panel--katch,
.home:has(.gallery__item--5:is(:hover, .is-spotlight)) .tagline__panel--nsgltas {
  opacity: 1;
}

/* —— Scroll cue —— */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(12 * var(--u));
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(4 * var(--u));
  text-decoration: none;
  color: var(--tagline);
  font-size: calc(12 * var(--u));
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.scroll-cue:hover {
  color: var(--black);
}

.scroll-cue__arrow {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  animation: scroll-bounce 1.6s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(calc(6 * var(--u)));
  }
}

/* —— Project placeholders (fill in later) —— */
.project-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80 * var(--u)) calc(48 * var(--u));
  border-top: 1px solid #a48dcd;
}

.project-section h2 {
  font-size: calc(36 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-align: center;
}

.awards-section__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--u));
  text-align: center;
}

.awards-section__soon {
  font-size: calc(18 * var(--u));
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tagline);
}

/* —— Katch —— */
.katch-section {
  padding: calc(88 * var(--u)) calc(48 * var(--u)) calc(72 * var(--u));
  background: var(--white);
}

.katch-section__inner {
  width: min(100%, calc(1180 * var(--u)));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(48 * var(--u));
}

.katch-section__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: calc(48 * var(--u));
  align-items: start;
}

.katch-section__title {
  font-size: calc(72 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
}

.katch-section__tags {
  list-style: none;
  margin: calc(18 * var(--u)) 0 calc(28 * var(--u));
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  color: var(--tagline);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.35;
}

.katch-section__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: calc(140 * var(--u));
  padding: calc(12 * var(--u)) calc(28 * var(--u));
  border-radius: 999px;
  background: #a48dcd;
  color: var(--white);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, 0.12);
  transition: filter 0.2s ease, transform 0.2s ease;
}

.katch-section__cta:hover {
  filter: brightness(0.96);
  transform: translateY(calc(-1 * var(--u)));
}

.katch-section__bio {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  padding-top: calc(10 * var(--u));
}

.katch-section__bio p {
  font-size: calc(13.5 * var(--u));
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #222;
}

.katch-section__hero {
  margin: 0;
  width: 100%;
}

.katch-section__hero img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(4 * var(--u));
}

.katch-section__social {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16 * var(--u));
}

.katch-section__social img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(4 * var(--u));
}

.katch-section__social figcaption,
.katch-section__physical figcaption {
  color: var(--tagline);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-align: left;
  align-self: stretch;
  width: 100%;
}

.katch-section__physical {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}

.katch-section__physical-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(14 * var(--u));
}

.katch-section__physical-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: calc(4 * var(--u));
  background: #a48dcd;
}

.katch-section__physical figcaption {
  text-align: left;
}

/* —— NSGLTAS —— */
.nsgltas-section {
  padding: calc(88 * var(--u)) calc(48 * var(--u)) calc(72 * var(--u));
  background: var(--white);
}

.nsgltas-section__inner {
  width: min(100%, calc(1180 * var(--u)));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(48 * var(--u));
}

.nsgltas-section__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: calc(48 * var(--u));
  align-items: start;
}

.nsgltas-section__title {
  font-size: calc(72 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
}

.nsgltas-section__tags {
  list-style: none;
  margin: calc(18 * var(--u)) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  color: var(--tagline);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.35;
}

.nsgltas-section__bio {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  padding-top: calc(10 * var(--u));
}

.nsgltas-section__bio p {
  font-size: calc(13.5 * var(--u));
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #222;
}

.nsgltas-section__posters {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: calc(14 * var(--u));
  align-items: stretch;
}

.nsgltas-section__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: calc(4 * var(--u));
  background: #a48dcd;
}

.nsgltas-section__poster--wide {
  min-height: calc(380 * var(--u));
  aspect-ratio: 3 / 2;
}

.nsgltas-section__poster--tall {
  min-height: calc(380 * var(--u));
  aspect-ratio: 3 / 4;
}

.nsgltas-section__deck {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
}

.nsgltas-section__deck img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(4 * var(--u));
}

.nsgltas-section__deck-captions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: calc(24 * var(--u));
  color: var(--tagline);
  font-size: calc(13 * var(--u));
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.35;
}

.nsgltas-section__deck-captions p {
  margin: 0;
  max-width: calc(420 * var(--u));
}

.nsgltas-section__deck-captions a {
  color: var(--tagline);
  text-decoration: underline;
  text-underline-offset: calc(3 * var(--u));
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nsgltas-section__deck-captions a:hover {
  color: var(--black);
}

.nsgltas-section__videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(14 * var(--u));
}

.nsgltas-section__video {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--u));
}

.nsgltas-section__player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--white);
  border-radius: calc(4 * var(--u));
  overflow: hidden;
}

.nsgltas-section__play-btn {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

.nsgltas-section__play-btn img,
.nsgltas-section__player video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.nsgltas-section__play-btn img {
  /* Scale up so letterbox/black edges in the asset get cropped away */
  width: 112%;
  height: 112%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.nsgltas-section__video figcaption {
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  color: var(--tagline);
  font-size: calc(13 * var(--u));
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* —— Goodreads —— */
.goodreads-section {
  padding: calc(88 * var(--u)) calc(48 * var(--u)) calc(72 * var(--u));
  background: var(--white);
}

.goodreads-section__inner {
  width: min(100%, calc(1180 * var(--u)));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: calc(48 * var(--u));
}

.goodreads-section__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: calc(48 * var(--u));
  align-items: start;
}

.goodreads-section__title {
  font-size: calc(72 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
}

.goodreads-section__tags {
  list-style: none;
  margin: calc(18 * var(--u)) 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(2 * var(--u));
  color: var(--tagline);
  font-size: calc(14 * var(--u));
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.35;
}

.goodreads-section__bio {
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--u));
  padding-top: calc(10 * var(--u));
}

.goodreads-section__bio p {
  font-size: calc(13.5 * var(--u));
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #222;
}

.goodreads-section__overview {
  margin: 0;
  width: 100%;
}

.goodreads-section__overview img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(4 * var(--u));
}

.goodreads-section__compare {
  display: flex;
  flex-direction: column;
  gap: calc(28 * var(--u));
}

.goodreads-section__compare-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(14 * var(--u));
  color: var(--tagline);
  font-size: calc(14 * var(--u));
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.goodreads-section__compare-labels p {
  margin: 0;
}

.goodreads-section__compare-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(14 * var(--u));
  align-items: start;
}

.goodreads-section__compare-row img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(4 * var(--u));
  background: #a48dcd;
  box-shadow: 0 calc(8 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, 0.06);
}

/* —— About Me —— */
.about-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(72 * var(--u)) calc(48 * var(--u)) calc(36 * var(--u));
  background: var(--white);
  overflow-x: clip;
}

.about-section__inner {
  width: min(100%, calc(1180 * var(--u)));
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
}

.about-section__intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: calc(36 * var(--u));
  align-items: start;
}

.about-section__title {
  font-size: calc(72 * var(--u));
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  white-space: nowrap;
}

.about-section__bio {
  display: flex;
  flex-direction: column;
  gap: calc(18 * var(--u));
  padding-top: calc(8 * var(--u));
  max-width: none;
}

.about-section__bio p {
  font-size: calc(13.5 * var(--u));
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: #222;
}

.about-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(10 * var(--u));
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.about-carousel__viewport {
  position: relative;
  width: 100%;
  height: calc(400 * var(--u));
  overflow: hidden;
}

.about-carousel__track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-carousel__slide {
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(240 * var(--u));
  height: calc(320 * var(--u));
  padding: 0;
  border: none;
  background: #a48dcd;
  border-radius: calc(8 * var(--u));
  overflow: hidden;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.55s ease, filter 0.55s ease;
  box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, 0.06),
    0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(0, 0, 0, 0.04);
}

.about-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.about-carousel__slide.is-active {
  z-index: 5;
  opacity: 1;
  filter: none;
}

.about-carousel__slide:not(.is-active) {
  opacity: 0.55;
  filter: grayscale(0.15) brightness(0.96);
}

.about-carousel__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--u));
  color: var(--tagline);
  width: min(100%, calc(720 * var(--u)));
  padding: 0 calc(24 * var(--u));
}

.about-carousel__caption-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(18 * var(--u));
  width: 100%;
}

.about-carousel__caption-text {
  text-align: center;
  min-height: calc(52 * var(--u));
}

.about-carousel__title {
  font-size: calc(22 * var(--u));
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.15;
}

.about-carousel__tagline {
  margin-top: calc(4 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}

.about-carousel__arrow {
  width: calc(28 * var(--u));
  height: calc(28 * var(--u));
  padding: 0;
  border: none;
  background: none;
  color: var(--tagline);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.2s ease;
  flex-shrink: 0;
}

.about-carousel__arrow:hover {
  color: var(--black);
}

.about-carousel__arrow svg {
  width: calc(22 * var(--u));
  height: calc(22 * var(--u));
  display: block;
}

.about-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(8 * var(--u));
}

.about-carousel__dot {
  width: calc(7 * var(--u));
  height: calc(7 * var(--u));
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c8c8c8;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.about-carousel__dot.is-active {
  background: var(--tagline);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery__item {
    transition: none;
  }

  .about-carousel__slide {
    transition: none;
  }

  .scroll-cue__arrow {
    animation: none;
  }
}
