:root {
  --paper: #eef1ea;
  --paper-deep: #d5ddcc;
  --cream: #f5f7f2;
  --ink: #1c2219;
  --ink-soft: #3a4336;
  --muted: #6d7866;
  --wine: #a5b695;
  --wine-deep: #7e9470;
  --espresso: #2f3a2c;
  --line: #c5ceb8;
  --display: "Cormorant Garamond", Georgia, serif;
  --sans: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--wine); color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem; top: 1rem; z-index: 80;
  background: var(--cream); padding: .5rem .75rem; border-radius: 8px;
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.kicker {
  margin: 0;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker-cream { color: rgba(250, 247, 241, .7); }

h1 {
  font-size: clamp(4.25rem, 14vw, 9.5rem);
  line-height: .86;
  font-style: italic;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.75rem);
  line-height: 1.08;
  font-style: italic;
  margin-top: 1rem;
}

.photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-deep);
  aspect-ratio: 4 / 3;
}
.photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 500ms var(--ease);
}
.photo:hover img { transform: scale(1.03); }

.gallery-grid .photo:hover img { transform: none; }
.g-pos-corner img { object-position: 40% 46%; }
.g-pos-art img { object-position: 50% 58%; }
.g-pos-lights img { object-position: 48% 42%; }
.g-pos-labels img { object-position: 50% 34%; }
.g-pos-mug img { object-position: 52% 60%; }
.g-pos-wall img { object-position: 50% 32%; }
.g-pos-drink img { object-position: 50% 42%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  padding: .85rem 1.2rem;
  font-weight: 500;
  letter-spacing: .04em;
  border: 1px solid transparent;
  transition: transform 150ms var(--ease), background 150ms var(--ease);
}
.btn:hover { transform: scale(.98); }
.btn-cream { background: var(--wine); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(250,247,241,.35); }
.btn-paper { background: var(--paper-deep); color: var(--ink); margin-top: 1.25rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--espresso);
  color: var(--cream);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 1rem;
}
.logo {
  font-family: var(--display);
  font-size: 1.7rem;
  font-style: italic;
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav a {
  text-decoration: none;
  font-size: .875rem;
  letter-spacing: .06em;
  opacity: .85;
}
.nav a:hover { opacity: 1; }
.nav-cta {
  background: var(--wine);
  color: var(--ink) !important;
  opacity: 1 !important;
  padding: .4rem .9rem;
  border-radius: 6px;
  font-size: .75rem !important;
}
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent; border: 0; color: var(--cream);
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: currentColor; width: 18px;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  background: var(--espresso);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #2f3a2c 0%, rgba(47, 58, 44, .55) 45%, rgba(47, 58, 44, .4) 100%);
}
.hero-copy { position: relative; z-index: 1; padding: 8rem 0 4.5rem; }
.hero .lead { max-width: 34rem; font-size: clamp(1.125rem, 1.6vw, 1.35rem); color: rgba(250,247,241,.85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-hours { margin-top: 2rem; font-size: .8rem; letter-spacing: .04em; color: rgba(250,247,241,.8); }

.about { padding: 5.5rem 0 4rem; }
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}
.about p { color: var(--ink-soft); }
.about-photos { position: relative; }
.about-slideshow {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--paper-deep);
}
.about-slideshow .slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 700ms var(--ease);
}
.about-slideshow .slide.is-on { opacity: 1; z-index: 1; }
.about-slideshow .slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide-dots {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: .75rem;
  display: flex;
  justify-content: center;
  gap: .4rem;
}
.slide-dots button {
  width: 6px; height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(250 247 241 / .5);
}
.slide-dots button.is-on {
  width: 22px;
  background: var(--cream);
}

.photo-float {
  position: absolute;
  width: 42%;
  right: 1rem;
  bottom: -2rem;
  box-shadow: 0 18px 40px -24px rgb(28 34 25 / .4);
}
.pillars {
  display: grid;
  gap: 1.5rem;
  margin-top: 5rem;
}
.pillars article { border-top: 1px solid var(--line); padding-top: 1.15rem; }
.pillars h3 { font-size: 1.7rem; font-style: italic; }
.pillars p { color: var(--ink-soft); font-size: .92rem; }

.menu { padding: 4.5rem 0 5.5rem; background: var(--cream); }
.menu-photos { position: relative; min-height: 0; }
.photo-set {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
}
.photo-set.is-on { display: grid; }
.photo-set .photo { min-width: 0; }
@media (max-width: 639px) {
  .photo-set .photo:last-child { grid-column: 1 / -1; }
}
@media (min-width: 640px) {
  .photo-set.is-on {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
  }
  .photo-set .photo:last-child { grid-column: auto; }
}

.tabs {
  display: flex;
  gap: .15rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin: 2rem 0 1.5rem;
}
.tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: .85rem 1rem;
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}
.tabs button.is-on { color: var(--ink); border-bottom-color: var(--wine); }

.panel { display: none; }
.panel.is-on { display: block; }
.tihna-menu h3 {
  font-size: 1.85rem;
  font-style: italic;
  margin: 1.75rem 0 .75rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--line);
}
.tihna-menu h3:first-child { margin-top: 0; }
.tihna-menu-list { list-style: none; margin: 0; padding: 0; }
.tihna-menu-list li {
  padding: .7rem 0;
  border-bottom: 1px solid rgb(212 201 184 / .55);
}
.tihna-menu-list .name { display: block; }
.tihna-menu-list small { display: block; color: var(--muted); font-size: .78rem; }
.tihna-lead { color: var(--ink-soft); }

.gallery { padding: 5rem 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .7rem;
  margin-top: 1.75rem;
}
.gallery-grid .photo { min-width: 0; }
@media (min-width: 720px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.private { background: var(--espresso); color: var(--cream); }
.private-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.photo-tall { aspect-ratio: auto; min-height: 28rem; border-radius: 0; }
.private-copy { padding: 4rem 3rem; }
.private-copy p { color: rgba(250,247,241,.85); }
.private-copy .btn { margin-top: 1.5rem; }

.reviews { background: var(--paper-deep); padding: 5rem 0; }
.reviews-grid { display: grid; gap: 2.5rem; }
blockquote { margin: 1.5rem 0 0; }
blockquote p { font-family: var(--display); font-style: italic; font-size: 1.35rem; line-height: 1.4; }
cite { display: block; margin-top: 1rem; font-style: normal; font-size: .85rem; color: var(--muted); }

.visit { padding: 5rem 0; }
.visit-grid { display: grid; gap: 2.5rem; }
.muted { color: var(--ink-soft); }
.visit dl { margin: 2rem 0 0; }
.visit dt {
  font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 1.4rem;
}
.visit dd { margin: .4rem 0 0; }
.visit a { text-decoration: none; }
.visit a:hover { color: var(--wine); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.chips li {
  background: var(--paper-deep);
  border-radius: 4px;
  padding: .4rem .75rem;
  font-size: .75rem;
}
.map {
  min-height: 22rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper-deep);
}
.map iframe { width: 100%; height: 100%; min-height: 22rem; border: 0; }

.reserve-sec { background: var(--cream); padding: 5rem 0; }
.reserve {
  display: grid;
  gap: .85rem;
  max-width: 32rem;
  margin-top: 1.5rem;
}
.reserve label { display: grid; gap: .35rem; font-size: .8rem; letter-spacing: .04em; color: var(--muted); }
.reserve input, .reserve select, .reserve textarea {
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  border-radius: 8px;
  padding: .7rem .85rem;
  font: 1rem var(--sans);
}
.reserve button {
  margin-top: .4rem;
  background: var(--wine);
  color: var(--ink);
  border: 0;
  border-radius: 8px;
  padding: .85rem 1.25rem;
  font-weight: 500;
}
.reserve button:hover { background: var(--wine-deep); }

.winery-band {
  background: var(--espresso);
  color: var(--cream);
  padding: 2.4rem 0 1.5rem;
  border-top: 1px solid rgba(250,247,241,.1);
  overflow: hidden;
}
.winery-marquee {
  margin-top: 1.4rem;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.winery-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  align-items: center;
  animation: winery-scroll 55s linear infinite;
}
.winery-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  min-width: 118px;
  padding: 10px 18px;
  background: var(--cream);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgb(28 34 25 / 0.14);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  white-space: nowrap;
}
.winery-mark.is-dark {
  background: #2f3a2c;
  box-shadow: inset 0 0 0 1px rgb(250 247 241 / 0.18);
  color: var(--cream);
}
.winery-mark img {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}
.winery-mark::after { display: none; }
@keyframes winery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.site-footer { background: var(--espresso); color: var(--cream); padding: 4rem 0; }
.footer-inner { display: grid; gap: 2rem; }
.site-footer a { color: var(--cream); }
.site-footer p { color: rgba(231, 223, 209, .85); }

@media (min-width: 800px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 4rem; }
  .pillars { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid, .visit-grid, .footer-inner { grid-template-columns: 1fr 1fr; }
  .panels .tihna-menu { columns: 2; column-gap: 3rem; }
  .tihna-menu h3, .tihna-menu-list, .tihna-lead { break-inside: avoid; }
}

@media (max-width: 799px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    inset: 64px 0 auto 0;
    background: var(--espresso);
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.5rem;
    gap: 1rem;
  }
  .nav.is-open { display: flex; }
  .private-grid { grid-template-columns: 1fr; }
  .photo-float { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .winery-track { animation: none; }
}
