/* =========================================================================
   Al Khaleejion Kitchens — landing page
   White, editorial, square corners only. Brand font Lyon Arabic Display
   (Regular for headings with the stretch "salt", Light for text, never Bold).
   ========================================================================= */

@font-face { font-family: "Lyon"; font-weight: 300; font-display: swap; src: url("../fonts/LyonArabicDisplay-Light.woff") format("woff"); }
@font-face { font-family: "Lyon"; font-weight: 400; font-display: swap; src: url("../fonts/LyonArabicDisplay-Regular.woff") format("woff"); }
@font-face { font-family: "Montserrat"; font-weight: 100 900; font-display: swap; src: url("../fonts/Montserrat-Variable.woff") format("woff"); }

:root {
  /* colour */
  --ink: #1E1B1C;
  --ink-2: #57524F;
  --ink-3: #8C8681;
  --line: #E7E4DF;
  --paper: #FFFFFF;
  --paper-2: #F6F5F2;
  --red: #CC2628;
  --red-d: #A91E20;

  /* layout: 12-col grid, 1360 max */
  --max: 1360px;
  --pad: clamp(20px, 4vw, 48px);
  --gap: clamp(16px, 2vw, 28px);
  --section: clamp(88px, 11vw, 160px);
  --header: 84px;

  /* type scale (1.25 minor third, fluid) */
  --t-hero: clamp(44px, 6vw, 88px);
  --t-h2: clamp(34px, 4.2vw, 60px);
  --t-h3: clamp(22px, 2vw, 28px);
  --t-lead: clamp(18px, 1.5vw, 21px);
  --t-body: 17px;
  --t-small: 14px;

  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border-radius: 0 !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Lyon", "Noto Naskh Arabic", serif; font-weight: 300; font-size: var(--t-body); line-height: 1.85;
  color: var(--ink); background: var(--paper); direction: rtl; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.num, .latin { font-family: "Montserrat", sans-serif; font-feature-settings: "lnum", "tnum"; direction: ltr; unicode-bidi: isolate; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* headings: our stretch (Illustrator aa→ = OpenType salt) */
h1, h2, h3, .display { font-weight: 400; font-feature-settings: "salt" 1; line-height: 1.25; letter-spacing: 0; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: var(--t-small); color: var(--ink-3); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--red); }

/* ---------- buttons (square) ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 56px; padding-inline: 32px; font-size: 17px; font-weight: 400; font-feature-settings: "salt" 1;
  overflow: hidden; isolation: isolate; transition: color .5s var(--ease);
}
.btn .ic { transition: transform .5s var(--ease); }
.btn:hover .ic { transform: translateX(-4px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); z-index: -1; }
.btn--red:hover::after { transform: scaleX(1); transform-origin: left; }
.btn--line { border: 1px solid var(--ink); color: var(--ink); }
.btn--line::after { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: -1; }
.btn--line:hover { color: #fff; }
.btn--line:hover::after { transform: scaleY(1); }
.sq-btn {
  width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff;
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.sq-btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.sq-btn[disabled] { opacity: .35; pointer-events: none; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header); z-index: 50; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .4s, height .4s var(--ease);
}
.header.is-scrolled { border-color: var(--line); --header: 72px; height: 72px; }
.header .wrap { height: 100%; display: flex; align-items: center; gap: 40px; }
.header__logo img { height: 34px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .header__logo img { height: 30px; }
.nav { display: flex; gap: 32px; margin-inline-start: auto; font-size: 16px; }
.nav a { position: relative; padding-block: 6px; color: var(--ink-2); transition: color .3s; }
.nav a::after { content: ""; position: absolute; inset: auto 0 0 auto; width: 0; height: 1px; background: var(--red); transition: width .5s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; inset-inline: 0 auto; }
.header__actions { display: flex; align-items: center; gap: 24px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.header .btn { height: 48px; padding-inline: 24px; font-size: 16px; }
.menu-btn { display: none; width: 48px; height: 48px; position: relative; }
.menu-btn span { position: absolute; inset-inline: 12px; height: 1.5px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 28px; }
.is-menu .menu-btn span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.is-menu .menu-btn span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero: text on white | image slideshow ---------- */
.hero { position: relative; display: grid; grid-template-columns: 5fr 7fr; min-height: max(720px, 100svh); padding-top: var(--header); }
.hero__text { display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 64px var(--pad) 64px clamp(32px, 4vw, 72px); padding-inline-start: max(var(--pad), calc((100vw - var(--max)) / 2)); }
.hero__badge { width: 168px; aspect-ratio: 350 / 234; background: var(--red); }
.hero__badge img { width: 100%; height: 100%; }
.hero h1 { font-size: var(--t-hero); line-height: 1.18; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { font-size: var(--t-lead); color: var(--ink-2); max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { display: flex; gap: clamp(24px, 3vw, 48px); padding-top: 28px; border-top: 1px solid var(--line); }
.hero__facts b { display: block; font-weight: 400; font-size: 32px; line-height: 1.1; font-feature-settings: "salt" 1; }
.hero__facts span { font-size: 14px; color: var(--ink-3); }

.hero__media { position: relative; overflow: hidden; background: var(--paper-2); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease-io); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-on { opacity: 1; }
.hero__slide.is-on img { transform: scale(1); }
.hero__bar { position: absolute; inset: auto 32px 32px auto; display: flex; align-items: center; gap: 20px; color: #fff; font-size: 13px; z-index: 2; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 48px; height: 2px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__dots button i { position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: right; }
.hero__dots button.is-on i { animation: fill var(--dur, 6s) linear forwards; }
.hero__dots button.is-done i { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(0,0,0,.35), transparent); pointer-events: none; }

/* ---------- section head ---------- */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(40px, 5vw, 72px); }
.head h2 { font-size: var(--t-h2); }
.head p { color: var(--ink-2); max-width: 46ch; margin-top: 16px; font-size: var(--t-lead); }
.slider-nav { display: flex; align-items: center; gap: 12px; flex: none; }
.slider-count { font-size: 14px; color: var(--ink-3); min-width: 64px; text-align: center; }
.slider-count b { color: var(--ink); font-weight: 500; }

/* ---------- 2026 collection slider ---------- */
.collection { overflow: hidden; }
.track {
  display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2)); scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2));
  cursor: grab; overscroll-behavior-x: contain;
}
.track::-webkit-scrollbar { display: none; }
.track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.track.is-drag * { pointer-events: none; }
.slide { flex: none; width: min(68vw, 920px); scroll-snap-align: start; }
.slide__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper-2); }
.slide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.slide:hover .slide__img img { transform: scale(1.035); }
.slide__cap { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; font-size: 15px; color: var(--ink-3); }
.slide__cap b { font-weight: 400; color: var(--ink); font-size: 19px; font-feature-settings: "salt" 1; }
.progress { margin-top: 40px; height: 1px; background: var(--line); position: relative; }
.progress i { position: absolute; inset: 0 0 0 auto; background: var(--ink); width: 0; transition: width .4s var(--ease); }

/* ---------- new arrivals grid ---------- */
.arrivals { background: var(--paper-2); }
.grid-new { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.card { grid-column: span 3; display: flex; flex-direction: column; }
.card:nth-child(1), .card:nth-child(6) { grid-column: span 6; grid-row: span 2; }
.card__img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: #E9E6E1; }
.card:nth-child(1) .card__img, .card:nth-child(6) .card__img { aspect-ratio: auto; flex: 1; min-height: 100%; }
.card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.card__cap h3 { font-size: 19px; }
.card__cap span { font-size: 13px; color: var(--ink-3); }
.card:nth-child(1), .card:nth-child(6) { display: grid; grid-template-rows: 1fr auto; }

/* ---------- why us ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.why__item { padding: 40px clamp(20px, 3vw, 48px) 8px 0; border-inline-start: 1px solid var(--line); padding-inline-start: clamp(20px, 3vw, 48px); }
.why__item:first-child { border-inline-start: 0; padding-inline-start: 0; }
.why__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.why__num { font-size: clamp(64px, 7vw, 104px); line-height: 1; font-weight: 400; font-feature-settings: "salt" 1; color: var(--ink); }
.why__num small { font-size: .32em; color: var(--ink-3); margin-inline-start: 8px; }
.why__top .ic { width: 36px; height: 36px; color: var(--red); }
.why__item h3 { font-size: var(--t-h3); margin-bottom: 14px; }
.why__item p { color: var(--ink-2); }

/* ---------- reviews ---------- */
.reviews { background: var(--ink); color: #fff; }
.reviews .head p, .reviews .slider-count { color: rgba(255,255,255,.6); }
.reviews .slider-count b { color: #fff; }
.reviews .eyebrow { color: rgba(255,255,255,.6); }
.reviews .sq-btn { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }
.reviews .sq-btn:hover { background: #fff; color: var(--ink); }
.reviews .progress { background: rgba(255,255,255,.18); }
.reviews .progress i { background: #fff; }
.review { flex: none; width: clamp(240px, 22vw, 300px); scroll-snap-align: start; }
.review__btn { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #2A2627; }
.review__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .6s; opacity: .92; }
.review__btn:hover img { transform: scale(1.05); opacity: 1; }
.review__play { position: absolute; inset: auto auto 20px 20px; width: 56px; height: 56px; display: grid; place-items: center; background: #fff; color: var(--ink); transition: background .4s, color .4s; }
.review__btn:hover .review__play { background: var(--red); color: #fff; }
.review__play .ic { width: 22px; height: 22px; }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 112px); align-items: stretch; }
.contact__img { position: relative; overflow: hidden; min-height: 560px; }
.contact__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact h2 { font-size: var(--t-h2); margin-bottom: 16px; }
.contact .lead { color: var(--ink-2); font-size: var(--t-lead); margin-bottom: 40px; }
.form { display: grid; gap: 8px; }
.field { position: relative; }
.field input, .field select {
  width: 100%; height: 64px; padding: 22px 0 8px; font: inherit; font-size: 18px; color: var(--ink); background: transparent;
  border: 0; border-bottom: 1px solid var(--line); outline: 0; appearance: none; transition: border-color .4s;
}
.field label { position: absolute; inset-inline-start: 0; top: 20px; font-size: 17px; color: var(--ink-3); pointer-events: none; transition: transform .4s var(--ease), font-size .4s var(--ease), color .4s; transform-origin: right; }
.field input:focus, .field select:focus { border-color: var(--ink); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field select:focus + label, .field select.has-value + label { transform: translateY(-18px); font-size: 13px; color: var(--ink-2); }
.field::after { content: ""; position: absolute; inset: auto 0 0 auto; height: 1px; width: 0; background: var(--red); transition: width .6s var(--ease); }
.field:focus-within::after { width: 100%; inset-inline: 0 auto; }
.field--select::before { content: ""; position: absolute; inset-inline-end: 4px; top: 30px; width: 8px; height: 8px; border-left: 1px solid var(--ink); border-bottom: 1px solid var(--ink); transform: rotate(-45deg); pointer-events: none; }
.field .err { display: block; height: 20px; font-size: 13px; color: var(--red); opacity: 0; transition: opacity .3s; }
.field.is-bad .err { opacity: 1; }
.field.is-bad input, .field.is-bad select { border-color: var(--red); }
.form .btn { margin-top: 24px; width: 100%; height: 64px; font-size: 18px; }
.form__note { font-size: 13px; color: var(--ink-3); margin-top: 12px; }
.form__done { display: none; padding: 32px; border: 1px solid var(--line); background: var(--paper-2); }
.form__done h3 { font-size: var(--t-h3); margin-bottom: 8px; }
.form.is-sent .form__fields { display: none; }
.form.is-sent .form__done { display: block; }

/* ---------- showrooms + footer ---------- */
.showrooms__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.showroom { display: flex; flex-direction: column; gap: 6px; padding: 32px 0 32px 24px; border-bottom: 1px solid var(--line); transition: background .4s; position: relative; }
.showroom + .showroom { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.showroom b { font-weight: 400; font-size: 26px; font-feature-settings: "salt" 1; }
.showroom span { font-size: 14px; color: var(--ink-3); display: inline-flex; gap: 8px; align-items: center; }
.showroom .ic.go { position: absolute; inset-inline-end: 20px; top: 34px; width: 22px; height: 22px; transition: transform .5s var(--ease), color .3s; }
.showroom:hover .ic.go { transform: translate(-4px, -4px); color: var(--red); }

.footer { background: var(--ink); color: rgba(255,255,255,.72); padding-block: 72px 32px; font-size: 15px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer__logo img { height: 40px; }
.footer__cta h3 { color: #fff; font-size: var(--t-h3); margin-bottom: 16px; }
.footer__phone { display: inline-flex; gap: 10px; align-items: center; color: #fff; font-size: 28px; font-weight: 500; }
.social { display: flex; gap: 8px; }
.social a { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); color: #fff; transition: background .4s, color .4s, border-color .4s; }
.social a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.social .ic { width: 22px; height: 22px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 28px; font-size: 13px; color: rgba(255,255,255,.5); }

.wa { position: fixed; inset: auto auto 24px 24px; z-index: 40; width: 60px; height: 60px; display: grid; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.18); transition: transform .4s var(--ease); }
.wa:hover { transform: translateY(-4px); }
.wa .ic { width: 30px; height: 30px; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(20,18,19,.92); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__frame { width: min(420px, 88vw); aspect-ratio: 9 / 16; max-height: 86svh; background: #000; transform: translateY(24px); transition: transform .6s var(--ease); }
.lightbox.is-open .lightbox__frame { transform: none; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: 24px; left: 24px; width: 56px; height: 56px; display: grid; place-items: center; background: #fff; color: var(--ink); }

/* ---------- motion: reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-mask] { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
[data-mask].is-in { clip-path: inset(0 0 0 0); }
[data-mask] img { transform: scale(1.12); transition: transform 1.8s var(--ease); }
[data-mask].is-in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal], [data-mask] { opacity: 1; transform: none; clip-path: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .header__phone { display: none; }
  .header .wrap { gap: 16px; }
  .header__actions { margin-inline-start: auto; }
  .menu-btn { display: block; }
  .mobile-nav { position: fixed; inset: var(--header) 0 0 0; z-index: 49; background: #fff; display: flex; flex-direction: column; padding: 32px var(--pad); gap: 4px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s; }
  .mobile-nav a { font-size: 28px; padding-block: 14px; border-bottom: 1px solid var(--line); font-feature-settings: "salt" 1; }
  .is-menu .mobile-nav { opacity: 1; visibility: visible; transform: none; }
  .card { grid-column: span 6; }
  .card:nth-child(1), .card:nth-child(6) { grid-column: span 12; grid-row: auto; }
  .card:nth-child(1) .card__img, .card:nth-child(6) .card__img { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
}
@media (min-width: 1181px) { .mobile-nav { display: none; } }

@media (max-width: 900px) {
  :root { --header: 68px; }
  .header.is-scrolled { --header: 64px; height: 64px; }
  .header__logo img { height: 28px; }
  .header .btn { height: 44px; padding-inline: 16px; font-size: 15px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__media { order: -1; aspect-ratio: 4 / 3; }
  .hero__text { padding: 40px var(--pad) 56px; gap: 24px; }
  .hero__badge { width: 132px; }
  .hero__facts b { font-size: 26px; }
  .head { flex-direction: column; align-items: flex-start; }
  .slide { width: 84vw; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item, .why__item:first-child { border-inline-start: 0; padding-inline-start: 0; border-bottom: 1px solid var(--line); padding-bottom: 40px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__img { min-height: 0; aspect-ratio: 4 / 3; }
  .showrooms__grid { grid-template-columns: 1fr 1fr; }
  .showroom:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .footer__top { flex-direction: column; }
  .footer__bottom { flex-direction: column; }
}
@media (max-width: 560px) {
  .header .btn span { display: none; }
  .header .btn { width: 44px; padding: 0; }
  .card { grid-column: span 12; }
  .card .card__img { aspect-ratio: 4 / 3; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: 20px; }
  .wa { inset: auto auto 16px 16px; width: 54px; height: 54px; }
}

/* review screenshots only */
@media (min-width: 901px) { .shot .hero { min-height: 900px; } }
.shot .header { position: absolute; }
.why__top .ic.why__big { width: clamp(64px, 7vw, 104px); height: clamp(64px, 7vw, 104px); color: var(--ink); }
.hero h1 { font-size: clamp(48px, 6.4vw, 96px); }
.hero h1 { font-size: clamp(44px, 5.2vw, 80px); white-space: nowrap; }
.contact h2 { font-size: clamp(30px, 3.1vw, 46px); }
@media (max-width: 560px) { .hero h1 { white-space: normal; } }
@media (max-width: 900px) { .hero__text { padding-top: 28px; padding-bottom: 40px; gap: 20px; } }
