/* pluk.food. Pluks stil "Lys · Marked": råhvid, sort, grå og én grøn. Varen bærer farven.
   Tallene spejler app/Pluk/Theme.swift i app-repoet. Ingen gradienter, ingen sporing. */

@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken-grotesk-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #FBFAF7;
  --card: #FFFFFF;
  --chip: #EFEDE6;
  --line: #EDE9E0;
  --ink: #16140F;
  --faint: #6E6A61;
  --green: #1C5B3C;
  --gutter: clamp(20px, 5.2vw, 56px);
  --max: 1180px;
  --top-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); overflow-x: clip; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.skip { position: absolute; left: 12px; top: -80px; z-index: 30; background: var(--ink); color: var(--ground); padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 10px; }

/* ---------- Top: appens piller som menu. Den sorte pille følger det afsnit, du læser ---------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--ground); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { height: var(--top-h); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; text-decoration: none; font-weight: 800; font-size: 1.3125rem; letter-spacing: -0.03em; }
.brand svg { width: 30px; height: 30px; flex: none; }
.tabs { display: flex; align-items: center; margin-right: -10px; }
.tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1px;
  text-decoration: none; font-size: 0.875rem; font-weight: 700; color: var(--faint);
}
.tabs a span { display: inline-flex; align-items: center; height: 34px; padding: 0 10px; border-radius: 999px; transition: background-color .25s, color .25s; }
.tabs a:hover span { color: var(--ink); }
.tabs a[aria-current] span { background: var(--ink); color: var(--ground); }
.top-soon { display: none; }
@media (min-width: 860px) {
  :root { --top-h: 72px; }
  .tabs { gap: 4px; margin-right: 0; }
  .tabs a { font-size: 0.9375rem; }
  .tabs a span { height: 38px; padding: 0 16px; }
  .top-soon { display: inline-flex; align-items: center; min-height: 44px; margin-left: 20px; font-size: 0.9375rem; font-weight: 700; color: var(--faint); text-decoration: none; }
  .top-soon:hover { color: var(--ink); }
}
@media (max-width: 359px) { .brand span { display: none; } }

/* ---------- Telefonen: Apples iPhone 16 Pro-ramme over et rigtigt skærmbillede.
   Skærm 1206 × 2622 ved (72, 69) i 1350 × 2760. ---------- */
.device { position: relative; aspect-ratio: 1350 / 2760; width: var(--dw, 280px); flex: none; filter: drop-shadow(0 28px 36px rgba(22, 20, 15, .16)); }
.device-screen { position: absolute; left: 5.333%; top: 2.5%; width: 89.333%; height: 95%; object-fit: cover; border-radius: 13.7% / 6.3%; background: var(--ground); }
.device-bezel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Fælles for forsiden ---------- */
.sec { padding-block: clamp(84px, 11vw, 152px); }
h1, h2 { font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(2.125rem, 1.3rem + 3.9vw, 4.25rem); }
.sec .label { margin-bottom: 18px; }
.body { color: var(--faint); font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem); line-height: 1.5; max-width: 34em; text-wrap: pretty; }
.body + .body { margin-top: 0.9em; }
.body strong { color: var(--ink); font-weight: 700; }
.body a, .fine a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.body a:hover, .fine a:hover { text-decoration-thickness: 2px; }
.fine { color: var(--faint); font-size: 0.9375rem; line-height: 1.5; max-width: 38em; }
.center { text-align: center; }
.center .body, .center .fine { margin-inline: auto; }

/* Bevægelse: JS sætter --p (0 til 1) på hver [data-scene] ud fra scroll. Uden JS og ved
   "Reducer bevægelse" står alt stille i sin færdige form. */
[data-scene] { --p: .5; }
.js .rv { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.still .rv { opacity: 1; transform: none; transition: none; }

/* ---------- 1. Spørgsmålet ---------- */
.hero { padding-top: clamp(36px, 6vw, 84px); text-align: center; overflow-x: clip; }
.hero h1 { font-size: clamp(2.25rem, 10vw, 3.25rem); max-width: 11em; margin: 16px auto 0; }
.hero .body { margin: clamp(18px, 2.2vw, 28px) auto 0; max-width: 30em; }
.soon { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 16px; margin-top: clamp(22px, 2.6vw, 34px); }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 700; font-size: 1rem; }
.pill svg { width: 18px; height: 18px; }
.soon .fine { font-size: 0.9375rem; }
.stage { position: relative; margin: clamp(44px, 6vw, 80px) auto 0; max-width: 1120px; display: flex; justify-content: center; }
.stage .device { --dw: min(62vw, 264px); z-index: 1; }
.cut { position: absolute; width: var(--w); height: auto; filter: drop-shadow(0 10px 12px rgba(22, 20, 15, .14)); transform: translate3d(0, calc((var(--p) - .45) * var(--s)), 0) rotate(var(--r, 0deg)); will-change: transform; }
.still .cut { transform: rotate(var(--r, 0deg)); }
.c1 { --w: 27vw; --s: -170px; --r: -8deg; left: -7vw; top: 7%; }
.c2 { --w: 30vw; --s: -90px; --r: 6deg; left: -9vw; top: 50%; }
.c3 { --w: 21vw; --s: -230px; --r: 10deg; right: -3vw; top: 20%; }
.c4 { --w: 29vw; --s: -120px; --r: -6deg; right: -10vw; top: 62%; }
.c5, .c6 { display: none; }
@media (min-width: 720px) {
  .hero h1 { font-size: clamp(3.25rem, 1.2rem + 5.6vw, 6.25rem); }
  .stage .device { --dw: clamp(264px, 23vw, 316px); }
  .c1 { --w: clamp(120px, 14vw, 176px); left: 14%; top: 4%; }
  .c2 { --w: clamp(130px, 16vw, 200px); left: 2%; top: 40%; }
  .c3 { --w: clamp(96px, 11vw, 140px); right: 15%; top: 2%; }
  .c4 { --w: clamp(124px, 15vw, 188px); right: 3%; top: 36%; }
  .c5 { display: block; --w: clamp(110px, 13vw, 164px); --s: -60px; --r: 4deg; left: 17%; top: 74%; }
  .c6 { display: block; --w: clamp(116px, 14vw, 172px); --s: -200px; --r: -4deg; right: 16%; top: 76%; }
}

/* ---------- 2. Ugen: et menukort med tallerkener ---------- */
.week-head { display: grid; gap: 22px; }
.week-head .body { max-width: 30em; }
.menu { margin-top: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.menu li { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); }
.plate { grid-row: 1 / span 3; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; box-shadow: 0 12px 20px -10px rgba(22, 20, 15, .4); transform: rotate(calc((var(--p) - .5) * 70deg)); }
.still .plate { transform: none; }
.plate img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); }
.menu .day { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.menu .dish { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 2px 0 5px; text-wrap: balance; }
.menu .info { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 12px; font-size: 0.875rem; color: var(--faint); }
.menu .why { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; }
.menu .why.offer { color: var(--green); font-weight: 700; }
.menu .why svg { width: 15px; height: 15px; flex: none; }
.menu-note { margin-top: 18px; }
@media (min-width: 760px) {
  .menu li { grid-template-columns: 5rem clamp(92px, 10vw, 132px) 1fr auto; column-gap: clamp(20px, 3vw, 44px); padding: 20px 0; }
  .menu .day { grid-column: 1; grid-row: 1; font-size: 0.8125rem; }
  .plate { grid-column: 2; grid-row: 1; width: 100%; height: auto; aspect-ratio: 1; }
  .menu .dish { grid-column: 3; grid-row: 1; font-size: clamp(1.75rem, 0.6rem + 2.9vw, 3.25rem); margin: 0; }
  .menu .info { grid-column: 4; grid-row: 1; font-size: 0.9375rem; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; }
}

@media (min-width: 980px) { .week-head { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 48px; } }

/* ---------- 3. Tilbud: en væg af varer med telefonen midt i ---------- */
.offers { overflow-x: clip; }
.offers h2 { max-width: 13em; margin-inline: auto; }
.offers .body { margin-top: 22px; }
.wall { position: relative; margin-top: clamp(48px, 7vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; }
.rows { grid-area: 1 / 1; width: 100%; display: grid; gap: clamp(10px, 2vw, 26px); }
.row { display: flex; justify-content: center; gap: clamp(14px, 2.6vw, 34px); filter: drop-shadow(0 8px 9px rgba(22, 20, 15, .13)); will-change: transform; }
.row img { flex: none; width: clamp(78px, 8.6vw, 124px); height: clamp(78px, 8.6vw, 124px); object-fit: contain; }
.row:nth-child(odd) { transform: translate3d(calc((var(--p) - .5) * -16%), 0, 0); }
.row:nth-child(even) { transform: translate3d(calc((var(--p) - .5) * 16%), 0, 0); }
.still .row { transform: none; }
.wall .device { grid-area: 1 / 1; --dw: min(58vw, 250px); z-index: 1; }
.offers .fine { margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 720px) { .wall .device { --dw: clamp(250px, 22vw, 300px); } }

/* ---------- 4. Listen: tre linjer, der tændes ---------- */
.list-grid { display: grid; gap: 48px; justify-items: center; }
.lines { font-size: clamp(2.75rem, 1rem + 8vw, 6.5rem); line-height: .98; }
.lines span { display: block; color: var(--faint); transition: color .45s ease; }
.lines span.on { color: var(--ink); }
.still .lines span, html:not(.js) .lines span { color: var(--ink); }
.list-text .body { margin-top: clamp(22px, 3vw, 36px); max-width: 27em; }
.list-grid .device { --dw: min(64vw, 270px); }
@media (min-width: 860px) {
  .list-grid { grid-template-columns: auto 1fr; gap: clamp(56px, 8vw, 120px); align-items: center; justify-items: start; }
  .list-grid .device { --dw: clamp(270px, 24vw, 320px); }
}

/* ---------- 5. Skabet: varer og telefon på hylder ---------- */
.cup-text { display: grid; gap: 22px; }
.jars { margin-top: clamp(40px, 6vw, 64px); display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.jar { flex: 0 1 auto; min-width: 0; width: clamp(64px, 20vw, 104px); margin-bottom: -3px; transform: translate3d(0, calc(clamp(0, (.36 - var(--p)) * 6, 1) * -40px * var(--k, 1)), 0); will-change: transform; }
.still .jar { transform: none; }
.jar.wide { display: none; }
.cup-phone { margin-top: 44px; display: flex; justify-content: center; }
.cup-phone .device { --dw: min(60vw, 250px); margin-bottom: -1.3%; filter: none; }
.shelf-note { margin-top: 18px; max-width: none; }
@media (min-width: 860px) {
  .cupboard { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: clamp(40px, 7vw, 110px); }
  .cup-text { grid-area: 1 / 1; max-width: 40rem; padding-top: 24px; }
  .jars { grid-area: 2 / 1; align-self: end; margin-top: 56px; border: 0; justify-content: flex-start; gap: clamp(12px, 2.4vw, 36px); }
  .jar { width: clamp(84px, 9vw, 128px); }
  .jar.wide { display: block; }
  .cup-phone { grid-area: 1 / 2 / 3 / 3; align-self: end; margin: 0; border: 0; padding-right: clamp(0px, 4vw, 64px); }
  .cup-phone .device { --dw: clamp(250px, 23vw, 310px); }
}

/* ---------- 6. Køkkenet: to telefoner ---------- */
.kitchen h2 { max-width: 12em; margin-inline: auto; }
.duo { margin: clamp(44px, 6vw, 80px) auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 4vw, 64px); max-width: 760px; }
.duo figure { display: grid; justify-items: center; gap: 22px; }
.duo .device { --dw: min(100%, 290px); width: var(--dw); }
.duo figure:nth-child(2) { margin-top: clamp(36px, 8vw, 96px); }
.duo figcaption { font-size: clamp(0.9375rem, 0.85rem + 0.4vw, 1.125rem); line-height: 1.4; color: var(--faint); max-width: 17em; text-wrap: balance; }
.duo figcaption strong { color: var(--ink); font-weight: 700; }
.kitchen .import { margin-top: clamp(40px, 6vw, 72px); }

/* ---------- 7. Ærligt: prisskiltet ---------- */
.free-grid { display: grid; gap: 40px; justify-items: center; }
.tag { width: min(64vw, 300px); height: auto; overflow: visible; }
.tag g.swing { transform-origin: 512px 352px; transform: rotate(calc(15deg + (var(--p) - .5) * -22deg)); }
.still .tag g.swing { transform: rotate(15deg); }
.tag text { font-family: inherit; font-weight: 800; font-size: 250px; letter-spacing: -12px; fill: #fff; }
.nos { margin-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--line); max-width: 30rem; }
.nos li { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.25rem, 1rem + 1vw, 1.625rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.15; }
.free-text .body { margin-top: 26px; max-width: 30em; }
@media (min-width: 860px) {
  .free-grid { grid-template-columns: minmax(280px, 0.8fr) 1fr; gap: clamp(48px, 7vw, 110px); align-items: center; justify-items: start; }
  .tag { width: min(100%, 400px); justify-self: center; }
}

/* ---------- 8. Snart ---------- */
.end { text-align: center; padding-bottom: clamp(96px, 14vw, 190px); }
.end img { width: 88px; height: 88px; border-radius: 22.5%; margin: 0 auto 30px; box-shadow: 0 16px 28px -12px rgba(22, 20, 15, .35); }
.end h2 { font-size: clamp(2.5rem, 1rem + 7vw, 6.25rem); }
.end .body { margin: 24px auto 0; max-width: 26em; }

/* ---------- Bund ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 40px 56px; color: var(--faint); font-size: 0.9375rem; }
.foot-in { display: grid; gap: 22px; }
.foot .brand { margin: 0; color: var(--ink); justify-self: start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 26px; margin-left: -2px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 700; text-decoration: none; }
.foot nav a:hover, .foot .by a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot .by a { color: var(--ink); font-weight: 700; text-decoration: none; display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot p { max-width: 44em; line-height: 1.5; }
@media (min-width: 860px) {
  .foot-in { grid-template-columns: 1fr auto; align-items: center; }
  .foot .by, .foot .na { grid-column: 1 / -1; }
  .foot .by { margin-top: 4px; }
}

/* ---------- Privatliv, vilkår og 404: smal læsekolonne ---------- */
.doc { padding-block: clamp(44px, 8vw, 104px) clamp(72px, 10vw, 128px); }
.doc .wrap { max-width: calc(41rem + 2 * var(--gutter)); }
.doc h1 { font-size: clamp(2.375rem, 1.4rem + 4.6vw, 4rem); margin: 14px 0 20px; }
.doc h2 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); letter-spacing: -0.025em; line-height: 1.15; margin: 2.6em 0 0.6em; scroll-margin-top: calc(var(--top-h) + 20px); }
.doc p, .doc ul { margin: 0 0 1em; }
.doc ul { padding-left: 1.25rem; list-style: disc; }
.doc li { margin-bottom: 0.4em; padding-left: 0.2em; }
.doc li::marker { color: var(--faint); }
.doc strong { font-weight: 700; }
.doc a { color: var(--green); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.doc a:hover { text-decoration-thickness: 2px; }
.doc .meta { color: var(--faint); font-size: 0.9375rem; margin-bottom: 2.25rem; }
.doc .lead { font-size: 1.1875rem; color: var(--faint); }
.doc .short { background: var(--chip); border-radius: 24px; padding: 8px clamp(20px, 4vw, 30px); margin: 0 0 0.5rem; }
.doc .short ul { list-style: none; padding: 0; margin: 0; }
.doc .short li { margin: 0; padding: 15px 0; font-weight: 700; line-height: 1.4; border-top: 1px solid #DDD9CE; }
.doc .short li:first-child { border-top: 0; }
.doc.lost { text-align: center; min-height: 62vh; display: grid; align-content: center; }
.doc.lost h1 { font-size: clamp(2.75rem, 1rem + 8vw, 6rem); margin-bottom: 22px; }
.doc.lost .lead { margin: 0 auto 30px; max-width: 24em; text-wrap: balance; }
.doc.lost .tag { width: 120px; margin: 0 auto 26px; }
.doc.lost .tag g.swing { transform: rotate(15deg); }
.doc.lost a.pill { text-decoration: none; color: var(--ground); font-weight: 700; }
.doc.lost a.pill:hover { background: #000; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media print { .top, .stage .cut { display: none; } }
