/* Layout: you look into the diwan through a qamariya window. The arch is the frame for the photo, the menu dishes and the signup; a strip of coloured glass separates the rooms of the page. One brand look, set explicitly. */
:root {
  --mud: #4E2A1A;
  --mud-deep: #321A10;
  --plaster: #F7F1E6;
  --sand: #EADFCB;
  --saffron: #D9A23B;
  --saffron-soft: #E9C27A;
  --indigo: #2E3A6B;
  --pomegranate: #9E2B32;
  --ink: #4E2A1A;
  --ink-soft: #6A4B3A;
  --rule: #CDBA9C;
  --display: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --body: 'EB Garamond', Georgia, 'Times New Roman', serif;
  --arabic: 'Markazi Text', 'Geeza Pro', 'Traditional Arabic', serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--plaster); color: var(--ink); font-family: var(--body); font-size: 19px; line-height: 1.6; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1200px; margin-inline: auto; padding-inline: 28px; }
.ar { font-family: var(--arabic); }
.svgdefs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Arch shape used across the page */
.arch { clip-path: url(#arch); }
.arch-frame { position: relative; }
.arch-frame > svg.outline { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); overflow: visible; pointer-events: none; }
.arch-frame > svg.outline path { fill: none; stroke: var(--saffron); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

/* Glass strip: the coloured panes of the qamariya, as a divider */
.glass { height: 18px; background:
  repeating-linear-gradient(90deg,
    var(--saffron) 0 46px, var(--mud-deep) 46px 50px,
    var(--indigo) 50px 96px, var(--mud-deep) 96px 100px,
    var(--pomegranate) 100px 146px, var(--mud-deep) 146px 150px,
    var(--plaster) 150px 196px, var(--mud-deep) 196px 200px);
  border-block: 4px solid var(--mud-deep); }

/* Hero: brown left half with the story, the impression photo bleeding off the right edge, as in the concept image */
.hero { position: relative; background: var(--mud); color: var(--plaster); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 15% 30%, rgba(217,162,59,0.10), transparent 60%), radial-gradient(60% 80% at 40% 100%, rgba(50,26,16,0.55), transparent 70%); pointer-events: none; }
.hero-photo { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%); mask-image: linear-gradient(90deg, transparent 0%, #000 32%); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; display: block; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(50,26,16,0.45), transparent 30%), linear-gradient(180deg, rgba(50,26,16,0.45), transparent 22%); }
.hero-photo figcaption { position: absolute; right: 16px; bottom: 14px; z-index: 1; font-size: 13px; font-style: italic; color: var(--plaster); background: rgba(50,26,16,0.6); padding: 3px 10px; border-radius: 4px; }
.hero-inner { position: relative; z-index: 1; max-width: 1360px; margin-inline: auto; padding-inline: 40px; min-height: 760px; display: flex; flex-direction: column; }
.nav { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-block: 28px 0; }
.logo { text-shadow: 0 2px 14px rgba(0,0,0,0.6); display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--plaster); }
.logo img { width: 82px; height: auto; }
.logo .ar { font-size: 30px; font-weight: 700; line-height: 1; }
.logo .la { font-family: var(--display); font-size: 24px; font-weight: 600; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 34px; padding-top: 10px; }
.nav-links a:not(.btn) { color: var(--plaster); text-decoration: none; font-size: 18px; padding-block: 6px; border-bottom: 1.5px solid transparent; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }
.nav-links a:not(.btn):hover { border-bottom-color: var(--saffron); }
.nav-links .btn { min-height: 46px; padding-inline: 24px; background: rgba(50,26,16,0.35); }
.hero-copy { max-width: 600px; display: flex; flex-direction: column; gap: 24px; padding-block: 56px 64px; margin-block: auto; }
.eyebrow-hero { font-size: 15px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--saffron); margin: 0; }
.hero h1 { font-family: var(--display); font-weight: 500; font-size: clamp(52px, 7vw, 96px); line-height: 0.98; margin: 0; letter-spacing: -0.01em; }
.hero h1 span { display: block; color: var(--saffron); font-style: italic; }
.lead { font-size: 22px; line-height: 1.5; color: var(--sand); margin: 0; max-width: 30em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 4px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding-inline: 28px; border-radius: 999px; font-family: var(--body); font-size: 18px; font-weight: 500; text-decoration: none; cursor: pointer; border: 1.5px solid var(--saffron); transition: background 0.2s, color 0.2s; }
.btn-solid { background: var(--saffron); color: var(--mud-deep); }
.btn-solid:hover { background: var(--saffron-soft); }
.btn-line { background: transparent; color: var(--plaster); }
.btn-line:hover { background: rgba(217, 162, 59, 0.16); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.perks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.perks li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; font-size: 16px; line-height: 1.3; color: var(--sand); }
.perks svg { width: 40px; height: 40px; stroke: var(--sand); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* Feature band under the hero */
.features { background: var(--plaster); border-bottom: 1px solid var(--rule); }
.features ul { list-style: none; margin: 0 auto; padding-block: 40px; max-width: 1360px; padding-inline: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-inline: 16px; min-width: 0; }
.features li + li { border-left: 1px solid var(--rule); }
.features svg { width: 64px; height: 50px; stroke: var(--mud); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.features strong { font-family: var(--display); font-size: 27px; font-weight: 600; line-height: 1.1; }
.features small { font-size: 13px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); }

/* Sections */
section { padding-block: 104px; }
.eyebrow { font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--pomegranate); font-weight: 600; margin: 0 0 18px; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(38px, 4.8vw, 60px); line-height: 1.04; margin: 0 0 26px; text-wrap: balance; }
h2 em { font-style: italic; color: var(--pomegranate); }

/* Coming-soon ticker */
.ticker { background: var(--saffron); color: var(--mud-deep); overflow: hidden; border-block: 1px solid rgba(50,26,16,0.25); }
.ticker-track { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding: 14px 22px; font-family: var(--display); font-size: 24px; font-weight: 600; white-space: nowrap; }
.ticker .ar { font-family: var(--arabic); font-size: 26px; font-weight: 700; }
.ticker i { width: 7px; height: 7px; background: var(--mud-deep); transform: rotate(45deg); display: inline-block; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 72px; align-items: center; }
.story-body p { margin: 0 0 20px; max-width: 33em; }
.motto { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; margin: 30px 0 0; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mud); }
.motto i { width: 8px; height: 8px; background: var(--saffron); transform: rotate(45deg); display: inline-block; }
.story-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 240px 240px; gap: 14px; }
.story-photos figure { margin: 0; overflow: hidden; border-radius: 6px; background: var(--sand); }
.story-photos figure:first-child { grid-row: span 2; clip-path: url(#arch); border-radius: 0; }
.story-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* How we eat */
.ritual { background: var(--mud); color: var(--plaster); }
.ritual h2 { color: var(--plaster); }
.ritual h2 em { color: var(--saffron); }
.ritual .eyebrow { color: var(--saffron); }
.ritual-intro { margin: 0; max-width: 36em; color: var(--sand); }
.steps { list-style: none; padding: 0; margin: 52px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.steps .shot { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: var(--mud-deep); }
.steps .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.steps .num { font-size: 13px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--saffron); font-weight: 600; }
.steps h3 { font-family: var(--display); font-size: 29px; font-weight: 600; margin: -6px 0 0; line-height: 1.1; }
.steps p { margin: 0; font-size: 17px; color: var(--sand); }

/* Kitchen: tabbed menu preview */
.kitchen-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 40px; }
.kitchen-head p { margin: 0 0 26px; max-width: 28em; color: var(--ink-soft); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 34px; }
.tab { font-family: var(--body); font-size: 17px; min-height: 46px; padding-inline: 20px; border-radius: 999px; border: 1.5px solid var(--rule); background: transparent; color: var(--ink); cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.tab:hover { border-color: var(--mud); }
.tab[aria-selected="true"] { background: var(--mud); border-color: var(--mud); color: var(--plaster); }
.panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: start; }
.panel-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.panel-photos figure { margin: 0; position: relative; overflow: hidden; border-radius: 6px; aspect-ratio: 4 / 3; background: var(--sand); }
.panel-photos figure:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.panel-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }
.panel-photos figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 15px; color: var(--plaster); background: rgba(50,26,16,0.72); padding: 3px 12px; border-radius: 999px; }
.panel-text h3 { font-family: var(--display); font-size: 40px; font-weight: 500; line-height: 1.05; margin: 0 0 6px; }
.panel-text h3 .ar { font-size: 34px; color: var(--pomegranate); margin-left: 10px; font-weight: 500; }
.panel-text > p { margin: 0 0 22px; color: var(--ink-soft); }
.dishlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.dishlist li { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding-block: 12px; border-top: 1px solid var(--rule); }
.dishlist strong { font-weight: 600; font-size: 19px; }
.dishlist span { font-size: 16px; color: var(--ink-soft); text-align: right; }
.panel[hidden] { display: none; }
.price-note { margin: 22px 0 0; font-style: italic; color: var(--ink-soft); font-size: 17px; }

/* Photo strip */
.strip { overflow: hidden; padding-block: 0 104px; }
.strip-track { display: flex; gap: 14px; width: max-content; animation: ticker 60s linear infinite; }
.strip figure { margin: 0; width: 300px; height: 220px; border-radius: 6px; overflow: hidden; flex: none; background: var(--sand); }
.strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip:hover .strip-track { animation-play-state: paused; }

/* Progress: where we are */
.progress { background: var(--sand); }
.road { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.road::before { content: ""; position: absolute; left: 8%; right: 8%; top: 17px; height: 2px; background: var(--rule); }
.road li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-inline: 8px; min-width: 0; }
.road .dot { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--rule); background: var(--plaster); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1; }
.road .done .dot { background: var(--mud); border-color: var(--mud); }
.road .done .dot svg { width: 16px; height: 16px; stroke: var(--plaster); fill: none; stroke-width: 2.4; }
.road .now .dot { border-color: var(--saffron); background: var(--saffron); box-shadow: 0 0 0 6px rgba(217,162,59,0.25); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 12px rgba(217,162,59,0.08); } }
.road strong { font-family: var(--display); font-size: 23px; font-weight: 600; line-height: 1.1; }
.road small { font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }
.road .now small { color: var(--pomegranate); font-weight: 600; }

/* Signup */
.signup { background: var(--mud); color: var(--plaster); position: relative; overflow: hidden; }
.signup-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.signup h2 { color: var(--plaster); }
.signup h2 em { color: var(--saffron); }
.signup .eyebrow { color: var(--saffron); }
.signup p.intro { margin: 0; max-width: 30em; color: var(--sand); }
.perklist { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--sand); }
.perklist li { display: flex; gap: 12px; align-items: baseline; }
.perklist li::before { content: ""; width: 8px; height: 8px; background: var(--saffron); transform: rotate(45deg); flex: none; position: relative; top: -2px; }
form { display: flex; flex-direction: column; gap: 12px; background: rgba(247,241,230,0.06); border: 1px solid rgba(234,223,203,0.2); border-radius: 10px; padding: 32px; }
label { font-size: 16px; font-weight: 500; color: var(--sand); }
.field { display: flex; flex-wrap: wrap; gap: 12px; }
input[type="email"] { flex: 1 1 240px; min-width: 0; min-height: 54px; padding-inline: 22px; border-radius: 999px; border: 1.5px solid var(--sand); background: var(--plaster); color: var(--ink); font-family: var(--body); font-size: 18px; }
input[type="email"]:focus { outline: none; box-shadow: 0 0 0 3px rgba(217, 162, 59, 0.6); }
.form-msg { min-height: 1.6em; font-size: 17px; color: var(--saffron); margin: 0; }
.insta { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; color: var(--plaster); text-underline-offset: 4px; }
.insta svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; }

footer { background: var(--mud-deep); color: var(--sand); padding-block: 36px; font-size: 16px; }
.foot { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; }
.foot .ar { font-size: 22px; }

@media (max-width: 960px) {
  .hero-photo { position: relative; width: 100%; height: 340px; -webkit-mask-image: none; mask-image: none; }
  .hero-photo::after { background: linear-gradient(180deg, rgba(50,26,16,0.8) 0%, rgba(50,26,16,0) 50%), linear-gradient(0deg, var(--mud) 0%, rgba(78,42,26,0) 40%); }
  .hero-inner { min-height: 0; padding-inline: 24px; }
  .nav { position: absolute; top: -340px; left: 24px; right: 24px; }
  .nav-links a:not(.btn) { display: none; }
  .logo img { width: 58px; }
  .hero-copy { padding-block: 8px 56px; }
  .features ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; padding-inline: 24px; }
  .features li:nth-child(3) { border-left: 0; }
  .story, .signup-card, .panel { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .road { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .road::before { display: none; }
  section { padding-block: 72px; }
  .strip { padding-block: 0 72px; }
}
@media (max-width: 540px) {
  .wrap { padding-inline: 18px; }
  .nav-links { display: none; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features ul { grid-template-columns: minmax(0, 1fr); }
  .features li + li { border-left: 0; border-top: 1px solid var(--rule); padding-top: 22px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .road { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-photos { grid-template-rows: 180px 180px; }
  .strip figure { width: 220px; height: 160px; }
  form { padding: 22px; }
  .lead { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track, .strip-track { animation: none; }
  .road .now .dot { animation: none; }
}
