/* Village Optom Lite -- design system. Inter + forest/cream. One stylesheet. */

@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("../fonts/inter-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-forest: #2f5d4a;
  --brand-charcoal: #1f2a24;
  --brand-sage: #5b7a6a;
  --brand-cream: #f7f3ec;
  --brand-pale-sage: #e9efeb;
  --brand-white: #ffffff;
  --brand-border: #d9e0da;
  --moss: var(--brand-forest);
  --moss-hover: #244a3b;
  --paper: var(--brand-cream);
  --surface: var(--brand-white);
  --ink: var(--brand-charcoal);
  --ink-soft: #4a5a52;
  --line: var(--brand-border);
  --radius: 10px;
  --radius-pill: 999px;
  --wrap: 75rem;
  --gap: 1.25rem;
  --section: clamp(3.5rem, 8vw, 6.25rem);
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.15;
  margin: 0 0 .45em;
  font-weight: 500;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.25rem, 1.2rem + 4vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 1.1rem + 2vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: -0.02em; }
.display { font-family: var(--serif); font-weight: 600; letter-spacing: -0.02em; }
p, ul, ol { margin: 0 0 1.05em; }
a { color: var(--brand-sage); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-forest); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.125rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); max-width: 42rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand-forest); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 3px solid var(--brand-sage); outline-offset: 2px; }

.site-header {
  background: var(--brand-white);
  border-bottom: 1px solid var(--brand-border);
  position: sticky; top: 0; z-index: 20;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--gap); padding: .85rem 0; flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  color: var(--ink); text-decoration: none;
}
.brand-mark { width: 40px; height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 500; font-size: 1rem; letter-spacing: -0.02em; }
.brand-place { font-size: .75rem; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--brand-border);
  border-radius: 8px; width: 44px; height: 44px; cursor: pointer; position: relative;
}
.js .nav-toggle { display: block; }
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute; left: 12px; width: 18px; height: 2px;
  background: var(--ink); content: "";
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -6px; left: 0; }
.nav-toggle-bar::after { top: 6px; left: 0; }

.primary-nav { display: block; width: 100%; padding-bottom: .75rem; }
.js .primary-nav { display: none; padding-bottom: 0; }
.js .primary-nav.is-open { display: block; padding-bottom: .75rem; }
.nav-list { list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: flex; align-items: center; padding: .7rem 0; color: var(--ink);
  text-decoration: none; min-height: 44px; font-size: .9375rem; font-weight: 500;
}
.nav-list a:hover { color: var(--brand-forest); }
.nav-list .sub-menu { list-style: none; margin: 0; padding: 0 0 .4rem 1rem; }
.phone-link {
  display: inline-flex; align-items: center; padding: .55rem 0;
  color: var(--ink-soft); text-decoration: none; font-size: .9375rem; font-weight: 500;
}
.nav-cta { margin-top: .5rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-forest); color: #fff;
  padding: .7rem 1.35rem; border-radius: var(--radius-pill);
  text-decoration: none; font-weight: 500; font-size: .9375rem;
  border: 1px solid var(--brand-forest); cursor: pointer;
  min-height: 44px; line-height: 1.2;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--moss-hover); color: #fff; border-color: var(--moss-hover); }
.btn-sm { padding: .5rem 1.1rem; }
.btn-ghost { background: transparent; color: var(--brand-forest); }
.btn-ghost:hover { background: var(--brand-pale-sage); color: var(--brand-forest); }

.hero, .hero-cinema { padding: var(--section) 0; }
.hero-photo { position: relative; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.hero-photo-stage { margin: 0; }
.hero-photo-stage img {
  width: 100%; height: auto; display: block;
  object-fit: cover; object-position: 78% 50%;
}
.hero-photo-copy { padding: var(--section) 0 1.25rem; order: -1; }
.hero-photo-copy .lead { color: var(--ink-soft); }
.hero-photo-copy .btn-ghost { background: var(--brand-white); }
.media {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--brand-border);
  background: var(--brand-pale-sage);
}
.media img { width: 100%; height: auto; }
.home-nap { font-style: normal; margin: 0 0 1rem; }
.hero-inner { max-width: 40rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.cta-row { margin: 1.75rem 0 0; }

.section { padding: var(--section) 0; }
.section-alt { background: var(--brand-white); }
.section-sage { background: var(--brand-pale-sage); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }

.trust-strip {
  display: grid; gap: 1.25rem; grid-template-columns: 1fr;
  padding: 1.75rem 0;
  border-top: 1px solid var(--brand-border);
  border-bottom: 1px solid var(--brand-border);
}
.trust-strip p { margin: 0; }
.trust-strip strong { display: block; font-weight: 500; margin-bottom: .15em; }

.editorial { display: grid; gap: 1.75rem; }
.editorial-step { padding: 0 0 1.5rem; border-bottom: 1px solid var(--brand-border); }
.editorial-step:last-child { border-bottom: 0; padding-bottom: 0; }
.editorial-step .num { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-sage); font-weight: 500; }

.hub-grid, .feature-grid, .step-grid, .card-grid {
  display: grid; gap: 1.75rem; grid-template-columns: 1fr;
}
.hub {
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--brand-border);
}
.hub:last-child { border-bottom: 0; }
.hub h3 { margin-bottom: .35em; }
.hub p { color: var(--ink-soft); }
.step, .feature, .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid var(--brand-border);
}
.step h3, .feature h3, .card h3 { margin-bottom: .3em; }
.step p, .feature p, .card p { margin-bottom: 0; color: var(--ink-soft); }

.article { padding: var(--section) 0; max-width: 46rem; }
.crumbs { font-size: .875rem; margin: 0 0 1.5rem; color: var(--ink-soft); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 0; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 .5rem; color: var(--brand-border); }
.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--brand-forest); }

.prose > * + * { margin-top: 1.05em; }
.prose h1 { margin-top: 0; }
.prose h2 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li + li { margin-top: .35em; }
.prose details {
  background: var(--brand-white); border: 1px solid var(--brand-border);
  border-radius: var(--radius); padding: .85rem 1rem;
}
.prose summary { cursor: pointer; font-weight: 500; min-height: 44px; display: flex; align-items: center; }
.related { font-size: .95rem; }
.related a { margin-right: .75rem; }

.media-ph {
  margin: 0 0 1.5rem;
  background: var(--brand-pale-sage);
  border: 1px solid var(--brand-border);
  border-radius: var(--radius);
  overflow: hidden;
}
.media-ph-frame {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(180deg, transparent 0%, rgba(31,42,36,.04) 100%),
    repeating-linear-gradient(-45deg, transparent, transparent 12px, rgba(91,122,106,.07) 12px, rgba(91,122,106,.07) 13px);
}
.media-ph.portrait .media-ph-frame { aspect-ratio: 4 / 5; max-width: 22rem; }
.media-ph figcaption {
  padding: .85rem 1rem 1rem;
  font-size: .8125rem;
  color: var(--ink-soft);
}

.cta-band {
  margin: 2.5rem 0 0; padding: 1.6rem 1.7rem;
  background: var(--brand-forest); color: #fff;
  border-radius: var(--radius);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.cta-band p { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.cta-band .btn { background: #fff; color: var(--brand-forest); border-color: #fff; }
.cta-band .btn:hover { background: var(--brand-cream); color: var(--brand-forest); }

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-bottom: 1px solid var(--brand-border); }
.hours-list li:last-child { border-bottom: 0; }
.hours-list span { font-weight: 500; }

.contact-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.map-embed { margin-top: 1.75rem; }
.map-embed iframe {
  width: 100%; height: 280px; border: 1px solid var(--brand-border);
  border-radius: var(--radius);
}
.ssa-booking, .ssa_booking, #ssa-booking-app { margin: 1.5rem 0; }

.site-footer { border-top: 1px solid var(--brand-border); background: var(--brand-white); margin-top: 0; }
.footer-grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; padding: var(--section) 0 1.5rem; }
.footer-brand { font-weight: 500; margin-bottom: .35em; letter-spacing: -0.02em; }
.footer-heading { font-weight: 500; margin-bottom: .5em; font-size: .9375rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list a { display: flex; align-items: center; padding: .35rem 0; color: var(--ink-soft); text-decoration: none; min-height: 44px; font-size: .9375rem; }
.footer-list a:hover { color: var(--brand-forest); }
address { font-style: normal; }
.footer-bottom { border-top: 1px solid var(--brand-border); padding: 1rem 0 1.5rem; }

.book-bar {
  display: flex; align-items: center; justify-content: center;
  position: sticky; bottom: 0;
  background: var(--brand-forest); color: #fff; font-weight: 500;
  text-decoration: none; min-height: 48px; z-index: 15;
}
.book-bar:hover { color: #fff; background: var(--moss-hover); }
body.page-book .book-bar { display: none; }

.home-article .hero,
.home-article .hero-cinema,
.home-article .section { padding-left: 0; padding-right: 0; }
.home-article .wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }

@media (min-width: 48rem) {
  .nav-toggle, .js .nav-toggle { display: none; }
  .primary-nav, .js .primary-nav, .js .primary-nav.is-open {
    display: flex; align-items: center; gap: 1.15rem; width: auto; padding-bottom: 0;
  }
  .nav-list { display: flex; gap: 1.15rem; align-items: center; }
  .nav-list > li { position: relative; }
  .nav-list a { padding: .35rem 0; min-height: 0; }
  .nav-list .sub-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--brand-white); border: 1px solid var(--brand-border);
    border-radius: var(--radius); padding: .55rem 1rem; min-width: 14rem;
    z-index: 5;
  }
  .nav-list > li:hover > .sub-menu,
  .nav-list > li:focus-within > .sub-menu { display: block; }
  .nav-cta { margin-top: 0; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
  .editorial { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
  .hub-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .hub { border-bottom: 0; padding: 0; border-top: 1px solid var(--brand-border); padding-top: 1.25rem; }
  .feature-grid, .step-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid.four { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .book-bar { display: none; }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
  .hero-photo {
    display: grid;
    min-height: 36rem;
  }
  .hero-photo-copy { order: 0; }
  .hero-photo-stage,
  .hero-photo-copy { grid-area: 1 / 1; }
  .hero-photo-stage img {
    height: 36rem;
    min-height: 36rem;
  }
  .hero-photo-copy {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    padding: 5.5rem 0;
    align-self: center;
  }
  .hero-photo-copy::before {
    content: "";
    position: absolute;
    inset: 10% auto 10% -2rem;
    width: min(46rem, 52vw);
    background: linear-gradient(90deg, var(--brand-cream) 0%, rgba(247, 243, 236, .88) 62%, transparent 100%);
    z-index: -1;
    pointer-events: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
