:root {
  --accent: #8b7b67;
  --surface-dark: #1a1a1a;
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --surface-soft: #f2ece3;
  --surface-strong: #e8dfd2;
  --text: #1f1f1d;
  --muted: #666156;
  --border: rgba(31, 31, 29, 0.11);
  --shadow: 0 18px 45px rgba(20, 18, 16, 0.06);
  --radius: 30px;
  --radius-sm: 18px;
  --container: 1180px;
  --transition: 180ms ease;
}

*, *::before, *::after { 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;
  color: var(--text);
  background: linear-gradient(180deg, #fbf8f2 0%, var(--bg) 100%);
  line-height: 1.68;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
p, ul, ol { margin-top: 0; }

h1, h2, h3, h4, h5, h6, .site-title, .eyebrow, .button {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 0.8rem; }
h1 { font-size: clamp(2.6rem, 4vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3vw, 3.3rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); }

.container { width: min(calc(100% - 2rem), var(--container)); margin: 0 auto; }
.section { padding: 5rem 0; }
.section--tight-top { padding-top: 1.5rem; }
.section--alt {
  background: rgba(255,255,255,0.5);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section--narrow .container { width: min(calc(100% - 2rem), 920px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.button-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  box-shadow: 0 10px 24px rgba(139, 123, 103, 0.2);
}
.button:hover { transform: translateY(-1px); color: #fff; }
.button--ghost {
  background: rgba(255,255,255,0.72);
  border-color: var(--border);
  color: var(--text);
  box-shadow: none;
}
.button--ghost:hover { border-color: var(--accent); color: var(--accent); }
.button--small { min-height: 42px; padding: 0.65rem 1rem; font-size: 0.94rem; }
.text-link { display: inline-flex; align-items: center; gap: 0.45rem; color: var(--accent); font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(31,31,29,0.08);
  backdrop-filter: blur(14px);
  background: rgba(251,248,242,0.84);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}
.site-branding { display: flex; flex-direction: column; gap: 0.12rem; }
.site-title { font-size: 1.45rem; font-weight: 700; letter-spacing: 0.03em; }
.site-tagline { margin: 0; color: var(--muted); font-size: 0.92rem; }
.site-logo img { max-height: 52px; width: auto; }
.primary-navigation { display: flex; align-items: center; gap: 1rem; }
.primary-navigation .menu, .site-footer .menu {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.primary-navigation a { font-weight: 600; }
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.hero { padding: 1.4rem 0 0.8rem; }
.hero--banner .container { width: min(calc(100% - 2rem), 1240px); }
.hero-banner {
  position: relative;
  min-height: 480px;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(33,31,28,0.88), rgba(139,123,103,0.4));
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.hero-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,18,17,0.62) 0%, rgba(18,18,17,0.38) 38%, rgba(18,18,17,0.14) 100%);
}
.hero-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
  max-width: 700px;
  padding: clamp(2rem, 4vw, 4rem);
  color: #fff;
}
.hero__lead {
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(255,255,255,0.84);
  margin-bottom: 1.8rem;
}
.hero--banner .button--ghost {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}
.hero--banner .button--ghost:hover {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.section-heading { max-width: 48rem; margin-bottom: 2.25rem; }
.section-heading--centered { margin-inline: auto; text-align: center; }
.section-heading p { color: var(--muted); }

.intro-panel,
.content-card,
.card,
.post-card,
.contact-box,
.value-card,
.private-album-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.9));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-panel--soft { padding: clamp(1.5rem, 3vw, 2.4rem); }
.content-card { padding: clamp(1.5rem, 3vw, 2.4rem); }
.entry-header { margin-bottom: 1.8rem; }
.entry-header--service, .private-album-header { text-align: center; }
.entry-intro {
  max-width: 42rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.06rem;
}
.entry-cover { border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1.6rem; }
.entry-cover img { width: 100%; object-fit: cover; }
.entry-content > * + * { margin-top: 1.25rem; }
.entry-content p, .entry-content li, .entry-content blockquote, .entry-content figcaption { color: #2f2b27; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 0.15em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2rem; }
.entry-content .wp-block-image, .entry-content .wp-block-gallery, .entry-content .gallery { margin: 1.5rem 0; }
.entry-content blockquote {
  margin: 1.75rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.entry-content input,
.entry-content textarea,
.entry-content select,
.entry-content button,
.search-form input,
.search-form button {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  font: inherit;
}
.entry-content button,
.search-form button,
input[type="submit"] {
  width: auto;
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  cursor: pointer;
  border-radius: 999px;
}

.service-stack { display: grid; gap: 1.5rem; }
.service-spotlight {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
  gap: 1.4rem;
  align-items: stretch;
}
.service-spotlight--reverse { grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr); }
.service-spotlight--reverse .service-spotlight__media { order: 2; }
.service-spotlight--reverse .service-spotlight__content { order: 1; }
.service-spotlight__media,
.service-spotlight__content {
  border-radius: var(--radius);
  overflow: hidden;
}
.service-spotlight__media {
  min-height: 360px;
  background: linear-gradient(140deg, rgba(22,23,24,0.94), rgba(139,123,103,0.28));
  box-shadow: var(--shadow);
}
.service-spotlight__image,
.service-spotlight__image--placeholder {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  background: linear-gradient(140deg, rgba(22,23,24,0.94), rgba(139,123,103,0.28));
}
.service-spotlight__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.8rem, 3vw, 3rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.88));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.service-spotlight__content p { color: var(--muted); margin-bottom: 1.2rem; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.value-card { padding: 1.65rem; }
.value-card p { color: var(--muted); }

.card-grid, .post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.card, .post-card { overflow: hidden; }
.card__image, .post-card__image, .card__image--placeholder, .post-card__image--placeholder {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(140deg, rgba(22,23,24,0.9), rgba(139,123,103,0.28));
}
.card__body, .post-card__body { padding: 1.3rem 1.3rem 1.45rem; }
.card__body p, .post-card__body p { color: var(--muted); }
.post-card__meta {
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255,255,255,0.97), rgba(242,236,227,0.92));
  box-shadow: var(--shadow);
}
.cta-panel--large { padding: clamp(1.8rem, 4vw, 3rem); }
.cta-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  margin-top: 2rem;
  background: var(--surface-soft);
  border-radius: var(--radius-sm);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1.25rem;
}
.contact-sidebar { display: grid; gap: 1rem; }
.contact-box { padding: 1.25rem; }

.private-album-shell {
  background: linear-gradient(180deg, rgba(22,23,24,0.04), rgba(22,23,24,0.01));
}
.private-album-wrap { width: min(calc(100% - 2rem), 980px); }
.private-album-card { padding: clamp(1.5rem, 3vw, 2.5rem); }
.private-album-gate {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}
.private-album-cover img { min-height: 340px; object-fit: cover; }
.private-album-content .wp-block-gallery,
.private-album-content .gallery {
  margin-top: 1.8rem;
}

.pagination-wrap { margin-top: 2rem; }
.nav-links { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.site-footer {
  padding: 3rem 0 3.4rem;
  background: var(--surface-dark);
  color: rgba(255,255,255,0.9);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 0.8fr;
  gap: 1.5rem;
}
.site-footer__title, .site-footer__label {
  margin: 0 0 0.8rem;
  font-size: 1.05rem;
  color: #fff;
}
.site-footer__text, .site-footer a, .site-footer li { color: rgba(255,255,255,0.74); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li + li { margin-top: 0.5rem; }

.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;
}
.alignwide { margin-left: auto; margin-right: auto; max-width: 1200px; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }

@media (max-width: 1024px) {
  .contact-layout,
  .site-footer__grid,
  .card-grid,
  .post-grid,
  .values-grid,
  .service-spotlight,
  .service-spotlight--reverse {
    grid-template-columns: 1fr;
  }

  .service-spotlight--reverse .service-spotlight__media,
  .service-spotlight--reverse .service-spotlight__content {
    order: initial;
  }

  .cta-panel,
  .cta-inline { flex-direction: column; align-items: flex-start; }

  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .menu-toggle { display: inline-flex; }
  .primary-navigation {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow);
  }
  .site-header.is-open .primary-navigation { display: flex; }
  .primary-navigation .menu { flex-direction: column; align-items: flex-start; width: 100%; }
  .card-grid,
  .post-grid,
  .contact-layout,
  .site-footer__grid,
  .values-grid { grid-template-columns: 1fr; }
  .hero-banner,
  .hero-banner__content { min-height: 380px; }
  .hero-banner__overlay {
    background: linear-gradient(180deg, rgba(18,18,17,0.55) 0%, rgba(18,18,17,0.38) 100%);
  }
}


.hero--minimal { padding: 3rem 0 1rem; }
.hero-minimal {
  max-width: 860px;
  padding: 2rem 0 1rem;
}
.hero--minimal h1 { font-size: clamp(2.4rem, 5vw, 4.8rem); margin-bottom: 1rem; }
.hero__lead--dark { color: var(--muted); max-width: 46rem; font-size: 1.12rem; }
.content-card--front { padding: clamp(1.6rem, 3vw, 3rem); }
.section--soft { background: transparent; }
.service-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.service-link-card {
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 1.7rem;
  box-shadow: 0 10px 24px rgba(20,18,16,0.04);
}
.service-link-card h2 { font-size: clamp(1.5rem, 2.3vw, 2.15rem); margin-bottom: 0.85rem; }
.service-link-card p { color: var(--muted); margin-bottom: 1rem; }
.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.55);
  margin-top: 4rem;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
  padding: 2.2rem 0 2.8rem;
}
.site-footer__title, .site-footer__label { font-weight: 700; margin: 0 0 0.7rem; }
.site-footer__text, .site-footer .menu a, .site-footer__social a {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}
.site-footer .menu { display: grid; gap: 0.35rem; }
.site-footer .menu a:hover, .site-footer__social a:hover { color: var(--accent); }

@media (max-width: 980px) {
  .service-links-grid, .site-footer__grid { grid-template-columns: 1fr; }
}

.hero--banner, .values-grid, .cta-panel--large { display: none; }
.primary-navigation .button { display: none; }


/* V6 adjustments */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,248,242,0.94);
}
.site-header__inner {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 104px;
}
.site-branding {
  display: flex;
  align-items: center;
}
.site-logo img {
  max-height: 108px;
  width: auto;
}
.site-tagline { display: none; }
.primary-navigation {
  justify-content: center;
}
.primary-navigation .menu {
  width: 100%;
  justify-content: center;
  gap: 2rem;
}
.primary-navigation a {
  font-size: 1.08rem;
}
.hero--minimal,
.hero-minimal,
.hero__lead--dark {
  display: none !important;
}
.section--tight-top {
  padding-top: 2rem;
}
.content-card--front {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  padding: 0.75rem 0 0;
}
.site-footer {
  border-top: 1px solid var(--border);
  background: transparent;
  margin-top: 4rem;
}
.site-footer__inner {
  padding: 1.4rem 0 2.2rem;
}
.site-footer .menu,
.site-footer .footer-menu-fallback {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 1.6rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer a,
.site-footer .menu a,
.site-footer .footer-menu-fallback a {
  color: var(--muted);
  font-size: 0.98rem;
}
.site-footer a:hover,
.site-footer .menu a:hover,
.site-footer .footer-menu-fallback a:hover {
  color: var(--accent);
}
.site-footer__title,
.site-footer__label,
.site-footer__text,
.site-footer__social {
  display: none !important;
}
@media (max-width: 820px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
    min-height: 88px;
  }
  .site-logo img {
    max-height: 82px;
  }
  .primary-navigation {
    justify-content: initial;
  }
  .primary-navigation .menu {
    width: 100%;
    justify-content: flex-start;
    gap: 1rem;
  }
}
