/* ============================================================
   Platynum — home.css (index.html only)
   ============================================================ */

/* ============ HERO — cinematic centre ============ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}
.hero-layers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-layer {
  position: absolute;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.hero-layer img { width: 100%; height: 100%; object-fit: cover; }
.hero-layer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 38, 0.2), rgba(11, 16, 38, 0.75)); mix-blend-mode: multiply; }
/* Portfolio frames (1–4) are clickable and play in the lightbox; 5–7 are
   stock portraits for business / personal branding. */
.hero-layer-1 { left: 3%; bottom: 8%; width: clamp(160px, 16vw, 260px); aspect-ratio: 9 / 16; transform: rotate(-5deg); }
.hero-layer-2 { left: 50%; top: 50%; width: clamp(560px, 64vw, 980px); aspect-ratio: 16 / 9; transform: translate(-50%, -52%); opacity: 0.45; border-radius: var(--r-xl); }
.hero-layer-3 { right: 3%; top: 13%; width: clamp(220px, 23vw, 360px); aspect-ratio: 4 / 3; transform: rotate(4deg); }
.hero-layer-4 { right: 12%; bottom: 5%; width: clamp(180px, 19vw, 300px); aspect-ratio: 16 / 9; transform: rotate(-3deg); }
.hero-layer-5 { left: 10%; top: 12%; width: clamp(120px, 11vw, 180px); aspect-ratio: 4 / 5; transform: rotate(4deg); opacity: 0.85; }
.hero-layer-6 { right: 2.5%; bottom: 30%; width: clamp(110px, 10vw, 160px); aspect-ratio: 4 / 5; transform: rotate(-3deg); opacity: 0.85; }
.hero-layer-7 { left: 22%; bottom: 3%; width: clamp(140px, 13vw, 210px); aspect-ratio: 4 / 3; transform: rotate(3deg); opacity: 0.85; }
.hero-layer.is-play { pointer-events: auto; cursor: pointer; outline: none; }
.hero-layer.is-play img { transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hero-layer.is-play:hover img, .hero-layer.is-play:focus-visible img { transform: scale(1.06); }
.hero-layer.is-play:focus-visible { box-shadow: 0 0 0 3px var(--aqua), var(--shadow-lg); }
.hero-tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 1;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 10px 5px 6px; border-radius: 999px;
  background: rgba(11, 16, 38, 0.78); border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.72rem; font-weight: 500; color: var(--text); white-space: nowrap;
}
.hero-tag i { width: 18px; height: 18px; border-radius: 50%; background: var(--teal); flex-shrink: 0; position: relative; }
.hero-tag i::after { content: ''; position: absolute; left: 7px; top: 5px; border-left: 6px solid var(--bg); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.hero-wash {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(11, 16, 38, 0.82), rgba(11, 16, 38, 0.55) 55%, rgba(11, 16, 38, 0.25) 100%),
    linear-gradient(180deg, rgba(11, 16, 38, 0.6) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 1100px; padding: 0 var(--gutter); }
.hero-content .display { max-width: 1100px; margin: 0 auto 28px; }
.hero-content .lead { margin: 0 auto 40px; max-width: 58ch; }
.hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--serif); font-style: italic; color: var(--text-3); font-size: 0.95rem;
}
.hero-scroll i { width: 1px; height: 46px; background: linear-gradient(180deg, var(--aqua), transparent); display: block; animation: drop 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drop { 0% { transform: scaleY(0); opacity: 0; } 40% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1) translateY(20px); opacity: 0; } }

/* ============ STATEMENT — scrubbed words + inline images ============ */
.statement { text-align: center; }
.statement h2 { font-size: clamp(2.4rem, 6.2vw, 6.4rem); line-height: 1.05; letter-spacing: -0.035em; max-width: 1240px; margin: 0 auto; }
.statement .w { display: inline-block; }
.inline-img {
  display: inline-block;
  vertical-align: middle;
  width: clamp(72px, 9vw, 150px);
  height: clamp(36px, 4.4vw, 68px);
  border-radius: 999px;
  overflow: hidden;
  margin: 0 0.12em;
  box-shadow: var(--glow);
  position: relative;
  top: -0.08em;
}
.inline-img img { width: 100%; height: 100%; object-fit: cover; }

/* ============ SELECTED WORK — horizontal strip ============ */
.hs { position: relative; overflow: hidden; }
.hs-track { display: flex; align-items: stretch; gap: 22px; padding: 0 var(--gutter); height: clamp(420px, 62vh, 620px); will-change: transform; }
.hs-intro { flex: 0 0 auto; width: clamp(300px, 28vw, 440px); display: flex; flex-direction: column; justify-content: center; padding-right: 20px; }
.hs-intro h2 { margin-bottom: 18px; }
.hs-intro p { color: var(--text-2); max-width: 36ch; margin-bottom: 28px; }
.hs-card {
  position: relative; flex: 0 0 auto; height: 100%; border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); cursor: pointer; outline: none;
  box-shadow: var(--shadow-md);
}
.hs-card:focus-visible { box-shadow: 0 0 0 3px var(--aqua); }
.hs-card.film { aspect-ratio: 16 / 10; }
.hs-card.reel { aspect-ratio: 9 / 16; }
.hs-card.branding { aspect-ratio: 4 / 5; }
.hs-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hs-card:hover img { transform: scale(1.06); }
.hs-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 38, 0.05) 40%, rgba(11, 16, 38, 0.85)); }
.hs-info { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.hs-info span { display: block; font-family: var(--serif); font-style: italic; color: var(--aqua); font-size: 0.95rem; margin-bottom: 4px; }
.hs-info strong { display: block; font-weight: 600; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.25; }
.hs-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; width: 60px; height: 60px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--bg); display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.hs-card:hover .hs-play { transform: translate(-50%, -50%) scale(1.12); }
.hs-end { flex: 0 0 auto; width: clamp(240px, 22vw, 320px); display: grid; place-items: center; text-align: center; border-radius: var(--r-lg); border: 1px dashed var(--teal-line); background: var(--teal-soft); }
.hs-end strong { display: block; font-size: 1.6rem; letter-spacing: -0.02em; margin-bottom: 14px; }

/* ============ INDUSTRIES — horizontal accordion ============ */
.acc { display: flex; gap: 10px; height: clamp(420px, 60vh, 580px); }
.acc-item {
  position: relative; flex: 1; min-width: 0; border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  transition: flex 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.acc-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.35; transition: opacity 0.6s ease, transform 1.2s ease; transform: scale(1.08); }
.acc-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 16, 38, 0.1), rgba(11, 16, 38, 0.9)); }
.acc-item:hover, .acc-item.is-open { flex: 3.6; }
.acc-item:hover img, .acc-item.is-open img { opacity: 0.75; transform: scale(1); }
.acc-title {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(-90deg); transform-origin: left bottom; white-space: nowrap;
  z-index: 1; font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--text-2);
  transition: opacity 0.3s ease;
}
.acc-item:hover .acc-title, .acc-item.is-open .acc-title { opacity: 0; }
.acc-body { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 1; opacity: 0; transform: translateY(14px); transition: opacity 0.45s ease 0.15s, transform 0.45s ease 0.15s; min-width: 240px; }
.acc-item:hover .acc-body, .acc-item.is-open .acc-body { opacity: 1; transform: none; }
.acc-body strong { display: block; font-size: 1.5rem; letter-spacing: -0.02em; margin-bottom: 8px; }
.acc-body p { color: var(--text-2); font-size: 0.98rem; max-width: 34ch; }

/* ============ RESPONSIVE ============ */
@media (max-width: 899px) {
  .hero-layer-2 { width: 140vw; opacity: 0.4; }
  .hero-layer-3 { width: 36vw; top: 10%; right: -6%; }
  .hero-layer-1 { width: 28vw; left: -4%; bottom: 12%; }
  .hero-layer-4, .hero-layer-5, .hero-layer-6, .hero-layer-7 { display: none; }
  .hero-tag { display: none; }
  /* strip becomes a native snap scroller */
  .hs-track { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .hs-track::-webkit-scrollbar { display: none; }
  .hs-intro { width: 78vw; scroll-snap-align: start; }
  .hs-card { height: 62vw; scroll-snap-align: start; }
  .hs-card.reel { height: 62vw; }
  .hs-end { width: 70vw; height: 62vw; scroll-snap-align: start; }
  .acc { flex-direction: column; height: auto; }
  .acc-item { flex: none; height: 76px; transition: height 0.5s ease; }
  .acc-item.is-open { height: 300px; }
  .acc-item:hover { flex: none; }
  .acc-title { transform: none; left: 22px; bottom: auto; top: 50%; margin-top: -0.6em; opacity: 1 !important; }
  .acc-item.is-open .acc-title { opacity: 0 !important; }
  .acc-body { min-width: 0; }
}
@media (max-width: 640px) {
  .hero { padding-top: calc(var(--nav-h) + 20px); }
  .hero-content .lead { font-size: 1rem; }
}
