/* Alborz Honey — shared, bilingual landing-page styles. */
:root {
  color-scheme: dark;
  --header-height: 88px;
  --font-en: "DM Sans", sans-serif;
  --heading-en: "Manrope", sans-serif;
  --forest: #10271f;
  --deep: #0b1c16;
  --gold: #dfb66c;
  --cream: #f4f1e7;
  --ink: #173b2d;
  --muted: #bdc9bd;
  --line: #ffffff24;
  --frame-display-height: 108.76133%; /* 720 / 662: exclude the bottom source label. */
  --page: min(1280px, calc(100% - 112px));
}
* { box-sizing: border-box; }
html { background: var(--deep); scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { margin: 0; color: var(--cream); background: var(--deep); font-family: Vazirmatn, sans-serif; font-feature-settings: "ss01"; font-size: 16px; line-height: 1.8; }
body[data-lang="en"] { font-family: var(--font-en); }
button, input, output { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
p, h1, h2, h3, h4 { margin: 0; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
[id] { scroll-margin-top: 18px; }
#story { scroll-margin-top: 0; }
.skip-link { position: fixed; top: 10px; inset-inline-start: 20px; z-index: 100; padding: 10px 20px; background: var(--gold); color: var(--deep); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 30; min-height: 88px; padding: 16px 48px; display: flex; justify-content: space-between; align-items: center; gap: 28px; border-bottom: 1px solid var(--line); background: #0b1c16f5; }
.header-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-brand img { width: 44px; height: 44px; object-fit: contain; }
.header-brand strong { display: block; font-size: 21px; font-weight: 600; line-height: 1.5; }
.header-brand small { display: block; font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--gold); }
.header-nav, .header-tools { display: flex; gap: 28px; align-items: center; }
.header-nav a { font-size: 14px; color: #d5ddd3; padding-block: 8px; transition: color .2s; }
.header-nav a:hover, .footer-col a:hover { color: var(--gold); }
.header-tools { gap: 20px; }
.language-switch { display: flex; direction: ltr; align-items: center; gap: 2px; }
.language-switch button { border: 0; color: #9aac9e; background: transparent; font-size: 14px; width: 42px; min-height: 44px; border-radius: 4px; }
.language-switch button.is-active { background: #ffffff0d; color: var(--gold); }
.header-order { border: 1px solid #dfb66c6b; color: var(--gold); padding: 10px 18px; font-size: 14px; white-space: nowrap; border-radius: 3px; }
.header-order:hover { background: #dfb66c14; }
.hero { position: relative; isolation: isolate; min-height: min(740px, calc(100svh - 88px)); display: flex; align-items: center; overflow: hidden; background: var(--deep); }
.hero-image { position: absolute; inset-block: 0; inset-inline-end: 0; width: 74%; z-index: -2; overflow: hidden; }
.hero-image img { height: var(--frame-display-height); width: 100%; object-fit: cover; object-position: center top; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to left, #0b1c16 3%, #0b1c16ef 24%, #0b1c1694 48%, #0b1c1600 78%), linear-gradient(to top, #0b1c1680, transparent 40%); }
body[data-lang="en"] .hero::after { background: linear-gradient(to right, #0b1c16 3%, #0b1c16ef 24%, #0b1c1694 48%, #0b1c1600 78%), linear-gradient(to top, #0b1c1680, transparent 40%); }
.hero-content { width: var(--page); margin-inline: auto; padding-block: 80px 110px; }
.eyebrow, .brand-kicker { color: var(--gold); font-size: 14px; font-weight: 500; margin-bottom: 24px; }
.eyebrow::before { content: ""; display: inline-block; width: 32px; height: 1px; background: currentColor; margin-inline-end: 12px; vertical-align: middle; }
.hero h1 { font-size: clamp(40px, 4.5vw, 68px); line-height: 1.55; font-weight: 500; max-width: 700px; text-wrap: balance; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { font-style: normal; color: var(--gold); }
.tagline { max-width: 440px; font-size: 18px; line-height: 2; margin-top: 24px; color: #d2d9ca; }
.hero-actions { margin-top: 36px; display: flex; align-items: center; flex-wrap: wrap; gap: 28px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 13px 24px; border: 1px solid transparent; font-weight: 500; font-size: 16px; border-radius: 4px; transition: background .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--deep); }
.btn-primary:hover { background: #edc783; }
.direction-arrow { font-family: sans-serif; font-size: 23px; }
html[dir="rtl"] .direction-arrow { transform: scaleX(-1); }
.text-link { border-bottom: 1px solid #dfb66c66; padding-block: 8px; color: #e1e4d8; }
.hero-signature { font-family: inherit; font-style: normal; font-size: 16px; letter-spacing: normal; color: #c2cbb5; margin-top: 46px; }
.hero-caption { position: absolute; inset-inline-end: 48px; bottom: 30px; display: grid; gap: 4px; text-align: end; color: #fff; font-size: 14px; text-shadow: 0 1px 12px #000; }
.hero-caption .mountain-label { font-family: inherit; font-size: 12px; }
.provenance-strip { display: flex; justify-content: center; align-items: center; gap: 0; padding: 24px 32px; background: #153529; color: #e6e8db; border-block: 1px solid var(--line); }
.provenance-strip span { padding-inline: clamp(20px, 5vw, 72px); font-size: 14px; text-align: center; }
.provenance-strip span + span { border-inline-start: 1px solid #ffffff30; }
.product-scene { background: var(--cream); color: var(--ink); padding: 112px 0; color-scheme: light; }
.product-card { width: var(--page); margin-inline: auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 84px; }
.product-info { min-width: 0; }
.product-scene .brand-kicker { color: #846027; margin-bottom: 14px; }
.product-info h2 { font-size: clamp(32px, 3vw, 46px); font-weight: 600; line-height: 1.55; text-wrap: balance; }
.product-description { color: #53614e; line-height: 2; margin: 16px 0 28px; }
#varietyLabel { font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.chips { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; }
.chip { min-width: 0; padding: 14px 8px; min-height: 82px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: transparent; border: 1px solid #193c2d29; border-radius: 4px; color: var(--ink); font-size: 14px; line-height: 1.7; }
.chip.is-active { background: #173b2d; color: var(--cream); border-color: #173b2d; }
.chip.is-soon { border-style: dashed; color: #687164; cursor: not-allowed; }
.chip .soon { font-size: 12px; color: #687164; }
.purchase-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 22px; border-block: 1px solid #173b2d26; padding: 24px 0; margin-top: 28px; }
.price-label { display: block; font-size: 14px; color: #5c6958; margin-bottom: 4px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; line-height: 1.6; }
.price strong { font-size: clamp(28px, 2.6vw, 36px); font-weight: 600; font-variant-numeric: tabular-nums; }
.price span { font-size: 14px; color: #5c6958; }
.qty { display: inline-flex; align-items: center; border: 1px solid #173b2d33; border-radius: 4px; }
.qty button { background: transparent; border: 0; color: var(--ink); width: 44px; height: 44px; font-size: 22px; }
.qty button:hover:not(:disabled) { background: #173b2d10; }
.qty button:disabled { color: #959a8f; cursor: default; }
.qty output { min-width: 38px; text-align: center; font-variant-numeric: tabular-nums; }
.product-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.product-actions .btn-primary { flex: 1 0 100%; background: var(--ink); color: var(--cream); }
.product-actions .btn-primary:hover { background: #26533e; }
.product-actions .btn-ghost { flex: 1; border-color: #173b2d33; font-size: 14px; padding-inline: 12px; }
.product-actions .btn-ghost:hover { background: #173b2d0a; }
.order-note { font-size: 14px; color: #5c6958; line-height: 1.9; margin-top: 16px; }
.product-origin { font-size: 12px; margin-top: 18px; color: #65735d; }
.product-visual { position: relative; aspect-ratio: 4 / 5; display: grid; align-items: center; background: #e7e5d7; border: 1px solid #173b2d12; border-radius: 120px 120px 4px 4px; overflow: hidden; }
.product-image { width: 100%; z-index: 1; filter: drop-shadow(0 24px 20px #38220029); }
.visual-wordmark { position: absolute; inset: 36px 10px auto; text-align: center; font-family: var(--heading-en); font-size: clamp(44px, 6vw, 90px); line-height: 1.1; letter-spacing: .03em; color: #173b2d18; }
.visual-caption { position: absolute; inset: auto 16px 32px; font-family: inherit; font-size: 12px; text-align: center; color: #667157; letter-spacing: normal; }
.story { position: relative; background: var(--deep); }
.stage { position: relative; background: var(--deep); }
#sequence { display: none; position: absolute; inset: 0; width: 100%; height: 100%; }
.story-topline, .story-bottomline { width: var(--page); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; font-size: 14px; position: relative; z-index: 3; }
.story-topline { border-bottom: 1px solid var(--line); color: var(--gold); }
.story-topline a { color: var(--cream); padding: 8px 0; border-bottom: 1px solid #dfb66c70; }
.chapter { position: relative; isolation: isolate; overflow: hidden; padding: 72px max(28px, calc((100% - 1280px) / 2)); min-height: 480px; display: flex; flex-direction: column; justify-content: center; }
.chapter::before { content: ""; position: absolute; inset: 0 0 auto; height: var(--frame-display-height); z-index: -1; background: linear-gradient(90deg, #0b1c1650, #0b1c16e6), url("frames/scene1/0001.webp") center top / cover; }
#inside::before { background-image: linear-gradient(90deg, #0b1c1666, #0b1c16ed), url("frames/scene2/0109.webp"); }
.chapter-number { color: var(--gold); font-size: 14px; margin-bottom: 18px; }
.chapter h2 { max-width: 590px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.65; font-weight: 500; text-wrap: balance; }
.chapter p:not(.chapter-number) { max-width: 510px; margin-top: 20px; color: #e3e5db; font-size: 17px; line-height: 2; }
.fact { margin-top: 24px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.fact strong { font-size: 32px; color: var(--gold); font-weight: 500; }
.fact span { color: #c7d0bf; font-size: 14px; }
.story-bottomline { color: #c7d0bf; }
.progress { width: 160px; height: 2px; background: #ffffff2a; }
.progress span { display: block; width: 0; height: 100%; background: var(--gold); }
.story.is-animated { height: 280svh; }
.is-animated .stage { position: sticky; top: var(--header-height); height: calc(100svh - var(--header-height)); min-height: 560px; overflow: hidden; }
.is-animated #sequence { display: block; }
.is-animated .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #0b1c1633, #0b1c16b8), linear-gradient(0deg, #0b1c16b0, transparent 25%, transparent 70%, #0b1c1690); pointer-events: none; }
.is-animated .story-topline { position: absolute; top: 0; inset-inline: 0; }
.is-animated .story-bottomline { position: absolute; bottom: 0; inset-inline: 0; }
.is-animated .content-layer { position: absolute; inset: 100px 0 72px; z-index: 2; }
.is-animated .chapter { position: absolute; inset: 0; padding: 30px max(56px, calc((100% - 1280px) / 2)); min-height: 0; }
.is-animated .chapter::before { display: none; }
.is-animated #inside { opacity: 0; visibility: hidden; }
.brand-section { background: #173b2d; padding: 100px 0 40px; }
.brand-shell, .footer-shell { width: var(--page); margin-inline: auto; }
.brand-hero { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 96px; padding-bottom: 72px; }
.brand-copy h2 { max-width: 680px; font-size: clamp(30px, 3.2vw, 44px); font-weight: 500; line-height: 1.65; text-wrap: balance; }
.brand-copy p:not(.brand-kicker) { margin-top: 24px; color: #ccd7c4; line-height: 2; }
.brand-logo-card { display: grid; place-items: center; padding: 40px; aspect-ratio: 1.2; background: var(--cream); border-radius: 4px; }
.brand-logo-card img { width: 100%; height: auto; }
.contact-panel { display: grid; grid-template-columns: .85fr 1.2fr 1fr; gap: 32px; align-items: center; border-block: 1px solid #ffffff26; padding-block: 36px; }
.contact-label { font-size: 14px; color: #b7c6af; margin-bottom: 10px; }
.contact-phone { display: inline-block; direction: ltr; font-size: clamp(22px, 2vw, 28px); color: var(--gold); font-weight: 500; }
.contact-address { display: flex; gap: 12px; font-size: 16px; line-height: 2; }
.contact-address svg { margin-top: 4px; color: var(--gold); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.contact-actions .btn { padding: 10px 14px; font-size: 14px; min-height: 44px; }
.contact-actions .btn-primary { flex-basis: 100%; }
.contact-actions .btn-ghost { flex: 1; border-color: #ffffff30; }
.brand-note { padding-top: 28px; text-align: center; color: #c5d2bf; font-size: 14px; }
.site-footer { background: var(--deep); padding: 64px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr .7fr 1fr 1fr; gap: 44px; }
.footer-mark { width: 48px; height: 48px; margin-bottom: 18px; object-fit: contain; }
.footer-brand h3 { font-size: 24px; font-weight: 500; margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: #adbfaa; line-height: 2; max-width: 310px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 4px; color: var(--gold); }
.footer-col h4 { font-size: 14px; font-weight: 500; color: #f0ead9; margin-bottom: 22px; }
.footer-col ul { padding: 0; margin: 0; list-style: none; }
.footer-col li { margin-bottom: 14px; font-size: 14px; color: #adbfaa; }
.footer-col a { display: inline-block; padding-block: 4px; }
.footer-col [data-phone-display] { direction: ltr; }
.footer-map { overflow: hidden; border-radius: 4px; border: 1px solid var(--line); }
.footer-map iframe { display: block; width: 100%; height: 180px; border: 0; }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 52px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: #a6b49e; font-size: 12px; padding: 24px 0; }
body[data-lang="en"] .hero h1 { font-family: var(--heading-en); line-height: 1.25; font-size: clamp(40px, 4.4vw, 66px); max-width: 650px; }
body[data-lang="en"] .hero h1 em { margin-top: 10px; }
body[data-lang="en"] .header-nav { gap: 20px; }
body[data-lang="en"] .chapter::before { background-image: linear-gradient(90deg, #0b1c16e6, #0b1c1650), url("frames/scene1/0001.webp"); }
body[data-lang="en"] #inside::before { background-image: linear-gradient(90deg, #0b1c16ed, #0b1c1666), url("frames/scene2/0109.webp"); }
body[data-lang="en"] .is-animated .stage::after { background: linear-gradient(90deg, #0b1c16b8, #0b1c1633), linear-gradient(0deg, #0b1c16b0, transparent 25%, transparent 70%, #0b1c1690); }
body[data-lang="en"] .product-info h2, body[data-lang="en"] .brand-copy h2, body[data-lang="en"] .chapter h2 { font-family: var(--heading-en); line-height: 1.25; font-weight: 400; }
@media (max-width: 1180px) {
  :root { --page: calc(100% - 72px); }
  .site-header { padding-inline: 32px; gap: 20px; }
  .header-order { display: none; }
  .product-card { gap: 42px; }
  .brand-hero { gap: 44px; }
  .footer-top { gap: 28px; grid-template-columns: 1.3fr .7fr 1fr; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-map iframe { height: 200px; }
}
@media (max-width: 800px) {
  :root { --page: calc(100% - 40px); }
  html { --header-height: 120px; }
  .site-header { min-height: 120px; padding: 12px 20px 0; gap: 8px 16px; flex-wrap: wrap; }
  .header-brand img { width: 36px; height: 36px; }
  .header-brand strong { font-size: 18px; }
  .header-brand small { font-size: 12px; letter-spacing: .12em; }
  .header-tools { margin-inline-start: auto; }
  .header-nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); padding-block: 4px; }
  .header-nav a { font-size: 14px; min-height: 44px; display: flex; align-items: center; }
  .hero { min-height: 690px; align-items: flex-end; }
  .hero-image { width: 100%; height: 100%; }
  .hero-image img { object-position: center top; }
  .hero::after, body[data-lang="en"] .hero::after { background: linear-gradient(0deg, #0b1c16 0%, #0b1c16e6 35%, #0b1c1666 70%, #0b1c1622 100%); }
  .hero-content { padding-block: 230px 48px; }
  .hero h1 { font-size: clamp(34px, 6.4vw, 48px); line-height: 1.6; }
  .eyebrow { font-size: 14px; margin-bottom: 18px; }
  .tagline { font-size: 16px; margin-top: 18px; max-width: 440px; }
  .hero-actions { gap: 20px; margin-top: 26px; }
  .hero-signature { margin-top: 28px; }
  .hero-caption { top: 24px; bottom: auto; inset-inline-end: 20px; }
  .provenance-strip { padding: 18px 12px; }
  .provenance-strip span { font-size: 12px; padding-inline: 14px; }
  .product-scene { padding: 64px 0; }
  .product-card { grid-template-columns: 1fr; gap: 32px; }
  .product-visual { grid-row: 1; aspect-ratio: 1.4; max-width: 520px; width: 100%; margin-inline: auto; border-radius: 90px 90px 4px 4px; }
  .product-image { width: 85%; margin-inline: auto; }
  .visual-wordmark { font-size: 64px; inset-block-start: 16px; }
  .visual-caption { inset-block-end: 16px; font-size: 12px; }
  .product-info h2 { font-size: 32px; }
  .product-description { font-size: 16px; }
  .chapter { padding: 64px 24px; min-height: 540px; }
  .chapter h2 { font-size: 32px; }
  .chapter p:not(.chapter-number) { font-size: 16px; }
  .story-topline, .story-bottomline { gap: 16px; }
  .story-bottomline { font-size: 12px; }
  .progress { max-width: 80px; }
  .brand-section { padding-top: 64px; }
  .brand-hero { grid-template-columns: 1fr; gap: 32px; padding-bottom: 44px; }
  .brand-logo-card { aspect-ratio: 2.8; padding: 28px 50px; }
  .brand-copy h2 { font-size: 32px; }
  .contact-panel { grid-template-columns: 1fr 1fr; gap: 28px; }
  .contact-actions { grid-column: 1 / -1; }
  .contact-actions .btn-primary { flex-basis: auto; flex-grow: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand p { max-width: 480px; }
  body[data-lang="en"] .hero h1 { font-size: clamp(36px, 7vw, 48px); }
  body[data-lang="en"] .header-nav { gap: 8px; }
}
@media (max-width: 390px) {
  .hero h1 { font-size: 32px; }
  .btn { padding-inline: 16px; }
  .hero-actions { gap: 16px; }
  .provenance-strip span { padding-inline: 8px; }
  .chips { gap: 6px; }
  .chip { font-size: 13px; padding-inline: 5px; }
  .contact-panel { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* English typography follows ASTRAL; Persian text keeps Vazirmatn. */
[lang="en"] { font-family: var(--font-en); }
body[data-lang="en"] .hero-signature, body[data-lang="en"] .header-brand strong { font-family: var(--heading-en); }
body[data-lang="en"] .hero-caption .mountain-label { letter-spacing: .14em; }
.bale-icon { display: block; width: 22px; height: 22px; flex: 0 0 22px; fill: currentColor; }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
