/* pullquote.studio — V4 Light
   White canvas. The brand colours move into the type:
   navy for text, ice blue as a highlighter, peach for marks and fills.
   Peach is 2.1:1 on white, so it never carries small text —
   small timecodes use --peach-ink (derived, 5:1). */
:root {
  --canvas: #ffffff;
  --soft: #f3fbff;          /* ice blue at ~20% on white */
  --ice: #c0ebff;           /* specified */
  --line: #dcebf3;
  --navy: #002b4c;          /* specified — 14.5:1 on white */
  --ink-body: #1c4262;      /* navy, softened for long paragraphs — 10:1 */
  --muted: #4f6f85;         /* derived — 5.3:1, AA */
  --peach: #f59e71;         /* specified */
  --peach-ink: #b4532a;     /* derived — 5:1, for small peach text only */

  --display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --text: 720px;
  --wide: 1180px;
  --gutter: 28px;
  --shadow: 0 1px 2px rgba(0,43,76,.06), 0 12px 32px -12px rgba(0,43,76,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--canvas); color: var(--ink-body); font: 400 18px/1.68 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--peach-ink); }
:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--ice); color: var(--navy); }

.wrap { max-width: var(--text); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 120px 0; }
.tint { background: var(--soft); }

h1, h2, h3 { color: var(--navy); margin: 0; font-weight: 600; }
h1 { font-family: var(--display); font-size: clamp(2.9rem, 7.6vw, 6rem); line-height: 1; letter-spacing: -0.04em; }
h2 { font-family: var(--display); font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 28px; }
h3 { font: 600 1.15rem/1.35 var(--display); letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { color: var(--navy); font-weight: 700; }
.lede { font-size: clamp(1.12rem, 2vw, 1.3rem); line-height: 1.58; color: var(--navy); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .9em; }
.tc { font-family: var(--mono); color: var(--peach-ink); }
.todo { outline: 1px dashed var(--muted); outline-offset: 2px; color: var(--muted); border-radius: 2px; }

/* the highlighter — ice blue behind navy type */
.hl { background: linear-gradient(transparent 58%, var(--ice) 58%, var(--ice) 92%, transparent 92%) no-repeat 0 0 / 0% 100%; transition: background-size 1.1s cubic-bezier(.6,0,.2,1); padding: 0 .06em; }
.hl.on, .no-js .hl { background-size: 100% 100%; }
.hl-peach { background-image: linear-gradient(transparent 62%, var(--peach) 62%, var(--peach) 90%, transparent 90%); }

.kicker { display: inline-block; font: 500 .76rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.kicker b { color: var(--peach-ink); font-weight: 500; margin-right: 8px; }

.btn { display: inline-flex; align-items: center; gap: 10px; background: var(--peach); color: var(--navy); font: 700 1.02rem/1 var(--sans); padding: 18px 28px; border-radius: 999px; text-decoration: none; box-shadow: 0 2px 0 var(--navy); border: 2px solid var(--navy); transition: transform .15s, box-shadow .15s; }
.btn:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 4px 0 var(--navy); }
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--navy); }
.btn-sm { padding: 10px 18px; font-size: .9rem; box-shadow: 0 2px 0 var(--navy); }
.link-quiet { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--ice); padding-bottom: 1px; }
.link-quiet:hover { color: var(--navy); border-color: var(--peach); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 40px 0 18px; }
.micro { font: 400 .84rem/1.5 var(--mono); color: var(--muted); }
.fine { font-size: .93rem; color: var(--muted); margin-top: 18px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap-wide { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.wordmark { font: 600 1.25rem/1 var(--display); color: var(--navy); text-decoration: none; letter-spacing: -0.02em; }
.wordmark span { color: var(--peach-ink); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { color: var(--navy); text-decoration: none; font-size: .96rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--peach-ink); }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 100px 0 40px; overflow: hidden; }
.hero .wrap { max-width: 980px; }
.hero .lede { max-width: 34em; margin: 34px auto 0; }
.hero .cta-row { justify-content: center; }
.fan { position: relative; height: 420px; margin: 70px 0 60px; display: flex; justify-content: center; }
.fan .card { position: absolute; bottom: 0; width: 210px; aspect-ratio: 2/3; border-radius: 18px; overflow: hidden; background: var(--soft) center/cover; box-shadow: var(--shadow); border: 5px solid #fff; transform-origin: 50% 120%; transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.fan .card .chip { position: absolute; left: 10px; bottom: 10px; background: #fff; color: var(--navy); font: 500 .72rem/1 var(--mono); padding: 6px 9px; border-radius: 999px; }
.fan .card .chip b { color: var(--peach-ink); font-weight: 500; }
.fan:hover .card { transform: translate(var(--x2), var(--y)) rotate(var(--r2)); }
@media (max-width: 760px) { .fan { height: 290px; } .fan .card { width: 140px; border-width: 3px; border-radius: 12px; } }

/* ---------- what i do ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.trio > div { background: #fff; border-radius: 22px; padding: 30px 28px; box-shadow: var(--shadow); }
.trio .ic { width: 46px; height: 46px; border-radius: 50%; background: var(--ice); color: var(--navy); display: grid; place-items: center; font: 600 1rem/1 var(--display); margin-bottom: 22px; }
.trio > div:nth-child(2) .ic { background: var(--peach); }
.trio h3 { margin-bottom: 8px; }
.trio p { font-size: .98rem; }
.platforms { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 36px; }
.platforms span { font: 500 .78rem/1 var(--mono); color: var(--navy); background: #fff; border: 1px solid var(--line); padding: 10px 14px; border-radius: 999px; }
@media (max-width: 860px) { .trio { grid-template-columns: 1fr; } }

/* ---------- pull quote ---------- */
.pullquote { padding: 130px 0; background: var(--ice); position: relative; overflow: hidden; }
.pullquote .mark { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); font: 600 22rem/1 var(--display); color: var(--peach); opacity: .9; pointer-events: none; user-select: none; }
.pullquote blockquote { margin: 0; position: relative; text-align: center; }
.pullquote p { font: 600 clamp(2.1rem, 5.6vw, 4.4rem)/1.06 var(--display); letter-spacing: -0.035em; color: var(--navy); text-wrap: balance; margin: 0; }
.pullquote cite { display: block; margin-top: 30px; font: 500 .82rem/1.4 var(--mono); font-style: normal; color: var(--navy); letter-spacing: .04em; }
@media (max-width: 600px) { .pullquote .mark { font-size: 14rem; top: -20px; } }

/* ---------- deliverables ---------- */
.deliverables { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.deliverables li { display: grid; grid-template-columns: 40px 1fr; padding: 18px 0; border-bottom: 1px solid var(--line); }
.deliverables li::before { content: ""; width: 22px; height: 22px; margin-top: 4px; border-radius: 50%; background: var(--ice) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5l3.2 3.2L16 8' fill='none' stroke='%23002b4c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.closing { margin-top: 40px; font: 600 clamp(1.4rem, 3vw, 1.9rem)/1.25 var(--display); color: var(--navy); letter-spacing: -0.02em; }

/* ---------- samples ---------- */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; align-items: start; }
.samples .sample:nth-child(2) { margin-top: 48px; }
.sample { background: #fff; border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.sample .frame { aspect-ratio: 2/3; background: var(--soft); }
.sample video { width: 100%; height: 100%; object-fit: cover; }
.sheet { padding: 18px 20px 22px; font: 400 .82rem/1.6 var(--mono); color: var(--navy); }
.sheet .top { display: flex; justify-content: space-between; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.sheet p { margin: 0 0 6px; }
.sheet .k { color: var(--muted); }
.shuffle { background: #fff; border: 2px solid var(--navy); color: var(--navy); font: 700 .9rem/1 var(--sans); padding: 12px 18px; border-radius: 999px; cursor: pointer; }
.shuffle:hover { background: var(--ice); }
@media (max-width: 900px) {
  .samples { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: min(78vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; margin: 40px calc(-1 * var(--gutter)) 0; padding: 10px var(--gutter) 30px; scroll-padding: var(--gutter); }
  .samples .sample:nth-child(2) { margin-top: 0; }
  .sample { scroll-snap-align: start; }
}

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; position: relative; }
.steps li { counter-increment: s; position: relative; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--navy); color: var(--ice); font: 600 1.6rem/1 var(--display); margin-bottom: 24px; position: relative; z-index: 1; }
.steps li:nth-child(2)::before { background: var(--peach); color: var(--navy); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 32px; left: 64px; right: -40px; border-top: 2px dashed var(--ice); }
.steps strong { display: block; font: 600 1.2rem/1.3 var(--display); margin-bottom: 8px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 32px; } .steps li:not(:last-child)::after { display: none; } }

/* ---------- pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; align-items: stretch; }
.tier { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px 30px; }
.tier .price { font: 600 3.8rem/1 var(--display); letter-spacing: -0.045em; color: var(--navy); margin: 20px 0 24px; }
.tier dl { margin: 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.tier dl div { display: flex; justify-content: space-between; }
.tier dt { color: var(--muted); }
.tier dd { margin: 0; font-family: var(--mono); font-size: .88rem; color: var(--navy); }
.tier.featured { background: var(--navy); border-color: var(--navy); color: rgba(192,235,255,.85); transform: translateY(-14px); box-shadow: 0 30px 60px -30px rgba(0,43,76,.6); }
.tier.featured h3, .tier.featured .price, .tier.featured dd { color: var(--ice); }
.tier.featured dt { color: #8fb6cc; }
.tier.featured dl { border-color: #0e4a76; }
.badge { position: absolute; top: -14px; left: 28px; background: var(--peach); color: var(--navy); font: 700 .76rem/1 var(--sans); padding: 8px 13px; border-radius: 999px; border: 2px solid var(--navy); }
.addons { margin-top: 70px; }
.addons h3 { margin-bottom: 14px; }
.table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table th, .table td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--navy); font-weight: 700; }
.table thead th { font: 500 .74rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.table .num { text-align: right; font-family: var(--mono); color: var(--navy); white-space: nowrap; padding-right: 0; }
.callout { margin-top: 36px; padding: 30px 34px; border-radius: 22px; background: var(--ice); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.callout h3 { font-size: 1.4rem; }
.callout p { margin: 6px 0 0; color: var(--navy); }
@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; gap: 28px; }
  .tier.featured { transform: none; }
  .addons .table td:nth-child(2) { display: none; }
}

/* ---------- fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fit > div { border-radius: 22px; padding: 32px; }
.fit > div:first-child { background: var(--ice); }
.fit > div + div { border: 2px dashed var(--line); }
.fit h3 { margin-bottom: 12px; }
@media (max-width: 760px) { .fit { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 200px 1fr; gap: 56px; align-items: start; }
.avatar { width: 200px; aspect-ratio: 1; border-radius: 50%; background: var(--ice); display: grid; place-items: center; font: 600 4.4rem/1 var(--display); color: var(--navy); position: relative; }
.avatar::after { content: ""; position: absolute; width: 56px; height: 56px; border-radius: 50%; background: var(--peach); right: 4px; bottom: 8px; border: 5px solid #fff; }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; gap: 28px; } .avatar { width: 120px; font-size: 2.8rem; } .avatar::after { width: 36px; height: 36px; border-width: 4px; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; align-items: start; }
.faq details { background: #fff; border-radius: 18px; border: 1px solid var(--line); transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 52px 20px 22px; font: 600 1.05rem/1.35 var(--display); color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font: 500 1.1rem/1 var(--mono); color: var(--navy); transition: transform .25s, background .25s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--peach); }
.faq details p { padding: 0 22px 22px; }
.faq .wrap details + details { margin-top: 12px; }
@media (max-width: 760px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- final ---------- */
.final { padding: 0 0 100px; }
.final-box { background: var(--peach); border-radius: 36px; padding: 100px 40px; text-align: center; color: var(--navy); position: relative; overflow: hidden; }
.final h2 { font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 1; letter-spacing: -0.045em; margin-bottom: 26px; }
.final p { max-width: 32em; margin-left: auto; margin-right: auto; color: var(--navy); font-size: 1.1rem; }
.final .btn { background: var(--navy); color: var(--ice); margin-top: 24px; font-size: 1.08rem; padding: 20px 32px; box-shadow: 0 3px 0 #001a2e; }
.final .btn:hover { color: #fff; }
.final .micro { color: var(--navy); margin-top: 20px; }
@media (max-width: 600px) { .final-box { border-radius: 24px; padding: 70px 22px; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: .92rem; color: var(--muted); }
.site-footer .wrap-wide { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: end; }
.site-footer p { margin: 0 0 4px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--navy); }

/* ---------- agencies page ---------- */
.page-agencies main > section:nth-of-type(even):not(.final) { background: var(--soft); }
.page-agencies .hero { text-align: left; padding: 110px 0; }
.page-agencies .hero .wrap { max-width: var(--text); }
.page-agencies .hero .lede { margin: 30px 0 0; }
.page-agencies .hero .cta-row { justify-content: flex-start; }
.page-agencies h1 { font-size: clamp(2.6rem, 6.4vw, 4.8rem); }
.page-agencies .final { padding: 100px 0; text-align: center; background: var(--peach); }
.page-agencies .final .wrap { max-width: 820px; }
.page-agencies .steps { margin-top: 10px; }
.table.spec th { width: 32%; padding-right: 24px; }
.table.rates td.num { font: 600 1.7rem/1 var(--display); letter-spacing: -0.03em; }
.table.rates th, .table.rates td { vertical-align: middle; padding: 20px 0; }
@media (max-width: 640px) {
  .table.spec th, .table.spec td { display: block; width: auto; border: 0; padding: 0; }
  .table.spec tr { display: block; border-bottom: 1px solid var(--line); padding: 16px 0; }
}

@media (max-width: 600px) { :root { --gutter: 16px; } body { font-size: 17px; } section { padding: 84px 0; } .pullquote { padding: 96px 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .hl { background-size: 100% 100%; }
}
