:root {
  --ink: #221917;
  --paper: #f6f0e6;
  --mist: #e8efe4;
  --stone: #b9ab95;
  --moss: #4f6c3d;
  --leaf: #789052;
  --wine: #6d1f2c;
  --amber: #c89145;
  --white: #fffaf1;
  --shadow: 0 28px 70px rgba(34, 25, 23, 0.24);
  --header-h: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

.scroll-progress {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--wine), var(--amber), var(--leaf));
}

.site-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(24, 18, 15, 0.58), rgba(24, 18, 15, 0));
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(246, 240, 230, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(34, 25, 23, 0.08);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.4vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: clamp(12px, 2vw, 28px);
  font-size: 13px;
  text-transform: uppercase;
}

.nav a {
  opacity: 0.82;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 64px) clamp(20px, 6vw, 92px) 88px;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  z-index: -3;
  inset: -8vh -4vw;
  width: 108vw;
  height: 116vh;
  max-width: none;
  object-fit: cover;
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.03);
  will-change: transform;
}

.hero-vignette {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 14, 12, 0.72), rgba(20, 14, 12, 0.18) 52%, rgba(20, 14, 12, 0.42)),
    linear-gradient(180deg, rgba(20, 14, 12, 0.12), rgba(20, 14, 12, 0.62));
}

.hero-content {
  max-width: 820px;
  transform: translate3d(0, var(--parallax-y, 0px), 0);
  will-change: transform;
}

.kicker,
.section-label {
  margin: 0 0 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(76px, 16vw, 220px);
  font-weight: 400;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  font-size: clamp(20px, 3vw, 38px);
  line-height: 1.18;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 250, 241, 0.48);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 250, 241, 0.1);
  backdrop-filter: blur(14px);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.action.primary,
.action:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.hero-meta {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 30px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hero-meta span {
  padding: 9px 13px;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 250, 241, 0.08);
  backdrop-filter: blur(14px);
  font-size: 12px;
  text-transform: uppercase;
}

.section-band {
  padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 92px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(120px, 0.4fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 88px);
  background:
    radial-gradient(circle at 18% 20%, rgba(120, 144, 82, 0.18), transparent 34%),
    linear-gradient(135deg, var(--paper), #f2e1ce 52%, var(--mist));
}

.intro-copy h2,
.section-heading h2,
.blueprint-copy h2,
.production-content h2,
.finale-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 88px);
  font-weight: 400;
  line-height: 0.98;
}

.intro-copy p,
.section-heading p,
.blueprint-copy p,
.production-content p,
.finale-copy p {
  margin: 28px 0 0;
  max-width: 790px;
  color: rgba(34, 25, 23, 0.78);
  font-size: clamp(17px, 1.55vw, 23px);
  line-height: 1.6;
}

.principles {
  grid-column: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  background: rgba(34, 25, 23, 0.18);
}

.principles article {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 250, 241, 0.76);
}

.principles strong {
  display: block;
  margin-bottom: 18px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-weight: 400;
}

.principles span {
  color: rgba(34, 25, 23, 0.72);
  line-height: 1.45;
}

.architecture {
  background: linear-gradient(180deg, #17110f, #221917);
  color: var(--white);
}

.architecture .section-heading p {
  color: rgba(255, 250, 241, 0.72);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 5vw, 64px);
  background: rgba(255, 250, 241, 0.16);
}

.feature-card {
  min-height: 260px;
  padding: clamp(22px, 3vw, 34px);
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.08), rgba(255, 250, 241, 0.02)),
    #1c1412;
}

.feature-card span {
  display: inline-block;
  margin-bottom: 54px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feature-card h3 {
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.6vw, 42px);
  font-weight: 400;
  line-height: 1.02;
}

.feature-card p {
  margin: 18px 0 0;
  color: rgba(255, 250, 241, 0.68);
  line-height: 1.55;
}

.journey {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  min-height: 320vh;
  background: #17110f;
  color: var(--white);
}

.sticky-visual {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.sticky-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(0.9) contrast(1.04);
}

.sticky-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(23, 17, 15, 0.75));
}

.visual-caption {
  position: absolute;
  left: clamp(20px, 5vw, 70px);
  bottom: 36px;
  z-index: 2;
  color: rgba(255, 250, 241, 0.72);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 96px);
  text-transform: uppercase;
}

.journey-steps {
  padding: 18vh clamp(20px, 5vw, 72px);
}

.journey .section-label {
  position: sticky;
  top: 96px;
}

.step {
  min-height: 56vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid rgba(255, 250, 241, 0.18);
}

.step span {
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.step h2 {
  margin: 18px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 5vw, 78px);
  font-weight: 400;
}

.step p {
  max-width: 540px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.72);
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.58;
}

.blueprint {
  background:
    linear-gradient(rgba(34, 25, 23, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 25, 23, 0.06) 1px, transparent 1px),
    #fbf6ec;
  background-size: 32px 32px;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.hotspot-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hotspot-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(34, 25, 23, 0.22);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.74);
  cursor: pointer;
  font: inherit;
}

.hotspot-button.active,
.hotspot-button:hover {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.zone-text {
  min-height: 92px;
}

.blueprint-frame {
  margin: 0;
  border: 1px solid rgba(34, 25, 23, 0.15);
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.blueprint-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 50% 28%;
  transition: transform 500ms ease;
}

.blueprint-frame:hover img {
  transform: scale(1.035);
}

.production {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: clamp(70px, 10vw, 140px) clamp(20px, 6vw, 92px);
  overflow: hidden;
  color: var(--white);
  background: #231615;
}

.production-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 17, 15, 0.9), rgba(23, 17, 15, 0.28)),
    url("assets/images/vinarija-technical-storyboard.png") center / cover;
  transform: translate3d(0, var(--production-y, 0px), 0) scale(1.08);
  opacity: 0.72;
  will-change: transform;
}

.production-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.production-content p {
  color: rgba(255, 250, 241, 0.74);
}

.level-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 780px;
  margin-top: 34px;
  background: rgba(255, 250, 241, 0.18);
}

.level-grid article {
  padding: 22px;
  background: rgba(23, 17, 15, 0.62);
  backdrop-filter: blur(12px);
}

.level-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.level-grid strong {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.4vw, 38px);
  font-weight: 400;
  line-height: 1.08;
}

.production-strip {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 250, 241, 0.18);
  background: rgba(23, 17, 15, 0.42);
  backdrop-filter: blur(14px);
}

.production-strip span {
  padding: 24px 18px;
  border-right: 1px solid rgba(255, 250, 241, 0.18);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.sustainability {
  background:
    linear-gradient(rgba(34, 25, 23, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 25, 23, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f7efe2, #e9efe1);
  background-size:
    28px 28px,
    28px 28px,
    auto;
}

.sustainability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(34px, 5vw, 64px);
}

.sustainability-grid article {
  min-height: 178px;
  padding: 24px;
  border: 1px solid rgba(34, 25, 23, 0.12);
  background: rgba(255, 250, 241, 0.58);
}

.sustainability-grid span {
  display: block;
  margin-bottom: 22px;
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.3vw, 36px);
  line-height: 1.04;
}

.sustainability-grid p {
  margin: 0;
  color: rgba(34, 25, 23, 0.72);
  line-height: 1.5;
}

.finale {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.68fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(70px, 10vw, 130px) clamp(20px, 6vw, 92px);
  background: linear-gradient(135deg, #f4eadc, #e7efdf 54%, #d6cab6);
}

.finale-image {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.finale-image img {
  width: 100%;
  height: min(68vh, 720px);
  object-fit: cover;
}

.finale-copy {
  align-self: end;
  padding-bottom: 4vh;
}

.potential-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.potential-list span {
  padding: 10px 13px;
  border: 1px solid rgba(34, 25, 23, 0.18);
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.42);
  color: rgba(34, 25, 23, 0.76);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blueprint-frame figcaption {
  padding: 14px 16px 16px;
  color: rgba(34, 25, 23, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 92px);
  color: rgba(255, 250, 241, 0.72);
  background: #17110f;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-info {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.contact-link {
  color: var(--amber);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, color 220ms ease;
  cursor: pointer;
}

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

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .intro,
  .blueprint-grid,
  .finale {
    grid-template-columns: 1fr;
  }

  .principles,
  .feature-grid,
  .sustainability-grid {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .journey {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sticky-visual {
    position: relative;
    height: 64vh;
  }

  .sticky-visual::after {
    background: linear-gradient(180deg, transparent, rgba(23, 17, 15, 0.8));
  }

  .journey-steps {
    padding-top: 70px;
  }

  .step {
    min-height: 44vh;
  }

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

@media (max-width: 640px) {
  :root {
    --header-h: 62px;
  }

  .site-header {
    padding-inline: 18px;
  }

  .hero {
    min-height: 100svh;
    padding: calc(var(--header-h) + 34px) 18px 128px;
  }

  .hero-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 58% 50%;
  }

  .hero-meta {
    left: 18px;
    right: 18px;
    bottom: 24px;
    justify-content: flex-start;
  }

  .hero-content {
    margin-bottom: 76px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 66px);
  }

  .hero-lead {
    margin-top: 18px;
    font-size: clamp(18px, 5.8vw, 24px);
  }

  .hero-actions {
    margin-top: 22px;
  }

  .action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero-meta span {
    font-size: 11px;
  }

  .section-band,
  .production,
  .finale {
    padding-inline: 18px;
  }

  .intro-copy h2,
  .section-heading h2,
  .blueprint-copy h2,
  .production-content h2,
  .finale-copy h2 {
    font-size: clamp(36px, 12vw, 56px);
  }

  .feature-card,
  .sustainability-grid article {
    min-height: auto;
  }

  .feature-card span {
    margin-bottom: 34px;
  }

  .blueprint-frame img {
    aspect-ratio: 4 / 5;
    object-position: 40% 20%;
  }

  .production {
    padding-bottom: 190px;
  }

  .production-strip {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-direction: column;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .hero-bg,
  .hero-content,
  .production-bg {
    transform: none !important;
  }
}
