/* ── SHRIDEVI.COM · GLOBAL STYLES ── */
@import url('https://fonts.googleapis.com/css2?family=Anybody:ital,wght@0,300;0,400;0,600;0,700;0,900;1,700&family=Space+Grotesk:wght@300;400;500;600&display=swap');

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #eb2a32;
  --orange-dark:  #BA2E26;
  --orange-light: #fdc5c2;
  --dark:         #1a1a1a;
  --mid:          #666;
  --light:        #aaa;
  --border:       #e8e8e8;
  --bg:           #faf8f4;
  --white:        #ffffff;
  --font-d:       'Anybody', sans-serif;
  --font-b:       'Space Grotesk', sans-serif;
  --ease-bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --dur:          280ms;
  --radius:       12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-b);
  background: var(--bg);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

/* Disable custom cursor on touch/mobile devices */
@media (max-width: 768px), (hover: none) {
  body { cursor: auto; }
  #cursor-dot, #cursor-ring { display: none !important; }
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font-b); }

/* ── DOT GRID BACKGROUND ── */
.dot-bg {
  background-color: var(--white);
  background-image: radial-gradient(circle, #d0d0d0 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(to right, var(--orange), var(--orange-dark));
  z-index: 10000; border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

/* ── NAVIGATION ── */
.nav {
  position: sticky; top: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 0 40px;
  height: 60px;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-d);
  font-size: 22px; font-weight: 700;
  color: var(--dark); letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-logo span { color: var(--orange); }

/* Desktop: right side groups links + CTA together */
#nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
}

.nav-links a {
  font-size: 13px; font-weight: 400; color: #888;
  position: relative; padding: 4px 0;
  white-space: nowrap;
  transition: color var(--dur);
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0%; height: 2px; background: var(--orange);
  border-radius: 2px; transition: width var(--dur) var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--dark); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--orange); color: #fff;
  border: none; padding: 9px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  transition: background var(--dur), transform 0.2s var(--ease-bounce), box-shadow var(--dur);
  box-shadow: 0 2px 12px rgba(255,117,31,0.3);
}
.nav-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,117,31,0.35);
}

/* ── HAMBURGER ── */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: transparent; border: none; padding: 4px;
  cursor: pointer; z-index: 1100; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform 0.3s var(--ease-bounce), opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.4); z-index: 900;
  opacity: 0; transition: opacity 0.3s;
}
.nav-overlay.open { opacity: 1; }

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
    height: 56px;
  }
  .nav-toggle { display: flex; }
  .nav-overlay { display: block; pointer-events: none; }
  .nav-overlay.open { pointer-events: all; }

  #nav-menu {
    /* Slide-in drawer */
    position: fixed;
    top: 0; right: -100%; 
    bottom: auto;
    height: auto;
    max-height: 100svh;
    padding-bottom: 48px;
    width: 80%; max-width: 320px;
    /* Solid opaque background — no transparency on mobile */
    background: #ffffff;
    background-image: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 72px 32px 40px;
    gap: 0;
    z-index: 1050;
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
    transition: right 0.4s var(--ease-out);
    /* Override desktop margin-left */
    margin-left: 0;
  }
  #nav-menu.open { right: 0; }

  #nav-menu .nav-links {
    flex-direction: column; align-items: flex-start;
    gap: 0; width: 100%;
  }
  #nav-menu .nav-links a {
    font-size: 20px; font-weight: 600; color: var(--dark);
    padding: 16px 0; width: 100%; display: block;
    border-bottom: 1px solid var(--border);
  }
  #nav-menu .nav-links a::after { display: none; }
  #nav-menu .nav-cta {
    margin-top: 32px; width: 100%; text-align: center;
    padding: 14px 20px; font-size: 15px; display: block;
  }
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal[data-delay="100"] { transition-delay: 0.1s; }
.reveal[data-delay="200"] { transition-delay: 0.2s; }
.reveal[data-delay="300"] { transition-delay: 0.3s; }
.reveal[data-delay="400"] { transition-delay: 0.4s; }

/* ── PORTRAIT PLACEHOLDER ── */
.portrait-placeholder {
  width: 100%; aspect-ratio: 3/4;
  max-width: 320px;
  background: var(--white);
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--light);
  position: relative; overflow: hidden;
  transition: border-color var(--dur), background var(--dur);
}
.portrait-placeholder:hover { border-color: var(--orange); background: var(--orange-light); }
.portrait-placeholder .ph-avatar {
  font-size: 48px;
  background: var(--bg); border-radius: 50%;
  width: 80px; height: 80px;
  display: flex; align-items: center; justify-content: center;
}
.portrait-placeholder .ph-text { font-size: 12px; font-weight: 500; color: var(--light); }
.portrait-placeholder .ph-sub  { font-size: 11px; color: #ccc; }

/* Round variant */
.portrait-round {
  aspect-ratio: 1/1;
  border-radius: 50%;
  max-width: 200px;
}

/* ── BUTTONS ── */
.btn-primary {
  background: var(--orange); color: #fff;
  border: none; padding: 11px 24px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: background var(--dur), transform 0.2s var(--ease-bounce), box-shadow var(--dur);
  box-shadow: 0 2px 12px rgba(255,117,31,0.3);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary:hover {
  background: var(--orange-dark); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,117,31,0.35);
}
.btn-ghost {
  background: transparent; color: var(--dark);
  border: 1px solid var(--border); padding: 11px 24px; border-radius: 100px;
  font-size: 13px; transition: border-color var(--dur), transform 0.2s var(--ease-bounce);
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-ghost:hover { border-color: #ccc; transform: translateY(-1px); }

/* ── SECTION COMMON ── */
.section-eyebrow {
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--orange); text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-d); font-size: 32px; font-weight: 700;
  color: var(--dark); letter-spacing: -0.02em; line-height: 1.15;
}
.section-title em { color: var(--orange); font-style: italic; }

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
  width: 100%; border-radius: var(--radius);
  border: 2px dashed var(--border); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 10px; color: var(--light);
  transition: border-color var(--dur), background var(--dur); cursor: pointer;
}
.img-placeholder:hover { border-color: var(--orange); background: var(--orange-light); }
.img-placeholder .ph-icon { font-size: 28px; transition: transform var(--dur) var(--ease-bounce); }
.img-placeholder:hover .ph-icon { transform: scale(1.2) rotate(-5deg); }
.img-placeholder .ph-label { font-size: 12px; font-weight: 500; }
.img-placeholder .ph-sub   { font-size: 11px; opacity: 0.6; }
.ph-tall   { height: 360px; }
.ph-medium { height: 240px; }
.ph-short  { height: 160px; }
.ph-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }

/* ── FOOTER ── */
.footer {
  background: var(--dark); padding: 56px 40px 32px;
  position: relative; overflow: hidden;
}
.footer-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,117,31,0.05) 1px, transparent 1px);
  background-size: 22px 22px; pointer-events: none;
}
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 48px; position: relative; z-index: 1;
}
.footer-logo {
  font-family: var(--font-d); font-size: 24px; font-weight: 700;
  color: #fff; letter-spacing: -0.02em; margin-bottom: 12px;
}
.footer-logo span { color: var(--orange); }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.footer-col-title {
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.55);
  transition: color var(--dur);
}
.footer-links a:hover { color: var(--orange); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06);
  position: relative; z-index: 1; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: background var(--dur), transform 0.2s var(--ease-bounce);
}
.footer-socials a:hover { background: var(--orange); transform: translateY(-2px); }

@media (max-width: 768px) {
  .footer { padding: 40px 20px 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .ph-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ── SEO HIDDEN STRUCTURED CONTENT ── */
.seo-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── TOASTS ── */
.toast-wrap {
  position: fixed;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 20px;
  border-radius: 100px;
  font-family: var(--font-b);
  font-size: 13px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  pointer-events: all;
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.35s var(--ease-out),
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  white-space: nowrap;
  max-width: 90vw;
}
.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.toast.toast-success { background: #1a1a1a; color: #fff; }
.toast.toast-error   { background: #e53e3e; color: #fff; }
.toast.toast-warn    { background: #febc2e; color: #1a1a1a; }
.toast.toast-info    { background: var(--orange); color: #fff; }
.toast-icon { font-size: 15px; flex-shrink: 0; }
.toast-msg  { flex: 1; }
.toast-close {
  background: none; border: none; cursor: pointer;
  font-size: 13px; opacity: 0.5;
  color: inherit; padding: 0 0 0 6px;
  transition: opacity 0.2s;
}
.toast-close:hover { opacity: 1; }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed;
  bottom: 120px; right: 28px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out),
              transform 0.3s var(--ease-bounce),
              background 0.2s;
  z-index: 400;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--orange);
  transform: translateY(-3px);
}
@media (max-width: 768px) {
  .back-to-top { bottom: 110px; right: 16px; width: 40px; height: 40px; }
}



/* ══════════════════════════════════════════════
   MODAL — REQUEST ACCESS + GET IN TOUCH
   Scrollable overlay, never clips off screen
   ══════════════════════════════════════════════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* THE FIX: overlay scrolls, box never clips */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;

  /* Start from top so scroll works naturally */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px 48px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white, #fff);
  border-radius: 16px;
  padding: 36px 32px 32px;
  width: 100%;
  max-width: 480px;
  position: relative;
  /* No max-height, no overflow — let overlay handle scrolling */
  flex-shrink: 0;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 24px 64px rgba(0,0,0,0.22);
}
.modal-overlay.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg, #faf8f4);
  border: 1px solid var(--border, #e8e8e8);
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid, #666);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}
.modal-close:hover {
  background: var(--border, #e8e8e8);
  transform: scale(1.1);
}

.modal-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange, #ff751f);
  margin-bottom: 10px;
}
.modal-title {
  font-family: var(--font-d, sans-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--dark, #1a1a1a);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  line-height: 1.2;
}
.modal-title em {
  color: var(--orange, #ff751f);
  font-style: italic;
}
.modal-sub {
  font-size: 13px;
  color: var(--mid, #666);
  line-height: 1.65;
  margin-bottom: 22px;
}

.modal-group {
  margin-bottom: 16px;
}
.modal-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark, #1a1a1a);
  margin-bottom: 7px;
}
.modal-group input,
.modal-group select,
.modal-group textarea {
  width: 100%;
  font-family: var(--font-b, sans-serif);
  font-size: 14px;
  color: var(--dark, #1a1a1a);
  background: var(--bg, #faf8f4);
  border: 1px solid var(--border, #e8e8e8);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.modal-group input:focus,
.modal-group select:focus,
.modal-group textarea:focus {
  border-color: var(--orange, #ff751f);
  box-shadow: 0 0 0 3px rgba(255,117,31,0.1);
}
.modal-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}
.modal-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23aaa' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* Two columns on desktop, single column on mobile */
.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.modal-submit {
  width: 100%;
  background: var(--orange, #ff751f);
  color: #fff;
  border: none;
  padding: 14px 24px;
  border-radius: 100px;
  font-family: var(--font-b, sans-serif);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s;
  box-shadow: 0 2px 16px rgba(255,117,31,0.3);
}
.modal-submit:hover {
  background: var(--orange-dark, #cc4a00);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255,117,31,0.35);
}

/* Success state */
.modal-success {
  text-align: center;
  padding: 20px 0 8px;
  display: none;
}
.modal-success .success-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}
.modal-success h3 {
  font-family: var(--font-d, sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--dark, #1a1a1a);
  margin-bottom: 8px;
}
.modal-success p {
  font-size: 13px;
  color: var(--mid, #666);
  line-height: 1.6;
}
.modal-box.submitted .modal-form-content { display: none; }
.modal-box.submitted .modal-success      { display: block; }

/* ── Mobile ── */
@media (max-width: 540px) {
  .modal-overlay {
    padding: 16px 12px 40px;
    align-items: flex-start;
  }
  .modal-box {
    padding: 28px 18px 28px;
    border-radius: 12px;
  }
  .modal-row {
    grid-template-columns: 1fr; /* stack name + email vertically */
  }
  .modal-title {
    font-size: 20px;
  }
  .modal-group textarea {
    min-height: 80px;
  }
}

/* ══════════════════════════════════════════════
   ENHANCED ANIMATIONS v2
   ══════════════════════════════════════════════ */

/* ── Reveal base ── */
.reveal{
  opacity:0;
  transform:translateY(32px);
  transition:opacity 0.7s cubic-bezier(0.16,1,0.3,1),
             transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible{ opacity:1;transform:translateY(0); }
.reveal[data-delay="50"] { transition-delay:0.05s; }
.reveal[data-delay="100"]{ transition-delay:0.1s; }
.reveal[data-delay="150"]{ transition-delay:0.15s; }
.reveal[data-delay="200"]{ transition-delay:0.2s; }
.reveal[data-delay="300"]{ transition-delay:0.3s; }
.reveal[data-delay="400"]{ transition-delay:0.4s; }

/* ── Active nav ── */
.nav-links a.active{
  color:var(--orange)!important;
  border-bottom:2px solid var(--orange);
  padding-bottom:2px;
}

/* ── Progress bar ── */
#progress-bar{
  background:linear-gradient(to right,var(--orange),var(--orange-dark));
}

/* ── Back to top ── */
.back-to-top{
  position:fixed;bottom:116px;right:28px;
  width:44px;height:44px;border-radius:50%;
  background:var(--dark);color:#fff;border:none;
  cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:18px;
  box-shadow:0 4px 16px rgba(0,0,0,0.2);
  opacity:0;transform:translateY(12px);pointer-events:none;
  transition:opacity 0.3s,transform 0.3s cubic-bezier(0.34,1.56,0.64,1),background 0.2s;
  z-index:400;
}
.back-to-top.visible{ opacity:1;transform:translateY(0);pointer-events:all; }
.back-to-top:hover{ background:var(--orange);transform:translateY(-3px); }

/* ── Cursor glow (desktop only) ── */
@media(hover:hover){
  #cursor-glow{ display:block; }
}
@media(hover:none){
  #cursor-glow{ display:none!important; }
}

/* ── Magnetic button reset ── */
.btn-primary,.btn-ghost,.lock-btn,.modal-submit,.nav-cta{
  transition:transform 0.25s cubic-bezier(0.34,1.56,0.64,1),
             background 0.2s,
             box-shadow 0.2s;
  will-change:transform;
}

/* ── Card tilt ── */
.project-card,.cs-card,.decision-card,.sel-card,.about-card,.tl-card{
  transition:transform 0.25s cubic-bezier(0.16,1,0.3,1),
             box-shadow 0.25s,
             border-color 0.2s;
  will-change:transform;
}

/* ── Skill bars ── */
.skill-bar{
  height:3px;width:0%;
  background:linear-gradient(to right,var(--orange),var(--orange-dark));
  border-radius:2px;
  transition:width 0.9s cubic-bezier(0.16,1,0.3,1);
}

/* ── Section title scramble cursor ── */
.section-title:hover,.hero-headline:hover{
  cursor:default;
}

/* ── Page wipe overlay colour for dark CS heroes ── */
body[data-page-id] #page-wipe{
  background:var(--dark,#1a1a1a);
}

/* ── Noise overlay ── */
#noise-overlay{
  display:block;
}
@media(prefers-reduced-motion:reduce){
  #noise-overlay{ display:none; }
  .reveal{ transition:none;opacity:1;transform:none; }
  #page-wipe{ display:none!important; }
  .marquee-track{ animation:none!important; }
  #cursor-glow{ display:none!important; }
}

/* ── Scroll gallery drag hint ── */
.img-scroll-gallery{
  cursor:grab;
}
.img-scroll-gallery:active{
  cursor:grabbing;
}

/* ── Hover image zoom ── */
.img-rail img,.img-wide img,.img-full img{
  transition:transform 0.5s cubic-bezier(0.16,1,0.3,1),opacity 0.3s;
}
.img-rail:hover img,.img-wide:hover img{
  transform:scale(1.02);
}

/* ── Orange text highlight on selection ── */
::selection{
  background:rgba(255,117,31,0.25);
  color:var(--dark);
}

/* ── Focus ring (accessibility) ── */
:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
  border-radius:4px;
}

@media(max-width:768px){
  .back-to-top{ bottom:108px;right:16px;width:40px;height:40px; }
}
