@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Italiana&display=swap");

:root {
  --ink: #171611;
  --paper: #f1eee5;
  --paper-deep: #e5dfd2;
  --wine: #4c1825;
  --wine-dark: #241016;
  --olive: #5f6548;
  --gold: #c19b5d;
  --line: rgba(23, 22, 17, 0.2);
  --serif: "Italiana", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  font-family: var(--sans);
}

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

button {
  color: inherit;
}

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

::selection {
  background: var(--wine);
  color: #fff;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: white;
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 24px 4vw;
  color: white;
}

.wordmark {
  display: block;
  width: fit-content;
  line-height: 0;
}

.brand-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}

.main-nav {
  display: flex;
  gap: clamp(24px, 3.2vw, 52px);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav a,
.language-switch button {
  position: relative;
}

.main-nav a::after {
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switch {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 7px;
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.1em;
}

.language-switch button {
  padding: 5px 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
}

.language-switch button.active {
  opacity: 1;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  background: #343827;
  color: white;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 18, 12, 0.78) 0%, rgba(16, 18, 12, 0.32) 53%, rgba(16, 18, 12, 0.14) 100%),
    linear-gradient(0deg, rgba(16, 18, 12, 0.46) 0%, transparent 52%),
    url("/images/vineyard-adriatic.jpg") center 43% / cover no-repeat;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(890px, 74vw);
  padding: 0 4vw 14vh;
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  width: 38px;
  height: 1px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 820px;
  margin-bottom: 28px;
  font-size: clamp(4.2rem, 8.5vw, 9rem);
}

h2 {
  margin-bottom: 32px;
  font-size: clamp(3rem, 5.8vw, 6.6rem);
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 36px;
  font-size: clamp(1.05rem, 1.5vw, 1.34rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid currentColor;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: background 220ms ease, color 220ms ease;
}

.button-light:hover,
.button-light:focus-visible {
  background: white;
  color: var(--wine-dark);
}

.button-dark {
  color: var(--wine-dark);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--wine-dark);
  color: white;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
  font-size: 0.77rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.text-link span,
.social-link span {
  transition: transform 180ms ease;
}

.text-link:hover span,
.social-link:hover span {
  transform: translate(3px, -3px);
}

.scroll-cue {
  position: absolute;
  right: 4vw;
  bottom: 5vh;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.scroll-cue span:last-child {
  font-size: 1rem;
}

.section {
  padding: clamp(90px, 11vw, 170px) 7vw;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(470px, 1.14fr);
  gap: 9vw;
  align-items: center;
}

.story-copy h2 {
  max-width: 720px;
}

.story-text {
  display: grid;
  max-width: 690px;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  color: rgba(23, 22, 17, 0.76);
  font-size: 0.98rem;
}

.signature {
  margin: 30px 0 0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.story-visuals {
  position: relative;
  min-height: 710px;
}

.image-frame {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #ccc4b5;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-frame-tall {
  top: 0;
  right: 0;
  width: min(470px, 80%);
  height: 640px;
}

.image-frame-small {
  bottom: 0;
  left: 0;
  width: min(250px, 44%);
  height: 340px;
  border: 12px solid var(--paper);
}

.vineyard-section {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  background: var(--olive);
  color: white;
}

.vineyard-image {
  min-height: 900px;
  overflow: hidden;
}

.vineyard-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vineyard-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(70px, 8vw, 140px) 7vw;
}

.vineyard-copy h2 {
  max-width: 650px;
}

.section-lead {
  max-width: 600px;
  margin-bottom: 52px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.pillars {
  border-top: 1px solid rgba(255, 255, 255, 0.33);
}

.pillar {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.33);
}

.pillar > span {
  padding-top: 3px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.pillar h3 {
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
}

.pillar p {
  max-width: 480px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.wines-section {
  background: var(--paper-deep);
}

.wines-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 7vw;
  align-items: end;
  margin-bottom: 66px;
}

.wines-heading h2 {
  max-width: 900px;
  margin-bottom: 0;
}

.wines-heading > p {
  margin-bottom: 9px;
  color: rgba(23, 22, 17, 0.7);
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.wine-card-image {
  position: relative;
  height: clamp(400px, 45vw, 640px);
  margin-bottom: 26px;
  overflow: hidden;
  background: var(--wine-dark);
}

.wine-card-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 12, 10, 0.48), transparent 48%);
  content: "";
}

.wine-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.03);
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.wine-card:hover img {
  transform: scale(1.035);
}

.wine-image-1 img {
  object-position: 51% 50%;
}

.wine-image-2 img {
  object-position: 50% 50%;
}

.wine-image-3 img {
  object-position: 60% center;
}

.wine-index {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  color: white;
  font-family: var(--serif);
  font-size: 2rem;
}

.wine-type {
  margin-bottom: 8px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wine-card h3 {
  margin-bottom: 11px;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.7vw, 3.3rem);
  font-weight: 400;
  line-height: 1.05;
}

.wine-card > p:last-child {
  max-width: 440px;
  color: rgba(23, 22, 17, 0.7);
  font-size: 0.92rem;
}

.shop-section {
  background: var(--paper);
}

.shop-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 7vw;
  align-items: end;
  margin-bottom: 66px;
}

.shop-heading h2 {
  max-width: 920px;
  margin-bottom: 0;
}

.shop-heading > p {
  margin-bottom: 9px;
  color: rgba(23, 22, 17, 0.7);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px 26px;
}

.shop-card {
  display: block;
}

.shop-card-image {
  position: relative;
  display: grid;
  height: clamp(390px, 38vw, 590px);
  margin-bottom: 24px;
  place-items: center;
  overflow: hidden;
  background: #f8f7f2;
}

.shop-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.shop-card:hover .shop-card-image img,
.shop-card:focus-visible .shop-card-image img {
  transform: scale(1.025);
}

.shop-card-arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(23, 22, 17, 0.32);
  border-radius: 50%;
  background: rgba(241, 238, 229, 0.78);
  font-size: 1rem;
  transition: background 200ms ease, color 200ms ease, transform 200ms ease;
}

.shop-card:hover .shop-card-arrow,
.shop-card:focus-visible .shop-card-arrow {
  background: var(--wine-dark);
  color: white;
  transform: translate(2px, -2px);
}

.shop-card h3 {
  max-width: 420px;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: clamp(2rem, 2.5vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
}

.shop-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.shop-card-link span {
  transition: transform 180ms ease;
}

.shop-card:hover .shop-card-link span,
.shop-card:focus-visible .shop-card-link span {
  transform: translate(3px, -3px);
}

.shop-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 72px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.shop-footer p {
  max-width: 520px;
  margin: 0;
  color: rgba(23, 22, 17, 0.62);
  font-size: 0.84rem;
  text-align: right;
}

.visit-section {
  position: relative;
  min-height: 850px;
  background: var(--wine-dark) url("/images/cellar-wide.jpg") center / cover no-repeat;
  color: white;
}

.visit-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(27, 10, 15, 0.95), rgba(40, 13, 21, 0.85) 58%, rgba(40, 13, 21, 0.62)),
    linear-gradient(0deg, rgba(27, 10, 15, 0.55), transparent);
}

.visit-inner {
  position: relative;
  z-index: 1;
  padding: clamp(100px, 12vw, 180px) 7vw 90px;
}

.visit-inner h2 {
  max-width: 1040px;
}

.visit-lead {
  max-width: 660px;
  margin-bottom: 72px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.65fr;
  gap: 5vw;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.visit-label {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.visit-block address {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2.1rem);
  font-style: normal;
  line-height: 1.35;
}

.contact-line,
.social-link {
  display: block;
  width: fit-content;
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2.1rem);
}

.contact-line:hover,
.social-link:hover {
  color: #ddcaa9;
}

.contact-actions {
  margin-top: 24px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding: 36px 4vw;
  background: #151410;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
}

.site-footer p {
  margin: 0;
}

.footer-wordmark {
  color: white;
}

.footer-wordmark .brand-logo {
  width: 68px;
  height: 68px;
}

.footer-legal {
  justify-self: end;
  color: rgba(255, 255, 255, 0.47);
}

@media (max-width: 1100px) {
  .story-section {
    grid-template-columns: 1fr;
  }

  .story-copy {
    max-width: 850px;
  }

  .story-visuals {
    width: min(760px, 100%);
    justify-self: end;
  }

  .vineyard-section {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .vineyard-image {
    min-height: 820px;
  }

  .visit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .social-block {
    grid-column: 1 / -1;
    padding-top: 20px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 20px 22px;
  }

  .main-nav {
    display: none;
  }

  .wordmark {
    line-height: 0;
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-backdrop {
    background:
      linear-gradient(90deg, rgba(16, 18, 12, 0.78), rgba(16, 18, 12, 0.27)),
      linear-gradient(0deg, rgba(16, 18, 12, 0.55), transparent 62%),
      url("/images/vineyard-adriatic.jpg") 56% center / cover no-repeat;
  }

  .hero-content {
    width: 100%;
    padding: 0 22px 120px;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  h2 {
    font-size: clamp(2.8rem, 13vw, 4.3rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .scroll-cue {
    display: none;
  }

  .section {
    padding: 86px 22px;
  }

  .story-section {
    gap: 58px;
  }

  .story-text {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .story-visuals {
    min-height: 565px;
  }

  .image-frame-tall {
    width: 88%;
    height: 510px;
  }

  .image-frame-small {
    width: 45%;
    height: 240px;
    border-width: 8px;
  }

  .vineyard-section {
    grid-template-columns: 1fr;
  }

  .vineyard-image {
    min-height: 520px;
  }

  .vineyard-copy {
    padding: 82px 22px;
  }

  .wines-heading,
  .wine-grid,
  .shop-heading {
    grid-template-columns: 1fr;
  }

  .wines-heading,
  .shop-heading {
    gap: 22px;
    margin-bottom: 45px;
  }

  .wine-grid {
    gap: 58px;
  }

  .wine-card-image {
    height: min(118vw, 620px);
  }

  .wine-image-2,
  .wine-image-3 {
    height: 76vw;
    min-height: 330px;
  }

  .shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 46px 14px;
  }

  .shop-card-image {
    height: min(58vw, 290px);
    margin-bottom: 18px;
  }

  .shop-card-arrow {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }

  .shop-card h3 {
    font-size: clamp(1.4rem, 7vw, 2rem);
  }

  .shop-card-link {
    font-size: 0.58rem;
  }

  .shop-footer {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 58px;
  }

  .shop-footer p {
    text-align: left;
  }

  .visit-section {
    min-height: 0;
  }

  .visit-inner {
    padding: 90px 22px 80px;
  }

  .visit-lead {
    margin-bottom: 54px;
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .social-block {
    grid-column: auto;
    padding-top: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 40px 22px;
  }

  .footer-legal {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
