@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --ink: #21191b;
  --wine: #611e35;
  --wine-dark: #180b10;
  --wine-soft: #8f405b;
  --gold: #c7a86a;
  --ivory: #f7f1e7;
  --paper: #fffdf8;
  --muted: #766b6d;
  --line: rgba(48, 26, 31, .14);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shadow: 0 24px 70px rgba(31, 13, 20, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.75; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 20; color: #fff; transition: transform .35s ease, background .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { background: rgba(24, 11, 16, .94); box-shadow: 0 10px 40px rgba(0,0,0,.18); backdrop-filter: blur(16px); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { width: min(1380px, calc(100% - 64px)); height: 92px; margin: auto; display: flex; align-items: center; gap: 38px; }
.brand { display: inline-flex; align-items: center; gap: 13px; min-width: 205px; }
.brand-mark { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.45); display: grid; place-items: center; font: italic 600 24px var(--serif); transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand strong, .brand small { display: block; line-height: 1.1; }
.brand strong { font: 600 18px var(--serif); letter-spacing: .02em; }
.brand small { margin-top: 4px; font-size: 9px; letter-spacing: .34em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-left: auto; }
.site-nav a { position: relative; font-size: 13px; font-weight: 500; letter-spacing: .035em; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--gold); transition: right .25s ease; }
.site-nav a:hover::after { right: 0; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--gold); background: var(--gold); color: #21160e; font-weight: 600; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: #dac086; }
.button-small { min-height: 42px; padding: 0 20px; margin-left: 5px; }
.menu-toggle, .mobile-menu { display: none; }

.page-hero { min-height: min(760px, 100svh); position: relative; display: flex; align-items: center; overflow: hidden; color: #fff; background: var(--wine-dark); }
.home-page .page-hero { min-height: min(760px, 100svh); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: radial-gradient(circle at 50% 45%, rgba(35,12,20,.24), rgba(20,7,12,.68) 72%), linear-gradient(0deg, rgba(20,7,12,.64), rgba(20,7,12,.2)); }
.hero-content { position: relative; z-index: 2; width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 130px 0 64px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content h1 { max-width: 1050px; margin: 0 0 20px; font: 500 clamp(44px, 5.2vw, 78px)/1.02 var(--serif); letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero-content p { max-width: 680px; margin: 0; color: rgba(255,255,255,.8); font-size: 17px; line-height: 1.6; text-wrap: balance; }
.hero-content p a { color: var(--gold); }
.eyebrow { display: inline-block; color: var(--gold); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 30px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link.light { color: #fff; }
.hero-meta { position: absolute; z-index: 2; right: 34px; bottom: 38px; display: flex; gap: 24px; color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }

.article-shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 120px 0 130px; display: grid; grid-template-columns: 230px minmax(0, 760px); justify-content: space-between; gap: 90px; }
.article-aside { position: sticky; top: 125px; align-self: start; padding-top: 10px; }
.aside-label { margin: 0 0 18px; color: var(--wine); font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.article-aside ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.article-aside li { border-bottom: 1px solid var(--line); }
.article-aside li a { display: block; padding: 11px 0; color: var(--muted); font-size: 12px; line-height: 1.4; transition: color .2s ease, padding .2s ease; }
.article-aside li a:hover, .article-aside li a.is-active { color: var(--wine); padding-left: 7px; }
.aside-cta { display: flex; justify-content: space-between; margin-top: 24px; padding: 16px 0; border-bottom: 1px solid var(--wine); color: var(--wine); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.prose { min-width: 0; }
.prose > p:first-of-type { display: none; }
.prose h2 { margin: 80px 0 24px; font: 500 clamp(34px, 4vw, 50px)/1.12 var(--serif); letter-spacing: -.025em; scroll-margin-top: 120px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { margin: 44px 0 14px; color: var(--wine); font: 600 24px/1.3 var(--serif); scroll-margin-top: 120px; }
.prose p { margin: 0 0 22px; color: #403638; font-size: 17px; }
.prose strong { color: #281b1f; font-weight: 600; }
.prose a { color: var(--wine); border-bottom: 1px solid rgba(97,30,53,.3); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 54px 0; }
.prose ul, .prose ol { margin: 24px 0 32px; padding-left: 0; list-style: none; counter-reset: prose-list; }
.prose li { position: relative; margin: 0; padding: 16px 0 16px 38px; border-bottom: 1px solid var(--line); color: #403638; }
.prose ul li::before { content: '◇'; position: absolute; left: 3px; color: var(--gold); font-size: 16px; }
.prose ol li { counter-increment: prose-list; }
.prose ol li::before { content: counter(prose-list, decimal-leading-zero); position: absolute; left: 0; color: var(--wine); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
.check { position: absolute; left: 0; top: 17px; width: 19px; height: 19px; border: 1px solid var(--gold); color: var(--wine); display: grid; place-items: center; font-size: 11px; }
.prose blockquote { margin: 34px 0; padding: 30px 34px; border-left: 2px solid var(--gold); background: var(--ivory); }
.prose blockquote p { margin: 0 0 10px; font: italic 500 20px/1.55 var(--serif); }
.prose blockquote p:last-child { margin-bottom: 0; }
.table-wrap { margin: 34px 0; overflow-x: auto; box-shadow: var(--shadow); }
.prose table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.prose th { padding: 16px; background: var(--wine-dark); color: #fff; text-align: left; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.prose td { padding: 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose code { padding: 2px 6px; background: var(--ivory); color: var(--wine); font-size: .88em; }
.content-image { margin: 42px 0 68px; }
.content-image img { width: 100%; aspect-ratio: 14 / 9; object-fit: cover; background: var(--ivory); box-shadow: var(--shadow); }
.content-image figcaption { margin-top: 13px; color: var(--muted); font-size: 12px; letter-spacing: .025em; }

.conversion-band { width: min(1380px, calc(100% - 48px)); margin: 0 auto 120px; padding: 88px clamp(34px, 8vw, 110px); color: #fff; background: var(--wine); position: relative; overflow: hidden; }
.conversion-band::after { content: 'S'; position: absolute; right: 5%; bottom: -46%; color: rgba(255,255,255,.05); font: italic 600 330px var(--serif); }
.conversion-band h2 { position: relative; margin: 16px 0 30px; font: 500 clamp(42px, 5vw, 72px)/1.08 var(--serif); letter-spacing: -.03em; }
.button-light { position: relative; background: var(--paper); border-color: var(--paper); color: var(--wine-dark); }
.related-section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 40px; }
.section-heading h2 { margin: 8px 0 0; font: 500 50px/1 var(--serif); }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-card { min-height: 330px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; transition: background .25s ease, color .25s ease; }
.related-card:hover { background: var(--wine-dark); color: #fff; }
.card-number { margin-left: auto; color: var(--gold); font: italic 500 24px var(--serif); }
.related-card .eyebrow { margin-top: 52px; }
.related-card h3 { margin: 12px 0 36px; font: 500 27px/1.25 var(--serif); }
.related-card .text-link { margin-top: auto; }

.blog-hero { min-height: 560px; display: flex; align-items: end; color: #fff; background: radial-gradient(circle at 72% 30%, rgba(199,168,106,.3), transparent 28%), linear-gradient(125deg, #180b10, #5b1e35 68%, #9d6e59); }
.blog-hero-inner { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 170px 0 82px; text-align: center; }
.blog-hero h1 { max-width: 900px; margin: 0 auto 20px; font: 500 clamp(50px, 6vw, 82px)/1.02 var(--serif); letter-spacing: -.035em; text-wrap: balance; }
.blog-hero p { margin: 0; color: rgba(255,255,255,.78); font-size: 18px; }
.blog-index { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0 140px; }
.blog-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 40px; margin-bottom: 54px; }
.blog-intro .eyebrow { grid-column: 1 / -1; }
.blog-intro h2 { margin: 0; font: 500 clamp(42px, 5vw, 62px)/1 var(--serif); }
.blog-intro p { max-width: 470px; margin: 0 0 4px auto; color: var(--muted); }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 34px; }
.blog-card { border-bottom: 1px solid var(--line); padding-bottom: 34px; }
.blog-card-image { display: block; overflow: hidden; aspect-ratio: 14 / 9; background: var(--ivory); }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.blog-card:hover .blog-card-image img { transform: scale(1.025); }
.blog-card-body { padding-top: 24px; }
.blog-card-meta { display: flex; justify-content: space-between; color: var(--wine); font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.blog-card h2 { margin: 14px 0 13px; font: 500 31px/1.18 var(--serif); letter-spacing: -.015em; }
.blog-card p { margin: 0 0 22px; color: var(--muted); line-height: 1.6; }

.site-footer { padding: 85px max(32px, calc((100vw - 1380px)/2)); color: rgba(255,255,255,.72); background: var(--wine-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 80px; }
.brand-footer { color: #fff; }
.footer-grid > div:first-child p { max-width: 300px; margin-top: 24px; }
.footer-grid h2 { margin: 0 0 18px; color: var(--gold); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand) { display: block; padding: 5px 0; font-size: 13px; }
.footer-grid > div > a:not(.brand):hover { color: #fff; }
.footer-bottom { margin-top: 70px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.hero-content.reveal { opacity: 1; transform: none; }
.legal-page .page-hero { min-height: min(680px, 100svh); }
.legal-page .hero-content h1 { max-width: 900px; font-size: clamp(42px, 4.8vw, 70px); }

@media (max-width: 1050px) {
  .site-nav, .header-inner > .button { display: none; }
  .header-inner { width: min(100% - 40px, 1380px); height: 78px; }
  .menu-toggle { display: grid; gap: 7px; width: 42px; height: 42px; margin-left: auto; padding: 12px; border: 0; background: transparent; }
  .menu-toggle span { width: 100%; height: 1px; background: #fff; transition: transform .25s ease; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 78px 0 0; padding: 45px 28px; background: var(--wine-dark); }
  .mobile-menu.is-open { display: block; }
  .mobile-menu .site-nav { display: grid; justify-content: stretch; gap: 0; margin: 0 0 30px; }
  .mobile-menu .site-nav a { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); font: 500 24px var(--serif); }
  .article-shell { grid-template-columns: 1fr; gap: 0; }
  .article-aside { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .hero-content { width: calc(100% - 40px); padding: 120px 0 54px; }
  .page-hero, .home-page .page-hero { min-height: 100svh; }
  .hero-content h1 { font-size: clamp(42px, 12vw, 61px); }
  .hero-content p { font-size: 16px; line-height: 1.6; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero-meta { display: none; }
  .article-shell { width: calc(100% - 40px); padding: 80px 0 90px; }
  .prose h2 { margin-top: 60px; font-size: 36px; }
  .prose h3 { font-size: 23px; }
  .prose p { font-size: 16px; }
  .conversion-band { width: calc(100% - 28px); margin-bottom: 90px; padding: 60px 28px; }
  .conversion-band h2 { font-size: 40px; }
  .related-section { width: calc(100% - 40px); padding-bottom: 90px; }
  .section-heading h2 { font-size: 40px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-card { min-height: 260px; }
  .blog-hero { min-height: 500px; }
  .blog-hero-inner { width: calc(100% - 40px); padding: 140px 0 62px; }
  .blog-hero h1 { font-size: 48px; }
  .blog-index { width: calc(100% - 40px); padding: 80px 0 100px; }
  .blog-intro { grid-template-columns: 1fr; gap: 18px; }
  .blog-intro .eyebrow { grid-column: auto; }
  .blog-intro p { margin-left: 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 46px; }
  .footer-grid { grid-template-columns: 1fr; gap: 45px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 10px; }
}

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