/*
Theme Name: WALIMA
Theme URI: https://atico-jo.com/
Author: ATICO Fakhreldin Group
Description: A bespoke bilingual experience for WALIMA by ATICO.
Version: 1.0.5
Text Domain: walima
*/

:root {
  --clay: #c94f2d;
  --clay-deep: #9f361f;
  --clay-soft: #e88768;
  --ink: #171714;
  --charcoal: #23231f;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --sage: #7f877e;
  --gold: #b5a23c;
  --line: rgba(23, 23, 20, .16);
  --shadow: 0 30px 80px rgba(35, 28, 20, .18);
  --radius: 28px;
  --container: min(1280px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wp-admin-offset: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.admin-bar { --wp-admin-offset: 32px; }
html[dir="rtl"] body { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
button { color: inherit; }
::selection { color: var(--paper); background: var(--clay); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 9999;
  padding: 10px 16px; color: #fff; background: var(--ink);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }
.site-shell { min-height: 100vh; }
.container { width: var(--container); margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  color: var(--clay); font-size: .72rem; font-weight: 700; letter-spacing: .19em;
  line-height: 1.3; text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 1px; content: ""; background: currentColor; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.display {
  margin: 0; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.6rem, 8.8vw, 9.2rem); font-weight: 500;
  letter-spacing: -.055em; line-height: .82;
}
html[dir="rtl"] .display {
  font-family: "Noto Kufi Arabic", Tahoma, sans-serif;
  font-size: clamp(3.2rem, 7.8vw, 8.2rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.1;
}
.title {
  margin: 0; font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 5vw, 5.8rem); font-weight: 500; letter-spacing: -.045em; line-height: .95;
}
html[dir="rtl"] .title { font-family: "Noto Kufi Arabic", Tahoma, sans-serif; line-height: 1.25; }
.lead { max-width: 680px; margin: 26px 0 0; color: rgba(23,23,20,.72); font-size: clamp(1rem, 1.5vw, 1.22rem); }
.section { position: relative; padding: clamp(80px, 10vw, 150px) 0; }
.section-dark { color: var(--paper); background: var(--ink); }
.section-dark .lead { color: rgba(255,253,248,.68); }
.section-clay { color: var(--paper); background: var(--clay); }
.section-clay .eyebrow, .section-clay .lead { color: rgba(255,255,255,.78); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 54px; }
.section-head > div:first-child { max-width: 760px; }
.micro { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
html[dir="rtl"] .micro { letter-spacing: 0; }

.btn {
  position: relative; display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 12px;
  padding: 13px 25px; overflow: hidden; border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; font-size: .76rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase;
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s;
}
html[dir="rtl"] .btn { letter-spacing: 0; }
.btn:hover { transform: translateY(-3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.btn-primary { color: #fff; background: var(--clay); box-shadow: 0 14px 32px rgba(201,79,45,.24); }
.btn-primary:hover { background: var(--clay-deep); }
.btn-light { color: var(--ink); background: var(--paper); }
.btn-outline { color: inherit; border-color: rgba(23,23,20,.28); background: transparent; }
.section-dark .btn-outline, .hero .btn-outline { border-color: rgba(255,255,255,.42); }
.btn .arrow { width: 20px; height: 20px; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px); }

/* Intro */
.intro {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center;
  color: var(--paper); background: var(--clay); pointer-events: none;
  transition: clip-path 1.05s var(--ease) .15s, visibility 0s 1.3s;
  clip-path: inset(0 0 0 0);
}
.intro.is-hidden { visibility: hidden; clip-path: inset(0 0 100% 0); }
.intro-inner { display: grid; width: min(560px, 78vw); place-items: center; text-align: center; }
.intro-logo { width: min(420px, 75vw); filter: brightness(0) invert(1); opacity: 0; transform: scale(.85); animation: introMark .9s var(--ease) .15s forwards; }
.intro-line { width: 0; height: 1px; margin-top: 28px; background: rgba(255,255,255,.6); animation: introLine .9s var(--ease) .55s forwards; }
.intro-copy { margin-top: 17px; font-size: .67rem; letter-spacing: .24em; text-transform: uppercase; opacity: 0; animation: introCopy .7s .7s forwards; }
@keyframes introMark { to { opacity: 1; transform: scale(1); } }
@keyframes introLine { to { width: 100%; } }
@keyframes introCopy { to { opacity: 1; } }

/* Header */
.site-header {
  position: fixed; top: var(--wp-admin-offset); inset-inline: 0; z-index: 900; color: var(--paper);
  transition: color .35s, background .35s, transform .35s, box-shadow .35s;
}
.site-header.scrolled { color: var(--ink); background: rgba(246,241,231,.9); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 88px; }
.brand { position: relative; z-index: 3; display: inline-flex; width: 124px; justify-self: start; }
.brand img { width: 100%; filter: brightness(0) invert(1); transition: filter .35s; }
.site-header.scrolled .brand img { filter: none; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { position: relative; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.desktop-nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 1px; content: ""; background: currentColor; transform: scaleX(0); transition: transform .3s; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
html[dir="rtl"] .desktop-nav a { letter-spacing: 0; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 10px; }
.lang-switch { padding: 9px 11px; border: 0; background: transparent; font-size: .72rem; font-weight: 800; cursor: pointer; }
.header-order { min-height: 42px; padding: 9px 17px; color: #fff; background: var(--clay); }
.menu-toggle { position: relative; z-index: 3; display: none; width: 46px; height: 46px; padding: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; }
.menu-toggle span { position: absolute; left: 12px; width: 20px; height: 1px; background: currentColor; transition: transform .3s, top .3s; }
.menu-toggle span:first-child { top: 18px; }
.menu-toggle span:last-child { top: 26px; }
.menu-open .menu-toggle span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-toggle span:last-child { top: 22px; transform: rotate(-45deg); }
.menu-open .site-header { color: var(--paper); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header .brand img { filter: brightness(0) invert(1); }
.mobile-panel { position: fixed; inset: 0; z-index: 2; display: none; padding: 120px 24px 36px; color: var(--paper); background: var(--ink); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
body.admin-bar .mobile-panel { top: var(--wp-admin-offset); }
.menu-open .mobile-panel { opacity: 1; visibility: visible; }
.mobile-nav { display: grid; gap: 8px; }
.mobile-nav a { padding: 8px 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.7rem, 11vw, 4.5rem); line-height: 1; }
html[dir="rtl"] .mobile-nav a { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(2.2rem, 9vw, 3.8rem); line-height: 1.4; }
.mobile-panel-foot { position: absolute; right: 24px; bottom: 28px; left: 24px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .75rem; }

/* Hero */
.hero { position: relative; min-height: 100svh; overflow: hidden; color: var(--paper); background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media::before { position: absolute; inset: 0; z-index: 1; content: ""; background: linear-gradient(90deg, rgba(12,12,10,.86) 0%, rgba(12,12,10,.56) 45%, rgba(12,12,10,.12) 100%), linear-gradient(0deg, rgba(12,12,10,.55), transparent 50%); }
html[dir="rtl"] .hero-media::before { background: linear-gradient(-90deg, rgba(12,12,10,.86) 0%, rgba(12,12,10,.56) 45%, rgba(12,12,10,.12) 100%), linear-gradient(0deg, rgba(12,12,10,.55), transparent 50%); }
.hero-slide { position: absolute; inset: 0; z-index: 0; margin: 0; opacity: 0; overflow: hidden; transform: scale(1.065); transition: opacity 1.15s var(--ease), transform 7s linear; pointer-events: none; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide picture { display: block; width: 100%; height: 100%; transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0); transition: transform 1.2s var(--ease); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 100svh; flex-direction: column; justify-content: center; padding-top: 120px; padding-bottom: 100px; }
.hero-copy { max-width: 970px; }
.hero .eyebrow { color: rgba(255,255,255,.72); }
.hero .display em { color: var(--clay-soft); font-weight: 500; }
.hero .lead { max-width: 580px; color: rgba(255,255,255,.76); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-bottom { position: absolute; z-index: 2; right: 0; bottom: 28px; left: 0; }
.hero-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.scroll-cue { display: inline-flex; align-items: center; gap: 11px; font-size: .66rem; letter-spacing: .15em; text-transform: uppercase; }
.scroll-cue::before { width: 42px; height: 1px; content: ""; background: currentColor; }
.hero-note { min-width: 180px; max-width: 240px; color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-align: end; text-transform: uppercase; transition: opacity .25s, transform .25s; }
html[dir="rtl"] .hero-note { letter-spacing: 0; }
.hero-note.is-changing { opacity: 0; transform: translateY(7px); }
.hero-auto-status { display: flex; min-width: 330px; align-items: center; justify-content: flex-end; gap: 12px; direction: ltr; }
.hero-auto-index { color: #fff; font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.hero-auto-line { position: relative; width: 88px; height: 1px; overflow: hidden; background: rgba(255,255,255,.28); }
.hero-auto-line::after { position: absolute; inset: 0; content: ""; background: #fff; transform: scaleX(0); transform-origin: left; animation: heroProgress 5.8s linear forwards; }
.hero-auto-status.is-resetting .hero-auto-line::after { animation: none; }
@keyframes heroProgress { to { transform: scaleX(1); } }

/* Home sections */
.intro-grid { display: grid; grid-template-columns: .78fr 1.22fr; align-items: start; gap: clamp(40px, 8vw, 120px); }
.intro-stat { padding-top: 8px; }
.intro-stat strong { display: block; color: var(--clay); font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(5rem, 10vw, 10rem); font-weight: 500; letter-spacing: -.08em; line-height: .65; }
.intro-stat span { display: block; max-width: 280px; margin-top: 30px; color: rgba(23,23,20,.62); font-size: .77rem; letter-spacing: .1em; text-transform: uppercase; }
html[dir="rtl"] .intro-stat span { letter-spacing: 0; }
.cuisine-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.cuisine-card { position: relative; min-height: 520px; grid-column: span 4; overflow: hidden; border-radius: var(--radius); color: #fff; isolation: isolate; }
.cuisine-card:nth-child(4), .cuisine-card:nth-child(5) { min-height: 430px; grid-column: span 6; }
.cuisine-card::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(0deg, rgba(12,12,10,.8), rgba(12,12,10,0) 68%); }
.cuisine-card-media { position: absolute; inset: 0; z-index: -2; }
.cuisine-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1s var(--ease), transform 5.5s linear; }
.cuisine-card img.is-active { opacity: 1; transform: scale(1); }
.cuisine-card-content { position: absolute; right: 26px; bottom: 26px; left: 26px; display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.cuisine-card h3 { margin: 4px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.1rem); font-weight: 500; letter-spacing: -.04em; line-height: .9; }
html[dir="rtl"] .cuisine-card h3 { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.3; }
.cuisine-counter { flex: 0 0 auto; padding-bottom: 5px; color: rgba(255,255,255,.72); font-size: .62rem; font-weight: 700; letter-spacing: .12em; direction: ltr; }
.cuisine-counter b { color: #fff; font-weight: 800; }

.manifesto { text-align: center; }
.manifesto-mark { display: block; margin-bottom: 20px; color: var(--clay); font-family: Georgia, serif; font-size: 5rem; line-height: .5; }
.manifesto blockquote { max-width: 1040px; margin: 0 auto; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.6rem, 5.4vw, 6.4rem); letter-spacing: -.045em; line-height: 1; }
html[dir="rtl"] .manifesto blockquote { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(2.2rem, 4.5vw, 4.8rem); line-height: 1.4; }
.manifesto p { max-width: 620px; margin: 32px auto 0; color: rgba(23,23,20,.62); }

.order-panel { position: relative; display: grid; grid-template-columns: 1fr .75fr; min-height: 570px; overflow: hidden; border-radius: calc(var(--radius) * 1.25); color: #fff; background: var(--ink); }
.order-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(38px, 7vw, 90px); }
.order-copy .eyebrow, .order-copy .lead { color: rgba(255,255,255,.7); }
.order-art { position: relative; overflow: hidden; }
.order-art img { width: 100%; height: 100%; object-fit: cover; }
.order-art::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, var(--ink), transparent 42%); }
html[dir="rtl"] .order-art::after { background: linear-gradient(-90deg, var(--ink), transparent 42%); }
.order-badge { display: grid; width: 112px; aspect-ratio: 1; margin-top: 34px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--gold); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-align: center; text-transform: uppercase; transform: rotate(-7deg); }

/* Page hero */
.page-hero { position: relative; display: flex; min-height: 72svh; align-items: end; overflow: hidden; padding: 160px 0 80px; color: var(--paper); background: var(--ink); }
.page-hero-bg { position: absolute; inset: 0; opacity: .48; }
.page-hero-bg::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(16,16,14,.9), rgba(16,16,14,.08) 78%), linear-gradient(90deg, rgba(16,16,14,.52), transparent); }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: rgba(255,255,255,.7); }
.page-hero-kicker { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 46px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.25); }

/* Menu */
.menu-toolbar { position: sticky; top: 88px; z-index: 80; padding: 14px 0; background: rgba(246,241,231,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
body.admin-bar .menu-toolbar { top: calc(88px + var(--wp-admin-offset)); }
.menu-toolbar-inner { display: flex; align-items: center; gap: 18px; }
.menu-tabs { display: flex; flex: 1; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.menu-tabs::-webkit-scrollbar { display: none; }
.menu-tab { flex: 0 0 auto; padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: color .3s, background .3s; }
.menu-tab.active { color: #fff; border-color: var(--clay); background: var(--clay); }
html[dir="rtl"] .menu-tab { letter-spacing: 0; }
.menu-search { position: relative; flex: 0 0 min(300px, 30vw); }
.menu-search input { width: 100%; padding: 12px 42px 12px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.48); outline: none; }
.menu-search svg { position: absolute; top: 50%; right: 15px; width: 18px; transform: translateY(-50%); }
html[dir="rtl"] .menu-search input { padding-right: 16px; padding-left: 42px; }
html[dir="rtl"] .menu-search svg { right: auto; left: 15px; }
.menu-layout { display: grid; grid-template-columns: minmax(260px,.55fr) 1.45fr; gap: clamp(45px, 8vw, 120px); }
.menu-aside { position: sticky; top: 178px; align-self: start; }
.menu-aside-card { position: relative; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); color: #fff; }
.menu-aside-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent 65%); }
.menu-aside-card img { width: 100%; height: 100%; object-fit: cover; }
.menu-aside-card span { position: absolute; z-index: 1; right: 24px; bottom: 22px; left: 24px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.3rem; line-height: .9; }
.menu-groups { display: grid; gap: 66px; }
.menu-group { scroll-margin-top: 190px; }
.menu-group-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.menu-group h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.4rem, 4vw, 4rem); font-weight: 500; letter-spacing: -.04em; line-height: .9; }
html[dir="rtl"] .menu-group h2, html[dir="rtl"] .menu-aside-card span { font-family: "Noto Kufi Arabic", sans-serif; line-height: 1.25; }
.dish-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.dish h3 { margin: 0; font-size: .95rem; font-weight: 700; }
.dish p { margin: 5px 0 0; color: rgba(23,23,20,.58); font-size: .78rem; line-height: 1.5; }
.dish-meta { color: var(--clay); font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.no-results { display: none; padding: 50px 0; color: rgba(23,23,20,.58); }

/* Story / occasions / ATICO */
.split-story { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(48px, 10vw, 150px); }
.split-image { position: relative; }
.split-image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.split-image::before { position: absolute; z-index: -1; right: -22px; bottom: -22px; width: 65%; height: 65%; content: ""; border-radius: var(--radius); background: var(--clay); }
html[dir="rtl"] .split-image::before { right: auto; left: -22px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.14); }
.value { min-height: 340px; padding: clamp(30px, 5vw, 62px); background: var(--ink); }
.value-index { color: var(--clay-soft); font-family: Georgia, serif; font-size: 3.8rem; line-height: 1; }
.value h3 { margin: 65px 0 14px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.2rem; font-weight: 500; }
html[dir="rtl"] .value h3 { font-family: "Noto Kufi Arabic", sans-serif; }
.value p { margin: 0; color: rgba(255,255,255,.62); font-size: .88rem; }
.event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.event-card { position: relative; min-height: 440px; overflow: hidden; border-radius: var(--radius); color: #fff; }
.event-card:first-child { grid-row: span 2; min-height: 898px; }
.event-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 70%); }
.event-card img { width: 100%; height: 100%; object-fit: cover; transition: scale .7s var(--ease); }
.event-card:hover img { scale: 1.04; }
.event-card-content { position: absolute; z-index: 1; right: 30px; bottom: 28px; left: 30px; }
.event-card h3 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(2.3rem, 4vw, 4.4rem); font-weight: 500; line-height: .9; }
html[dir="rtl"] .event-card h3 { font-family: "Noto Kufi Arabic", sans-serif; line-height: 1.25; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; min-height: 320px; padding: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); counter-increment: step; }
.step::before { color: var(--clay-soft); content: "0" counter(step); font-family: Georgia, serif; font-size: 4rem; line-height: 1; }
.step h3 { margin: 70px 0 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2.1rem; font-weight: 500; }
html[dir="rtl"] .step h3 { font-family: "Noto Kufi Arabic", sans-serif; }
.step p { margin: 0; color: rgba(255,255,255,.62); font-size: .86rem; }
.atico-hero-logo { width: min(520px, 80vw); margin: 40px 0; }
.atico-hero-logo img { width: 100%; filter: brightness(0) invert(1); }
.atico-ribbon { overflow: hidden; padding: 20px 0; color: var(--paper); background: var(--clay); }
.ribbon-track { display: flex; width: max-content; animation: marquee 24s linear infinite; }
.ribbon-track span { padding: 0 28px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 2rem; white-space: nowrap; }
.ribbon-track span::after { margin-left: 56px; content: "✦"; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Gallery */
.gallery-hero .page-hero-bg { opacity: .58; }
.gallery-filter { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 42px; }
.gallery-filter-button { min-height: 44px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; cursor: pointer; font-size: .68rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; transition: color .25s, border-color .25s, background .25s; }
html[dir="rtl"] .gallery-filter-button { letter-spacing: 0; }
.gallery-filter-button:hover, .gallery-filter-button.is-active { color: #fff; border-color: var(--clay); background: var(--clay); }
.gallery-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-flow: dense; gap: 16px; }
.gallery-card { position: relative; min-height: 340px; grid-column: span 4; overflow: hidden; padding: 0; border: 0; border-radius: var(--radius); color: #fff; background: var(--charcoal); cursor: zoom-in; }
.gallery-card:nth-child(7n + 1) { min-height: 540px; grid-row: span 2; }
.gallery-card:nth-child(9n + 4) { grid-column: span 8; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .85s var(--ease), filter .5s; }
.gallery-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 52%); opacity: .65; transition: opacity .35s; }
.gallery-card > span { position: absolute; z-index: 1; right: 22px; bottom: 18px; left: 22px; display: flex; align-items: end; justify-content: space-between; gap: 14px; text-align: start; }
.gallery-card b { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.gallery-card small { color: rgba(255,255,255,.68); font-size: .63rem; }
.gallery-card:hover img { transform: scale(1.045); filter: saturate(1.1); }
.gallery-card:hover::after { opacity: 1; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox { position: fixed; inset: 0; z-index: 3000; display: grid; grid-template-columns: 74px minmax(0, 1fr) 74px; align-items: center; padding: 32px; color: #fff; background: rgba(10,10,9,.96); backdrop-filter: blur(16px); }
.gallery-lightbox figure { display: grid; max-width: min(1200px, calc(100vw - 220px)); max-height: calc(100svh - 64px); margin: auto; place-items: center; }
.gallery-lightbox img { width: auto; max-width: 100%; max-height: calc(100svh - 120px); border-radius: 18px; box-shadow: 0 30px 100px rgba(0,0,0,.45); object-fit: contain; }
.gallery-lightbox figcaption { margin-top: 12px; color: rgba(255,255,255,.64); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.gallery-lightbox-close, .gallery-lightbox-nav { display: grid; width: 54px; aspect-ratio: 1; place-items: center; padding: 0; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: #fff; background: rgba(255,255,255,.04); cursor: pointer; transition: color .25s, border-color .25s, background .25s; }
.gallery-lightbox-close:hover, .gallery-lightbox-nav:hover { color: var(--ink); border-color: #fff; background: #fff; }
.gallery-lightbox-close { position: absolute; top: 24px; right: 24px; z-index: 2; font-size: 1.8rem; line-height: 1; }
html[dir="rtl"] .gallery-lightbox-close { right: auto; left: 24px; }
.gallery-lightbox-nav { justify-self: center; font-size: 1.1rem; }
body.lightbox-open { overflow: hidden; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 9vw, 140px); }
.contact-links { display: grid; gap: 4px; margin-top: 44px; }
.contact-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--line); font-size: .83rem; }
.contact-link small { color: rgba(23,23,20,.5); letter-spacing: .08em; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
html[dir="rtl"] .field label { letter-spacing: 0; }
.field input, .field textarea, .field select { width: 100%; padding: 16px 0; border: 0; border-bottom: 1px solid rgba(23,23,20,.25); border-radius: 0; color: var(--ink); background: transparent; outline: none; }
.field input:focus, .field textarea:focus { border-color: var(--clay); }
.field textarea { min-height: 140px; resize: vertical; }
.field-hp { position: absolute !important; left: -9999px !important; }
.form-actions { display: flex; align-items: center; gap: 18px; margin-top: 28px; }
.form-status { font-size: .8rem; }
.form-status.success { color: #236b3f; }
.form-status.error { color: #9b2f24; }

/* Footer */
.site-footer { position: relative; overflow: hidden; color: var(--paper); background: var(--ink); }
.footer-main { padding: clamp(80px, 10vw, 145px) 0 55px; }
.footer-leaves { position: absolute; top: 4%; right: -90px; width: min(520px, 46vw); opacity: .07; filter: brightness(0) invert(1); transform: rotate(-6deg); }
.footer-top { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; }
.footer-title { max-width: 700px; margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(3.8rem, 8vw, 8.5rem); font-weight: 500; letter-spacing: -.06em; line-height: .78; }
html[dir="rtl"] .footer-title { font-family: "Noto Kufi Arabic", sans-serif; font-size: clamp(3rem, 6vw, 6rem); line-height: 1.2; }
.footer-title em { color: var(--clay-soft); font-weight: 500; }
.footer-cta { margin-top: 38px; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-content: end; }
.footer-col h3 { margin: 0 0 20px; color: rgba(255,255,255,.42); font-size: .65rem; letter-spacing: .17em; text-transform: uppercase; }
.footer-col a { display: block; width: fit-content; margin: 9px 0; color: rgba(255,255,255,.78); font-size: .87rem; transition: color .2s; }
.footer-col a:hover { color: var(--clay-soft); }
.footer-bottom { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-top: 90px; padding-top: 25px; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.4); font-size: .68rem; }
.footer-logo { width: 138px; filter: brightness(0) invert(1); opacity: .72; }
.mobile-order-bar { position: fixed; z-index: 700; right: 12px; bottom: 12px; left: 12px; display: none; gap: 8px; padding: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(23,23,20,.93); box-shadow: 0 12px 40px rgba(0,0,0,.25); backdrop-filter: blur(14px); }
.mobile-order-bar a { min-height: 48px; flex: 1; padding-inline: 12px; }
.mobile-order-bar .call { max-width: 55px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .14s; }

@media (max-width: 1024px) {
  :root { --container: min(100% - 36px, 920px); }
  .desktop-nav, .header-order { display: none; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 76px; }
  .header-actions { gap: 4px; }
  .menu-toggle { display: block; }
  .mobile-panel { display: block; }
  body.admin-bar .menu-toolbar { top: calc(76px + var(--wp-admin-offset)); }
  .cuisine-card { min-height: 430px; grid-column: span 6; }
  .cuisine-card:last-child { grid-column: span 12; }
  .gallery-card { grid-column: span 6; }
  .gallery-card:nth-child(9n + 4) { grid-column: span 12; }
  .menu-layout { grid-template-columns: 1fr; }
  .menu-aside { display: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { max-width: 600px; }
}

@media (max-width: 782px) {
  body.admin-bar { --wp-admin-offset: 46px; }
}

@media (max-width: 720px) {
  :root { --container: calc(100vw - 32px); --radius: 20px; }
  body { padding-bottom: 76px; }
  .section { padding: 78px 0; }
  .title { font-size: clamp(2.6rem, 13vw, 4rem); }
  .section-head { display: block; margin-bottom: 32px; }
  .section-head .btn { margin-top: 25px; }
  .brand { width: 102px; }
  .header-inner { min-height: 70px; }
  .site-header.scrolled { backdrop-filter: blur(14px); }
  .hero { min-height: 92svh; }
  .hero-content { min-height: 92svh; padding-top: 110px; padding-bottom: 90px; }
  .hero-media::before, html[dir="rtl"] .hero-media::before { background: linear-gradient(0deg, rgba(10,10,9,.88) 0%, rgba(10,10,9,.34) 76%, rgba(10,10,9,.42) 100%); }
  .hero-media img { object-position: 56% center; }
  .hero .display { font-size: clamp(3.6rem, 18vw, 5.7rem); }
  html[dir="rtl"] .hero .display { font-size: clamp(3rem, 14vw, 4.7rem); }
  .hero .lead { max-width: 95%; font-size: .95rem; }
  .hero-actions .btn { width: 100%; }
  .scroll-cue { display: none; }
  .hero-bottom { bottom: 20px; }
  .hero-bottom .container { justify-content: center; }
  .hero-auto-status { width: 100%; min-width: 0; justify-content: center; }
  .hero-auto-line { width: 72px; }
  .hero-note { min-width: 0; max-width: 160px; font-size: .57rem; text-align: start; }
  .intro-grid, .split-story, .contact-grid { grid-template-columns: 1fr; }
  .intro-stat { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 28px; }
  .intro-stat strong { font-size: 5.2rem; }
  .intro-stat span { margin-top: 0; }
  .cuisine-grid { display: flex; width: calc(100vw - 16px); margin-right: -16px; margin-left: -16px; gap: 12px; overflow-x: auto; padding: 0 16px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cuisine-grid::-webkit-scrollbar { display: none; }
  .cuisine-card, .cuisine-card:nth-child(4), .cuisine-card:nth-child(5), .cuisine-card:last-child { min-width: min(82vw, 350px); min-height: 460px; scroll-snap-align: center; }
  .manifesto blockquote { font-size: 2.5rem; }
  html[dir="rtl"] .manifesto blockquote { font-size: 2.15rem; }
  .order-panel { grid-template-columns: 1fr; min-height: auto; }
  .order-art { min-height: 320px; order: -1; }
  .order-art::after, html[dir="rtl"] .order-art::after { background: linear-gradient(0deg, var(--ink), transparent 40%); }
  .order-copy { margin-top: -40px; padding: 34px 24px 50px; }
  .page-hero { min-height: 62svh; padding: 130px 0 45px; }
  .page-hero-kicker { display: block; }
  .page-hero-kicker span:last-child { display: block; margin-top: 8px; color: rgba(255,255,255,.55); }
  .menu-toolbar { top: 70px; }
  body.admin-bar .menu-toolbar { top: calc(70px + var(--wp-admin-offset)); }
  .menu-toolbar-inner { display: block; }
  .menu-tabs { padding-bottom: 8px; }
  .menu-search { display: none; }
  .dish-list { grid-template-columns: 1fr; }
  .menu-group { scroll-margin-top: 145px; }
  .menu-group h2 { font-size: 2.7rem; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card, .event-card:first-child { min-height: 500px; grid-row: auto; }
  .gallery-filter { flex-wrap: nowrap; margin-right: -16px; margin-left: -16px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: none; }
  .gallery-filter::-webkit-scrollbar { display: none; }
  .gallery-filter-button { flex: 0 0 auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-card, .gallery-card:nth-child(9n + 4) { min-height: 250px; grid-column: span 1; grid-row: auto; }
  .gallery-card:nth-child(5n + 1) { min-height: 390px; grid-row: span 2; }
  .gallery-card > span { right: 14px; bottom: 13px; left: 14px; }
  .gallery-card b { font-size: .58rem; }
  .gallery-lightbox { grid-template-columns: 54px minmax(0, 1fr) 54px; padding: 16px 8px; }
  .gallery-lightbox figure { max-width: calc(100vw - 124px); }
  .gallery-lightbox-close { top: 16px; right: 16px; width: 46px; }
  html[dir="rtl"] .gallery-lightbox-close { right: auto; left: 16px; }
  .gallery-lightbox-nav { width: 44px; }
  .steps, .value-grid { grid-template-columns: 1fr; }
  .value, .step { min-height: 280px; }
  .value h3, .step h3 { margin-top: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { padding-bottom: 35px; }
  .footer-title { font-size: 4rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 30px 16px; }
  .footer-bottom { display: grid; margin-top: 60px; padding-bottom: 8px; }
  .mobile-order-bar { display: flex; }
  .menu-open .mobile-order-bar { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .intro { display: none; }
  .reveal { opacity: 1; transform: none; }
}
