/* ==========================================================================
   HIND ROYAL OUD — coming soon
   Palette and type follow the July 2026 brand system (Direction A, "The Loom"):
   aubergine #3B1F2B · gold #CC9933 (logo) / #B98A3C (deep) · smoked ivory #EFE6D8
   · oud-smoke charcoal #2A2521 · dusty rose #C9A0A0.
   Logical properties throughout so an /ar/ RTL edition needs no layout rewrite.
   ========================================================================== */

:root {
  --plum-900: #160a10;
  --plum-800: #1f0f18;
  --plum-700: #2a1420;
  --aubergine: #3b1f2b;
  --aubergine-soft: #4a2838;
  --charcoal: #2a2521;
  --gold: #cc9933;
  --gold-deep: #b98a3c;
  --gold-pale: #e6c77f;
  --ivory: #efe6d8;
  --ivory-70: rgba(239, 230, 216, 0.72);
  --ivory-50: rgba(239, 230, 216, 0.52);
  --ivory-20: rgba(239, 230, 216, 0.16);
  --ivory-08: rgba(239, 230, 216, 0.08);
  --rose: #c9a0a0;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --caps: "Cinzel", "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --arabic: "Amiri", "Noto Naskh Arabic", "Geeza Pro", serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 36rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 900ms;

  color-scheme: dark;
}

/* -------------------------------------------------------------------------- */
/* Reset & base                                                               */
/* -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  min-height: 100svh;
  background: var(--plum-800);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, p, figure { margin: 0; }
::selection { background: rgba(204, 153, 51, 0.35); color: var(--ivory); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 2px; }

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -4rem;
  padding: 0.6rem 1rem; background: var(--gold); color: var(--plum-900);
  font-family: var(--caps); font-size: 0.75rem; letter-spacing: 0.2em; z-index: 100;
  transition: top 200ms;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Film grain — one tiny SVG noise tile, fixed, very low opacity */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 50; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.045; mix-blend-mode: soft-light;
}

/* -------------------------------------------------------------------------- */
/* Typography                                                                 */
/* -------------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--caps);
  font-weight: 400;
  font-size: clamp(0.62rem, 0.58rem + 0.2vw, 0.72rem);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 0.9em;
}
.eyebrow::before, .eyebrow.center::after {
  content: ""; width: 2.2em; height: 1px; background: currentColor; opacity: 0.7;
}
.eyebrow.center { justify-content: center; }

.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 300; color: var(--gold-pale); }
.display-xl { font-size: clamp(2.5rem, 1.5rem + 3.9vw, 4.9rem); }
.display-l  { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 4.2rem); }
.display-m  { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.12; }

.lede {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--ivory-70);
  max-width: var(--measure);
  text-wrap: pretty;
}
.body { color: var(--ivory-70); max-width: var(--measure); text-wrap: pretty; }
.body + .body { margin-block-start: 1.2em; }
.body strong { color: var(--ivory); font-weight: 400; }

.arabic {
  font-family: var(--arabic);
  direction: rtl;
  unicode-bidi: isolate;
  font-size: 1.25em;
  line-height: 1.6;
  color: var(--gold-pale);
}

.rule {
  width: 100%; height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, var(--ivory-20) 20%, var(--ivory-20) 80%, transparent);
}

/* -------------------------------------------------------------------------- */
/* Layout helpers                                                             */
/* -------------------------------------------------------------------------- */
.wrap { width: min(100% - 2 * var(--gutter), 78rem); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }
.section { position: relative; padding-block: clamp(5rem, 12vw, 10rem); }
.section-head { display: grid; gap: 1.4rem; max-width: 44rem; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* The woven band — a reduced, sadu-inspired diamond strip, used as a divider only */
.band {
  height: 14px;
  width: min(100% - 2 * var(--gutter), 40rem);
  margin: 0 auto;
  opacity: 0.55;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'><path d='M0 7 L7 0 L14 7 L7 14 Z M14 7 L21 0 L28 7 L21 14 Z' fill='none' stroke='%23cc9933' stroke-width='0.8'/><path d='M7 4.5 L9.5 7 L7 9.5 L4.5 7 Z' fill='%23cc9933'/></svg>");
  background-repeat: repeat-x;
  background-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 25%, #000 75%, transparent);
}

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem var(--gutter);
  transform: translateY(-110%);
  opacity: 0;
  transition: transform 600ms var(--ease-out), opacity 600ms var(--ease-out), background 400ms;
  background: linear-gradient(180deg, rgba(22, 10, 16, 0.85), rgba(22, 10, 16, 0.6));
  -webkit-backdrop-filter: blur(14px) saturate(120%);
          backdrop-filter: blur(14px) saturate(120%);
  border-block-end: 1px solid rgba(239, 230, 216, 0.06);
}
.site-header.is-visible { transform: translateY(0); opacity: 1; }
.brand-mark { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand-mark svg, .brand-mark img { height: 2rem; width: auto; }
.brand-mark .wordmark { height: 1.15rem; }
.header-actions { display: flex; align-items: center; gap: 1.5rem; }
.header-status {
  font-family: var(--caps); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory-50); display: none;
}
@media (min-width: 40em) { .header-status { display: inline; } }
.header-actions .short { display: none; }
@media (max-width: 39.99em) {
  .header-actions .long { display: none; }
  .header-actions .short { display: inline; }
  .brand-mark img { height: 1.65rem !important; }
  .site-header { padding-block: 0.75rem; }
}
.header-status::before {
  content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold); margin-inline-end: 0.7em; vertical-align: middle;
  box-shadow: 0 0 0 0 rgba(204, 153, 51, 0.6); animation: pulse 2.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(204, 153, 51, 0); } 100% { box-shadow: 0 0 0 0 rgba(204, 153, 51, 0); } }

/* -------------------------------------------------------------------------- */
/* Buttons & links                                                            */
/* -------------------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8em;
  padding: 1.05em 2.2em;
  font-family: var(--caps); font-size: 0.68rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--ivory);
  border: 1px solid rgba(204, 153, 51, 0.55);
  overflow: hidden;
  transition: color 500ms var(--ease-out), border-color 500ms;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 600ms var(--ease-out);
}
[dir="rtl"] .btn::before { transform-origin: 100% 50%; }
.btn:hover, .btn:focus-visible { color: var(--plum-900); border-color: var(--gold); }
.btn:hover::before, .btn:focus-visible::before { transform: scaleX(1); }
.btn-solid { background: var(--gold); color: var(--plum-900); border-color: var(--gold); }
.btn-solid::before { background: var(--gold-pale); }

.link-line {
  display: inline-flex; align-items: center; gap: 0.9em; white-space: nowrap;
  font-family: var(--caps); font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
}
.link-line::after {
  content: ""; width: 2.4em; height: 1px; background: currentColor;
  transition: width 500ms var(--ease-out);
}
.link-line:hover::after, .link-line:focus-visible::after { width: 4em; }

/* -------------------------------------------------------------------------- */
/* Hero                                                                       */
/* -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-block: clamp(4rem, 8vh, 6rem) clamp(4rem, 8vh, 6rem);
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 20%, rgba(74, 40, 56, 0.65) 0%, transparent 60%),
    radial-gradient(90% 70% at 10% 90%, rgba(59, 31, 43, 0.7) 0%, transparent 60%),
    linear-gradient(180deg, var(--plum-800) 0%, var(--plum-900) 100%);
}
/* slowly turning medallion watermark */
.hero-watermark {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(26rem, 70vw, 60rem); aspect-ratio: 1;
  inset-inline-end: -18%; top: 50%; translate: 0 -50%;
  opacity: 0.055;
  animation: turn 240s linear infinite;
}
@keyframes turn { to { rotate: 360deg; } }
.hero-glow {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vmin; aspect-ratio: 1; border-radius: 50%;
  inset-inline-end: 8%; top: 42%; translate: 0 -50%;
  background: radial-gradient(circle, rgba(204, 153, 51, 0.22), rgba(204, 153, 51, 0.06) 45%, transparent 70%);
  filter: blur(30px);
  animation: breathe 9s var(--ease-in-out) infinite alternate;
}
@keyframes breathe { from { opacity: 0.6; scale: 0.92; } to { opacity: 1; scale: 1.06; } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
@media (min-width: 60em) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

.hero-copy { display: grid; gap: clamp(1.1rem, 2vw, 1.5rem); justify-items: start; max-width: 38rem; }
.hero-copy .lede { font-size: clamp(1.1rem, 1rem + 0.45vw, 1.35rem); }
.hero-logo { width: clamp(8rem, 20vw, 10.5rem); margin-block-end: 0.25rem; }
.hero-logo img { width: 100%; }
.hero-tagline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4em 1.2em;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  color: var(--ivory-70);
}
.hero-tagline .arabic { font-style: normal; }
.hero-tagline .dot { color: var(--gold); opacity: 0.8; }

.coming-soon {
  display: inline-grid; grid-auto-flow: column; align-items: center; gap: 1.2rem;
  padding: 0.9rem 0;
  font-family: var(--caps); font-size: clamp(0.7rem, 0.65rem + 0.25vw, 0.85rem);
  letter-spacing: 0.42em; text-transform: uppercase; color: var(--gold);
}
.coming-soon .medallion { width: 1.6rem; opacity: 0.9; }
.coming-soon .line { width: 3.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.coming-soon .line.end { background: linear-gradient(90deg, var(--gold), transparent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; align-items: center; }

/* the campaign plate */
.hero-visual {
  position: relative;
  justify-self: center;
  width: min(100%, 30rem);
}
.hero-plate {
  position: relative;
  aspect-ratio: 896 / 1200;
  border-radius: 2px;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(130% 100% at 50% 40%, #000 55%, transparent 100%);
          mask-image: radial-gradient(130% 100% at 50% 40%, #000 55%, transparent 100%);
}
.hero-plate img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: settle 2600ms var(--ease-out) forwards;
}
@keyframes settle { to { transform: scale(1); } }
.hero-plate::after { /* soft light sweep */
  content: ""; position: absolute; inset: -20%;
  background: linear-gradient(115deg, transparent 35%, rgba(239, 230, 216, 0.08) 48%, rgba(204, 153, 51, 0.12) 52%, transparent 65%);
  transform: translateX(-60%);
  animation: sweep 11s var(--ease-in-out) 3s infinite;
  pointer-events: none;
}
[dir="rtl"] .hero-plate::after { animation-direction: reverse; }
@keyframes sweep { 0% { transform: translateX(-70%); } 25%, 100% { transform: translateX(70%); } }
.hero-caption {
  position: absolute; inset-inline-start: 0; bottom: -0.25rem;
  font-family: var(--caps); font-size: 0.56rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--ivory-50);
  writing-mode: vertical-rl; transform: rotate(180deg); transform-origin: center;
  display: none;
}
@media (min-width: 60em) {
  .hero-caption { display: block; inset-inline-start: -2.2rem; bottom: 2rem; }
}

@media (max-width: 59.99em) {
  .hero { padding-block: clamp(2.5rem, 6vh, 4rem) clamp(3rem, 6vh, 4rem); }
  /* flatten hero-copy so the logo can sit above the plate */
  .hero-copy { display: contents; }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(1rem, 2.4vh, 1.5rem); justify-items: center; text-align: center; }
  .hero-logo { order: -2; width: clamp(7rem, 30vw, 8.5rem); margin: 0; }
  .hero-visual { order: -1; width: min(60vw, 17rem); margin-block: 0.25rem 0.5rem; }
  .hero-copy .eyebrow { max-width: 22rem; }
  .hero-tagline { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-watermark { inset-inline-end: -45%; top: 30%; width: 36rem; }
  .hero-glow { inset-inline-end: 50%; translate: 50% -50%; top: 34%; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; inset-inline-start: 50%; bottom: 1.6rem; translate: -50% 0; z-index: 1;
  display: grid; justify-items: center; gap: 0.6rem;
  font-family: var(--caps); font-size: 0.52rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--ivory-50);
}
.scroll-cue span:last-child {
  width: 1px; height: 3.2rem; background: linear-gradient(180deg, var(--gold), transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 0 40%, transparent 40% 100%);
          mask-image: linear-gradient(180deg, #000 0 40%, transparent 40% 100%);
  -webkit-mask-size: 100% 250%; mask-size: 100% 250%;
  animation: cue 2.6s var(--ease-in-out) infinite;
}
@keyframes cue { from { -webkit-mask-position: 0 100%; mask-position: 0 100%; } to { -webkit-mask-position: 0 -100%; mask-position: 0 -100%; } }
@media (max-width: 59.99em) { .scroll-cue { display: none; } }

/* -------------------------------------------------------------------------- */
/* Essence                                                                    */
/* -------------------------------------------------------------------------- */
.essence { background: var(--plum-900); }
.essence .founding {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 1.3rem + 2.8vw, 3.6rem); line-height: 1.15;
  color: var(--ivory);
  text-wrap: balance;
}
.essence .founding q::before, .essence .founding q::after { color: var(--gold); font-style: normal; }
.pillars {
  margin-block-start: clamp(3rem, 7vw, 5rem);
  display: grid; gap: 2.5rem 3rem;
  border-block-start: 1px solid var(--ivory-08);
  padding-block-start: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 48em) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { display: grid; gap: 0.9rem; align-content: start; }
.pillar .num { font-family: var(--caps); font-size: 0.62rem; letter-spacing: 0.34em; color: var(--gold); }
.pillar h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.2; color: var(--ivory); }
.pillar p { color: var(--ivory-70); font-size: 0.98em; max-width: 28rem; }

/* -------------------------------------------------------------------------- */
/* Glimpse — editorial gallery                                                */
/* -------------------------------------------------------------------------- */
.glimpse { background: linear-gradient(180deg, var(--plum-900), var(--plum-800) 30%, var(--plum-800)); }
.preview-note {
  display: inline-flex; align-items: center; gap: 0.8em;
  padding: 0.55em 1em; border: 1px solid var(--ivory-20);
  font-family: var(--caps); font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ivory-50);
}
.preview-note::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); }

.gallery {
  margin-block-start: clamp(3rem, 7vw, 5.5rem);
  display: grid; gap: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 48em) {
  .gallery { grid-template-columns: repeat(6, 1fr); align-items: end; }
  .g-wide { grid-column: span 4; }
  .g-tall { grid-column: span 2; }
  .g-tall.g-offset { margin-block-end: clamp(2rem, 6vw, 5rem); }
  .g-wide.g-offset { margin-block-start: clamp(2rem, 6vw, 5rem); }
}
.piece { display: grid; gap: 1.1rem; }
.piece .frame {
  position: relative; overflow: hidden; border-radius: 2px;
  background: var(--aubergine) center / cover no-repeat;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}
.piece .frame::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(239, 230, 216, 0.06);
}
.piece img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04);
  transition: transform 1400ms var(--ease-out), opacity 900ms;
}
.piece.is-in img { transform: scale(1); }
.piece .frame.landscape { aspect-ratio: 1200 / 896; }
.piece .frame.portrait  { aspect-ratio: 896 / 1200; }
.piece figcaption { display: grid; gap: 0.25rem; padding-inline: 0.1rem; }
.piece .title { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--ivory); line-height: 1.2; }
.piece .meta { font-family: var(--caps); font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); }
.piece .desc { color: var(--ivory-50); font-size: 0.92em; max-width: 30rem; }

/* -------------------------------------------------------------------------- */
/* Heritage                                                                   */
/* -------------------------------------------------------------------------- */
.heritage {
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(74, 40, 56, 0.55), transparent 60%),
    var(--aubergine);
}
.heritage-grid { display: grid; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
@media (min-width: 60em) { .heritage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.heritage-copy { display: grid; gap: 1.6rem; }
.heritage-copy .lede { color: var(--ivory); }
.heritage-brand {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem;
  margin-block-start: 1rem; padding-block-start: 2rem; border-block-start: 1px solid var(--ivory-08);
}
.heritage-brand img { height: 2.6rem; width: auto; filter: brightness(0) invert(0.93) sepia(0.2); opacity: 0.9; }
.heritage-brand img.hf-logo { filter: none; height: 3.1rem; }
.collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); align-items: start; }
.collage .frame { overflow: hidden; border-radius: 2px; background: var(--plum-700) center / cover no-repeat; }
.collage .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1400ms var(--ease-out); }
.collage.is-in .frame img { transform: none; }
.collage .c-main { grid-column: 1 / 10; grid-row: 1; aspect-ratio: 4 / 5; }
.collage .c-inset {
  grid-column: 7 / 13; grid-row: 1; align-self: end; aspect-ratio: 4 / 5;
  margin-block-end: -10%; border: 6px solid var(--aubergine);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}
.collage .c-label {
  grid-column: 1 / 7; grid-row: 2; margin-block-start: 1.2rem;
  font-family: var(--caps); font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-50);
}
.places { display: grid; gap: 0.6rem; font-size: 0.95em; color: var(--ivory-70); }
.places span { color: var(--ivory); font-weight: 400; }


/* Heritage crest plate — replaces photography with the shared mark */
.crest { display: grid; gap: 1.2rem; justify-items: start; }
.crest-frame {
  position: relative; width: 100%; aspect-ratio: 4 / 5;
  display: grid; align-content: center; justify-items: center; gap: clamp(1.2rem, 3vw, 2rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(204, 153, 51, 0.16), transparent 70%),
    linear-gradient(160deg, var(--plum-700), var(--plum-900));
  border: 1px solid rgba(204, 153, 51, 0.45);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(0,0,0,0.3);
}
.crest-frame::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(204, 153, 51, 0.28); pointer-events: none;
}
.crest-frame::after { /* faint woven band across the lower third, as on the coffret */
  content: ""; position: absolute; inset-inline: 10px; bottom: 10px; height: 18%; pointer-events: none; opacity: 0.22;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'><path d='M0 7 L7 0 L14 7 L7 14 Z M14 7 L21 0 L28 7 L21 14 Z' fill='none' stroke='%23cc9933' stroke-width='0.8'/></svg>");
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000); mask-image: linear-gradient(180deg, transparent, #000 40%, #000);
}
.crest-corner { position: absolute; width: 18px; height: 18px; border-color: var(--gold); border-style: solid; border-width: 0; opacity: 0.8; }
.crest-corner.tl { top: 10px; inset-inline-start: 10px; border-top-width: 1px; border-inline-start-width: 1px; }
.crest-corner.tr { top: 10px; inset-inline-end: 10px; border-top-width: 1px; border-inline-end-width: 1px; }
.crest-corner.bl { bottom: 10px; inset-inline-start: 10px; border-bottom-width: 1px; border-inline-start-width: 1px; }
.crest-corner.br { bottom: 10px; inset-inline-end: 10px; border-bottom-width: 1px; border-inline-end-width: 1px; }
.crest-medallion { width: clamp(9rem, 44%, 15rem); filter: drop-shadow(0 20px 30px rgba(0,0,0,0.45)); animation: turn 180s linear infinite; }
.crest-names { position: relative; z-index: 1; display: grid; justify-items: center; gap: 0.35rem; text-align: center; }
.crest-house { font-family: var(--caps); font-weight: 400; font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem); letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory); white-space: nowrap; }
.crest-house.gold { color: var(--gold); }
.crest-sub { font-family: var(--serif); font-style: italic; font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.1rem); color: var(--ivory-50); }
.crest-divider { display: inline-flex; align-items: center; gap: 0.8rem; margin-block: 0.9rem; color: var(--gold); font-size: 0.6rem; }
.crest-divider i { width: 3.5rem; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.crest-divider i:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.crest-arabic { position: relative; z-index: 1; font-family: var(--arabic); direction: rtl; font-size: clamp(1.1rem, 1rem + 0.6vw, 1.5rem); color: var(--gold-pale); opacity: 0.9; }
.crest .c-label { font-family: var(--caps); font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-50); }
@media (prefers-reduced-motion: reduce) { .crest-medallion { animation: none; } }

/* -------------------------------------------------------------------------- */
/* Notify                                                                     */
/* -------------------------------------------------------------------------- */
.notify {
  background:
    radial-gradient(60% 50% at 50% 100%, rgba(204, 153, 51, 0.08), transparent 70%),
    var(--plum-900);
  text-align: center;
}
.notify .medallion-lg { width: clamp(4rem, 10vw, 5.5rem); margin-inline: auto; opacity: 0.9; margin-block-end: 1.5rem; }
.notify-form {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  width: min(100%, 34rem);
  display: grid; gap: 1.1rem;
}
.field {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1rem;
  border-block-end: 1px solid var(--ivory-20);
  transition: border-color 400ms;
}
.field:focus-within { border-color: var(--gold); }
.field label {
  position: absolute; inset-inline-start: 0; top: 0.55rem;
  font-family: var(--caps); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-50);
  transition: transform 300ms var(--ease-out), color 300ms, font-size 300ms;
  pointer-events: none; transform-origin: 0 0;
}
.field input {
  width: 100%; padding: 1.1rem 0 0.8rem; background: transparent; border: 0; outline: 0;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ivory); letter-spacing: 0.01em;
}
.field input::placeholder { color: transparent; }
.field input:focus + label, .field input:not(:placeholder-shown) + label { transform: translateY(-1.25rem); color: var(--gold); font-size: 0.52rem; }
.field .btn { margin-block-end: 0.55rem; padding-inline: 1.6em; }
.field .btn .arrow { transition: transform 500ms var(--ease-out); }
.field .btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .field .btn:hover .arrow { transform: translateX(-4px) scaleX(-1); }
[dir="rtl"] .field .btn .arrow { transform: scaleX(-1); }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem 1.5rem; font-size: 0.8rem; color: var(--ivory-50); text-align: start; }
.form-status { min-height: 1.5em; font-family: var(--serif); font-size: 1.1rem; color: var(--gold-pale); }
.form-status[data-state="error"] { color: var(--rose); }
.notify-form.is-done .field, .notify-form.is-done .form-foot { display: none; }
.notify-form.is-done .form-status { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.9rem); font-style: italic; }
.hp { position: absolute; inset-inline-start: -10000px; width: 1px; height: 1px; opacity: 0; }

.channels { margin-block-start: clamp(3rem, 6vw, 4rem); display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem 3rem; }
.channels a { display: inline-flex; align-items: center; gap: 0.7em; font-family: var(--caps); font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ivory-70); transition: color 300ms; }
.channels a:hover { color: var(--gold); }
.channels svg { width: 1rem; height: 1rem; fill: currentColor; }

/* -------------------------------------------------------------------------- */
/* Footer                                                                     */
/* -------------------------------------------------------------------------- */
.site-footer {
  background: var(--plum-900);
  border-block-start: 1px solid var(--ivory-08);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.86rem; color: var(--ivory-50);
}
.footer-grid { display: grid; gap: 2.5rem 3rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { display: grid; gap: 1.2rem; justify-items: start; }
.footer-brand img { width: 7.5rem; }
.footer-brand .status { font-family: var(--caps); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold); }
.footer-col { display: grid; gap: 0.65rem; align-content: start; }
.footer-col h3 { font-family: var(--caps); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--ivory-70); margin-block-end: 0.4rem; }
.footer-col a:hover { color: var(--gold); }
.footer-col address { font-style: normal; line-height: 1.6; }
.footer-bottom {
  margin-block-start: 3rem; padding-block-start: 1.5rem; border-block-start: 1px solid var(--ivory-08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem;
  font-size: 0.76rem;
}
.footer-bottom .lang { font-family: var(--caps); font-size: 0.56rem; letter-spacing: 0.3em; text-transform: uppercase; }
.footer-bottom .lang span { opacity: 0.45; }

/* -------------------------------------------------------------------------- */
/* Reveal on scroll                                                           */
/* -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: var(--d, 0ms); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* hero entrance (load) */
.hero .rise { opacity: 0; transform: translateY(22px); animation: rise 1200ms var(--ease-out) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero .rise { opacity: 1; transform: none; }
  .hero-plate img { transform: none; }
}

/* -------------------------------------------------------------------------- */
/* Print — keep it quiet                                                      */
/* -------------------------------------------------------------------------- */
@media print {
  body::before, .site-header, .scroll-cue, .hero-watermark, .hero-glow { display: none !important; }
  body { background: #fff; color: #111; }
}
