/* Forkful's website. The same hand as the panel: one white sheet, hairlines instead of boxes, one green to press.
   The one loud thing is the week set out across the top: seven dinners, drawn by Forkful's own code. */
@font-face { font-family: 'Bricolage'; src: url('fonts/bricolage-grotesque-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('fonts/figtree-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-display: swap; }
:root {
  --bg: #FFFFFF; --tint: #F4F7F2; --line: #E1E7DF; --ink: #10231A; --muted: #56655B;
  --brand: #0F8648; --brand-deep: #0B6B39; --lingon: #FF5A4E;
  --sol-t: #FFF5D1; --skog-t: #DDF5E6; --hav-t: #E2ECFF; --lingon-t: #FFE7E3; --rose-t: #FFE6EF; --ljung-t: #EFE8FF; --lera-t: #FFEDDA;
  --display: 'Bricolage', 'Figtree', system-ui, sans-serif; --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-deep); text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 3px; border-radius: 4px; }
main, .top, .foot { max-width: 1080px; margin: 0 auto; padding-left: clamp(20px, 5vw, 48px); padding-right: clamp(20px, 5vw, 48px); }

.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 8px; }
.top nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); text-decoration: underline; }
.wordmark { font: 800 30px/1 var(--display); letter-spacing: -0.04em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: baseline; }
.wordmark i { display: inline-block; width: 0.5em; height: 0.5em; margin: 0 0.02em; border-radius: 50%; background: var(--lingon); position: relative; }
.wordmark i::after { content: ''; position: absolute; left: 46%; top: -38%; width: 52%; height: 52%; background: #22B866; border-radius: 0 80% 0 80%; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 750; max-width: 11ch; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; margin-bottom: 22px; }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; margin-bottom: 6px; }
p { margin: 0 0 14px; max-width: 64ch; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.5; color: var(--muted); max-width: 52ch; margin-top: 22px; }
.small { font-size: 14px; color: var(--muted); }

.hero { padding-top: clamp(36px, 7vw, 84px); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 10px; }
.btn { display: inline-block; padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); background: #fff; text-decoration: none; font-weight: 700; }
.btn:hover { border-color: var(--ink); }
.btn.primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn.primary:hover { background: var(--brand-deep); border-color: var(--brand-deep); }
.under { color: var(--muted); font-size: 15px; }

/* The week on the table. On a phone it scrolls sideways, as a week does. */
.table { list-style: none; margin: clamp(34px, 6vw, 64px) 0 0; padding: 0 0 6px; display: grid; grid-template-columns: repeat(7, minmax(118px, 1fr)); gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; }
.day { scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.3; }
.day b { font: 700 13px/1 var(--display); color: var(--muted); margin-top: 6px; }
.plate { display: grid; place-items: center; aspect-ratio: 1; border-radius: 26px; background: var(--tint); }
.plate svg { width: 88%; height: 88%; display: block; }
.p-fish .plate { background: var(--hav-t); } .p-veg .plate { background: var(--skog-t); } .p-chicken .plate { background: var(--sol-t); } .p-mince .plate { background: var(--lingon-t); }
.p-sausage .plate { background: var(--rose-t); } .p-pork .plate { background: var(--ljung-t); } .p-beef .plate { background: var(--lera-t); }

section { padding: clamp(44px, 7vw, 88px) 0 0; }
.four { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 56px; }
.four article { border-top: 1px solid var(--line); padding: 20px 0 12px; }
.four p { color: var(--muted); }

.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; max-width: 64ch; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 15px/32px var(--display); text-align: center; }

.straight dl { margin: 0; max-width: 72ch; }
.straight dt { font-weight: 700; border-top: 1px solid var(--line); padding-top: 14px; }
.straight dd { margin: 2px 0 14px; color: var(--muted); }
.faq h3 { margin-top: 22px; }
.faq p { color: var(--muted); }
.end { padding-bottom: 8px; }
.cta.big .btn { padding: 16px 30px; font-size: 18px; }

.doc { padding-top: clamp(32px, 6vw, 64px); }
.doc h1 { font-size: clamp(34px, 5vw, 56px); max-width: none; }
.doc h2 { font-size: 24px; margin: 30px 0 10px; }
.doc ul { padding-left: 20px; max-width: 68ch; }
.doc li { margin-bottom: 8px; }
.doc .item { padding-left: 18px; }
code { font: 14px ui-monospace, Menlo, Consolas, monospace; background: var(--tint); padding: 2px 6px; border-radius: 6px; }

.foot { margin-top: clamp(56px, 8vw, 104px); padding-top: 24px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); }
.foot p { margin-bottom: 4px; }
@media (max-width: 560px) { body { font-size: 16px; } .top nav a:last-child { display: none; } }

/* The top: the claim on the left, the whole shop being done on the right. The one dark surface on the page. */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.run { list-style: none; margin: 0; padding: 26px 24px 22px; background: var(--ink); color: #fff; border-radius: 30px; display: grid; gap: 18px; }
.run li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 14px; align-items: start; font-weight: 650; font-size: 18px; line-height: 1.35; animation: run-in .45s ease both; animation-delay: calc(var(--i) * .75s + .3s); }
.run .dot { width: 26px; height: 26px; border-radius: 50%; background: #22B866; color: #06301A; display: grid; place-items: center; }
.run .dot svg { width: 16px; height: 16px; }
.run em { font: 700 11px/1.6 var(--sans); font-style: normal; letter-spacing: .04em; text-transform: lowercase; padding: 1px 8px; margin-left: 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); vertical-align: middle; }
.run .you { color: #FFD23F; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.run .you .dot { background: #FFD23F; color: #6B4F00; }
.run-plates { display: flex; gap: 8px; margin-top: 12px; }
.run-plates .plate { flex: 1 1 0; min-width: 0; max-width: 52px; border-radius: 16px; }
.run-shops { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.run-shops span { font: 600 13px/1.5 var(--sans); padding: 2px 11px; border-radius: 999px; background: rgba(255, 255, 255, .13); }
.run-bar { height: 7px; border-radius: 4px; background: rgba(255, 255, 255, .16); margin-top: 13px; overflow: hidden; }
.run-bar i { display: block; height: 100%; background: #22B866; transform-origin: left; transform: scaleX(0); animation: run-fill 1.3s ease-out forwards; animation-delay: calc(3 * .75s + .6s); }
@keyframes run-in { from { visibility: hidden; transform: translateY(8px); } to { visibility: visible; transform: none; } }
@keyframes run-fill { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .run li { animation: none; } .run-bar i { animation: none; transform: none; } }
.run li:nth-child(1) { --i: 0; } .run li:nth-child(2) { --i: 1; } .run li:nth-child(3) { --i: 2; } .run li:nth-child(4) { --i: 3; } .run li:nth-child(5) { --i: 4; }
