/* Studio Lil — "Rotterdam poster" system
   Paper, ink, Rotterdam-flag green, signal yellow. Swiss grid, oversized condensed type. */
:root {
  --paper: #f2f3ef;
  --paper-2: #e6e8e2;
  --ink: #0d1411;
  --ink-soft: #4d5650;
  --green: #0a7a3e;
  --green-ink: #f2f3ef;
  --yellow: #ffe14d;
  --rule: #0d1411;
  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --max: 1280px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0d1411; --paper-2: #151d19; --ink: #eef0ea; --ink-soft: #9aa49d;
    --green: #1f9d57; --green-ink: #0d1411; --rule: #eef0ea; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0d1411; --paper-2: #151d19; --ink: #eef0ea; --ink-soft: #9aa49d;
  --green: #1f9d57; --green-ink: #0d1411; --rule: #eef0ea; color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--yellow); color: #0d1411; padding: 8px 12px; z-index: 99; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
mark { background: var(--yellow); color: #0d1411; padding: 0 .12em; }

/* ---------- Header ---------- */
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--paper); border-bottom: 2px solid var(--rule); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { font-family: var(--display); font-weight: 900; font-size: 1.7rem; letter-spacing: .01em; text-transform: uppercase; text-decoration: none; line-height: 1; display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 22px; height: 22px; background: linear-gradient(var(--green) 0 33%, var(--paper) 33% 66%, var(--green) 66%); border: 2px solid var(--rule); }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--ink); transition: right .25s ease; }
.nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 2px solid var(--rule); }
.lang button { border: 0; background: transparent; color: var(--ink); font-family: var(--mono); font-size: .75rem; font-weight: 500; padding: 6px 10px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; font-family: var(--body); font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid var(--rule); background: var(--paper); color: var(--ink); cursor: pointer; position: relative; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; box-shadow: 0 0 0 var(--ink); }
.btn:hover { transform: translate(-3px, -3px); box-shadow: 5px 5px 0 var(--ink); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-yellow { background: var(--yellow); color: #0d1411; }
.btn-sm { padding: 9px 14px; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { border-bottom: 2px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 24px; padding-block: clamp(28px, 5vw, 56px) 0; }
.hero-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-bottom: 18px; color: var(--ink-soft); }
.hero-meta .live::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.hero h1 { grid-column: 1 / 10; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(3.4rem, 10.5vw, 9.6rem); line-height: .84; letter-spacing: -.01em; margin: 0; }
.hero h1 .l { display: block; overflow: visible clip; padding-bottom: .04em; }
.hero h1 .l > span { display: inline-block; animation: rise .9s cubic-bezier(.2, .75, .15, 1) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
.hero h1 .green { color: var(--green); }
.hero h1 .outline { color: transparent; -webkit-text-stroke: 2px var(--ink); }
@keyframes rise { from { transform: translateY(105%); } }
.hero-side { grid-column: 10 / -1; display: flex; flex-direction: column; justify-content: flex-end; gap: 20px; padding-bottom: 8px; }
.hero-side p { margin: 0; font-size: 1.12rem; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { grid-column: 1 / -1; margin: clamp(28px, 4vw, 48px) 0 0; position: relative; height: clamp(220px, 34vw, 440px); overflow: hidden; background: var(--green); border-top: 2px solid var(--rule); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(1.05); mix-blend-mode: multiply; }
.hero-photo figcaption { position: absolute; left: 16px; bottom: 14px; background: var(--paper); color: var(--ink); padding: 4px 8px; }
.stamp { position: absolute; right: clamp(16px, 4vw, 48px); top: clamp(16px, 3vw, 36px); width: clamp(110px, 13vw, 160px); aspect-ratio: 1; animation: spin 18s linear infinite; }
.stamp text { font-family: var(--mono); font-size: 10.5px; letter-spacing: 2.2px; fill: #0d1411; text-transform: uppercase; }
.stamp .disc { fill: var(--yellow); }
.stamp .core { fill: #0d1411; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); color: #0d1411; border-bottom: 2px solid var(--rule); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.6rem); padding: 10px 0; line-height: 1; }
.marquee span::after { content: "✶"; margin: 0 .6em; font-size: .7em; vertical-align: .15em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { padding-block: clamp(64px, 9vw, 120px); border-bottom: 2px solid var(--rule); }
.sec-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px 24px; margin-bottom: clamp(36px, 5vw, 64px); align-items: end; }
.sec-head .mono { grid-column: 1 / 4; color: var(--ink-soft); align-self: start; padding-top: .8em; }
.sec-head h2 { grid-column: 4 / -1; }
h2 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .88; letter-spacing: -.005em; margin: 0; text-wrap: balance; }
.sec-head p { grid-column: 4 / 11; margin: 0; font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

/* Why: facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--rule); }
.fact { padding: 28px 24px 8px 0; border-right: 2px solid var(--rule); }
.fact + .fact { padding-left: 24px; }
.fact:last-child { border-right: 0; }
.fact .big { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 9vw, 7.5rem); line-height: .85; color: var(--green); display: block; font-variant-numeric: tabular-nums; }
.fact h3 { font-size: 1.2rem; margin: 18px 0 6px; }
.fact p { margin: 0; color: var(--ink-soft); max-width: 34ch; }

/* Band: giant ROTTERDAM — loops at one steady speed, not tied to scrolling */
.band { overflow: hidden; background: var(--ink); color: var(--paper); border-bottom: 2px solid var(--rule); }
.band-track { display: inline-flex; white-space: nowrap; animation: marquee 36s linear infinite reverse; will-change: transform; }
.band-track span { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(4.5rem, 17vw, 15rem); line-height: .8; padding: .1em .18em .04em 0; }
.band-track .o { color: transparent; -webkit-text-stroke: 2px var(--paper); }

/* Work */
.work { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.case { grid-column: 1 / 9; text-decoration: none; border: 2px solid var(--rule); display: block; background: var(--paper); transition: transform .2s ease, box-shadow .2s ease; }
.case:hover { transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); }
.case-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; background: #151210; border-bottom: 2px solid var(--rule); }
.case-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .1, 1); }
.case:hover .case-img img { transform: scale(1.06); }
.case-img .title { position: absolute; left: 20px; bottom: 16px; right: 20px; color: #f4ede4; font-family: "Bodoni Moda", Didot, Georgia, serif; font-style: italic; font-size: clamp(2rem, 5vw, 3.6rem); line-height: .95; text-shadow: 0 2px 30px rgba(0,0,0,.6); }
.case-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; }
.case-meta strong { font-size: 1.1rem; display: block; }
.case-meta span { color: var(--ink-soft); }
.case-meta .go { font-family: var(--mono); font-size: .8rem; background: var(--yellow); color: #0d1411; padding: 6px 10px; white-space: nowrap; }
.slot { grid-column: 9 / -1; border: 2px dashed var(--rule); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: repeating-linear-gradient(-45deg, transparent 0 14px, var(--paper-2) 14px 16px); }
.slot h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 4vw, 3rem); line-height: .9; margin: 0 0 12px; }
.slot p { margin: 0; color: var(--ink-soft); }

/* Pricing */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 2px solid var(--rule); }
.price { padding: 28px; display: flex; flex-direction: column; border-right: 2px solid var(--rule); transition: background .25s ease, color .25s ease; position: relative; }
.price:last-child { border-right: 0; }
.price:hover { background: var(--ink); color: var(--paper); }
.price:hover .desc, .price:hover .per { color: var(--paper); opacity: .75; }
.price:hover .btn { border-color: var(--paper); }
.price.featured { background: var(--green); color: var(--green-ink); }
.price.featured .desc, .price.featured .per { color: var(--green-ink); opacity: .85; }
.price .tag { position: absolute; top: -2px; right: -2px; background: var(--yellow); color: #0d1411; border: 2px solid var(--rule); padding: 4px 10px; }
.price h3 { font-family: var(--mono); font-weight: 500; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; margin: 0; }
.amount { font-family: var(--display); font-weight: 900; font-size: clamp(4rem, 8vw, 6.2rem); line-height: .85; margin: 22px 0 4px; font-variant-numeric: tabular-nums; }
.per { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; color: var(--ink-soft); }
.desc { color: var(--ink-soft); margin: 16px 0 0; min-height: 3.2em; }
.price ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 0; flex: 1; align-content: start; }
.price li { padding: 9px 0; border-top: 1px solid currentColor; font-weight: 500; display: flex; gap: 10px; }
.price li::before { content: "→"; font-family: var(--mono); }
.price .btn { align-self: flex-start; }
.price-note { margin: 18px 0 0; color: var(--ink-soft); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--rule); counter-reset: s; }
.step { padding: 24px 20px 0 0; counter-increment: s; }
.step + .step { padding-left: 20px; border-left: 2px solid var(--rule); }
.step::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-weight: 900; font-size: 4.2rem; line-height: .8; display: block; transition: color .2s ease; }
.step:hover::before { color: var(--green); }
.step h3 { margin: 16px 0 6px; font-size: 1.15rem; }
.step p { margin: 0; color: var(--ink-soft); }

/* FAQ */
.faq { border-top: 2px solid var(--rule); max-width: 900px; margin-left: auto; }
details { border-bottom: 2px solid var(--rule); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.15rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-weight: 900; font-size: 2.2rem; line-height: .6; transition: transform .25s ease; }
details[open] summary::after { transform: rotate(45deg); color: var(--green); }
details p { margin: 0 0 22px; color: var(--ink-soft); max-width: 62ch; }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px 24px; }
.contact-copy { grid-column: 1 / 6; }
.contact-copy h2 { font-size: clamp(3rem, 8vw, 6.5rem); }
.contact-copy p { font-size: 1.1rem; max-width: 40ch; }
.contact-points { list-style: none; padding: 0; margin: 28px 0 0; border-top: 2px solid var(--rule); }
.contact-points li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); flex-wrap: wrap; }
form { grid-column: 7 / -1; display: grid; gap: 18px; border: 2px solid var(--rule); padding: clamp(20px, 3vw, 32px); background: var(--paper-2); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { display: grid; gap: 6px; }
label > span { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--paper); border: 2px solid var(--rule); border-radius: 0; padding: 12px 14px; width: 100%; }
input:focus, textarea:focus, select:focus { outline: none; background: var(--yellow); color: #0d1411; }
textarea { min-height: 130px; resize: vertical; }
.form-status { margin: 0; min-height: 1.4em; font-weight: 600; }
.hp { display: none; }

/* Footer */
footer { padding-block: 40px 20px; overflow: hidden; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--ink-soft); }
.wordmark { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(4.5rem, 21vw, 19rem); line-height: .78; letter-spacing: -.01em; margin: 32px 0 0; white-space: nowrap; }
.wordmark .green { color: var(--green); }
.credits { font-size: .8rem; color: var(--ink-soft); margin-top: 18px; }

/* ---------- Scroll-linked motion (driven by assets/motion.js, works in every browser) ---------- */
.hero-photo img { transform: scale(1.15) translateY(calc((var(--p, .5) - .5) * 12%)); will-change: transform; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero h1, .hero-side { grid-column: 1 / -1; }
  .hero-side { margin-top: 28px; }
  .case, .slot, .contact-copy, form { grid-column: 1 / -1; }
  .facts, .prices { grid-template-columns: minmax(0, 1fr); }
  .fact, .fact + .fact { padding: 24px 0; border-right: 0; border-bottom: 2px solid var(--rule); }
  .price { border-right: 0; border-bottom: 2px solid var(--rule); }
  .price:last-child { border-bottom: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step { padding-bottom: 24px; }
  .sec-head .mono, .sec-head h2, .sec-head p { grid-column: 1 / -1; }
  .desc { min-height: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav-right .btn { display: none; }
  .steps, .row { grid-template-columns: minmax(0, 1fr); }
  .step + .step { border-left: 0; padding-left: 0; border-top: 2px solid var(--rule); }
  .stamp { width: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Touch screens: every tap target at least 44px (Apple/Google guideline) */
@media (pointer: coarse) {
  .lang button { min-width: 44px; min-height: 40px; }
  .logo { min-height: 44px; }
}

/* ---------- Mobile menu ---------- */
.menu-btn { display: none; width: 44px; height: 44px; border: 2px solid var(--rule); background: var(--paper); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 20px; height: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-only { display: none; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .menu-only { display: block; }
  body.menu-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 2px solid var(--rule); padding: 8px var(--gut) 20px; }
  body.menu-open .nav-links a { display: block; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 2.4rem; line-height: 1; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  body.menu-open .nav-links a::after { display: none; }
}
@media (max-width: 380px) {
  .logo { font-size: 1.35rem; gap: 8px; }
  .nav-right { gap: 8px; }
}

/* Spacing fixes */
.contact-copy > .mono { display: block; margin-bottom: 14px; color: var(--ink-soft); }
@media (max-width: 560px) {
  .hero-meta span:first-child { display: none; }  /* coordinates: too much on a small screen */
}

/* Anchor jumps land below the sticky header */
[id] { scroll-margin-top: 72px; }

/* Introductory prices: old price struck through above the new one */
.amount .was { display: block; font-size: .36em; font-weight: 700; opacity: .5; text-decoration-thickness: 3px; margin-bottom: 6px; letter-spacing: .02em; }

/* Extras under the pricing table */
.extras { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 18px; padding: 16px 20px; border: 2px dashed var(--rule); }
.extras .mono { color: var(--ink-soft); }
.extras b { background: var(--yellow); color: #0d1411; padding: 0 .25em; }
.extras-link { margin-left: auto; font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 700px) { .extras { flex-direction: column; align-items: flex-start; } .extras-link { margin-left: 0; } }
