/* ==========================================================================
   HOME
   ========================================================================== */

/* --------------------------------------------------------------- HERO ---- */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; isolation: isolate;
  padding-top: var(--nav-h);
}

.hero__bed { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__video, .hero__bed > img {
  position: absolute; top: 50%; left: 50%;
  width: 100%; height: 100%; min-width: 100%; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  will-change: transform, filter;
}
.hero__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5,6,10,.9) 0%, rgba(5,6,10,.3) 32%, rgba(5,6,10,.55) 64%, rgba(5,6,10,.97) 100%);
}
.hero__bed::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(85% 70% at 22% 62%, rgba(5,6,10,.7) 0%, transparent 68%),
    linear-gradient(90deg, rgba(5,6,10,.8) 0%, rgba(5,6,10,.08) 58%, rgba(5,6,10,.5) 100%);
}
.hero .atmos { z-index: 3; }

.hero__glow {
  position: absolute; z-index: -2;
  width: 62vw; height: 62vw; max-width: 900px; max-height: 900px;
  right: -14%; top: 6%;
  background: radial-gradient(circle, rgba(43,255,136,.12) 0%, rgba(43,255,136,0) 68%);
  filter: blur(38px);
  animation: glow-drift 16s var(--e-soft) infinite alternate;
  pointer-events: none;
}
@keyframes glow-drift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .7; }
  100% { transform: translate3d(-7%, 6%, 0) scale(1.16); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__glow { animation: none; } }

.hero__inner {
  position: relative; z-index: 4; flex: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(2rem, 6vh, 4rem);
  padding-top: clamp(3rem, 12vh, 8rem);
}
.hero__type { max-width: min(100%, 18ch); }

.hero__title {
  font-size: clamp(3rem, min(11vw, 17vh), 12rem);
  max-width: 12ch;
}
.hero__title .rl { padding-bottom: 0.02em; }

.hero__lede {
  margin-top: clamp(1.4rem, 3.4vh, 2.4rem);
  max-width: 34ch;
  font-size: var(--t-lg);
  color: var(--fg-2);
  line-height: 1.5;
}

.hero__cta {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  margin-top: clamp(2rem, 5vh, 3.2rem);
}

.hero__playbtn { display: inline-flex; align-items: center; gap: 0.9rem; text-align: left; }
.hero__playbtn-ring {
  width: 46px; height: 46px; flex: none;
  border: 1px solid var(--line-hard); border-radius: 50%;
  display: grid; place-items: center;
  transition: all .4s var(--e-out);
}
.hero__playbtn:hover .hero__playbtn-ring { background: var(--fg); color: #05060a; border-color: var(--fg); }
.hero__playbtn-ring svg { width: 12px; height: 12px; margin-left: 2px; }
.hero__playbtn-txt {
  display: grid; gap: 0.2rem;
  font-family: var(--f-mono); font-size: var(--t-label);
  letter-spacing: 0.13em; text-transform: uppercase;
}
.hero__playbtn-txt em { font-style: normal; font-size: var(--t-micro); color: var(--fg-4); letter-spacing: 0.16em; }
.hero__playbtn:hover .hero__playbtn-txt { color: var(--volt); }

.hero__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--s-5);
  margin-top: clamp(2.5rem, 8vh, 5rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-soft);
}
.hero__meta {
  font-family: var(--f-mono); font-size: var(--t-micro);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-3);
}
.hero__scroll {
  display: none; align-items: center; gap: 0.7rem; flex: none;
  font-family: var(--f-mono); font-size: var(--t-micro);
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--fg-4);
}
@media (min-width: 760px) { .hero__scroll { display: flex; } }
.hero__scroll i { width: 1px; height: 40px; background: var(--line-hard); position: relative; overflow: hidden; }
.hero__scroll i::after {
  content: ""; position: absolute; inset: 0; background: var(--volt);
  animation: scroll-tick 2.2s var(--e-inout) infinite;
}
@keyframes scroll-tick { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

@media (max-width: 620px) {
  .hero__title { font-size: clamp(2.9rem, 15vw, 4.8rem); }
  .hero__foot { flex-direction: column; align-items: flex-start; }
  .hero__lede { font-size: var(--t-base); }
}
@media (max-height: 620px) and (min-width: 700px) {
  .hero__lede { display: none; }
  .hero__inner { padding-top: 2rem; }
  .hero__foot { margin-top: 1.5rem; }
}

/* ------------------------------------------------------------ SECTION HEAD */
.pillars__head {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  align-items: baseline; justify-content: space-between;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}

/* --------------------------------------------------------------- PILLARS -- */
.pillars__grid { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
@media (min-width: 640px)  { .pillars__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .pillars__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.pill-card {
  position: relative; display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--bg);
  padding: clamp(1.8rem, 3.4vw, 2.8rem) clamp(1.4rem, 2.4vw, 2rem) clamp(2.2rem, 4vw, 3.2rem);
  transition: background .5s var(--e-out);
}
.pill-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: var(--volt); transform: scaleX(0); transform-origin: left;
  transition: transform .7s var(--e-out);
}
.pill-card:hover { background: var(--bg-2); }
.pill-card:hover::after { transform: scaleX(1); }
.pill-card__k { font-size: var(--t-micro); letter-spacing: 0.24em; color: var(--volt); }
.pill-card__t { font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 0.95; letter-spacing: -0.04em; margin-top: 0.3rem; }
.pill-card__d { font-size: var(--t-sm); color: var(--fg-3); line-height: 1.6; flex: 1; max-width: 32ch; }
.pill-card__p {
  font-family: var(--f-mono); font-size: var(--t-label);
  letter-spacing: 0.08em; color: var(--fg);
  padding-top: 1rem; border-top: 1px solid var(--line-soft);
}

/* ----------------------------------------------------------- WORK GRID ---- */
.wgrid { display: grid; gap: clamp(0.75rem, 1.5vw, 1.25rem); }
@media (min-width: 860px) { .wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.wcase { position: relative; display: block; overflow: hidden; background: var(--bg-3); }
@media (min-width: 860px) { .wcase--lead { grid-column: span 2; grid-row: span 2; } }
.wcase__media { aspect-ratio: 4/3; }
@media (min-width: 860px) { .wcase--lead .wcase__media { aspect-ratio: auto; height: 100%; min-height: 100%; } }
.wcase::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(5,6,10,.94) 0%, rgba(5,6,10,.15) 60%);
  transition: opacity .5s var(--e-out);
}
.wcase:hover::after { opacity: .82; }
.wcase__media img { transition: transform 1.1s var(--e-out), filter .6s var(--e-out); }
.wcase:hover .wcase__media img { transform: scale(1.04); filter: saturate(1.1); }
.wcase__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(1.1rem, 2.2vw, 1.9rem); display: grid; gap: 0.28rem;
  transition: transform .55s var(--e-out);
}
.wcase:hover .wcase__body { transform: translateY(-4px); }
.wcase__badge {
  justify-self: start; margin-bottom: 0.5rem;
  font-family: var(--f-mono); font-size: 9px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: #04150b;
  background: var(--volt); padding: 0.3em 0.6em;
}
.wcase__title { font-size: clamp(1.35rem, 2.8vw, 2.3rem); line-height: .95; letter-spacing: -0.04em; }
.wcase--lead .wcase__title { font-size: clamp(1.8rem, 4vw, 3.2rem); }
.wcase__artist { font-family: var(--f-mono); font-size: var(--t-sm); color: var(--volt); letter-spacing: 0.04em; }
.wcase__role { font-family: var(--f-mono); font-size: var(--t-micro); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); margin-top: 0.2rem; }
.wcase__go {
  position: absolute; top: clamp(.9rem,2vw,1.3rem); right: clamp(.9rem,2vw,1.3rem); z-index: 2;
  width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.26); border-radius: 50%;
  display: grid; place-items: center; transition: all .4s var(--e-out);
  background: rgba(8,9,14,.42); backdrop-filter: blur(6px);
}
.wcase__go svg { width: 14px; height: 14px; }
.wcase:hover .wcase__go { background: var(--volt); border-color: var(--volt); color: #04150b; transform: rotate(-45deg); }

/* --------------------------------------------------------- FEATURE PKG ---- */
.feature { position: relative; overflow: hidden; isolation: isolate; border-block: 1px solid var(--line-soft); }
.feature__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: 0.18; }
.feature__bg img { width: 100%; height: 132%; object-fit: cover; position: absolute; top: -16%; }
.feature__bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(90% 80% at 30% 50%, rgba(5,6,10,.55), var(--bg) 78%);
}
.feature__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .feature__grid { grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.feature__title { font-size: var(--t-4xl); line-height: 0.86; }
.feature__price {
  font-family: var(--f-display); font-weight: 900; font-stretch: 118%;
  font-size: clamp(3rem, 8vw, 6rem); line-height: 1; letter-spacing: -0.05em;
  color: var(--volt); margin-top: clamp(1rem, 2.5vh, 1.8rem);
}
.feature__inc { display: grid; gap: 0; }
.feature__inc li {
  padding-block: 0.95rem; border-top: 1px solid var(--line-soft);
  font-size: var(--t-base); color: var(--fg-2);
}
.feature__inc li:last-child { border-bottom: 1px solid var(--line-soft); }
.feature__body .link { margin-top: 1.6rem; }

/* ------------------------------------------------------------- GLIMPSE ---- */
.glimpse {
  position: relative;
  min-height: clamp(66vh, 84vh, 880px);
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
}
.glimpse__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.glimpse__media img { width: 100%; height: 132%; object-fit: cover; position: absolute; top: -16%; }
.glimpse__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,6,10,.55) 0%, rgba(5,6,10,.2) 40%, rgba(5,6,10,.95) 100%);
}
.glimpse__inner { position: relative; z-index: 1; display: grid; gap: 1rem; justify-items: start; }
.glimpse__title { font-size: var(--t-3xl); line-height: 0.9; }
.glimpse__line { font-size: var(--t-base); color: var(--fg-2); max-width: 46ch; }

/* --------------------------------------------------------- CONTENT DAY ---- */
.contentday__price {
  font-family: var(--f-display); font-weight: 900; font-stretch: 118%;
  font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -0.05em; color: var(--volt);
}
.cd-grid { display: grid; gap: 1px; background: var(--line-soft); border-block: 1px solid var(--line-soft); }
@media (min-width: 620px)  { .cd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cd-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.cd-item {
  background: var(--bg);
  padding: clamp(1.5rem, 2.6vw, 2.2rem) clamp(1.2rem, 2vw, 1.6rem);
  display: grid; gap: 0.5rem; align-content: start;
  transition: background .4s var(--e-out);
}
.cd-item:hover { background: var(--bg-2); }
.cd-item__n {
  font-family: var(--f-display); font-weight: 900; font-stretch: 118%;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; letter-spacing: -0.05em;
  color: var(--volt); font-variant-numeric: tabular-nums;
}
.cd-item__l { font-size: var(--t-sm); color: var(--fg-2); line-height: 1.5; }

/* -------------------------------------------------------------- CLOSING --- */
.closing { display: grid; justify-items: center; text-align: center; gap: clamp(1.6rem, 4vh, 2.6rem); }
.closing__line { font-size: var(--t-lg); color: var(--fg-2); max-width: 44ch; }

/* ------------------------------------------------------------- FILM BOX --- */
.filmbox {
  position: fixed; inset: 0; z-index: 320;
  background: rgba(3,4,7,.97);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: grid; place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--e-out), visibility .45s;
}
.filmbox.is-open { opacity: 1; visibility: visible; }
.filmbox__stage { width: min(1280px, 100%); transform: scale(.95); transition: transform .7s var(--e-out); }
.filmbox.is-open .filmbox__stage { transform: scale(1); }
.filmbox video { width: 100%; max-height: 82vh; background: #000; }
.filmbox__close { position: fixed; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); background: rgba(8,9,14,.7); }
