/* ===== Design tokens ===== */
:root {
  /* Primary brand palette */
  --wine: #7c1d3f;
  --wine-deep: #5d142e;
  --wine-soft: rgba(124, 29, 63, .08);
  --gold: #b08a4e;
  --gold-soft: rgba(176, 138, 78, .14);
  --green: #6e9e3e;

  /* Neutrals */
  --ink: #221d24;
  --muted: #7c757f;
  --bg: #ffffff;
  --cream: #faf6ef;
  --dark: #211a22;
  --line: #ece4d8;

  --maxw: 1160px;
  --radius: 16px;
  --shadow: 0 22px 55px -28px rgba(34, 29, 36, .45);
  --shadow-sm: 0 10px 30px -18px rgba(34, 29, 36, .35);

  --font: "Jost", "Century Gothic", "Futura", system-ui, sans-serif;
}

/* ===== Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; height: 100vh; }

img { display: block; max-width: 100%; }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 104px 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 14px;
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--ink);
}

.section__head { max-width: 640px; margin: 0 auto 60px; text-align: center; }
.section__sub { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .04em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--primary {
  background: var(--wine);
  color: #fff;
  box-shadow: 0 14px 30px -16px rgba(124, 29, 63, .8);
}
.btn--primary:hover { background: var(--wine-deep); transform: translateY(-3px); }
.btn--ghost { border-color: var(--wine); color: var(--wine); background: transparent; }
.btn--ghost:hover { background: var(--wine); color: #fff; transform: translateY(-3px); }

/* ===== Preloader ===== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .8s ease;
}
.preloader.is-done { opacity: 0; pointer-events: none; }
.preloader__frame {
  width: min(92vw, 880px);
  height: auto;
  object-fit: contain;
  user-select: none;
}
.preloader__skip {
  position: absolute;
  bottom: 32px;
  right: 32px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  padding: 9px 22px;
  border-radius: 4px;
  font-family: var(--font);
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}
.preloader__skip:hover { background: rgba(255, 255, 255, .22); }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 20px 0;
}
.navbar.is-stuck {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px -22px rgba(34, 29, 36, .6);
  padding: 12px 0;
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 13px; }
.brand__logo { width: 46px; height: auto; }
.brand__name {
  font-weight: 600;
  font-size: 1.12rem;
  letter-spacing: .12em;
  color: var(--ink);
}

.nav { display: flex; align-items: center; }
.nav__menu { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav__menu a {
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .03em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav__menu a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s ease;
}
.nav__menu a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--wine);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 6px;
  transition: background .25s ease;
}
.nav__cta:hover { background: var(--wine-deep); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-bottom: 72px;
  background: linear-gradient(180deg, #ffffff 0%, var(--cream) 100%);
}
/* Liquid morphing blobs (compositor-only transform animation = light on CPU/GPU) */
.hero__glow {
  display: block;
  position: absolute;
  inset: -8%;
  z-index: 0;
  background:
    radial-gradient(38% 38% at 24% 30%, rgba(124, 29, 63, .20), transparent 62%),
    radial-gradient(34% 34% at 76% 24%, rgba(176, 138, 78, .22), transparent 62%),
    radial-gradient(44% 44% at 62% 74%, rgba(110, 158, 62, .16), transparent 62%),
    radial-gradient(40% 40% at 28% 80%, rgba(124, 29, 63, .14), transparent 62%);
  filter: blur(34px);
  animation: liquid 16s ease-in-out infinite alternate;
}
@keyframes liquid {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(2%, -1.6%, 0); }
}
.hero.is-paused .hero__glow,
.hero.is-paused .wave-parallax > use,
.hero.is-paused .hero__strip-track,
.brands.is-paused .marquee__track { animation-play-state: paused; }
/* Animated SVG waves */
.hero__waves {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: clamp(120px, 18vh, 190px);
  z-index: 0;
  pointer-events: none;
}
.hero__waves .waves { width: 100%; height: 100%; }
.wave-parallax > use { animation: waveMove 25s cubic-bezier(.55, .5, .45, .5) infinite; }
.wave-parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 13s; }
.wave-parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 17s; }
.wave-parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 21s; }
.wave-parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 27s; }
@keyframes waveMove {
  0%   { transform: translate3d(-90px, 0, 0); }
  100% { transform: translate3d(85px, 0, 0); }
}
.hero__inner { position: relative; z-index: 1; margin: 0 auto; }
.hero__logo { width: clamp(110px, 18vw, 178px); margin: 0 auto 28px; }
.hero__title {
  font-size: clamp(2.2rem, 7vw, 4.4rem);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.08;
  color: var(--ink);
}
.hero__tagline {
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  font-style: normal;
  color: var(--green);
  margin-top: 16px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.hero__bar { display: none; }

/* Hero brand strip */
.hero__strip {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 13px clamp(18px, 5vw, 48px);
  background: rgba(255, 255, 255, .92);
  border-top: 1px solid rgba(255, 255, 255, .6);
}
.hero__strip-label {
  flex: 0 0 auto;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wine);
  padding-right: 26px;
  border-right: 1px solid var(--line);
}
.hero__strip-marquee {
  flex: 1 1 auto;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.hero__strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.hero__strip:hover .hero__strip-track { animation-play-state: paused; }
.hero__strip-track span {
  position: relative;
  padding: 0 28px;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--ink);
  white-space: nowrap;
}
.hero__strip-track span::after {
  content: "";
  position: absolute;
  right: -3px; top: 50%;
  width: 5px; height: 5px;
  margin-top: -2.5px;
  border-radius: 50%;
  background: var(--gold);
}
.hero__strip-logo {
  max-height: 26px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ===== About ===== */
.about { background: var(--cream); }
.about__inner { display: grid; grid-template-columns: 1.25fr .95fr; gap: 64px; align-items: center; }
.about__text p { color: var(--muted); margin-top: 18px; font-size: 1.05rem; }
.about__stats { display: flex; gap: 44px; margin-top: 40px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; position: relative; padding-left: 16px; }
.stat::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 6px;
  width: 2px; background: var(--gold);
}
.stat__num {
  font-size: 2rem; font-weight: 600; color: var(--wine); line-height: 1.1;
}
.stat__label { font-size: .85rem; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.about__media {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.about__media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

/* ===== Collections ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.card {
  position: relative;
  padding: 40px 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  color: var(--wine);
  background: var(--wine-soft);
  margin-bottom: 22px;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 8px; letter-spacing: .01em; }
.card p { color: var(--muted); }

/* ===== Brands ===== */
.brands { background: var(--dark); color: #fff; }
.brands .eyebrow { color: var(--gold); }
.brands .section__title { color: #fff; }
.brands .section__sub { color: rgba(255, 255, 255, .62); }
.marquee {
  margin-top: 58px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.chip {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 84px;
  padding: 16px 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: box-shadow .3s ease, transform .3s ease;
}
.chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.chip__logo {
  max-height: 44px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Visit ===== */
.visit__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.info-list { list-style: none; margin: 32px 0 36px; display: flex; flex-direction: column; gap: 26px; }
.info-list li { display: flex; gap: 18px; align-items: flex-start; }
.info-list__icon {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--wine-soft);
  color: var(--wine);
}
.info-list__icon svg { width: 22px; height: 22px; }
.info-list strong { display: block; font-size: 1.05rem; font-weight: 600; }
.info-list p { color: var(--muted); }
.info-list a { color: var(--wine); font-weight: 600; }
.visit__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.visit__map iframe { width: 100%; height: 430px; border: 0; display: block; }

/* ===== Footer ===== */
.footer { background: var(--cream); padding-top: 58px; }
.footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; padding-bottom: 42px;
}
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__logo { width: 52px; }
.footer__name { font-weight: 600; letter-spacing: .12em; }
.footer__tag { color: var(--gold); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-top: 2px; }
.footer__links { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__links a { color: var(--muted); font-weight: 500; transition: color .2s ease; }
.footer__links a:hover { color: var(--wine); }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--wine-soft);
  color: var(--wine);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.footer__social a:hover { background: var(--wine); color: #fff; transform: translateY(-3px); }
.footer__social svg { width: 21px; height: 21px; }
.footer__bar { height: 3px; background: linear-gradient(90deg, var(--wine), var(--gold)); }
.footer__copy { text-align: center; padding: 24px; color: var(--muted); font-size: .88rem; }

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Render-skipping for off-screen sections (less paint work + memory) ===== */
.about    { content-visibility: auto; contain-intrinsic-size: auto 620px; }
.collections { content-visibility: auto; contain-intrinsic-size: auto 760px; }
.brands   { content-visibility: auto; contain-intrinsic-size: auto 460px; }
.visit    { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.footer   { content-visibility: auto; contain-intrinsic-size: auto 240px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .about__inner, .visit__inner { grid-template-columns: 1fr; gap: 44px; }
  .about__media { order: -1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .section { padding: 76px 0; }
  .brand__name { font-size: .98rem; }
  .nav__toggle { display: flex; z-index: 950; }
  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 0 36px;
    background: #ffffff;
    box-shadow: -20px 0 60px -30px rgba(0, 0, 0, .5);
    transform: translateX(100%);
    transition: transform .35s ease;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__menu a { font-size: 1.2rem; }
}

@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .preloader__skip { bottom: 20px; right: 20px; }
  .hero__strip-label { display: none; }
  .hero__strip { gap: 0; padding: 11px 0; }
  .hero__strip-track span { font-size: .85rem; padding: 0 20px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .hero__strip-track,
  .hero__glow, .wave-parallax > use { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
