/* forged.ie — Irish stout review & comparison guide
   Palette: stout-dark + Irish copper + head-cream
*/

:root {
  --stout: #1a1410;          /* burnt malt black */
  --stout-soft: #2a2018;     /* lighter background */
  --copper: #b87333;         /* Irish copper accent */
  --copper-deep: #8e591e;
  --cream: #f3ead8;          /* stout head */
  --cream-soft: #fbf6e9;
  --ink: #221a14;            /* dark text */
  --ink-soft: #4a3f33;       /* secondary text */
  --rule: #d8cdb4;           /* subtle dividers */
  --rule-dark: #3a2f24;
  --maxw: 1080px;
  --maxw-narrow: 720px;
  --shadow: 0 6px 22px rgba(20, 12, 6, 0.10);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream-soft);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  color: var(--stout);
  line-height: 1.18;
  margin: 0 0 0.6em;
}

h1 { font-size: 2.4rem; letter-spacing: -0.01em; }
h2 { font-size: 1.85rem; margin-top: 1.4em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1.05em; }

a { color: var(--copper-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--stout); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: var(--maxw-narrow); }

.navbar {
  background: var(--stout);
  color: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav-container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
}
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--copper);
  color: var(--stout);
  border-radius: 4px;
  font-weight: 700;
}
.nav-menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active { border-bottom-color: var(--copper); }
.nav-menu a.nav-cta {
  background: var(--copper);
  color: var(--stout);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.nav-menu a.nav-cta:hover { background: var(--cream); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--cream); }

.hero {
  background: linear-gradient(180deg, var(--stout) 0%, var(--stout-soft) 100%);
  color: var(--cream);
  padding: 90px 24px 100px;
  text-align: center;
}
.hero h1 { color: var(--cream); font-size: 3rem; margin: 0 0 0.4em; }
.hero-sub {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 1.5em;
  color: rgba(243, 234, 216, 0.85);
}
.hero-trust {
  font-size: 0.93rem;
  color: rgba(243, 234, 216, 0.65);
  font-style: italic;
  margin-top: 1.2em;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.4em;
}

.page-hero {
  background: var(--stout);
  color: var(--cream);
  padding: 60px 24px 50px;
}
.page-hero h1 { color: var(--cream); margin-bottom: 0.4em; }
.page-hero .page-intro {
  font-size: 1.08rem;
  color: rgba(243, 234, 216, 0.85);
  max-width: 720px;
}
.breadcrumb {
  font-size: 0.9rem;
  color: rgba(243, 234, 216, 0.6);
  margin-bottom: 0.8em;
}
.breadcrumb a { color: rgba(243, 234, 216, 0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper); }

section { padding: 64px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head h2 { margin-top: 0; }
.section-intro { color: var(--ink-soft); font-size: 1.05rem; }

.bg-cream { background: var(--cream); }
.bg-stout { background: var(--stout); color: var(--cream); }
.bg-stout h2, .bg-stout h3 { color: var(--cream); }
.bg-stout a { color: var(--copper); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: all 0.15s;
  cursor: pointer;
}
.btn-primary { background: var(--copper); color: var(--stout); }
.btn-primary:hover { background: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); border-color: var(--cream); }
.btn-ghost:hover { background: var(--cream); color: var(--stout); }
.btn-outline { background: transparent; color: var(--copper-deep); border-color: var(--copper-deep); }
.btn-outline:hover { background: var(--copper-deep); color: var(--cream); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
}
.card h3 { margin-top: 0; margin-bottom: 0.5em; }
.card-meta {
  font-size: 0.92rem;
  color: var(--copper-deep);
  font-weight: 600;
  margin-bottom: 0.6em;
}
.card-region {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--copper-deep);
  background: var(--cream);
  padding: 3px 10px;
  border-radius: 3px;
  margin-bottom: 0.8em;
  font-weight: 600;
}
.link-arrow {
  display: inline-block;
  margin-top: 0.4em;
  color: var(--copper-deep);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow:hover { color: var(--stout); }
.link-arrow::after { content: ' →'; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.pillar-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 28px 24px;
}
.pillar-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--copper);
  color: var(--stout);
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 12px;
}

.article {
  max-width: var(--maxw-narrow);
  margin: 0 auto;
  padding: 56px 24px 64px;
}
.article-meta { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 1.6em; }
.article-content { font-size: 1.06rem; line-height: 1.74; }
.article-content h2 { margin-top: 1.8em; }
.article-content h3 { margin-top: 1.4em; }
.article-content ul, .article-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.article-content li { margin-bottom: 0.5em; }
.article-content table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.96rem; }
.article-content th, .article-content td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); }
.article-content th { background: var(--cream); font-weight: 600; color: var(--stout); }
.article-content blockquote {
  border-left: 4px solid var(--copper);
  margin: 1.4em 0;
  padding: 0.4em 1em;
  color: var(--ink-soft);
  font-style: italic;
  background: var(--cream-soft);
}
.tip-box {
  background: var(--cream);
  border-left: 4px solid var(--copper);
  padding: 16px 18px;
  border-radius: 0 4px 4px 0;
  margin: 1.4em 0;
}
.notice {
  background: #fff;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--copper);
  padding: 14px 18px;
  border-radius: 0 4px 4px 0;
  margin: 1.2em 0;
  font-size: 0.95rem;
}

.verdict {
  background: var(--stout);
  color: var(--cream);
  padding: 30px 30px 28px;
  border-radius: 6px;
  margin: 2em 0;
}
.verdict h3 { color: var(--cream); margin-top: 0; }
.verdict-score {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--copper);
  line-height: 1;
  margin: 0;
}
.verdict-score-label {
  font-size: 0.85rem;
  color: rgba(243,234,216,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  overflow: hidden;
  margin: 1.6em 0;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--rule);
}
.compare-table thead th { background: var(--stout); color: var(--cream); }
.compare-table tbody tr:last-child td { border-bottom: none; }

.form-block {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 6px; color: var(--stout); }
.form-row input, .form-row textarea, .form-row select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font: inherit;
  background: #fff;
}
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--copper); border-color: var(--copper); }
.form-row textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.88rem; color: var(--ink-soft); }
input[name="hp_field"] { display: none !important; }

.footer {
  background: var(--stout);
  color: rgba(243,234,216,0.78);
  padding: 56px 24px 30px;
}
.footer-grid {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-brand h4, .footer-col h5 { color: var(--cream); margin: 0 0 0.7em; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { color: rgba(243,234,216,0.78); text-decoration: none; }
.footer-col a:hover { color: var(--copper); }
.footer-copy {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  border-top: 1px solid rgba(243,234,216,0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.86rem;
  color: rgba(243,234,216,0.55);
}
.responsibility { font-style: italic; font-size: 0.82rem; display: block; margin-top: 6px; }

.page-title { padding: 50px 0 30px; background: var(--cream); }
.page-title .crumbs { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 0.6em; }
.page-title .crumbs a { color: var(--copper-deep); text-decoration: none; }

.tag {
  display: inline-block;
  background: var(--cream);
  color: var(--copper-deep);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 4px;
  letter-spacing: 0.03em;
}

@media (max-width: 720px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.45rem; }
  .hero { padding: 60px 20px 70px; }
  .hero h1 { font-size: 2.1rem; }
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--stout);
    padding: 20px 24px;
    gap: 14px;
  }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  section { padding: 44px 0; }
  .article { padding: 36px 20px 50px; }
}
