:root {
  --dark: #1a1a1a;
  --dark-deep: #111111;
  --dark-soft: #242424;
  --gold: #c9a96e;
  --gold-light: #e0c490;
  --cream: #f5f0eb;
  --cream-deep: #ede8e1;
  --ink: #2d2d2d;
  --muted: #746f69;
  --white: #ffffff;
  --border: rgba(45, 45, 45, 0.12);
  --radius: 12px;
  --shadow: 0 18px 54px rgba(24, 20, 15, 0.11);
  --title: "Playfair Display", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: var(--body); font-size: 16px; line-height: 1.72; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #8b6b33; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 4rem), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto !important; width: auto; height: auto; top: 8px; left: 8px; padding: .75rem 1rem; background: var(--white); color: var(--ink); z-index: 10000; }

.site-header { position: fixed; z-index: 1000; inset: 0 0 auto; color: var(--white); padding: 1rem 0; transition: background .3s ease, padding .3s ease, box-shadow .3s ease; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, rgba(10,10,10,.76), transparent); pointer-events: none; }
.site-header.is-scrolled { padding: .65rem 0; background: rgba(10,10,10,.97); box-shadow: 0 2px 20px rgba(0,0,0,.32); backdrop-filter: blur(12px); }
.header-inner, .brand-wrap, .primary-nav, .site-menu { display: flex; align-items: center; }
.header-inner { justify-content: space-between; min-height: 58px; gap: 2rem; }
.brand-wrap { gap: .8rem; flex: 0 0 auto; }
.brand { display: inline-flex; font: 700 1.75rem/1 var(--title); text-decoration: none; }
.brand-loc { color: var(--gold); }
.brand-flat { color: var(--white); }
.custom-logo { width: 60px; max-height: 60px; object-fit: contain; }
.brand-divider { width: 1px; height: 24px; background: rgba(255,255,255,.28); }
.brand-section { color: rgba(255,255,255,.7); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.primary-nav { gap: 1.8rem; }
.site-menu { gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
.site-menu a { position: relative; color: rgba(255,255,255,.84); font-size: .86rem; font-weight: 500; text-decoration: none; }
.site-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 1px; background: var(--gold); transition: right .25s ease; }
.site-menu a:hover, .site-menu .current-menu-item > a { color: var(--gold); }
.site-menu a:hover::after, .site-menu .current-menu-item > a::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: transparent; border: 0; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--white); transition: transform .25s ease, opacity .25s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(3) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

.button, .wp-element-button, input[type="submit"], button[type="submit"] { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 45px; padding: .72rem 1.45rem; border: 1px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--dark) !important; font-weight: 650; font-size: .86rem; line-height: 1; text-decoration: none; cursor: pointer; transition: transform .25s ease, background .25s ease, box-shadow .25s ease; }
.button:hover, .wp-element-button:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,.28); }
.button-small { min-height: 39px; padding: .6rem 1.15rem; }
.page-hero { position: relative; min-height: 480px; padding: 10.5rem 0 6rem; display: grid; align-items: center; color: var(--white); overflow: hidden; background: radial-gradient(circle at 80% 30%, rgba(201,169,110,.22), transparent 30%), linear-gradient(135deg, #111 0%, #242018 50%, #141414 100%); }
.page-hero::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; bottom: -240px; border: 1px solid rgba(201,169,110,.3); border-radius: 50%; box-shadow: 0 0 0 70px rgba(201,169,110,.04), 0 0 0 140px rgba(201,169,110,.025); }
.page-hero-inner { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.page-hero-inner > div { max-width: 700px; }
.page-hero h1 { max-width: 760px; margin: .4rem 0 1rem; color: var(--white); font: 700 clamp(3rem, 7vw, 5.4rem)/1.04 var(--title); letter-spacing: -.025em; }
.page-hero p:not(.eyebrow) { max-width: 610px; margin: 0; color: rgba(255,255,255,.68); font-size: 1.02rem; }
.page-hero .button { margin-top: 1.6rem; }
.eyebrow, .section-label { margin: 0 0 .55rem; color: var(--gold); font-size: .73rem; font-weight: 700; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; text-decoration: none; }

.search-form { display: flex; width: min(100%, 390px); border: 1px solid rgba(201,169,110,.55); border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; backdrop-filter: blur(8px); }
.search-form label { flex: 1; }
.search-field { width: 100%; min-height: 48px; padding: 0 1.2rem; border: 0; outline: 0; background: transparent; color: inherit; }
.search-field::placeholder { color: currentColor; opacity: .55; }
.search-submit { flex: 0 0 auto; min-height: 48px !important; border-radius: 999px !important; }

.blog-index { padding-top: 5rem; padding-bottom: 6rem; }
.featured-post { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); min-height: 480px; margin-bottom: 6rem; overflow: hidden; border-radius: var(--radius); background: var(--dark-soft); color: var(--white); box-shadow: var(--shadow); }
.featured-media a, .featured-media img, .featured-media .image-placeholder { width: 100%; height: 100%; min-height: 430px; }
.featured-media img { object-fit: cover; }
.featured-copy { align-self: center; padding: clamp(2rem, 5vw, 4.5rem); }
.featured-copy h2 { margin: .6rem 0 1rem; font: 600 clamp(2rem, 4vw, 3.15rem)/1.15 var(--title); }
.featured-copy h2 a { color: var(--white); text-decoration: none; }
.featured-copy .post-excerpt { color: rgba(255,255,255,.62); }
.post-meta { color: var(--muted); font-size: .78rem; letter-spacing: .04em; }
.featured-copy .post-meta { color: rgba(255,255,255,.5); }
.post-excerpt p { margin: .8rem 0 1.4rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.section-heading h2, .related-posts h2 { margin: 0; font: 700 clamp(2rem, 4vw, 3rem)/1.15 var(--title); }
.text-link, .read-more { color: #92713a; font-size: .84rem; font-weight: 700; text-decoration: none; }
.posts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); box-shadow: 0 6px 24px rgba(24,20,15,.05); transition: transform .3s ease, box-shadow .3s ease; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card-media { display: block; height: 220px; overflow: hidden; background: var(--dark-soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.post-card:hover .post-card-media img { transform: scale(1.04); }
.post-card-body { padding: 1.6rem; }
.post-card h2 { margin: .55rem 0 .6rem; font: 600 1.5rem/1.25 var(--title); }
.post-card h2 a { text-decoration: none; }
.post-card .post-excerpt { color: var(--muted); font-size: .9rem; }
.image-placeholder { display: grid; place-items: center; position: relative; color: var(--gold); overflow: hidden; background: radial-gradient(circle at 65% 40%, rgba(201,169,110,.3), transparent 24%), linear-gradient(135deg, #151515, #30291d); }
.image-placeholder::before, .image-placeholder::after { content: ""; position: absolute; width: 190px; height: 190px; border: 1px solid rgba(201,169,110,.22); border-radius: 50%; }
.image-placeholder::after { width: 280px; height: 280px; }
.image-placeholder span { z-index: 1; font: 700 2rem var(--title); }

.content-shell { min-height: 70vh; padding-top: 10rem; padding-bottom: 6rem; }
.archive-header { max-width: 760px; margin-bottom: 3rem; }
.archive-header h1 { margin: .3rem 0 .8rem; font: 700 clamp(2.6rem, 6vw, 4.4rem)/1.08 var(--title); }
.archive-description { color: var(--muted); }
.archive-header .search-form { margin-top: 1.5rem; color: var(--ink); border-color: var(--border); background: var(--white); }
.nav-links, .pagination { margin-top: 3rem; }
.nav-links, .page-numbers { display: flex; justify-content: center; align-items: center; gap: .6rem; }
.page-numbers { padding: 0; list-style: none; }
a.page-numbers, span.page-numbers { display: grid; min-width: 42px; height: 42px; place-items: center; padding: 0 .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--white); text-decoration: none; }
span.page-numbers.current { background: var(--gold); border-color: var(--gold); }

.article-shell { padding-top: 10rem; padding-bottom: 6rem; }
.article { max-width: 920px; margin: 0 auto; }
.article-header { max-width: 820px; margin: 0 auto 3rem; text-align: center; }
.article-header h1 { margin: .65rem 0 1rem; font: 700 clamp(2.65rem, 6vw, 5rem)/1.08 var(--title); letter-spacing: -.02em; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; color: var(--muted); font-size: .82rem; }
.article-hero { margin: 0 0 3.8rem; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-hero img { width: 100%; max-height: 620px; object-fit: cover; }
.entry-content { max-width: 760px; margin: 0 auto; font-size: 1.06rem; }
.entry-content > * { margin-top: 0; margin-bottom: 1.55rem; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 2.5rem; color: var(--ink); font-family: var(--title); line-height: 1.2; }
.entry-content h2 { font-size: 2.25rem; }
.entry-content h3 { font-size: 1.7rem; }
.entry-content ul, .entry-content ol { padding-left: 1.4rem; }
.entry-content li { margin-bottom: .45rem; }
.entry-content blockquote { margin: 2.4rem 0; padding: .4rem 0 .4rem 2rem; border-left: 3px solid var(--gold); color: #595148; font: 400 1.45rem/1.55 var(--title); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .75rem; border: 1px solid #d8d0c7; text-align: left; }
.entry-content th { background: var(--cream-deep); }
.entry-content figure, .entry-content .wp-block-gallery { max-width: 100%; }
.entry-content figcaption { margin-top: .5rem; color: var(--muted); font-size: .78rem; text-align: center; }
.entry-content input:not([type="submit"]), .entry-content textarea, .comments-area input:not([type="submit"]), .comments-area textarea { width: 100%; padding: .8rem 1rem; border: 1px solid #d6cec5; border-radius: 8px; background: var(--white); }
.share-box { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 760px; margin: 3.5rem auto 0; padding: 1.25rem 1.4rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }
.share-links { display: flex; flex-wrap: wrap; gap: .55rem; }
.share-links a, .share-links button { padding: .45rem .8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .76rem; font-weight: 600; text-decoration: none; cursor: pointer; }
.post-navigation-custom { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; max-width: 760px; margin: 2rem auto 0; padding-top: 2rem; border-top: 1px solid var(--border); }
.post-navigation-custom > div:last-child { text-align: right; }
.post-navigation-custom span { display: block; color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.post-navigation-custom a { font-family: var(--title); font-weight: 600; text-decoration: none; }
.related-posts, .comments-area { margin: 6rem auto 0; }
.comments-area { max-width: 760px; padding-top: 3rem; border-top: 1px solid var(--border); }
.comments-title, .comment-reply-title { font-family: var(--title); font-size: 2rem; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { margin-bottom: 1.3rem; padding: 1.4rem; border-radius: var(--radius); background: var(--white); }
.comment-author { display: flex; align-items: center; gap: .7rem; }
.comment-author .avatar { border-radius: 50%; }
.comment-meta { font-size: .75rem; }

.empty-state, .not-found { max-width: 720px; min-height: 74vh; padding-top: 12rem; padding-bottom: 7rem; text-align: center; }
.empty-state { min-height: auto; padding-top: 4rem; }
.not-found h1, .empty-state h1 { margin: .4rem 0 1rem; font: 700 clamp(2.5rem, 6vw, 4.5rem)/1.1 var(--title); }
.error-code { margin: 0 0 -2rem; color: rgba(201,169,110,.18); font: 700 clamp(8rem, 25vw, 15rem)/1 var(--title); }
.not-found .search-form, .empty-state .search-form { margin: 2rem auto 1.4rem; color: var(--ink); background: var(--white); border-color: var(--border); text-align: left; }

.site-footer { padding: 5rem 0 2rem; background: var(--dark-deep); color: rgba(255,255,255,.6); }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 4rem; }
.site-footer h2 { margin: .3rem 0 1rem; color: var(--white); font: 600 1.1rem var(--title); }
.site-footer ul { padding: 0; margin: 0; list-style: none; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-about p { max-width: 360px; }
.site-footer address { font-style: normal; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.09); font-size: .75rem; }
.footer-bottom p { margin: 0; }

@media (max-width: 960px) {
  .menu-toggle { display: block; z-index: 2; }
  .primary-nav { display: none; position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 2.5rem; background: rgba(17,17,17,.985); }
  .primary-nav.is-open { display: flex; }
  .site-menu { flex-direction: column; gap: 1.4rem; }
  .site-menu a { font: 600 1.8rem var(--title); }
  .page-hero-inner { display: block; }
  .page-hero .search-form { margin-top: 2.2rem; }
  .featured-post { grid-template-columns: 1fr; }
  .featured-media a, .featured-media img, .featured-media .image-placeholder { min-height: 360px; height: 360px; }
  .posts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr 1fr; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 2rem), var(--container)); }
  .brand-section, .brand-divider { display: none; }
  .page-hero { min-height: 520px; padding: 9rem 0 4rem; }
  .page-hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }
  .blog-index { padding-top: 2.5rem; padding-bottom: 4rem; }
  .featured-post { margin-bottom: 4rem; }
  .featured-media a, .featured-media img, .featured-media .image-placeholder { min-height: 260px; height: 260px; }
  .featured-copy { padding: 1.7rem; }
  .featured-copy h2 { font-size: 2rem; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card-media { height: 230px; }
  .section-heading { align-items: start; }
  .article-shell, .content-shell { padding-top: 8.5rem; padding-bottom: 4rem; }
  .article-header { text-align: left; }
  .article-header h1 { font-size: 2.7rem; }
  .article-meta { justify-content: flex-start; }
  .article-hero { margin-inline: -1rem; border-radius: 0; }
  .entry-content { font-size: 1rem; }
  .share-box { align-items: flex-start; flex-direction: column; }
  .post-navigation-custom { grid-template-columns: 1fr; }
  .post-navigation-custom > div:last-child { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .4rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
