/* ===== Tokens ===== */
:root {
  --bg: #0c0a08;
  --bg-elev: #14110e;
  --bg-card: #1a1612;
  --bg-card-hover: #221c17;
  --cream: #faf6ed;
  --cream-muted: #c9c0b0;
  --cream-dim: #8a8174;
  --amber: #b6d85b;
  --amber-soft: #9fbf4f;
  --amber-glow: rgba(182, 216, 91, 0.18);
  --symbol-lime: #cefb65;
  --symbol-lime-hover: #dcff8c;
  --symbol-lime-glow: rgba(206, 251, 101, 0.22);
  --accent-lime: #b6d85b;
  --accent-lime-hover: #c3e56a;
  --accent-lime-glow: rgba(182, 216, 91, 0.2);
  --line: rgba(250, 246, 237, 0.08);
  --line-strong: rgba(250, 246, 237, 0.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.hide-sm { display: none; }
@media (min-width: 640px) { .hide-sm { display: inline; } }

.accent { color: var(--amber); }

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--amber);
  color: #1a1410;
  box-shadow: 0 0 0 0 var(--amber-glow);
}
.btn--primary:hover {
  background: var(--accent-lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px var(--amber-glow);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--cream);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--cream-muted);
  background: rgba(250, 246, 237, 0.04);
  transform: translateY(-2px);
}

.btn--text {
  color: var(--cream);
  padding-inline: 0.35rem;
}
.btn--text:hover {
  color: var(--amber);
  transform: translateX(3px);
}

.btn--block { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  padding: 0;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav__inner {
  width: min(100% - 2.5rem, var(--max));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav.is-scrolled {
  background: rgba(12, 10, 8, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
}
.nav__logo img {
  display: block;
  width: clamp(12.2rem, 16vw, 14.7rem);
  height: auto;
}

.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--cream-muted);
}
.nav__links a:hover { color: var(--cream); }
.nav__cta {
  color: var(--bg) !important;
  background: var(--symbol-lime);
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
}
.nav__cta:hover { background: var(--symbol-lime-hover); color: var(--bg) !important; }

.nav__burger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.nav__burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--cream);
  transition: transform 0.3s var(--ease);
}
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  z-index: 99;
  background: rgba(12, 10, 8, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 2rem;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: 0.9rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
  .nav-mobile { display: none !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--nav-h) + 2rem) 0 5rem;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,10,8,0.55) 0%, rgba(12,10,8,0.25) 35%, rgba(12,10,8,0.88) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(12,10,8,0.75) 0%, rgba(12,10,8,0.2) 55%, rgba(12,10,8,0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-bottom: 1rem;
}

.hero__eyebrow {
  color: var(--accent-lime);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero__title {
  font-size: clamp(2.4rem, 7.5vw, 4.75rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

/* Match the hero emphasis and primary action to the FW symbol color. */
.hero .accent { color: var(--accent-lime); }
.hero .btn--primary {
  background: var(--accent-lime);
  box-shadow: 0 0 0 0 var(--accent-lime-glow);
}
.hero .btn--primary:hover {
  background: var(--accent-lime-hover);
  box-shadow: 0 12px 40px var(--accent-lime-glow);
}

.hero__sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--cream-muted);
  max-width: 32rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.5rem);
  bottom: 2.5rem;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream-dim);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--amber), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
@media (min-width: 860px) {
  .hero__scroll { display: flex; }
  .hero { align-items: center; padding-bottom: 0; }
  .hero__content { padding-bottom: 0; margin-top: 4rem; }
}

/* ===== Sections ===== */
.section {
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
}

.section__head {
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  max-width: 36rem;
}

.section__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section__desc {
  color: var(--cream-muted);
  font-size: 1.05rem;
}

/* ===== Work grid ===== */
.work-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
  .work-card--featured {
    grid-column: 1 / -1;
  }
  .work-card--featured .work-card__media {
    aspect-ratio: 21 / 9;
  }
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease), background 0.4s var(--ease);
}
.work-card:hover {
  border-color: var(--line-strong);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.work-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.work-card__poster,
.motion-poster,
.work-card__hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work-card__hover {
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.work-card.is-hovering .work-card__hover { opacity: 1; }
.work-card.is-hovering .work-card__poster,
.work-card.is-hovering .motion-poster { opacity: 0; transition: opacity 0.4s var(--ease); }

.work-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.work-card:hover .work-card__play {
  opacity: 0;
  transform: scale(0.9);
}

.work-card__meta {
  padding: 1.25rem 1.35rem 1.4rem;
}
.work-card__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.55rem;
}
.work-card__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
}
.work-card__meta h3 {
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.55rem;
}
.work-card__brand h3 { margin-bottom: 0; }

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--amber);
  background: var(--amber-glow);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.work-card__note {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--cream-dim);
}
.work-card__disclaimer {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: var(--cream-dim);
  line-height: 1.5;
}

/* ===== Motion graphics ===== */
.motion {
  background:
    radial-gradient(circle at 78% 16%, rgba(224, 169, 76, 0.08), transparent 25rem),
    var(--bg-elev);
  border-block: 1px solid var(--line);
}

.motion .section__head { max-width: 46rem; }
.motion-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.motion-grid .work-card__play {
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
}
.motion-grid .work-card__play svg { width: 40px; height: 40px; }

.motion-poster {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.6rem);
  overflow: hidden;
  color: #f8f4ec;
  background: #10100f;
  transition: opacity 0.4s var(--ease);
}
.motion-poster::before,
.motion-poster::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.motion-poster__index,
.motion-poster__meta {
  position: relative;
  z-index: 1;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.16em;
}
.motion-poster__meta { color: rgba(248, 244, 236, 0.55); }
.motion-poster strong {
  position: relative;
  z-index: 1;
  max-width: 88%;
  font-size: clamp(1.35rem, 3vw, 2.35rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.motion-poster--formwork {
  background:
    repeating-radial-gradient(ellipse at 78% 50%, transparent 0 7px, rgba(246, 242, 233, 0.07) 8px 9px),
    #0b0b0b;
}
.motion-poster--formwork::after {
  right: 14%;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef6848;
  box-shadow: 0 0 28px rgba(239, 104, 72, 0.5);
}

.motion-poster--kakao {
  color: #151412;
  background:
    linear-gradient(90deg, transparent 49.5%, rgba(20, 20, 18, 0.09) 50%, transparent 50.5%),
    linear-gradient(rgba(255,255,255,0.26), rgba(255,255,255,0)),
    #f4c928;
}
.motion-poster--kakao .motion-poster__meta { color: rgba(21, 20, 18, 0.55); }
.motion-poster__signal {
  position: absolute;
  top: 21%;
  right: 16%;
  width: clamp(40px, 7vw, 68px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #151412;
  box-shadow: -28px 26px 0 -14px rgba(21, 20, 18, 0.22);
}

.motion-poster--lumi {
  background:
    radial-gradient(circle at 69% 38%, #ef6848 0 7px, transparent 8px),
    radial-gradient(ellipse at 68% 50%, transparent 0 18%, rgba(248, 244, 236, 0.11) 18.5% 19%, transparent 19.5% 30%, rgba(248, 244, 236, 0.07) 30.5% 31%, transparent 31.5%),
    #11110f;
}
.motion-poster__orbit {
  position: absolute;
  right: -4%;
  top: 43%;
  width: 58%;
  color: rgba(248, 244, 236, 0.42);
  font-size: clamp(0.55rem, 1vw, 0.75rem);
  letter-spacing: 0.38em;
  transform: perspective(240px) rotateY(-34deg) rotateZ(-8deg);
}

@media (min-width: 720px) {
  .motion-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
}
@media (min-width: 1120px) {
  .motion-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .motion-grid .work-card__meta { min-height: 226px; }
}

/* ===== Vertical / phone ===== */
.vertical {
  background: var(--bg-elev);
  border-block: 1px solid var(--line);
}

.vertical__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .vertical__inner {
    grid-template-columns: 1fr auto;
    gap: 4rem;
  }
}

.vertical__list {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.vertical__list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream-muted);
  font-size: 0.98rem;
}
.vertical__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.phone {
  justify-self: center;
  width: min(280px, 70vw);
}
.phone__bezel {
  position: relative;
  background: #1c1814;
  border: 3px solid #2e2822;
  border-radius: 36px;
  padding: 10px;
  box-shadow:
    0 0 0 1px rgba(250,246,237,0.06),
    0 40px 80px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(250,246,237,0.04);
  aspect-ratio: 9 / 19.5;
  overflow: hidden;
}
.phone__notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 18px;
  background: #0c0a08;
  border-radius: 20px;
  z-index: 2;
}
.phone__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
}

/* ===== Process ===== */
.process-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .process-steps { grid-template-columns: repeat(5, 1fr); gap: 1.15rem; }
}

.process-step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem 1.6rem;
  transition: border-color 0.35s var(--ease);
}
.process-step:hover { border-color: var(--line-strong); }
.process-step__num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 1rem;
}
.process-step h3 {
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.process-step p {
  font-size: 0.88rem;
  color: var(--cream-dim);
  line-height: 1.55;
}

/* ===== Packages ===== */
.packages { background: var(--bg-elev); border-block: 1px solid var(--line); }

.pkg-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .pkg-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.pkg {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(182, 216, 91, 0.45);
  border-radius: var(--radius);
  padding: 2rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.pkg:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
}
.pkg--featured {
  border-color: rgba(182, 216, 91, 0.45);
  background: linear-gradient(165deg, #221c14 0%, var(--bg-card) 55%);
  box-shadow: 0 0 60px var(--amber-glow);
}
@media (min-width: 800px) {
  .pkg--featured { margin-block: -0.35rem; padding-block: 2.35rem; }
}

.pkg__tier {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cream-dim);
  margin-bottom: 0.85rem;
}
.pkg__service {
  font-size: clamp(2rem, 4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 0.55rem;
}
.pkg__scope {
  color: var(--amber);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.pkg__description {
  color: var(--cream-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 1.55rem;
  flex: 1;
}
/* ===== Footer ===== */
.footer {
  padding: clamp(4.5rem, 10vw, 7rem) 0 3rem;
  border-top: 1px solid var(--line);
}

.footer__inner {
  display: grid;
  gap: 3rem;
}
@media (min-width: 800px) {
  .footer__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: end;
  }
}

.footer__cta h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.footer__cta p {
  color: var(--cream-muted);
  margin-bottom: 1.75rem;
  max-width: 28rem;
}

.footer__meta dl {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.footer__meta dl > div {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.footer__meta dt {
  color: var(--cream-dim);
  font-weight: 500;
}
.footer__meta dd { color: var(--cream); }
.footer__copy {
  font-size: 0.8rem;
  color: var(--cream-dim);
}

/* ===== FORMWORK Contact ===== */
.contact-section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: var(--nav-h);
}
.contact-section__inner {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 7vw, 6rem);
  align-items: start;
}
.contact-copy h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.contact-copy > p:last-child { color: var(--cream-muted); line-height: 1.85; }
.form-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.form-top h3 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 500; }
.form-top > span { color: var(--cream-dim); font-size: 0.67rem; letter-spacing: 0.15em; }
#contact-form label { display: block; color: var(--cream-muted); font-size: 0.82rem; line-height: 1.7; }
#contact-form input:not([type="checkbox"]), #contact-form textarea {
  width: 100%; margin: 0.45rem 0 1.15rem; padding: 0.9rem 0;
  color: var(--cream); background: transparent; border: 0; border-bottom: 1px solid var(--line);
  border-radius: 0; font: inherit; outline: none;
}
#contact-form input:focus, #contact-form textarea:focus { border-bottom-color: var(--amber); }
#contact-form textarea { resize: vertical; min-height: 8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-consent { display: flex !important; align-items: flex-start; gap: 0.65rem; cursor: pointer; }
#contact-form input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; width: 1rem; height: 1rem; flex: 0 0 1rem;
  margin: 0.2rem 0 0; border: 1px solid var(--cream-dim); background: transparent; position: relative;
}
#contact-form input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 0.27rem; top: 0.08rem; width: 0.3rem; height: 0.55rem;
  border: solid var(--cream); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
}
.form-note { margin: 0 0 1.1rem; color: var(--cream-dim); font-size: 0.72rem; line-height: 1.7; }
.form-note a { color: var(--cream); text-decoration: underline; text-underline-offset: 0.2em; }
.form-trap { position: absolute; left: -10000px; }
.form-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; color: var(--cream-dim); font-size: 0.72rem; }
.form-bottom button { padding: 0.85rem 1.35rem; border: 0; border-radius: 999px; background: var(--amber); color: var(--bg); font: inherit; font-weight: 650; }
.form-bottom button:disabled { opacity: 0.5; }
#form-status { min-height: 1.5rem; margin: 1rem 0 0; color: var(--cream-muted); font-size: 0.8rem; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: var(--cream-dim); font-size: 0.72rem; letter-spacing: 0.08em; }

@media (max-width: 760px) {
  .contact-section__inner { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer__bar { align-items: flex-start; flex-direction: column; }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 6, 4, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox[hidden] { display: flex; }

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  color: var(--cream);
  border-radius: 50%;
  background: rgba(250,246,237,0.08);
  transition: background 0.25s;
  z-index: 2;
}
.lightbox__close:hover { background: rgba(250,246,237,0.16); }

.lightbox__frame {
  width: min(100%, 960px);
  transform: scale(0.96);
  transition: transform 0.4s var(--ease);
}
.lightbox.is-open .lightbox__frame { transform: scale(1); }

.lightbox__frame video {
  width: 100%;
  border-radius: var(--radius-sm);
  background: #000;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}
.lightbox__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.lightbox__caption strong {
  font-size: 1.05rem;
  font-weight: 650;
}
.lightbox__caption span {
  font-size: 0.8rem;
  color: var(--amber);
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Stagger children slightly via CSS delay helpers */
.work-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.work-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.work-grid .reveal:nth-child(3) { transition-delay: 0.18s; }
.work-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.process-steps .reveal:nth-child(1) { transition-delay: 0.05s; }
.process-steps .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-steps .reveal:nth-child(3) { transition-delay: 0.15s; }
.process-steps .reveal:nth-child(4) { transition-delay: 0.2s; }
.process-steps .reveal:nth-child(5) { transition-delay: 0.25s; }
.pkg-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.pkg-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.pkg-grid .reveal:nth-child(3) { transition-delay: 0.18s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll-line { animation: none; }
}


/* Above-fold hero: no flash of invisible text */
.hero .reveal { opacity: 1; transform: none; }

::selection {
  background: rgba(182, 216, 91, 0.35);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

.work-card:focus-visible {
  outline-offset: 4px;
}

@media (max-width: 420px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__actions .btn--text {
    width: fit-content;
    justify-content: flex-start;
    padding-inline: 0.35rem;
  }
}

/* Soft vignette on work media */
.work-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}
.work-card__play { z-index: 2; }

/* Phone subtle shine */
.phone__bezel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 36px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  pointer-events: none;
  z-index: 3;
}


/* Dual phone row for vertical shorts */
.phones {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: flex-end;
}
.phones .phone {
  justify-self: auto;
  width: min(240px, 42vw);
}
.phone__caption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.78rem;
  color: var(--cream-dim);
  letter-spacing: 0.02em;
}
@media (min-width: 860px) {
  .phones .phone { width: min(260px, 28vw); }
}

/* Three-phone layout (EMERA ONE · Mond Cookie · hince) */
.phones { gap: 1.25rem; align-items: flex-start; }
.phones .phone { width: min(200px, 42vw); }
.phone__title { display:block; color: var(--cream); font-size: 0.85rem; font-weight: 650; margin-bottom: 0.45rem; line-height: 1.4; }
.phone__caption .tag { margin-bottom: 0.45rem; }
.phone__note { display:block; font-size: 0.74rem; color: var(--cream-muted); line-height: 1.5; text-align: left; }
.phone__disclaimer { display:block; margin-top: 0.4rem; font-size: 0.7rem; color: var(--cream-dim); text-align: left; }
@media (min-width: 860px) and (max-width: 1179px) {
  .vertical__inner { grid-template-columns: 1fr; }
  .phones { justify-content: center; }
}
@media (min-width: 860px) {
  .phones .phone { width: min(220px, 24vw); }
}
@media (min-width: 1180px) {
  .phones .phone { width: 210px; }
}
