/* Walk On Productions — dark cinematic site, alternating navy and white case-study bands */
@font-face {
  font-family: "Neutra Display Titling";
  src: url("fonts/neutra-display-titling.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0a151b;
  --navy: #0f1f28;
  --navy-2: #0d1a21;
  --panel: #12222b;
  --line: #2c4757;
  --paper: #ffffff;
  --text: #e8e5de;
  --text-soft: #c4cbcf;
  --text-mute: #a9b3b8;
  --white: #f4f1ea;
  --accent: #b8bec2;
  --tag: #c4cbcf;
  --dark-text: #1a2730;
  --dark-soft: #44535c;
  --dark-mute: #56626a;
  --display: "Neutra Display Titling", "Fraunces", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--navy-2); color: var(--text); font-family: var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text-soft); }
a:hover { color: #ffffff; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.eyebrow { font-size: 12px; letter-spacing: 0.26em; font-weight: 600; color: var(--accent); text-transform: uppercase; }
.display { font-family: var(--display); font-weight: 400; text-wrap: balance; }

/* Buttons */
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 22px;
  border-radius: 999px; background: var(--accent); color: #14202a; text-decoration: none;
  font-size: 15px; font-weight: 600;
}
.pill:hover { background: #ffffff; color: #14202a; }
.arrow-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; font-weight: 500; text-underline-offset: 6px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); min-height: 760px; display: flex; flex-direction: column; border-bottom: 1px solid #1f3440; }
.hero picture, .hero .bg { position: absolute; inset: 0; }
.hero .bg { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.hero .bg { z-index: 0; }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero::before { background: linear-gradient(90deg, rgba(8,17,22,0.92) 0%, rgba(8,17,22,0.72) 38%, rgba(8,17,22,0.18) 70%, rgba(8,17,22,0) 100%); }
.hero::after { background: linear-gradient(180deg, rgba(8,17,22,0.55) 0%, rgba(8,17,22,0) 22%, rgba(8,17,22,0) 70%, rgba(13,26,33,0.85) 100%); }
.hero > .wrap { width: 100%; }
.nav { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-block: 24px; }
.nav .logo img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.nav-links > a:not(.pill) { color: var(--text); text-decoration: none; font-size: 15px; }
.hero-body { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-block: 72px 112px; }
.hero-copy { max-width: 600px; min-width: 0; }
.hero .eyebrow { display: flex; align-items: center; gap: 14px; }
.hero .eyebrow::after { content: ""; width: 32px; height: 1px; background: var(--accent); }
.hero h1 { font-size: clamp(3.2rem, 7vw, 6rem); line-height: 1.02; margin: 20px 0 0; color: var(--white); }
.hero h1 span { color: var(--accent); }
.hero p { font-size: 18px; line-height: 1.65; color: var(--text-soft); max-width: 520px; margin: 24px 0 0; }

/* Case studies */
.study { background: var(--navy); }
.study.light { background: var(--paper); color: var(--dark-text); }
.study .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-block: 112px; }
.study.light .wrap { flex-wrap: wrap-reverse; }
.study-copy { flex: 1 1 420px; min-width: 0; }
.study-media { flex: 1 1 520px; min-width: 0; position: relative; }
.num { font-family: var(--display); font-size: 150px; line-height: 0.8; color: var(--dark-mute); }
.study.light .num { color: var(--tag); }
.study-text { margin-top: -40px; padding-left: 96px; }
.study.light .eyebrow { color: var(--dark-mute); }
.study h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1.08; margin: 16px 0 0; color: #ffffff; }
.study.light h2 { color: var(--dark-text); }
.study .sub { font-family: var(--display); font-size: 21px; margin: 14px 0 0; color: #3a4a54; }
.study p.body { font-size: 17px; line-height: 1.65; color: var(--text-soft); margin: 20px 0 0; max-width: 440px; }
.study.light p.body { color: var(--dark-soft); margin-top: 16px; }
.study.light .arrow-link { color: #3f4a51; }

.video { position: relative; width: 100%; max-width: 100%; border-radius: 18px; overflow: hidden; background: #1b303c; border: 1px solid var(--line); }
.study.light .video { border-color: #d6dadd; background: #26343c; }
.video.r169 { aspect-ratio: 16 / 9; }
.video.r43 { aspect-ratio: 4 / 3; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.tag-card {
  position: absolute; padding: 16px 20px; border-radius: 12px; background: var(--tag); color: var(--navy);
  font-size: 13px; line-height: 1.6; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,0.25); pointer-events: none;
}
.tag-card.br { right: -16px; bottom: 32px; }
.tag-card.tl { left: -16px; top: 32px; box-shadow: 0 10px 30px rgba(20,32,42,0.18); }
.tag-card.bb { right: -16px; bottom: -24px; }

/* More work carousel */
.more { background: var(--paper); color: var(--dark-text); }
.more .wrap { padding-block: 96px; }
.more-head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; }
.more .eyebrow { color: var(--dark-mute); }
.more h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 12px 0 0; }
.carousel-btns { display: flex; gap: 12px; }
.carousel-btns button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid #1a2730; background: #1a2730; color: var(--white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.carousel-btns button:first-child { background: transparent; color: #1a2730; border-color: #9aa3a8; }
.carousel-btns button:disabled { opacity: 0.35; cursor: default; }
.track {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 24px) / 2));
  gap: 24px; margin-top: 40px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; border-radius: 16px; overflow: hidden; background: var(--panel); color: var(--white); min-width: 0; }
.card .video { border: 0; border-radius: 0; background: #23353f; }
.card .chip { position: absolute; z-index: 1; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #14202a; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; pointer-events: none; }
.card .meta { padding: 20px 22px 24px; }
.card h3 { font-family: var(--display); font-weight: 500; font-size: 21px; margin: 0; }
.card .client { font-size: 14px; color: #b9c1c5; margin-top: 6px; }

/* About + contact + footer share a backdrop that fades to dark */
.closing { position: relative; overflow: hidden; background: var(--ink); }
.closing-bg { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 2688 / 1520; min-height: 760px; }
.closing-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.closing-bg::before, .closing-bg::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.closing-bg::before { background: linear-gradient(90deg, rgba(10,21,27,0.94) 0%, rgba(10,21,27,0.78) 36%, rgba(10,21,27,0.2) 66%, rgba(10,21,27,0.05) 100%); }
.closing-bg::after { background: linear-gradient(180deg, rgba(10,21,27,0.7) 0%, rgba(10,21,27,0) 16%, rgba(10,21,27,0) 42%, rgba(10,21,27,0.75) 66%, #0a151b 92%); }
.about, .contact, .footer { position: relative; z-index: 1; }
.about .wrap { display: flex; flex-direction: column; gap: 32px; align-items: flex-start; padding-block: 128px 160px; }
.about-col { max-width: 560px; min-width: 0; }
.about h2 { font-size: clamp(2.2rem, 3.8vw, 3.2rem); line-height: 1.1; margin: 16px 0 0; color: var(--white); }
.about p { font-size: 18px; line-height: 1.7; color: var(--text-soft); margin: 0; }
.about p + p { margin-top: 20px; }
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin-top: 40px; }
.services div { border-top: 1px solid #3a5566; padding-top: 16px; }
.services strong { display: block; font-family: var(--display); font-weight: 400; font-size: 20px; color: var(--white); }
.services span { display: block; font-size: 14px; color: var(--text-mute); margin-top: 6px; }

.contact { padding-bottom: 80px; }
.contact-box {
  border-radius: 22px; border: 1px solid var(--accent); background: rgba(15,31,40,0.82);
  padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.contact-box > div { flex: 1 1 380px; min-width: 0; }
.contact h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); margin: 12px 0 0; color: var(--white); }
.contact p { font-size: 16px; line-height: 1.6; color: var(--text-soft); margin: 12px 0 0; max-width: 460px; }
.contact .email { display: block; margin-top: 10px; font-size: 15px; color: var(--text-mute); user-select: all; }

.footer { border-top: 1px solid #1f3440; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; align-items: flex-start; padding-block: 56px; }
.footer-brand { flex: 1 1 280px; }
.footer-brand img { height: 44px; width: auto; }
.footer-brand p { font-size: 14px; line-height: 1.6; color: var(--text-mute); margin: 16px 0 0; max-width: 300px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.footer-links .label { color: var(--accent); font-weight: 600; }
.footer-links a { text-decoration: none; }
.footer-sign { flex: 1 1 240px; text-align: right; }
.footer-sign .display { font-size: 22px; line-height: 1.3; color: var(--white); }
.footer-sign small { display: block; font-size: 13px; color: #8f9a9f; margin-top: 20px; }

/* Phone */
@media (max-width: 720px) {
  .hero { min-height: 640px; }
  .hero::before { background: linear-gradient(180deg, rgba(8,17,22,0.7) 0%, rgba(8,17,22,0.55) 50%, rgba(8,17,22,0.85) 100%); }
  .study .wrap { padding-block: 80px; gap: 40px; }
  .num { font-size: 104px; }
  .study-text { margin-top: -28px; padding-left: 40px; }
  .tag-card { position: static; display: inline-block; margin-top: 16px; }
  .track { grid-auto-columns: 86%; }
  .about .wrap { padding-block: 96px 120px; }
  .contact-box { padding: 36px 24px; }
  .footer-sign { text-align: left; }
}
