/* ═══════════════════════════════════════
   HERWELL FORGE — Global Stylesheet
   Coral · Sage · Charcoal · Cream
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Nunito:wght@300;400;500;600&family=Cormorant+Garamond:ital,wght@0,300;1,300&display=swap');

/* ── TOKENS ── */
:root {
  --coral:        #E8735A;
  --coral-hover:  #D4624A;
  --coral-light:  #F2B5A6;
  --coral-pale:   #FDF0ED;
  --sage:         #7A9E8E;
  --sage-light:   #B8D4CC;
  --sage-pale:    #EBF4F1;
  --charcoal:     #3D4A47;
  --charcoal-mid: #5C6B67;
  --charcoal-soft:#8A9E9A;
  --charcoal-mist:#C2CECC;
  --cream:        #FAF6F1;
  --cream-warm:   #F5EDE4;
  --parchment:    #EDE4D8;
  --white:        #FFFFFF;
  --gold:         #C9956E;
  --gold-light:   #E8C9A8;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Nunito', sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;
  --max-w:        1200px;
  --radius:       20px;
  --shadow:       0 4px 24px rgba(61,74,71,0.08);
  --shadow-lg:    0 12px 48px rgba(61,74,71,0.12);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: color 0.2s; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: var(--font-body); cursor: pointer; }

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--coral-light), var(--coral), var(--sage));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── ANNOUNCEMENT BAR ── */
.announce-bar {
  background: var(--charcoal);
  padding: 9px 24px;
  text-align: center;
  overflow: hidden;
}
.announce-track {
  display: inline-flex;
  gap: 48px;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
}
.announce-item {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.announce-dot {
  width: 4px; height: 4px;
  background: var(--coral);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HEADER ── */
#site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,246,241,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--parchment);
  transition: box-shadow 0.3s;
}
#site-header.scrolled { box-shadow: 0 4px 32px rgba(61,74,71,0.08); }

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 42px; width: auto; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  color: var(--charcoal); letter-spacing: 0.02em;
}
.logo-tagline {
  font-size: 9px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--coral);
}

/* Nav */
.site-nav { display: flex; align-items: center; justify-content: center; gap: 36px; }
.nav-link {
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--charcoal-mid);
  font-weight: 400; position: relative; padding-bottom: 2px;
}
.nav-link::after {
  content: ''; position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--coral);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--charcoal); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--charcoal); }

/* Header right */
.header-right { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.btn-nav-cta {
  background: var(--coral);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 100px;
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 500;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(232,115,90,0.25);
}
.btn-nav-cta:hover { background: var(--coral-hover); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column;
  gap: 5px; padding: 4px; background: none; border: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--charcoal); transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* Mobile nav panel */
#mobile-nav {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 9999;
  flex-direction: column;
  background: linear-gradient(160deg, #FAF6F1 0%, #F5EDE4 40%, #EBF4F1 100%);
}
#mobile-nav.open { display: flex; }
.mobile-nav-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid rgba(232,115,90,0.15);
}
.mobile-nav-brand .logo-name { font-size: 18px; }
.mobile-nav-close {
  background: rgba(232,115,90,0.1);
  border: 1px solid rgba(232,115,90,0.2);
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--coral); font-weight: 300;
  cursor: pointer; transition: all 0.2s;
}
.mobile-nav-links { flex: 1; padding: 8px 0; overflow-y: auto; }
.mobile-nav-link {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid rgba(237,228,216,0.8);
  text-decoration: none;
  opacity: 0; transform: translateX(-24px);
  transition: opacity 0.35s ease, transform 0.35s ease, padding 0.2s;
}
.mobile-nav-link span { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--charcoal); }
.mobile-nav-link em { color: var(--coral); font-size: 13px; font-style: normal; opacity: 0.6; }
.mobile-nav-link:active span { color: var(--coral); }
.mobile-nav-bottom {
  padding: 24px 28px 36px;
  border-top: 1px solid rgba(237,228,216,0.8);
}
.mobile-nav-cta {
  display: block;
  background: linear-gradient(135deg, var(--coral), var(--coral-hover));
  color: white; text-align: center;
  padding: 17px; border-radius: 100px;
  font-size: 12px; letter-spacing: 0.2em;
  text-transform: uppercase; font-weight: 500;
  box-shadow: 0 6px 20px rgba(232,115,90,0.28);
  margin-bottom: 14px;
}
.mobile-nav-tagline {
  text-align: center; font-size: 11px;
  color: var(--charcoal-soft); letter-spacing: 0.1em;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 100px;
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
  transition: all 0.25s; border: none;
  cursor: pointer; font-family: var(--font-body);
}
.btn-primary {
  background: var(--coral); color: white;
  box-shadow: 0 6px 22px rgba(232,115,90,0.28);
}
.btn-primary:hover {
  background: var(--coral-hover); color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232,115,90,0.36);
}
.btn-secondary {
  background: transparent; color: var(--charcoal-mid);
  border: 1.5px solid var(--parchment);
}
.btn-secondary:hover { border-color: var(--coral-light); color: var(--coral); }
.btn-sage {
  background: var(--sage); color: white;
  box-shadow: 0 6px 20px rgba(122,158,142,0.25);
}
.btn-sage:hover { background: var(--sage-hover, #6A8E7E); transform: translateY(-1px); }
.btn-dark {
  background: var(--charcoal); color: white;
  box-shadow: 0 6px 20px rgba(61,74,71,0.2);
}
.btn-dark:hover { background: #2d3a37; transform: translateY(-2px); }

/* ── SECTION UTILITIES ── */
.section-wrap { max-width: var(--max-w); margin: 0 auto; padding: 88px 32px; }
.section-eyebrow {
  font-size: 9px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--coral);
  font-weight: 600; margin-bottom: 12px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--coral); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 500; color: var(--charcoal); line-height: 1.2;
}
.section-title em { font-style: italic; color: var(--coral); font-weight: 400; }
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px; flex-wrap: wrap; gap: 16px;
}
.see-all {
  font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--charcoal-soft);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.see-all::after { content: '→'; transition: transform 0.2s; }
.see-all:hover { color: var(--coral); }
.see-all:hover::after { transform: translateX(4px); }

/* ── ARTICLE CARDS ── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: white;
  border: 1px solid var(--parchment);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.article-thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(145deg, var(--coral-pale), var(--parchment));
  position: relative;
}
.article-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.article-card:hover .article-thumb img { transform: scale(1.06); }
.article-body { padding: 24px 22px 28px; flex: 1; display: flex; flex-direction: column; }
.article-cat {
  font-size: 9px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--coral);
  font-weight: 600; margin-bottom: 10px;
}
.article-title {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  color: var(--charcoal); line-height: 1.35;
  margin-bottom: 10px; flex: 1;
  transition: color 0.2s;
}
.article-card:hover .article-title { color: var(--coral); }
.article-excerpt {
  font-size: 13.5px; color: var(--charcoal-soft);
  line-height: 1.75; margin-bottom: 18px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.article-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 16px; border-top: 1px solid var(--parchment);
}
.article-date { font-size: 11px; color: var(--charcoal-mist); }
.article-read {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--coral);
  font-weight: 500; transition: gap 0.2s;
  display: flex; align-items: center; gap: 5px;
}
.article-card:hover .article-read { gap: 9px; }

/* ── NEWSLETTER ── */
.newsletter-section {
  background: white;
  border-top: 1px solid var(--parchment);
  border-bottom: 1px solid var(--parchment);
}
.newsletter-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 80px 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
.newsletter-eyebrow {
  font-size: 9px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--sage);
  font-weight: 600; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.newsletter-eyebrow::before { content: ''; width: 20px; height: 1.5px; background: var(--sage); }
.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 500; color: var(--charcoal); line-height: 1.2; margin-bottom: 14px;
}
.newsletter-title em { font-style: italic; color: var(--sage); }
.newsletter-desc { font-size: 15px; color: var(--charcoal-mid); line-height: 1.85; }
.newsletter-perks { list-style: none; margin-bottom: 28px; display: flex; flex-direction: column; gap: 10px; }
.newsletter-perk {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--charcoal-mid);
}
.perk-icon {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sage-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--sage); font-size: 10px; flex-shrink: 0; margin-top: 2px;
}
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-input {
  flex: 1; min-width: 200px;
  background: var(--cream);
  border: 1.5px solid var(--parchment);
  color: var(--charcoal); padding: 14px 20px;
  border-radius: 100px; font-family: var(--font-body);
  font-size: 14px; font-weight: 300; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.newsletter-input::placeholder { color: var(--charcoal-mist); }
.newsletter-input:focus {
  border-color: var(--sage-light);
  box-shadow: 0 0 0 3px rgba(122,158,142,0.1);
}
.newsletter-note { font-size: 11px; color: var(--charcoal-mist); margin-top: 10px; }

/* ── EDITORIAL QUOTE ── */
.editorial-section {
  background: linear-gradient(135deg, var(--coral-pale) 0%, var(--sage-pale) 100%);
  padding: 88px 32px; text-align: center; position: relative; overflow: hidden;
}
.editorial-inner { max-width: 680px; margin: 0 auto; position: relative; z-index: 1; }
.editorial-ornament {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-bottom: 36px;
}
.editorial-ornament::before, .editorial-ornament::after {
  content: ''; width: 48px; height: 1px; background: var(--coral-light);
}
.editorial-ornament span { color: var(--coral); font-size: 12px; }
.editorial-quote {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.5vw, 36px);
  font-style: italic; font-weight: 400;
  color: var(--charcoal); line-height: 1.5; margin-bottom: 20px;
}
.editorial-source {
  font-size: 10px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--charcoal-soft);
}

/* ── PILLARS ── */
.pillars-section {
  background: var(--charcoal);
  padding: 88px 32px; position: relative; overflow: hidden;
}
.pillars-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,115,90,0.07), transparent 70%);
  top: -200px; right: -100px; pointer-events: none;
}
.pillars-inner { max-width: var(--max-w); margin: 0 auto; position: relative; z-index: 1; }
.pillars-header { text-align: center; margin-bottom: 56px; }
.pillars-eyebrow {
  font-size: 9px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--coral-light);
  margin-bottom: 14px; font-weight: 500;
}
.pillars-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500; color: white; line-height: 1.2;
}
.pillars-title em { font-style: italic; color: var(--coral-light); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.pillar-card:hover {
  background: rgba(232,115,90,0.1);
  border-color: rgba(232,115,90,0.25);
  transform: translateY(-4px);
}
.pillar-emoji { font-size: 30px; margin-bottom: 14px; display: block; }
.pillar-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 500;
  color: white; margin-bottom: 8px;
}
.pillar-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; }

/* ── FOOTER ── */
.site-footer { background: var(--charcoal); position: relative; overflow: hidden; }
.site-footer::before {
  content: ''; position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(circle, rgba(232,115,90,0.06), transparent 70%);
  top: -100px; right: -100px; pointer-events: none;
}
.footer-top {
  max-width: var(--max-w); margin: 0 auto;
  padding: 72px 32px 56px;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; position: relative; z-index: 1;
}
.footer-logo-wrap { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-img { height: 36px; width: auto; filter: brightness(2); }
.footer-logo-name {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 600; color: white; letter-spacing: 0.02em;
}
.footer-desc { font-size: 13.5px; color: rgba(255,255,255,0.38); line-height: 1.8; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.45);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 7px 16px;
  border-radius: 100px; transition: all 0.2s;
}
.footer-social:hover { background: var(--coral); border-color: var(--coral); color: white; }
.footer-col-title {
  font-size: 9px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--coral-light);
  font-weight: 600; margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 22px 32px; max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
  position: relative; z-index: 1;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
.footer-legal { font-size: 11px; color: rgba(255,255,255,0.18); max-width: 480px; text-align: right; line-height: 1.6; }

/* ── CATEGORY RIBBON ── */
.category-ribbon {
  background: white;
  border-top: 1px solid var(--parchment);
  border-bottom: 1px solid var(--parchment);
  padding: 16px 0;
}
.category-track {
  display: flex; gap: 10px;
  justify-content: center; flex-wrap: wrap;
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream); border: 1px solid var(--parchment);
  color: var(--charcoal-mid); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 100px; font-weight: 400;
  transition: all 0.25s;
}
.cat-pill:hover {
  background: var(--coral-pale); border-color: var(--coral-light);
  color: var(--coral); transform: translateY(-1px);
}
.cat-dot { width: 5px; height: 5px; border-radius: 50%; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ── PULL QUOTE ── */
.pull-quote {
  border-left: 2.5px solid var(--coral-light);
  padding: 16px 0 16px 28px; margin: 44px 0;
}
.pull-quote p {
  font-family: var(--font-accent);
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic; color: var(--charcoal); line-height: 1.5;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-right .btn-nav-cta { display: none; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-eyebrow::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .article-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .section-wrap { padding: 56px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .category-track { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .cat-pill { flex-shrink: 0; }
  .announce-bar { display: none; }
}

/* ── LOGO IMAGE ── */
.logo-img-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img-wrap img {
  height: 44px;
  width: auto;
  display: block;
}
.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.logo-brand-tag {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 400;
}
