/* Don't Tell Dad — unofficial concept. All colours/fonts below are CHOSEN for the demo (see README). */

@font-face { font-family: "Readex Pro"; src: url("fonts/readex-pro-arabic-wght-normal.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200E, U+0660-0669; }
@font-face { font-family: "Readex Pro"; src: url("fonts/readex-pro-latin-wght-normal.woff2") format("woff2"); font-weight: 160 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }

:root {
  --dir: -1;
  --forest: #1c3a2a;
  --forest-deep: #132a1e;
  --check: #2e5a41;
  --cream: #f1e8d3;
  --cream-2: #e6dbc1;
  --ink: #12231a;
  --line: rgba(28, 58, 42, .18);
  --line-cream: rgba(241, 232, 211, .22);

  --f-ar: "Readex Pro", system-ui, sans-serif;
  --f-en: "DM Sans", system-ui, sans-serif;
  --f-display: "Fraunces", Georgia, serif;

  --bar-h: 64px;
  --pad: clamp(18px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 140ms;

  --roll: .14;      /* hero cloth: 0 = covering, 1 = rolled away (JS) */
  --t: 0;           /* table settle progress (JS) */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--cream); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; color: var(--ink); background: var(--cream);
  font-family: var(--f-ar); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: var(--f-en); }
:lang(en) { font-family: var(--f-en); }
:lang(ar) { font-family: var(--f-ar); }
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--check); outline-offset: 3px; }
.visit :focus-visible { outline-color: var(--cream); }

.checker, .hem, .table-cloth, .sq-tile, .rail, .peek-sq {
  --a: var(--check); --b: var(--cream); --sq: 24px;
  background: repeating-conic-gradient(var(--a) 0 25%, var(--b) 0 50%) 0 0 / calc(var(--sq) * 2) calc(var(--sq) * 2);
}

.skip { position: absolute; inset-inline-start: 12px; top: -100px; z-index: 50; background: var(--forest); color: var(--cream); padding: 12px 16px; }
.skip:focus { top: 12px; }

/* ---------- bar ---------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--bar-h);
  display: flex; align-items: center; gap: 12px; padding-inline: var(--pad);
  background: var(--cream); border-bottom: 1px solid var(--line);
}
.mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; margin-inline-end: auto; }
.mascot { height: 40px; width: auto; transition: transform var(--fast) var(--ease); }
.mark:hover .mascot { transform: rotate(-8deg); }
.mark-name { font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
html[lang="en"] .mark-name { font-family: var(--f-display); font-weight: 600; font-size: 1.12rem; }
.nav { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; text-decoration: none; font-size: .95rem; position: relative; }
.nav a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 10px; height: 2px; background: var(--forest); transform: scaleX(0); transform-origin: var(--origin, right); transition: transform 220ms var(--ease); }
html[lang="en"] .nav a::after { --origin: left; }
.nav a:hover::after { transform: scaleX(1); }
.lang {
  min-width: 44px; height: 44px; padding: 0 10px; border: 1.5px solid var(--forest); background: transparent; cursor: pointer;
  font-weight: 600; font-size: .9rem; transition: background var(--fast), color var(--fast), transform var(--fast);
}
.lang:hover { background: var(--forest); color: var(--cream); }
.lang:active { transform: scale(.94); }

/* ---------- 01 hero: copy + real photos, cloth as optional delight ---------- */
.hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  height: 100svh; min-height: 600px; max-height: 1100px; padding-top: var(--bar-h);
  background: var(--cream); overflow: hidden; overflow: clip;
}
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 6svh var(--pad) 9svh; position: relative; z-index: 3; }
.eyebrow { margin: 0 0 16px; font-size: .86rem; letter-spacing: .08em; display: flex; gap: 10px; align-items: center; color: var(--forest); }
.eyebrow .dot { width: 8px; height: 8px; background: var(--check); display: inline-block; }
.title { margin: 0; line-height: 1.02; color: var(--forest); display: flex; flex-direction: column; gap: .1em; }
.t-primary { font-weight: 700; font-size: clamp(2.5rem, 5.4vw, 5.4rem); letter-spacing: -.01em; }
.t-secondary { font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2.2vw, 2rem); color: var(--check); }
html[lang="en"] .t-primary { font-family: var(--f-display); font-weight: 600; letter-spacing: -.035em; font-variation-settings: "SOFT" 100, "WONK" 1; }
html[lang="en"] .t-secondary { font-family: var(--f-ar); font-style: normal; font-weight: 500; }
.tagline { margin: 20px 0 26px; font-family: var(--f-display); font-style: italic; font-size: clamp(1.05rem, 1.6vw, 1.35rem); color: var(--forest); max-width: 30ch; }
html[dir="rtl"] .tagline { align-self: flex-start; }
.hero-links { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 360px; }
.hero-links a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 52px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--forest); font-weight: 500; transition: padding var(--fast) var(--ease); }
.hero-links a:hover { padding-inline-start: 6px; }
.hero-links a:hover .l-ar { transform: translateX(calc(var(--dir) * 5px)) scaleX(var(--dir)); }

.hero-media { position: relative; min-height: 0; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; overflow: clip; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(calc(1.05 - var(--roll) * .05)); will-change: transform; }

/* the cloth drapes over the top of the photo; it never covers most of the food */
.cloth { position: absolute; inset: 0; z-index: 2; pointer-events: none; transform: translate3d(0, calc(var(--roll) * -100%), 0); will-change: transform; }
.cloth-face {
  position: absolute; inset: 0; background-color: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, rgba(28,58,42,.035) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(28,58,42,.03) 0 1px, transparent 1px 4px);
}
.cloth-face::after { content: ""; position: absolute; inset-inline: 14px; bottom: 12px; border-bottom: 1.5px dashed rgba(28,58,42,.3); }
.hem {
  --sq: 8px; position: absolute; inset-inline: 0; bottom: -10px; height: 20px;
  transform: scaleY(calc(.7 + var(--roll) * .6)); transform-origin: top;
  box-shadow: inset 0 5px 5px -4px rgba(0,0,0,.35), inset 0 -5px 5px -4px rgba(0,0,0,.35), 0 10px 18px rgba(0,0,0,.25);
}
/* pull tab hanging from the hem */
.peek {
  position: absolute; top: 100%; inset-inline-end: clamp(16px, 4vw, 48px); pointer-events: auto;
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 14px 0 10px;
  background: var(--forest); color: var(--cream); border: 0; cursor: pointer;
  font-size: .95rem; font-weight: 500; box-shadow: 0 8px 16px rgba(0,0,0,.22);
  transform: scaleY(calc(1 / (.7 + var(--roll) * .6))); transform-origin: top;
  transition: background var(--fast);
}
.peek-sq { --sq: 5px; --a: var(--cream); --b: var(--forest); width: 20px; height: 20px; flex: none; outline: 1.5px solid var(--cream); transition: transform 320ms var(--ease); }
.peek-up { font-family: var(--f-en); transition: transform 220ms var(--ease); }
.peek:hover { background: var(--ink); }
.peek:hover .peek-sq { transform: rotate(90deg); }
.peek:hover .peek-up { transform: translateY(-3px); }
.peek:active { background: var(--ink); }
.peek:active .peek-label { transform: translateY(1px); }

.hero-inset {
  position: absolute; z-index: 3; width: clamp(150px, 17vw, 260px); aspect-ratio: 4 / 5;
  inset-inline-start: clamp(-110px, -6vw, -40px); top: 7svh; overflow: hidden; overflow: clip;
  border: 6px solid var(--cream); box-shadow: 0 18px 34px rgba(0,0,0,.22);
  transform: rotate(var(--inset-r, -2deg));
}
html[dir="rtl"] .hero-inset { --inset-r: 2deg; }
.hero-inset img { width: 100%; height: 100%; object-fit: cover; }

.whisper {
  position: absolute; z-index: 4; inset-inline-end: clamp(16px, 4vw, 48px); bottom: clamp(16px, 4svh, 40px);
  display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 10px;
  background: var(--forest-deep); color: var(--cream);
  opacity: 0; transform: translate3d(0, 10px, 0); pointer-events: none;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease);
}
.whisper img { height: 40px; width: auto; }
.whisper p { margin: 0; font-size: 1rem; font-weight: 500; }
.is-open .whisper { opacity: 1; transform: none; pointer-events: auto; }
.cover { display: none; min-height: 44px; padding: 0 12px; margin-inline-start: 4px; background: transparent; border: 1.5px solid var(--line-cream); color: var(--cream); cursor: pointer; transition: background var(--fast); }
.is-peeked .cover { display: inline-flex; align-items: center; }
.cover:hover { background: rgba(241,232,211,.1); }
.cover:active { background: rgba(241,232,211,.18); }

/* ---------- 02 table ---------- */
.table-sec { --span: 75vh; position: relative; height: calc(100vh + var(--span)); height: calc(100svh + var(--span)); background: var(--forest-deep); }
.table-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; }
.table-cloth {
  --sq: clamp(28px, 4.2vw, 58px);
  position: absolute; inset: -34% -25% -45%; backface-visibility: hidden;
  transform: perspective(1000px) translate3d(0, calc((1 - var(--t)) * 6%), 0) rotateX(calc((1 - var(--t)) * 40deg)) scale(calc(1 + (1 - var(--t)) * .45));
  transform-origin: 50% 60%; will-change: transform;
}
.table-stage::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: #0b1a12; opacity: calc((1 - var(--t)) * .3); }
.stage-title {
  position: absolute; z-index: 3; top: calc(var(--bar-h) + 18px); inset-inline-start: var(--pad); margin: 0;
  background: var(--cream); color: var(--forest); padding: 10px 16px; font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 600;
  display: flex; gap: 12px; align-items: baseline;
}
.num { font-family: var(--f-display); font-style: italic; font-weight: 400; color: var(--check); }
.plate {
  --p: 0; --s: min(30vw, 46svh);
  position: absolute; width: var(--s); aspect-ratio: 4 / 5; overflow: hidden; overflow: clip; z-index: 2;
  border: 6px solid var(--cream);
  box-shadow: 0 calc(6px + var(--p) * 18px) calc(14px + var(--p) * 30px) rgba(0,0,0,calc(.15 + var(--p) * .25));
  transform: translate3d(calc((1 - var(--p)) * var(--fx)), calc((1 - var(--p)) * var(--fy)), 0) rotate(calc((1 - var(--p)) * var(--fr) + var(--rr, 0deg)));
  will-change: transform;
}
.plate img { width: 100%; height: 100%; object-fit: cover; }
.plate-a { inset-inline-start: 7vw; top: calc(var(--bar-h) + 14svh); --s: min(24vw, 44svh); }
.plate-b { inset-inline-start: 37vw; top: calc(var(--bar-h) + 5svh); --s: min(27vw, 52svh); }
.plate-c { inset-inline-start: 70vw; top: calc(var(--bar-h) + 20svh); --s: min(22vw, 40svh); }
.placecard {
  --c: 0;
  position: absolute; z-index: 3; left: 50%; bottom: 7svh;
  transform: translate3d(-50%, calc((1 - var(--c)) * 40px), 0) rotate(calc((1 - var(--c)) * -4deg)); opacity: var(--c);
  background: var(--cream); color: var(--forest); padding: 14px 22px;
  font-family: var(--f-display); font-style: italic; font-size: clamp(1rem, 1.7vw, 1.3rem);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 14px; width: max-content; max-width: calc(100vw - 32px);
  box-shadow: 0 1px 0 var(--cream-2), 0 14px 26px rgba(0,0,0,.28);
}
.placecard::before { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgba(28,58,42,.08); } /* tent fold */
.bar-sep { width: 7px; height: 7px; background: var(--check); }

/* ---------- 03 food ---------- */
.food { overflow-x: clip; padding: clamp(72px, 12vh, 140px) var(--pad) clamp(72px, 12vh, 140px); }
.food-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: clamp(24px, 4vw, 48px); border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.food-head h2 { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 600; color: var(--forest); display: flex; gap: 14px; align-items: baseline; }
html[lang="en"] .food-head h2 { font-family: var(--f-display); font-weight: 500; letter-spacing: -.02em; }
.credit-line { margin: 0; font-size: .9rem; color: var(--forest); opacity: .8; }

.food-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(8px, 1.2vw, 18px);
  grid-template-areas:
    "a a a a a a a b b b b b"
    "a a a a a a a t t t s s"
    ". c c c c d d d d d d d"
    "e e e e e e e e u u u .";
}
.ph { position: relative; overflow: hidden; overflow: clip; background: var(--cream-2); }
.ph img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; transform: translate3d(0, var(--py, 0), 0); will-change: transform; }
.f1 { grid-area: a; aspect-ratio: 4 / 5; }
.f2 { grid-area: b; aspect-ratio: 4 / 5; }
.f3 { grid-area: c; aspect-ratio: 4 / 5; }
.f4 { grid-area: d; aspect-ratio: 3 / 2; align-self: end; }
.f5 { grid-area: e; aspect-ratio: 3 / 2; }
.sq-tile { --sq: clamp(14px, 1.6vw, 22px); min-height: 60px; position: relative; }
.t1 { grid-area: t; display: flex; align-items: center; justify-content: center; }
.t2 { grid-area: s; --a: var(--forest); }
.t3 { grid-area: u; aspect-ratio: 1; align-self: start; }
.shh { background: var(--cream); color: var(--forest); padding: 6px 14px; font-family: var(--f-display); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 2rem); }

/* ---------- 04 visit ---------- */
.visit { background: var(--forest-deep); color: var(--cream); }
.rail { --sq: 18px; --a: var(--cream); --b: var(--forest); height: 36px; }
.visit-in { display: grid; grid-template-columns: 5fr 7fr; gap: 40px clamp(32px, 6vw, 96px); padding: clamp(56px, 10vh, 120px) var(--pad); max-width: 1400px; margin: 0 auto; }
.visit-head { position: relative; }
.visit-head .num { color: var(--cream); opacity: .7; margin: 0 0 6px; }
.city { margin: 0; font-size: clamp(3.4rem, 10vw, 8rem); line-height: 1; font-weight: 700; }
html[lang="en"] .city { font-family: var(--f-display); font-weight: 500; letter-spacing: -.035em; }
.visit-mascot { height: 64px; width: auto; margin-top: 28px; background: var(--cream); padding: 4px; }
.links { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line-cream); }
.links a {
  display: grid; grid-template-columns: minmax(5.5rem, 9rem) 1fr auto; align-items: center; gap: 16px;
  min-height: 68px; padding: 10px 8px; border-top: 1px solid var(--line-cream); text-decoration: none;
  transition: background var(--fast);
}
.l-k { font-size: .85rem; letter-spacing: .06em; opacity: .7; }
.l-v { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 500; }
.l-ar {  font-family: var(--f-en); font-size: 1.2rem; transform: scaleX(var(--dir)); transition: transform 220ms var(--ease); }
html[dir="ltr"] { --dir: 1; }
.l-ar { display: inline-block; transform: scaleX(var(--dir)); transition: transform 220ms var(--ease); }
.links a:hover { background: rgba(241,232,211,.06); }
.links a:hover .l-ar { transform: translateX(calc(var(--dir) * 6px)) scaleX(var(--dir)); }
.links a:active { background: rgba(241,232,211,.13); }
.notes { grid-column: 2; font-size: .95rem; opacity: .82; max-width: 52ch; }
.notes p { margin: 0 0 8px; }

/* ---------- footer ---------- */
.foot { padding: 28px var(--pad) 36px; text-align: center; font-size: .85rem; color: var(--forest); border-top: 1px solid var(--line); }
.foot p { margin: 0 0 6px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
.foot .sep { width: 6px; height: 6px; background: var(--check); align-self: center; }
.foot-small { opacity: .7; }

/* ---------- small screens ---------- */
@media (max-width: 760px) {
  :root { --bar-h: 58px; }
  body { font-size: 16px; }
  .bar { height: var(--bar-h); gap: 6px; }
  .nav a:not(:last-child) { display: none; }
  .nav a { padding-inline: 10px; }

  .hero { grid-template-columns: 1fr; grid-template-rows: 58svh auto; height: auto; min-height: 0; max-height: none; }
  .hero-media { grid-row: 1; }
  .hero-copy { grid-row: 2; padding: 26px var(--pad) 34px; justify-content: flex-start; }
  .t-primary { font-size: clamp(2.4rem, 12vw, 3.6rem); }
  .hero-links { max-width: none; }
  .hero-inset { width: 30vw; inset-inline-start: auto; inset-inline-end: 5vw; top: auto; bottom: -22px; border-width: 4px; }
  .whisper { inset-inline-end: auto; inset-inline-start: var(--pad); bottom: 14px; }
  .peek { inset-inline-end: auto; inset-inline-start: var(--pad); }

  .table-sec { --span: 60vh; }
  .plate-a { inset-inline-start: 5vw; top: calc(var(--bar-h) + 7svh); --s: 46vw; }
  .plate-b { inset-inline-start: 45vw; top: calc(var(--bar-h) + 21svh); --s: 50vw; }
  .plate-c { inset-inline-start: 8vw; top: calc(var(--bar-h) + 42svh); --s: 40vw; }
  .plate { border-width: 4px; }
  .placecard { bottom: 4svh; padding: 10px 20px; flex-direction: column; gap: 0; font-size: 1rem; }
  .placecard .bar-sep { display: none; }
  .placecard::before { display: none; }

  .food-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "a a a a a a"
      "t t b b b b"
      "c c c c s s"
      "d d d d d d"
      "e e e e e u";
  }
  .f2 { aspect-ratio: 3 / 4; }
  .f3 { aspect-ratio: 4 / 5; }
  .t2 { min-height: 0; }
  .t3 { aspect-ratio: auto; align-self: stretch; }
  .f5 { aspect-ratio: 4 / 5; }

  .visit-in { grid-template-columns: 1fr; gap: 28px; }
  .notes { grid-column: 1; }
  .links a { grid-template-columns: 5.2rem 1fr auto; gap: 10px; }
}
@media (max-width: 360px) {
  .mark-name { font-size: .92rem; }
  .t-primary { font-size: 2.3rem; }
  .peek-label { font-size: .9rem; }
  .l-v { font-size: 1rem; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation: none !important; }
  .table-sec { height: auto; }
  .table-stage { position: relative; height: 100vh; height: 100svh; }
  .ph img { transform: none; }
}
