:root {
  --blue: #0F5E9C;
  --blue-deep: #0B4D82;
  --gold: #D8B25A;
  --ink: #16181D;
  --ink-2: #2A2E36;
  --muted: #5B616E;
  --muted-dark: #A3A9B4;
  --paper: #FFFFFF;
  --mist: #EEF1F4;
  --line: #E2E4E9;
  --line-dark: #2E333C;
  --max: 1240px;
  --display: "Archivo", "Inter", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--display); font-stretch: 78%; font-weight: 700; letter-spacing: -0.015em; line-height: 1.02; margin: 0; }
h2 { font-size: clamp(34px, 4.6vw, 60px); }
h3 { font-size: 24px; font-stretch: 85%; line-height: 1.15; }
p { margin: 0; }

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px; padding: 14px 26px; border-radius: 999px; border: 1px solid transparent; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; transition: background-color .25s, border-color .25s; border-bottom: 1px solid transparent; }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: #fff; }
.brand svg { width: 32px; height: 32px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { text-decoration: none; font-size: 15px; color: rgba(255,255,255,.85); }
.nav-links a:hover { color: #fff; }
.nav-links .nav-cta { background: #fff; color: var(--ink); padding: 9px 18px; border-radius: 999px; font-weight: 600; }
.nav-links .nav-cta:hover { background: var(--mist); color: var(--ink); }
.nav.solid { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); }
.nav.solid .brand { color: var(--ink); }
.nav.solid .nav-links a { color: var(--muted); }
.nav.solid .nav-links a:hover { color: var(--ink); }
.nav.solid .nav-links .nav-cta { background: var(--blue); color: #fff; }
.nav.solid .nav-links .nav-cta:hover { background: var(--blue-deep); }

/* Hero reel */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; background: #0c0e11; overflow: hidden; }
.reel, .hero-shade { position: absolute; inset: 0; }
.reel-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.1s ease; }
.reel-clip.is-on { opacity: 1; }
.hero-shade { background: linear-gradient(180deg, rgba(8,10,13,.55) 0%, rgba(8,10,13,0) 22%, rgba(8,10,13,0) 42%, rgba(8,10,13,.78) 100%); }
.hero-copy { position: relative; width: 100%; padding-top: 120px; padding-bottom: 36px; }
.hero h1 { font-size: clamp(44px, 7.4vw, 104px); font-stretch: 72%; font-weight: 750; max-width: 12ch; line-height: .96; letter-spacing: -0.02em; }
.hero-sub { margin-top: 22px; max-width: 52ch; font-size: 18px; color: rgba(255,255,255,.86); }
.hero-actions { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta { position: relative; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); }
.now-playing { display: flex; gap: 14px; align-items: baseline; font-size: 14px; }
.np-label { font-weight: 600; }
.np-kind { color: rgba(255,255,255,.66); }
.segments { display: flex; gap: 6px; width: min(260px, 40%); }
.segments i { flex: 1; height: 2px; background: rgba(255,255,255,.28); overflow: hidden; }
.segments b { display: block; height: 100%; width: 0; background: #fff; }

/* Intro */
.intro { padding: 120px 0 110px; }
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: start; }
.intro-head { font-size: clamp(32px, 3.9vw, 52px); }
.intro-body > p { font-size: 19px; color: var(--ink-2); max-width: 56ch; }
.facts { margin: 40px 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

/* Work */
.work { background: var(--ink); color: #fff; padding: 120px 0 130px; }
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; }
.work-head p { max-width: 44ch; color: var(--muted-dark); font-size: 16px; }
.case { display: grid; grid-template-columns: 7fr 5fr; gap: 28px; margin-bottom: 96px; align-items: end; }
.case figure, .mini figure { margin: 0; }
.case-main video, .case-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #222; }
.case-side { display: grid; gap: 28px; }
.case-side img { width: 72%; aspect-ratio: 4 / 5; object-fit: cover; }
.case-flip { grid-template-columns: 5fr 7fr; }
.case-flip .case-main { order: 2; }
.case-flip .case-side img { margin-left: auto; }
.case-text { max-width: 40ch; }
.case-flip .case-text { margin-left: auto; }
.case-text h3 { font-size: 30px; }
.case-kind { color: var(--gold); font-size: 14px; font-weight: 600; margin: 6px 0 14px; }
.case-text > p:not(.case-kind) { color: rgba(255,255,255,.8); }
.tags { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; padding: 5px 12px; border: 1px solid var(--line-dark); border-radius: 999px; color: rgba(255,255,255,.75); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; border-top: 1px solid var(--line-dark); padding-top: 64px; }
.mini-media { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.mini-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.mini > p:not(.case-kind) { color: rgba(255,255,255,.8); max-width: 46ch; }

/* Services */
.services { padding: 120px 0 100px; }
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.svc { border-top: 2px solid var(--ink); padding-top: 22px; }
.svc p { margin-top: 12px; color: var(--muted); }

/* Process */
.process { background: var(--mist); padding: 110px 0; }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-stretch: 72%; font-weight: 700; font-size: 64px; line-height: 1; color: var(--blue); margin-bottom: 18px; }
.steps p { margin-top: 10px; color: var(--muted); }

/* Offer band */
.offer { background: var(--blue); color: #fff; padding: 72px 0; }
.offer-row { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.offer h2 { font-size: clamp(30px, 3.6vw, 48px); }
.offer p { margin-top: 12px; color: rgba(255,255,255,.85); max-width: 52ch; }

/* FAQ */
.faq { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 72px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); max-width: 64ch; }

/* Closing + footer */
.closing { padding: 40px 0 130px; text-align: left; }
.closing h2 { font-size: clamp(40px, 6vw, 84px); font-stretch: 72%; max-width: 14ch; }
.closing p { margin: 18px 0 30px; font-size: 19px; color: var(--muted); }
.foot { border-top: 1px solid var(--line); padding: 36px 0; font-size: 15px; }
.foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-brand { display: flex; flex-direction: column; gap: 2px; }
.foot-brand span { color: var(--muted); }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .intro-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .case, .case-flip { grid-template-columns: 1fr; margin-bottom: 72px; }
  .case-flip .case-main { order: 0; }
  .case-side { grid-template-columns: 1fr 1fr; align-items: end; }
  .case-side img, .case-flip .case-side img { width: 100%; margin: 0; }
  .case-flip .case-text { margin-left: 0; }
  .work-head { flex-direction: column; align-items: start; }
  .svc-grid { grid-template-columns: 1fr; gap: 36px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .offer-row { flex-direction: column; align-items: start; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .intro, .services, .faq { padding: 84px 0; }
  .work { padding: 84px 0 90px; }
  .process { padding: 84px 0; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .case-side { grid-template-columns: 1fr; }
  .case-side figure { width: 70%; }
  .pair { grid-template-columns: 1fr; gap: 56px; }
  .steps { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; align-items: start; }
  .segments { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reel-clip { transition: none; }
}

/* Inquiry page */
.page { padding: 140px 0 110px; }
.inq-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: start; }
.inq-side { position: sticky; top: 110px; }
.inq-side h1 { font-size: clamp(42px, 5.6vw, 76px); font-stretch: 72%; line-height: .98; }
.inq-side .lede { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 42ch; }
.inq-photo { margin-top: 36px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.form-card { background: var(--mist); padding: 40px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 20px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--muted); }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #CDD2D9; border-radius: 6px; padding: 12px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,94,156,.18); }
textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute; left: -9999px; }
.submit { width: 100%; font-size: 17px; padding: 16px; cursor: pointer; font-family: inherit; }
.note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.status { display: none; padding: 18px 20px; margin-bottom: 22px; border-radius: 6px; }
.status strong { display: block; margin-bottom: 4px; }
.status.show { display: block; }
.status.ok { background: #E3F1E8; color: #1D5B33; }
.status.err { background: #FBE7E6; color: #8A2620; }
.inq-steps { margin-top: 36px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.inq-steps li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.inq-steps strong { color: var(--ink); font-weight: 600; }
.inner .nav { background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); }
.inner .brand { color: var(--ink); }
.inner .nav-links a { color: var(--muted); }
.inner .nav-links .nav-cta { background: var(--blue); color: #fff; }
@media (max-width: 960px) {
  .inq-grid { grid-template-columns: 1fr; gap: 40px; }
  .inq-side { position: static; }
  .inq-photo { display: none; }
}
@media (max-width: 620px) {
  .form-card { padding: 24px 20px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .page { padding: 110px 0 80px; }
}
