/* Roni Eid — Haute Couture. Tokens follow design.md (Tailwind stone scale). */
:root {
  --stone-50: #fafaf9; --stone-100: #f5f5f4; --stone-200: #e7e5e4; --stone-300: #d6d3d1;
  --stone-400: #a8a29e; --stone-500: #78716c; --stone-600: #57534e; --stone-700: #44403c;
  --stone-800: #292524; --stone-900: #1c1917; --stone-950: #0c0a09;
  --white: #fff; --white-80: rgba(255,255,255,.8); --white-60: rgba(255,255,255,.6);
  --display: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  --body: 'Cormorant Garamond', Garamond, 'Times New Roman', serif;
  --track: .18em; --track-wide: .28em;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}
html[lang="ar"] {
  --display: 'Changa', 'Segoe UI', Tahoma, sans-serif;
  --body: 'Amiri', 'Traditional Arabic', 'Times New Roman', serif;
  --track: 0; --track-wide: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--stone-50); color: var(--stone-900);
  font-family: var(--body); font-size: 1.25rem; line-height: 1.6; font-weight: 400;
}
html[lang="ar"] body { font-size: 1.3rem; line-height: 1.9; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; max-width: 34em; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: .95; letter-spacing: var(--track); text-transform: uppercase; }
html[lang="ar"] :is(h1,h2,h3) { font-weight: 700; line-height: 1.15; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; padding: .75rem 1rem; background: var(--stone-900); color: var(--white); z-index: 100; }
.skip:focus { top: 1rem; }

.wrap { max-width: 90rem; margin-inline: auto; padding-inline: var(--pad); }
.label { font-family: var(--display); font-size: .85rem; letter-spacing: var(--track-wide); text-transform: uppercase; color: var(--stone-500); }
html[lang="ar"] .label { font-size: .95rem; font-weight: 600; }
.deck { font-style: italic; font-size: 1.5rem; color: var(--stone-600); }
html[lang="ar"] .deck { font-style: normal; }

/* ---- Nav ---- */
.nav { position: absolute; inset-inline: 0; top: 0; z-index: 20; border-bottom: 1px solid var(--stone-200); background: var(--stone-50); }
.nav--over { background: transparent; border-bottom-color: rgba(255,255,255,.18); color: var(--white); }
.nav__row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 4.5rem; gap: 1rem; }
.nav__links { display: flex; gap: clamp(1.25rem, 3vw, 2.5rem); margin: 0; padding: 0; list-style: none; }
.nav__links { grid-column: 1; grid-row: 1; } .brand { grid-column: 2; grid-row: 1; } .nav__links--end { grid-column: 3; justify-content: flex-end; align-items: center; }
.nav__links a { font-family: var(--display); font-size: .95rem; letter-spacing: var(--track-wide); text-transform: uppercase; opacity: .85; transition: opacity .3s var(--ease); }
html[lang="ar"] .nav__links a { font-size: 1.05rem; font-weight: 600; }
.nav__links a:hover { opacity: 1; }
.brand { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 1.75rem; letter-spacing: .3em; text-transform: uppercase; padding-inline-start: .3em; white-space: nowrap; }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
.icon--solid { fill: currentColor; stroke: none; }
.nav__toggle { display: none; background: none; border: 0; color: inherit; padding: .5rem; cursor: pointer; }
.nav__menu { display: contents; }
@media (max-width: 52rem) {
  .nav__row { grid-template-columns: auto 1fr auto; }
  .nav__toggle { display: block; grid-column: 1; }
  .brand { grid-column: 2; text-align: center; font-size: 1.4rem; }
  .nav__menu { display: none; position: fixed; inset: 0; z-index: 30; background: var(--stone-50); color: var(--stone-900); padding: 5.5rem var(--pad) var(--pad); flex-direction: column; gap: 2rem; }
  .nav.is-open .nav__menu { display: flex; }
  .nav.is-open .nav__toggle { position: relative; z-index: 31; color: var(--stone-900); }
  .nav__links { flex-direction: column; gap: 1.5rem; }
  .nav__links a { font-size: 1.6rem; }
  .nav__links--end { align-items: flex-start; flex-direction: row; gap: 2rem; }
}

/* Language toggle: each language link in its own display face */
a[lang="ar"] { font-family: 'Changa', 'Segoe UI', Tahoma, sans-serif !important; letter-spacing: 0 !important; font-weight: 600; }
a[lang="en"] { font-family: 'Bebas Neue', Impact, sans-serif !important; letter-spacing: .28em !important; font-weight: 400; }

/* ---- Hero ---- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--stone-950); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 15%; transform: scale(1.04); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(12,10,9,.5), rgba(12,10,9,0) 22%), linear-gradient(to top, rgba(12,10,9,.78) 0%, rgba(12,10,9,.35) 38%, rgba(12,10,9,0) 65%); }
.hero__content { position: relative; z-index: 1; padding-block: clamp(3rem, 8vw, 6rem); animation: rise 1.2s var(--ease) both; }
.hero__content .label { color: var(--white-80); }
.hero h1 { font-size: clamp(3.5rem, 11vw, 9.5rem); margin: .25em 0 .35em; max-width: 8em; }
html[lang="ar"] .hero h1 { font-size: clamp(2.75rem, 9vw, 7.5rem); max-width: 10em; }
@keyframes rise { from { opacity: 0; transform: translateY(1.5rem); } to { opacity: 1; transform: none; } }

/* Text link with arrow */
.tlink { display: inline-flex; align-items: center; gap: .6em; font-family: var(--display); font-size: 1rem; letter-spacing: var(--track-wide); text-transform: uppercase; padding-bottom: .3em; border-bottom: 1px solid currentColor; }
html[lang="ar"] .tlink { font-weight: 600; font-size: 1.1rem; }
.tlink .icon { width: 1em; height: 1em; transition: transform .4s var(--ease); }
.tlink:hover .icon { transform: translateX(.35em); }
html[dir="rtl"] .tlink .icon { transform: scaleX(-1); }
html[dir="rtl"] .tlink:hover .icon { transform: scaleX(-1) translateX(.35em); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 3.25rem; padding: .9rem 2rem; background: var(--stone-900); color: var(--white); font-family: var(--display); font-size: 1rem; letter-spacing: var(--track-wide); text-transform: uppercase; transition: background .3s var(--ease); }
.btn:hover { background: var(--stone-950); }
.btn--ghost { background: transparent; color: var(--stone-900); box-shadow: inset 0 0 0 1px var(--stone-900); }
.btn--ghost:hover { background: var(--stone-900); color: var(--white); }
html[lang="ar"] .btn { font-weight: 600; font-size: 1.1rem; }

/* ---- Sections ---- */
.section { padding-block: var(--section); }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.section__head h2 { font-size: clamp(3rem, 7vw, 6rem); }
html[lang="ar"] .section__head h2 { font-size: clamp(2.25rem, 5.5vw, 4.5rem); }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }
@media (max-width: 64rem) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 80rem) { .tiles:not(.tiles--home) { grid-template-columns: repeat(4, 1fr); } }
.tile { margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--stone-200); color: var(--white); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,.8), rgba(12,10,9,.25) 40%, rgba(12,10,9,0) 62%); }
.tile__cap { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: clamp(.75rem, 2.5vw, 1.25rem); }
.tile__cap h3 { font-size: clamp(1.15rem, 2.6vw, 2.25rem); }
html[lang="ar"] .tile__cap h3 { font-size: clamp(1.05rem, 2.2vw, 1.9rem); }
.tile__cap .label { color: var(--white); opacity: .85; display: block; margin-bottom: .35rem; }

/* 2026 teaser */
.teaser { background: var(--stone-950); color: var(--white); border-block: 1px solid var(--stone-800); }
.teaser .label { color: var(--stone-400); }
.teaser h2 { font-size: clamp(3.25rem, 9vw, 8.5rem); margin: .2em 0 .3em; max-width: 7.5em; }
html[lang="ar"] .teaser h2 { font-size: clamp(2.5rem, 7vw, 6.5rem); max-width: 9em; }
.teaser p { color: var(--white-80); }
.teaser .tlink { color: var(--white); }

/* About split band */
.about { background: var(--stone-100); border-block: 1px solid var(--stone-200); }
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about__img { aspect-ratio: 1; overflow: hidden; background: var(--stone-200); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { font-size: clamp(2.75rem, 6vw, 5rem); margin-bottom: .4em; }
html[lang="ar"] .about h2 { font-size: clamp(2.25rem, 5vw, 4rem); }
.about p:last-of-type { margin-bottom: 2rem; }
@media (max-width: 52rem) { .about__grid { grid-template-columns: 1fr; } }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 4rem; align-items: start; }
.contact h2 { font-size: clamp(3rem, 8vw, 7rem); }
html[lang="ar"] .contact h2 { font-size: clamp(2.25rem, 6vw, 5rem); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.5rem 0 2rem; }
.contact__actions .btn { flex: 1 1 14rem; }
.contact__meta { display: grid; gap: .35rem; font-size: 1.15rem; color: var(--stone-600); }
.contact__meta a { border-bottom: 1px solid var(--stone-300); transition: border-color .3s; }
.contact__meta a:hover { border-color: var(--stone-900); }
@media (max-width: 52rem) { .contact__grid { grid-template-columns: 1fr; } }

/* ---- Footer ---- */
.footer { background: var(--stone-950); color: var(--stone-400); padding-block: clamp(3rem, 6vw, 5rem) 2rem; overflow: hidden; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 2rem clamp(2rem, 6vw, 6rem); }
.footer h3 { font-size: .85rem; letter-spacing: var(--track-wide); color: var(--stone-400); margin-bottom: 1rem; }
html[lang="ar"] .footer h3 { font-size: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer li a { font-size: 1.15rem; color: var(--stone-300); transition: color .3s; }
.footer li a:hover { color: var(--white); }
.footer__social { display: flex; gap: 1.25rem; justify-self: end; align-self: start; }
.footer__social a { color: var(--stone-400); transition: color .3s; }
.footer__social a:hover { color: var(--white); }
.footer__social .icon { width: 1.4rem; height: 1.4rem; }
.footer__rule { border: 0; border-top: 1px solid var(--stone-800); margin: 3rem 0 1.5rem; }
.footer__ghost { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(5rem, 19vw, 18rem); line-height: .8; letter-spacing: .06em; color: var(--stone-900); white-space: nowrap; user-select: none; margin-inline: -.03em; }
.footer__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: 1.05rem; color: var(--stone-400); margin-top: 1.5rem; }
.footer__foot a { border-bottom: 1px solid var(--stone-800); }
.footer__foot a:hover { color: var(--stone-300); }
@media (max-width: 52rem) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__social { justify-self: start; grid-column: 1 / -1; } }

/* ---- Collections page ---- */
.page-head { padding-top: calc(4.5rem + var(--section) * .6); padding-bottom: clamp(2rem, 5vw, 4rem); }
.page-head h1 { font-size: clamp(3.5rem, 10vw, 9rem); }
html[lang="ar"] .page-head h1 { font-size: clamp(2.75rem, 7vw, 6rem); }
.year { padding-block: clamp(2rem, 4vw, 3.5rem); border-top: 1px solid var(--stone-200); }
.year__head { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: clamp(1.25rem, 3vw, 2rem); }
.year__head h2 { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: .1em; }
.year__head .label { color: var(--stone-400); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__content { animation: none; }
  .tile img, .tlink .icon, .btn, .nav__links a { transition: none; }
  .tile:hover img { transform: none; }
}
