@font-face {
  font-family: "Familjen Grotesk";
  src: url("/assets/redesign/familjen-grotesk.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --paper: #f8fbff;
  --ink: #14213d;
  --mid: #425267;
  --line: #d5dee8;
  --ice: #b8ddf2;
  --cherry: #e01e3c;
  --action-hover: #b51630;
  --body: "Familjen Grotesk", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--body); }
main { min-height: 62vh; }
h1, h2, h3, p, figure, ul, dl, dd { margin: 0; }
h1, h2 { font-weight: 600; text-wrap: balance; }
h1 { font-size: 78px; line-height: 1.02; max-width: 16ch; }
h2 { font-size: 40px; line-height: 1.13; }
h3 { font-size: 18px; line-height: 1.35; }
p { max-width: 66ch; color: var(--mid); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.22em; }
button, input, textarea, select { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.shell { width: min(100% - 80px, 1120px); margin-inline: auto; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-footer { border-block: 1px solid var(--line) 0; }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; white-space: nowrap; text-decoration: none; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.header-inner ul { display: flex; flex-wrap: wrap; column-gap: 25px; padding: 0; list-style: none; }
.header-inner nav a, .footer-inner nav a { display: inline-block; padding-block: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.header-inner nav a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.header-inner nav a[aria-current] { text-decoration: underline 2px var(--cherry); text-underline-offset: 0.38em; }
.footer-inner { color: var(--mid); font-size: 15px; }
.footer-inner nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.footer-inner .footer-icon { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 5px; }
.footer-icon:hover { background: #e9f1f8; }
.footer-inner .footer-privacy { margin-inline-start: 8px; padding-inline: 10px; border-inline-start: 1px solid var(--line); }
.skip { position: absolute; inset: 8px auto auto 8px; transform: translateY(-160%); padding: 8px 12px; background: white; z-index: 1; }
.skip:focus { transform: none; }
.intro { padding-block: 83px 76px; }
.home-intro { background: var(--ice); }
.intro p, .lead { font-size: 23px; line-height: 1.48; max-width: 48ch; }
h1 + p, h2 + p { margin-top: 16px; }
p + p { margin-top: 14px; }
.back { display: inline-block; margin-bottom: 20px; font-size: 15px; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 27px; }
.button, .text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.button { background: var(--cherry); color: white; border: 1px solid transparent; border-radius: 5px; padding: 8px 14px; min-height: 46px; line-height: 1.25; text-decoration: none; cursor: pointer; font-weight: 600; }
.button:hover { background: var(--action-hover); }
.button-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: #e9f1f8; }
.text-link { color: var(--ink); text-decoration-thickness: 1px; }
.actions .text-link { min-height: 44px; }
.arrow { display: inline-block; flex-shrink: 0; line-height: 1; transition: transform 150ms ease; }
.button-icon { display: block; }
a:hover .arrow:not(.arrow-down), button:hover .arrow:not(.arrow-down) { transform: translateX(3px); }
.band { border-top: 1px solid var(--line); padding-block: 40px 54px; }
.band:last-child { padding-bottom: 70px; }
.rows { padding: 0; list-style: none; margin-top: 16px; }
.rows li { display: grid; grid-template-columns: minmax(174px, 0.7fr) 1.5fr; align-items: baseline; gap: 8px 24px; padding-block: 17px; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.project-type { color: var(--mid); font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.intro .project-type { margin-bottom: 7px; font-size: 15px; }
.featured-work li { grid-template-columns: minmax(138px, .9fr) minmax(0, 1fr); }
.project-index .rows li { grid-template-columns: minmax(188px, .8fr) minmax(0, 1.5fr); }
.project-index, .featured-work { overflow-wrap: break-word; }
.project-return { border-top: 1px solid var(--line); padding-block: 22px; }
.work-band { background: var(--ink); color: var(--paper); padding-block: 54px; }
.work-band h2::before { content: ""; display: block; width: 32px; height: 3px; margin-bottom: 12px; background: var(--cherry); }
.work-grid { display: grid; grid-template-columns: 1.18fr 0.82fr; align-items: start; gap: 50px; }
.work-band p, .work-band figcaption { color: #c2cddb; }
.work-band :focus-visible { outline-color: var(--paper); }
.work-band .text-link { color: var(--paper); }
.work-band .rows li { border-color: #435065; }
figure a { display: block; }
figure img { border: 1px solid var(--line); border-radius: 5px; }
.work-band figure img { border-color: #435065; }
figcaption { margin-top: 9px; color: var(--mid); font-size: 14px; }
.closing { padding-block: 50px; display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; border-top: 1px solid var(--line); }
.work-band + .closing { border-top: 0; }
.about-grid { border-top: 0; padding-block: 74px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 55px; align-items: start; }
.about-grid img { max-width: min(100%, 340px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 5px; }
.contact-content { max-width: 610px; padding-block: 60px; }
.contact-content h1 { font-size: 58px; }
.contact-content form { margin-top: 24px; }
.field-note { color: var(--mid); font-size: 14px; font-weight: 400; }
.contact-booking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.contact-booking h2 { font-size: 21px; }
form { display: grid; gap: 16px; margin-top: 12px; max-width: 610px; }
form p { font-size: 15px; }
label, legend { font-weight: 600; }
label > input:not([type=radio]), textarea, select { display: block; width: 100%; margin-top: 5px; min-height: 44px; padding: 9px 11px; color: var(--ink); background: white; border: 1px solid #8998a9; border-radius: 4px; }
select { min-width: 0; }
textarea { resize: vertical; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
fieldset { padding: 0; margin: 0; min-inline-size: 0; border: 0; }
legend { padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.choices label { display: flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 400; }
input[type=radio] { accent-color: var(--ink); }
form button { justify-self: start; }
.status:empty { display: none; }
.plain { max-width: 66ch; padding-left: 22px; margin-top: 15px; color: var(--mid); }
.plain li + li { margin-top: 7px; }
details { padding-block: 12px; border-bottom: 1px solid var(--line); max-width: 70ch; }
details:first-of-type { margin-top: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 8px 0 4px; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.metrics div { display: flex; flex-direction: column-reverse; border-top: 2px solid var(--line); padding-top: 13px; }
.metrics dd { font: 600 38px/1.15 var(--body); color: var(--ink); margin-bottom: 5px; }
.metrics dt { color: var(--mid); }
.detail-shot { max-width: 540px; margin-top: 20px; }
.case-intro { padding-block: 48px 36px; }
.case-intro h1 { max-width: none; font-size: 58px; text-wrap: wrap; }
.case-intro h1 + p { max-width: 62ch; font-size: 20px; margin-top: 12px; }
.case-study { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 48px; padding-block: 32px 38px; }
.case-story section + section { margin-top: 24px; }
.case-story h2 { font-size: 24px; }
.case-story h2 + p { margin-top: 7px; }
.case-story p + p { margin-top: 10px; }
.case-evidence img { width: 100%; }
.case-evidence figcaption a { display: inline-block; }
.sample-evidence { display: grid; gap: 24px; }
.workflow-graphic { padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: white; }
.workflow-graphic h2 { margin-bottom: 18px; font-size: 22px; }
.sample-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.sample-timeline li { position: relative; display: grid; align-content: start; gap: 5px; padding-inline-end: 9px; }
.sample-timeline li:not(:last-child)::before { content: ""; position: absolute; top: 14px; left: 30px; right: 0; border-top: 1px solid var(--line); }
.sample-timeline li > span { display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: 4px; border-radius: 50%; background: var(--ice); color: var(--ink); font-weight: 700; }
.sample-timeline strong, .sample-timeline p { font-size: 14px; line-height: 1.4; }
.property-coverage { --property-ink: #201e42; --property-pink: #ffb1d9; --property-plum: #6d2e50; color: var(--property-ink); border-top: 3px solid var(--property-ink); }
.coverage-graphic { display: grid; gap: 18px; }
.coverage-graphic dt { font-size: 15px; font-weight: 600; }
.coverage-graphic dd:not(.coverage-track, .coverage-remainder) { display: flex; align-items: baseline; gap: 5px; }
.coverage-graphic dd strong { font-size: 26px; }
.coverage-rate { margin-inline-start: auto; color: var(--property-plum); font-weight: 700; }
.coverage-track { height: 9px; overflow: hidden; margin-top: 4px; border-radius: 4px; background: var(--property-pink); }
.coverage-track::before { content: ""; display: block; width: var(--share); height: 100%; background: var(--property-ink); }
.coverage-graphic div + div .coverage-track::before { background: var(--property-plum); }
.coverage-remainder { margin-top: 5px; font-size: 13px; color: var(--mid); }
.coverage-roles { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.coverage-roles dl { display: grid; gap: 9px; margin-top: 9px; }
.coverage-roles dl > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1px 10px; font-size: 14px; }
.coverage-roles dl > div::after { content: ""; grid-column: 1 / -1; height: 5px; border-radius: 3px; background: linear-gradient(to right, var(--property-plum) var(--share), #f4eef2 var(--share)); }
.coverage-roles dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.coverage-roles p { margin-top: 12px; font-size: 13px; }
.reporting-graphic { --reporting-gray: #737373; --reporting-accent: #d83ce7; --reporting-green: #52df45; --reporting-ink: #0c1615; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--reporting-ink); }
.reporting-graphic-header { padding: 17px 18px; border-top: 3px solid var(--reporting-accent); border-radius: 5px 5px 0 0; background: var(--reporting-green); }
.reporting-graphic-header h2 { font-size: 22px; }
.reporting-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(24px, .32fr) minmax(0, 1fr); padding: 16px 16px 12px; }
.reporting-sources, .reporting-destination { display: grid; margin: 0; padding: 0; list-style: none; }
.reporting-sources { grid-template-rows: repeat(4, minmax(0, 1fr)); }
.reporting-destination { position: relative; grid-template-rows: repeat(2, minmax(0, 1fr)); align-items: center; }
.reporting-destination::before { content: ""; position: absolute; inset: 25% auto 25% 50%; border-left: 2px solid var(--reporting-accent); }
.reporting-flow li { position: relative; display: grid; align-content: center; overflow-wrap: anywhere; min-width: 0; padding: 6px 8px; margin-block: 4px; border: 1px solid #dedede; border-radius: 5px; background: white; font-size: 14px; line-height: 1.3; }
.reporting-flow li span { font-size: 13px; color: var(--reporting-gray); }
.reporting-destination li { border-color: var(--reporting-accent); }
.reporting-destination li:last-child { background: var(--reporting-green); }
.reporting-destination li:last-child span { color: var(--reporting-ink); }
.reporting-connectors { display: block; align-self: stretch; width: 100%; height: 100%; overflow: visible; }
.reporting-connectors path { fill: none; stroke: var(--reporting-accent); stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.reporting-stat { margin-inline: 16px; padding-block: 10px 14px; border-top: 1px solid var(--line); }
.reporting-stat div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 8px; }
.reporting-stat dt { font-size: 14px; color: var(--reporting-gray); }
.reporting-stat dd { order: -1; font-size: 24px; font-weight: 700; }
.audience-graphic { --audience-green: #1fc283; --audience-blue: #d5e8fa; --audience-ink: #020b16; border: 1px solid var(--line); border-radius: 6px; background: white; color: var(--audience-ink); }
.audience-chart-header { padding: 18px 20px; border-radius: 5px 5px 0 0; background: var(--audience-ink); color: white; }
.audience-chart-header h2 { font-size: 22px; }
.audience-chart-header h2 + p { margin-top: 6px; font-size: 14px; color: var(--audience-blue); }
.audience-chart-header p strong { color: var(--audience-green); font-size: 23px; line-height: 1; }
.audience-chart-body { padding: 16px 20px; }
.audience-series + .audience-series { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.audience-series-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-bottom: 8px; }
.audience-series-heading p { font-size: 14px; }
.audience-series-heading p strong { color: var(--audience-ink); }
.audience-distribution { display: grid; grid-template-columns: var(--segments); gap: 3px; }
.audience-segment { --segment: var(--audience-green); display: grid; align-content: start; grid-template-rows: 12px auto auto; gap: 2px; min-width: 0; }
.audience-segment:nth-child(2) { --segment: var(--audience-blue); }
.audience-segment:nth-child(3) { --segment: var(--audience-ink); }
.audience-segment::before { content: ""; background: var(--segment); border-radius: 2px; }
.audience-segment dt { padding-top: 4px; color: var(--mid); font-size: 13px; overflow-wrap: anywhere; }
.audience-segment dd { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.audience-chart-note { margin-top: 14px; font-size: 13px; }
.creator-evidence { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; width: min(100%, 440px); }
.creator-metrics div { flex-direction: column; }
.creator-metrics dd { order: -1; font-size: 30px; }
.creator-metrics dt { font-size: 14px; line-height: 1.4; }
.tools { margin-top: 14px; }
@media (max-width: 850px) {
  .shell { width: calc(100% - 48px); }
  h1 { font-size: 64px; }
  .work-grid, .about-grid { gap: 28px; }
  .case-study { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .case-evidence { max-width: 560px; }
}
@media (max-width: 620px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { display: block; padding-block: 9px 3px; }
  .header-inner ul { gap: 0 15px; }
  .header-inner nav a { font-size: 14px; }
  .intro { padding-block: 52px 48px; }
  .case-intro { padding-block: 32px 28px; }
  .case-intro h1 { font-size: 40px; }
  .case-intro h1 + p { font-size: 18px; }
  h1 { font-size: 53px; }
  h2 { font-size: 34px; }
  .intro p, .lead { font-size: 20px; }
  .band, .work-band { padding-block: 32px 40px; }
  .work-grid, .about-grid, .rows li { grid-template-columns: minmax(0, 1fr); }
  .project-index .rows li, .featured-work li { grid-template-columns: minmax(0, 1fr); }
  .about-grid { padding-top: 52px; }
  .contact-content { padding-block: 38px 44px; }
  .contact-content h1 { font-size: 42px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 5px; padding-block: 15px; }
  .metrics { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .metrics dd { font-size: 34px; }
  .creator-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .creator-metrics dd { font-size: 25px; }
}
@media (max-width: 350px) {
  h1 { font-size: 45px; }
  .workflow-graphic { padding: 14px; }
  .pair { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .arrow { transition: none; }
  a:hover .arrow:not(.arrow-down), button:hover .arrow:not(.arrow-down) { transform: none; }
}
