/* ============================================================
   STAYFRAME — dark liquid-glass portfolio
   Palette: forest-luxury — deep green-charcoal base, nature
   greens, warm copper-orange and gold (zemeroom mood).
   Glass panels: blur + saturate + specular edge.
   Type: Inter / system sans, Apple-like tight tracking.
   ============================================================ */

:root {
  --bg: #0b0e0c;
  --text: #f3f0e8;
  --muted: #a3a294;
  --glass-bg: rgba(255, 252, 244, 0.05);
  --glass-bg-strong: rgba(255, 252, 244, 0.085);
  --glass-border: rgba(255, 250, 240, 0.14);
  --glass-highlight: rgba(255, 250, 240, 0.2);
  --accent-a: #e07a3f;
  --accent-b: #5d8a66;
  --accent-c: #d4a95c;
  --radius: 26px;
  --radius-sm: 16px;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent-a); color: #0b0e0c; }

/* ---------- ambient aurora ---------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(93, 138, 102, 0.09), transparent),
    var(--bg);
}

.orb {
  position: absolute;
  width: 55vmax;
  height: 55vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.16;
  will-change: transform;
}

.orb-1 { background: var(--accent-b); top: -20%; left: -12%; animation: drift-1 26s ease-in-out infinite alternate; }
.orb-2 { background: var(--accent-a); top: 30%; right: -22%; opacity: 0.12; animation: drift-2 32s ease-in-out infinite alternate; }
.orb-3 { background: var(--accent-c); bottom: -30%; left: 18%; opacity: 0.09; animation: drift-3 38s ease-in-out infinite alternate; }

@keyframes drift-1 { to { transform: translate(14vw, 12vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-12vw, -10vh) scale(0.9); } }
@keyframes drift-3 { to { transform: translate(10vw, -14vh) scale(1.2); } }

/* ---------- liquid glass primitives ---------- */

.glass {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-border);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    inset 0 -1px 0 rgba(255, 255, 255, 0.04),
    0 12px 40px rgba(0, 0, 0, 0.35);
}

.glass-card {
  position: relative;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 var(--glass-highlight),
    0 16px 50px rgba(0, 0, 0, 0.4);
  transition: transform 0.6s var(--ease), background 0.6s, border-color 0.6s;
}

.glass-card:hover {
  background: var(--glass-bg-strong);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

/* specular sweep on hover */
.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.07) 46%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.07) 54%, transparent 70%);
  background-size: 260% 100%;
  background-position: 120% 0;
  pointer-events: none;
  transition: background-position 1.1s var(--ease);
}

.glass-card:hover::after { background-position: -60% 0; }

/* ---------- nav ---------- */

.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 50;
  padding: 0 var(--gutter);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
  padding: 12px 26px;
  border-radius: 999px;
}

.wordmark {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.26em;
  text-decoration: none;
  color: var(--text);
}

.nav-links { display: flex; gap: 26px; }

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--text); }

/* ---------- shared ---------- */

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

.chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 60px);
}

.section-head .index {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-a);
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.shimmer {
  background: linear-gradient(100deg, var(--accent-b), var(--accent-c) 35%, var(--accent-a) 65%, var(--accent-b));
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

@keyframes shimmer { to { background-position: -220% 0; } }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.5s var(--ease), background 0.5s;
}

.cta:hover { transform: translateY(-2px) scale(1.02); background: var(--glass-bg-strong); }

.cta-arrow { transition: transform 0.5s var(--ease); }
.cta:hover .cta-arrow { transform: translateX(5px); }

/* ---------- hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* stable on mobile while the URL bar collapses */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 90px;
  /* full-bleed: escape main's max-width/padding */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-left: max(var(--gutter), calc(50vw - var(--max) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc(50vw - var(--max) / 2 + var(--gutter)));
}

.hero-slides { position: absolute; inset: 0; overflow: hidden; }

.hero-slides .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* resting state = Ken Burns end state, so a slide that loses .active
     freezes where its zoom finished instead of snapping back — no jerk */
  transform: scale(1.06);
  transition: opacity 2.2s ease, transform 2.2s ease;
  will-change: opacity, transform;
}

.hero-slides .slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slides .slide.active {
  opacity: 1;
  /* duration matches the JS slide interval (8s): the zoom completes
     exactly at handover, landing on the resting scale */
  animation: kenburns 8s linear forwards;
}

@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }

/* "living" slides: a night twin fades in over the day shot while the
   slide is displayed — lights come on, day turns to night */
.hero-slides .slide img.night { opacity: 0; }

.hero-slides .slide.active img.night {
  animation: nightfall 8s linear forwards;
}

@keyframes nightfall {
  0%, 30% { opacity: 0; }
  70%, 100% { opacity: 1; }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(11, 14, 12, 0.78) 0%, rgba(11, 14, 12, 0.45) 55%, rgba(11, 14, 12, 0.15) 100%),
    linear-gradient(to top, rgba(11, 14, 12, 1) 0%, transparent 28%),
    linear-gradient(to bottom, rgba(11, 14, 12, 0.6) 0%, transparent 22%);
}

.hero-content { position: relative; z-index: 1; }

.hero-dots {
  position: absolute;
  z-index: 1;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
}

.hero-dots.on { display: flex; }

.hero-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.3);
  transition: background 0.4s, transform 0.4s;
}

.hero-dots button.active { background: var(--text); transform: scale(1.25); }

.hero h1 {
  font-size: clamp(48px, 8vw, 112px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 30px 0 26px;
}

.hero-sub {
  font-size: clamp(16px, 1.8vw, 21px);
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 42px;
}

/* ---------- work ---------- */

.work { padding-bottom: clamp(50px, 7vw, 90px); }

.work-intro {
  max-width: 640px;
  margin: -24px 0 clamp(30px, 4vw, 48px);
  color: var(--muted);
  font-size: 15px;
}

.project { padding: clamp(20px, 3vw, 36px); margin-bottom: clamp(24px, 3.4vw, 44px); }

.project-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.project-head h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.project-meta {
  display: flex;
  list-style: none;
  margin: 6px 0 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.project-meta li + li::before { content: "·"; margin: 0 12px; color: var(--accent-a); }

.project-desc {
  max-width: 560px;
  font-size: 14px;
  color: var(--muted);
}

.strip-nav { display: flex; gap: 10px; margin-top: 4px; }

/* horizontal photo strip — short blocks, browse with arrows or swipe */
.pstrip {
  display: flex;
  gap: clamp(10px, 1.2vw, 16px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  height: clamp(260px, 36vh, 400px);
  padding-bottom: 6px;
  margin-right: calc(-1 * clamp(20px, 3vw, 36px));
  padding-right: clamp(20px, 3vw, 36px);
}

.pstrip::-webkit-scrollbar { display: none; }

.strip-item {
  flex: 0 0 auto;
  height: 100%;
  scroll-snap-align: start;
}

.strip-item.r-4-3 { aspect-ratio: 4 / 3; width: auto; }
.strip-item.r-3-4 { aspect-ratio: 3 / 4; width: auto; }

.strip-item figcaption {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: none;
  padding: 14px;
  text-align: center;
}

/* ---------- frames (placeholder -> image) ---------- */

.frame {
  position: relative;
  background: rgba(255, 250, 240, 0.04);
  border: 1px solid rgba(255, 250, 240, 0.08);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.r-3-4  { aspect-ratio: 3 / 4; }
.r-4-3  { aspect-ratio: 4 / 3; }
.r-16-9 { aspect-ratio: 16 / 9; }
.r-9-16 { aspect-ratio: 9 / 16; }

.frame figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.frame:hover img { transform: scale(1.04); }

.frame.loaded figcaption { display: none; }

/* ---------- full-bleed break ---------- */

.break {
  position: relative;
  height: clamp(380px, 62vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  /* full-bleed: escape main's max-width/padding */
  width: 100vw;
  margin: clamp(30px, 5vw, 70px) 0 clamp(60px, 8vw, 110px) calc(50% - 50vw);
}

.break-bg {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
}

.break-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, var(--bg) 0%, transparent 18%, transparent 82%, var(--bg) 100%),
    rgba(11, 14, 12, 0.35);
}

.break-line {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(28px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(11, 14, 12, 0.6);
}

/* ---------- reels ---------- */

.film { padding-bottom: clamp(50px, 7vw, 90px); }

.section-head .reel-nav { margin-left: auto; display: flex; gap: 10px; }

.reel-btn, .strip-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 17px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), background 0.4s;
}

.reel-btn:hover, .strip-btn:hover { transform: scale(1.08); background: var(--glass-bg-strong); }

.reels {
  display: flex;
  gap: clamp(12px, 1.6vw, 20px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 8px;
  /* let cards peek past the container edge on the right */
  margin-right: calc(-1 * var(--gutter));
  padding-right: var(--gutter);
}

.reels::-webkit-scrollbar { display: none; }

.reel {
  flex: 0 0 auto;
  width: clamp(200px, 21vw, 280px);
  scroll-snap-align: start;
}

.frame.video { border-radius: var(--radius); }

.frame.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
}

.play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  transition: transform 0.5s var(--ease), background 0.5s;
}

.play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent var(--text);
}

.frame.video:hover .play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(255, 255, 255, 0.16);
}

.frame.video figcaption { align-items: flex-end; padding-bottom: 24px; }

.reel .play { width: 56px; height: 56px; }
.reel .play::before { border-width: 9px 0 9px 14px; }

/* ---------- deliverables ---------- */

.deliver { padding-bottom: clamp(60px, 9vw, 120px); }

.deliver-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
}

.deliver-grid li { padding: 14px; }

.deliver-grid .frame {
  margin-bottom: 16px;
  border-radius: calc(var(--radius) - 12px);
}

.deliver-txt { padding: 0 12px 12px; }

/* clickable deliverable cards (Aerials -> #work, Reels -> #film) */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-go {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 14, 12, 0.55);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-highlight);
  font-size: 15px;
  color: var(--text);
  transform: rotate(-45deg);
  transition: transform 0.5s var(--ease), background 0.5s;
}

.glass-card:hover .card-go {
  transform: rotate(0deg) scale(1.1);
  background: var(--accent-a);
}

.deliver-grid span {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.deliver-grid p { font-size: 13.5px; color: var(--muted); }

/* ---------- day / night compare ---------- */

.daynight { padding-bottom: clamp(60px, 9vw, 120px); }

.dn-sub {
  margin: -20px 0 34px;
  color: var(--muted);
  font-size: 15px;
}

.dn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2vw, 24px);
}

.dn-grid.dn-three { grid-template-columns: repeat(3, 1fr); }

.dn-label {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.compare {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  --pos: 50%;
}

.compare img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.cmp-clip {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.cmp-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  background: rgba(255, 250, 240, 0.85);
  transform: translateX(-1px);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.5);
}

.cmp-knob {
  position: absolute;
  top: 50%;
  left: var(--pos);
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 250, 240, 0.5);
  box-shadow: inset 0 1px 0 var(--glass-highlight), 0 6px 24px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text);
  letter-spacing: 2px;
  pointer-events: none;
}

.cmp-tag {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: rgba(11, 14, 12, 0.55);
  border: 1px solid var(--glass-border);
  color: var(--text);
  pointer-events: none;
}

.cmp-tag.day { left: 16px; }
.cmp-tag.night { right: 16px; }

@media (max-width: 820px) {
  .dn-grid, .dn-grid.dn-three { grid-template-columns: 1fr; }
}

/* ---------- contact ---------- */

.contact { padding-bottom: clamp(70px, 10vw, 130px); }

.contact-panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(60px, 9vw, 110px) var(--gutter);
  border-radius: calc(var(--radius) + 10px);
}

/* full-panel photo behind the contact content, darkened for legibility */
.contact-bg {
  position: absolute;
  inset: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.contact-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 14, 12, 0.74);
}

.contact-panel > :not(.contact-bg) { position: relative; z-index: 1; }

.contact-note {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.dn-fineprint {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.75;
}

.contact-panel h2 {
  font-size: clamp(32px, 5vw, 66px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 26px 0 40px;
}

/* ---------- footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px var(--gutter) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- lightbox ---------- */

.gallery .frame { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 9, 8, 0.9);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

.lightbox img {
  max-width: min(90vw, 1600px);
  max-height: 86vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  cursor: zoom-out;
}

.lb-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.3s var(--ease), background 0.3s;
}

.lb-btn:hover { transform: scale(1.1); background: var(--glass-bg-strong); }

.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.1); }
.lb-next:hover { transform: translateY(-50%) scale(1.1); }

.lb-count {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.lb-cap {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 80vw;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

@media (max-width: 820px) {
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lightbox img { max-width: 96vw; }
}

/* ---------- reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.reveal.visible { opacity: 1; transform: none; }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.22s; }
.d3 { transition-delay: 0.34s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .orb, .shimmer, .hero-slides img.active { animation: none; }
  .hero-slides img { transform: none; transition: opacity 0.5s ease; }
  .frame img, .glass-card, .glass-card::after { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .pstrip { height: clamp(220px, 34vh, 300px); }
  .reel { width: clamp(190px, 42vw, 240px); }
  .deliver-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 18px; padding: 11px 20px; }
  .nav-links { gap: 16px; }
}

@media (max-width: 480px) {
  .deliver-grid { grid-template-columns: 1fr; }
  .wordmark { letter-spacing: 0.18em; }
}

/* very narrow phones (iPhone SE and older) — keep the nav on one line */
@media (max-width: 370px) {
  .nav { gap: 12px; padding: 10px 16px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.08em; }
  .wordmark { font-size: 12px; letter-spacing: 0.14em; }
  .hero h1 { font-size: 42px; }
}
