@font-face {
  font-family: "Frame Head";
  src: url("fonts/FrameHead-Roman-Web.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #141414;
  --muted: #76746f;
  --line: #e6e6e3;
  --tint: #f2f2f0;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 76px;
  --title: 27px;
  --head: "Frame Head", "Times New Roman", serif;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }

/* ---------- header ----------
   Same two columns as the hero: logo over the text column, menu spread evenly across the gallery column. */
.site-header {
  position: sticky; top: 0; z-index: 20;
  height: var(--header-h);
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); align-items: center;
  padding: 0 var(--gutter);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease);
}
html.header-hidden .site-header { transform: translateY(-100%); }
.logo { justify-self: start; font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: .1em; line-height: 1; }
.site-nav { display: flex; align-items: center; justify-content: space-between; font-size: 16px; }
.site-nav a { position: relative; }
.site-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.cta { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.cta.is-inactive { cursor: default; }
.lang-switch::after { display: none; }
.menu-toggle { display: none; justify-self: end; background: none; border: 0; padding: 8px 0; cursor: pointer; font-size: 14px; }

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px;
    padding: 20px var(--gutter) 28px; background: var(--bg); font-size: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .3s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
}

/* ---------- shared ---------- */
.section { padding: clamp(56px, 7vw, 104px) var(--gutter) 0; }
.section-title { font-size: var(--title); line-height: 1.2; margin-bottom: 28px; }
.section-label { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.section-more { margin-top: 40px; }
.arrow-link { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color .3s; }
.arrow-link::after { content: "→"; transition: transform .3s var(--ease); }
.arrow-link:hover { border-color: var(--ink); }
.arrow-link:hover::after { transform: translateX(4px); }
.lead p + p { margin-top: 1em; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter);
  height: calc(100svh - var(--header-h) - 76px); min-height: 520px;
  padding: 24px var(--gutter) var(--gutter);
}
.hero-text { display: flex; flex-direction: column; justify-content: space-between; padding-top: 2vh; }
.hero h1 { font-size: var(--title); line-height: 1.2; max-width: 520px; }
.hero-services { max-width: 34ch; font-size: 15px; line-height: 1.5; }
.hero-services a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--muted); transition: text-decoration-color .3s; }
.hero-services a:hover { text-decoration-color: var(--ink); }
.hero-gallery { position: relative; overflow: hidden; border-radius: 4px; background: var(--tint); }
.hero-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 7s linear; }
.hero-slide.is-active img { transform: scale(1); }
.hero-slide figcaption, .hero-gallery-cta {
  position: absolute; bottom: 18px; color: #fff; font-size: 13px; text-shadow: 0 1px 12px rgba(0,0,0,.35);
}
.hero-slide figcaption { left: 20px; }
.hero-gallery-cta { right: 20px; }
.hero-gallery-cta::after { content: " →"; display: inline-block; transition: transform .3s var(--ease); }
.hero-gallery:hover .hero-gallery-cta::after { transform: translateX(4px); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .hero-text { gap: 32px; padding-top: 4vh; }
  .hero-gallery { aspect-ratio: 4 / 5; }
}

/* ---------- services ----------
   Desktop: the section pins (sticky) and vertical scrolling moves the cards sideways (html.pin, set in site.js).
   Phones / touch: a plain swipeable row. Only transform is animated, so it stays smooth. */
.services { padding-top: 48px; }
.rail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 0 var(--gutter); }
.rail-progress { flex: 0 0 160px; height: 1px; background: var(--line); align-self: center; margin-bottom: 28px; }
.rail-progress span { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.services-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 480px); gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 4px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.services-rail::-webkit-scrollbar { display: none; }
html.pin .services-sticky {
  position: sticky; top: 0; height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start; padding-top: calc(var(--header-h) + 24px); overflow: hidden;
}
html.pin .services-rail { overflow: visible; scroll-snap-type: none; width: max-content; will-change: transform; grid-auto-columns: min(34vw, calc((100svh - var(--header-h) - 260px) * 4 / 3)); }
html.pin .services { margin-top: calc(-1 * var(--header-h)); }
.service-card { scroll-snap-align: start; display: flex; flex-direction: column; }
.service-media { border-radius: 4px; overflow: hidden; background: var(--tint); aspect-ratio: 4 / 3; margin-bottom: 16px; }
.service-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service-card:hover .service-media video { transform: scale(1.03); }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p { color: #3b3a37; font-size: 14px; margin-bottom: 14px; max-width: 46ch; }
.service-card .arrow-link { align-self: flex-start; }
.rail-dots { display: none; }
@media (max-width: 860px) {
  /* phones/tablets: each service is a framed card, the next one peeks in, dots show where you are */
  .services-rail { grid-auto-columns: 78vw; gap: 12px; }
  .service-card { background: var(--tint); border-radius: 6px; padding: 10px 10px 18px; }
  .service-card .service-media { margin-bottom: 14px; }
  .service-card h3, .service-card p, .service-card .arrow-link { margin-left: 6px; margin-right: 6px; }
  .rail-progress { display: none; }
  .rail-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
  .rail-dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .25s, transform .25s; }
  .rail-dots span.is-active { background: var(--ink); transform: scale(1.2); }
}

/* ---------- masonry ---------- */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry-2 { columns: 2 340px; }
@media (max-width: 700px) { .featured-grid { columns: 2; column-gap: 8px; } .featured-grid .masonry-item { margin-bottom: 8px; } }
.featured-grid .masonry-item, .featured-grid img, .featured-grid video { border-radius: 0; }
.masonry-item { display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; position: relative; break-inside: avoid; margin: 0 0 16px; border-radius: 4px; overflow: hidden; background: var(--tint); }
.masonry-item img, .masonry-item video { width: 100%; transition: transform .8s var(--ease); }
a.masonry-item:hover img, a.masonry-item:hover video, button.masonry-item:hover img, button.masonry-item:hover video { transform: scale(1.025); }
figure.masonry-item { cursor: default; }
.tile-caption {
  position: absolute; left: 14px; bottom: 12px; color: #fff; font-size: 13px; text-shadow: 0 1px 12px rgba(0,0,0,.4);
  opacity: 0; transform: translateY(4px); transition: .35s var(--ease);
}
a.masonry-item:hover .tile-caption, a.masonry-item:focus-visible .tile-caption { opacity: 1; transform: none; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(255,255,255,.98); display: flex; align-items: center; justify-content: center; animation: lb-in .25s ease; }
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-stage { width: calc(100vw - 160px); height: calc(100svh - 150px); display: flex; align-items: center; justify-content: center; }
.lightbox-caption { font-size: 14px; min-height: 1.4em; text-align: center; max-width: 60ch; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 2px; }
.lightbox button { position: absolute; background: none; border: 0; cursor: pointer; font-size: 14px; padding: 12px; }
.lightbox-close { top: 16px; right: calc(var(--gutter) - 12px); }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); font-size: 22px; width: 64px; height: 64px; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-count { position: absolute; top: 28px; left: var(--gutter); font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
body.lb-open { overflow: hidden; }
@media (max-width: 700px) {
  .lightbox-stage { width: 100vw; height: calc(100svh - 170px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 4px; transform: none; }
}

/* ---------- clients ---------- */
/* a quiet strip right under the hero */
.clients { display: flex; align-items: center; gap: 24px 48px; padding: 8px var(--gutter) 0; }
.clients .section-label { margin: 0; flex: 0 0 auto; white-space: nowrap; }
/* endless running strip: the list is repeated in JS so the track can slide by exactly one copy */
.logo-marquee {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.clients .logo-row { flex-wrap: nowrap; width: max-content; gap: 0; }
.clients .logo-row li { flex: 0 0 auto; padding-right: clamp(40px, 5vw, 72px); }
.clients .logo-row img { height: 24px; width: auto; max-width: 140px; object-fit: contain; }
.logo-marquee.is-running .logo-row { animation: marquee var(--marquee-time, 40s) linear infinite; }
.logo-marquee:hover .logo-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(calc(-100% / var(--copies, 2)), 0, 0); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee.is-running .logo-row { animation: none; } }
@media (max-width: 860px) {
  .clients { flex-direction: column; align-items: stretch; gap: 16px; padding-top: 24px; }
  .logo-marquee { margin: 0 calc(-1 * var(--gutter)); }
  .clients .logo-row li { padding-right: 36px; }
  .clients .logo-row img { height: 20px; max-width: 110px; }
}.logo-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: clamp(28px, 5vw, 72px); }
.logo-row img { height: 28px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); mix-blend-mode: multiply; opacity: .75; transition: opacity .3s; }
.logo-row img:hover { opacity: 1; }

/* ---------- case studies ---------- */
.page-head h1 { font-size: var(--title); line-height: 1.2; margin-bottom: 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters button { background: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 13px; cursor: pointer; transition: .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters-sep { width: 1px; height: 20px; background: var(--line); margin: 0 6px; }

.case-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(32px, 4vw, 56px) clamp(16px, 2.4vw, 32px); }
.case-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
.case-tile[hidden] { display: none; }
.case-tile-media { aspect-ratio: 1; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.case-tile-media img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; border-radius: 3px; transition: transform .8s var(--ease); }
.case-tile:hover .case-tile-media img { transform: scale(1.03); }
.case-tile h3 { font-size: 17px; line-height: 1.25; }
.case-tile-client { color: var(--muted); }
.case-tile p { color: var(--muted); font-size: 13px; margin-top: 4px; }
.empty-note { color: var(--muted); }
@media (max-width: 1000px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .case-grid-3 { grid-template-columns: 1fr; } }

.case-hero img { width: 100%; max-height: calc(100svh - var(--header-h)); object-fit: cover; }
.case-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px var(--gutter); }
.case-head h1 { font-size: var(--title); line-height: 1.2; grid-column: 1 / -1; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; align-content: start; }
.facts dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; }
.case-description { font-size: 16px; line-height: 1.5; max-width: 52ch; color: rgba(0, 0, 0, .9); }
@media (max-width: 760px) { .case-head { grid-template-columns: 1fr; } }
.closing { padding: clamp(48px, 7vw, 96px) var(--gutter) 0; }
.closing video { width: 100%; border-radius: 4px; }
/* case study gallery: square corners, more air between images and at the sides */
.case-gallery { padding-left: clamp(20px, 6vw, 96px); padding-right: clamp(20px, 6vw, 96px); }
.case-gallery .masonry { column-gap: clamp(16px, 2vw, 28px); }
.case-gallery .masonry-item { margin-bottom: clamp(16px, 2vw, 28px); border-radius: 0; }
.case-gallery video, .case-gallery img { border-radius: 0; }
.more-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }

/* ---------- about ---------- */
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px var(--gutter); padding-top: clamp(64px, 7vw, 104px); padding-bottom: clamp(48px, 8vw, 120px); }
.about-intro h1 { font-size: var(--title); line-height: 1.2; max-width: 15ch; }
.about-text { margin-top: clamp(48px, 8vw, 120px); max-width: 580px; display: grid; gap: 1.5em; }
.about-text p { font-size: 16px; line-height: 1.5; color: rgba(0, 0, 0, .9); }
@media (max-width: 760px) { .about-intro { grid-template-columns: 1fr; } .about-text { margin-top: 8px; } }
.about-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); align-items: end; }
.about-head h1 { max-width: 12ch; margin: 0; }
.lead { font-size: 16px; line-height: 1.5; max-width: 52ch; }
.team {
  display: grid; grid-auto-flow: column; gap: clamp(12px, 2vw, 24px);
  grid-auto-columns: calc((100% - 3 * clamp(12px, 2vw, 24px)) / 4);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px;
}
.person { scroll-snap-align: start; }
.person-placeholder { width: 100%; aspect-ratio: 4 / 5; border-radius: 4px; background: #d9d9d6; }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; background: var(--tint); }
.person figcaption { margin-top: 14px; display: grid; gap: 2px; }
.person strong { font-weight: 500; }
.person span { color: var(--muted); font-size: 13px; }
.workflow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.workflow li { padding: 20px 24px 0 0; }
.step-n { font-size: 12px; color: var(--muted); }
.workflow h3 { font-size: 20px; margin: 8px 0 10px; }
.workflow p { color: #3b3a37; max-width: 30ch; }
.stages { list-style: none; margin: clamp(56px, 7vw, 96px) 0 0; padding: 0; display: flex; align-items: stretch; gap: 12px; }
.stage { flex: 2; background: var(--tint); border-radius: 4px; padding: 24px; }
.stage img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 3px; margin-bottom: 18px; }
.stage h3 { font-size: 18px; margin-bottom: 8px; }
.stage p { color: #3b3a37; font-size: 14px; }
.stage-comment { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-size: 13px; position: relative; }
.stage-comment::before { content: "→"; display: block; margin-right: 6px; }
@media (max-width: 860px) {
  .about-head { grid-template-columns: 1fr; }
  .team { grid-auto-columns: 44vw; }
  .workflow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .stages { flex-direction: column; }
  .stage-comment { padding: 4px 0; }
  .stage-comment::before { content: "↓"; }
}

/* ---------- contact (layout as on the Framer site: title left, details stacked in the right half) ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px var(--gutter); }
.contact h1 { font-size: var(--title); line-height: 1.2; }
.contact-body { display: grid; gap: 40px; max-width: 580px; }
.contact-intro { font-size: 16px; line-height: 1.5; }
.contact-email { font-size: 24px; line-height: 1.4; }
.contact-block h2 { font-size: 17px; margin-bottom: 6px; }
.contact-block p, p.contact-block { font-size: 15px; line-height: 1.6; }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* ---------- footer (as on the Framer site: black, white Geist) ---------- */
.site-footer {
  margin-top: clamp(96px, 12vw, 180px);
  background: #000; color: #fff;
  min-height: 480px; padding: 20px var(--gutter) 24px;
  display: grid; grid-template-columns: 1fr .75fr 1fr .35fr; grid-template-rows: auto 1fr auto auto;
  column-gap: 24px; font-family: var(--sans);
}
.site-footer a { color: #fff; }
.footer-logo { font-weight: 500; font-size: 15px; letter-spacing: .1em; grid-column: 1; grid-row: 1; }
.footer-statement { grid-column: 2; grid-row: 1; font-size: 18px; line-height: 1.25; }
.footer-links { grid-column: 3; grid-row: 1; display: flex; flex-wrap: wrap; gap: 6px 32px; font-size: 16px; align-content: start; }
.footer-links a { opacity: .9; transition: opacity .2s; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.footer-clock { grid-column: 4; grid-row: 1; font-size: 16px; text-align: right; white-space: nowrap; }
.footer-clock span { font-variant-numeric: tabular-nums; margin-left: 6px; }
.footer-tagline { grid-column: 3; grid-row: 3; font-size: 18px; line-height: 1.4; max-width: 24ch; margin-bottom: 48px; }
.footer-email, .footer-social { grid-row: 4; font-size: 24px; line-height: 1.2; }
.footer-email { grid-column: 1 / 3; }
.footer-instagram { grid-column: 3; }
.footer-linkedin { grid-column: 4; justify-self: end; white-space: nowrap; }
.footer-social span { display: inline-block; transition: transform .3s var(--ease); }
.footer-social:hover span { transform: translate(3px, -3px); }
@media (max-width: 860px) {
  .site-footer { grid-template-columns: 1fr 1fr; grid-template-rows: none; row-gap: 28px; min-height: 0; padding-top: 32px; }
  .footer-logo, .footer-statement, .footer-links, .footer-clock, .footer-tagline, .footer-email, .footer-instagram, .footer-linkedin { grid-column: auto; grid-row: auto; }
  .footer-links, .footer-tagline, .footer-email { grid-column: 1 / -1; }
  .footer-clock { text-align: left; }
  .footer-tagline { margin-bottom: 0; }
  .footer-email, .footer-social { font-size: 20px; }
  .footer-linkedin { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 600px) { .logo { font-size: 16px; } }

.person-photo { display: block; overflow: hidden; border-radius: 4px; }
.person-photo img { transition: transform .8s var(--ease); }
.person-photo:hover img { transform: scale(1.03); }
.person span a, .contact-email a, .footer-email { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: currentColor; }

/* ---------- CMS loading states ---------- */
.skeleton { background: var(--tint); border-radius: 4px; animation: pulse 1.6s ease-in-out infinite; }
.masonry-item.skeleton { height: 260px; cursor: default; }
.masonry-item.skeleton:nth-child(3n) { height: 360px; }
.masonry-item.skeleton:nth-child(4n) { height: 200px; }
.case-tile.skeleton { background: none; animation: none; }
.case-tile.skeleton .case-tile-media { background: var(--tint); border-radius: 4px; animation: pulse 1.6s ease-in-out infinite; }
.person.skeleton { background: none; animation: none; }
.case-hero-skeleton { height: 70svh; border-radius: 0; }
.cms-note { color: var(--muted); }
@keyframes pulse { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .skeleton, .case-tile.skeleton .case-tile-media { animation: none; } }

/* ---------- privacy policy ---------- */
.legal { padding: 0 var(--gutter) clamp(64px, 8vw, 120px); max-width: calc(68ch + 2 * var(--gutter)); font-size: 16px; line-height: 1.6; }
.legal h2 { font-size: 22px; line-height: 1.3; margin: 48px 0 12px; }
.legal h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 24px 0 6px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal-date { color: var(--muted); font-size: 14px; }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; z-index: 60; left: var(--gutter); bottom: var(--gutter); width: min(400px, calc(100vw - 2 * var(--gutter)));
  background: var(--bg); color: var(--ink); border: 1px solid var(--line); padding: 20px 22px 18px;
  font-size: 14px; line-height: 1.5; box-shadow: 0 12px 40px rgba(0, 0, 0, .08);
}
.cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 28px; margin-top: 14px; }
.cookie-actions button, .footer-cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.cookie-actions button { font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.cookie-actions button[data-consent="essential"] { color: var(--muted); }
.cookie-actions button:hover { color: var(--ink); }
.footer-cookies { opacity: .9; text-align: left; }
.footer-cookies:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) { .cookie-banner { left: 12px; right: 12px; bottom: 12px; width: auto; } }