/* =============================================================
   DAMAS ELECTRIC · EDITORIAL LUXURY
   Aesthetic: refined Italian magazine. Navy + gold. Serif display
   with italic accents. Generous whitespace. Grain overlay.
   ============================================================= */

:root {
  /* Brand palette (from the real logo) */
  --navy-900: #0b1628;
  --navy-800: #0f1b34;
  --navy-700: #1a2a4a;
  --navy-600: #1e3864;
  --navy-500: #2a4a7a;
  --ivory:    #f7f2ea;
  --ivory-2:  #efe8db;
  --bone:     #e8e0cf;
  --gold:     #c9a96a;
  --gold-2:   #b08f4d;
  --gold-hi:  #e2c78d;
  --ink:      #0b1628;
  --ink-60:   rgba(11, 22, 40, 0.6);
  --ink-30:   rgba(11, 22, 40, 0.3);
  --line:     rgba(201, 169, 106, 0.25);

  /* Typography */
  --serif:    "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:     "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --arabic:   "Tajawal", -apple-system, "Segoe UI", sans-serif;

  /* Rhythm */
  --container: 1280px;
  --pad-x: clamp(1.25rem, 4vw, 3.5rem);
  --gutter: clamp(1.25rem, 2vw, 2rem);
  --section-y: clamp(5rem, 10vw, 9rem);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-in-out: cubic-bezier(0.7, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html[dir="rtl"] body { font-family: var(--arabic); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol, li { list-style: none; padding: 0; margin: 0; }

/* Grain overlay (paper texture) ---------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* =============================================================
   NAVIGATION
   ============================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.2rem var(--pad-x);
  background: rgba(247, 242, 234, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s var(--ease-out), border-color 0.4s var(--ease-out), background 0.4s var(--ease-out);
}
.nav.is-scrolled {
  padding-block: 0.7rem;
  border-bottom-color: var(--line);
  background: rgba(247, 242, 234, 0.96);
}
.nav__brand img {
  height: 44px;
  width: auto;
  transition: height 0.4s var(--ease-out);
}
.nav.is-scrolled .nav__brand img { height: 36px; }

.nav__menu {
  display: flex;
  gap: 2.4rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__menu a {
  position: relative;
  padding: 0.4rem 0;
  color: var(--navy-800);
  transition: color 0.3s var(--ease-out);
}
.nav__menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
html[dir="rtl"] .nav__menu a::after { transform-origin: right; }
.nav__menu a:hover { color: var(--gold-2); }
.nav__menu a:hover::after { transform: scaleX(1); }

.nav__right { display: flex; align-items: center; gap: 1rem; }
.lang-toggle {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--navy-800);
  color: var(--navy-800);
  border-radius: 999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.lang-toggle:hover {
  background: var(--navy-800);
  color: var(--ivory);
}
html[data-lang="en"] .lang-toggle [data-show="ar"],
html[data-lang="ar"] .lang-toggle [data-show="en"] { display: none; }

/* Burger */
.nav__burger { display: none; width: 36px; height: 36px; flex-direction: column; justify-content: center; gap: 6px; }
.nav__burger span { display: block; height: 1.5px; width: 100%; background: var(--navy-800); transition: transform 0.3s; }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(201, 169, 106, 0.18), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(30, 56, 100, 0.08), transparent 55%),
    var(--ivory);
  z-index: -1;
}
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 22, 40, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11, 22, 40, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}
.hero__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero__copy { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: slideUp 0.9s 0.1s var(--ease-out) forwards;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0 0 2rem;
  color: var(--navy-900);
}
.hero__title-line {
  display: block;
  opacity: 0;
  transform: translateY(32px);
  animation: reveal 1.1s var(--ease-out) forwards;
}
.hero__title-line:nth-child(1) { animation-delay: 0.15s; }
.hero__title-line:nth-child(2) { animation-delay: 0.3s; }
.hero__title-line:nth-child(3) { animation-delay: 0.45s; }
.hero__title-line--italic {
  font-style: italic;
  color: var(--gold-2);
  padding-inline-start: clamp(2rem, 8vw, 6rem);
}
html[dir="rtl"] .hero__title {
  font-family: var(--arabic);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
}
html[dir="rtl"] .hero__title-line--italic { font-style: normal; font-weight: 700; }

.hero__lead {
  max-width: 30rem;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.65;
  color: var(--ink-60);
  margin: 0 0 2.5rem;
  opacity: 0;
  animation: slideUp 1.1s 0.6s var(--ease-out) forwards;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
  opacity: 0;
  animation: slideUp 1.1s 0.7s var(--ease-out) forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all 0.4s var(--ease-out);
  position: relative;
}
.btn--primary {
  background: var(--navy-800);
  color: var(--ivory);
  border: 1px solid var(--navy-800);
}
.btn--primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-900);
}
.btn--ghost {
  color: var(--navy-800);
  border-bottom: 1px solid var(--navy-800);
  padding-inline: 0.4rem;
  padding-block: 0.9rem;
}
.btn--ghost:hover { color: var(--gold-2); border-color: var(--gold); }
.btn--outline {
  background: transparent;
  color: var(--ivory);
  border: 1px solid var(--gold);
  padding: 1.1rem 2rem;
}
.btn--outline:hover { background: var(--gold); color: var(--navy-900); }

.hero__meta {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  opacity: 0;
  animation: slideUp 1.1s 0.85s var(--ease-out) forwards;
}
.hero__meta > div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.hero__meta strong {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--navy-900);
}
.hero__meta strong sup {
  font-size: 0.9rem;
  font-family: var(--sans);
  color: var(--gold-2);
  vertical-align: top;
}
.hero__meta span {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-60);
}

.hero__visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  opacity: 0;
  animation: fadeIn 1.4s 0.4s var(--ease-out) forwards;
}
.hero__card {
  position: relative;
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(165deg, var(--navy-800) 0%, var(--navy-900) 100%);
  overflow: hidden;
  border: 1px solid var(--line);
}
.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 169, 106, 0.18), transparent 60%);
  pointer-events: none;
}
.hero__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
}
.hero__card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(to top, rgba(11, 22, 40, 0.9), transparent);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.hero__card-code { color: var(--gold-hi); font-weight: 600; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
  opacity: 0;
  animation: fadeIn 1s 1.3s var(--ease-out) forwards;
}
.hero__scroll svg { animation: scrollBob 2.4s ease-in-out infinite; }

@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes reveal { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollBob {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* =============================================================
   MARQUEE
   ============================================================= */
.marquee {
  padding: 2rem 0;
  background: var(--navy-900);
  color: var(--ivory);
  overflow: hidden;
  border-top: 1px solid var(--navy-700);
  border-bottom: 1px solid var(--navy-700);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  white-space: nowrap;
  animation: scroll 55s linear infinite;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.6rem);
}
.marquee__track span:nth-child(even) {
  color: var(--gold);
  font-style: normal;
  font-size: 0.7em;
  align-self: center;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
/* RTL: no direction change needed — the ticker is decorative, not directional */

/* =============================================================
   SECTION HEADERS
   ============================================================= */
.section__header {
  max-width: 46rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.section__number {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-2);
  margin-bottom: 0.6rem;
}
.section__kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-60);
  margin-bottom: 1.4rem;
}
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--navy-900);
}
.section__title em {
  font-style: italic;
  color: var(--gold-2);
  display: inline-block;
  padding-inline-start: 0.6em;
}
html[dir="rtl"] .section__title { font-family: var(--arabic); letter-spacing: 0; line-height: 1.2; }
html[dir="rtl"] .section__title em { font-style: normal; font-weight: 700; }
.section__header--light .section__number,
.section__header--light .section__kicker { color: var(--gold-hi); }
.section__header--light .section__title { color: var(--ivory); }
.section__header--light .section__title em { color: var(--gold); }

/* =============================================================
   PHILOSOPHY
   ============================================================= */
.philosophy {
  padding-block: var(--section-y);
  position: relative;
}
.philosophy__inner {
  max-width: 60rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.philosophy .section__number { margin-bottom: 0.4rem; }
.philosophy .section__kicker { margin-bottom: 2rem; }
.philosophy__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 2.5rem;
  color: var(--navy-900);
}
.philosophy__quote em {
  font-style: italic;
  color: var(--gold-2);
  display: block;
}
html[dir="rtl"] .philosophy__quote { font-family: var(--arabic); line-height: 1.25; }
html[dir="rtl"] .philosophy__quote em { font-style: normal; font-weight: 700; }
.philosophy__body {
  max-width: 40rem;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.75;
  color: var(--ink-60);
  margin: 0 0 2rem;
}
.philosophy__signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-2);
}

/* =============================================================
   CRAFT
   ============================================================= */
.craft { padding-block: var(--section-y); background: var(--ivory-2); border-block: 1px solid var(--line); }
.craft__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}
.craft__item {
  padding: 3rem 2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.4s var(--ease-out);
  position: relative;
}
html[dir="rtl"] .craft__item { border-right: 0; border-left: 1px solid var(--line); }
.craft__item:hover {
  background: var(--ivory);
}
.craft__item:hover::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(1);
}
.craft__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold-2);
  display: block;
  margin-bottom: 1.2rem;
}
.craft__item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 0 0 0.9rem;
  color: var(--navy-900);
}
.craft__item p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-60);
  margin: 0;
}
html[dir="rtl"] .craft__item h3 { font-family: var(--arabic); font-weight: 700; }

/* =============================================================
   COLLECTION
   ============================================================= */
.collection { padding-block: var(--section-y); }
.collection__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--ivory-2);
  border: 1px solid transparent;
  transition: transform 0.6s var(--ease-out), border-color 0.4s;
}
.product:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}
/* All product cards are uniform — no tall/wide modifiers */
.product__media {
  position: relative;
  aspect-ratio: 4 / 3.2;
  background: linear-gradient(165deg, var(--navy-800), var(--navy-900));
  overflow: hidden;
}
.product__media::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201, 169, 106, 0.14), transparent 60%);
}
.product__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 1.2s var(--ease-out);
}
.product:hover .product__media img { transform: scale(1.05); }

.product__meta { padding: 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; }
.product__code {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.product__meta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.1;
  margin: 0.2rem 0 0.5rem;
  color: var(--navy-900);
}
html[dir="rtl"] .product__meta h3 { font-family: var(--arabic); font-weight: 700; }
.product__meta p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-60);
  margin: 0 0 0.8rem;
}
.product__price {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--navy-700);
  padding-top: 0.8rem;
  border-top: 1px solid var(--line);
}

.collection__footer { margin-top: 4rem; text-align: center; }
.collection__footer .btn--outline {
  color: var(--navy-800);
  border-color: var(--navy-800);
}
.collection__footer .btn--outline:hover { background: var(--navy-800); color: var(--ivory); }

/* =============================================================
   SHOWROOMS (dark section)
   ============================================================= */
.showrooms {
  padding-block: var(--section-y);
  background: var(--navy-900);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.showrooms::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201, 169, 106, 0.1), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(201, 169, 106, 0.06), transparent 55%);
  pointer-events: none;
}
/* Uniform card grid for showrooms */
.showrooms__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.showroom__card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem 1.8rem;
  background: rgba(30, 56, 100, 0.25);
  border: 1px solid rgba(201, 169, 106, 0.15);
  transition: background 0.4s var(--ease-out), border-color 0.4s;
  text-decoration: none;
  color: inherit;
  min-height: 120px;
}
.showroom__card:hover {
  background: rgba(201, 169, 106, 0.1);
  border-color: var(--gold);
}
.showroom__city {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold);
}
html[dir="rtl"] .showroom__city { font-family: var(--arabic); font-style: normal; font-weight: 700; }
.showroom__addr {
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(247, 242, 234, 0.75);
  flex-grow: 1;
}
.showroom__map {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s;
}
.showroom__card:hover .showroom__map { opacity: 1; }

/* =============================================================
   CONTACT
   ============================================================= */
.contact { padding-block: var(--section-y); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.contact__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-60);
  margin-top: 1.5rem;
  max-width: 28rem;
}
.contact__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.contact__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.8rem;
  background: var(--ivory-2);
  border: 1px solid transparent;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}
.contact__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--navy-900);
  transform-origin: bottom;
  transform: scaleY(0);
  transition: transform 0.5s var(--ease-in-out);
  z-index: 0;
}
.contact__card > * { position: relative; z-index: 1; }
.contact__card:hover {
  border-color: var(--gold);
  color: var(--ivory);
}
.contact__card:hover::before { transform: scaleY(1); }
.contact__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.contact__value {
  font-family: var(--serif);
  font-size: 1.5rem;
  unicode-bidi: embed;
  direction: ltr;
  text-align: start;
  color: var(--navy-900);
  transition: color 0.4s;
}
.contact__card:hover .contact__value { color: var(--ivory); }

/* =============================================================
   FOOTER
   ============================================================= */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: var(--ivory-2);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.footer__brand img { height: 40px; width: auto; }
.footer__brand p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--ink-60);
}
.footer__meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-60);
}

/* =============================================================
   IN-VIEW REVEAL ANIMATIONS (non-hero)
   Only hide elements AFTER JS marks the page as ready.
   This way no-JS users and crawlers see everything, and the
   animation only applies when the observer can actually run.
   ============================================================= */
html.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
html.js-ready [data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__right { order: 2; }
  .nav.is-open .nav__menu {
    display: flex;
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 2rem var(--pad-x);
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    font-size: 1.2rem;
  }
  .nav.is-open .nav__menu a { padding: 1rem 0; border-bottom: 1px solid var(--line); }

  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { justify-self: stretch; max-width: 520px; }
  .hero__meta { flex-wrap: wrap; gap: 1.5rem 2.5rem; }

  .collection__grid { grid-template-columns: repeat(2, 1fr); }
  .showrooms__grid { grid-template-columns: 1fr; }

  .contact__inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
  .nav { padding-block: 0.9rem; }
  .hero { padding-top: 6rem; padding-bottom: 3rem; }
  .hero__title-line--italic { padding-inline-start: 1.2rem; }
  .hero__scroll { display: none; }

  .collection__grid { grid-template-columns: 1fr; }

  .craft__grid { grid-template-columns: 1fr; }
  .craft__item { border-right: 0 !important; border-left: 0 !important; }

  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}

/* Respect reduced-motion for entrance animations and scroll reveals
   (which can cause flashes/pops), but leave gentle decorative loops
   like the marquee and the scroll indicator bob running — per WCAG,
   "reduce motion" means reduce, not eliminate, and slow continuous
   motion that doesn't trigger vestibular response is acceptable. */
@media (prefers-reduced-motion: reduce) {
  .hero__title-line,
  .eyebrow,
  .hero__lead,
  .hero__cta,
  .hero__meta,
  .hero__visual,
  .hero__scroll {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  html.js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto !important; }
}
