/* Zaphyr v2 — built on the structure of Aesop's fragrance page (Refero 9ffc9899):
   charcoal announcement bar, ecru canvas, full-bleed warm hero with copy on the start side,
   portrait family tiles, borderless product cards, charcoal footer. */
:root {
  --ecru: #faf8ef;
  --sand: #ebe6da;
  --sand-2: #ddd5c6;
  --ink: #26231f;
  --soft: #6a645a;
  --char: #252220;
  --bone: #f4f1e8;
  --amber: #b5702a;
  --m: clamp(20px, 4vw, 64px);
  --gap: clamp(16px, 2.4vw, 40px);
  --sec: clamp(72px, 9vw, 132px);
  --sans: "Hanken Grotesk", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ecru); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { line-height: 1.8; font-size: 1.125rem; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
b { font-weight: 500; }
small { font-size: inherit; }
::selection { background: var(--ink); color: var(--ecru); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
html[lang="ar"] .en, html[lang="en"] .ar { display: none !important; }
html[lang="ar"] * { letter-spacing: 0 !important; }
.r-g, .r-p, .c-price, small, b { font-variant-numeric: lining-nums tabular-nums; }

/* announcement */
.bar { background: var(--char); color: var(--bone); text-align: center; font-size: .9375rem; padding: 9px var(--m); }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; background: var(--ecru); display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 var(--m); min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: 12px; }
.brand-en { font-weight: 500; letter-spacing: .16em; font-size: 1.125rem; }
html[lang="ar"] .brand-en { letter-spacing: .16em !important; }
.brand-ar { color: var(--soft); font-size: 1.125rem; }
.nav-links { display: flex; gap: clamp(18px, 2.4vw, 36px); font-size: .9375rem; }
.nav-links a, .lang, .nav-order { transition: opacity .2s; }
.nav-links a:hover, .lang:hover, .nav-order:hover { opacity: .55; }
.nav-end { display: flex; align-items: center; gap: 22px; font-size: .9375rem; }
.lang { color: var(--soft); min-height: 44px; }
.nav-order { border: 1px solid var(--ink); padding: 11px 22px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 30px; font-size: 1rem; font-weight: 500; border: 1px solid currentColor; transition: background .25s, color .25s, border-color .25s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-light { color: var(--bone); }
.btn-light:hover { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.btn-solid { background: var(--ink); color: var(--ecru); border-color: var(--ink); }
.btn-solid:hover { background: var(--char); opacity: .86; }
.link { border-bottom: 1px solid currentColor; padding-bottom: 2px; align-self: flex-start; }
.link:hover { opacity: .6; }

/* hero */
.hero { position: relative; min-height: clamp(520px, 74svh, 760px); display: grid; align-items: center; color: var(--bone); background: var(--char); overflow: hidden; }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(20, 15, 11, .32); }
.hero-copy { position: relative; z-index: 2; padding: 0 var(--m); max-width: 540px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.hero-brand { font-size: 1.5rem; font-weight: 500; letter-spacing: .18em; }
html[lang="ar"] .hero-brand { letter-spacing: 0 !important; font-size: 1.75rem; }
.hero h1 { font-weight: 300; font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); line-height: 1.1; letter-spacing: -.015em; }
html[lang="ar"] .hero h1 { line-height: 1.35; font-weight: 400; }
.hero-p { font-size: 1.125rem; max-width: 40ch; opacity: .96; }

/* sections */
.sec { padding: var(--sec) var(--m) 0; }
.h2 { font-weight: 300; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.2; letter-spacing: -.01em; }
html[lang="ar"] .h2 { line-height: 1.45; font-weight: 400; }

/* types */
.types { margin-top: 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.type { display: flex; flex-direction: column; gap: 4px; }
.t-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 12px; }
.t-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.t-img.dark { background: #3a2f27; }
.t-img.d2 { background: #54453a; }
.t-img.d3 { background: #7a6a58; }
.t-img img.art { object-fit: contain; padding: 0; transform: scale(1.3); }
.type:hover .t-img img { transform: scale(1.04); }
.type:hover .t-img img.art { transform: scale(1.34); }
.type b { font-weight: 500; font-size: 1.1875rem; }
.type i { font-style: normal; color: var(--soft); font-size: 1rem; }

/* split */
.split { margin-top: var(--sec); display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); }
.split-img img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.split-text { padding: clamp(32px, 6vw, 96px) clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.split-text p { max-width: 36ch; font-size: 1.125rem; }

/* tola */
.rows { margin-top: 36px; max-width: 920px; display: flex; flex-direction: column; gap: 8px; }
.row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; align-items: center; gap: 16px; padding: 18px 24px; min-height: 68px; background: var(--sand); text-align: start; transition: background .25s, color .25s; }
.row:hover { background: var(--sand-2); }
.row.is-on { background: var(--ink); color: var(--ecru); }
.r-n { font-size: 1.1875rem; }
.r-g { color: var(--soft); }
.row.is-on .r-g { color: #cfc8b9; }
.r-p { text-align: end; font-weight: 500; font-size: 1.1875rem; }
.r-p small { font-weight: 400; font-size: .9375rem; }
.sum { max-width: 920px; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.sum p { color: var(--soft); }

/* range */
.grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--gap) * 1.4) var(--gap); }
.card { display: flex; flex-direction: column; gap: 3px; }
.c-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); margin-bottom: 14px; }
.c-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.c-img.art-bg { background: var(--sand-2); }
.c-img img.art { object-fit: contain; padding: 0; transform: scale(1.3); }
.card:hover .c-img img { transform: scale(1.035); }
.card:hover .c-img img.art { transform: scale(1.34); }
.card h3 { font-size: 1.0625rem; font-weight: 500; }
.c-sub { color: var(--soft); font-size: 1rem; }
.c-price { font-size: 1rem; }
.c-buy { margin-top: 10px; align-self: flex-start; font-size: .9375rem; border-bottom: 1px solid currentColor; padding-bottom: 1px; opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s; }
.card:hover .c-buy, .card:focus-within .c-buy { opacity: 1; transform: none; }
@media (hover: none) { .c-buy { opacity: 1; transform: none; } }

/* about */
.about { margin-top: var(--sec); display: grid; grid-template-columns: 1fr 1fr; background: var(--sand); }
.about-text { padding: clamp(32px, 6vw, 96px) clamp(24px, 5vw, 80px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.about-text p { max-width: 38ch; font-size: 1.125rem; }
.about-img { background: #f1eee3; display: grid; place-items: center; padding: clamp(24px, 4vw, 56px); }
.about-img img { height: min(64svh, 540px); width: auto; }

/* footer */
.foot { margin-top: var(--sec); background: var(--char); color: var(--bone); padding: clamp(48px, 6vw, 88px) var(--m) 28px; }
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(160px, 260px)); gap: var(--gap); justify-content: start; }
.foot h4 { font-weight: 500; font-size: 1rem; margin-bottom: 14px; }
.foot li { margin-bottom: 8px; color: #cfc8b9; }
.foot li a:hover { color: var(--bone); }
.foot-last { margin-top: clamp(48px, 6vw, 96px); display: flex; justify-content: space-between; gap: 16px; color: #a39b8a; font-size: .9375rem; }
.foot-last a:hover { color: var(--bone); }

/* motion */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.hero-copy > * { animation: rise .9s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } .js .reveal { opacity: 1; transform: none; } }

/* responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .split, .about { grid-template-columns: 1fr; }
  .split-img img { min-height: 0; aspect-ratio: 4 / 3; }
  .about-img img { height: 46svh; }
  .row { grid-template-columns: 1fr auto; row-gap: 0; }
  .r-g { grid-column: 1; grid-row: 2; }
  .r-p { grid-column: 2; grid-row: 1 / span 2; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-order { display: none; }
  .hero { min-height: 560px; align-items: end; padding-bottom: 40px; }
  .hero::after { background: rgba(20, 15, 11, .56); }
  .hero-copy .btn { width: 100%; }
  .sum .btn { width: 100%; }
  .grid { gap: 28px 12px; }
  .card h3 { font-size: 1rem; }
  .c-buy { opacity: 1; transform: none; }
}

/* ---- raised (embossed) text: a lit top-left edge, a dark lower-right edge and a soft cast shadow ---- */
:root {
  --lift-light: 1px 1px 0 rgba(255, 255, 255, .95), -1px -1px 0 rgba(38, 35, 31, .22), 2px 4px 6px rgba(70, 48, 24, .22);
  --lift-soft: 1px 1px 0 rgba(255, 255, 255, .9), -.5px -.5px 0 rgba(38, 35, 31, .16), 1px 2px 3px rgba(70, 48, 24, .16);
  --lift-dark: 0 1px 0 rgba(255, 255, 255, .28), 0 2px 3px rgba(0, 0, 0, .6), 0 8px 22px rgba(0, 0, 0, .45);
  --lift-dark-soft: 0 1px 0 rgba(255, 255, 255, .14), 0 2px 4px rgba(0, 0, 0, .55);
}
.h2, .brand-en, .brand-ar, .type b, .card h3, .r-n, .r-p, .link { text-shadow: var(--lift-light); }
.h2, .brand-en, .brand-ar { font-weight: 500; }
html[lang="ar"] .h2 { font-weight: 500; }
.type i, .c-sub, .c-price, .r-g, .split-text p, .about-text p, .sum p { text-shadow: var(--lift-soft); }
.hero h1, .hero-brand { text-shadow: var(--lift-dark); }
.hero h1 { font-weight: 400; }
.hero-p, .btn-light { text-shadow: var(--lift-dark-soft); }
.bar p, .foot h4, .foot-last { text-shadow: var(--lift-dark-soft); }
.row.is-on .r-n, .row.is-on .r-p, .row.is-on .r-g, .btn-solid { text-shadow: var(--lift-dark-soft); }
.btn-solid b { text-shadow: inherit; }
@media (prefers-contrast: more) { * { text-shadow: none !important; } }

/* ---- stronger relief: a visible extruded edge on large text ---- */
:root {
  --relief-light: -1px -1px 0 #ffffff, 1px 1px 0 rgba(38, 35, 31, .38), 2px 2px 0 rgba(38, 35, 31, .22), 3px 5px 7px rgba(70, 48, 24, .34);
  --relief-dark: 1px 1px 0 #e4dccb, 2px 2px 0 #b7ab97, 3px 3px 0 #6f6558, 4px 7px 14px rgba(0, 0, 0, .7);
  --relief-small: -.5px -.5px 0 #ffffff, 1px 1px 0 rgba(38, 35, 31, .3), 1.5px 3px 4px rgba(70, 48, 24, .26);
}
.h2, .brand-en, .brand-ar { text-shadow: var(--relief-light); }
.type b, .card h3, .r-n, .r-p, .link { text-shadow: var(--relief-small); }
.hero h1, .hero-brand { text-shadow: var(--relief-dark); }
.hero-p { text-shadow: 0 1px 0 rgba(255, 255, 255, .3), 1px 2px 3px rgba(0, 0, 0, .8), 2px 5px 10px rgba(0, 0, 0, .5); }
.row.is-on .r-n, .row.is-on .r-p { text-shadow: 1px 1px 0 rgba(255, 255, 255, .25), 2px 3px 4px rgba(0, 0, 0, .7); }
@media (prefers-contrast: more) { * { text-shadow: none !important; } }

/* ---- v5: refined relief. Heavier strokes + a crisp lit edge + one dark edge, no stacked extrusion ---- */
:root {
  --relief-light: -1px -1px 0 #ffffff, 1px 1px 0 rgba(38, 35, 31, .30), 1px 3px 3px rgba(70, 48, 24, .20);
  --relief-small: -.5px -.5px 0 #ffffff, .8px .8px 0 rgba(38, 35, 31, .22);
  --relief-dark: 0 1px 0 rgba(255, 255, 255, .45), 0 3px 8px rgba(0, 0, 0, .7), 0 10px 24px rgba(0, 0, 0, .4);
}
.hero h1, .hero-brand { text-shadow: var(--relief-dark); font-weight: 500; }
html[lang="ar"] .hero h1 { font-weight: 600; }
.h2, .brand-en, .brand-ar { font-weight: 600; }
.type b, .card h3 { font-weight: 600; }
.hero-p { text-shadow: 0 1px 0 rgba(255, 255, 255, .25), 0 2px 6px rgba(0, 0, 0, .75); }
