:root {
  --cream: #F5EDE3;
  --terracotta: #C2704E;
  --ochre: #D4A54A;
  --olive: #6B7B4C;
  --charcoal: #2E2A27;
  --warm-gray: #8C8279;
  --plaster: #E8DDD1;
  --wine: #722F37;
  --shadow-warm: 0 4px 20px rgba(46, 42, 39, 0.08);

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-accent: "Caveat", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  background: var(--cream);
  color: var(--charcoal);
  font-family: var(--font-body);
}

/* grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(245, 237, 227, 0.9);
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-warm);
}

.nav-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--charcoal);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  position: relative;
  font-size: 0.875rem;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--terracotta);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 1px;
  background: var(--charcoal);
}
.menu-btn span:nth-child(1) { width: 24px; }
.menu-btn span:nth-child(2) { width: 24px; }
.menu-btn span:nth-child(3) { width: 16px; }

@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  padding: 0.5rem;
  background: none;
  border: none;
  color: var(--charcoal);
  cursor: pointer;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.mobile-links a {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: var(--charcoal);
  transition: color 0.2s ease;
}

.mobile-links a:hover {
  color: var(--terracotta);
}

.mobile-tag {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--warm-gray);
  margin-top: 4rem;
  transform: rotate(-2deg);
}

/* ---------- Shared decorative bits ---------- */
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

.dot.small {
  width: 4px;
  height: 4px;
}

.rule {
  display: inline-block;
  width: 4rem;
  height: 1px;
  background: var(--terracotta);
  opacity: 0.5;
}

.rule.small {
  width: 2.5rem;
  opacity: 0.4;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--plaster);
  opacity: 0.55;
  line-height: 1;
  font-size: clamp(16rem, 40vw, 48rem);
}

.hero-dots {
  position: absolute;
  top: 7rem;
  right: 3rem;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
}

.dot-row {
  display: flex;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .hero-dots { display: flex; }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--terracotta);
  margin: 0 0 1.5rem;
  display: inline-block;
  transform: rotate(-1deg);
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--charcoal);
  line-height: 1.1;
  margin: 0 0 2rem;
}

.hero-heading .line {
  display: block;
  font-size: clamp(3.5rem, 10vw, 8rem);
}

.hero-heading .line.accent {
  color: var(--terracotta);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
}

.hero-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.scroll-indicator span {
  font-family: var(--font-accent);
  font-size: 1rem;
  color: var(--warm-gray);
}

.scroll-arrow {
  width: 1.25rem;
  height: 1.25rem;
  border-right: 2px solid var(--warm-gray);
  border-bottom: 2px solid var(--warm-gray);
  transform: rotate(45deg);
  opacity: 0.6;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

/* ---------- Hero entrance animations ---------- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}

.anim { opacity: 0; }
.anim-1 { animation: fadeSlideUp 0.9s ease 0.1s both; }
.anim-2 { animation: fadeSlideUp 0.9s ease 0.35s both; }
.anim-3 { animation: fadeIn 1s ease 0.6s both; }
.anim-4 { animation: fadeIn 1s ease 0.9s both; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Philosophy ---------- */
.philosophy {
  padding: 7rem 1.5rem;
  background: var(--cream);
}

.philosophy-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.pull-quote {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--terracotta);
  display: inline-block;
  transform: rotate(-2deg);
  margin: 0 0 2rem;
  line-height: 1.3;
}

.mini-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.body-text {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--charcoal);
  margin: 0 0 2rem;
}

.aside {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--warm-gray);
  display: inline-block;
  transform: rotate(1deg);
  margin-top: 1rem;
}

/* ---------- Wines ---------- */
.wines {
  padding: 7rem 1.5rem;
  background: var(--plaster);
}

.wines-inner {
  max-width: 72rem;
  margin: 0 auto;
}

.wines-header {
  margin-bottom: 4rem;
}

.section-caveat {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: var(--charcoal);
  display: inline-block;
  transform: rotate(-1deg);
  margin: 0 0 0.75rem;
}

.section-sub {
  color: var(--warm-gray);
  font-size: 0.875rem;
  margin: 0.5rem 0 0;
}

.wine-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .wine-grid { grid-template-columns: repeat(3, 1fr); }
}

.wine-card {
  background: var(--plaster);
  border: 1px solid rgba(140, 130, 121, 0.2);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-warm);
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.type-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.type-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.15rem 0.6rem;
  border-radius: 2px;
}

.type-rouge { background: rgba(194, 112, 78, 0.1); color: var(--terracotta); }
.type-blanc { background: rgba(212, 165, 74, 0.1); color: var(--ochre); }
.type-petnat { background: rgba(107, 123, 76, 0.1); color: var(--olive); }

.type-dot.type-rouge { background: var(--terracotta); }
.type-dot.type-blanc { background: var(--ochre); }
.type-dot.type-petnat { background: var(--olive); }

.wine-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0;
}

.wine-domaine {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin: 0.25rem 0 0;
}

.wine-meta {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin: 0;
}

.wine-note {
  font-size: 0.875rem;
  color: var(--charcoal);
  font-style: italic;
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.wine-divider {
  width: 2rem;
  height: 1px;
  background: var(--warm-gray);
  opacity: 0.3;
}

.wine-price {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0;
}

/* ---------- Our Story ---------- */
.story {
  padding: 7rem 1.5rem;
  background: var(--cream);
  overflow: hidden;
}

.story-inner {
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
}

.story-watermark {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  pointer-events: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 900;
  color: var(--plaster);
  font-size: 13rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .story-watermark { display: block; }
}

.story-text {
  position: relative;
  max-width: 36rem;
  margin-left: auto;
}

.section-heading {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 2rem;
}

/* ---------- Find Us ---------- */
.find-us {
  padding: 7rem 1.5rem;
  background: var(--plaster);
}

.find-us-inner {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .find-us-inner { grid-template-columns: repeat(2, 1fr); }
}

.short-rule {
  width: 3rem;
  height: 1px;
  background: var(--terracotta);
  margin-bottom: 2rem;
}

.address-block {
  margin-bottom: 2rem;
}

.address-big {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin: 0;
}

.address-big.last { margin-bottom: 1rem; }

.address-line {
  font-size: 1rem;
  color: var(--warm-gray);
  margin: 0;
}

.walking-note {
  font-size: 1.125rem;
  color: var(--terracotta);
  margin-bottom: 2.5rem;
}

.label {
  font-size: 0.75rem;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
}

.hours-days {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0;
}

.hours-time {
  font-size: 1rem;
  color: var(--charcoal);
  margin: 0;
}

.hours-closed {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin: 0.25rem 0 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--warm-gray);
  margin: 0 0 0.25rem;
}

.contact-link {
  font-size: 1rem;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(140, 130, 121, 0.3);
  padding-bottom: 0.1rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.contact-dots {
  display: flex;
  gap: 0.5rem;
  margin-top: 4rem;
}

.contact-dots .dot {
  width: 8px;
  height: 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 4rem 1.5rem;
  background: var(--cream);
  border-top: 1px solid rgba(140, 130, 121, 0.2);
}

.footer-inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.footer-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0 0 0.75rem;
}

.footer-address {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin: 0 0 2rem;
}

.footer-signoff {
  font-family: var(--font-accent);
  font-size: 1.5rem;
  color: var(--terracotta);
  display: inline-block;
  transform: rotate(-1deg);
  margin: 0;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(140, 130, 121, 0.5);
  margin: 2.5rem 0 0;
}
