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

:root {
  --bg: #f6f1eb;
  --bg-alt: #ebe4db;
  --text: #3b352e;
  --text-light: #6e6459;
  --text-lighter: #9c9184;
  --accent: #7c6650;
  --accent-light: #967b63;
  --border: #d4ccc1;
  --white: #fdfaf6;
  --max-w: 720px;
  --font: 'Georgia', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- HEADER ---- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 20px;
  font-weight: bold;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.site-logo span { color: var(--accent); }

nav { display: flex; align-items: center; gap: 4px; }

nav a {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-light);
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 5px;
  transition: color 0.2s, background 0.2s;
}

nav a:hover, nav a.active {
  color: var(--text);
  background: var(--bg-alt);
}

nav a.nav-blog {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

nav a.nav-blog:hover {
  background: var(--accent-light);
  color: var(--white);
}

nav a.nav-blog.active {
  background: var(--accent);
  color: var(--white);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* ---- PAGE HERO ---- */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 56px 24px 48px;
  text-align: center;
}

.page-hero h1 {
  font-size: 32px;
  font-weight: normal;
  line-height: 1.35;
  max-width: var(--max-w);
  margin: 0 auto 16px;
  color: var(--text);
  letter-spacing: -0.5px;
}

.page-hero .subtitle {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

.content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.content p { margin-bottom: 20px; }

.content h2 {
  font-size: 23px;
  font-weight: normal;
  margin: 48px 0 18px;
  color: var(--text);
  letter-spacing: -0.3px;
}

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

.content h3 {
  font-size: 19px;
  font-weight: bold;
  margin: 36px 0 12px;
  color: var(--text);
}

.content .aside {
  font-style: italic;
  color: var(--text-light);
  font-size: 15.5px;
  border-left: 3px solid var(--border);
  padding-left: 20px;
  margin: 28px 0;
}

.content .note {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-lighter);
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ---- ABOUT PHOTO ---- */
.about-intro {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.about-photo {
  flex-shrink: 0;
  width: 220px;
  height: 280px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.about-intro-text p:last-child { margin-bottom: 0; }

@media (max-width: 768px) {
  .about-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .about-photo {
    width: 180px;
    height: 230px;
    margin-bottom: 8px;
  }
}

/* ---- HOME ---- */
.home-banner-wrap {
  position: relative;
  border-bottom: 1px solid var(--border);
}

.home-banner {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: brightness(0.45);
}

.home-banner-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
}

.home-banner-text h1 {
  font-size: 40px;
  font-weight: normal;
  line-height: 1.3;
  max-width: 640px;
  margin: 0 auto 12px;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.home-banner-text .tagline {
  font-family: var(--font-sans);
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.home-banner-text .author-line {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 16px;
}

/* ---- BLOG LIST ---- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}

.blog-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.blog-card:hover {
  border-color: #ccc;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.blog-card .card-cat {
  font-family: var(--font-sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent);
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 18px;
  font-weight: normal;
  line-height: 1.35;
  margin: 0 0 12px;
  color: var(--text);
}

.blog-card .excerpt {
  font-size: 14.5px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
}

.blog-card .card-meta {
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--text-lighter);
}

/* ---- BACK LINK ---- */
.back-link {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 24px;
}

.back-link:hover { text-decoration: underline; }

/* ---- ARTICLE PHOTO ---- */
.article-photo {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin: 32px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.photo-caption {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-lighter);
  text-align: center;
  margin-top: -24px;
  margin-bottom: 32px;
}

/* ---- PROS/CONS ---- */
.split-section {
  margin: 36px 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.split-section.good { border-left: 4px solid #7a9a7a; }
.split-section.bad { border-left: 4px solid #b07e66; }

.split-section h3 { margin: 20px 0 8px; font-size: 17px; }
.split-section h3:first-child { margin-top: 0; }
.split-section p { font-size: 15.5px; color: var(--text-light); margin-bottom: 8px; }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
}

.contact-box h3 { font-size: 17px; margin: 0 0 14px; font-weight: bold; }
.contact-box p { font-size: 15px; line-height: 1.6; color: var(--text-light); margin-bottom: 8px; }
.contact-box p:last-child { margin-bottom: 0; }

.contact-form { margin-top: 40px; }

.contact-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 6px;
  margin-top: 20px;
}

.contact-form label:first-child { margin-top: 0; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 16px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form button {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 10px 28px;
  background: var(--text);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover { background: #444; }

/* ---- SOCIAL LINKS ---- */
.social-links {
  display: flex;
  gap: 16px;
  margin: 28px 0 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.social-link:hover {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.social-link svg { flex-shrink: 0; }

.footer-social {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-social a {
  color: var(--text-lighter);
  transition: color 0.2s;
}

.footer-social a:hover { color: var(--text); }

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 36px 24px;
  text-align: center;
}

footer p {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: var(--text-lighter);
  max-width: 600px;
  margin: 0 auto 8px;
  line-height: 1.6;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .menu-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 0;
  }

  nav.open { display: flex; }

  nav a {
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 0;
    width: 100%;
  }

  nav a.nav-blog { border-radius: 0; }

  .home-banner { height: 360px; }
  .home-banner-text h1 { font-size: 28px; }
  .page-hero h1 { font-size: 26px; }
  .content h2 { font-size: 21px; }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

/* ---- COOKIE BANNER ---- */
.cookie-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.4);
  animation: cookieFade 0.3s ease;
}

.cookie-overlay.cookie-hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cookie-banner {
  background: var(--white);
  border-top: 1px solid var(--border);
  max-width: 720px;
  margin: 0 auto;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.cookie-text strong {
  font-family: var(--font-sans);
  font-size: 15px;
  display: block;
  margin-bottom: 6px;
  color: var(--text);
}

.cookie-text p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-light);
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.cookie-accept {
  background: var(--text);
  color: var(--white);
}

.cookie-accept:hover {
  background: #444;
}

.cookie-decline {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border);
}

.cookie-decline:hover {
  background: var(--bg-alt);
}

@keyframes cookieFade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    padding: 24px 20px;
    gap: 18px;
    text-align: center;
  }
  .cookie-buttons { width: 100%; justify-content: center; }
}
