/* =========================================================
   PLUSTEK — Packaging Made Easy
   Style sheet. Organized top to bottom:
   1. Tokens / reset
   2. Base typography
   3. Navigation + progress UI
   4. Horizontal rig + panels (shared)
   5. Individual panel layouts
   6. Footer
   7. Mobile (<=768px) vertical fallback
   ========================================================= */

/* ---------- 1. TOKENS / RESET ---------- */
:root {
  --cream: #F7F3EA;
  --cream-dim: #FBF5EC;
  --ink: #211C18;
  --ink-soft: #57504A;
  --red: #D9432B;
  --orange: #E98A2B;
  --yellow: #EAC13A;
  --teal: #2E8C82;
  --line: rgba(33, 28, 24, 0.14);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --panel-pad: 7vw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: .8em 1.2em;
  z-index: 999;
}

.skip-link:focus {
  left: 1em;
  top: 1em;
}

/* ---------- 2. BASE TYPOGRAPHY ---------- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: .8rem;
}

.section-index {
  /* normal flow (not absolutely positioned) so it can never overlap the
     heading that follows it — guaranteed gap regardless of content height */
  display: block;
  margin-bottom: 2rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  flex-shrink: 0;
}

.display-heading {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: .8rem;
  letter-spacing: -.02em;
}

.lead-text {
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  font-weight: 500;
  color: var(--ink-soft);
  max-width: 34ch;
  margin-bottom: .8rem;
}

.body-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 52ch;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: .3em;
  padding: 1.1em 0;
  border-top: 1px solid var(--line);
}

.spec-label {
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}

.spec-value {
  font-size: 1.05rem;
  font-weight: 600;
}

.spec-value a {
  border-bottom: 1px solid var(--line);
}

.spec-value a:hover {
  border-color: var(--red);
  color: var(--red);
}

/* ---------- 3. NAVIGATION + PROGRESS UI ---------- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem var(--panel-pad);
  mix-blend-mode: normal;
  background: rgba(247, 243, 234, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}

.site-nav.scrolled {
  background: rgba(247, 243, 234, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px rgba(33, 28, 24, 0.06);
}

.nav-logo {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 2.9rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width .25s ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  width: 100%;
}

.nav-links a.is-active {
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}

.progress-ui {
  position: fixed;
  bottom: 1.6rem;
  left: var(--panel-pad);
  z-index: 190;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--ink-soft);
}

.scroll-hint {
  position: fixed;
  bottom: 1.6rem;
  right: var(--panel-pad);
  z-index: 190;
  display: flex;
  align-items: center;
  gap: .5em;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-soft);
  animation: hintBob 1.8s ease-in-out infinite;
  transition: opacity .35s ease, visibility .35s ease;
}

.scroll-hint.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.scroll-hint svg {
  transform: rotate(270deg);
}

@keyframes hintBob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

.progress-track {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--line);
  z-index: 190;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--red);
  transform-origin: left;
}

/* ---------- 4. HORIZONTAL RIG ---------- */
.horizontal-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.horizontal-track {
  display: flex;
  height: 100vh;
  will-change: transform;
}

.panel {
  position: relative;
  flex: 0 0 100vw;
  width: 100vw;
  height: 100vh;
  padding: 7rem var(--panel-pad) 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;  
  overflow: hidden;
  scroll-margin-top: 5.5rem;
}

/* every panel except the hero anchors its content below the breadcrumb,
   instead of vertically centering (which caused the heading to collide
   with the "01 / Section" label on shorter viewports) */
.panel:not(.hero-panel) {
  justify-content: center;
}

.panel:nth-child(odd) {
  background: var(--cream);
}

.panel:nth-child(even) {
  background: var(--cream-dim);
}

/* soft gradient divider between panels */
.panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 32px;
  background: linear-gradient(to right, rgba(33, 28, 24, 0.06), transparent);
  z-index: 3;
  pointer-events: none;
}

/* subtle repeating dot pattern behind every panel */
.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/pattern.png');
  background-repeat: repeat;
  background-size: 220px auto;
  opacity: .5;
  pointer-events: none;
  z-index: 0;
}

.panel>* {
  position: relative;
  z-index: 1;
}

/* ---------- 5. INDIVIDUAL PANELS ---------- */

/* HERO — left/right split: big statement left, photo right */
.hero-panel {
  align-items: center;
  justify-content: center;
  /* padding-top: 0; */
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4vw;
  align-items: center;
  max-width: 1400px;
  width: 100%;
}

.hero-brandmark {
  margin-bottom: 2.2rem;
}

.hero-brandmark img {
  height: 2.4rem;
  width: auto;
}

.hero-statement-block {
  margin-top: .9rem;
  line-height: .98;
}

.hero-statement-block span {
  display: block;
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.02em;
}

.hero-statement-block .bold {
  color: var(--red);
}

.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 38ch;
  line-height: 1.6;
}

.hero-photo-card {
  border-radius: 10px;
  overflow: hidden;
}

.hero-photo-card.is-floating {
  animation: heroFloat 3.6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero-photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ABOUT */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5vw;
  align-items: center;
  max-width: 1200px;
}

.about-side img {
  width: 100%;
  height: auto;
  max-height: 66vh;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(33, 28, 24, 0.18);
  transition: transform .4s ease;
}

.about-side img:hover {
  transform: scale(1.03);
}

/* PRODUCT RANGE */
.range-panel {
  align-items: flex-start;
}

.range-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 4vw;
  align-items: center;
  max-width: 1300px;
  width: 100%;
}

.range-heading {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
}

.range-sub {
  margin-top: .8rem;
}

.range-list {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
}

.range-list li {
  border-top: 1px solid var(--line);
}

.range-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.range-list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .62rem 0;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  font-weight: 800;
  letter-spacing: -.01em;
  transition: padding-left .25s ease, color .25s ease;
}

.range-list a:hover {
  padding-left: .7rem;
  color: var(--red);
}

.range-num {
  font-size: .68rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: .06em;
}

/* hover-reveal machine preview beside the list */
.range-preview {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(33, 28, 24, 0.02);
}

.range-preview img {
  width: 80%;
  height: 80%;
  object-fit: contain;
  opacity: 1;
  transform: scale(1);
  transition: opacity .35s ease, transform .35s ease;
  filter: drop-shadow(0 20px 30px rgba(33, 28, 24, 0.16));
}

.range-preview:hover img {
  transform: scale(1.04);
}

.range-preview.is-switching img {
  opacity: 0;
  transform: scale(.97);
}

/* PRODUCT PANELS (generated content wrapper classes, injected by JS) */
.product-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 5vw;
  align-items: center;
  max-width: 1300px;
  width: 100%;
}

.product-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  max-height: 64vh;
}

.product-visual img {
  max-height: 64vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 40px rgba(33, 28, 24, 0.14));
}

@media (max-width: 900px) {
  .product-visual {
    max-height: 40vh;
  }

  .product-visual img {
    max-height: 40vh;
  }
}

.product-info .model-tag {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  color: var(--red);
  text-transform: uppercase;
}

.product-info h3 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  margin: .5rem 0 1rem;
  letter-spacing: -.01em;
}

.product-info .desc {
  color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: 1.6rem;
  line-height: 1.6;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 2.4rem;
}

.spec-grid .spec-row {
  grid-column: span 1;
}

.spec-row.full {
  grid-column: 1 / -1;
}

.app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: .3rem;
}

.app-tags span {
  font-size: .8rem;
  font-weight: 600;
  padding: .35em .8em;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--ink-soft);
}

.use-case {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.use-case img {
  max-width: 220px;
  height: auto;
  border-radius: 4px;
}

/* APPLICATIONS */
.applications-panel {
  align-items: flex-start;
}

.app-marquee {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.4rem;
  max-width: 1100px;
}

.app-marquee span {
  font-size: clamp(1.6rem, 3.6vw, 3.2rem);
  font-weight: 800;
  color: var(--ink-soft);
  transition: color .2s ease;
}

.app-marquee span:nth-child(4n+1) {
  color: var(--red);
}

.app-marquee span:nth-child(4n+2) {
  color: var(--orange);
}

.app-marquee span:nth-child(4n+3) {
  color: var(--teal);
}

.app-marquee span::after {
  content: '→';
  margin-left: .5rem;
  font-weight: 400;
  opacity: .4;
}

.app-marquee span:last-child::after {
  content: '';
}

/* FILMS */
.films-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: center;
  max-width: 1300px;
  width: 100%;
}

.film-list {
  margin-top: 2rem;
  max-width: 640px;
  columns: 2;
  column-gap: 3rem;
}

.film-list li {
  font-size: 1rem;
  font-weight: 600;
  padding: .7em 0;
  border-top: 1px solid var(--line);
  break-inside: avoid;
}

.films-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 24px 50px rgba(33, 28, 24, 0.14);
  transition: transform .4s ease;
}

.films-photo img:hover {
  transform: scale(1.03);
}

/* COMPANY */
.company-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  align-items: center;
  max-width: 1300px;
  width: 100%;
}

.company-grid {
  max-width: 640px;
  margin-top: 2.4rem;
}

.company-map {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px rgba(33, 28, 24, 0.14);
}

.company-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.15) contrast(1.02);
}

/* CONTACT */
.contact-panel {
  align-items: flex-start;
}

.contact-heading {
  color: var(--red);
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  padding: .95em 2.1em;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(217, 67, 43, 0.25);
}

.btn-outline {
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(33, 28, 24, 0.15);
}

.contact-alt {
  margin-top: 1.6rem;
  color: var(--ink-soft);
  font-size: .95rem;
}

.contact-alt a:hover {
  color: var(--red);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 6vw;
  align-items: start;
  max-width: 1300px;
  width: 100%;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  max-height: 76vh;
  overflow-y: auto;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.form-row label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.form-row input,
.form-row textarea {
  font-family: var(--font);
  font-size: .95rem;
  padding: .7em .9em;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--cream);
  color: var(--ink);
  resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(217, 67, 43, 0.12);
}

.form-submit {
  align-self: flex-start;
  border: none;
  cursor: pointer;
  margin-top: .4rem;
}

.form-note {
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---------- 5b. SHORT / COMPACT VIEWPORT OPTIMIZATIONS (DESKTOP) ---------- */
@media (min-width: 901px) and (max-height: 850px) {
  .panel {
    padding: 5.2rem var(--panel-pad) 2.8rem;
  }

  .section-index {
    margin-bottom: 1rem;
  }

  .display-heading {
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    margin-bottom: .4rem;
  }

  .lead-text {
    font-size: 1.05rem;
    margin-bottom: .4rem;
  }

  .product-visual {
    max-height: 48vh;
  }

  .product-visual img {
    max-height: 48vh;
  }

  .product-info h3 {
    margin: .25rem 0 .5rem;
    font-size: clamp(1.4rem, 2.6vw, 2.2rem);
  }

  .product-info .desc {
    margin-bottom: .8rem;
    font-size: .9rem;
    line-height: 1.45;
  }

  .spec-row {
    padding: .65em 0;
  }

  .spec-value {
    font-size: .95rem;
  }

  .use-case {
    margin-top: .8rem;
    padding-top: .6rem;
  }

  .use-case img {
    max-width: 170px;
  }

  .about-side img {
    max-height: 52vh;
  }

  .range-list {
    margin-top: 1rem;
  }

  .range-list a {
    padding: .45rem 0;
  }

  .range-preview {
    max-height: 50vh;
  }

  .film-list {
    margin-top: 1rem;
  }

  .film-list li {
    padding: .45em 0;
    font-size: .92rem;
  }

  .company-grid {
    margin-top: 1.2rem;
  }

  .company-map {
    aspect-ratio: 16 / 10;
  }

  .contact-form {
    padding: 1.1rem;
    gap: .6rem;
    max-height: 70vh;
  }
}

@media (min-width: 901px) and (max-height: 700px) {
  .panel {
    padding: 4.5rem var(--panel-pad) 2rem;
    overflow-y: auto;
  }

  .product-visual {
    max-height: 40vh;
  }

  .product-visual img {
    max-height: 40vh;
  }

  .use-case img {
    max-width: 135px;
  }
}

/* ---------- 6. MOBILE / TABLET VERTICAL FALLBACK ---------- */
@media (max-width: 900px) {
  :root {
    --panel-pad: 6vw;
  }

  .progress-ui {
    display: none !important;
  }

  .scroll-hint {
    display: none !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: 72vw;
    max-width: 320px;
    background: var(--ink);
    color: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 210;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
    z-index: 220;
    color: #111;
    background: #efe9db;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* disable horizontal rig: stack vertically, natural height */
  .horizontal-section {
    height: auto !important;
  }

  .horizontal-track {
    display: block !important;
    height: auto !important;
    transform: none !important;
  }

  .panel {
    width: 100% !important;
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    flex: none !important;
    padding: 5.5rem 6vw 4rem;
    scroll-margin-top: 5rem;
  }

  .panel::before {
    display: none;
  }

  .panel-watermark {
    font-size: clamp(6rem, 28vw, 12rem);
    bottom: 1rem;
    opacity: .02;
  }

  .about-side::before,
  .about-side::after,
  .films-photo::before,
  .films-photo::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    margin-top: 1.8rem;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-photo-card {
    width: min(70vw, 320px);
    margin: 0 auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

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

  .range-preview {
    display: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

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

  .films-photo {
    margin-top: 1.6rem;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .product-visual {
    max-height: 44vh;
  }

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

  .film-list {
    columns: 1;
  }

  .film-roll {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 2rem;
    width: 40vw;
  }

  .company-grid {
    margin-top: 1.8rem;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .company-map {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .app-marquee span {
    font-size: clamp(1.3rem, 5.5vw, 2.2rem);
  }
}

/* Body scroll lock when mobile nav drawer is open */
body.nav-open {
  overflow: hidden;
}

/* ---------- CUSTOM CURSOR ---------- */
.cursor-dot,
.cursor-ring {
  display: none;
}

@media (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    will-change: transform;
  }

  .cursor-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
  }

  .cursor-ring {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--ink);
    opacity: .35;
    transition: width .25s ease, height .25s ease, opacity .25s ease, border-color .25s ease;
  }

  .cursor-ring.is-hover {
    width: 56px;
    height: 56px;
    opacity: .18;
    border-color: var(--red);
  }

  .cursor-ring.is-text {
    width: 4px;
    height: 4px;
    opacity: .6;
    background: var(--red);
    border-color: var(--red);
  }

  body {
    cursor: none;
  }

  a, button, input, textarea, select, [role="button"] {
    cursor: none;
  }
}

/* ---------- FILM GRAIN OVERLAY ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ---------- WATERMARK PANEL NUMBERS ---------- */
.panel-watermark {
  position: absolute;
  bottom: -2vw;
  right: var(--panel-pad);
  font-size: clamp(10rem, 22vw, 20rem);
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  opacity: .025;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -.04em;
  user-select: none;
}

/* ---------- CORNER BRACKET MARKS ---------- */
.about-side,
.films-photo,
.range-preview {
  position: relative;
}

.about-side::before,
.about-side::after,
.films-photo::before,
.films-photo::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--red);
  border-style: solid;
  border-width: 0;
  opacity: .4;
  z-index: 2;
  pointer-events: none;
  transition: opacity .3s ease;
}

.about-side::before {
  top: -8px;
  left: -8px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}

.about-side::after {
  bottom: -8px;
  right: -8px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.films-photo::before {
  top: -8px;
  left: -8px;
  border-top-width: 1.5px;
  border-left-width: 1.5px;
}

.films-photo::after {
  bottom: -8px;
  right: -8px;
  border-bottom-width: 1.5px;
  border-right-width: 1.5px;
}

.about-side:hover::before,
.about-side:hover::after,
.films-photo:hover::before,
.films-photo:hover::after {
  opacity: .8;
}

/* ---------- SECTION INDEX ACCENT LINE ---------- */
.section-index {
  position: relative;
  padding-left: 2.4rem;
}

.section-index::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.6rem;
  height: 1px;
  background: var(--red);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.section-index.is-visible::before {
  transform: translateY(-50%) scaleX(1);
}

/* ---------- PARALLAX HELPER (GSAP sets transform) ---------- */
.parallax-img {
  will-change: transform;
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}