/* Case-study and service pages (built by scripts/make-seo-pages.mjs). Light, fast, no JavaScript. */
@font-face { font-family: Figtree; src: url(/assets/fonts/Figtree-Variable.ttf) format("truetype"); font-weight: 300 900; font-display: swap; }
:root { --teal: #008F9C; --teal-700: #00737D; --teal-50: #EAF5F6; --ink: #19232A; --paper: #F6F3EC; --muted: #5B666C; --line: rgba(25, 35, 42, .1); --r: 22px; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: Figtree, Arial, sans-serif; color: var(--ink); background: #FDFDFD; line-height: 1.6; font-size: 18px; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 40px); }

.top { position: sticky; top: 0; z-index: 5; background: rgba(253, 253, 253, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.top__logo img { width: 130px; height: auto; }
.top__nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 16px; }
.top__nav a { text-decoration: none; }
.top__nav a:hover { color: var(--teal); }
.top__cta, .btn { display: inline-block; background: var(--ink); color: #fff !important; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 16px; }
.btn { background: var(--teal); margin-top: 28px; padding: 15px 28px; }
.top__cta:hover, .btn:hover { background: var(--teal-700); }
@media (max-width: 720px) { .top__nav a:not(.top__cta) { display: none; } .top__logo img { width: 110px; } }

.crumbs { font-size: 14px; color: var(--muted); margin: 40px 0 28px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--teal); }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
h1 { font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; max-width: 16ch; }
.lead { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; color: var(--muted); max-width: 46ch; margin-top: 22px; }
h2 { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.025em; line-height: 1.1; margin: 80px 0 26px; }

/* case study */
.facts { display: flex; flex-wrap: wrap; gap: 18px 48px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.facts dt { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; }
.facts dd { font-weight: 600; margin-top: 4px; }
.hero { width: min(1400px, 100% - 40px); margin: 48px auto 0; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.hero img, .hero video { width: 100%; }
.summary { font-size: clamp(20px, 2vw, 24px); line-height: 1.55; margin-top: 64px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 44px; }
.stats div { background: var(--teal-50); border-radius: var(--r); padding: 26px; }
.stats b { display: block; font-size: 44px; letter-spacing: -.03em; color: var(--teal-700); line-height: 1; }
.stats span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
.body { display: grid; gap: 40px; margin-top: 64px; }
.text { width: min(820px, 100%); margin-inline: auto; }
.text h2 { margin: 24px 0 16px; font-size: clamp(26px, 3vw, 36px); }
.text p + p { margin-top: 14px; }
.list { list-style: none; display: grid; gap: 14px; margin-top: 10px; }
.list li { padding-left: 22px; position: relative; }
.list li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.fig, .pair figure { border-radius: var(--r); overflow: hidden; background: var(--paper); }
.fig img, .fig video, .pair img, .pair video { width: 100%; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pair figcaption { font-size: 14px; color: var(--muted); padding: 10px 14px; background: #fff; }
@media (max-width: 720px) { .pair { grid-template-columns: 1fr; } }
blockquote { width: min(900px, 100%); margin: 24px auto; font-size: clamp(26px, 3vw, 38px); line-height: 1.25; letter-spacing: -.02em; font-weight: 600; border-left: 4px solid var(--teal); padding-left: 28px; }
.svc-links { margin-top: 80px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 600; }
.svc-links a { border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 16px; text-decoration: none; font-size: 15px; }
.svc-links a:hover { border-color: var(--teal); color: var(--teal); }
.next { display: block; margin: 40px 0 0; padding: 40px 0; border-top: 1px solid var(--line); text-decoration: none; }
.next span { display: block; color: var(--muted); font-size: 15px; }
.next b { font-size: clamp(30px, 4vw, 52px); letter-spacing: -.03em; }
.next:hover b { color: var(--teal); }

/* lists of work and services */
.list-page { padding-bottom: 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 40px 28px; margin-top: 56px; }
.card { text-decoration: none; display: block; }
.card__img { display: block; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.card:hover .card__img img { transform: scale(1.04); }
.card__meta { display: block; margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.card__t { display: block; font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.card__s { display: block; color: var(--muted); margin-top: 4px; }

/* service page */
.offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.offers > div, .offers--links a { background: var(--paper); border-radius: var(--r); padding: 30px; }
.offers h3 { font-size: 21px; letter-spacing: -.01em; margin-bottom: 8px; }
.offers p { color: var(--muted); font-size: 17px; }
.offers--links { margin-top: 56px; }
.offers--links a { text-decoration: none; display: block; transition: background .3s; }
.offers--links a:hover { background: var(--teal-50); }
.offers--links h2 { font-size: 28px; margin: 0 0 10px; }
.offers--links span { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--teal); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font-size: 14px; font-weight: 700; color: var(--teal); }
.steps b { display: block; font-size: 22px; margin: 6px 0; }
.steps span { color: var(--muted); font-size: 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 12px; max-width: 70ch; }
.others { margin-top: 60px; color: var(--muted); }
.others a { color: var(--ink); font-weight: 600; }

/* footer */
.foot { background: var(--ink); color: #F6F3EC; margin-top: 120px; padding: 90px 0 40px; }
.foot__cta h2 { margin: 0; color: #fff; font-size: clamp(34px, 5vw, 64px); }
.foot__cta p { color: #A9B3B8; margin-top: 12px; max-width: 46ch; }
.foot__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(246, 243, 236, .14); }
.foot__cols h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: #A9B3B8; margin-bottom: 14px; }
.foot__cols a { display: block; text-decoration: none; padding: 4px 0; font-size: 16px; overflow-wrap: anywhere; }
.foot__cols a:hover { color: #4FB7C0; }
.foot__base { margin-top: 60px; font-size: 14px; color: #A9B3B8; }
