/* ============================================================
   DCFOTOFILM v2 — VHS / 35mm analog theme
   Palette lives here. --red is the primary accent (no yellow).
   ============================================================ */
:root {
  --bg: #0e0d0c;          /* warm charcoal, like exposed film base */
  --bg-alt: #14120f;
  --card: #181613;
  --text: #f4f1ea;        /* warm paper white */
  --muted: #9b948a;
  --line: #28251f;

  /* VHS stripe colors */
  --vhs-red: #ff4f5e;
  --vhs-orange: #ff8c42;
  --vhs-amber: #ffc145;
  --vhs-green: #58b368;
  --vhs-cyan: #28cfff;
  --vhs-pink: #ff6fa5;

  --accent: var(--vhs-red);
  --accent-2: var(--vhs-cyan);
  /* smooth blended stripe (loops seamlessly for animation) */
  --stripe: linear-gradient(90deg,
      var(--vhs-red), var(--vhs-orange), var(--vhs-amber), var(--vhs-green),
      var(--vhs-cyan), var(--vhs-green), var(--vhs-amber), var(--vhs-orange), var(--vhs-red));
  --maxw: 1240px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, .wordmark {
  font-family: 'Archivo', sans-serif;
  font-weight: 900; letter-spacing: -0.02em; line-height: 1.05;
  text-transform: uppercase;
}
.mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- 35mm grain overlay (whole site) ---------- */
.grain {
  position: fixed; inset: -100%; z-index: 999; pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 7s steps(10) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 10% { transform: translate(-5%,-8%); }
  20% { transform: translate(-12%,3%); } 30% { transform: translate(6%,-10%); }
  40% { transform: translate(-3%,12%); } 50% { transform: translate(-9%,-4%); }
  60% { transform: translate(10%,2%); } 70% { transform: translate(2%,8%); }
  80% { transform: translate(-7%,4%); } 90% { transform: translate(8%,-6%); }
}

/* ---------- Timecode HUD (scrubs with scroll) ---------- */
.tc-hud {
  position: fixed; bottom: 18px; right: 22px; z-index: 90;
  font-family: 'Space Mono', monospace; font-size: 0.72rem;
  letter-spacing: 0.12em; color: rgba(244,241,234,0.75);
  background: rgba(14,13,12,0.55); backdrop-filter: blur(6px);
  border: 1px solid var(--line); border-radius: 4px;
  padding: 7px 12px; display: flex; gap: 10px; align-items: center;
  pointer-events: none;
}
.tc-hud .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--vhs-red); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
@media (max-width: 720px) { .tc-hud { display: none; } }

/* ---------- Nav ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(14,13,12,0.82); backdrop-filter: blur(14px);
}
header::after {
  content: ""; display: block; height: 3px; background: var(--stripe);
  background-size: 200% 100%; opacity: 0.9;
  animation: stripe-drift 24s linear infinite;
}
@keyframes stripe-drift { to { background-position: 200% 0; } }
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.wordmark { font-size: 1.3rem; letter-spacing: 0.06em; }
.wordmark span { color: var(--accent); }
nav ul { display: flex; gap: 34px; list-style: none; align-items: center; }
nav a {
  font-family: 'Space Mono', monospace; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); transition: color .2s;
}
nav a:hover, nav a.active { color: var(--text); }
nav a.cta {
  color: #0e0d0c; background: var(--accent); padding: 10px 20px;
  border-radius: 3px; transition: background .2s;
}
nav a.cta:hover { background: var(--vhs-orange); color: #0e0d0c; }
.menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 1.6rem; cursor: pointer; }

/* ---------- Hero w/ background reel ---------- */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; align-items: flex-end;
}
.video-bg {
  position: absolute; inset: 0; pointer-events: none; background: #000;
}
.video-bg iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;        /* 16:9 cover */
  min-height: 100vh; min-width: 177.78vh;
  transform: translate(-50%, -50%);
  border: 0;
}
.hero::before {  /* vignette + legibility */
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(180deg, rgba(14,13,12,0.5) 0%, rgba(14,13,12,0.15) 40%, rgba(14,13,12,0.88) 100%);
}
.hero::after {  /* scanlines */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.14) 3px 4px);
}
.hero-inner {
  position: relative; z-index: 5; width: 100%;
  max-width: var(--maxw); margin: 0 auto; padding: 0 28px 90px;
}
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.6rem); max-width: 16ch; }
.hero .sub { margin-top: 20px; max-width: 54ch; color: #d9d4ca; font-size: 1.08rem; }
.hud { position: absolute; z-index: 6; font-family: 'Space Mono', monospace; font-size: 0.76rem; letter-spacing: 0.2em; color: rgba(244,241,234,0.85); text-transform: uppercase; }
.hud-play { top: 92px; left: 28px; }
.hud-rec { top: 92px; right: 28px; display: flex; align-items: center; gap: 8px; }
.hud-rec::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--vhs-red); animation: blink 1.2s steps(1) infinite; }
.hud-date { bottom: 28px; right: 28px; color: rgba(244,241,234,0.5); }

.btn-row { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 3px;
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform .15s, background .2s, border-color .2s; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #0e0d0c; border: 1px solid var(--accent); }
.btn-primary:hover { background: var(--vhs-orange); border-color: var(--vhs-orange); }
.btn-ghost { border: 1px solid rgba(244,241,234,0.35); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--vhs-cyan); color: var(--vhs-cyan); }



/* ---------- Sections ---------- */
section { padding: 100px 0; }
.section-head { margin-bottom: 44px; }
.section-head .mono { display: block; margin-bottom: 12px; }
.section-head .mono b { color: var(--vhs-red); font-weight: 400; }
.section-head h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
.section-head .stripe-bar {
  width: 120px; height: 4px; background: var(--stripe);
  background-size: 300% 100%; margin-top: 18px; border-radius: 2px;
  animation: stripe-drift 16s linear infinite;
}

/* scroll reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.rv.vis { opacity: 1; transform: none; }

/* ---------- Work grid ---------- */
#work { padding-top: 64px; }
#work > .container { max-width: 1520px; }
.cat-nav { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.cat-nav a {
  font-family: 'Space Mono', monospace; font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 8px 16px; border: 1px solid var(--line);
  border-radius: 999px; color: var(--muted); transition: all .2s;
}
.cat-nav a:hover { border-color: var(--vhs-cyan); color: var(--vhs-cyan); }
.cat-title {
  font-size: 1.3rem; margin: 60px 0 24px; display: flex; align-items: center; gap: 16px;
}
.cat-title .mono { font-size: 0.68rem; color: var(--vhs-red); }
.cat-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work-grid.feature { grid-template-columns: 1fr; }
.work-card {
  position: relative; aspect-ratio: 16/9; overflow: hidden;
  background: var(--card); cursor: pointer;
}
.work-card img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.9;
  transition: opacity .3s;
}
.work-card:hover img { opacity: 1; }
.work-card iframe.preview {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  opacity: 0; transition: opacity .4s; pointer-events: none; z-index: 3;
}
.work-card.previewing iframe.preview { opacity: 1; }
.work-card.previewing .play { opacity: 0; }
.work-card.previewing img { opacity: 0; transition: opacity .4s; }
.work-card .play { transition: opacity .3s, background .2s; }
.work-card .label {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(10,9,8,0.9));
  font-size: 0.9rem; font-weight: 600;
  opacity: 0; transition: opacity .3s;
}
.work-card:hover .label { opacity: 1; }
.work-card .label .mono { display: block; font-size: 0.62rem; margin-bottom: 3px; color: var(--vhs-cyan); }
.work-card .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 5;
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(10,9,8,0.5); border: 1.5px solid rgba(244,241,234,0.7);
  display: flex; align-items: center; justify-content: center; transition: all .2s;
}
.work-card .play::after {
  content: ""; border-left: 15px solid #f4f1ea; border-top: 9px solid transparent;
  border-bottom: 9px solid transparent; margin-left: 4px;
}

/* ---------- Stills gallery (clean drag-scroll rows) ---------- */
.filmstrip {
  display: flex; gap: 18px; overflow-x: auto; padding: 4px 2px 8px;
  margin-bottom: 28px; scrollbar-width: none; cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.filmstrip::-webkit-scrollbar { display: none; }
.filmstrip.dragging { cursor: grabbing; }
.fr { flex: 0 0 auto; position: relative; margin: 0; }
.fr img {
  height: 250px; width: auto; display: block; border-radius: 3px;
  opacity: 0.92; transition: opacity .2s, filter .2s; cursor: pointer;
}
.fr img:hover {
  opacity: 1;
}
.fr figcaption {
  margin-top: 10px;
  font-family: 'Space Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.strip-label { display: flex; align-items: baseline; gap: 14px; margin: 38px 0 14px; }
.strip-label h3 { font-size: 1.1rem; }
.strip-label .mono b { color: var(--vhs-cyan); font-weight: 400; }
.drag-hint { font-family: 'Space Mono', monospace; font-size: 0.62rem; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-left: auto; }
@media (max-width: 720px) { .fr img { height: 180px; } }

/* ---------- Mid-page video reel banner ---------- */
.reel-banner {
  position: relative; min-height: 72vh; overflow: hidden;
  display: flex; align-items: flex-end; padding: 0;
  background: #000;
}
.reel-banner-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(14,13,12,0.3) 0%, transparent 30%, rgba(14,13,12,0.65) 100%);
}
.reel-banner::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(0,0,0,0.1) 3px 4px);
}
.reel-banner .cap {
  position: relative; z-index: 4; max-width: var(--maxw); margin: 0 auto;
  width: 100%; padding: 0 28px 38px;
  font-family: 'Space Mono', monospace; font-size: 0.74rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(244,241,234,0.85);
}
.reel-banner .cap b { color: var(--vhs-red); font-weight: 400; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: none;
  background: rgba(8,7,6,0.95); align-items: center; justify-content: center; padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox .frame { width: min(1150px, 100%); aspect-ratio: 16/9; }
.lightbox iframe { width: 100%; height: 100%; border: 0; border-radius: 4px; }
.lightbox .frame img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; }
.lightbox .close {
  position: absolute; top: 18px; right: 26px; font-size: 2.4rem;
  color: var(--text); background: none; border: none; cursor: pointer; line-height: 1;
}

/* ---------- Clients ---------- */
.logo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 36px 30px; align-items: center; }
.logo-grid img {
  filter: grayscale(1) brightness(1.6); opacity: 0.55; transition: opacity .25s;
  max-height: 56px; max-width: 150px; object-fit: contain; margin: 0 auto;
}
.logo-grid img.dark { filter: grayscale(1) invert(1) brightness(1.25); }
.logo-grid img.tall { max-height: 84px; }
.logo-grid img:hover { opacity: 1; }
.client-chips { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }
.chip {
  font-family: 'Space Mono', monospace; font-size: 0.74rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 10px 18px;
  border: 1px solid var(--line); border-left: 4px solid var(--vhs-red); border-radius: 3px;
  color: #d9d4ca; background: var(--card);
}
.chip:nth-child(2) { border-left-color: var(--vhs-orange); }
.chip:nth-child(3) { border-left-color: var(--vhs-green); }
.chip:nth-child(4) { border-left-color: var(--vhs-cyan); }
.chip:nth-child(5) { border-left-color: var(--vhs-pink); }

/* ---------- Testimonials (VHS label cards) ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.quote-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px;
  padding: 30px; position: relative; overflow: hidden;
}
.quote-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--stripe); background-size: 300% 100%;
  animation: stripe-drift 20s linear infinite;
}
.quote-card p { color: #d9d4ca; font-style: italic; font-size: 1.02rem; }
.quote-card .who { margin-top: 18px; }
.stars { color: var(--vhs-amber); letter-spacing: 3px; margin-bottom: 12px; font-size: 0.9rem; }

/* ---------- Content pages ---------- */
.page-hero { padding: 170px 0 60px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.page-hero .sub { color: var(--muted); margin-top: 16px; max-width: 60ch; }
.two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.two-col img { border-radius: 4px; filter: sepia(0.08) contrast(1.02); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pillar {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 30px;
  border-top: 4px solid var(--vhs-red);
}
.pillar:nth-child(2) { border-top-color: var(--vhs-green); }
.pillar:nth-child(3) { border-top-color: var(--vhs-cyan); }
.pillar h3 { font-size: 0.95rem; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 0.95rem; }
blockquote {
  border-left: 3px solid var(--vhs-red); padding: 8px 0 8px 24px;
  font-size: 1.15rem; font-style: italic; color: #e6e1d7; margin: 40px 0 8px;
}
.attribution { color: var(--muted); font-size: 0.9rem; }

/* ---------- Services list (About) ---------- */
.svc-list { margin-top: 26px; }
.svc {
  display: grid; grid-template-columns: 64px 260px 1fr; gap: 20px;
  align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc .num { font-family: 'Space Mono', monospace; font-size: 0.72rem; color: var(--vhs-red); letter-spacing: 0.14em; }
.svc h3 { font-size: 1.05rem; }
.svc p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 720px) { .svc { grid-template-columns: 50px 1fr; } .svc p { grid-column: 2; } }

/* ---------- Gear ---------- */
.gear-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.gear-cat {
  background: var(--card); border: 1px solid var(--line); border-radius: 4px; padding: 30px;
  position: relative; overflow: hidden;
}
.gear-cat::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--vhs-red), var(--vhs-orange), var(--vhs-amber), var(--vhs-green), var(--vhs-cyan)); }
.gear-cat h3 { font-size: 1rem; margin-bottom: 14px; }
.gear-cat .mono { display: block; margin-bottom: 6px; color: var(--vhs-cyan); }
.gear-cat ul { list-style: none; }
.gear-cat li { padding: 6px 0; border-bottom: 1px solid var(--line); color: #cfc9bf; font-size: 0.95rem; }
.gear-cat li:last-child { border-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info p { color: var(--muted); margin-bottom: 8px; }
.contact-info a { color: var(--text); font-weight: 600; }
.contact-info a:hover { color: var(--vhs-cyan); }
form label {
  display: block; font-family: 'Space Mono', monospace; font-size: 0.7rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px;
}
form input, form textarea {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  border-radius: 3px; padding: 13px 14px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 1rem;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--vhs-red); }
form button { margin-top: 28px; border: none; }
form input[aria-invalid="true"], form textarea[aria-invalid="true"] { border-color: var(--vhs-red); }
form button[data-fs-submit-btn]:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Formspree feedback messages */
.fs-success, .fs-error {
  display: none; padding: 14px 18px; border-radius: 3px; margin-bottom: 20px;
  font-family: 'Space Mono', monospace; font-size: 0.75rem; letter-spacing: 0.1em;
}
.fs-success { background: rgba(0,200,130,0.08); border: 1px solid rgba(0,200,130,0.3); color: #00c882; }
.fs-error:not(span) { background: rgba(255,79,94,0.08); border: 1px solid rgba(255,79,94,0.3); color: var(--vhs-red); }
span[data-fs-error] {
  display: block; color: var(--vhs-red); font-family: 'Space Mono', monospace;
  font-size: 0.65rem; letter-spacing: 0.1em; margin-top: 5px; min-height: 1em;
}

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); max-width: 24ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer { border-top: 3px solid transparent; border-image: linear-gradient(90deg, var(--vhs-red), var(--vhs-orange), var(--vhs-amber), var(--vhs-green), var(--vhs-cyan)) 1; padding: 50px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot p, .foot a { color: var(--muted); font-size: 0.85rem; font-family: 'Space Mono', monospace; letter-spacing: 0.06em; }
.foot a:hover { color: var(--text); }
.foot .links { display: flex; gap: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .two-col, .contact-grid, .gear-grid, .quote-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  nav ul {
    display: none; position: absolute; top: 73px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 26px;
    border-bottom: 1px solid var(--line); gap: 22px;
  }
  nav ul.open { display: flex; }
  .menu-btn { display: block; }
  .work-grid { grid-template-columns: 1fr; }
  .hud-play, .hud-rec { top: 86px; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .hud-rec::before, .tc-hud .rec,
  header::after, .stripe-bar, .quote-card::before { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ================================================================
   VHS COLOR ATMOSPHERE
   Rainbow wave dividers + diagonal stripe texture
   Inspired by 80s/90s VHS tape label design
   ================================================================ */

/* Rainbow wave SVG divider */
.vhs-wave {
  width: 100%; line-height: 0; pointer-events: none;
  display: block; position: relative; z-index: 2;
}
.vhs-wave svg { display: block; width: 100%; }

/* Diagonal VHS stripe texture on alt sections */
.alt {
  background-color: var(--bg-alt);
  background-image: repeating-linear-gradient(
    -50deg,
    transparent 0,           transparent 80px,
    rgba(255,79,94,0.018)   80px, rgba(255,79,94,0.018)   82px,
    rgba(255,140,66,0.015)  82px, rgba(255,140,66,0.015)  84px,
    rgba(255,193,69,0.013)  84px, rgba(255,193,69,0.013)  86px,
    rgba(88,179,104,0.012)  86px, rgba(88,179,104,0.012)  88px,
    rgba(40,207,255,0.010)  88px, rgba(40,207,255,0.010)  90px,
    transparent 90px
  );
}

/* Stripe-bar: starts narrow, sweeps wide on scroll reveal */
.section-head .stripe-bar {
  width: 60px;
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rv.vis .section-head .stripe-bar { width: 200px; }

@media (prefers-reduced-motion: reduce) {
  .section-head .stripe-bar,
  .rv.vis .section-head .stripe-bar { width: 120px; transition: none; }
}

/* BTS photo grid — about page */
.bts-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: 290px 195px;
  gap: 10px;
  margin-top: 56px;
  margin-bottom: 16px;
}
.bts-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: filter .4s ease;
}
.bts-grid img:first-child { grid-row: 1 / 3; }
.bts-grid img:hover { filter: saturate(1.15) brightness(1.05); }

@media (max-width: 720px) {
  .bts-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 260px 190px 160px;
  }
  .bts-grid img:first-child { grid-row: auto; }
}

/* ================================================================
   BLOG STYLES
   ================================================================ */

/* Blog index grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 16px;
}
.blog-card { background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.blog-card a { text-decoration: none; color: inherit; display: block; }
.blog-card-img {
  width: 100%; aspect-ratio: 16/9;
  background-size: cover; background-position: center;
  transition: transform .4s ease;
}
.blog-card a:hover .blog-card-img { transform: scale(1.03); }
.blog-card { overflow: hidden; }
.blog-card-body { padding: 24px 28px 28px; }
.blog-tag { font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--vhs-cyan); display: block; margin-bottom: 10px; }
.blog-card-body h2 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 12px; }
.blog-card-body p { color: var(--muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 16px; }
.blog-read-more { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--vhs-red); }

/* Blog post body */
.blog-post { max-width: 760px; }
.blog-post p { color: #cfc9bf; line-height: 1.8; margin-bottom: 1.4em; font-size: 1.02rem; }
.blog-post h2 { font-size: 1.5rem; margin: 2.2em 0 0.6em; }
.blog-post h3 { font-size: 1.1rem; margin: 1.6em 0 0.5em; color: var(--text); }
.blog-post strong { color: var(--text); }

/* FAQ inside blog */
.faq-list { margin: 2em 0; border-top: 1px solid var(--line); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq-item h3 { font-size: 1rem; margin: 0 0 8px; color: var(--text); }
.faq-item p { margin: 0; font-size: 0.95rem; }

/* Inline CTA block */
.blog-cta-inline {
  margin: 3em 0 0;
  padding: 36px 40px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--vhs-red);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.blog-cta-inline p { margin: 0; font-size: 1.1rem; font-weight: 600; color: var(--text); }

/* Related posts small grid */
.blog-grid-sm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.blog-link-card {
  display: block; text-decoration: none; color: inherit;
  padding: 20px 22px; background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color .2s;
}
.blog-link-card:hover { border-color: var(--vhs-cyan); }
.blog-link-card strong { display: block; margin-top: 8px; font-size: 0.9rem; line-height: 1.4; color: var(--text); }

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-grid-sm { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .blog-cta-inline { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   GEAR PAGE — PHOTO STRIP + SPEC TABLE
   ================================================================ */

.gear-banner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  height: 62vh;
  min-height: 380px;
  max-height: 680px;
  gap: 3px;
}

.gear-banner-img {
  overflow: hidden;
  position: relative;
}

.gear-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.gear-banner-img:hover img {
  transform: scale(1.03);
}

/* Wild Ice big filmstrip */
.wi-big-strip .fr img {
  height: clamp(340px, 62vh, 720px);
  width: auto;
}

/* Blue Jays filmstrip */
.bj-big-strip .fr img {
  height: clamp(300px, 55vh, 640px);
  width: auto;
}

/* Onewheel filmstrip */
.ow-big-strip .fr img {
  height: clamp(280px, 52vh, 600px);
  width: auto;
}

/* Wealthsimple filmstrip — portrait BTS shots */
.ws-big-strip .fr img {
  height: clamp(320px, 58vh, 640px);
  width: auto;
}

/* Athabasca Glacier panorama hero */
.glacier-pano-hero {
  position: relative;
  width: 100%;
  height: clamp(320px, 72vh, 820px);
  overflow: hidden;
}
.glacier-pano-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
}
.glacier-pano-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px clamp(20px,4vw,48px);
  background: linear-gradient(transparent, rgba(14,13,12,0.7));
}
.glacier-pano-overlay p {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  color: rgba(244,241,234,0.6);
  letter-spacing: 0.14em;
}

/* Glacier blockquote */
.glacier-quote-block {
  margin: 48px 0;
  padding: 32px 36px;
  border-left: 3px solid var(--vhs-cyan);
  background: var(--bg-alt);
}
.glacier-quote-block blockquote {
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
}
.glacier-quote-block cite {
  display: block;
  margin-top: 14px;
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  color: var(--vhs-cyan);
  font-style: normal;
  letter-spacing: 0.08em;
}

/* Spec table inside gear-cat */
dl.gear-specs {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

dl.gear-specs dt,
dl.gear-specs dd {
  margin: 0;
  padding: 0;
}

dl.gear-specs div,
dl.gear-specs > * {
  display: contents;
}

dl.gear-specs {
  display: grid;
  grid-template-columns: auto 1fr;
}

dl.gear-specs dt {
  grid-column: 1;
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--vhs-cyan);
  padding: 9px 16px 9px 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  align-self: start;
}

dl.gear-specs dd {
  grid-column: 2;
  font-size: 0.87rem;
  color: #cfc9bf;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .gear-banner {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }
  .gear-banner-img {
    height: 52vw;
    min-height: 200px;
  }
  dl.gear-specs { grid-template-columns: 72px 1fr; }
}
