/* scanmymenu.online — short home page in black and white (2026-12-06, after the Squarespace example).
   The longer first design is kept in backup/src-2026-12-06-uitgebreid/site.css. */
:root {
  --bk: #000; --wh: #fff; --ink: #111; --mut: #666; --line: #e7e7e4;
  --pad: clamp(16px, 4vw, 40px);
  --font: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--font); color: var(--ink); background: var(--wh); -webkit-font-smoothing: antialiased; }
[dir="rtl"] body { font-family: 'Noto Sans Arabic', var(--font); }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
section[id] { scroll-margin-top: 64px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 54px; padding: 0 30px; border-radius: 8px;
  font: 600 16px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: opacity .2s, transform .2s; white-space: nowrap; }
[dir="rtl"] .btn { font-family: inherit; }
.btn:hover { opacity: .86; }
.btn:active { transform: scale(.98); }
.btn-s { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-w { background: var(--wh); color: var(--bk); }
.btn-b { background: var(--bk); color: var(--wh); }
.btn-line { background: transparent; color: var(--ink); border-color: #cfcfcb; }
.btn span[aria-hidden] { display: inline-block; }
[dir="rtl"] .btn span[aria-hidden], [dir="rtl"] .ar { transform: scaleX(-1); }

/* ---------- top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; height: 64px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  padding: 0 var(--pad); background: var(--bk); color: var(--wh); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; text-decoration: none; }
.brand .mark { width: 22px; height: 22px; fill: currentColor; }
.top-nav { display: flex; gap: 36px; }
.top-nav a { font-size: 15px; text-decoration: none; opacity: .8; }
.top-nav a:hover { opacity: 1; }
.top-r { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; padding: 8px 4px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary span { font-size: 10px; opacity: .7; }
.lang ul { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; min-width: 170px; background: var(--wh); color: var(--ink); border-radius: 12px;
  padding: 6px; box-shadow: 0 12px 40px rgba(0, 0, 0, .25); }
.lang a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; text-decoration: none; }
.lang a:hover { background: #f1f1ee; }
.lang a[aria-current] { font-weight: 600; }

/* ---------- hero ---------- */
.hero { background: var(--bk); color: var(--wh); text-align: center; overflow: hidden; padding-top: clamp(48px, 9vh, 104px); }
.hero-txt { container-type: inline-size; max-width: 1100px; margin: 0 auto; padding: 0 var(--pad); }
.hero h1 { font-weight: 600; letter-spacing: -.035em; line-height: 1.02;
  font-size: clamp(28px, min(9vw, calc(100cqi / (var(--len, 24) * .52))), 92px); } /* each line fits on one row */
[dir="rtl"] .hero h1 { letter-spacing: 0; line-height: 1.25; }
.hero h1 span { display: block; }
.hero-sub { max-width: 640px; margin: 24px auto 0; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .78); }
.hero .btn { margin-top: 32px; }
.hero-note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .58); }
.hero-row { display: flex; justify-content: center; gap: clamp(12px, 2vw, 28px); height: clamp(240px, 36vh, 400px); margin-top: clamp(40px, 7vh, 80px); overflow: hidden; }
.ph { flex: 0 0 auto; width: clamp(140px, 15vw, 236px); margin-top: var(--y, 0); }
.ph img { width: 100%; height: auto; border-radius: 26px; border: 6px solid #262626; background: #111; }

/* ---------- sections ---------- */
.work, .how { padding: clamp(64px, 9vw, 120px) var(--pad); }
.sec-head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.sec-head h2, .end h2 { font-weight: 600; letter-spacing: -.03em; line-height: 1.05; font-size: clamp(34px, 4.6vw, 64px); }
[dir="rtl"] .sec-head h2, [dir="rtl"] .end h2 { letter-spacing: 0; line-height: 1.3; }
.sec-head p { margin-top: 14px; font-size: 18px; color: var(--mut); }

/* work grid */
.grid { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.card { display: block; text-decoration: none; color: inherit; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--bg, #f1f1ee); }
.tile img { position: absolute; left: 50%; top: 9%; width: 64%; height: auto; transform: translateX(-50%); border-radius: 18px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, .38); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
a.card:hover .tile img { transform: translateX(-50%) translateY(-10px); }
.w-name { display: block; margin-top: 16px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.w-kind { display: block; margin-top: 2px; font-size: 15px; color: var(--mut); }
.w-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 15px; font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.w-go .ar { width: 12px; height: 12px; }
.is-soon .w-go { color: var(--mut); border-bottom-color: transparent; font-weight: 500; }
.tile-you { background: var(--bk); color: var(--wh); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; }
.you-h { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }

/* how it works */
.how { background: var(--bk); color: var(--wh); }
.steps { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { border: 1px solid #2e2e2e; border-radius: 16px; padding: 32px; }
.steps .n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wh); color: var(--bk); font-weight: 700; }
.steps h3 { margin: 24px 0 10px; font-size: 23px; font-weight: 600; letter-spacing: -.015em; }
.steps p { font-size: 16px; color: rgba(255, 255, 255, .74); }
.also { margin-top: 40px; text-align: center; font-size: 17px; color: rgba(255, 255, 255, .74); }

/* last call */
.end { text-align: center; padding: clamp(72px, 10vw, 140px) var(--pad); }
.end h2 { font-size: clamp(36px, 5.4vw, 76px); }
.end h2 span { display: block; }
.end p { max-width: 560px; margin: 20px auto 32px; font-size: 18px; color: var(--mut); }

/* ---------- footer ---------- */
.foot { background: var(--bk); color: var(--wh); padding: 56px var(--pad) 28px; }
.foot-in { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 32px; }
.foot-a p { margin-top: 14px; max-width: 380px; font-size: 15px; color: rgba(255, 255, 255, .68); }
.foot-k { margin-bottom: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.foot-wa { font-size: 20px; font-weight: 600; text-decoration: none; direction: ltr; unicode-bidi: isolate; }
.foot-c ul { columns: 2; column-gap: 24px; }
.foot-c a { display: inline-block; padding: 3px 0; font-size: 15px; text-decoration: none; color: rgba(255, 255, 255, .8); }
.foot-c a:hover, .foot-wa:hover { text-decoration: underline; }
.foot-legal { max-width: 1320px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid #222; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- privacy / 404 ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 64px var(--pad) 96px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 600; letter-spacing: -.03em; margin-bottom: 24px; }
.doc p { margin-top: 16px; }
.doc .btn { margin-top: 16px; }
.p-doc .top { grid-template-columns: 1fr auto; }
.p-doc .top-nav { display: none; }

/* ---------- cookie banner (only when GA4 / Ads are on) ---------- */
.cookie { position: fixed; z-index: 60; inset-inline: 16px; bottom: 16px; max-width: 520px; background: var(--wh); color: var(--ink); border-radius: 14px;
  padding: 18px; box-shadow: 0 12px 48px rgba(0, 0, 0, .3); font-size: 15px; }
.cookie[hidden] { display: none; }
.cookie-b { display: flex; gap: 10px; margin-top: 14px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .top { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .steps { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .foot-a { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .brand { font-size: 17px; }
  .hero-sub { margin-top: 18px; }
  .hero .btn { margin-top: 26px; }
  .hero-row { height: 230px; margin-top: 40px; }
  .ph { width: 40vw; max-width: 180px; }
  .ph-out { display: none; }
  .grid { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
  .tile { border-radius: 12px; }
  .tile img { border-radius: 10px; width: 70%; top: 8%; }
  .w-name { font-size: 16px; margin-top: 12px; }
  .w-kind, .w-go { font-size: 14px; }
  .you-h { font-size: 20px; }
  .tile-you { gap: 16px; padding: 16px; }
  .tile-you .btn { padding: 0 14px; font-size: 13px; }
  .steps li { padding: 24px; }
  .steps h3 { margin-top: 18px; font-size: 21px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile img { transition: none; }
}
