/* ============================================================
   Vemian Host — Shared Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Montserrat:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,300,0,0&display=swap');

:root {
  --deep-green: #163a2e;
  --charcoal: #1f1f1f;
  --warm-ivory: #f7f4ee;
  --stone-beige: #d8ccbc;
  --muted-gold: #b08d57;
  --white: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: var(--warm-ivory);
  color: var(--charcoal);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

h1 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-weight: 500;
}

h3 {
  font-weight: 500;
}

/* ===== Material Symbols ===== */

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

.service-card .material-symbols-outlined,
.service-block .material-symbols-outlined {
  font-size: 36px;
  color: var(--muted-gold);
  display: block;
  margin-bottom: 16px;
}

/* ===== Layout ===== */

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== Header ===== */

header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247, 244, 238, 0.96);
  border-bottom: 1px solid rgba(176, 141, 87, 0.28);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

/* ── Header: isotype icon ─────────────────────────────── */
.brand-isotype-header {
  height: 36px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* ── Header: wordmark text beside the isotype ─────────── */
.brand-wordmark {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--deep-green);
  letter-spacing: -0.015em;
  line-height: 1;
  display: block;
  transition: color 0.2s;
}

.brand-link:hover .brand-wordmark {
  color: var(--muted-gold);
}

.brand-name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1.2;
}

.brand-sub {
  display: block;
  color: rgba(31, 31, 31, 0.62);
  font-size: 13px;
  margin-top: 3px;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

/* ── Footer: logotype (full logo with text) ───────────── */
.footer-logo {
  width: 220px;
  height: auto;
  display: block;
  margin-bottom: 14px;
  opacity: 0.92;
}

.footer-isotype {
  height: 28px;
  width: auto;
  display: block;
  margin-bottom: 14px;
  opacity: 0.85;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
}

.nav-links li a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 15px;
  padding: 8px 13px;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  display: block;
}

.nav-links li a:hover {
  background: rgba(22, 58, 46, 0.07);
  color: var(--deep-green);
}

.nav-links li a[aria-current="page"] {
  color: var(--deep-green);
  font-weight: 600;
}

/* Nav Contact button — always readable */
.nav-links li a.btn-primary {
  color: var(--warm-ivory);
}

.nav-links li a.btn-primary:hover {
  color: var(--warm-ivory);
  background: var(--deep-green);
  opacity: 0.88;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: opacity 0.2s, background 0.2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
  line-height: 1.4;
}

.btn-primary {
  background: var(--deep-green);
  color: var(--warm-ivory);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-secondary {
  border: 1.5px solid var(--muted-gold);
  color: var(--deep-green);
  background: transparent;
}

.btn-secondary:hover {
  background: #efe6d8;
}

.btn-gold {
  background: var(--muted-gold);
  color: var(--deep-green);
}

.btn-gold:hover {
  opacity: 0.88;
}

/* ===== Eyebrow & Accents ===== */

.eyebrow {
  display: block;
  color: var(--muted-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.gold-line {
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: var(--muted-gold);
  margin-bottom: 18px;
}

/* ===== Sections ===== */

section {
  padding: 80px 0;
}

.section-white {
  background: var(--white);
  border-top: 1px solid var(--stone-beige);
  border-bottom: 1px solid var(--stone-beige);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2 {
  margin: 8px 0 0;
  font-size: 36px;
  line-height: 1.2;
  color: var(--deep-green);
}

.section-heading p {
  margin: 14px 0 0;
  color: rgba(31, 31, 31, 0.74);
  font-size: 16px;
}

/* ===== Card ===== */

.card {
  background: var(--white);
  border: 1px solid var(--stone-beige);
  border-radius: 10px;
  padding: 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(22, 58, 46, 0.08);
}

.card h3 {
  margin: 0 0 10px;
  color: var(--deep-green);
  font-size: 19px;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: rgba(31, 31, 31, 0.72);
  font-size: 15px;
}

/* ===== Page Hero (inner pages) ===== */

.page-hero {
  padding: 80px 0 44px;
}

.page-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  color: var(--deep-green);
  max-width: 820px;
}

.page-hero .lead {
  font-size: 18px;
  color: rgba(31, 31, 31, 0.76);
  max-width: 720px;
  margin: 20px 0 0;
}

/* ===== Contact CTA band ===== */

.contact-cta {
  background: var(--deep-green);
  color: var(--warm-ivory);
  text-align: center;
  padding: 88px 0;
}

.contact-cta .eyebrow {
  color: var(--muted-gold);
}

.contact-cta h2 {
  margin: 8px 0 0;
  font-size: 38px;
  line-height: 1.2;
  color: var(--warm-ivory);
}

.contact-cta p {
  max-width: 620px;
  margin: 18px auto 0;
  color: rgba(247, 244, 238, 0.82);
  font-size: 17px;
}

.cta-actions {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-light {
  border: 1.5px solid rgba(247, 244, 238, 0.4);
  color: var(--warm-ivory);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(247, 244, 238, 0.1);
}

/* ===== Disclaimer block ===== */

.disclaimer {
  background: var(--white);
  border: 1px solid var(--stone-beige);
  border-left: 4px solid var(--muted-gold);
  border-radius: 6px;
  padding: 18px 22px;
  font-size: 14px;
  color: rgba(31, 31, 31, 0.65);
  max-width: 820px;
}

/* ===== Article Layout (blog posts) ===== */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 52px;
  align-items: start;
  padding: 0 0 80px;
}

.article-body h2 { margin: 40px 0 14px; font-size: 24px; color: var(--deep-green); }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 16px; color: rgba(31,31,31,0.78); font-size: 16px; line-height: 1.75; }
.article-body ul { margin: 0 0 16px; padding-left: 20px; color: rgba(31,31,31,0.78); font-size: 16px; line-height: 1.85; }
.article-body a { color: var(--deep-green); text-decoration-color: var(--muted-gold); text-underline-offset: 3px; }

.back-link {
  display: inline-block; color: var(--deep-green); text-decoration: none;
  font-size: 14px; font-weight: 600; margin-bottom: 36px;
  border-bottom: 1.5px solid var(--muted-gold); padding-bottom: 1px;
}
.back-link:hover { color: var(--muted-gold); }

.article-sidebar { position: sticky; top: 90px; }
.sidebar-card { background: var(--white); border: 1px solid var(--stone-beige); border-radius: 10px; padding: 22px; margin-bottom: 16px; }
.sidebar-card h3 { margin: 0 0 14px; color: var(--deep-green); font-size: 15px; }
.sidebar-card ul { list-style: none; margin: 0; padding: 0; }
.sidebar-card ul li { border-bottom: 1px solid var(--stone-beige); }
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul a { display: block; padding: 9px 0; color: var(--charcoal); text-decoration: none; font-size: 14px; transition: color 0.15s; }
.sidebar-card ul a:hover { color: var(--deep-green); }
.sidebar-card p { font-size: 14px; color: rgba(31,31,31,0.68); margin: 0 0 16px; }

/* ===== Sources Box ===== */

.sources-box {
  background: rgba(22, 58, 46, 0.04);
  border: 1px solid var(--stone-beige);
  border-left: 4px solid var(--deep-green);
  border-radius: 6px;
  padding: 20px 24px;
  margin: 40px 0 24px;
}

.sources-box h3 {
  margin: 0 0 12px;
  color: var(--deep-green);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sources-box ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}

.sources-box ul li {
  margin-bottom: 6px;
  font-size: 14px;
  color: rgba(31,31,31,0.72);
}

.sources-box ul li a {
  color: var(--deep-green);
  text-decoration-color: var(--muted-gold);
  word-break: break-word;
}

.sources-box .last-verified {
  margin: 12px 0 0;
  font-size: 13px;
  color: rgba(31,31,31,0.5);
  font-style: italic;
}

/* ===== Checklist Box ===== */

.checklist-box {
  background: var(--white);
  border: 1px solid var(--stone-beige);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
}

.checklist-box h3 {
  margin: 0 0 16px;
  color: var(--deep-green);
  font-size: 18px;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li {
  padding: 9px 0 9px 32px;
  position: relative;
  font-size: 15px;
  color: rgba(31,31,31,0.8);
  border-bottom: 1px solid var(--stone-beige);
  line-height: 1.6;
}

.checklist li:last-child {
  border-bottom: none;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--muted-gold);
  font-weight: 700;
  font-size: 15px;
}

/* ===== Caution Box ===== */

.caution-box {
  background: #fffbf4;
  border: 1px solid var(--stone-beige);
  border-left: 4px solid var(--muted-gold);
  border-radius: 6px;
  padding: 18px 22px;
  margin: 32px 0;
  font-size: 15px;
  color: rgba(31,31,31,0.78);
}

.caution-box strong {
  color: var(--charcoal);
}

/* ===== Blog Cluster Sections ===== */

.cluster-section {
  margin-bottom: 60px;
}

.cluster-label {
  display: inline-block;
  background: var(--deep-green);
  color: var(--warm-ivory);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* ===== Footer ===== */

footer {
  background: var(--charcoal);
  color: rgba(247, 244, 238, 0.68);
  padding: 52px 0 32px;
  font-size: 14px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px 56px;
  align-items: start;
}

.footer-brand .brand-name {
  color: var(--warm-ivory);
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 4px;
}

.footer-brand p {
  margin: 6px 0 0;
  color: rgba(247, 244, 238, 0.56);
}

.footer-brand a {
  color: var(--muted-gold);
  text-decoration: none;
}

.footer-brand a:hover {
  text-decoration: underline;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  color: rgba(247, 244, 238, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--warm-ivory);
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 28px;
  margin-top: 4px;
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  color: rgba(247, 244, 238, 0.36);
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .page-hero h1 {
    font-size: 38px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .contact-cta h2 {
    font-size: 32px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-nav ul {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1120px, calc(100% - 32px));
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .brand-logo {
    height: 28px;
  }

  .brand-isotype-header {
    height: 28px;
  }

  .brand-wordmark {
    font-size: 18px;
  }

  .footer-logo {
    width: 180px;
  }

  .nav-links li a {
    padding: 7px 10px;
    font-size: 14px;
  }

  .page-hero {
    padding: 56px 0 32px;
  }

  .page-hero h1 {
    font-size: 30px;
  }

  .contact-cta {
    padding: 64px 0;
  }

  .contact-cta h2 {
    font-size: 26px;
  }

  section {
    padding: 60px 0;
  }
}
