/* ============================================================
   Section components
   ============================================================ */

/* ---------- Hero ---------- */
.hero {
  height: 100svh;
  min-height: 560px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--accent);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.3);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(18,26,32,0.68) 0%, rgba(18,26,32,0.48) 26%, rgba(18,26,32,0.2) 55%, rgba(18,26,32,0.08) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 96px;
  max-width: 620px;
}
.hero-content .eyebrow { margin-bottom: 18px; }
.hero-title {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  color: var(--cream);
}
.hero-sub {
  margin-top: 22px;
  max-width: 420px;
  color: rgba(247,242,232,0.88);
  font-size: 16px;
  line-height: 1.7;
}
.hero-actions { margin-top: 32px; }
.hero-scroll-cue {
  position: absolute;
  right: var(--gutter); bottom: 36px;
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  color: rgba(247,242,232,0.7);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
}
.hero-scroll-cue .line { width: 1px; height: 34px; background: rgba(247,242,232,0.5); }

/* ---------- Vision + Marquee ---------- */
.vision {
  padding: 110px 0 70px;
  text-align: center;
}
.vision-standalone { padding-bottom: 130px; }
.vision-text {
  max-width: 700px;
  margin: 22px auto 0;
  font-size: clamp(19px, 2.4vw, 24px);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
}

/* ---------- Reels ---------- */
.reels-section {
  background: var(--ink);
  padding: 84px 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.reels-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 34px;
  flex-wrap: wrap;
  gap: 16px;
}
.reels-head h2 { color: var(--cream); font-size: clamp(28px, 3.6vw, 40px); }
.reels-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: 34px;
}
.reel-card {
  position: relative;
  aspect-ratio: 9 / 16;
  height: min(48vh, 420px);
  flex: 0 0 auto;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}
.reel-card video {
  width: 100%; height: 100%;
  object-fit: cover;
}
.reel-card video:fullscreen,
.reel-card video:-webkit-full-screen,
.reel-card video:-moz-full-screen {
  object-fit: contain;
  background: #000;
}
.reel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px 16px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.4s var(--ease);
}
.reel-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.4s var(--ease);
}
.reel-play span {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(247,242,232,0.75);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(2px);
}
.reel-play svg { width: 16px; height: 16px; fill: var(--cream); margin-left: 2px; }
.reel-mute {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(247,242,232,0.5);
  background: rgba(20,20,20,0.4);
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.reel-mute svg { width: 15px; height: 15px; stroke: var(--cream); fill: none; }
.reel-fullscreen {
  position: absolute; top: 12px; left: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(247,242,232,0.5);
  background: rgba(20,20,20,0.4);
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.reel-fullscreen svg { width: 15px; height: 15px; stroke: var(--cream); fill: none; }
.reel-card.is-active .reel-play,
.reel-card.is-active .reel-caption { opacity: 0; pointer-events: none; }
.reel-card.is-active .reel-mute,
.reel-card.is-active .reel-fullscreen { display: flex; opacity: 1; }
.reel-card.is-active.is-paused .reel-play { opacity: 1; pointer-events: auto; }
.reels-cta { text-align: center; }

/* ---------- About ---------- */
.about {
  padding: 110px 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
}
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.about-photo { border-radius: 6px; overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-body h2 { font-size: clamp(30px, 4vw, 44px); margin: 14px 0 22px; }
.about-body p { margin-bottom: 16px; color: #3a352c; max-width: 480px; }
.about-body p:last-child { margin-bottom: 0; }

/* ---------- Statement band ---------- */
.statement-band {
  position: relative;
  min-height: 62vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.statement-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.3);
}
.statement-band .overlay { position: absolute; inset: 0; background: rgba(18,26,32,0.5); }
.statement-band blockquote {
  position: relative; z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 4.4vw, 44px);
  line-height: 1.3;
}

/* ---------- Why me ---------- */
.why-me { padding: 110px 0; text-align: center; background: var(--accent); }
.why-me-head { max-width: 560px; margin: 0 auto 56px; }
.why-me-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; color: var(--cream); }
.why-me-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-me-item {
  background: rgba(247, 242, 232, 0.08);
  border: 1px solid rgba(247, 242, 232, 0.18);
  border-radius: 6px;
  padding: 34px 24px;
}
.why-me-item .icon {
  width: 40px; height: 40px;
  margin: 0 auto 22px;
  color: var(--bg-alt);
}
.why-me-item .icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.why-me-item h3 { font-size: 20px; margin-bottom: 10px; color: var(--cream); }
.why-me-item p { font-size: 14px; color: rgba(247,242,232,0.78); line-height: 1.6; max-width: 260px; margin: 0 auto; }

/* ---------- Services ---------- */
.services { padding: 110px 0; background: var(--bg-alt); }
.services-head { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.services-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--bg);
  border-radius: 6px;
  padding: 34px 24px;
  text-align: left;
}
.service-card .icon {
  width: 40px; height: 40px;
  margin-bottom: 22px;
  color: var(--accent);
}
.service-card .icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #4a4536; line-height: 1.6; }

/* ---------- Three steps ---------- */
.process {
  position: relative;
  padding: 130px 0;
  overflow: hidden;
}
.process > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.3);
}
.process .overlay { position: absolute; inset: 0; background: rgba(18,26,32,0.55); }
.process-head { position: relative; z-index: 2; text-align: center; margin-bottom: 46px; }
.process-head h2 { color: var(--cream); font-size: clamp(28px, 3.6vw, 40px); margin-top: 14px; }
.process-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.process-card {
  background: rgba(247, 242, 232, 0.14);
  border: 1px solid rgba(247, 242, 232, 0.3);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 8px;
  padding: 34px 28px;
  color: var(--cream);
}
.process-grid.stagger .process-card.reveal {
  transition-delay: calc(var(--i, 0) * 380ms);
  transition-duration: 1.1s, 1.1s;
  transition-timing-function: cubic-bezier(.22,1.2,.36,1), cubic-bezier(.22,1.2,.36,1);
  transform: translateY(30px) scale(0.92);
}
.process-grid.stagger .process-card.reveal.is-visible {
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .process-grid.stagger .process-card.reveal { transition-delay: 0ms; transform: none; }
}
.process-card .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 30px;
  color: var(--bg-alt);
  display: block;
  margin-bottom: 16px;
}
.process-card h3 { color: var(--cream); font-size: 21px; margin-bottom: 10px; }
.process-card p { font-size: 14px; line-height: 1.65; color: rgba(247,242,232,0.85); }

/* ---------- What I create ---------- */
.create {
  padding: 110px 0;
}
.create-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}
.create-grid img { border-radius: 6px; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.create-grid .img-b { margin-top: 48px; }
.create-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 14px 0 18px; }
.create-copy p { color: #3a352c; max-width: 380px; }

/* ---------- Contact finale ---------- */
.contact-band {
  position: relative;
  min-height: 72vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.contact-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.contact-band .overlay { position: absolute; inset: 0; background: rgba(18,26,32,0.5); }
.contact-inner {
  position: relative; z-index: 2;
  text-align: center;
  color: var(--cream);
}
.contact-inner .eyebrow { color: var(--bg-alt); }
.contact-inner h2 {
  color: var(--cream);
  font-size: clamp(32px, 5.4vw, 58px);
  margin: 16px 0 34px;
  line-height: 1.15;
}
.contact-links {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; flex-wrap: wrap;
}
.contact-links a.icon-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(247,242,232,0.5);
  transition: background 0.3s var(--ease);
}
.contact-links a.icon-link:hover { background: rgba(247,242,232,0.12); }
.contact-links a.icon-link svg { width: 18px; height: 18px; stroke: var(--cream); fill: none; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 46px var(--gutter);
  background: var(--ink);
  color: rgba(247,242,232,0.7);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-inner .nav-logo { font-size: 20px; color: var(--cream); }
.footer-links { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-links a { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links a:hover { color: var(--cream); }
.footer-meta { font-size: 12px; }

/* ---------- Page header (work.html) ---------- */
.page-header {
  position: relative;
  min-height: 56vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.page-header img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.page-header-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 640px 360px at 50% 44%, rgba(18,26,32,0.78) 0%, rgba(18,26,32,0.4) 62%, rgba(18,26,32,0.1) 100%),
    linear-gradient(180deg, rgba(18,26,32,0.22) 0%, rgba(18,26,32,0.3) 100%);
}
.page-header-inner { position: relative; z-index: 2; padding: 0 var(--gutter); }
.page-header h1 { font-size: clamp(38px, 6vw, 64px); color: var(--cream); }
.page-header p {
  margin: 18px auto 0;
  max-width: 460px;
  color: rgba(247,242,232,0.85);
}

/* ---------- Gallery (masonry) ---------- */
.gallery-section { padding: 30px 0 100px; }
.gallery-head { text-align: center; margin-bottom: 40px; }
.gallery-head h2 { font-size: clamp(24px, 3vw, 32px); }
.masonry {
  column-count: 3;
  column-gap: 14px;
}
.masonry figure {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
}
.masonry img {
  width: 100%; display: block;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}
.masonry figure:hover img { transform: scale(1.035); filter: brightness(1.06); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 12, 10, 0.94);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%; max-height: 84vh;
  border-radius: 3px;
  object-fit: contain;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: transparent; border: none; cursor: pointer;
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-close { top: 24px; right: 28px; width: 40px; height: 40px; }
.lightbox-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; }
.lightbox-prev, .lightbox-next {
  top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px; border-radius: 50%;
  border: 1px solid rgba(247,242,232,0.35);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev svg, .lightbox-next svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.lightbox-counter {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: rgba(247,242,232,0.75);
  font-size: 12px; letter-spacing: 0.08em;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { aspect-ratio: 4/3; }
  .about { padding: 90px 0; min-height: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .create-grid { grid-template-columns: 1fr 1fr; }
  .create-grid .img-c { display: none; }
  .create-copy { grid-column: span 2; text-align: center; }
  .create-copy p { margin: 0 auto; }
  .masonry { column-count: 2; }
}

@media (max-width: 720px) {
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(78vw, 320px);
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px var(--gutter);
    transform: translateX(100%);
    transition: transform 0.5s var(--ease);
  }
  .nav-links a { color: var(--accent); font-size: 14px; }
  .nav-links.is-open { transform: translateX(0); }
  .nav-toggle { display: block; }

  .reels-section { min-height: auto; }
  .reel-card { height: 340px; }
  .services-grid { grid-template-columns: 1fr; }
  .create-grid { grid-template-columns: 1fr; }
  .create-grid .img-b { margin-top: 0; }
  .create-copy { grid-column: auto; }
  .masonry { column-count: 1; }
  .page-header { min-height: 46vh; }
}
