:root {
  --wine-950: #4d001d;
  --wine-900: #650027;
  --wine-800: #7a0330;
  --wine-700: #8d0238;
  --wine-600: #9f0e44;
  --ruby: #a20b44;
  --gold-700: #a87932;
  --gold-600: #c69243;
  --gold-500: #d4ac60;
  --gold-300: #e5ce87;
  --cream-50: #fffdf9;
  --cream-100: #faf5ed;
  --cream-200: #f1e7d9;
  --rose-100: #f6e9ec;
  --ink: #25181d;
  --muted: #74646a;
  --line: rgba(122, 3, 48, .14);
  --shadow: 0 28px 80px rgba(74, 0, 28, .16);
  --serif: Baskerville, "Bodoni 72", Didot, "Iowan Old Style", "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-50);
  font-family: var(--sans);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 8%, rgba(162, 11, 68, .055), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(212, 172, 96, .07), transparent 27rem),
    linear-gradient(180deg, #fffdf9 0%, #faf6f0 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
::selection { background: var(--wine-700); color: #fff; }

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 1rem;
  top: 1rem;
  transform: translateY(-180%);
  background: #fff;
  color: var(--wine-900);
  padding: .7rem 1rem;
  border-radius: .6rem;
  box-shadow: var(--shadow);
}
.skip-link:focus { transform: none; }
.container { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5.4rem) 0; }

h1, h2, h3, .serif {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(3.2rem, 7vw, 6.7rem); }
h2 { font-size: clamp(2.35rem, 5vw, 4.45rem); }
h3 { font-size: clamp(1.5rem, 2.7vw, 2.05rem); }
p { margin-top: 0; }
.lead { color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.28rem); max-width: 44rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1rem;
  color: var(--wine-700);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold-600); }
.eyebrow--light { color: var(--gold-300); }
.eyebrow--light::before { background: var(--gold-300); }

.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .82rem 1.18rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 750;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--gold { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); color: #4c1b00; box-shadow: 0 12px 35px rgba(212,172,96,.2); }
.button--gold:hover { background: var(--gold-300); }
.button--wine { background: var(--wine-700); color: #fff; box-shadow: 0 12px 35px rgba(122,3,48,.18); }
.button--wine:hover { background: var(--wine-900); }
.button--ghost { border-color: rgba(122,3,48,.25); color: var(--wine-800); background: rgba(255,255,255,.52); }
.button--ghost:hover { border-color: var(--wine-700); }
.button--light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.09); }

.marble {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(83,0,31,.86), rgba(157,3,60,.75)),
    url('/assets/marble-texture.jpg') center/cover no-repeat;
}
.marble::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.08), transparent 35%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(46,0,17,.18));
  pointer-events: none;
}
.ornate-frame::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(229,206,135,.75);
  pointer-events: none;
  border-radius: 18px;
}
.ornate-frame::after {
  content: "✦";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  padding: 0 .5rem;
  background: var(--wine-700);
  color: var(--gold-300);
  font-size: .78rem;
  letter-spacing: .3em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(77,0,29,.97);
  border-bottom: 1px solid rgba(229,206,135,.24);
  backdrop-filter: blur(18px) saturate(125%);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; flex: 0 0 auto; }
.brand-logo { display: block; width: auto; height: 54px; max-width: 280px; object-fit: contain; filter: drop-shadow(0 2px 8px rgba(0,0,0,.14)); }
.nav { display: flex; align-items: center; gap: 1.15rem; white-space: nowrap; }
.nav a:not(.button) { color: rgba(255,255,255,.86); text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav a:not(.button):hover, .nav a[aria-current="page"] { color: var(--gold-300); }
.mobile-menu { display: none; }

/* Home hero */
.hero { min-height: 0; display: block; }
.hero-shell { position: relative; width: 100%; min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); }
.hero-copy {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: clamp(4.75rem, 7vw, 7rem);
  padding-bottom: clamp(4.75rem, 7vw, 7rem);
  padding-left: max(2rem, calc((100vw - var(--max))/2));
  padding-right: clamp(3rem, 6vw, 6rem);
}
.hero-copy .hero-logo { width: min(100%, 430px); height: auto; margin-bottom: 1.55rem; }
.hero-kicker { color: var(--gold-300); font-weight: 700; font-size: .82rem; letter-spacing: .17em; text-transform: uppercase; }
.hero-title { margin: 1rem 0 1.25rem; max-width: 10.6ch; color: #fff; font-size: clamp(3.3rem, 5.25vw, 5.25rem); }
.hero-lead { max-width: 39rem; color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.hero-credentials { display: flex; flex-wrap: wrap; gap: .65rem 1.2rem; margin-top: 1.5rem; color: rgba(255,255,255,.72); font-size: .84rem; }
.hero-credentials span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-credentials span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-300); }
.hero-photo-wrap { position: relative; min-width: 0; overflow: hidden; background: #dcc5b1; }
.hero-photo { width: 100%; height: 100%; min-height: 720px; object-fit: cover; object-position: center 38%; }
.hero-photo-wrap::before {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(229,206,135,.85);
  border-radius: 220px 220px 26px 26px;
  pointer-events: none;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(83,0,31,.18), transparent 32%), linear-gradient(0deg, rgba(83,0,31,.24), transparent 30%);
  pointer-events: none;
}

.intro-strip { border-bottom: 1px solid var(--line); background: #fff; }
.intro-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: center; padding: 1.8rem 0; }
.intro-grid strong { color: var(--wine-800); font-family: var(--serif); font-weight: 400; font-size: 1.35rem; }
.intro-grid p { margin: 0; color: var(--muted); }

.split-heading { margin-bottom: 2.3rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { border: 1px solid var(--line); background: rgba(255,255,255,.78); border-radius: var(--radius); box-shadow: 0 14px 40px rgba(75,0,28,.055); }
.service-card { min-height: 270px; padding: 1.8rem; position: relative; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -40px; bottom: -55px; width: 150px; height: 150px; border: 1px solid rgba(212,172,96,.3); border-radius: 50%; }
.service-card .number { margin-bottom: 3.1rem; color: var(--gold-700); font-family: var(--serif); font-size: 1.2rem; }
.service-card p { margin-bottom: 0; color: var(--muted); }

.feature-panel { border-radius: 30px; padding: clamp(2rem, 5vw, 4.5rem); }
.feature-panel h2 { color: #fff; max-width: 12ch; }
.feature-panel p { max-width: 46rem; color: rgba(255,255,255,.78); }

.about-photo-shell { position: relative; min-height: 620px; }
.about-photo { width: 86%; height: 620px; object-fit: cover; object-position: center 27%; border-radius: 220px 220px 24px 24px; box-shadow: var(--shadow); }
.about-photo-shell::after { content: ""; position: absolute; right: 0; bottom: 42px; width: 54%; height: 48%; border: 1px solid rgba(212,172,96,.56); border-radius: 24px; z-index: -1; background: var(--rose-100); }
.about-copy p { color: var(--muted); }

.study-note { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; margin-top: 2rem; padding: 1.4rem; border: 1px solid rgba(212,172,96,.35); border-radius: 18px; background: linear-gradient(135deg, #fffaf2, #fbf2e4); }
.study-note .symbol { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--gold-500); color: var(--wine-700); font-family: var(--serif); }
.study-note strong { display: block; margin-bottom: .3rem; color: var(--wine-800); }
.study-note p { margin: 0; font-size: .92rem; }

.contact-section { background: var(--cream-100); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-card { padding: clamp(1.8rem, 4vw, 3rem); }
.location-list { display: grid; gap: 1rem; margin-top: 1.6rem; }
.location-list div { padding-top: .9rem; border-top: 1px solid var(--line); }
.location-list span { display: block; color: var(--muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; }
.location-list strong { font-size: .98rem; }

.faq { display: grid; gap: .2rem; }
details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
summary { cursor: pointer; list-style: none; color: var(--wine-900); font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--gold-700); font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { margin: .8rem 0 0; color: var(--muted); max-width: 52rem; }

/* Internal pages */
.page-hero { position: relative; padding: clamp(4.8rem, 9vw, 8rem) 0 clamp(3.8rem, 7vw, 6rem); background: var(--cream-100); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10vw; top: -25vw; width: 46vw; height: 46vw; border: 1px solid rgba(212,172,96,.2); border-radius: 50%; }
.page-hero h1 { max-width: 12ch; color: var(--wine-900); }
.prose { max-width: 50rem; }
.prose p { color: var(--muted); font-size: 1.05rem; }
.quote-card { border-radius: var(--radius); padding: clamp(2rem, 5vw, 4rem); }
.quote-card h2 { color: #fff; }
.quote-card p { color: rgba(255,255,255,.78); }
.steps { display: grid; gap: .15rem; }
.step { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1rem; padding: 1.45rem 0; border-bottom: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); color: var(--gold-700); font-family: var(--serif); font-size: 1.1rem; }
.steps { counter-reset: step; }
.step p { margin: 0; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 1rem; }

/* Footer */
.site-footer { padding: 4.5rem 0 1.5rem; }
.footer-logo { width: min(100%, 420px); margin-bottom: 1.2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.7fr); gap: 3rem; align-items: start; }
.footer-meta { max-width: 42rem; color: rgba(255,255,255,.7); }
.footer-links { display: grid; gap: .8rem; justify-items: start; }
.footer-links a { color: rgba(255,255,255,.82); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; margin-top: 3rem; border-top: 1px solid rgba(229,206,135,.2); color: rgba(255,255,255,.55); font-size: .82rem; }

@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu { display: block; color: #fff; }
  .mobile-menu summary { color: var(--gold-300); font-size: .86rem; }
  .mobile-menu[open] .mobile-menu-panel { display: grid; }
  .mobile-menu-panel { position: absolute; right: 1rem; top: 70px; min-width: 220px; display: none; gap: .65rem; padding: 1rem; background: var(--wine-950); border: 1px solid rgba(229,206,135,.24); border-radius: 14px; box-shadow: var(--shadow); }
  .mobile-menu-panel a { color: #fff; text-decoration: none; }
  .hero-shell { grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding: 4.5rem max(1.25rem, calc((100vw - var(--max))/2 + 1rem)); }
  .hero-photo-wrap { min-height: 620px; }
  .hero-photo { min-height: 620px; }
  .grid-2, .grid-3, .contact-grid, .intro-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-photo { width: 92%; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 620px) {
  .header-inner { min-height: 72px; }
  .brand-logo { width: auto; height: 44px; max-width: 205px; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 590px; padding-top: 4.2rem; padding-bottom: 4rem; }
  .hero-copy .hero-logo { width: 100%; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4.6rem); }
  .hero-photo-wrap { min-height: 500px; }
  .hero-photo { min-height: 500px; }
  .hero-photo-wrap::before { inset: 14px; border-radius: 150px 150px 22px 22px; }
  .about-photo-shell { min-height: 500px; }
  .about-photo { height: 500px; width: 94%; }
  .section { padding: 4.2rem 0; }
  .feature-panel { border-radius: 22px; }
}

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

/* V3 layout hardening: prevent intrinsic-width grid blowouts */
.hero-shell > *, .grid-2 > *, .grid-3 > *, .contact-grid > *, .footer-grid > * { min-width: 0; }
@media (min-width: 901px) and (max-width: 1180px) {
  .hero-shell { grid-template-columns: minmax(0, 1.02fr) minmax(360px, .98fr); }
  .hero-copy { padding-left: 2.25rem; padding-right: 3rem; }
  .hero-title { font-size: clamp(3.15rem, 5.7vw, 4.65rem); }
  .nav { gap: .8rem; }
  .nav a:not(.button) { font-size: .84rem; }
}
