-- Styles.css

:root {
  --ink: #2b1017;
  --muted: #735b61;
  --paper: #f8f0e4;
  --surface: #fffaf3;
  --wine: #651b32;
  --wine-dark: #3b0c1d;
  --accent: #c7973e;
  --line: rgba(43, 16, 23, .16);
  --shadow: rgba(43, 16, 23, .2);
}

body[data-theme="5"] {
  --reviews-background: var(--ink);
  --reviews-text: var(--paper);
  --reviews-stars: #ffdf45;
  --ink: #102e2c;
  --muted: #56706c;
  --paper: #f7eadb;
  --surface: #fff6ea;
  --wine: #a13d25;
  --wine-dark: #642113;
  --accent: #dfad47;
  --line: rgba(16, 46, 44, .17);
  --shadow: rgba(16, 46, 44, .2);
}

body[data-theme="5"] .button.primary {
  background: #102e2c;
}

body[data-theme="5"] .trust {
  color: #fff6ea;
  background: #102e2c;
  border-color: rgba(255, 246, 234, .18);
}

body[data-theme="5"] .trust-item {
  border-color: rgba(255, 246, 234, .18);
}

body[data-theme="5"] .trust-item span {
  color: rgba(255, 246, 234, .72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: color .25s ease, background .25s ease;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.study-bar { background: var(--wine-dark); color: #fff; }
.study-inner { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.study-label { font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; opacity: .76; }
.theme-nav { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 7px 0; }
.theme-nav a { white-space: nowrap; text-decoration: none; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 7px 11px; font-size: .78rem; }
.theme-nav a[aria-current="page"] { color: var(--wine-dark); background: #fff; border-color: #fff; font-weight: 800; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; letter-spacing: -.04em; }
.wordmark em { color: var(--wine); font-style: normal; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 14px; font-size: .88rem; font-weight: 700; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.site-nav a:hover, .text-link:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
section[id] { scroll-margin-top: 24px; }
.hero { padding: clamp(44px, 7vw, 92px) 0 72px; }
.hero-grid { display: grid; grid-template-columns: .83fr .50fr; align-items: center; gap: clamp(38px, 7vw, 88px); }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--wine); font-size: .77rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--accent); }
h1 { margin: 18px 0; max-width: 650px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6.4vw, 6.2rem); line-height: .94; letter-spacing: -.055em; font-weight: 500; }
.lede { margin: 0 0 30px; max-width: 560px; color: var(--muted); font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.08rem, 1.8vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 3px; text-decoration: none; font-size: .9rem; font-weight: 850; }
.button.primary { color: #fff; background: var(--wine); box-shadow: 0 12px 28px var(--shadow); }
.button.secondary { border: 1px solid var(--line); background: var(--surface); }
.video-wrap { position: relative; }
.video-stage { position: relative; display: grid; place-items: center; aspect-ratio: 9/16; overflow: hidden; border-radius: 4px; color: #fff; background: linear-gradient(145deg, var(--wine-dark), var(--wine)); box-shadow: 0 28px 70px var(--shadow); }
.video-stage::after { content: ""; position: absolute; inset: 16px; border: 1px solid rgba(255,255,255,.18); pointer-events: none; }
.video-thumbnail { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-stage::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(transparent 35%, rgba(0,0,0,.8)); pointer-events: none; }
.video-stage.is-playing::before, .video-stage.is-playing::after { display: none; }
.video-stage iframe { width: 100%; height: 100%; border: 0; position: absolute; inset: 0; }
.play:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.video-copy { position: absolute; left: 30px; bottom: 28px; z-index: 2; }
.video-copy small { display: block; margin-bottom: 5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .72; }
.video-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.1rem, 2.2vw, 1.65rem); font-weight: 500; }
.play { z-index: 2; width: 82px; height: 82px; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; color: #fff; background: rgba(0,0,0,.18); cursor: pointer; font-size: 1.55rem; padding-left: 6px; backdrop-filter: blur(7px); }
.caption { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { padding: 28px clamp(18px, 4vw, 44px); border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item b { display: block; margin-bottom: 7px; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.trust-item span { color: var(--muted); font-size: .84rem; line-height: 1.5; }
.story { padding: 82px 0; }
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.story h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.04em; font-weight: 500; }
.story p { margin: 0 0 20px; color: var(--muted); font-size: 1.03rem; line-height: 1.75; }
.note { color: var(--wine); font-weight: 800; }
@media (max-width: 800px) {
  .study-inner { align-items: flex-start; flex-direction: column; gap: 0; padding-top: 10px; }
  .theme-nav { width: 100%; padding-bottom: 10px; }
  .header-inner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 0; }
  .site-nav { justify-content: flex-start; gap: 4px 20px; }
  .hero-grid, .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-top: 48px; }
  .video-wrap { order: -1; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
}
@media (max-width: 480px) {
  .shell { width: min(100% - 26px, 1180px); }
  h1 { font-size: 3rem; }
  .video-copy { left: 22px; bottom: 21px; }
  .play { width: 66px; height: 66px; }
}

.visit-heading { margin: 0; padding: 28px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 2rem; font-weight: 500; }
.content-section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.experience-inner #experience-title { margin-bottom: 40px; text-align: center; }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.experience-panel { display: grid; grid-template-rows: 0.5fr 0.25fr; min-width: 0; }
.experience-image { display: grid; place-items: center; min-height: 480px; overflow: hidden; border: 1px dashed var(--section-line); border-radius: 6px; background: var(--surface); color: var(--muted); }
.experience-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.experience-copy { padding-top: 22px; }
.experience-copy h3 { margin: 0 0 14px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.2; font-weight: 500; }
.experience-copy p { margin: 0; }
@media (max-width: 800px) {
  .experience-grid { grid-template-columns: 1fr; gap: 40px; }
  .experience-image { min-height:240px; }
}
.content-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; letter-spacing: -.04em; }
.content-section p { margin: 0 0 20px; color: var(--muted); line-height: 1.75; }
.text-link { font-weight: 700; text-underline-offset: 4px; }
.contact-section { background: var(--wine-dark); color: var(--surface); }
.contact-section p { color: inherit; }
.contact-email { overflow-wrap: anywhere; text-underline-offset: 4px; }
.gallery-section { padding: 32px 0; }
.gallery-inner { text-align: center; }
.gallery-inner #gallery-title { margin-bottom: 32px; }
.gallery-viewport { position: relative; width: min(100%, 680px); aspect-ratio: 1; margin: 0 auto; overflow: hidden; border-radius: 6px; background: var(--surface); }
.gallery-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; opacity: 0; transition: opacity 600ms ease-out; }
.gallery-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gallery-descriptor { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); max-height: calc(100% - 48px); overflow: auto; padding: 10px 22px; border-radius: 999px; background: var(--gallery-caption-background, rgba(101, 27, 50, .75)); color: #fff; font-size: 1rem; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.gallery-photo.is-active { opacity: 1; }
.gallery-controls { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.gallery-controls .gallery-counter { margin: 0; min-width: 64px; font-variant-numeric: tabular-nums; }
.gallery-controls button { min-width: 44px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); font: inherit; cursor: pointer; }
.gallery-controls button:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
.gallery-controls button:disabled { opacity: .5; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .gallery-photo { transition: none; }
}
.contact-inner h2 { text-align: center; margin-bottom: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: stretch; }
.contact-form { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.contact-form label { font-size: .9rem; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; margin-bottom: 8px; padding: 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--surface); color: var(--ink); font: inherit; }
.contact-form textarea { resize: vertical; line-height: 1.5; }
.contact-form :is(input, textarea, button):focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.contact-submit { align-self: flex-start; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.contact-submit:hover { filter: brightness(1.1); }
.contact-section #contact-form-note { margin: 6px 0 0; font-size: .82rem; }
.contact-map { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.contact-map iframe { display: block; flex: 1; width: 100%; min-height: 400px; border: 0; border-radius: 3px; background: var(--surface); }
.contact-map a { font-size: .85rem; line-height: 1.5; text-underline-offset: 4px; }
@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-map iframe { min-height: 340px; }
}
.social-links { display: flex; gap: 0; margin: 0; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 3px; }
.social-links a:hover { background: var(--line); }
.social-links svg { width: 22px; height: 22px; fill: currentColor; }
@media (max-width: 800px) {
  .section-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.header-links { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px 20px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 3px; color: var(--ink); background: var(--surface); text-decoration: none; font-weight: 700; white-space: nowrap; }
.contact-button:hover { background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 800px) {
  .header-links { justify-content: flex-start; }
  .header-actions { flex-wrap: wrap; gap: 8px 16px; }
}

/* Explicit section backgrounds keep the palette independent of page order. */
.site-header { background: var(--wine); color: var(--surface); }
.site-header .wordmark em { color: inherit; }
body[data-theme="5"] main > section {
  --section-text: var(--surface);
  --section-line: rgba(255, 246, 234, .3);
  color: var(--section-text);
  border-color: var(--section-line);
}
body[data-theme="5"] main > :is(#visit) { background: var(--ink); }
body[data-theme="5"] main > :is(#experience) { background: var(--wine); }
body[data-theme="5"] main > :is(.hero, #story, #reviews, #contact, #gallery, #faq) {
  --section-text: var(--ink);
  --section-line: var(--line);
  background: var(--paper);
}
main > section :is(.lede, .caption, .eyebrow, .note, .trust-item span),
main > section.story p,
main > section.content-section p { color: var(--section-text); }
body[data-theme="5"] main > section .trust-item { border-color: var(--section-line); }
main > section .button.secondary { color: var(--ink); }
main > section :is(a, summary):focus-visible { outline: 3px solid var(--section-text); outline-offset: 5px; }
.faq-inner { max-width: 960px; }
.content-section .faq-inner h2 { text-align: center; margin-bottom: 36px; }
.faq-list details { border-top: 1px solid var(--section-line); }
.faq-list details:last-child { border-bottom: 1px solid var(--section-line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.2vw, 1.65rem); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: 0 0 11px; height: 11px; margin-right: 5px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.content-section .faq-list p { margin: 0; padding: 0 32px 36px 0; }
body[data-theme="5"] .hero .button.primary { color: var(--ink); background: var(--accent); }

body[data-theme="5"] main > #reviews {
  --section-text: var(--reviews-text);
  background: var(--reviews-background);
  color: var(--section-text);
  border: 0;
}
.reviews-section { padding: 28px 0 42px; }
.reviews-inner { width: min(1380px, calc(100% - 40px)); text-align: center; }
.reviews-carousel { position: relative; margin-top: 48px; padding: 0 64px; }
.review-content { min-height: 310px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.review-stars { margin-top: auto; color: var(--reviews-stars); font-size: 28px; letter-spacing: 2px; }
.review-quote { max-width: 1050px; margin: 16px 0 24px; font-size: 1rem; line-height: 1.75; }
.reviews-section .review-author { margin: 0; font-weight: 700; }
.reviews-section .review-counter { margin: auto 0 0; padding-top: 64px; font-variant-numeric: tabular-nums; }
.review-arrow { position: absolute; top: 40%; display: grid; place-items: center; width: 48px; height: 48px; padding: 8px; border: 0; background: transparent; color: inherit; cursor: pointer; transform: translateY(-50%); }
.review-previous { left: 0; }
.review-next { right: 0; }
.review-arrow svg { width: 22px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; }
.review-arrow:hover { background: var(--line); }
.review-arrow:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
@media (max-width: 600px) {
  .reviews-inner { width: calc(100% - 24px); }
  .reviews-carousel { margin-top: 32px; padding: 0 42px; }
  .review-arrow { width: 40px; }
  .review-quote { font-size: .95rem; line-height: 1.65; }
  .reviews-section .review-counter { padding-top: 40px; }
}
