/* By Chasseur Agency
   Palette and logo from sister brand bychasseur.com (off-white, sand, chocolate, Poppins),
   set in a contemporary layout: oversized light type, floating nav, bento grid, marquee feed. */
:root {
  --paper: #FBFAF5;
  --sand: #F1ECE2;
  --linen: #E4DACB;
  --taupe: #A8917C;
  --cocoa: #5E3E2D;
  --cocoa-deep: #2E1F16;
  --ink: #1C1A17;
  --text: rgba(28, 26, 23, .8);
  --muted: rgba(28, 26, 23, .62);
  --line: rgba(28, 26, 23, .12);
  --on-dark: #F1ECE2;
  --on-dark-muted: rgba(241, 236, 226, .7);
  --on-dark-line: rgba(241, 236, 226, .16);

  --font: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  --step-4: clamp(2.4rem, 1.4rem + 4vw, 4.75rem);
  --step-hero: clamp(3rem, 0.9rem + 7.4vw, 8rem);

  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section: clamp(5rem, 11vw, 9rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--cocoa); color: var(--paper); padding: .75rem 1rem; border-radius: 999px; text-decoration: none;
}
.skip:focus { top: 1rem; }

.wrap { width: min(1280px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .85rem 1.6rem;
  background: var(--cocoa); color: var(--paper);
  border: 1px solid var(--cocoa); border-radius: 999px;
  font: inherit; font-weight: 400; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.btn:hover { background: var(--cocoa-deep); border-color: var(--cocoa-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(28, 26, 23, .3); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: var(--linen); border-color: var(--linen); }

/* Floating header */
.site-header {
  position: fixed; top: 12px; left: 0; right: 0; z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  width: 100%; max-width: calc(1280px - 5rem); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .55rem .55rem .55rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--line); border-radius: 999px;
  transition: box-shadow .3s var(--ease-out);
}
.site-header.is-scrolled .header-bar { box-shadow: 0 10px 30px -18px rgba(46, 31, 22, .35); }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.logo-svg { width: 150px; height: auto; }
.logo-sub {
  font-size: .625rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted);
  padding-left: .7rem; border-left: 1px solid var(--line); line-height: 1.6;
}
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; font-size: .9375rem; padding: .55rem .9rem; border-radius: 999px; color: var(--text); transition: background-color .2s; }
.nav a:hover { background: var(--sand); color: var(--ink); }
.nav .nav-cta { background: var(--cocoa); color: var(--paper); margin-left: .5rem; padding: .7rem 1.2rem; }
.nav .nav-cta:hover { background: var(--cocoa-deep); color: var(--paper); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--sand); color: var(--ink); cursor: pointer;
}
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; margin-inline: auto;
  transition: transform .25s var(--ease-out);
}
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { padding-top: clamp(7rem, 12vw, 9.5rem); overflow: hidden; }
.hero-title {
  font-size: var(--step-hero); font-weight: 200; line-height: .96; letter-spacing: -.055em;
  display: grid;
}
.hero-title .line { display: block; }
.line-indent { padding-left: 1.4em; }
.hero-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem 4rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.lead { font-size: var(--step-1); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Load moment: headline lines rise in once */
.js .hero-title .line { opacity: 0; transform: translateY(.35em); }
.js.is-loaded .hero-title .line { opacity: 1; transform: none; transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js.is-loaded .hero-title .line:nth-child(2) { transition-delay: .1s; }
.js.is-loaded .hero-title .line:nth-child(3) { transition-delay: .2s; }

/* Marquee feed */
.marquee {
  margin-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.post {
  position: relative; width: clamp(170px, 18vw, 240px); aspect-ratio: 9 / 16; border-radius: var(--r-m);
  padding: 16px; display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden; flex-shrink: 0; font-size: .8rem; line-height: 1.35; color: var(--ink);
}
.post:nth-child(even) { transform: translateY(28px); }
.post-tag {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: .6875rem; font-weight: 400; padding: .2rem .65rem; border-radius: 999px;
  background: rgba(251, 250, 245, .9); color: var(--ink);
}
.post-big { position: relative; z-index: 2; font-weight: 400; font-size: 1.02rem; line-height: 1.25; letter-spacing: -.01em; }

.post-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 20, 14, .7), transparent 55%); }
.post-img .post-big { color: var(--paper); }
.post-play {
  position: absolute; top: 50%; left: 50%; z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px;
  border-radius: 50%; background: rgba(251, 250, 245, .9);
}
.post-play::after {
  content: ""; position: absolute; left: 19px; top: 15px;
  border-left: 13px solid var(--ink); border-top: 9px solid transparent; border-bottom: 9px solid transparent;
}

.post-story { background: var(--cocoa); color: var(--on-dark); justify-content: center; gap: 14px; }
.post-bar { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 4px; }
.post-bar i { flex: 1; height: 2px; border-radius: 2px; background: rgba(241, 236, 226, .3); }
.post-bar i:first-child { background: var(--on-dark); }
.post-q { font-weight: 400; font-size: .95rem; text-align: center; color: var(--on-dark); }
.poll { display: grid; gap: 6px; }
.poll span { background: var(--paper); color: var(--ink); text-align: center; padding: .45rem; border-radius: 999px; font-size: .78rem; }
.poll span:last-child { background: var(--linen); }

.post-photo { padding: 0; background: #fff; justify-content: flex-start; border: 1px solid var(--line); }
.post-photo .photo { flex: 1; min-height: 0; width: 100%; object-fit: cover; }
.post-meta { padding: 10px 14px 14px; display: grid; gap: 2px; }
.post-meta b { font-weight: 500; }
.post-meta span { color: var(--muted); }

.post-carousel { background: var(--sand); justify-content: space-between; padding-top: 52px; }
.post-carousel .post-big, .post-event .post-big { font-weight: 300; font-size: 1.3rem; line-height: 1.15; }
.dots { display: flex; gap: 4px; justify-content: center; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(28, 26, 23, .18); }
.dots i:first-child { background: var(--cocoa); }

.post-comment { background: var(--linen); justify-content: center; gap: 10px; }
.bubble { background: var(--paper); padding: .6rem .75rem; border-radius: 14px 14px 14px 4px; }
.bubble-reply { background: var(--cocoa); color: var(--on-dark); border-radius: 14px 14px 4px 14px; margin-left: 14px; }

.post-event { background: var(--paper); border: 1px solid var(--line); justify-content: space-between; padding-top: 52px; }
.post-event .post-tag { background: var(--sand); }
.post-cta { align-self: flex-start; background: var(--cocoa); color: var(--paper); padding: .45rem .85rem; border-radius: 999px; font-size: .75rem; }

/* Manifest: words fill in as you scroll */
.manifest { padding-block: var(--section); background: var(--sand); }
.manifest-text {
  font-size: var(--step-4); font-weight: 200; line-height: 1.12; letter-spacing: -.035em;
  color: var(--ink); max-width: 22ch;
}
.manifest-text .w { opacity: .18; transition: opacity .4s ease; }
.manifest-text .w.on { opacity: 1; }

/* Sections */
.section { padding-block: var(--section); }
.section-head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 1.25rem 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head h2 { font-size: var(--step-4); font-weight: 200; letter-spacing: -.045em; line-height: 1; }
.section-head p { font-size: var(--step-1); color: var(--muted); max-width: 38ch; }
.section-dark { background: var(--cocoa-deep); color: var(--on-dark); }
.section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .section-head p { color: var(--on-dark-muted); }
.section-tint { background: var(--sand); }

/* Bento */
.bento {
  display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
}
.tile {
  border-radius: var(--r-l); padding: clamp(1.5rem, 2.6vw, 2.25rem);
  display: flex; flex-direction: column; gap: .9rem; overflow: hidden; position: relative;
  background: var(--sand);
}
.tile h3 { font-size: var(--step-3); font-weight: 300; letter-spacing: -.03em; }
.tile p { max-width: 42ch; }
.tile-ig { grid-column: span 4; grid-row: span 2; padding: 0; flex-direction: row; background: var(--linen); }
.tile-ig .tile-body { flex: 1; padding: clamp(1.5rem, 3vw, 2.75rem); display: flex; flex-direction: column; gap: .9rem; justify-content: flex-end; }
.tile-ig h3 { font-size: var(--step-4); font-weight: 200; letter-spacing: -.05em; }
.tile-img { width: 44%; object-fit: cover; }
.tile-tt { grid-column: span 2; grid-row: span 2; background: var(--cocoa); color: var(--on-dark); justify-content: flex-end; }
.tile-tt h3 { color: var(--paper); font-size: var(--step-4); font-weight: 200; letter-spacing: -.05em; }
.tile-tt .chips li { border-color: var(--on-dark-line); background: transparent; color: var(--on-dark); }
.tile-fb, .tile-ads { grid-column: span 2; justify-content: flex-end; background: var(--paper); border: 1px solid var(--line); }
.tile-incl { grid-column: span 2; background: var(--sand); }
.tile-incl h3 { font-size: var(--step-1); font-weight: 400; letter-spacing: 0; }
.incl { list-style: none; display: grid; gap: .55rem; }
.incl li { padding-left: 1.6rem; position: relative; }
.incl li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 6px;
  border-left: 1.5px solid var(--cocoa); border-bottom: 1.5px solid var(--cocoa); transform: rotate(-45deg);
}
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .25rem; }
.chips li { font-size: .8125rem; padding: .3rem .8rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(251, 250, 245, .6); }

/* Werkwijze: sticky split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 3rem 5rem; align-items: start; }
.split-head { position: sticky; top: 120px; grid-template-columns: 1fr; align-items: start; margin-bottom: 0; }
.split-head .btn { justify-self: start; margin-top: 1rem; }
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .25rem 1.5rem;
  padding-block: clamp(1.5rem, 3vw, 2.25rem); border-top: 1px solid var(--on-dark-line);
}
.steps li:last-child { border-bottom: 1px solid var(--on-dark-line); }
.steps li::before {
  content: counter(step, decimal-leading-zero); grid-row: span 2;
  font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); font-weight: 200; line-height: 1; letter-spacing: -.04em; color: var(--taupe);
}
.steps h3 { font-size: var(--step-2); font-weight: 300; }
.steps p { color: var(--on-dark-muted); max-width: 46ch; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan {
  padding: clamp(1.75rem, 3vw, 2.5rem); border-radius: var(--r-l); background: var(--sand);
  display: flex; flex-direction: column; gap: 1rem;
}
.plan h3 { font-size: var(--step-4); font-weight: 200; letter-spacing: -.05em; line-height: 1; }
.plan-for { color: var(--muted); }
.plan ul { list-style: none; display: grid; gap: .6rem; padding-block: 1.25rem; border-top: 1px solid var(--line); flex: 1; align-content: start; }
.plan li { padding-left: 1.6rem; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 11px; height: 6px;
  border-left: 1.5px solid var(--cocoa); border-bottom: 1.5px solid var(--cocoa); transform: rotate(-45deg);
}
.plan .btn { align-self: stretch; }
.plan-featured { background: var(--cocoa); color: var(--on-dark); }
.plan-featured h3 { color: var(--paper); }
.plan-featured .plan-for { color: var(--on-dark-muted); }
.plan-featured ul { border-top-color: var(--on-dark-line); }
.plan-featured li::before { border-color: var(--linen); }
.plan-flag { align-self: flex-start; background: var(--paper); color: var(--ink); font-size: .75rem; padding: .25rem .8rem; border-radius: 999px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem 4rem; align-items: start; }
.faq-grid .section-head { grid-template-columns: 1fr; margin-bottom: 0; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border-radius: var(--r-m); padding-inline: 1.5rem; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding-block: 1.2rem; font-weight: 400; font-size: var(--step-1); color: var(--ink); min-height: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat,
    var(--sand);
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.4rem; color: var(--muted); max-width: 60ch; }

/* Contact */
.contact { background: var(--cocoa-deep); color: var(--on-dark); padding-block: var(--section) clamp(3rem, 6vw, 5rem); }
.contact-title { font-size: var(--step-hero); font-weight: 200; letter-spacing: -.055em; line-height: .96; color: var(--paper); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem 5rem; align-items: start; }
.contact-copy > p { font-size: var(--step-1); color: var(--on-dark-muted); max-width: 34ch; }
.contact-list { list-style: none; margin-top: 2rem; display: grid; gap: .1rem; }
.contact-list a { display: inline-block; padding-block: .35rem; color: var(--on-dark); text-underline-offset: 5px; text-decoration-thickness: 1px; text-decoration-color: var(--on-dark-line); }
.contact-list a:hover { text-decoration-color: currentColor; }
.contact-list li:first-child a { font-size: var(--step-2); font-weight: 300; color: var(--paper); }

.form { display: grid; gap: 1.25rem; background: rgba(241, 236, 226, .06); border: 1px solid var(--on-dark-line); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-l); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; align-content: start; }
.field label, .field legend { font-weight: 400; font-size: .9375rem; color: var(--on-dark); padding: 0; }
.field legend { margin-bottom: .6rem; }
.optional { color: var(--on-dark-muted); font-weight: 300; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; color: var(--paper);
  padding: .85rem 1rem; min-height: 50px;
  border: 1px solid var(--on-dark-line); border-radius: var(--r-s); background: rgba(241, 236, 226, .06);
  transition: border-color .2s;
}
.form input:hover, .form textarea:hover { border-color: rgba(241, 236, 226, .4); }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--linen); outline-offset: 1px; border-color: transparent; }
.form textarea { resize: vertical; min-height: 7rem; }
.form [aria-invalid="true"] { border-color: #F0A08F; }
.field-error { color: #F4B3A5; font-size: var(--step--1); }
.checks { display: flex; flex-wrap: wrap; gap: .5rem; }
.checks label {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .35rem 1rem;
  border: 1px solid var(--on-dark-line); border-radius: 999px; cursor: pointer; font-weight: 300;
  transition: background-color .2s, border-color .2s;
}
.checks label:has(input:checked) { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.checks input { accent-color: var(--cocoa); width: 16px; height: 16px; margin: 0; }
.checks label:focus-within { outline: 2px solid var(--linen); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { font-size: var(--step--1); color: var(--on-dark-muted); min-height: 1.2em; }

/* Footer */
.site-footer { background: var(--cocoa-deep); color: var(--on-dark-muted); padding-bottom: clamp(1.5rem, 3vw, 2.5rem); font-size: var(--step--1); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 2rem; padding-block: 2rem; border-top: 1px solid var(--on-dark-line); }
.footer-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-nav a { text-decoration: none; padding-block: .3rem; }
.footer-nav a:hover { color: var(--paper); }
.footer-logo { color: var(--on-dark); opacity: .9; }
.footer-logo .logo-svg { width: 100%; height: auto; }

/* Responsive */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile-ig { grid-column: span 2; grid-row: auto; }
  .tile-tt { grid-column: span 2; grid-row: auto; min-height: 280px; }
  .tile-fb, .tile-ads, .tile-incl { grid-column: span 1; }
  .tile-incl { grid-column: span 2; }
  .split { grid-template-columns: 1fr; }
  .split-head { position: static; }
}

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .header-bar { padding-left: 1.1rem; border-radius: 28px; flex-wrap: wrap; }
  .nav {
    order: 3; flex-basis: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: .5rem 0 .4rem;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .8rem .6rem; border-radius: var(--r-s); }
  .nav .nav-cta { margin: .5rem 0 0; text-align: center; padding: .9rem; }

  .hero-row { grid-template-columns: 1fr; align-items: start; }
  .section-head { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .faq-grid, .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .logo-svg { width: 120px; }
  .logo-sub { display: none; }
  .line-indent { padding-left: 0; }
  .hero-actions .btn { flex: 1 1 100%; }
  .bento { grid-template-columns: 1fr; }
  .tile-ig, .tile-tt, .tile-fb, .tile-ads, .tile-incl { grid-column: auto; }
  .tile-ig { flex-direction: column-reverse; }
  .tile-img { width: 100%; height: 260px; object-position: center 25%; }
  .steps li { grid-template-columns: 3.5rem minmax(0, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .post:nth-child(even) { transform: translateY(18px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
  .js .hero-title .line { opacity: 1; transform: none; }
  .manifest-text .w { opacity: 1; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* Portfolio page */
.page-hero { padding-top: clamp(8rem, 14vw, 11rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-title { font-size: var(--step-hero); font-weight: 200; letter-spacing: -.055em; line-height: .96; }
.page-intro { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 1.5rem 3rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.page-intro p { font-size: var(--step-1); max-width: 44ch; }
.notice {
  display: flex; gap: .75rem; align-items: flex-start; margin-top: 2rem; padding: 1rem 1.25rem;
  background: var(--sand); border-radius: var(--r-m); max-width: 60ch; font-size: .9375rem;
}
.notice::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--cocoa); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  font: inherit; font-size: .9375rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cases-status { margin-top: 1rem; font-size: var(--step--1); color: var(--muted); }

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding-bottom: var(--section); }
.case { border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; background: var(--sand); }
.case[hidden] { display: none; }
.case-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); }
.case-img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.case-initial {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: clamp(5rem, 12vw, 9rem); font-weight: 200; letter-spacing: -.05em; color: var(--cocoa);
}
.case-badge {
  position: absolute; top: 16px; left: 16px; font-size: .75rem; padding: .25rem .8rem; border-radius: 999px;
  background: var(--paper); color: var(--ink);
}
.case-body { padding: clamp(1.5rem, 3vw, 2.25rem); display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.case-meta { font-size: var(--step--1); color: var(--muted); }
.case-title { font-size: var(--step-3); font-weight: 300; letter-spacing: -.03em; }
.case-summary { max-width: 52ch; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1rem; margin: auto 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.result dt { font-size: var(--step--1); color: var(--muted); }
.result dd { margin: 0; font-size: var(--step-3); font-weight: 200; letter-spacing: -.03em; color: var(--ink); line-height: 1.1; }

.case-paper { background: var(--paper); border: 1px solid var(--line); }
.case-paper .case-media { background: var(--sand); }
.case-linen { background: var(--linen); }
.case-linen .case-media { background: var(--sand); }
.case-cocoa { background: var(--cocoa); color: var(--on-dark); }
.case-cocoa .case-media { background: var(--cocoa-deep); }
.case-cocoa .case-initial { color: var(--linen); }
.case-cocoa .case-title, .case-cocoa .result dd { color: var(--paper); }
.case-cocoa .case-meta, .case-cocoa .result dt { color: var(--on-dark-muted); }
.case-cocoa .results { border-top-color: var(--on-dark-line); }
.case-cocoa .chips li { background: transparent; border-color: var(--on-dark-line); color: var(--on-dark); }

.case-featured { grid-column: 1 / -1; flex-direction: row; }
.case-featured .case-media { aspect-ratio: auto; flex: 0 0 46%; min-height: 420px; }
.case-featured .case-body { justify-content: flex-end; padding: clamp(1.75rem, 4vw, 3.5rem); }
.case-featured .case-title { font-size: var(--step-4); font-weight: 200; letter-spacing: -.05em; }
.cases-error { grid-column: 1 / -1; padding: 2rem; background: var(--sand); border-radius: var(--r-m); }

.cta-band { background: var(--cocoa-deep); color: var(--on-dark); padding-block: var(--section); }
.cta-band .wrap { display: grid; gap: 2rem; justify-items: start; }
.cta-band h2 { font-size: var(--step-4); font-weight: 200; letter-spacing: -.045em; color: var(--paper); max-width: 16ch; }
.cta-band p { font-size: var(--step-1); color: var(--on-dark-muted); max-width: 40ch; }

.nav a[aria-current="page"] { background: var(--sand); color: var(--ink); }

@media (max-width: 900px) {
  .page-intro { grid-template-columns: 1fr; align-items: start; }
  .cases { grid-template-columns: 1fr; }
  .case-featured { flex-direction: column; }
  .case-featured .case-media { flex: none; min-height: 0; aspect-ratio: 4 / 3; }
}

.nav a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1140px) {
  .logo-sub { display: none; }
  .nav a { padding: .55rem .65rem; }
  .nav .nav-cta { padding: .7rem 1rem; }
}

/* Footer columns */
.footer-cols {
  display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem 2rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; border-top: 1px solid var(--on-dark-line);
  font-size: .9375rem;
}
.footer-about { display: grid; gap: 1.5rem; justify-items: start; align-content: start; }
.footer-about p { max-width: 32ch; color: var(--on-dark-muted); }
.footer-head { font-size: .8125rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: .15rem; }
.footer-col ul a { display: inline-block; padding-block: .3rem; text-decoration: none; color: var(--on-dark-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.footer-copy { padding-bottom: 1.5rem; color: var(--on-dark-muted); font-size: var(--step--1); }
@media (max-width: 900px) {
  .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Legal pages */
.page-title-legal { font-size: var(--step-4); letter-spacing: -.045em; line-height: 1; }
.legal-updated { margin-top: 1rem; color: var(--muted); font-size: var(--step--1); }
.legal-section { padding-bottom: var(--section); }
.legal { max-width: 68ch; }
.legal > p, .legal > ul, .legal > ol { margin: 0 0 1.1rem; }
.legal h2 {
  font-size: var(--step-2); font-weight: 300; letter-spacing: -.02em;
  margin: 2.75rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); scroll-margin-top: 110px;
}
.legal ul, .legal ol { padding-left: 1.25rem; display: grid; gap: .5rem; }
.legal li::marker { color: var(--taupe); }
.legal strong { font-weight: 500; color: var(--ink); }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal .legal-details { list-style: none; padding: 1.25rem 1.5rem; background: var(--sand); border-radius: var(--r-m); gap: .35rem; }
.legal .legal-details span { display: inline-block; min-width: 9rem; color: var(--muted); }
.legal-toc { background: var(--sand); border-radius: var(--r-m); padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.legal-toc ol { margin: 0; columns: 2; column-gap: 2rem; display: block; }
.legal-toc li { padding-block: .2rem; break-inside: avoid; }
.legal-toc a { text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
.todo { color: var(--muted); font-style: italic; }
@media (max-width: 600px) {
  .legal-toc ol { columns: 1; }
  .legal .legal-details span { display: block; min-width: 0; font-size: var(--step--1); }
}

/* Photo-free placeholders */
.post-tt { background: var(--cocoa-deep); color: var(--on-dark); }
.post-tt .post-big { color: var(--paper); }
.photo-art { flex: 1; min-height: 0; }
.photo-art-1 {
  background:
    radial-gradient(circle at 68% 38%, var(--cocoa) 0 22%, transparent 22.5%),
    radial-gradient(circle at 30% 70%, var(--taupe) 0 16%, transparent 16.5%),
    var(--linen);
}
.photo-art-2 {
  background:
    linear-gradient(135deg, transparent 0 48%, var(--sand) 48% 100%),
    radial-gradient(circle at 35% 35%, var(--cocoa-deep) 0 18%, transparent 18.5%),
    var(--taupe);
}
.tile-grid {
  width: 44%; flex: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  padding: clamp(1rem, 2vw, 1.5rem); align-content: center; background: var(--sand);
}
.tile-grid i { aspect-ratio: 4 / 5; border-radius: 6px; background: var(--paper); }
.tile-grid i:nth-child(1), .tile-grid i:nth-child(6), .tile-grid i:nth-child(8) { background: var(--cocoa); }
.tile-grid i:nth-child(2), .tile-grid i:nth-child(9) { background: var(--taupe); }
.tile-grid i:nth-child(4) { background: var(--linen); }
.tile-grid i:nth-child(3) { background: var(--cocoa-deep); }
@media (max-width: 600px) {
  .tile-grid { width: 100%; }
}
.post-reel-alt { background: var(--linen); }

/* Channel pills: no visible checkbox, the pill itself toggles */
.checks label { position: relative; user-select: none; padding: .35rem 1.1rem .35rem .9rem; }
.checks input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.checks label::before {
  content: ""; width: 16px; height: 16px; border-radius: 50%; flex: none;
  border: 1px solid var(--on-dark-line); background: transparent;
  transition: background-color .2s, border-color .2s;
}
.checks label:hover { border-color: rgba(241, 236, 226, .45); }
.checks label:has(input:checked)::before {
  border-color: var(--cocoa);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%23FBFAF5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat,
    var(--cocoa);
}
.checks label:has(input:focus-visible) { outline: 2px solid var(--linen); outline-offset: 2px; }
.checks label:focus-within { outline: none; }
.checks label:has(input:focus-visible) { outline: 2px solid var(--linen); outline-offset: 2px; }

/* Portfolio as a homepage section */
.portfolio-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.portfolio-bar .cases-status { margin-top: 0; }
#portfolio .notice { margin: 1.25rem 0 2rem; }
#portfolio .cases { padding-bottom: 0; }
