:root {
  --ink: #171512;
  --charcoal: #26231e;
  --paper: #f5f1e8;
  --vellum: #fffaf0;
  --stone: #d7ccba;
  --vine: #263e31;
  --moss: #5f7357;
  --bronze: #9a6b3e;
  --cognac: #b66d35;
  --wine: #5e2f28;
  --white: #ffffff;
  --shadow: 0 26px 90px rgba(23, 21, 18, 0.22);
  --radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", Arial, sans-serif;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(38, 35, 30, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, #fbf7ee 0%, var(--paper) 42%, #eee7da 100%);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.55;
}

body.age-locked {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(154, 107, 62, 0.95);
  outline-offset: 4px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(14px, 3vw, 34px);
  padding: 26px clamp(18px, 4vw, 58px);
  color: var(--vellum);
  background: linear-gradient(180deg, rgba(23, 21, 18, 0.74), rgba(23, 21, 18, 0));
}

.brand {
  justify-self: start;
  color: rgba(255, 250, 240, 0.88);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 30px);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.82;
}

.site-nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: var(--vellum);
}

.hero__image,
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.08);
  transform: scale(1.02);
}

.hero__scrim {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 21, 18, 0.64) 0%, rgba(23, 21, 18, 0.22) 34%, rgba(23, 21, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(23, 21, 18, 0.64), rgba(23, 21, 18, 0.14) 42%, rgba(23, 21, 18, 0.6));
}

.hero::after {
  position: absolute;
  inset: clamp(92px, 12vw, 140px) clamp(18px, 4vw, 58px) clamp(28px, 4vw, 58px);
  z-index: -1;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 250, 240, 0.26);
}

.hero__content {
  display: grid;
  justify-items: center;
  align-self: center;
  width: min(850px, calc(100% - 36px));
  padding: clamp(126px, 16vw, 190px) 0 clamp(80px, 10vw, 120px);
  margin: 0 auto;
  text-align: center;
}

.hero__kicker,
.eyebrow {
  margin: 0 0 18px;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__kicker {
  color: rgba(255, 250, 240, 0.78);
}

.hero__logo {
  display: block;
  width: clamp(190px, 22vw, 270px);
  margin: 0 auto;
  filter: drop-shadow(0 22px 54px rgba(23, 21, 18, 0.4));
}

.hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero__lead {
  max-width: 690px;
  margin: clamp(28px, 5vw, 48px) 0 0;
  color: rgba(255, 250, 240, 0.9);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.06;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  margin-top: 32px;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--light {
  color: var(--ink);
  background: var(--vellum);
  border-color: rgba(255, 250, 240, 0.74);
}

.button--dark {
  color: var(--vellum);
  background: var(--ink);
}

.button--ghost {
  color: var(--ink);
  border-color: rgba(23, 21, 18, 0.18);
  background: transparent;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 94px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  padding: clamp(82px, 12vw, 150px) 0;
  margin: 0 auto;
}

.intro__media {
  aspect-ratio: 0.82;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 18, 0.1);
  box-shadow: 0 22px 80px rgba(23, 21, 18, 0.12);
}

.intro__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.86) contrast(1.02);
}

.intro__content {
  max-width: 720px;
}

.intro h2,
.brand-links h2,
.contact-band h2,
.age-gate__panel h2 {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.5rem, 6.2vw, 5.8rem);
  font-weight: 600;
  line-height: 0.94;
}

.intro__content p:not(.eyebrow),
.contact-band p,
.age-gate__panel p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px 0 0;
  color: rgba(23, 21, 18, 0.72);
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
}

.brand-links {
  padding: clamp(66px, 9vw, 116px) 0;
  color: var(--vellum);
  background:
    linear-gradient(90deg, rgba(255, 250, 240, 0.05) 1px, transparent 1px) 0 0 / 92px 92px,
    var(--ink);
}

.brand-links__heading,
.brand-links__grid {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.brand-links h2 {
  max-width: 660px;
  color: var(--vellum);
  font-size: clamp(2.35rem, 5.2vw, 4.9rem);
}

.brand-links__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(34px, 6vw, 64px);
}

.brand-card {
  position: relative;
  isolation: isolate;
  min-height: clamp(250px, 28vw, 340px);
  overflow: hidden;
  border: 1px solid rgba(255, 250, 240, 0.18);
  background: var(--charcoal);
}

.brand-card img,
.brand-card__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
}

.brand-card img {
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transition:
    filter 240ms ease,
    transform 320ms ease;
}

.brand-card__shade {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(23, 21, 18, 0.12), rgba(23, 21, 18, 0.74)),
    linear-gradient(90deg, rgba(23, 21, 18, 0.58), rgba(23, 21, 18, 0.02));
}

.brand-card__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: inherit;
  padding: clamp(22px, 4vw, 38px);
}

.brand-card__content span:first-child {
  max-width: 320px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3.15vw, 3rem);
  font-weight: 600;
  line-height: 0.98;
}

.brand-card__content span:last-child {
  width: max-content;
  margin-top: 20px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 250, 240, 0.64);
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-card:hover img {
  filter: saturate(1) contrast(1.06);
  transform: scale(1.035);
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 92px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  padding: clamp(72px, 10vw, 132px) 0;
  margin: 0 auto;
}

.contact-band__identity {
  display: grid;
  min-height: 250px;
  place-items: center;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(23, 21, 18, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.9), rgba(238, 231, 218, 0.88)),
    var(--vellum);
}

.contact-band__identity img {
  width: min(220px, 100%);
}

.contact-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(23, 21, 18, 0.35);
  color: var(--ink);
  font-weight: 900;
}

.site-footer {
  padding: 26px 18px 34px;
  color: rgba(255, 250, 240, 0.76);
  background: var(--ink);
  text-align: center;
}

.site-footer p {
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.88rem;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(23, 21, 18, 0.78), rgba(23, 21, 18, 0.92)),
    url("https://cognac-esprit-organic.com/assets/img/brand/hero-old-vine.jpg") center / cover;
}

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

.age-gate__panel {
  width: min(590px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(24px, 5vw, 42px);
  border: 1px solid rgba(255, 250, 240, 0.38);
  background: var(--vellum);
  box-shadow: 0 30px 110px rgba(0, 0, 0, 0.38);
}

.age-gate__logo {
  width: min(140px, 46vw);
  margin: 0 0 22px;
}

.age-gate__panel h2 {
  font-size: 4rem;
  line-height: 0.95;
}

.age-gate__panel p:not(.eyebrow) {
  margin-top: 20px;
}

.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.age-gate__actions .button {
  margin-top: 0;
}

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

@media (max-width: 920px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 16px;
    background: linear-gradient(180deg, rgba(23, 21, 18, 0.72), rgba(23, 21, 18, 0));
  }

  .brand,
  .site-nav {
    grid-column: 1;
    justify-self: center;
  }

  .site-nav {
    gap: 18px;
    font-size: 0.68rem;
  }

  .intro,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .intro__media {
    aspect-ratio: 1.3;
  }

  .brand-links__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-top: 22px;
  }

  .brand {
    font-size: 0.68rem;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    gap: 12px;
  }

  .hero__content {
    width: min(100% - 28px, 850px);
    padding-top: 168px;
  }

  .hero::after {
    inset: 124px 14px 22px;
  }

  .hero__logo {
    width: min(230px, 62vw);
  }

  .age-gate__panel {
    padding: 22px;
  }

  .age-gate__logo {
    width: min(116px, 42vw);
    margin-bottom: 18px;
  }

  .age-gate__panel h2 {
    font-size: 3rem;
  }

  .intro h2,
  .brand-links h2,
  .contact-band h2 {
    font-size: clamp(2.7rem, 12vw, 4.25rem);
    line-height: 0.98;
  }

  .button {
    width: 100%;
  }

  .intro,
  .brand-links__heading,
  .brand-links__grid,
  .contact-band {
    width: min(100% - 28px, 1180px);
  }

  .brand-card {
    min-height: 286px;
  }

  .age-gate__actions {
    flex-direction: column;
  }
}
