/* Jessie Z Media Production — site styles
   Brand: black #231F20, red #ED1C24. Fonts: Josefin Sans (headings), Figtree (text). */
:root {
  --ink: #231F20;
  --red: #ED1C24;
  --red-dark: #C8141B;
  --red-soft: #FDECEC;
  --muted: #6B6365;
  --line: #E6E1E1;
  --chip: #F3F0F0;
  --paper: #FFFFFF;
  --tint: #FBFAF9;
  --display: "Josefin Sans", "Futura", "Century Gothic", system-ui, sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, system-ui, sans-serif;
  --max: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 64px); font-weight: 700; letter-spacing: .01em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: .02em; }
.eyebrow { font-family: var(--display); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 600; color: var(--red); margin: 0 0 12px; }
.lede { font-size: 19px; color: var(--muted); max-width: 62ch; margin: 16px 0 0; }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section.tint { background: var(--tint); }
.section-head { display: grid; gap: 4px; margin-bottom: 36px; max-width: 760px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--body); text-decoration: none; border-radius: 999px; padding: 12px 22px; border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn.red { background: var(--red); border-color: var(--red); color: #fff; }
.btn.red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.light { border-color: #fff; color: #fff; }
.btn.light:hover { background: #fff; color: var(--ink); }
.btn.small { padding: 8px 16px; font-size: 14px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding-block: 8px; }
.brand { display: block; }
.brand img { width: 104px; height: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; font-size: 18px; }
  .nav .btn { margin-top: 8px; padding: 12px 22px; }
}

/* Hero */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero video.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(35,31,32,.92) 0%, rgba(35,31,32,.55) 60%, rgba(35,31,32,.25) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(72px, 12vw, 150px); }
.hero .eyebrow { color: #fff; opacity: .85; }
.hero h1 .accent { color: var(--red); }
.hero .lede { color: #E9E4E5; }
.hero .small-link { margin-top: 18px; font-size: 15px; color: #E9E4E5; }

/* Two directions */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.direction { border: 1px solid var(--line); border-radius: 6px; padding: 32px; display: grid; gap: 12px; align-content: start; background: #fff; }
.direction .tag { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.direction .tag::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.direction.marketing .tag::before { background: var(--red); }
.direction p { margin: 0; color: var(--muted); }
.direction .note { font-size: 15px; color: var(--red); font-weight: 600; }

/* Work grid */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.work { display: grid; gap: 10px; }
.work h3 { font-size: 19px; }
.work p { margin: 0; color: var(--muted); font-size: 15px; }
.work .kind { font-size: 13px; font-weight: 600; color: var(--red); }

/* Media frames (used by work items and format cards) */
.frame { position: relative; aspect-ratio: 16 / 9; background: var(--chip); border-radius: 4px; overflow: hidden; }
.frame video, .frame img { width: 100%; height: 100%; object-fit: cover; }
.frame .placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; color: var(--muted); font-size: 14px; background: repeating-linear-gradient(135deg, var(--chip) 0 14px, #EEEAEA 14px 28px); }
.frame .play { position: absolute; inset: 0; display: grid; place-items: center; background: transparent; border: 0; cursor: pointer; }
.frame .play span { width: 64px; height: 64px; border-radius: 50%; background: rgba(237,28,36,.92); display: grid; place-items: center; transition: transform .15s; }
.frame .play span::after { content: ""; border-left: 18px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; margin-left: 5px; }
.frame .play:hover span { transform: scale(1.08); }
.frame .badge { position: absolute; top: 0; left: 0; background: var(--ink); color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; padding: 6px 12px 5px; z-index: 2; }
.frame .badge i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #fff; margin-right: 7px; vertical-align: 1px; }
.frame .badge.marketing i { background: var(--red); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li { border-top: 3px solid var(--ink); padding-top: 14px; counter-increment: step; }
.steps li::before { content: counter(step); font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--red); }
.steps h3 { font-size: 19px; margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 16px; }

/* Sage band */
.sage { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: center; }
.sage .mark { font-family: var(--display); font-size: clamp(64px, 10vw, 120px); font-weight: 700; color: var(--red); line-height: 1; letter-spacing: .04em; }
.sage p { margin: 0 0 14px; }
@media (max-width: 760px) { .sage { grid-template-columns: 1fr; gap: 12px; } }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; }
.cta-band .wrap { padding-block: clamp(56px, 8vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band p { margin: 10px 0 0; color: #E9E4E5; max-width: 52ch; }

/* Formats page */
.rates { display: flex; flex-wrap: wrap; gap: 10px 32px; margin-top: 20px; }
.rate { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.rate b { font-family: var(--display); font-size: 26px; }
.rate.comm b { color: var(--red); }
.rate span { color: var(--muted); font-size: 15px; }
.filters { display: flex; flex-wrap: wrap; gap: 16px 36px; align-items: center; margin-bottom: 28px; }
.fgroup { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.fgroup > span { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 700; color: var(--muted); }
.seg { display: inline-flex; border: 2px solid var(--ink); border-radius: 999px; overflow: hidden; }
.seg button { font: 600 15px var(--body); background: transparent; color: var(--ink); border: 0; padding: 8px 16px; cursor: pointer; }
.seg button + button { border-left: 2px solid var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.count { color: var(--muted); font-size: 15px; margin-left: auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
@media (max-width: 420px) { .cards { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; background: #fff; }
.card .frame { border-radius: 0; }
.card .body { padding: 20px 22px 0; display: grid; gap: 12px; align-content: start; }
.card h3 { font-size: 21px; }
.card .one { margin: 0; color: var(--muted); font-size: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: var(--chip); border-radius: 3px; padding: 2px 9px; font-size: 13px; font-weight: 500; }
.chip.print { background: var(--red-soft); color: var(--red); }
dl.specs { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 0; font-size: 15px; }
dl.specs dt { color: var(--muted); }
dl.specs dd { margin: 0; }
.card .foot { margin-top: 18px; padding: 16px 22px 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.price small { display: block; font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; color: var(--muted); }
.price b { font-family: var(--display); font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.price .tax { font-size: 14px; color: var(--muted); font-weight: 500; }
.price .comm { display: block; font-size: 14px; color: var(--muted); }
.price .comm strong { color: var(--red); }
.addons { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.addons th { text-align: left; font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; color: var(--muted); padding: 8px 12px 8px 0; border-bottom: 2px solid var(--ink); }
.addons td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.addons .num { text-align: right; white-space: nowrap; padding-right: 0; }
.table-wrap { overflow-x: auto; }
.notes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px 36px; }
.notes p { margin: 0; color: var(--muted); }
.notes strong { display: block; color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 14px; margin-bottom: 4px; }

/* Dialogs */
dialog { border: 0; padding: 0; border-radius: 8px; width: min(860px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: #fff; color: var(--ink); }
dialog::backdrop { background: rgba(20,16,17,.78); }
dialog.player { background: #000; width: min(1100px, calc(100vw - 24px)); }
dialog.player .ratio { aspect-ratio: 16 / 9; }
dialog.player iframe { width: 100%; height: 100%; border: 0; }
.close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(35,31,32,.85); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.sheet { padding: 32px; display: grid; gap: 22px; }
.sheet .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
.sheet h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; color: var(--red); margin: 0 0 8px; }
.sheet ul { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.sheet .est { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: 15px; }
.sheet .est td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.sheet .est td:last-child { text-align: right; }
.sheet .est .total td { font-weight: 700; border-bottom: 2px solid var(--ink); }
@media (max-width: 640px) { .sheet { padding: 22px 18px; } .sheet .cols { grid-template-columns: 1fr; } }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
.portrait { aspect-ratio: 4 / 5; background: var(--chip); border-radius: 6px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 20px; overflow: hidden; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.prose p { margin: 0 0 16px; max-width: 66ch; }
.beliefs { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.beliefs h3 { font-size: 19px; margin-bottom: 8px; }
.beliefs p { margin: 0; color: var(--muted); }
.creds { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.creds li { padding-left: 22px; position: relative; }
.creds li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--red); }
.about-grid.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 820px) { .about-grid, .about-grid.two { grid-template-columns: 1fr; gap: 28px; } .portrait { max-width: 380px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form.inquiry { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field .hint { font-weight: 400; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
input, select, textarea { font: 16px var(--body); color: var(--ink); background: #fff; border: 1.5px solid #CFC8C9; border-radius: 4px; padding: 11px 12px; width: 100%; }
textarea { min-height: 150px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.radios label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.radios input { width: auto; accent-color: var(--red); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-left: 4px solid var(--red); background: var(--red-soft); margin-bottom: 18px; }
.contact-card { background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 28px; display: grid; gap: 18px; }
.contact-card h3 { font-size: 18px; text-transform: uppercase; letter-spacing: .1em; }
.contact-card p { margin: 0; }
.contact-card a { font-weight: 600; }

/* Footer */
.site-footer { border-top: 3px solid var(--ink); padding-block: 40px 28px; font-size: 15px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.site-footer img { width: 104px; margin-bottom: 10px; }
.site-footer h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; color: var(--muted); margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr; } }
