/* ============================================================
   NAJR — Site stylesheet (rebuild to match najr.design)
   Fonts:  Fraunces (headings) · Inter (body/nav) · PT Serif (buttons)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;1,9..144,300;1,9..144,400&family=Inter:wght@400;500;600&family=PT+Serif:ital,wght@0,400;0,700;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi:wght@400;500;600;700&display=swap');

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --paper:      #F2EEE3;   /* main section background (warm cream) */
  --paper-2:    #EDE8DA;   /* footer / alt surface */
  --sand:       #DAC78B;   /* warm sand accent */
  --gold:       #C2A869;   /* gold heading accent ("Pieces") */
  --ink:        #0E0E0C;   /* near-black text + dark hero */
  --green:      #0B5500;   /* italic accent ("SAUDI") */
  --brown:      #3E2A18;   /* about tagline blocks */
  --muted:      #5a564d;   /* secondary text */
  --hint:       #8a8578;   /* form hints / "(required)" */
  --line:       #cfc8b6;   /* hairline border on paper */
  --line-ink:   #0E0E0C;   /* button / input border */

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-btn:     'PT Serif', Georgia, serif;

  --nav-h: 86px;
  --maxw:  1700px;
  --pad:   40px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  display: flex;
  flex-direction: column;
  min-height: 100vh;       /* fill viewport so the footer can sit at the bottom */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em, i { font-style: italic; }

/* ── Typography ──────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.2vw, 1.7rem); }
p  { font-size: 1rem; line-height: 1.5; }

.gold  { color: var(--gold); }
.green { color: var(--green); font-style: italic; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* ── Layout helpers ──────────────────────────────────────── */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.section   { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* ── Buttons (outline, square, PT Serif) ─────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-btn);
  font-size: 1rem;
  line-height: 1;
  padding: 18px 26px;
  border: 1px solid var(--line-ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--on-dark { border-color: var(--paper); color: var(--paper); }
.btn--on-dark:hover { background: var(--paper); color: var(--ink); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--block { width: 100%; }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: 100%;
  padding: 0 4vw;            /* full-bleed like Squarespace; logo + cart sit near the edges */
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: flex; gap: 34px; justify-content: center; }
.nav__links a {
  font-family: var(--font-body);
  font-size: 1rem; color: var(--paper);
  transition: opacity .2s ease;
}
.nav__links a:hover { opacity: .6; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.nav__cart {
  font-family: var(--font-body); font-size: 1rem; color: var(--paper);
  display: inline-flex; align-items: center; gap: 6px;
}
.nav__cart:hover { opacity: .6; }

/* Transparent + light by default (over the hero/banner/sand); flips to a light
   background with dark text + dark logo on hover. The header is NOT sticky —
   it sits at the top of the page and scrolls away with the content. */
.nav.is-hover {
  background: var(--paper);
  border-bottom-color: var(--line);
}
.nav.is-hover .nav__links a,
.nav.is-hover .nav__cart { color: var(--ink); }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--paper); }
.nav.is-hover .nav__toggle span { background: var(--ink); }

/* ── Hero (dark, full viewport) ──────────────────────────── */
.hero {
  position: relative;
  min-height: 78vh;
  background: var(--ink) center/cover no-repeat;
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: var(--nav-h) var(--pad) 60px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(8,8,7,0.45); z-index: 0;
}
.hero__inner { position: relative; z-index: 1; max-width: 1000px; }
.hero__eyebrow { color: var(--paper); margin-bottom: 26px; }
.hero h1 { color: var(--paper); margin-bottom: 22px; }
.hero__sub { font-size: 1.15rem; color: var(--paper); opacity: .92; max-width: 620px; margin: 0 auto; }
.hero__origin {
  position: absolute; right: var(--pad); bottom: 38px; z-index: 1;
  text-align: right; font-size: 0.95rem; color: var(--paper); line-height: 1.4;
}
.hero__origin strong { display: block; font-weight: 400; }

/* ── Section header (heading + side button) ──────────────── */
.head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px;
}
.head-center { text-align: center; margin-bottom: 48px; }

/* ── Product / piece grid ────────────────────────────────── */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.piece__img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--paper-2); }
.piece__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.piece:hover .piece__img img { transform: scale(1.04); }
.piece__name { font-family: var(--font-body); font-size: 1.05rem; margin-top: 16px; }
.piece__price { font-family: var(--font-body); font-size: 1rem; color: var(--ink); margin-top: 4px; }
.piece__cart { margin-top: 16px; }

/* ── Gallery row (Follow Our Work) ───────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }

/* ── Consultation / form split ───────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split__intro p { color: var(--muted); margin-top: 22px; max-width: 420px; }

.form { display: grid; gap: 26px; }
.form__group { display: grid; gap: 6px; }
.form__label { font-family: var(--font-display); font-size: 1.05rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__field label { font-size: 0.95rem; color: var(--ink); }
.form__field label .req { color: var(--hint); margin-left: 6px; }
.form input, .form textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid var(--ink);
  padding: 10px 0; margin-top: 6px;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--green); }

/* Inline success / error states for the contact & consultation forms */
.form__thanks { padding: 8px 0; }
.form__thanks h3 { color: var(--green); font-style: normal; margin-bottom: 12px; }
.form__thanks p { color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.form__error { color: #9a2b2b; margin-top: 6px; font-size: .95rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 70px 0 60px; margin-top: auto; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__col a:hover { opacity: .6; }
.footer__logo img { height: auto; width: auto; max-height: 96px; max-width: 100%; }
.footer__col h4 { margin-bottom: 14px; }
.footer__col p { color: var(--muted); line-height: 1.7; }

/* ── Page hero for inner pages (cream, headline + intro) ──── */
.page-hero { padding: calc(var(--nav-h) + 80px) 0 60px; }
.page-hero h1 { max-width: 14ch; }
.page-hero p { margin-top: 22px; color: var(--muted); max-width: 60ch; font-size: 1.1rem; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center p { margin-left: auto; margin-right: auto; }

/* ── Cart drawer ─────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(14,14,12,.45);
  opacity: 0; visibility: hidden; transition: .3s; z-index: 200;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 400px; max-width: 90vw;
  background: var(--paper); transform: translateX(100%); transition: transform .35s ease;
  z-index: 201; display: flex; flex-direction: column; padding: 28px;
}
.cart-overlay.open .cart-drawer { transform: translateX(0); }
.cart-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.cart-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; }
.cart-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.cart-foot__total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 18px; }

/* ── Per-page backgrounds ────────────────────────────────── */
body.bg-sand { background: var(--sand); }

/* ── Inner-page banner (Shop / Services dark hero) ───────── */
.banner {
  background: var(--ink) center/cover no-repeat;
  color: var(--paper);
  padding: calc(var(--nav-h) + 56px) 0 56px;
}
.banner__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.banner h1 { color: var(--paper); }
.banner p  { color: var(--paper); opacity: .92; font-size: 1.2rem; line-height: 1.5; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.crumb { font-size: 0.95rem; color: var(--ink); margin-bottom: 34px; }
.crumb a { color: var(--ink); }
.crumb a:hover { opacity: .6; }
.crumb span { opacity: .55; margin: 0 8px; }

/* ── Shop / Services product grid card ───────────────────── */
.card { display: flex; flex-direction: column; }
.card__img { aspect-ratio: 1/1; overflow: hidden; background: var(--paper-2); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__name { font-family: var(--font-display); font-size: 1.5rem; margin-top: 16px; }
.card__price { font-family: var(--font-body); font-size: 0.9rem; margin-top: 6px; }
.card__btn { margin-top: 18px; }
.card__action { margin-top: auto; padding-top: 18px; }

/* ── Product detail ──────────────────────────────────────── */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-top: calc(var(--nav-h) + 30px); }
.pdp__gallery { position: relative; }
.pdp__gallery img { width: 100%; height: auto; object-fit: cover; }
.pdp__title { margin-bottom: 10px; }
.pdp__price { font-family: var(--font-display); font-size: 1.7rem; margin-bottom: 26px; }
.pdp__desc { margin-bottom: 20px; line-height: 1.6; }
.pdp h4.pdp__sub { font-family: var(--font-body); font-size: 1rem; font-weight: 400; margin: 18px 0 8px; }
.pdp ul { list-style: disc; padding-left: 22px; display: grid; gap: 8px; }
.pdp ul li { line-height: 1.5; }
.pdp__buy { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: stretch; margin-top: 32px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-ink); }
.qty button { width: 44px; height: 100%; min-height: 56px; background: none; border: 0; font-size: 1.2rem; cursor: pointer; }
.qty input { width: 48px; text-align: center; border: 0; background: none; font-family: var(--font-body); font-size: 1rem; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── About page ──────────────────────────────────────────── */
.about-banner { width: 100%; }
.about-banner img { width: 100%; height: 56vh; min-height: 360px; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-grid .lead { color: var(--muted); margin-top: 24px; line-height: 1.7; max-width: 46ch; }
.about-grid .lead em { font-style: italic; }
.tagline-stack { display: grid; gap: 22px; }
.tagline {
  background: var(--brown); color: var(--paper);
  border-left: 8px solid var(--gold);
  padding: 12px 10px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-start;
}
/* Sizes in px (not rem) so the cards stay identical in English and Arabic,
   regardless of the RTL root-font scaling used elsewhere. */
.tagline .en { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 34px; line-height: 1.1; }
.tagline .ar { font-family: 'Reem Kufi', sans-serif; text-align: right; direction: rtl; margin-top: auto; padding-top: 12px; font-size: 22px; line-height: 1.25; opacity: .92; }

/* ── Cart page ───────────────────────────────────────────── */
.cart-page { padding: calc(var(--nav-h) + 56px) 0 90px; }
.cart-page h3 { margin-bottom: 18px; }
.cart-page p { margin-bottom: 26px; }

/* ── Checkout page ───────────────────────────────────────── */
.checkout-page { padding: calc(var(--nav-h) + 56px) 0 90px; }
.checkout-page > .container > h3 { margin-bottom: 28px; }
.co-empty { font-size: 1.05rem; }
.co-link { text-decoration: underline; }
.co-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.co-col h4 { margin-bottom: 18px; }
.co-col--summary { background: var(--paper); border: 1px solid var(--line); padding: 26px; }
.co-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.co-line img { width: 56px; height: 56px; object-fit: cover; }
.co-line__name { display: flex; flex-direction: column; gap: 2px; }
.co-line__qty { color: var(--muted); font-size: .85rem; }
.co-line__price { font-variant-numeric: tabular-nums; }
.co-total { display: flex; justify-content: space-between; font-size: 1.15rem; padding-top: 18px; margin-top: 6px; border-top: 1px solid var(--line); }
.co-back { margin-top: 22px; }
.co-secure { margin-top: 16px; color: var(--muted); font-size: .85rem; }
.co-warn { background: var(--paper); border: 1px solid var(--line); padding: 18px; color: var(--muted); font-size: .95rem; }
.co-warn code { font-family: monospace; color: var(--ink); }

/* ── Payment result page ─────────────────────────────────── */
.result-page { padding: calc(var(--nav-h) + 80px) 0 110px; flex: 1; }
.result-box { max-width: 560px; }
.result-state h3 { margin-bottom: 14px; }
.result-state p { margin-bottom: 14px; }
.result-ok { color: var(--green); font-style: normal; }
.result-meta { color: var(--muted); font-size: .95rem; }
.result-state .btn { margin-top: 12px; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --pad: 22px; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .head-row { flex-direction: column; align-items: flex-start; }
  .banner__inner { grid-template-columns: 1fr; gap: 24px; }
  .pdp { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .co-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .hero__origin { left: var(--pad); text-align: center; }
}
@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Policy & FAQ pages
   ============================================================ */
.policy { max-width: 820px; }
.policy h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 48px 0 16px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.policy h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 8px; }
.policy h3 { font-size: 1.35rem; margin: 30px 0 10px; }
.policy p { color: var(--muted); line-height: 1.75; margin-bottom: 16px; }
.policy a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.policy a:hover { color: var(--ink); }
.policy strong { color: var(--ink); font-weight: 600; }
.policy ul { list-style: disc; padding-left: 22px; margin: 0 0 18px; display: grid; gap: 10px; }
.policy ul li { color: var(--muted); line-height: 1.7; }
.policy .note {
  background: var(--paper);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  margin: 8px 0 20px;
}
.policy .note p { color: var(--ink); margin: 0; }
.policy .updated { font-size: .9rem; color: var(--hint); margin-top: 36px; font-style: italic; }

.faq { max-width: 820px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  position: relative;
  color: var(--ink);
  transition: opacity .2s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-body); font-size: 1.5rem; color: var(--gold);
}
.faq details[open] summary::after { content: "–"; }
.faq summary:hover { opacity: .65; }
.faq details p {
  color: var(--muted); line-height: 1.75;
  padding: 0 40px 24px 0; margin: 0;
}
.faq details a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.faq details a:hover { color: var(--ink); }

/* ============================================================
   Language toggle (injected into nav by i18n.js)
   ============================================================ */
.nav__lang {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--paper);
  background: none;
  border: 1px solid currentColor;
  border-radius: 2px;
  padding: 6px 13px;
  cursor: pointer;
  line-height: 1;
  transition: opacity .2s ease, background .2s ease, color .2s ease;
}
.nav__lang:hover { opacity: .65; }
.nav.is-hover .nav__lang { color: var(--ink); }

/* ============================================================
   Arabic typography (loaded for all; applied when dir=rtl)
   ============================================================ */
/* Arabic runs a little small in Reem Kufi — scale the whole RTL site up.
   Most sizes are in rem, so bumping the root scales them proportionally. */
html[dir="rtl"] { font-size: 18px; }
html[dir="rtl"] body { font-family: 'Reem Kufi', var(--font-body); font-size: 1.06rem; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3,
html[dir="rtl"] h4, html[dir="rtl"] h5,
html[dir="rtl"] .form__label, html[dir="rtl"] .card__name,
html[dir="rtl"] .pdp__title, html[dir="rtl"] .pdp__price,
html[dir="rtl"] .faq summary {
  font-family: 'Reem Kufi', var(--font-display);
  letter-spacing: 0;
}
html[dir="rtl"] .btn, html[dir="rtl"] .nav__links a,
html[dir="rtl"] .nav__cart, html[dir="rtl"] .nav__lang {
  font-family: 'Reem Kufi', var(--font-btn);
}

/* About-page tagline cards stay exactly as the original (no language/font change) */
html[dir="rtl"] .tagline-stack { direction: ltr; text-align: left; }

/* ── RTL layout flips ─────────────────────────────────────── */
html[dir="rtl"] .page-hero h1,
html[dir="rtl"] .policy, html[dir="rtl"] .faq { text-align: right; }
html[dir="rtl"] .policy ul,
html[dir="rtl"] .pdp ul { padding-left: 0; padding-right: 22px; }
html[dir="rtl"] .policy .note { border-left: 0; border-right: 4px solid var(--gold); }
html[dir="rtl"] .faq summary { padding: 22px 0 22px 40px; }
html[dir="rtl"] .faq summary::after { right: auto; left: 4px; }
html[dir="rtl"] .faq details p { padding: 0 0 24px 40px; }
html[dir="rtl"] .hero__origin { right: auto; left: var(--pad); text-align: left; }
html[dir="rtl"] .crumb span { transform: scaleX(-1); display: inline-block; }
html[dir="rtl"] .form input, html[dir="rtl"] .form textarea { text-align: right; }
html[dir="rtl"] .co-secure, html[dir="rtl"] .result-meta { text-align: right; }

/* Horizon product photography retains the complete artwork. */
.card__img { aspect-ratio: 2 / 3; }
.card__img img { object-fit: contain; }
.pdp__gallery { display: grid; gap: 20px; }
.pdp__buy { grid-template-columns: 1fr; }

.edition { color: var(--green); font-size: .9rem; margin-top: 10px; }
.home-story { background: var(--paper-2); border-block: 1px solid var(--line); }
.home-story__inner { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: center; }
.home-story .eyebrow { margin-bottom: 16px; }
.home-story__copy { max-width: 65ch; margin-bottom: 24px; color: var(--muted); line-height: 1.75; }
@media (max-width: 700px) { .home-story__inner { grid-template-columns: 1fr; gap: 24px; } }

/* Video sits behind the original hero overlay and centered content. */
.hero { overflow: hidden; align-items: flex-start; padding-top: calc(var(--nav-h) + 20px); }
.hero .hero__eyebrow { margin-bottom: 16px; }
.hero h1 { margin-bottom: 16px; }
.hero::after { background: linear-gradient(to bottom, rgba(8,8,7,.62), rgba(8,8,7,.48) 24%, rgba(8,8,7,.12) 42%, rgba(8,8,7,0) 60%); }
.hero__origin { text-shadow: 0 1px 4px rgba(0,0,0,.8); }
@media (max-width: 700px) {
  .hero::after { background: linear-gradient(to bottom, rgba(8,8,7,.62), rgba(8,8,7,.48) 51%, rgba(8,8,7,0) 72%); }
}
/* Clip the video edge just outside the hero to avoid a fractional-pixel seam. */
.hero__video { position: absolute; inset: -2px; width: calc(100% + 4px); height: calc(100% + 4px); object-fit: cover; object-position: center bottom; }
@media (min-width: 900px) { .hero { min-height: calc(78vh + 96px); } }
.hero__video-toggle { position: absolute; left: var(--pad); bottom: 28px; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--paper); border-radius: 50%; background: #0e0e0c99; color: var(--paper); cursor: pointer; }
.hero__video-toggle:focus-visible { outline: 3px solid var(--paper); outline-offset: 4px; }
@media (max-width: 560px) { .hero__video-toggle { bottom: 16px; left: 16px; } }
@media (prefers-reduced-motion: reduce) { .hero__video, .hero__video-toggle { display: none; } }
