/* Tripolis Sweets — site stylesheet
   Deep green from the boxes and the medallion, cream paper, the warm
   brown of the photographs. Newsreader for reading, Instrument Sans for
   labels, Aref Ruqaa for Arabic. */

/* ------------------------------------------------------------------ fonts */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aref Ruqaa";
  src: url("../fonts/aref-ruqaa-arabic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Aref Ruqaa";
  src: url("../fonts/aref-ruqaa-arabic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}

/* ----------------------------------------------------------------- tokens */
:root {
  --green-950: #101b17;
  --green-900: #15241e;
  --green-800: #1c3028;
  --green-700: #284237;
  --paper: #f3ebdb;
  --paper-2: #e8ddc8;
  --ink: #1c1611;
  --ink-2: #51463a;
  --cream: #f3ebdb;
  --cream-2: #b9b6a3;
  --gold: #c5a468;
  --copper: #a85f37;
  --pistachio: #b4c064;
  --rule-green: rgba(243, 235, 219, 0.17);
  --rule-paper: rgba(28, 22, 17, 0.18);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --arabic: "Aref Ruqaa", "Geeza Pro", "Noto Naskh Arabic", "Traditional Arabic", serif;

  --pad: clamp(1.25rem, 4.2vw, 4.5rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 11vw, 11rem);
  --header-h: 4.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.2, 1);
}

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--green-950);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 3.5rem);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--cream);
  background: var(--green-950);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 300; line-height: 1.02; letter-spacing: -0.018em; text-wrap: balance; }
i, em { font-style: italic; }
::selection { background: var(--gold); color: var(--green-950); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--paper); color: var(--ink); padding: 0.7rem 1rem;
  font-weight: 600; transition: top 0.2s;
}
.skip:focus { top: 1rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.wrap { padding-inline: var(--pad); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* Arabic sits beside the Latin everywhere, the way a shelf tag is written. */
[lang="ar"] { font-family: var(--arabic); direction: rtl; unicode-bidi: isolate; line-height: 1.5; letter-spacing: 0; }

.label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  font-stretch: 86%;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  line-height: 1.4;
}
.num { font-variant-numeric: tabular-nums lining-nums; }

/* Surfaces */
.on-green { background: var(--green-900); color: var(--cream); --rule: var(--rule-green); --muted: var(--cream-2); --accent: var(--gold); }
.on-deep { background: var(--green-950); color: var(--cream); --rule: var(--rule-green); --muted: var(--cream-2); --accent: var(--gold); }
.on-paper { background: var(--paper); color: var(--ink); --rule: var(--rule-paper); --muted: var(--ink-2); --accent: var(--copper); }
.section { padding-block: var(--section); }

/* Text links: a rule that redraws itself from the left on hover */
.link {
  display: inline-flex; align-items: baseline; gap: 0.6em;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; font-stretch: 86%;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding-bottom: 0.45em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.link::after {
  content: ""; width: 1.6em; height: 0.62em; flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M0 5h24M20 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M0 5h24M20 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.5s var(--ease);
}
@media (hover: hover) {
  .link:hover { background-size: 0 1px; background-position: 100% 100%; }
  .link:hover::after { transform: translateX(0.35em); }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 3.1rem; padding: 0.4rem 1.6rem;
  font-family: var(--sans); font-size: 0.8rem; font-weight: 600; font-stretch: 86%;
  letter-spacing: 0.15em; text-transform: uppercase;
  border: 1px solid currentColor;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn--solid { background: var(--cream); color: var(--green-950); border-color: var(--cream); }
.on-paper .btn--solid { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }
@media (hover: hover) {
  .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
}

/* ----------------------------------------------------------------- header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding-inline: var(--pad);
  color: var(--cream);
  transition: transform 0.5s var(--ease), background-color 0.4s, box-shadow 0.4s;
}
.header.is-solid { background: rgba(16, 27, 23, 0.94); box-shadow: 0 1px 0 var(--rule-green); }
@supports (backdrop-filter: blur(1px)) {
  .header.is-solid { background: rgba(16, 27, 23, 0.82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); }
}
.header.is-hidden { transform: translateY(-101%); }
.brand { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.brand img { width: 2.75rem; height: 2.75rem; flex: none; }
.brand__name {
  font-family: var(--sans); font-weight: 500; font-stretch: 80%;
  font-size: 0.95rem; letter-spacing: 0.3em; text-transform: uppercase; white-space: nowrap;
}
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.6vw, 2.6rem); }
.nav a {
  position: relative; padding-block: 0.5rem; white-space: nowrap;
  font-size: 0.8rem; font-weight: 500; font-stretch: 88%; letter-spacing: 0.14em; text-transform: uppercase;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.45s var(--ease);
}
.nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) { .nav a:hover::after { transform: scaleX(1); transform-origin: left; } }
.header__side { display: flex; align-items: center; gap: 1.6rem; }
.status { display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.8rem; font-weight: 500; white-space: nowrap; }
.status::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--cream-2); flex: none; }
.status[data-state="open"]::before { background: var(--pistachio); box-shadow: 0 0 0 0 rgba(180, 192, 100, 0.6); animation: pulse 2.6s ease-out infinite; }
.status[data-state="closed"]::before { background: #c0694d; }
.status:empty { display: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 0.5rem rgba(180, 192, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(180, 192, 100, 0); } }
.header__tel { font-size: 0.86rem; font-weight: 500; letter-spacing: 0.04em; white-space: nowrap; padding-block: 0.4rem; }
.menu-btn { display: none; font-size: 0.8rem; font-weight: 600; font-stretch: 86%; letter-spacing: 0.17em; text-transform: uppercase; padding: 0.8rem 0; }

/* Full-screen menu on small screens */
.sheet {
  position: fixed; inset: 0; z-index: 90;
  background: var(--green-900); color: var(--cream);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 1.5rem) var(--pad) 2rem;
  visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-io), visibility 0s 0.7s;
  overflow-y: auto;
}
.sheet.is-open { visibility: visible; clip-path: inset(0); transition: clip-path 0.7s var(--ease-io), visibility 0s; }
.sheet__links li { border-bottom: 1px solid var(--rule-green); overflow: hidden; }
.sheet__links a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.55rem 0 0.45rem;
  font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em;
  transform: translateY(110%); transition: transform 0.8s var(--ease);
}
.sheet__links a span[lang="ar"] { font-size: 0.62em; color: var(--gold); }
.sheet.is-open .sheet__links a { transform: none; }
.sheet.is-open .sheet__links li:nth-child(2) a { transition-delay: 0.05s; }
.sheet.is-open .sheet__links li:nth-child(3) a { transition-delay: 0.1s; }
.sheet.is-open .sheet__links li:nth-child(4) a { transition-delay: 0.15s; }
.sheet.is-open .sheet__links li:nth-child(5) a { transition-delay: 0.2s; }
.sheet__foot { display: grid; gap: 0.5rem; margin-top: 2.5rem; font-size: 0.95rem; color: var(--cream-2); }
.sheet__foot a { color: var(--cream); }

@media (max-width: 62rem) {
  .nav, .header__tel { display: none; }
  .menu-btn { display: block; }
  .brand__name { font-size: 0.76rem; letter-spacing: 0.2em; }
}
@media (max-width: 26rem) { .header .status { display: none; } }
/* Without scripts the small-screen menu cannot open, so the links stay in the bar. */
html:not(.js) .menu-btn { display: none; }
html:not(.js) .nav { display: flex; overflow-x: auto; }
html:not(.js) .sheet { display: none; }

/* ------------------------------------------------------------------- hero */
/* One stage. The photograph is treated as a scene rather than a picture:
   steam lifts off the coffee, sunlight and leaf shadow drift across the
   wall, the camera eases in. The Arabic name is written across the wall. */
.hero {
  --stage: min(52vw, calc(100svh - var(--header-h)));
  position: relative; min-height: 100svh; padding-top: var(--header-h); overflow: clip;
  display: grid; grid-template-columns: minmax(0, 1fr) var(--stage); align-items: end;
}
.hero__ar {
  position: absolute; z-index: 3; top: calc(var(--header-h) + clamp(0.4rem, 2.2vh, 1.6rem)); right: var(--pad); left: var(--pad);
  font-weight: 700; color: var(--cream); font-size: clamp(4.2rem, 13.4vw, 13.6rem); line-height: 1.12;
  text-align: right; white-space: nowrap; pointer-events: none;
  text-shadow: 0 0.02em 0.5em rgba(20, 10, 4, 0.35);
}
.hero__head { position: relative; z-index: 2; align-self: end; padding: 0 var(--gap) clamp(2rem, 6vh, 4rem) var(--pad); }
.hero__title { font-size: clamp(2.6rem, 5.4vw, 6rem); line-height: 0.98; letter-spacing: -0.03em; }
.hero__title i { font-weight: 300; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.8rem; margin-top: clamp(1.2rem, 3vh, 2rem); color: var(--cream-2); }
.hero__meta strong { color: var(--cream); font-weight: 600; }
.hero__go { margin-top: clamp(1.4rem, 3.4vh, 2.4rem); }

.stage { position: relative; width: var(--stage); aspect-ratio: 1; overflow: hidden; background: #5f3a28; isolation: isolate; align-self: end; }
.stage__scene { position: absolute; inset: 0; transform: translate3d(calc(var(--px, 0) * -1%), calc(var(--py, 0) * -1%), 0) scale(1.025); transition: transform 1.4s var(--ease); }
.stage__cam { position: absolute; inset: 0; animation: cam 22s ease-in-out infinite alternate; transform-origin: 62% 62%; }
@keyframes cam { from { transform: scale(1); } to { transform: scale(1.055); } }
.stage__slide { position: absolute; inset: 0; clip-path: polygon(0 0, 0 0, -45% 100%, -45% 100%); z-index: 0; }
.stage__slide img { width: 100%; height: 100%; object-fit: cover; }
.stage__slide.is-active { z-index: 2; clip-path: polygon(0 0, 145% 0, 100% 100%, -45% 100%); transition: clip-path 1.5s var(--ease-io); }
.stage__slide.is-active img, .stage__slide.is-active .stage__clip { animation: settle 2.4s var(--ease) both; }
.stage__slide.was-active { z-index: 1; clip-path: polygon(0 0, 145% 0, 100% 100%, -45% 100%); }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }

/* A filmed clip of the same photograph, where there is one. It lies over the
   photograph and stays clear until it is really playing, so the photograph is
   its poster and, with the coded steam and light below, its fallback. */
.stage__clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; pointer-events: none; transition: opacity 0.9s var(--ease); }
.stage__slide.is-live .stage__clip { opacity: 1; }
/* The film has its own steam and light, so the coded ones step back while it plays. */
.stage.is-live .steam, .stage.is-live .stage__light, .stage.is-live .stage__leaves { opacity: 0; }

/* Steam from the coffee cup: three soft wisps, each on its own clock. */
.steam { position: absolute; z-index: 3; left: var(--sx, 91%); top: var(--sy, 31%); width: 0; height: 0; pointer-events: none; transition: left 1.2s var(--ease-io), top 1.2s var(--ease-io), opacity 0.9s var(--ease); }
.steam i { position: absolute; left: 0; bottom: 0; aspect-ratio: 1 / 3.6; width: calc(var(--stage) * 0.06); transform-origin: 50% 100%; border-radius: 50%; opacity: 0;
  background: radial-gradient(closest-side, rgba(255, 246, 232, 0.95), rgba(255, 246, 232, 0.35) 55%, rgba(255, 246, 232, 0) 100%);
  filter: blur(calc(var(--stage) * 0.009)); mix-blend-mode: screen; animation: wisp 6.5s linear infinite; }
.steam i:nth-child(2) { animation-duration: 8s; animation-delay: -2.6s; margin-left: calc(var(--stage) * -0.03); }
.steam i:nth-child(3) { animation-duration: 7.2s; animation-delay: -5s; margin-left: calc(var(--stage) * 0.022); }
@keyframes wisp {
  0% { opacity: 0; transform: translate(-50%, 6%) scale(0.5, 0.35) rotate(0deg); }
  18% { opacity: 0.9; }
  55% { opacity: 0.55; transform: translate(-72%, -70%) scale(1, 0.85) rotate(-7deg) skewX(9deg); }
  100% { opacity: 0; transform: translate(-30%, -150%) scale(1.5, 1.15) rotate(6deg) skewX(-10deg); }
}

/* Light: the sun band breathes, and leaf shadow sways over the wall. */
.stage__light { position: absolute; inset: -12%; z-index: 4; pointer-events: none; mix-blend-mode: soft-light; transition: opacity 0.9s var(--ease); }
/* The band itself is the ::before, so the element's own opacity is free to fade it out for a clip. */
.stage__light::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(122deg, rgba(255, 214, 150, 0) 30%, rgba(255, 214, 150, 0.55) 46%, rgba(255, 214, 150, 0) 62%);
  animation: sun 13s ease-in-out infinite alternate; }
@keyframes sun { from { transform: translate3d(-9%, 0, 0); opacity: 0.55; } to { transform: translate3d(8%, 0, 0); opacity: 1; } }
.stage__leaves { position: absolute; inset: -20% -20% 38% -20%; z-index: 4; pointer-events: none; mix-blend-mode: multiply; opacity: 0.5; transition: opacity 0.9s var(--ease); filter: blur(calc(var(--stage) * 0.03));
  background:
    radial-gradient(18% 9% at 22% 30%, rgba(40, 20, 10, 0.75), transparent 70%),
    radial-gradient(14% 7% at 44% 52%, rgba(40, 20, 10, 0.6), transparent 70%),
    radial-gradient(20% 8% at 66% 26%, rgba(40, 20, 10, 0.7), transparent 70%),
    radial-gradient(12% 6% at 80% 58%, rgba(40, 20, 10, 0.55), transparent 70%),
    radial-gradient(16% 7% at 34% 74%, rgba(40, 20, 10, 0.5), transparent 70%);
  animation: leaves 9s ease-in-out infinite alternate; }
@keyframes leaves { from { transform: translate3d(-2.5%, -1%, 0) rotate(-1.5deg); } to { transform: translate3d(3%, 1.5%, 0) rotate(2deg); } }
.stage__glow { position: absolute; z-index: 4; pointer-events: none; width: 70%; aspect-ratio: 1; left: calc(50% + var(--px, 0) * 22%); top: calc(62% + var(--py, 0) * 14%); translate: -50% -50%; mix-blend-mode: soft-light;
  background: radial-gradient(closest-side, rgba(255, 226, 170, 0.5), transparent); transition: left 1.4s var(--ease), top 1.4s var(--ease); }

.stage__foot { position: absolute; z-index: 6; inset: auto 0 0 0; padding: 5rem clamp(1rem, 2vw, 1.8rem) clamp(0.9rem, 1.6vw, 1.4rem); color: var(--cream);
  background: linear-gradient(to top, rgba(22, 12, 6, 0.78), rgba(22, 12, 6, 0)); }
.stage__name { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.stage__name a { display: contents; }
.stage__en { font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.5vw, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.stage__arname { font-size: clamp(1.6rem, 2.7vw, 2.8rem); line-height: 1.1; }
.stage__name .line > span { transition: transform 0.9s var(--ease); }
.stage__name.is-out .line > span { transform: translateY(108%); transition-duration: 0.45s; }
/* The Arabic name's frame (a .line, which hides what overflows it) needs room all round:
   this calligraphy lifts letters in its joins and sets dots high (the dots of فستق), and
   lets strokes lean past the letter's width (the kaf of كنافة). A frame only as big as
   the text cut them off. The padding is taken back by the margin, so nothing moves. */
.stage__name .stage__arname { padding: 0.5em 0.3em 0.4em; margin: -0.5em -0.3em -0.4em; }
.stage__ticks { display: flex; gap: 0.4rem; margin-top: 0.9rem; }
.stage__ticks button { flex: 1; height: 1.6rem; position: relative; }
.stage__ticks button::before, .stage__ticks button::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(243, 235, 219, 0.32); }
.stage__ticks button::after { background: var(--cream); height: 2px; margin-top: -0.5px; transform: scaleX(0); transform-origin: left; }
.stage__ticks button.is-done::after { transform: scaleX(1); }
.stage__ticks button.is-active::after { animation: tick var(--dwell, 6.5s) linear forwards; }
.stage.is-paused .stage__ticks button.is-active::after, .stage.is-paused .stage__cam, .stage.is-paused .steam i, .stage.is-paused .stage__light::before, .stage.is-paused .stage__leaves { animation-play-state: paused; }
@keyframes tick { to { transform: scaleX(1); } }

@media (max-width: 56rem) {
  .hero { --stage: 100vw; display: block; min-height: 0; }
  .hero__ar { position: static; padding: clamp(1rem, 4vh, 2.4rem) var(--pad) 0; font-size: clamp(3.4rem, 18.5vw, 9rem); line-height: 1.25; text-shadow: none; }
  .hero__head { padding: 0.1rem var(--pad) 1.8rem; }
  .hero__title { font-size: clamp(2.5rem, 11.4vw, 5rem); }
  .hero__meta { gap: 0.35rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .steam, .stage__leaves, .stage__clip { display: none; }
  .stage__slide { clip-path: none; opacity: 0; }
  .stage__slide.is-active { clip-path: none; opacity: 1; }
}

/* -------------------------------------------------------------- statement */
.statement__folio { grid-column: 1 / span 2; display: grid; gap: 0.35rem; align-content: start; color: var(--muted); }
.statement__folio b { font-family: var(--serif); font-weight: 300; font-size: clamp(2.6rem, 4.4vw, 4.6rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--ink); }
.statement__text {
  grid-column: 4 / span 9;
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.75rem, 3.5vw, 3.7rem); line-height: 1.14; letter-spacing: -0.022em;
  text-wrap: pretty;
}
.statement__text .w { opacity: 0.16; transition: opacity 0.5s linear; }
.statement__text .w.is-lit { opacity: 1; }
.statement__aside { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(3rem, 6vw, 6rem); align-items: end; }
.statement__aside figure { grid-column: 1 / span 4; }
.statement__aside figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.86rem; }
.statement__aside div { grid-column: 6 / span 4; display: grid; gap: 1.5rem; justify-items: start; }
.statement__aside p { font-family: var(--serif); font-size: 1.22rem; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 56rem) {
  .statement__folio { grid-column: 1 / -1; grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 0.3rem 1.4rem; margin-bottom: 2rem; }
  .statement__folio b { grid-column: 1 / -1; }
  .statement__text, .statement__aside { grid-column: 1 / -1; }
  .statement__aside { display: block; }
  .statement__aside div { margin-top: 2rem; }
}

/* -------------------------------------------------- from the case (sticky) */
.case__head { display: flex; align-items: baseline; justify-content: space-between; gap: 2rem; padding-bottom: 1.4rem; border-bottom: 1px solid var(--rule); margin-bottom: clamp(2rem, 5vw, 5rem); }
.case__head h2 { font-size: clamp(2.2rem, 5vw, 5rem); }
.case__head [lang="ar"] { font-size: clamp(1.9rem, 4.2vw, 4.2rem); line-height: 1; color: var(--gold); }
.case__body { align-items: start; }
.case__media {
  grid-column: 1 / span 6; position: sticky; top: calc(var(--header-h) + 1.5rem);
  aspect-ratio: 1; max-height: calc(100svh - var(--header-h) - 3rem); width: 100%;
  overflow: hidden; background: #6a4531;
}
.case__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 0.9s var(--ease), transform 1.6s var(--ease); }
.case__media img.is-active { opacity: 1; transform: none; }
.case__count { position: absolute; left: 1rem; top: 0.9rem; z-index: 2; color: var(--cream); mix-blend-mode: normal; }
.case__list { grid-column: 8 / span 5; }
.case__item { border-top: 1px solid var(--rule); }
.case__item:last-child { border-bottom: 1px solid var(--rule); }
.case__item a { display: grid; grid-template-columns: 2.6rem 1fr auto; column-gap: 0.75rem; align-items: baseline; padding-block: clamp(2rem, 8.5vh, 5rem); }
.case__item a > * { transition: opacity 0.5s var(--ease); }
.case__item:not(.is-active) .case__name, .case__item:not(.is-active) .case__ar { opacity: 0.4; }
.case__item:not(.is-active) .case__no, .case__item:not(.is-active) .case__desc { opacity: 0.8; }
.case__no { color: var(--gold); }
.case__name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.7rem, 2.7vw, 2.9rem); line-height: 1.05; letter-spacing: -0.02em; }
.case__ar { font-size: clamp(1.5rem, 2.3vw, 2.4rem); line-height: 1.1; }
.case__desc { grid-column: 2 / -1; margin-top: 0.7rem; max-width: 30em; color: var(--muted); font-family: var(--serif); font-size: 1.08rem; line-height: 1.45; }
.case__inline { display: none; }
.case__foot { margin-top: clamp(2.5rem, 5vw, 4.5rem); display: flex; justify-content: flex-end; }
@media (hover: hover) { .case__item a:hover > * { opacity: 1; } }
.case__item a:focus-visible > * { opacity: 1; }
@media (max-width: 56rem) {
  .case__media { display: none; }
  .case__list { grid-column: 1 / -1; }
  .case__item a { padding-block: 1.5rem 1.7rem; }
  .case__item a > * { opacity: 1 !important; }
  .case__inline { display: block; grid-column: 1 / -1; margin-bottom: 1.1rem; aspect-ratio: 5 / 4; overflow: hidden; background: #6a4531; }
  .case__inline img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
  .case__foot { justify-content: flex-start; }
}

/* ------------------------------------------------------------- menu index */
.index__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; margin-bottom: clamp(2rem, 4vw, 4rem); }
.index__head h2 { grid-column: 1 / span 7; font-size: clamp(2.6rem, 7vw, 7.4rem); letter-spacing: -0.035em; }
.index__head p { grid-column: 9 / span 4; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--muted); }
.index__row { border-top: 1px solid var(--rule); }
.index__row:last-child { border-bottom: 1px solid var(--rule); }
.index__row a {
  position: relative; display: grid; grid-template-columns: 3.5rem minmax(0, 1fr) auto 7rem; column-gap: var(--gap); align-items: center;
  padding-block: clamp(0.9rem, 1.8vw, 1.7rem);
  transition: padding 0.6s var(--ease), color 0.4s;
}
.index__no { color: var(--muted); }
.index__name { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 3.6rem); line-height: 1.05; letter-spacing: -0.025em; }
.index__ar { font-size: clamp(1.4rem, 2.9vw, 3rem); line-height: 1.1; color: var(--copper); }
.index__thumb { justify-self: end; width: 7rem; aspect-ratio: 4 / 3; overflow: hidden; clip-path: inset(0 0 0 100%); transition: clip-path 0.7s var(--ease); background: #6a4531; }
.index__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 76%; transform: scale(1.25); transition: transform 1s var(--ease); }
@media (hover: hover) {
  .index__row a:hover { padding-left: 1rem; }
  .index__row a:hover .index__thumb { clip-path: inset(0); }
  .index__row a:hover .index__thumb img { transform: none; }
}
@media (hover: none), (max-width: 56rem) {
  .index__thumb { clip-path: none; }
  .index__thumb img { transform: none; }
}
@media (max-width: 56rem) {
  .index__head { display: block; }
  .index__head p { margin-top: 1.2rem; max-width: 30em; }
  .index__row a { grid-template-columns: 2rem minmax(0, 1fr) 4.5rem; row-gap: 0.1rem; }
  .index__ar { grid-column: 2; grid-row: 2; justify-self: start; }
  .index__thumb { grid-column: 3; grid-row: 1 / span 2; width: 4.5rem; aspect-ratio: 1; }
}

/* -------------------------------------------------------- full-bleed photo */
/* The bakery photograph has a dark wall along its top edge; the heading sits
   on a band of the same colour and the picture fades up into it. */
.bleed { position: relative; overflow: clip; background: #2b1d17; color: var(--cream); --rule: var(--rule-green); }
.bleed__text { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding: clamp(4rem, 8vw, 8rem) var(--pad) 0; position: relative; z-index: 1; }
.bleed__text h2 { font-size: clamp(2.6rem, 7vw, 7.4rem); letter-spacing: -0.035em; }
.bleed__text [lang="ar"] { font-size: clamp(2.2rem, 5.6vw, 6rem); line-height: 1; color: var(--gold); }
.bleed__media { position: relative; overflow: hidden; margin-top: clamp(-5rem, -4vw, -1rem); }
.bleed__media img { width: 100%; height: auto; will-change: transform; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
.bleed--plain .bleed__media { margin-top: 0; }
.bleed--plain .bleed__media img { -webkit-mask-image: none; mask-image: none; }
.bleed__foot { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); padding: clamp(2rem, 4vw, 3.5rem) var(--pad) clamp(3.5rem, 7vw, 6.5rem); background: #2b1d17; align-items: start; }
.bleed__foot p { grid-column: 1 / span 5; font-family: var(--serif); font-weight: 300; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.32; }
.bleed__foot ul { grid-column: 7 / span 4; columns: 2; column-gap: var(--gap); font-family: var(--serif); font-size: 1.12rem; }
.bleed__foot li { padding-block: 0.45rem; border-bottom: 1px solid var(--rule-green); break-inside: avoid; }
.bleed__foot .link { grid-column: 11 / span 2; justify-self: end; }
@media (max-width: 56rem) {
  .bleed__media img { height: 58svh; object-fit: cover; object-position: 50% 62%; }
  .bleed__foot { display: block; }
  .bleed__foot ul { margin-block: 1.8rem; }
}

/* -------------------------------------------------------- two-up features */
.pair { align-items: center; row-gap: 2.5rem; }
.pair__media { grid-column: 1 / span 7; position: relative; }
.pair__media--right { grid-column: 6 / span 7; order: 2; }
.pair__media .small { position: absolute; right: -8%; bottom: -12%; width: 38%; border: 0.6rem solid var(--paper); }
.on-green .pair__media .small { border-color: var(--green-900); }
.pair__text { grid-column: 9 / span 4; display: grid; gap: 1.5rem; justify-items: start; }
.pair__media--right + .pair__text { grid-column: 1 / span 4; order: 1; }
.pair__text h2 { font-size: clamp(2.2rem, 4.6vw, 4.8rem); }
.pair__text .ar { font-size: clamp(1.8rem, 3.4vw, 3.4rem); line-height: 1; color: var(--accent); }
.pair__text p { font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--muted); max-width: 26em; }
.pair__text p.lead { color: inherit; font-size: clamp(1.3rem, 1.9vw, 1.7rem); line-height: 1.32; font-weight: 300; }
@media (max-width: 56rem) {
  .pair__media, .pair__media--right, .pair__text, .pair__media--right + .pair__text { grid-column: 1 / -1; order: 0; }
  .pair__media .small { right: 0; bottom: -10%; width: 36%; }
  .pair__media:has(.small) { margin-bottom: 8%; }
}

/* ------------------------------------------------------------------ visit */
.visit__title { font-size: clamp(2.6rem, 7vw, 7.4rem); letter-spacing: -0.035em; margin-bottom: clamp(2rem, 4vw, 4rem); display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.visit__title [lang="ar"] { font-size: 0.78em; line-height: 1; color: var(--accent); }
.visit__grid { align-items: start; row-gap: 3rem; }
.visit__info { grid-column: 1 / span 5; display: grid; gap: 2.2rem; }
.visit__photo { grid-column: 7 / span 6; }
.visit__photo figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.86rem; }
.address { font-family: var(--serif); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.12; letter-spacing: -0.02em; font-style: normal; }
.address a { display: block; margin-top: 0.6rem; }
.hours { width: 100%; border-collapse: collapse; font-size: 1rem; }
.hours caption { text-align: left; padding-bottom: 0.8rem; }
.hours th, .hours td { padding: 0.62rem 0; border-top: 1px solid var(--rule); font-weight: 400; text-align: left; vertical-align: top; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 1px solid var(--rule); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours td span { display: block; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-today th::after { content: "Today"; margin-left: 0.8rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.visit .status { font-size: 0.95rem; }
.map { position: relative; aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(0.75) contrast(1.02); }
@media (max-width: 56rem) {
  .visit__info, .visit__photo { grid-column: 1 / -1; }
  .map { aspect-ratio: 4 / 5; }
}

/* ----------------------------------------------------------------- footer */
.footer { background: var(--green-950); color: var(--cream); padding: clamp(3.5rem, 7vw, 7rem) var(--pad) 1.6rem; overflow: clip; }
.footer__top { row-gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 5rem); }
.footer__col { grid-column: span 3; display: grid; gap: 0.5rem; align-content: start; font-size: 0.98rem; }
.footer__col h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; font-stretch: 86%; letter-spacing: 0.17em; text-transform: uppercase; color: var(--cream-2); margin-bottom: 0.6rem; line-height: 1.4; }
.footer__col a { justify-self: start; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--ease); }
@media (hover: hover) { .footer__col a:hover { background-size: 100% 1px; } }
.footer__mark { grid-column: 1 / span 3; }
.footer__mark img { width: clamp(5.5rem, 9vw, 8.5rem); }
.footer__names { display: flex; justify-content: space-between; align-items: baseline; gap: 2rem; border-top: 1px solid var(--rule-green); padding-top: clamp(1rem, 2vw, 2rem); line-height: 1; }
.footer__names .en { font-family: var(--serif); font-weight: 300; font-size: clamp(2.2rem, 6.6vw, 7.4rem); letter-spacing: -0.04em; white-space: nowrap; }
.footer__names [lang="ar"] { font-weight: 700; font-size: clamp(2rem, 4.8vw, 5.4rem); line-height: 1.1; color: var(--gold); white-space: nowrap; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: clamp(1.5rem, 3vw, 3rem); color: var(--cream-2); font-size: 0.8rem; }
@media (max-width: 56rem) {
  .footer__mark { grid-column: 1 / -1; }
  .footer__col { grid-column: span 6; }
  .footer__col a { overflow-wrap: anywhere; }
  .footer__names { flex-direction: column-reverse; align-items: flex-start; gap: 0.4rem; }
  .footer__names [lang="ar"] { align-self: flex-end; }
}

/* ------------------------------------------------------------- page heads */
.page-head { padding: calc(var(--header-h) + clamp(3rem, 9vw, 8rem)) var(--pad) clamp(2.5rem, 5vw, 5rem); }
.page-head__names { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem 3rem; flex-wrap: wrap; }
.page-head h1 { font-size: clamp(3rem, 9.4vw, 10rem); letter-spacing: -0.04em; line-height: 0.94; }
.page-head__ar { font-weight: 700; font-size: clamp(2.6rem, 8vw, 8.6rem); line-height: 1.1; color: var(--gold); margin-left: auto; }
.page-head__intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); margin-top: clamp(2rem, 4vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--rule-green); }
.page-head__intro .label { grid-column: 1 / span 3; color: var(--cream-2); }
.page-head__intro p { grid-column: 7 / span 6; font-family: var(--serif); font-weight: 300; font-size: clamp(1.25rem, 2vw, 1.8rem); line-height: 1.32; }
@media (max-width: 56rem) {
  .page-head__intro { display: block; }
  .page-head__intro p { margin-top: 1rem; }
}

/* ----------------------------------------------------------- sweets: menu */
.catnav { position: sticky; top: var(--header-h); z-index: 50; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--rule-paper); transition: top 0.5s var(--ease); }
.header-hidden .catnav { top: 0; }
.catnav ul { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); overflow-x: auto; scrollbar-width: none; padding-inline: var(--pad); }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav a { position: relative; display: block; padding: 1.05rem 0 0.95rem; white-space: nowrap; font-size: 0.78rem; font-weight: 600; font-stretch: 86%; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-2); transition: color 0.3s; }
.catnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
.catnav a.is-current { color: var(--ink); }
.catnav a.is-current::after { transform: scaleX(1); }

.cat { padding: clamp(4rem, 8vw, 8rem) var(--pad) 0; }
.cat:last-of-type { padding-bottom: clamp(4rem, 8vw, 8rem); }
.cat__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: 1rem; align-items: baseline; padding-bottom: 1.5rem; border-bottom: 1px solid var(--rule); margin-bottom: var(--gap); }
.cat__head h2 { grid-column: 1 / span 8; font-size: clamp(2.1rem, 5.2vw, 5.4rem); letter-spacing: -0.03em; }
.cat__ar { grid-column: 9 / span 4; justify-self: end; font-size: clamp(1.9rem, 4.4vw, 4.6rem); line-height: 1; color: var(--copper); }
.cat__intro { grid-column: 1 / span 7; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--muted); max-width: 32em; }
.items { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.2rem, 3.4vw, 3.6rem) var(--gap); }
.item { grid-column: span 4; }
.item--lead { grid-column: span 8; grid-row: span 2; }
.item button { display: block; width: 100%; text-align: left; cursor: zoom-in; }
.item__photo { display: block; aspect-ratio: 1; overflow: hidden; background: #6a4531; }
.item__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
@media (hover: hover) { .item button:hover .item__photo img { transform: scale(1.04); } }
.item__tag { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; margin-top: 0.85rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--rule); }
.item__name { font-family: var(--serif); font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.15; letter-spacing: -0.012em; }
.item--lead .item__name { font-size: clamp(1.5rem, 2.6vw, 2.5rem); font-weight: 300; letter-spacing: -0.02em; }
.item__ar { font-size: clamp(1.3rem, 1.7vw, 1.65rem); line-height: 1.15; white-space: nowrap; }
.item--lead .item__ar { font-size: clamp(1.5rem, 2.4vw, 2.3rem); }
.item__flavour { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.9rem; margin-top: 0.7rem; font-size: 0.72rem; font-weight: 600; font-stretch: 86%; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.item__warm { display: inline-flex; align-items: center; gap: 0.35rem; color: #91502e; }  /* copper, a shade deeper so small type stays readable */
.item__warm::before { content: ""; width: 0.42rem; height: 0.42rem; border-radius: 50%; background: currentColor; }
.item__flavour + .item__desc { margin-top: 0.35rem; }
.item__desc { display: block; margin-top: 0.6rem; font-family: var(--serif); font-size: 1.02rem; line-height: 1.45; color: var(--muted); max-width: 34em; }
.cat__note { margin-top: clamp(2rem, 4vw, 3.5rem); padding-top: 1.2rem; border-top: 1px solid var(--rule); font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; max-width: 36em; }
@media (max-width: 56rem) {
  .cat__head h2 { grid-column: 1 / -1; grid-row: 2; }
  .cat__ar { grid-column: 1 / -1; grid-row: 1; }
  .cat__intro { grid-column: 1 / -1; }
  .item { grid-column: span 6; }
  .item--lead { grid-column: 1 / -1; grid-row: auto; }
  .item__tag { flex-direction: column; gap: 0.1rem; }
  .item--lead .item__tag { flex-direction: row; }
  .item__desc { font-size: 0.95rem; }
}

/* Enlarged view */
.viewer { width: min(72rem, 100vw - 2rem); max-width: none; max-height: calc(100dvh - 2rem); padding: 0; border: 0; background: var(--green-900); color: var(--cream); overflow: auto; }
.viewer::backdrop { background: rgba(8, 14, 12, 0.82); }
.viewer[open] { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.viewer__photo { aspect-ratio: 1; background: #6a4531; overflow: hidden; }
.viewer__photo img { width: 100%; height: 100%; object-fit: cover; }
.viewer__body { display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: clamp(1.4rem, 3vw, 2.8rem); }
.viewer__ar { font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.15; color: var(--gold); }
.viewer__name { font-size: clamp(1.9rem, 3.4vw, 3.2rem); margin-top: 0.4rem; }
.viewer__desc { font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--cream-2); margin-top: 1.1rem; }
.viewer__nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--rule-green); padding-top: 1rem; }
.viewer__nav button { font-size: 0.76rem; font-weight: 600; font-stretch: 86%; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.6rem 0; }
.viewer__close { align-self: flex-end; font-size: 0.76rem; font-weight: 600; font-stretch: 86%; letter-spacing: 0.15em; text-transform: uppercase; padding: 0.4rem 0; }
@media (hover: hover) { .viewer button:hover { color: var(--gold); } }
@media (max-width: 48rem) {
  .viewer[open] { grid-template-columns: 1fr; }
}

/* ----------------------------------------------------------------- bakery */
.plainlist { grid-column: 1 / span 7; }
.plainlist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.5rem; align-items: baseline; padding-block: clamp(1.1rem, 2vw, 1.8rem); border-top: 1px solid var(--rule); }
.plainlist li:last-child { border-bottom: 1px solid var(--rule); }
.plainlist h3 { font-size: clamp(1.6rem, 3vw, 2.9rem); letter-spacing: -0.022em; }
.plainlist [lang="ar"] { font-size: clamp(1.4rem, 2.5vw, 2.4rem); line-height: 1.1; color: var(--copper); }
.on-green .plainlist [lang="ar"] { color: var(--gold); }
.plainlist p { grid-column: 1 / -1; margin-top: 0.5rem; font-family: var(--serif); font-size: 1.12rem; line-height: 1.45; color: var(--muted); max-width: 34em; }
.sidephotos { grid-column: 9 / span 4; display: grid; gap: var(--gap); align-content: start; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidephotos figcaption { margin-top: 0.6rem; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-family: var(--serif); font-size: 1.05rem; }
.sidephotos figcaption [lang="ar"] { font-size: 1.25rem; line-height: 1.2; }
.section-title { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 4rem); }
.section-title h2 { font-size: clamp(2.4rem, 6vw, 6.2rem); letter-spacing: -0.03em; }
.section-title [lang="ar"] { font-size: clamp(2rem, 5vw, 5rem); line-height: 1; color: var(--accent); }
.drinks { align-items: start; row-gap: 3rem; }
.drinks__list { grid-column: 1 / span 5; }
.drinks__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; padding-block: 0.85rem; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(1.2rem, 1.7vw, 1.5rem); }
.drinks__list li:last-child { border-bottom: 1px solid var(--rule); }
.drinks__list [lang="ar"] { font-size: 1.15em; line-height: 1.2; color: var(--accent); }
.drinks__photos { grid-column: 7 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.drinks__photos figure:nth-child(even) { margin-top: 22%; }
.drinks__photos figcaption { margin-top: 0.6rem; font-family: var(--serif); font-size: 1.02rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.drinks__photos figcaption [lang="ar"] { font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 56rem) {
  .plainlist, .sidephotos, .drinks__list, .drinks__photos { grid-column: 1 / -1; }
  .sidephotos { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2.5rem; }
}

/* ------------------------------------------------------------------ story */
.story { row-gap: clamp(3rem, 6vw, 6rem); }
.story__quote { grid-column: 1 / span 10; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 4.2vw, 4.4rem); line-height: 1.1; letter-spacing: -0.025em; text-wrap: pretty; }
.story__quote::before { content: "\201C"; }
.story__quote::after { content: "\201D"; }
.story__label { grid-column: 1 / span 3; color: var(--muted); padding-top: 0.5rem; }
.story__text { grid-column: 5 / span 6; display: grid; gap: 1.3em; font-family: var(--serif); font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.55; }
.story__text h2 { font-size: clamp(2rem, 4vw, 4rem); margin-bottom: 0.2em; }
.story__figure { grid-column: 1 / -1; }
.story__figure--inset { grid-column: 5 / span 8; }
.story__figure figcaption { margin-top: 0.7rem; color: var(--muted); font-size: 0.86rem; }
.story__press { grid-column: 5 / span 6; padding-top: 1.2rem; border-top: 1px solid var(--rule); color: var(--muted); }
@media (max-width: 56rem) {
  .story__quote, .story__label, .story__text, .story__figure--inset, .story__press { grid-column: 1 / -1; }
}

/* ---------------------------------------------------------- closing call */
.closing { text-align: left; }
.closing__grid { align-items: end; row-gap: 2.5rem; }
.closing h2 { grid-column: 1 / span 8; font-size: clamp(2.6rem, 7.4vw, 7.8rem); letter-spacing: -0.035em; }
.closing__side { grid-column: 9 / span 4; display: grid; gap: 1.4rem; justify-items: start; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; }
@media (max-width: 56rem) { .closing h2, .closing__side { grid-column: 1 / -1; } }

/* ------------------------------------------------------------ photographs */
.photo { position: relative; overflow: hidden; background: #6a4531; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--4x3 { aspect-ratio: 4 / 3; }
.photo--1x1 { aspect-ratio: 1; }
.photo--3x2 { aspect-ratio: 3 / 2; }
.photo--16x9 { aspect-ratio: 16 / 9; }

/* ----------------------------------------------------------------- motion */
/* Applied only when scripts are running, so the page is complete without them. */
.js [data-reveal] { opacity: 0; transform: translateY(1.6rem); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="photo"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
.js [data-reveal="photo"] img { transform: scale(1.14); transition: transform 1.9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="photo"].is-in { clip-path: inset(0); }
.js [data-reveal="photo"].is-in img { transform: none; }
.js [data-reveal="rule"] { opacity: 1; transform: none; }

/* Lines that rise from behind their own baseline */
.line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.line > span { display: block; }
.js .line > span { transform: translateY(108%); transition: transform 1.25s var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .line > span, .js .line.is-in > span { transform: none; }
/* Arabic is written right to left, so it is uncovered right to left. */
.js .wipe-rtl { clip-path: inset(-60% 0 -60% 100%); transition: clip-path 1.5s var(--ease-io); transition-delay: var(--d, 0s); }
.js .wipe-rtl.is-in, .js .is-in .wipe-rtl { clip-path: inset(-60% -4% -60% -4%); }  /* tall: the calligraphy's dots sit high and low */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="photo"], .js [data-reveal="photo"] img, .js .line > span, .js .wipe-rtl { opacity: 1; transform: none; clip-path: none; }
  .statement__text .w { opacity: 1; }
}

/* Moving between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: 0.35s var(--ease) both vt-out; }
::view-transition-new(root) { animation: 0.55s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(1.2rem); } }
::view-transition-group(item-photo) { animation-duration: 0.6s; animation-timing-function: var(--ease-io); }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* ------------------------------------------------------------------ print */
@media print {
  .header, .sheet, .catnav, .steam, .stage__light, .stage__leaves, .footer__names, .map { display: none !important; }
  body, .on-green, .on-deep, .on-paper, .footer { background: #fff !important; color: #000 !important; }
  .js [data-reveal], .js .line > span, .js .wipe-rtl { opacity: 1 !important; transform: none !important; clip-path: none !important; }
}
