@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@400;500;600&display=swap");

:root {
  --ink: #2b2620;
  --paper: #fbf7f1;
  --card: #ffffff;
  --muted: #6b6357;
  --hair: rgba(43, 38, 32, 0.1);
  --hair-strong: rgba(43, 38, 32, 0.15);
  --gold: #8a5c14;

  --tag-diet-bg: #e7efe4;
  --tag-diet-text: #41603f;
  --tag-gym-bg: #fbeed6;
  --tag-gym-text: #8a5c14;
  --tag-salon-bg: #f6e2e6;
  --tag-salon-text: #8a3f52;

  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, sans-serif;
  --max-w: 900px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

a:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ===================== NAV ===================== */
.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 40px;
  border-bottom: 1px solid var(--hair);
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.nav-brand {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  margin-right: 10px;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); font-weight: 600; }

.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-about {
  font-size: 0.9rem;
  color: var(--muted);
}

.nav-about:hover { color: var(--ink); }

.nav-connect {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 20px;
}

.nav-connect:hover { opacity: 0.88; }

/* ===================== MAIN WRAP ===================== */
main { max-width: 1200px; margin: 0 auto; padding: 0 40px 90px; }

/* ===================== HERO ===================== */
.hero { max-width: var(--max-w); padding: 44px 0 8px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2.5rem;
  line-height: 1.22;
  margin: 0 0 18px;
  max-width: 20ch;
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 58ch;
  margin: 0;
}

/* ===================== SECTOR SECTIONS (homepage) ===================== */
.sector-section { padding: 34px 0 6px; }

.sector-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.sector-head h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.4rem;
  margin: 0;
}

.view-all {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.view-all:hover { text-decoration: underline; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.article-card {
  background: var(--card);
  border: 1px solid var(--hair-strong);
  border-radius: 16px;
  padding: 20px;
  display: block;
}

.article-card:hover { border-color: rgba(43, 38, 32, 0.28); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.tag.diet { background: var(--tag-diet-bg); color: var(--tag-diet-text); }
.tag.gym { background: var(--tag-gym-bg); color: var(--tag-gym-text); }
.tag.salon { background: var(--tag-salon-bg); color: var(--tag-salon-text); }

.article-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0 0 10px;
}

.article-card .meta {
  font-size: 0.8rem;
  color: #8a8478;
}

/* ===================== SECTOR PAGE ===================== */
.page-head { padding: 44px 0 8px; max-width: var(--max-w); }

.crumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 18px;
  display: block;
}

.crumb:hover { color: var(--ink); }

.page-head h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 12px;
}

.page-head p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 34px;
}

/* ===================== ABOUT PAGE ===================== */
.about-wrap { max-width: 640px; padding: 44px 0 40px; }

.about-wrap h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  margin: 0 0 20px;
}

.about-wrap p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 22px;
}

.about-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold);
  padding: 12px 20px;
  border: 1px solid var(--hair-strong);
  border-radius: 10px;
  margin-top: 6px;
}

.about-link:hover { border-color: var(--gold); }

/* ===================== ARTICLE PAGE ===================== */
.article-wrap { max-width: 720px; padding: 40px 0 0; }

.article-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.article-date {
  font-size: 0.82rem;
  color: #8a8478;
}

.article-wrap h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 2rem;
  line-height: 1.24;
  margin: 0 0 18px;
}

.dek {
  font-size: 1.1rem;
  color: var(--muted);
  margin: 0 0 36px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--hair);
}

.article-body p { margin: 0 0 22px; font-size: 1.02rem; }

.article-body h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-weight: 600;
  font-size: 1.02rem;
  margin: 30px 0 12px;
}

.article-body ul, .article-body ol { margin: 0 0 22px; padding-left: 22px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 600; }

.article-body blockquote {
  margin: 32px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.12rem;
  color: #3a372f;
}

figure { margin: 36px 0; }
figure img { width: 100%; border-radius: 12px; border: 1px solid var(--hair); }

figcaption {
  font-size: 0.82rem;
  color: #8a8478;
  margin-top: 10px;
}

table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 0.95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hair); }
th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #8a8478; font-weight: 600; }

.article-footer {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  font-size: 0.85rem;
  color: #8a8478;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 640px) {
  .site-nav { padding: 14px 20px; }
  main { padding: 0 20px 70px; }
  .hero h1 { font-size: 2rem; }
  .article-wrap h1, .page-head h1, .about-wrap h1 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
