:root {
  --red: #c10d0d;
  --dark: #282828;
  --muted: #777;
  --line: #eeeeee;
  --paper: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--dark);
  background: var(--paper);
}

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

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  width: min(1170px, calc(100% - 32px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand img {
  width: 205px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 7px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.main-nav a {
  padding: 14px 0;
}

.main-nav a:hover,
.main-nav .active {
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--dark);
  margin: 6px 0;
}

.breadcrumb {
  width: min(1170px, calc(100% - 32px));
  margin: 22px auto;
  font-size: 13px;
  color: #999;
}

.breadcrumb a {
  color: var(--red);
}

.breadcrumb span::before {
  content: "/";
  margin: 0 8px;
  color: #cfcfcf;
}

.hero {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto 40px;
}

.hero img {
  width: 100%;
  display: block;
}

.intro {
  text-align: center;
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto 34px;
}

.intro h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: 0;
}

.intro p {
  margin: 0;
  font-size: clamp(19px, 2.1vw, 26px);
  font-weight: 700;
}

.wine-section {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto 36px;
}

.wine-section h2 {
  text-align: center;
  margin: 24px 0 28px;
  font-size: 30px;
  font-weight: 800;
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px 22px;
}

.home-edition-grid {
  width: min(520px, 100%);
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wine-card {
  min-height: 390px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.wine-card .image-wrap {
  height: 306px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.wine-card img {
  max-width: 112px;
  max-height: 300px;
  object-fit: contain;
  transition: transform 180ms ease;
}

.wine-card:hover img {
  transform: translateY(-8px);
}

.country {
  margin: 18px 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
}

.wine-card h3 {
  margin: 0;
  min-height: 52px;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.jump {
  width: min(1170px, calc(100% - 32px));
  margin: 16px auto 54px;
  text-align: center;
}

.jump-copy h2 {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 30px;
  font-weight: 800;
}

.jump-copy p {
  margin: 0 0 22px;
  font-size: 22px;
  font-weight: 800;
}

.bottle-run {
  display: grid;
  grid-template-columns: repeat(10, minmax(58px, 1fr));
  gap: 20px 24px;
  align-items: end;
  margin-bottom: 34px;
}

.bottle-run img {
  width: 100%;
  max-width: 86px;
  max-height: 255px;
  object-fit: contain;
  justify-self: center;
}

.wine-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 26px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
}

.contact-hero {
  position: relative;
  width: min(1170px, calc(100% - 32px));
  min-height: 385px;
  margin: 0 auto 48px;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.contact-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgb(0 0 0 / 66%), rgb(0 0 0 / 16%) 72%);
  z-index: 1;
}

.contact-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
  padding: 56px;
  color: #fff;
}

.contact-hero-copy h1 {
  margin: 0 0 13px;
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1;
  font-weight: 800;
}

.contact-hero-copy p {
  margin: 0;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 700;
}

.contact-panel {
  width: min(970px, calc(100% - 32px));
  margin: 0 auto 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: start;
}

.contact-main {
  border-top: 4px solid var(--red);
  padding-top: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-main h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 800;
}

.contact-main p:not(.eyebrow) {
  max-width: 650px;
  margin: 0 0 24px;
  color: #555;
  font-size: 18px;
  line-height: 1.65;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  background: var(--red);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.contact-side {
  border-left: 1px solid var(--line);
  padding-left: 34px;
}

.contact-side h3 {
  margin: 0 0 17px;
  font-size: 20px;
  text-transform: uppercase;
}

.contact-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-side li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: #555;
  font-weight: 700;
}

.about-banner {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto 42px;
}

.about-banner img {
  width: 100%;
  display: block;
}

.about-intro {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto 30px;
  text-align: center;
}

.about-intro h1 {
  margin: 0 0 24px;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1;
  font-weight: 800;
}

.about-intro p {
  margin: 0 auto 18px;
  color: #444;
  font-size: 18px;
  line-height: 1.72;
}

.animal-strip {
  width: min(826px, calc(100% - 32px));
  margin: 28px auto 52px;
}

.animal-strip img {
  width: 100%;
  display: block;
}

.about-feature {
  min-height: 430px;
  margin: 0 0 54px;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 66%), rgb(0 0 0 / 12%) 70%),
    url("https://www.tussockjumperwines.com/wp-content/uploads/2017/01/about-us-bg_07.jpg") center / cover no-repeat;
  color: #fff;
  display: grid;
  align-items: center;
}

.about-feature-copy {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 720px;
  padding: 60px 0;
}

.about-feature-copy .eyebrow {
  color: #fff;
}

.about-feature-copy h2 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 800;
}

.about-feature-copy p:not(.eyebrow) {
  margin: 0 0 17px;
  font-size: 18px;
  line-height: 1.65;
}

.about-values {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto 58px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
}

.about-values article {
  border-top: 4px solid var(--red);
  padding-top: 22px;
}

.about-values h3 {
  margin: 0 0 14px;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
}

.about-values p {
  margin: 0;
  color: #555;
  font-size: 16px;
  line-height: 1.7;
}

.about-jump {
  margin-top: 4px;
}

.site-footer {
  background: #2f2f2f;
  color: #fff;
  padding: 45px 0 50px;
}

.footer-inner {
  width: min(1170px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.site-footer h3 {
  margin: 0 0 18px;
  font-size: 18px;
  text-transform: uppercase;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: #cfcfcf;
  font-size: 14px;
}

.site-footer a:hover {
  color: #fff;
}

.compact-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.compact-footer a {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.age-gate {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(0 0 0 / 42%);
  z-index: 50;
  padding: 20px;
}

.age-gate.hidden {
  display: none;
}

.age-card {
  width: min(600px, 100%);
  padding: 25px 24px 30px;
  text-align: center;
  color: #fff;
  background: var(--red);
  border: 3px solid var(--red);
  border-radius: 8px;
}

.age-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.age-card p {
  margin: 0 0 16px;
  line-height: 1.55;
}

.age-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 2px;
}

.age-actions button,
.age-actions a {
  border: 1px solid #000;
  background: #000;
  color: #fff;
  min-width: 54px;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: none;
  border: 0;
  background: var(--red);
  color: #fff;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
}

.to-top.visible {
  display: block;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 78px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 8px 24px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
  }

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

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

  .bottle-run {
    grid-template-columns: repeat(6, minmax(50px, 1fr));
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-side {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 26px 0 0;
  }

  .about-values {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 170px;
  }

  .hero,
  .contact-hero,
  .about-banner,
  .breadcrumb,
  .intro,
  .wine-section,
  .jump,
  .footer-inner {
    width: min(100% - 24px, 1170px);
  }

  .wine-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 10px;
  }

  .home-edition-grid {
    width: min(100%, 430px);
  }

  .wine-card {
    min-height: 350px;
  }

  .wine-card .image-wrap {
    height: 270px;
  }

  .wine-card img {
    max-height: 264px;
  }

  .wine-card h3 {
    font-size: 17px;
  }

  .bottle-run {
    grid-template-columns: repeat(4, minmax(42px, 1fr));
    gap: 16px;
  }

  .contact-hero {
    min-height: 330px;
  }

  .contact-hero-copy {
    padding: 32px 24px;
  }

  .contact-panel {
    width: min(100% - 24px, 970px);
    margin-bottom: 50px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .about-feature {
    min-height: 380px;
  }

  .compact-footer {
    flex-direction: column;
    gap: 18px;
  }
}
