/* ==========================================================================
   LUCID LENS — Page-specific
   ========================================================================== */

/* ---- Home hero ---- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-media video,
.hero-media .poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media .poster-img {
  transition: opacity 700ms var(--ease-out);
}
.hero-media .poster-img.is-hidden {
  opacity: 0;
  pointer-events: none;
}
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,7,7,0.32) 0%, rgba(7,7,7,0.12) 32%, rgba(7,7,7,0.55) 72%, rgba(7,7,7,0.92) 100%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) var(--sp-9);
}
.hero-kicker {
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--sp-4);
}
.hero-title {
  font-size: var(--fs-4xl);
  max-width: 24ch;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--fg);
}
.reveal-line { display: block; }
.hero-sub {
  margin-top: var(--sp-5);
  max-width: 46ch;
  font-size: var(--fs-lg);
  color: var(--fg-muted);
}
/* the video-hero version fights a busy, bright background — needs more
   contrast and size than the plain-background page-header version */
.hero .hero-sub {
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--fg);
  text-shadow: 0 2px 16px rgba(0,0,0,0.55);
}
.hero-scroll-cue {
  position: absolute;
  bottom: var(--sp-6);
  right: var(--gutter);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--fg-faint);
}
.hero-scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--fg-faint), transparent);
  animation: scroll-cue 2.2s var(--ease-in-out) infinite;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- Intro statement ---- */
.statement {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  line-height: var(--lh-snug);
  max-width: 18ch;
}
.statement .dim { color: var(--fg-faint); }

.benefit-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-7);
}
.benefit-tag {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-xs);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* ---- Why video — one clear section, three benefit cards ---- */
.why-heading {
  font-size: var(--fs-2xl);
  letter-spacing: var(--ls-tight);
  margin-bottom: var(--sp-7);
  max-width: 16ch;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-2);
}
.why-card {
  position: relative;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out), background var(--dur-med) var(--ease-out);
}
/* thin accent bar that grows across the top edge on hover */
.why-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-accent-dim);
  background: var(--c-panel-raised);
}
.why-card:hover::before { transform: scaleX(1); }
.why-num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--c-accent);
  margin-bottom: var(--sp-5);
  letter-spacing: var(--ls-wide);
}
.why-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.why-card p {
  color: var(--fg-muted);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  max-width: 34ch;
}
@media (max-width: 800px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--sp-4); }
}

/* ---- Featured work strip (home) ---- */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-6);
  gap: var(--sp-5);
}
.section-head h2 { font-size: var(--fs-2xl); }

/* ---- CTA banner ---- */
.cta-banner {
  text-align: center;
  padding-block: var(--sp-9);
}
.cta-banner h2 {
  font-size: var(--fs-3xl);
  max-width: 16ch;
  margin-inline: auto;
}
.cta-banner .btn { margin-top: var(--sp-7); }

/* ---- Work page ---- */
.page-header {
  padding-top: clamp(7rem, 12vw, 10rem);
  padding-bottom: var(--sp-7);
}
.page-header h1 { font-size: var(--fs-3xl); max-width: 14ch; }

/* ---- About page ---- */
.about-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--sp-8);
  align-items: start;
}
.about-photo {
  position: relative;
}
.about-photo-crop {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bg-raised);
}
.about-photo-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Tall [ ] brackets flanking the portrait — the same square-bracket motif
   as the [ LUCID LENS ] wordmark, not tight corner ticks. Always visible
   (no separate reveal-driven opacity) — the parent .about-photo already
   fades/scales in as a whole via [data-reveal], so this can't silently
   fail to appear if that timing ever misses. */
.photo-bracket {
  position: absolute;
  top: -16px;
  bottom: -16px;
  width: 28px;
  border: 3px solid var(--c-white);
  z-index: 1;
  pointer-events: none;
}
.photo-bracket--l {
  left: -28px;
  border-right: none;
}
.photo-bracket--r {
  right: -28px;
  border-left: none;
}
@media (max-width: 800px) {
  .about-hero { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .photo-bracket { width: 18px; }
  .photo-bracket--l { left: -18px; }
  .photo-bracket--r { right: -18px; }
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}
.about-intro h1 {
  font-size: var(--fs-2xl);
  max-width: 20ch;
}
.about-lede {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  max-width: 40ch;
  color: var(--fg-muted);
}
.about-lede:first-of-type {
  color: var(--fg);
}

/* ---- Expandable value tags ---- */
.value-list {
  border-top: 1px solid var(--border);
  max-width: 55ch;
}
.value-item {
  border-bottom: 1px solid var(--border);
}
.value-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: var(--sp-5);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  list-style: none;
}
.value-item-head::-webkit-details-marker { display: none; }
.value-item-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.value-item-icon::before,
.value-item-icon::after {
  content: "";
  position: absolute;
  background: var(--c-accent);
  transition: opacity var(--dur-fast) var(--ease-out);
}
.value-item-icon::before { top: 50%; left: 0; width: 100%; height: 1px; transform: translateY(-50%); }
.value-item-icon::after { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.value-item[open] .value-item-icon::after { opacity: 0; }
.value-item-body {
  padding-bottom: var(--sp-5);
  margin-top: calc(var(--sp-3) * -1);
  color: var(--fg-muted);
  font-size: var(--fs-sm);
}
.duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
}
.duo-card .role {
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}
.duo-card h3 { font-size: var(--fs-xl); margin-bottom: var(--sp-4); }
.duo-card p { color: var(--fg-muted); }

.timeline {
  border-top: 1px solid var(--border);
}
.timeline-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--sp-6);
  padding-block: var(--sp-6);
  border-bottom: 1px solid var(--border);
}
.timeline-row .date {
  font-size: var(--fs-xs);
  color: var(--fg-faint);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
}
.timeline-row h4 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.timeline-row p { color: var(--fg-muted); max-width: 60ch; }

@media (max-width: 700px) {
  .duo-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
  .timeline-row { grid-template-columns: 1fr; gap: var(--sp-2); }
}

/* ---- Contact page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-9);
  align-items: start;
}
.contact-info h3 {
  font-size: var(--fs-2xs);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: var(--sp-3);
}
.contact-info .big-link {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-8);
}
.contact-social {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-7); }
}

/* ---- Mobile heading & layout tuning ----
   The big fluid display sizes overflow or break long single words
   (Scherpstellen, kennismaken, vastgelegd) on narrow phones. Stack the
   featured-work header so the title gets the full width, and cap the
   largest headings so every word fits its column. */
@media (max-width: 600px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }
}
@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .cta-banner h2 { font-size: 2.5rem; }
  .page-header h1 { font-size: 2.4rem; }
  .section-head h2 { font-size: 2.3rem; }
  .why-heading { font-size: 2.1rem; }
  .about-intro h1 { font-size: 2.1rem; }
}
