/* ════════════════════════════════════════════════════════════
   AMBER & BARK — ENHANCEMENTS v2
   Hero Cinematic, History Storyline, Grade Banner, Polish
════════════════════════════════════════════════════════════ */

/* ─── HERO ENHANCEMENTS ─── */

/* Ambient particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particle {
  position: absolute;
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  animation: particleDrift 12s ease-in-out infinite;
  user-select: none;
}
.p1 { left: 12%; top: 25%; animation-delay: 0s;    animation-duration: 14s; font-size: 0.8rem; }
.p2 { left: 78%; top: 18%; animation-delay: 2.5s;  animation-duration: 11s; }
.p3 { left: 55%; top: 72%; animation-delay: 5s;    animation-duration: 16s; font-size: 0.7rem; }
.p4 { left: 22%; top: 62%; animation-delay: 1.5s;  animation-duration: 9s;  font-size: 1.6rem; opacity: 0; }
.p5 { left: 88%; top: 55%; animation-delay: 3.5s;  animation-duration: 13s; font-size: 1.3rem; }
.p6 { left: 40%; top: 15%; animation-delay: 7s;    animation-duration: 10s; font-size: 0.65rem; }

@keyframes particleDrift {
  0%   { opacity: 0;    transform: translateY(0) rotate(0deg); }
  20%  { opacity: 0.7; }
  80%  { opacity: 0.45; }
  100% { opacity: 0;    transform: translateY(-55px) rotate(20deg); }
}

/* Corner decorative lines - removed */
.hero-corner,
.hero-vrule,
.hot-dash,
.hero-badge-line,
.hbb-line {
  display: none !important;
}


/* ═══ EDITORIAL HERO LAYOUT ═══
   Split layout: huge title left, tagline+CTA right.
   Nothing is centred. Nothing looks like a template.
══════════════════════════════════ */

/* Override base hero-content centering */
.hero.hero-editorial-wrap,
.hero-content.hero-editorial {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: none;
  padding: 0;
  text-align: left;
  display: flex;
  align-items: stretch;
  height: 100%;
}

/* ── Left column: owns ~65% width ── */
.hero-col-title {
  flex: 0 0 62%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 9vh 6vw;
  position: relative;
}

/* ── Origin tag (replaces old badge) ── */
.hero-origin-tag {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 0.4s;
}
.hero-origin-tag span:not(.hot-dash) {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.75);
}
.hot-dash {
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(201,168,76,0.55);
  flex-shrink: 0;
}

/* ── Main title ── */
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.025em;
  margin-bottom: 0;
}
.hero-word {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: heroWordIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity;
  font-size: clamp(5.5rem, 13vw, 12rem);
}
.hero-w1 {
  color: var(--gold-light);
  animation-delay: 0.65s;
}
.hero-title-row2 {
  display: flex;
  align-items: baseline;
  gap: 0.12em;
  padding-left: 0.5em; /* indent second row for editorial offset */
}
.hero-amp {
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(3.5rem, 8vw, 7rem);
  color: rgba(250,247,242,0.35);
  opacity: 0;
  animation: heroWordIn 0.9s ease forwards 0.88s;
  line-height: 1;
}
.hero-w2 {
  color: var(--cream);
  animation-delay: 1.05s;
}

@keyframes heroWordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Grade stamp (bottom-left under title) ── */
.hero-grade-stamp {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2.2rem;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 1.7s;
}
.hero-grade-stamp span {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
}
.gs-dot {
  color: rgba(201,168,76,0.5) !important;
  letter-spacing: 0 !important;
}

/* ── Vertical gold rule ── */
.hero-vrule {
  flex: 0 0 1px;
  align-self: stretch;
  background: linear-gradient(
    to bottom,
    transparent 8%,
    rgba(201,168,76,0.35) 25%,
    rgba(201,168,76,0.55) 55%,
    rgba(201,168,76,0.3) 78%,
    transparent 95%
  );
  opacity: 0;
  animation: heroFadeUp 1s ease forwards 1.2s;
  margin: 0;
}

/* ── Right column: tagline + minimal CTAs ── */
.hero-col-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 4vw 9vh 4vw;
  opacity: 0;
  animation: heroFadeUp 1s ease forwards 1.35s;
}
.hero-side-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.65);
  margin-bottom: 1.1rem;
}
.hero-side-tagline {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 300;
  color: rgba(250,247,242,0.82);
  line-height: 1.6;
  margin-bottom: 2.8rem;
}

/* ── Editorial actions: text-link style, no boxy buttons ── */
.hero-editorial-actions {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.hero-act-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid rgba(250,247,242,0.35);
  padding-bottom: 0.55rem;
  transition: color 0.3s ease, border-color 0.3s ease, gap 0.3s ease;
  width: fit-content;
}
.hero-act-primary:hover {
  color: var(--gold-light);
  border-bottom-color: var(--gold);
  gap: 1.2rem;
}
.hero-act-arrow {
  transition: transform 0.3s ease;
}
.hero-act-primary:hover .hero-act-arrow {
  transform: translateX(5px);
}
.hero-act-secondary {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.45);
  transition: color 0.3s ease;
  width: fit-content;
}
.hero-act-secondary:hover {
  color: rgba(250,247,242,0.82);
}

/* Keep bottom bar + scroll hint */
.hero-bottom-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.9rem 2rem;
  background: rgba(42,20,6,0.55);
  backdrop-filter: blur(4px);
  z-index: 2;
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards 2.2s;
}
.hbb-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201,168,76,0.35));
}
.hbb-line:last-child {
  background: linear-gradient(to left, transparent, rgba(201,168,76,0.35));
}
.hbb-text {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  white-space: nowrap;
}

/* Hero scroll hint */
.hero-scroll-hint {
  bottom: 4rem;
  opacity: 0;
  animation: heroFadeUp 0.9s ease forwards 2.5s;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* ─── PRODUCTS SUBHEAD ─── */
.products-subhead {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 680px;
  margin: 0 auto 3.5rem;
  font-weight: 300;
  line-height: 1.7;
}

/* ─── PRODUCT TAG BADGE ─── */
.product-card-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--amber);
  color: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 1px;
}

/* ─── GRADES BANNER ─── */
.grades-banner {
  margin-top: 4rem;
  background: var(--cream);
  border: 1px solid rgba(200,112,42,0.15);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.grades-banner-inner {
  padding: 2.2rem 2.5rem;
}
.grades-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.4rem;
  text-align: center;
}
.grades-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1.4rem;
}
.grade-pill {
  padding: 1.4rem 1.5rem;
  border-radius: 2px;
  border: 1px solid;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}
.grade-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.grade-alba {
  background: linear-gradient(135deg, #FFF9F0, #FAF7F2);
  border-color: rgba(201,168,76,0.35);
}
.grade-c4 {
  background: linear-gradient(135deg, #FBF2E8, #FAF7F2);
  border-color: rgba(200,112,42,0.25);
}
.grade-c5 {
  background: linear-gradient(135deg, #FAF0E6, var(--cream));
  border-color: rgba(92,46,14,0.2);
}
.grade-pill-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}
.grade-alba .grade-pill-name { color: var(--gold); }
.grade-c4  .grade-pill-name { color: var(--amber); }
.grade-c5  .grade-pill-name { color: var(--brown); }
.grade-pill-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.65;
}
.grades-note {
  font-size: 0.78rem;
  color: rgba(107,66,38,0.55);
  font-weight: 300;
  text-align: center;
}
.grades-note a {
  color: var(--amber);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}
.grades-note a:hover { border-bottom-color: var(--amber); }

/* ─── HISTORY STORYLINE ─── */
.history {
  background: var(--brown-dark);
  position: relative;
  overflow: hidden;
}
.history::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(201,168,76,0.09) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 70%, rgba(200,112,42,0.08) 0%, transparent 50%);
}
.history .container { position: relative; z-index: 1; }
.history .section-eyebrow { color: var(--gold-light); }
.history .section-heading { color: var(--cream); }

.history-intro {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(250,247,242,0.72);
  max-width: 700px;
  margin: 0 auto 0;
  font-weight: 300;
  line-height: 1.75;
}

.history-timeline {
  max-width: 940px;
  margin: 5rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Central vertical line */
.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.5), rgba(201,168,76,0.1));
  transform: translateX(-50%);
}

.history-era {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 3rem;
  align-items: start;
  margin-bottom: 5rem;
  position: relative;
}

/* Alternate: odd eras left-content right-ornament, even eras flipped */
.history-era:nth-child(even) .era-year    { order: 3; text-align: left; }
.history-era:nth-child(even) .era-content { order: 1; text-align: right; }
.history-era:nth-child(even) .era-ornament{ order: 2; }

.history-era:nth-child(odd) .era-year    { order: 1; text-align: right; }
.history-era:nth-child(odd) .era-content { order: 3; text-align: left; }
.history-era:nth-child(odd) .era-ornament{ order: 2; }

.era-year {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  padding-top: 0.2rem;
  white-space: nowrap;
  align-self: start;
}

.era-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brown-dark);
  border: 1.5px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color var(--transition), background var(--transition-fast);
  box-shadow: 0 0 0 6px var(--brown-dark);
  align-self: start;
}
.era-ornament.era-final {
  background: rgba(200,112,42,0.18);
  border-color: var(--amber);
  font-size: 0.9rem;
}
.history-era:hover .era-ornament {
  background: rgba(201,168,76,0.12);
  border-color: var(--gold);
}

.era-content {
  padding-bottom: 0.5rem;
  padding-top: 0.15rem;
}
.era-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 0.7rem;
  line-height: 1.2;
  transition: color var(--transition-fast);
}
.history-era:hover .era-title { color: var(--gold-light); }
.era-text {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.65);
  font-weight: 300;
  line-height: 1.85;
}

/* ─── RESPONSIVE: History on mobile ─── */
@media (max-width: 768px) {
  .history-timeline::before { left: 24px; }
  .history-era {
    grid-template-columns: auto 1fr;
    gap: 0 1.2rem;
  }
  .history-era:nth-child(odd) .era-year,
  .history-era:nth-child(even) .era-year { order: initial; grid-column: 2; text-align: left; font-size: 0.85rem; }
  .history-era:nth-child(odd) .era-ornament,
  .history-era:nth-child(even) .era-ornament { order: initial; grid-row: 1 / span 2; grid-column: 1; align-self: start; width: 40px; height: 40px; font-size: 1rem; }
  .history-era:nth-child(odd) .era-content,
  .history-era:nth-child(even) .era-content { order: initial; grid-column: 2; text-align: left; }
  .era-year { padding-bottom: 0.2rem; }
  .grades-list { grid-template-columns: 1fr; }
}
