/*
Theme Name: Arefnia Hero
Theme URI: https://example.com/
Author: OpenAI
Description: قالب اختصاصی مینیمال و تیره با سکشن اول مطابق تصویر مرجع.
Version: 1.0.0
Text Domain: arefnia-hero
*/
:root {
  --hero-bg: #090909;
  --hero-white: #e8e5e0;
  --hero-gold: #a89568;
}
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; min-height: 100%; overflow-x: hidden; }
body {
  background: var(--hero-bg);
  color: var(--hero-white);
  font-family: "B Nazanin", "BNazanin", "B Nazanin+", serif;
  direction: rtl;
}
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background:
    radial-gradient(ellipse at 68% 46%, rgba(35, 32, 27, .13) 0%, rgba(12, 12, 12, .08) 34%, transparent 65%),
    linear-gradient(110deg, #090909 0%, #0b0b0b 55%, #090909 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.language {
  position: absolute;
  top: 0;
  left: 5.7%;
  right: auto;
  z-index: 2;
  direction: ltr;
  color: rgba(232,229,224,.55);
  font: 10px/1 Arial, sans-serif;
  letter-spacing: 2px;
  white-space: nowrap;
}
.language a { color: inherit; text-decoration: none; transition: color .2s ease; }
.language a:hover { color: var(--hero-white); }
.language .divider { padding: 0 9px; color: rgba(232,229,224,.28); }
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(390px, 30vw);
  margin-right: 9.8%;
  margin-left: auto;
  text-align: right;
  transform: translateY(2px);
}
.hero-name {
  margin: 0;
  color: var(--hero-white);
  font-size: clamp(25px, 2.45vw, 36px);
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
}
.hero-rule {
  width: 92px;
  height: 1px;
  margin: 15px 0 13px auto;
  background: linear-gradient(90deg, rgba(168,149,104,.04), rgba(232,229,224,.48));
}
.hero-line {
  margin: 0;
  font-size: clamp(19px, 1.75vw, 25px);
  font-weight: 400;
  line-height: 2.05;
  color: #d8d4cd;
  white-space: nowrap;
}
.hero-line.gold { color: var(--hero-gold); }
@media (max-width: 700px) {
  .hero { justify-content: center; }
  .hero-copy {
    width: auto;
    max-width: 82%;
    margin: 0 8% 0 0;
    transform: translateY(0);
  }
  .hero-name { font-size: 27px; }
  .hero-line { font-size: 20px; }
  .hero-rule { width: 76px; margin-top: 12px; margin-bottom: 10px; }
  .language { left: 7%; right: auto; }
}
@media (max-width: 380px) {
  .hero-name { font-size: 24px; }
  .hero-line { font-size: 18px; }
}

/* Page scrolling and cinematic timeline section */
body { overflow-x: hidden; overflow-y: auto; }
.site-main { width: 100%; }
.hero { width: 100%; min-height: 100vh; min-height: 100svh; }
.hero-scroll-hint { position:absolute; bottom:28px; left:50%; transform:translateX(-50%); color:rgba(232,229,224,.38); font:11px/1.5 "B Nazanin",serif; letter-spacing:.2px; display:flex; align-items:center; gap:10px; white-space:nowrap; }
.hero-scroll-hint span { display:block; width:1px; height:25px; background:linear-gradient(var(--hero-gold),transparent); }
.journey-section { min-height:100vh; min-height:100svh; position:relative; display:flex; align-items:center; justify-content:center; padding:72px 6vw 48px; background:#090909; overflow:hidden; }
.journey-section::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 72% 42%,rgba(168,149,104,.075),transparent 48%); }
.journey-inner { width:min(1060px,100%); position:relative; z-index:1; }
.journey-heading { text-align:right; margin:0 0 42px auto; width:min(440px,100%); }
.eyebrow { color:var(--hero-gold); font-size:13px; display:inline-flex; align-items:center; gap:10px; }
.eyebrow i { display:inline-block; width:13px; height:1px; background:var(--hero-gold); }
.journey-heading h2 { color:#e8e2d4; font-size:clamp(25px,2.3vw,34px); font-weight:400; margin:13px 0 8px; }
.journey-heading p { color:rgba(232,229,224,.58); font-size:14px; margin:0; line-height:1.9; }
.timeline { position:relative; direction:rtl; padding-top:2px; }
.timeline-rail { position:absolute; top:8px; right:6.5%; left:6.5%; height:1px; background:rgba(168,149,104,.28); }
.timeline-rail::after { content:""; position:absolute; right:0; top:0; height:1px; width:var(--timeline-progress,0%); background:linear-gradient(90deg,rgba(168,149,104,.15),#c7ad76); transition:width .45s ease; }
.timeline-items { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.timeline-item { position:relative; text-align:center; min-width:0; padding-top:0; color:rgba(232,229,224,.28); transition:color .35s ease; }
.timeline-dot { position:relative; z-index:2; display:block; width:10px; height:10px; margin:2px auto 17px; border:1px solid rgba(232,229,224,.35); border-radius:50%; background:#090909; transition:all .35s ease; }
.timeline-index { display:block; color:rgba(232,229,224,.23); font:9px/1.5 Arial,sans-serif; margin-bottom:5px; }
.timeline-item h3 { font-size:clamp(22px,2.1vw,29px); line-height:1.25; margin:0 0 15px; font-weight:400; color:rgba(232,229,224,.25); transition:all .35s ease; }
.timeline-card { min-height:112px; padding:10px 8px 8px; border:1px solid transparent; border-radius:9px; transition:all .35s ease; }
.card-rule { display:block; width:36px; height:1px; margin:0 auto 11px; background:rgba(168,149,104,.25); }
.timeline-card h4 { margin:0 0 7px; font-size:14px; line-height:1.6; font-weight:400; color:rgba(232,229,224,.32); transition:color .35s ease; }
.timeline-card p { margin:0; font-size:12px; line-height:1.9; color:rgba(232,229,224,.24); transition:color .35s ease; }
.timeline-item.is-active { color:#e8e2d4; }
.timeline-item.is-active .timeline-dot { border-color:#d4bb83; background:#d4bb83; box-shadow:0 0 0 4px rgba(212,187,131,.10),0 0 17px rgba(212,187,131,.45); }
.timeline-item.is-active .timeline-index { color:#bca575; }
.timeline-item.is-active h3 { color:#e8d9b5; font-weight:700; transform:translateY(-2px); }
.timeline-item.is-active .timeline-card { border-color:rgba(168,149,104,.12); background:linear-gradient(145deg,rgba(168,149,104,.09),rgba(255,255,255,.012)); box-shadow:0 12px 32px rgba(0,0,0,.18); }
.timeline-item.is-active .card-rule { background:#b99e68; }
.timeline-item.is-active .timeline-card h4 { color:#e8dfcd; }
.timeline-item.is-active .timeline-card p { color:rgba(232,229,224,.72); }
.journey-quote { margin:35px 0 0; padding:17px 0; border-top:1px solid rgba(168,149,104,.22); border-bottom:1px solid rgba(168,149,104,.22); color:#ddd5c6; font-size:17px; line-height:1.9; text-align:right; }
.journey-progress { height:2px; margin:24px auto 0; width:100%; background:rgba(232,229,224,.08); overflow:hidden; }
.journey-progress span { display:block; width:0; height:100%; background:#b99e68; transition:width .4s ease; }
.journey-hint { text-align:center; color:rgba(232,229,224,.28); font-size:11px; margin:12px 0 0; }
@media (max-width:700px) {
 .journey-section { min-height:100vh; padding:66px 6vw 36px; align-items:flex-start; }
 .journey-heading { margin-bottom:32px; }
 .timeline-rail { top:7px; right:4%; left:4%; }
 .timeline-items { gap:3px; }
 .timeline-dot { width:8px; height:8px; margin-bottom:14px; }
 .timeline-index { font-size:8px; }
 .timeline-item h3 { font-size:clamp(16px,4.6vw,22px); margin-bottom:11px; }
 .timeline-card { min-height:135px; padding:8px 3px; }
 .timeline-card h4 { font-size:11px; line-height:1.6; }
 .timeline-card p { font-size:10px; line-height:1.75; }
 .journey-quote { margin-top:24px; font-size:14px; }
}
@media (max-width:420px) {
 .journey-section { padding-left:4vw; padding-right:4vw; }
 .timeline-items { gap:0; }
 .timeline-card { min-height:150px; }
 .timeline-card p { font-size:9px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }

