:root {
  --red: #c31f24;
  --red-dark: #be0f35;
  --ink: #090909;
  --ivory: #f2f2f2;
  --gray: #e7e7e7;
  --line: rgba(8, 8, 8, 0.8);
  --font-display: "Bodoni Moda", "Times New Roman", Times, serif;
  --font-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Courier New", "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: var(--red);
  color: var(--ink);
  overflow-x: hidden;
  font-synthesis: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  justify-content: flex-end;
  padding: 1.35rem 1.2rem;
  z-index: 30;
  pointer-events: none;
}

.menu-open {
  pointer-events: auto;
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  cursor: pointer;
}

.menu-open i {
  display: none;
  width: 1.25rem;
  height: 1.1rem;
  border: 1px solid var(--line);
  position: relative;
}

.menu-open i::before,
.menu-open i::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 0.2rem;
  height: 1px;
  background: var(--line);
}

.menu-open i::before {
  top: 0.3rem;
}

.menu-open i::after {
  bottom: 0.3rem;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--red);
  color: var(--ink);
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  overflow: hidden;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.frame-lines {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

#hero .frame-lines {
  border-bottom: 0;
}

.overlay-top,
.overlay-foot {
  padding: 0.75rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.overlay-logo {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 4rem);
}

.menu-close {
  width: 4.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.1rem;
  height: 2px;
  background: var(--red);
}

.menu-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.overlay-main {
  padding: 3.5rem 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 44vw);
  gap: 2rem;
  align-items: start;
  overflow: auto;
  min-height: 0;
}

.overlay-copy {
  display: grid;
  align-content: start;
  position: relative;
}

.overlay-kicker {
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.overlay-nav {
  margin: 2rem 0 0;
  padding: 0 0 0 3.2rem;
  list-style: none;
  display: grid;
  gap: 1.1rem;
  position: relative;
}

.overlay-nav li {
  transform-origin: left center;
  transition: transform 320ms cubic-bezier(0.16, 0.74, 0.25, 1),
    opacity 220ms ease;
}

.overlay-nav a {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 6.4vw, 7.2rem);
  line-height: 0.94;
  position: relative;
  display: inline;
  transition: color 180ms ease;
}

.menu-caret {
  position: absolute;
  left: 0.3rem;
  top: 0;
  width: clamp(2rem, 4vw, 3.1rem);
  height: 0.26rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  transform: translate3d(0, 0, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 340ms cubic-bezier(0.16, 0.74, 0.25, 1), opacity 180ms ease;
  will-change: transform;
}

.menu-caret::after {
  content: "";
  position: absolute;
  right: -0.02rem;
  top: 50%;
  width: 0.62rem;
  height: 0.62rem;
  border-top: 0.24rem solid rgba(255, 255, 255, 0.94);
  border-right: 0.24rem solid rgba(255, 255, 255, 0.94);
  transform: translateY(-50%) rotate(45deg);
}

.menu-caret.visible {
  opacity: 1;
}

.overlay-preview {
  justify-self: end;
  align-self: start;
  width: min(100%, 620px);
  aspect-ratio: 10 / 11;
  border: 1px solid rgba(8, 8, 8, 0.35);
  opacity: 0;
  transition: opacity 240ms ease;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.overlay-preview.visible {
  opacity: 1;
}

.overlay-preview img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
  transform: translateY(calc(-10% + var(--preview-offset-y, 0px)));
  transition: opacity 180ms ease, transform 240ms ease;
}

.overlay-preview img.is-fading {
  opacity: 0.45;
}

.overlay-foot {
  padding: 0.9rem 2.4rem calc(1rem + env(safe-area-inset-bottom, 0px)) 1.8rem;
  gap: 1.1rem;
  justify-content: flex-end;
  align-self: end;
  position: sticky;
  bottom: 0;
  background: var(--red);
  z-index: 3;
}

.overlay-foot a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.98rem;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}


.chapter-indicator {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 14;
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  color: var(--ink);
}

.chapter-indicator.is-light {
  color: var(--ivory);
}

.chapter-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.chapter-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: currentColor;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.chapter-track {
  width: 0.92rem;
  height: 7.2rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  position: relative;
}

.chapter-track::after {
  content: "";
  position: absolute;
  inset: 0.18rem;
  border-radius: inherit;
  background: linear-gradient(to bottom, currentColor var(--scroll, 0%), transparent 0%);
}

.scene {
  min-height: 100svh;
  padding: 4.8rem 0 3rem;
}

.scene-red {
  background: var(--red);
  color: var(--ink);
}

.scene-black {
  background: var(--ink);
  color: var(--ivory);
}

.scene-gray {
  background: var(--gray);
  color: var(--red);
}

.content-wide,
.hero-inner {
  width: min(1260px, calc(100% - 2.6rem));
  margin: 0 auto;
  position: relative;
}

.hero {
  display: grid;
  align-items: center;
}

.hero-inner {
  padding: 0 0 1.3rem;
}

.hero-art {
  margin: 1.1rem 0 0;
}

.hero-art img {
  display: block;
  width: min(100%, 1080px);
  height: clamp(280px, 58vh, 780px);
  object-fit: cover;
  object-position: center 22%;
}

.title-giant,
.title-tower,
.title-wide,
.title-contact,
.title-paradise {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 0.9;
}

.title-giant {
  font-size: clamp(3.2rem, 9.8vw, 10.3rem);
}

.hero-inner > .title-giant,
.content-wide > .title-wide,
.content-wide > .title-contact {
  margin-top: 0.35rem;
}

.subline {
  margin: 1.2rem 0 0;
  border-top: 1px solid var(--line);
  padding-top: 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 3rem);
}

.intro {
  padding-top: 0;
}

#work.passage,
#workshops.intro {
  padding-top: 4.8rem;
}

#about.scene {
  min-height: auto;
  padding-bottom: 3.2rem;
}

#about .intro-copy {
  margin-top: 0;
}

.intro-lead {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.8vw, 4.2rem);
}

.intro-copy {
  margin: 0.8rem auto 0;
  max-width: 70ch;
  text-align: left;
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.25;
}

.workshop-media {
  display: flex;
  justify-content: flex-end;
}

.workshop-frame {
  position: relative;
  display: inline-block;
  width: min(50%, 640px);
}

.workshop-img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.28));
  transform: translateY(0) scale(1);
  transition: transform 360ms cubic-bezier(0.16, 0.74, 0.25, 1), filter 240ms ease;
}

.workshop-frame:hover .workshop-img,
.workshop-frame:focus-within .workshop-img {
  transform: translateY(-4px) scale(1.01);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.32));
}

@media (min-width: 1000px) {
  .section-shift .content-wide {
    display: block;
  }

  .section-shift .section-main {
    max-width: 74ch;
    margin-left: auto;
    margin-right: auto;
  }

  .section-shift .section-media {
    margin-top: clamp(1.2rem, 2.8vw, 2.4rem);
    max-width: 74ch;
    margin-left: auto;
    margin-right: auto;
  }

  #workshops .section-media {
    max-width: 74ch;
  }

  #paradise .section-media {
    max-width: 100%;
  }
}

.journey {
  display: grid;
  align-items: center;
}

.title-tower {
  max-width: 9.4ch;
  font-size: clamp(2.8rem, 10vw, 9.8rem);
}

.floating-art {
  position: absolute;
  object-fit: cover;
  filter: grayscale(100%);
  border: 8px solid rgba(229, 210, 190, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.art-a {
  width: 185px;
  height: 250px;
  left: 0;
  top: 36%;
}

.art-b {
  width: 195px;
  height: 150px;
  right: 2%;
  top: 8%;
}

.art-c {
  width: 220px;
  height: 190px;
  right: 19%;
  bottom: 2%;
}

.passage {
  padding-top: 0;
}

.title-wide {
  font-size: clamp(2.4rem, 8vw, 6.6rem);
  margin: 0.35rem 0 0.9rem;
  font-weight: 800;
}

.passage-copy {
  margin: 0;
  max-width: 18.4ch;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 6.4vw, 6rem);
  line-height: 1.12;
}

.writing-content {
  margin-top: 0.9rem;
  max-width: 78ch;
}

.writing-subheader {
  margin: 1.3rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.1vw, 2.4rem);
  line-height: 1;
  color: var(--ivory);
}

.writing-title {
  margin: 0.8rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.15;
  color: var(--ivory);
}

.writing-body {
  margin: 0 0 0.9rem;
  font-family: var(--font-mono);
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.45;
  color: rgba(242, 242, 242, 0.9);
}

.writing-list {
  margin: 0.25rem 0 0.9rem 1.2rem;
  padding: 0;
}

.writing-list li {
  margin: 0 0 0.45rem;
  font-family: var(--font-mono);
  font-size: clamp(0.96rem, 1.65vw, 1.08rem);
  line-height: 1.35;
  color: rgba(242, 242, 242, 0.9);
}

.writing-section {
  background: var(--gray);
  color: var(--ink);
}

.writing-section .title-wide {
  color: var(--red);
}

.writing-section .writing-subheader,
.writing-section .writing-title,
.writing-section .writing-body,
.writing-section .writing-list li {
  color: var(--ink);
}

.writing-content a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  opacity: 0.9;
  transition: opacity 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.writing-content a:hover,
.writing-content a:focus-visible {
  opacity: 1;
  border-bottom-color: rgba(195, 31, 36, 0.85);
  background-color: rgba(195, 31, 36, 0.12);
  outline: none;
}

.essay-link-preview {
  position: fixed;
  left: 0;
  top: 0;
  width: clamp(170px, 18vw, 260px);
  aspect-ratio: 2 / 3;
  pointer-events: none;
  z-index: 60;
  opacity: 0;
  transform: translate3d(-9999px, -9999px, 0) scale(0.96);
  transition: opacity 140ms ease, transform 180ms cubic-bezier(0.16, 0.74, 0.25, 1);
  border: 1px solid rgba(9, 9, 9, 0.32);
  background: rgba(231, 231, 231, 0.94);
  overflow: hidden;
}

.essay-link-preview.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.essay-link-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 980px), (hover: none) {
  .essay-link-preview {
    display: none;
  }
}

.highlight {
  display: inline;
  background: none;
  color: var(--ivory);
  transition: color 320ms ease;
  padding: 0;
  margin: 0;
}

.highlight.active {
  background: none;
  color: var(--ivory);
}

.projects {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.projects article {
  border: 1px solid rgba(242, 242, 242, 0.35);
  padding: 0.55rem;
}

.projects img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  filter: saturate(85%);
}

.projects h3 {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.9rem);
  line-height: 1;
}

.projects p {
  margin: 0.45rem 0 0;
  color: rgba(242, 242, 242, 0.86);
  font-family: var(--font-mono);
  font-size: clamp(0.95rem, 1.7vw, 1.08rem);
  line-height: 1.25;
}

.journey-text p,
.journey-caption {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.25;
}

.paradiso {
  display: grid;
  place-items: center;
}

.paradiso-inner {
  text-align: center;
}

.sun {
  width: 78px;
  height: 78px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  margin-bottom: 5.5rem;
}

.title-paradise {
  color: var(--red);
  font-size: clamp(3.1rem, 10vw, 9rem);
}

.title-paradise small {
  font-size: 0.35em;
  font-weight: 400;
}

.contact {
  min-height: auto;
  display: block;
  color: var(--ivory);
}

.title-contact {
  font-size: clamp(2.3rem, 7.8vw, 7.3rem);
  max-width: 10ch;
  margin: 0.35rem 0 0.9rem;
}

.contact-link {
  margin-top: 1.35rem;
  display: inline-block;
  color: var(--ivory);
  text-decoration: none;
  border-bottom: 1px solid rgba(242, 242, 242, 0.55);
  font-size: clamp(1.1rem, 2.3vw, 2.1rem);
}

.contact .content-wide {
  padding-top: 0.35rem;
}

.contact-form {
  margin-top: 1.4rem;
  max-width: 760px;
  display: grid;
  gap: 0.95rem;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status {
  margin: 0.2rem 0 0;
  min-height: 1.2em;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
  color: rgba(242, 242, 242, 0.9);
}

.contact-status.is-error {
  color: #ffd3d5;
}

.contact-status.is-success {
  color: #ddf5e5;
}

.contact-field {
  display: grid;
  gap: 0.42rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 242, 242, 0.92);
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(242, 242, 242, 0.38);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.42;
  padding: 0.85rem 0.95rem;
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: rgba(242, 242, 242, 0.62);
}

.contact-field textarea {
  resize: vertical;
  min-height: 156px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: rgba(242, 242, 242, 0.86);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(242, 242, 242, 0.28);
}

.contact-submit {
  justify-self: start;
  border: 1px solid rgba(242, 242, 242, 0.65);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.62rem 1.2rem;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.contact-submit:hover,
.contact-submit:focus-visible {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: var(--red);
  outline: none;
}

.contact-submit[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

.line {
  display: block;
  overflow: hidden;
}

.line-inner {
  display: inline-block;
  transform: translateY(118%);
  opacity: 0;
  transition: transform 920ms cubic-bezier(0.16, 0.74, 0.25, 1), opacity 620ms ease;
}

body.ready .line-inner {
  transform: translateY(0);
  opacity: 1;
}

body.ready .split-lines .line:nth-child(1) .line-inner {
  transition-delay: 0.08s;
}

body.ready .split-lines .line:nth-child(2) .line-inner {
  transition-delay: 0.19s;
}

body.ready .split-lines .line:nth-child(3) .line-inner {
  transition-delay: 0.3s;
}

body.ready .split-lines .line:nth-child(4) .line-inner {
  transition-delay: 0.41s;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: transform 920ms cubic-bezier(0.16, 0.74, 0.25, 1), opacity 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

body.overlay-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .chapter-indicator {
    display: none;
  }

  .projects {
    grid-template-columns: 1fr;
  }

  .intro-copy,
  .passage-copy {
    max-width: 100%;
  }
}

@media (max-width: 760px) {
  .menu-open {
    font-size: 1.45rem;
  }

  .scene {
    min-height: auto;
  }

  .title-giant {
    font-size: clamp(3rem, 16vw, 6.3rem);
  }

  .title-tower,
  .passage-copy,
  .title-paradise {
    font-size: clamp(2.5rem, 13vw, 5.2rem);
  }

  .title-wide,
  .title-contact {
    font-size: clamp(2.2rem, 11vw, 4.8rem);
  }

  .overlay-foot {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    padding: 0.8rem 1.4rem calc(1rem + env(safe-area-inset-bottom, 0px)) 1rem;
  }

  .overlay-main {
    grid-template-columns: 1fr;
  }

  .overlay-copy {
    order: 1;
  }

  .overlay-preview {
    display: none;
  }

  .menu-close {
    width: 3.2rem;
  }

  .art-a,
  .art-b,
  .art-c {
    display: none;
  }
}

.almashtal-section .content-wide {
  padding-top: 0;
}

.almashtal-section {
  background: var(--gray);
  color: var(--ink);
}

.almashtal-intro {
  margin-bottom: 2rem;
}

.almashtal-kicker {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
}

.almashtal-title {
  margin: 0.35rem 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--red);
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-size: clamp(2.4rem, 8vw, 6.6rem);
  max-width: 16ch;
}

.almashtal-description {
  margin: 0;
  max-width: 90ch;
  color: var(--ink);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  line-height: 1.25;
  font-family: var(--font-mono);
}

.album-transition-inline {
  position: relative;
  height: 100vh;
  margin-top: 2rem;
  background: var(--gray);
  border: 1px solid rgba(8, 8, 8, 0.2);
  overflow: visible;
}

#grain-canvas-inline {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: screen;
}

.transition-stage-inline {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.wipe-overlay-inline {
  position: absolute;
  inset: 0;
  background: var(--gray);
  z-index: 6;
  pointer-events: none;
  clip-path: polygon(
    0 0,
    100% 0,
    100% var(--wipe-h, 0%),
    90% calc(var(--wipe-h, 0%) + var(--wipe-skew, -2%)),
    75% calc(var(--wipe-h, 0%) + var(--wipe-skew, -3.5%) * 1.2),
    60% calc(var(--wipe-h, 0%) + var(--wipe-skew, -4%) * 1.4),
    45% calc(var(--wipe-h, 0%) + var(--wipe-skew, -4%) * 1.3),
    30% calc(var(--wipe-h, 0%) + var(--wipe-skew, -3.5%) * 1.1),
    15% calc(var(--wipe-h, 0%) + var(--wipe-skew, -2%)),
    0 var(--wipe-h, 0%)
  );
}

.photo-stack-inline {
  position: relative;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.photo-slide-inline {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 1);
}

.photo-tilt-inline {
  will-change: transform;
  transform-style: preserve-3d;
}

.photo-frame-inline {
  position: relative;
  overflow: hidden;
  border: 0.6px solid rgba(235, 228, 217, 0.2);
  will-change: transform;
}

.photo-frame-inline img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
  display: block;
  transform: scale(1.08);
  will-change: transform;
}

.viewfinder-inline {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vf-corner-inline {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: rgba(232, 224, 212, 0.45);
  border-style: solid;
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.vf-tl-inline {
  top: 18px;
  left: 18px;
  border-width: 1.5px 0 0 1.5px;
}

.vf-tr-inline {
  top: 18px;
  right: 18px;
  border-width: 1.5px 1.5px 0 0;
}

.vf-bl-inline {
  bottom: 18px;
  left: 18px;
  border-width: 0 0 1.5px 1.5px;
}

.vf-br-inline {
  bottom: 18px;
  right: 18px;
  border-width: 0 1.5px 1.5px 0;
}

.vf-corner-inline.hidden {
  opacity: 0;
  transform: scale(0.6);
}

.vf-eye-inline {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 10px;
  border: 1.5px solid rgba(232, 224, 212, 0.35);
  border-radius: 50%;
  transition: opacity 0.7s ease;
}

.vf-eye-inline.hidden {
  opacity: 0;
}

.vf-eye-inline::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: rgba(232, 224, 212, 0.3);
  border-radius: 50%;
}

.transition-ui-right-inline {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.counter-btn-inline {
  border: 0;
  background: transparent;
  color: #4a4240;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  padding: 0;
}

.counter-btn-inline:hover {
  color: #b0a898;
}

.counter-current-inline {
  margin: 0;
  color: #ebe4d9;
  font-weight: 100;
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 4.5vw, 5.8rem);
  line-height: 1;
}

.scroll-hint-inline {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 10;
  margin: 0;
  color: #4a4240;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.scroll-hint-inline::after {
  content: " ↓";
}

@media (max-width: 960px) {
  .album-transition-inline {
    height: 88vh;
  }

  .transition-ui-right-inline {
    left: 0.75rem;
  }
}

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