:root {
  --bg: #f5f1e8;
  --bg-deep: #ebe4d9;
  --panel: #fffaf4;
  --panel-2: #f3ede4;
  --surface: rgba(50, 47, 47, 0.04);
  --text: #322f2f;
  --muted: #6e6e6e;
  --line: rgba(50, 47, 47, 0.12);
  --accent: #c97b63;
  --accent-2: #de9b86;
  --accent-soft: #efd7cb;
  --shadow: 0 18px 42px rgba(50, 47, 47, 0.10);
  --radius: 22px;
  --shell: min(1180px, calc(100vw - 2rem));
  --shell-narrow: min(840px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(201,123,99,.10), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

 a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
.shell { width: var(--shell); margin: 0 auto; }
.narrow-shell { width: var(--shell-narrow); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: .95rem 0;
  background: rgba(245,241,232,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(50,47,47,.06);
  transition: background .2s ease, box-shadow .2s ease, padding .2s ease;
}
.site-header.is-alt { background: rgba(245,241,232,.30); position: fixed; left: 0; right: 0; }
.site-header.is-scrolled { background: rgba(245,241,232,.95); box-shadow: 0 8px 28px rgba(50,47,47,.08); }
.header-shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-link { display: inline-flex; align-items: center; gap: .8rem; color: var(--accent); }
.brand-link:hover { color: var(--accent); }
.brand-text {
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: .01em;
}
.site-logo img, .site-logo .custom-logo {
  max-height: 42px;
  width: auto;
}
.custom-logo-link { display: inline-flex; }

.menu-toggle, .menu-close, .button {
  appearance: none;
  border: 0;
  background: none;
  color: var(--text);
  cursor: pointer;
}
.menu-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .85rem 1.15rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  background: rgba(255,255,255,.55);
}
.menu-toggle:hover { border-color: rgba(201,123,99,.5); }

.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100vw);
  transform: translateX(100%);
  transition: transform .28s ease;
  z-index: 90;
}
.menu-visible .menu-panel { transform: translateX(0); }
.menu-panel-inner {
  height: 100%;
  background: linear-gradient(180deg, #fffaf4 0%, #f2eae0 100%);
  border-left: 1px solid rgba(50,47,47,.08);
  box-shadow: -30px 0 60px rgba(50,47,47,.18);
  padding: 1.4rem;
}
.menu-panel-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 1rem; margin-bottom: 1rem; }
.menu-panel-header h2 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; }
.menu-close { font-size: 2rem; line-height: 1; }
.menu-list, .footer-menu, .contact-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { border-top: 1px solid rgba(50,47,47,.09); }
.menu-list li:last-child { border-bottom: 1px solid rgba(50,47,47,.09); }
.menu-list a {
  display: block;
  padding: 1rem .1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .82rem;
}
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(50,47,47,.30);
}

.hero-banner, .page-hero {
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-banner {
  min-height: 84vh;
  display: grid;
  align-items: center;
  padding: 8rem 0 4rem;
  background-color: var(--bg);
}
.hero-banner::after, .page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 110px;
  background: linear-gradient(to bottom right, transparent 49%, rgba(255,255,255,.5) 50%, rgba(255,255,255,.5) 100%);
}
.hero-shell, .page-hero .shell { position: relative; z-index: 1; }
.hero-copy {
  max-width: 540px;
  background: rgba(245,241,232,.48);
  backdrop-filter: blur(4px);
  padding: 2rem 2.2rem;
  border-radius: 24px;
}
.eyebrow {
  display: inline-block;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.hero-copy h1, .page-hero h1, .section-heading h1, .section-heading h2 {
  margin: 0 0 1rem;
  line-height: 1.08;
  font-family: Georgia, "Times New Roman", serif;
}
.hero-copy h1 { font-size: clamp(2.8rem, 7vw, 4.8rem); max-width: 10ch; }
.hero-intro, .page-hero p { color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); max-width: 52ch; }
.page-hero, .archive-hero { padding: 8rem 0 4rem; background-image: linear-gradient(135deg, rgba(245,241,232,.95), rgba(235,228,217,.95)); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.4rem;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .92rem;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}
.button:hover { transform: translateY(-2px); }

.section { padding: 5rem 0; position: relative; }
.section-content { background: rgba(255,255,255,.42); }
.entry-content > *:first-child { margin-top: 0; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content p, .entry-summary p { color: var(--muted); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2rem; font-family: Georgia, "Times New Roman", serif; }
.entry-content a:not(.button) { color: var(--accent); }
.entry-content img, .wp-block-image img {
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section-heading { margin-bottom: 2rem; }
.section-heading h2, .section-heading h1 { font-size: clamp(2rem, 4vw, 3rem); font-family: Georgia, "Times New Roman", serif; }
.section-heading p { color: var(--muted); }

.spotlight {
  position: relative;
  padding: 4rem 0;
  background: linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,.2));
  border-top: 1px solid rgba(50,47,47,.05);
}
.spotlight:nth-child(2n) { background: linear-gradient(180deg, rgba(201,123,99,.08), rgba(255,255,255,.18)); }
.spotlight-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem;
  align-items: center;
}
.spotlight-reverse .spotlight-shell { direction: rtl; }
.spotlight-reverse .spotlight-copy, .spotlight-reverse .spotlight-media { direction: ltr; }
.spotlight-media img, .feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.spotlight-media { min-height: 340px; }
.spotlight-copy h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 1rem; font-family: Georgia, "Times New Roman", serif; }
.spotlight-copy p { color: var(--muted); max-width: 50ch; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-top: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--accent);
}
.text-link::after { content: "→"; }

.section-features { background: rgba(255,255,255,.28); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}
.feature-card, .listing-card, .empty-state, .comment-respond, .comment-list > li, .search-form {
  background: linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.5));
  border: 1px solid rgba(50,47,47,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-card { overflow: hidden; }
.feature-media { display: block; aspect-ratio: 16 / 10; background: rgba(255,255,255,.4); }
.feature-copy { padding: 1.4rem; }
.feature-copy h3 { margin: 0 0 .8rem; font-size: 1.35rem; }
.feature-copy p { color: var(--muted); margin: 0; }

.image-placeholder {
  width: 100%;
  min-height: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #f3e1d8 0%, #efe9df 100%);
  color: var(--text);
  text-align: center;
  font-weight: 700;
}

.post-list {
  display: grid;
  gap: 1.4rem;
}
.listing-card { padding: 1.6rem; }
.post-meta, .post-meta-item, .post-meta-sep { color: var(--muted); font-size: .92rem; }

.page-hero .section-heading,
.page-content,
.post-content,
.archive-content,
.search-content,
.comments-area,
.site-footer { color: var(--text); }
.page-content,
.post-content,
.archive-content,
.search-content,
.comments-area {
  padding: 4rem 0;
}

input,
textarea,
select,
.wp-block-search__input,
.search-field {
  width: 100%;
  padding: .9rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(50,47,47,.12);
  background: rgba(255,255,255,.72);
  color: var(--text);
}
input:focus,
textarea:focus,
select:focus,
.wp-block-search__input:focus,
.search-field:focus {
  outline: 2px solid rgba(201,123,99,.22);
  border-color: rgba(201,123,99,.35);
}

.site-footer {
  background: linear-gradient(180deg, #f0e8dc 0%, #e9e0d2 100%);
  border-top: 1px solid rgba(50,47,47,.06);
}
.footer-shell { padding: 4rem 0 3rem; }
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 2rem;
}
.footer-copy h2, .widget-title { font-family: Georgia, "Times New Roman", serif; }
.footer-copy p, .site-info p, .widget p { color: var(--muted); }
.footer-widget {
  background: rgba(255,255,255,.45);
  border: 1px solid rgba(50,47,47,.06);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.footer-nav { margin-top: 2rem; }
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
}
.site-info {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(50,47,47,.08);
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .spotlight-shell,
  .footer-main,
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .hero-banner {
    min-height: 72vh;
    background-position: 68% center;
  }
  .hero-copy {
    max-width: 32rem;
    padding: 1.6rem;
  }
}

@media (max-width: 640px) {
  .site-header { padding: .8rem 0; }
  .brand-text { font-size: 1.25rem; }
  .menu-toggle-label { font-size: .68rem; }
  .hero-banner {
    min-height: 68vh;
    padding-top: 7rem;
    background-position: 74% center;
  }
  .hero-copy {
    padding: 1.2rem 1.2rem 1.3rem;
    background: rgba(245,241,232,.68);
  }
  .hero-copy h1 { font-size: clamp(2.2rem, 11vw, 3.2rem); }
  .button { width: 100%; }
}
