@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Source+Sans+3:wght@300;400;500;600&display=swap');

:root {
  --cream: #f6f3ec;
  --cream-dark: #ebe6da;
  --sage: #5a7d66;
  --sage-light: #7a9e87;
  --sage-dark: #3d5a47;
  --earth: #4a3f35;
  --earth-muted: #7d7268;
  --gold: #b8975a;
  --white: #fffcf7;
  --line: rgba(74, 63, 53, 0.1);
  --radius: 20px;
  --shadow: 0 20px 50px rgba(61, 90, 71, 0.1);
  --serif: 'Libre Baskerville', Georgia, serif;
  --sans: 'Source Sans 3', system-ui, sans-serif;
  --nav-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--earth);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; transition: color 0.25s; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.35rem; }

p { color: var(--earth-muted); margin: 0 0 1.1rem; }

.container {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
}

.tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.btn:hover { transform: translateY(-2px); }

.btn-sage {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(90, 125, 102, 0.25);
}

.btn-sage:hover { background: var(--sage-dark); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--earth);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }

/* ── Header ── */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s;
}

.topbar.solid {
  background: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.topbar-inner {
  width: min(1100px, calc(100% - 36px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.brand em {
  font-style: italic;
  color: var(--sage);
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--earth-muted);
}

.menu a:hover,
.menu a.active { color: var(--sage-dark); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--earth);
  line-height: 1;
}

/* ── Hero ── */
.hero-well {
  min-height: 92vh;
  padding: calc(var(--nav-h) + 50px) 0 70px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-well::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 125, 102, 0.12), transparent 68%);
  top: -80px;
  right: -100px;
}

.hero-well::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--cream));
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 { margin-bottom: 20px; }

.hero-text .intro {
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.daily-tip {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  max-width: 440px;
}

.daily-tip small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.daily-tip p {
  margin: 0;
  font-size: 0.92rem;
  font-style: italic;
  color: var(--earth);
  font-family: var(--serif);
}

.hero-image {
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 252, 247, 0.94);
  backdrop-filter: blur(8px);
  padding: 14px 20px;
  border-radius: 14px;
  font-size: 0.82rem;
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  color: var(--sage-dark);
}

/* ── Pillars ── */
.pillars {
  padding: 90px 0;
}

.pillars-head {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 50px;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(90, 125, 102, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pillar-card h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar-card p {
  font-size: 0.86rem;
  margin: 0 0 16px;
}

.pillar-card a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.pillar-card a:hover { color: var(--sage-dark); }

/* ── Quote band ── */
.quote-band {
  background: var(--sage-dark);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.quote-band blockquote {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  font-style: italic;
  max-width: 720px;
  margin: 0 auto 16px;
  line-height: 1.55;
  border: none;
  padding: 0;
  color: rgba(255, 252, 247, 0.92);
}

.quote-band cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.5);
}

/* ── Articles grid ── */
.articles-section { padding: 90px 0; }

.articles-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.article-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 24px;
  transition: box-shadow 0.3s;
}

.article-card:hover { box-shadow: var(--shadow); }

.article-card:nth-child(even) .article-img { order: 2; }

.article-img img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.article-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-meta {
  font-size: 0.78rem;
  color: var(--sage);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.article-body h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.article-body h3 a:hover { color: var(--sage); }

.article-body p { font-size: 0.92rem; margin-bottom: 16px; }

.read-time {
  font-size: 0.78rem;
  color: var(--earth-muted);
}

/* ── Philosophy section ── */
.philosophy-block {
  padding: 90px 0;
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.philosophy-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.philosophy-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.philosophy-list .num {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--sage-light);
  line-height: 1;
  min-width: 28px;
}

.philosophy-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--earth);
  margin-bottom: 4px;
}

.philosophy-list span {
  font-size: 0.86rem;
  color: var(--earth-muted);
}

/* ── FAQ accordion ── */
.faq-section { padding: 80px 0; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--earth);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--sage);
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after { transform: rotate(45deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a-inner {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--earth-muted);
}

.faq-item.open .faq-a { max-height: 200px; }

/* ── Page header ── */
.page-top {
  padding: calc(var(--nav-h) + 60px) 0 50px;
  background: linear-gradient(180deg, var(--cream-dark), var(--cream));
  text-align: center;
}

.page-top p {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ── Topic page ── */
.topic-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 50px 0 90px;
  align-items: start;
}

.topic-main h2 { margin-top: 36px; }

.topic-main h2:first-child { margin-top: 0; }

.topic-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 20px);
}

.sidebar-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  margin-bottom: 20px;
}

.sidebar-box h4 {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
  font-weight: 600;
}

.sidebar-links { list-style: none; padding: 0; margin: 0; }

.sidebar-links li { margin-bottom: 10px; }

.sidebar-links a {
  font-size: 0.88rem;
  color: var(--earth-muted);
}

.sidebar-links a:hover { color: var(--sage); }

/* ── Article page ── */
.article-header {
  padding: calc(var(--nav-h) + 50px) 0 30px;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.article-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px 0 80px;
}

.article-content p {
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.article-content h2 {
  font-size: 1.5rem;
  margin: 2.2rem 0 0.8rem;
  color: var(--sage-dark);
}

.article-featured-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: var(--shadow);
}

.article-featured-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ── Contact ── */
.contact-wrap {
  padding: 50px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: var(--earth-muted);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 0.92rem;
  background: var(--cream);
}

.form-control:focus {
  outline: none;
  border-color: var(--sage);
}

textarea.form-control { min-height: 130px; resize: vertical; }

.form-msg {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.88rem;
}

.form-msg.ok { display: block; background: #e8f3ea; color: var(--sage-dark); }
.form-msg.err { display: block; background: #fce8e8; color: #8b3a3a; }

/* ── Footer ── */
.site-foot {
  background: var(--earth);
  color: rgba(255, 252, 247, 0.55);
  padding: 60px 0 28px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.foot-grid .brand { color: var(--white); margin-bottom: 12px; display: block; }

.foot-grid p { color: rgba(255, 252, 247, 0.45); font-size: 0.88rem; }

.foot-col h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 252, 247, 0.35);
  margin-bottom: 16px;
  font-weight: 600;
}

.foot-col ul { list-style: none; padding: 0; margin: 0; }

.foot-col li { margin-bottom: 9px; }

.foot-col a {
  font-size: 0.88rem;
  color: rgba(255, 252, 247, 0.65);
}

.foot-col a:hover { color: var(--white); }

.foot-bottom {
  border-top: 1px solid rgba(255, 252, 247, 0.08);
  padding-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ── Cookie ── */
#cookieNotice {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(480px, calc(100% - 32px));
  background: var(--earth);
  color: rgba(255, 252, 247, 0.85);
  padding: 20px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  z-index: 9999;
  display: none;
}

#cookieNotice.show { display: block; animation: fadeUp 0.4s ease; }

#cookieNotice p { color: rgba(255, 252, 247, 0.65); font-size: 0.84rem; margin-bottom: 14px; }

#cookieNotice a { color: var(--gold); text-decoration: underline; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .hero-layout,
  .philosophy-grid,
  .contact-grid,
  .topic-layout { grid-template-columns: 1fr; }

  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .article-card:nth-child(even) .article-img { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .topic-sidebar { position: static; }
}

@media (max-width: 640px) {
  .menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s, opacity 0.35s;
  }

  .menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu-toggle { display: block; }
  .pillar-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-image img { height: 320px; }
}
