:root {
  --mst-accent-orange: #E88A1A;
  --mst-accent-gold: #C9A24B;
  --mst-bg-main: #E8E0D6;
  --mst-bg-alt: #DCCFC1;
  --mst-bg-dark: #3B342F;
  --mst-text-heading: #2E2722;
  --mst-text-body: #51473F;
  --mst-text-muted: #7D7167;
  --mst-card: rgba(255,255,255,.34);
  --mst-border: rgba(46,39,34,.09);
  --mst-shadow: 0 14px 40px rgba(31, 23, 18, .08);
  --mst-radius: 24px;
  --mst-width: min(1380px, calc(100% - 32px));
  --mst-width-narrow: min(860px, calc(100% - 32px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--mst-bg-main), #efe7dd 45%, var(--mst-bg-main));
  color: var(--mst-text-body);
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4,h5,h6 {
  margin: 0 0 .55em;
  color: var(--mst-text-heading);
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.05;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(3rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
p { margin: 0 0 1.1rem; }
.container-fluid { width: var(--mst-width); margin-inline: auto; }
.container, .narrow-content { width: var(--mst-width-narrow); margin-inline: auto; }
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.1)); }
.section--hero { padding-top: clamp(60px, 10vw, 120px); }
.section--dark-accent {
  background: radial-gradient(circle at top, rgba(255,255,255,.03), transparent 30%), var(--mst-bg-dark);
  color: rgba(255,255,255,.88);
}
.section--dark-accent h2,
.section--dark-accent h3 { color: #fff; }
.hero-grid,
.split-grid,
.footer-grid,
.article-layout,
.cta-box {
  display: grid;
  gap: 32px;
}
.hero-grid,
.split-grid { grid-template-columns: 1.1fr .9fr; align-items: center; }
.hero-copy { text-align: center; max-width: 760px; margin: 0 auto; }
.hero-media img,
.media-card img {
  width: 100%;
  border-radius: calc(var(--mst-radius) + 6px);
  box-shadow: var(--mst-shadow);
  object-fit: cover;
}
.hero-media,
.media-card { min-height: 100%; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--mst-text-body); }
.accent-line {
  width: min(420px, 65%);
  height: 6px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, var(--mst-accent-gold) 16%, var(--mst-accent-orange) 58%, rgba(255,255,255,0) 100%);
  transform: scaleY(.95);
}
.accent-line--short { margin-inline: 0; width: 180px; }
.accent-line--center { width: 180px; }
.accent-line--glow {
  box-shadow: 0 0 22px color-mix(in srgb, var(--mst-accent-orange) 45%, transparent);
}
.centered-head { text-align: center; margin-bottom: 32px; }
.button-row, .header-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: center;
}
.button {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: 999px; font-weight: 600;
  transition: .25s ease; border: 1px solid transparent;
}
.button--primary {
  color: #fff;
  background: linear-gradient(90deg, var(--mst-accent-gold), var(--mst-accent-orange));
  box-shadow: 0 10px 24px rgba(232, 138, 26, .22);
}
.button--primary:hover { transform: translateY(-1px); filter: saturate(1.04); }
.button--secondary {
  background: rgba(255,255,255,.36); border-color: var(--mst-border); color: var(--mst-text-heading);
}
.button--secondary:hover { background: rgba(255,255,255,.6); }
.text-link {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--mst-text-heading);
}
.text-link::after { content: '→'; color: var(--mst-accent-orange); }
.info-card,
.content-card,
.post-card,
.entry-card,
.widget,
.cta-box,
.placeholder-card {
  background: var(--mst-card);
  backdrop-filter: blur(8px);
  border: 1px solid var(--mst-border);
  border-radius: var(--mst-radius);
  box-shadow: var(--mst-shadow);
}
.info-card,
.content-card,
.entry-card,
.widget,
.post-card__body,
.placeholder-card { padding: 28px; }
.content-card--dark,
.placeholder-card--dark {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
}
.content-card--dark p { color: rgba(255,255,255,.72); }
.card-grid { display: grid; gap: 24px; }
.card-grid--three { grid-template-columns: repeat(3, 1fr); }
.card-grid--posts { grid-template-columns: repeat(3, 1fr); }
.post-card { overflow: hidden; }
.post-card__thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-meta {
  font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mst-text-muted); margin-bottom: 12px;
}
.cta-box {
  grid-template-columns: 1fr auto;
  padding: 34px;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.34), rgba(255,255,255,.16));
}
.site-header {
  position: sticky; top: 0; z-index: 99;
  backdrop-filter: blur(10px);
  background: rgba(232,224,214,.72);
  border-bottom: 1px solid transparent;
  transition: .25s ease;
}
.site-header.is-scrolled {
  background: rgba(232,224,214,.88);
  border-color: var(--mst-border);
}
.site-header__inner {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; min-height: 82px;
}
.custom-logo { max-height: 88px; width: auto; }
.primary-nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.primary-nav ul,
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
.primary-nav a { font-weight: 500; }
.site-title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--mst-text-heading); }
.site-tagline { margin: 0; color: var(--mst-text-muted); }
.menu-toggle {
  display: none; margin-left: auto; width: 50px; height: 50px; border: 1px solid var(--mst-border); border-radius: 50%;
  background: rgba(255,255,255,.35); padding: 0; cursor: pointer;
}
.menu-toggle span {
  display: block; width: 20px; height: 2px; margin: 4px auto; background: var(--mst-text-heading); border-radius: 2px;
}
.search-form { display: flex; gap: 8px; }
.search-field {
  width: 180px; max-width: 100%; padding: 12px 14px; border-radius: 999px; border: 1px solid var(--mst-border); background: rgba(255,255,255,.4);
}
.search-submit {
  padding: 12px 16px; border-radius: 999px; border: 0; background: var(--mst-bg-dark); color: #fff;
}
.footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
.site-footer {
  padding: 48px 0 18px; background: linear-gradient(180deg, rgba(59,52,47,.06), rgba(59,52,47,.12)); border-top: 1px solid var(--mst-border);
}
.footer-title { font-size: 1.35rem; }
.site-info { padding-top: 12px; color: var(--mst-text-muted); font-size: .92rem; }
.article-layout { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
.entry-single, .entry-card { padding: 34px; background: rgba(255,255,255,.34); border-radius: var(--mst-radius); border: 1px solid var(--mst-border); }
.entry-content > * { max-width: 100%; }
.featured-image { margin: 18px 0 26px; }
.placeholder-card {
  min-height: 280px; display: grid; place-items: center; text-align: center; color: var(--mst-text-muted);
}
.placeholder-card--wide { min-height: 220px; grid-column: 1 / -1; }
.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: 1080px) {
  .hero-grid,
  .split-grid,
  .footer-grid,
  .article-layout,
  .card-grid--three,
  .card-grid--posts,
  .cta-box { grid-template-columns: 1fr; }
  .site-header__inner { grid-template-columns: auto auto; }
  .menu-toggle { display: inline-block; }
  .primary-nav {
    position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    display: none; flex-direction: column; align-items: stretch;
    padding: 18px; background: rgba(239,231,221,.96); border: 1px solid var(--mst-border);
    border-radius: 22px; box-shadow: var(--mst-shadow);
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { flex-direction: column; }
  .header-actions { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .section { padding: 56px 0; }
  .site-header__inner { min-height: 74px; }
  .custom-logo { max-height: 62px; }
  .button-row { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .search-form { width: 100%; }
  .search-field { width: 100%; }
  h1 { font-size: clamp(2.4rem, 10vw, 3.9rem); }
}
