:root {
  --navy: #031d36;
  --navy-deep: #001326;
  --cream: #f7f0df;
  --gold: #d7ad61;
  --gold-light: #f2d995;
  --ink: #082b4c;
  --red: #d4381f;
  --orange: #e78a19;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--cream);
  background: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.site-header {
  height: 116px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 0 clamp(28px, 6vw, 92px);
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
}
.brand { align-self: start; width: 160px; }
.brand img { width: 100%; }
.site-header nav { display: flex; justify-content: center; gap: clamp(24px, 4vw, 56px); }
.site-header nav a, footer nav a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease;
}
.site-header nav a:hover, footer nav a:hover { color: var(--gold-light); }
.menu-toggle { display: none; }

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 32px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  color: var(--gold-light);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 12px;
  font-weight: 700;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.button:hover { background: var(--gold); color: var(--navy-deep); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 0 24px; }
.button svg { width: 18px; height: 18px; fill: currentColor; }

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(460px, 1.08fr);
  align-items: center;
  padding: 120px clamp(28px, 7vw, 110px) 66px;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 77% 76%, rgba(214,151,46,.22), transparent 27%),
    radial-gradient(circle at 20% 10%, #0a3b66 0, transparent 45%),
    linear-gradient(115deg, #061f39 0%, #021a30 63%, #001225 100%);
}
.hero::after, .journey::before, footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.3'/%3E%3C/svg%3E");
}
.hero-copy { position: relative; z-index: 2; max-width: 610px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
}
.eyebrow.dark { color: #a7772f; }
.hero h1, .section-heading h2, .actions h2, .catalog-link h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 670px;
  font-size: clamp(56px, 6.25vw, 96px);
  line-height: .97;
  letter-spacing: -.035em;
}
.tagline {
  margin: 30px 0 38px;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  letter-spacing: .42em;
  text-transform: uppercase;
}
.hero-art {
  width: min(100%, 690px);
  aspect-ratio: 420 / 402;
  justify-self: end;
  position: relative;
  z-index: 1;
  background: url('assets/hero-wafer-reference.png') center/contain no-repeat;
  filter: saturate(.96) contrast(1.04);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 100%);
}

.products {
  color: var(--ink);
  padding: 80px clamp(24px, 6vw, 88px) 64px;
  background:
    radial-gradient(circle at 50% -20%, #fff 0%, transparent 54%),
    linear-gradient(135deg, #fbf7ec, #f1e7d1);
}
.section-heading { max-width: 860px; margin: 0 auto 46px; text-align: center; }
.section-heading h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  font-size: clamp(34px, 4.3vw, 62px);
  letter-spacing: .08em;
}
.section-heading h2 span { width: min(13vw, 160px); height: 1px; background: #bd8734; }
.section-heading > p:last-child { margin: 16px auto 0; max-width: 620px; font-family: Georgia, serif; font-size: 18px; line-height: 1.6; }
.flavor-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 42px);
}
.flavor-card { text-align: center; text-decoration: none; transition: transform .3s ease; }
.flavor-card:hover { transform: translateY(-7px); }
.flavor-card img { width: 100%; aspect-ratio: 210/255; object-fit: cover; mix-blend-mode: multiply; }
.flavor-card span {
  display: inline-block;
  margin-top: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c38c3c;
  font-family: Georgia, serif;
  font-size: 18px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.catalog-link {
  width: min(100%, 1040px);
  margin: 64px auto 0;
  padding: 28px 0;
  border-top: 1px solid rgba(8,43,76,.28);
  border-bottom: 1px solid rgba(8,43,76,.28);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}
.catalog-link .eyebrow { margin-bottom: 10px; }
.catalog-link h3 { font-size: clamp(24px, 3vw, 36px); letter-spacing: .03em; text-transform: none; }
.text-link, .journey-link {
  flex: none;
  color: #8e6126;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  padding-bottom: 7px;
  border-bottom: 1px solid currentColor;
}

.journey {
  position: relative;
  padding: 72px 0 58px;
  overflow: hidden;
  text-align: center;
  background: linear-gradient(135deg, #031d36, #001326);
}
.journey > * { position: relative; z-index: 1; }
.section-heading.inverse { margin-bottom: 36px; }
.section-heading.inverse h2 { color: var(--cream); }
.section-heading.inverse h2 span { background: var(--gold); }
.section-heading.inverse > p:last-child { color: #efe3c7; }
.journey-image {
  width: 100%;
  min-height: 350px;
  background: url('assets/journey-cities.png') center/cover no-repeat;
  border-top: 1px solid rgba(215,173,97,.65);
  border-bottom: 1px solid rgba(215,173,97,.65);
}
.journey-link { display: inline-block; margin-top: 34px; color: var(--gold-light); }

.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
}
.actions article {
  min-height: 455px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 28px;
  text-align: center;
}
.actions article + article { border-left: 1px solid var(--gold); }
.icon-circle {
  width: 82px; height: 82px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
}
.icon-circle svg { width: 34px; height: 34px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.actions h2 { margin: 25px 0 12px; font-size: clamp(32px, 3.8vw, 52px); letter-spacing: .05em; }
.actions p { margin: 0 0 28px; color: #c7d0da; font-family: Georgia, serif; font-size: 16px; }

footer {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  padding: 40px clamp(28px, 6vw, 78px) 54px;
  border-top: 1px solid var(--gold);
  background: linear-gradient(145deg, #031d36, #001326);
}
footer > * { position: relative; z-index: 1; }
.footer-main { display: grid; grid-template-columns: 170px 1fr auto; align-items: center; gap: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--gold); }
.footer-brand img { width: 150px; }
footer nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.footer-main strong { color: var(--gold-light); letter-spacing: .22em; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 38px; color: var(--gold-light); text-transform: uppercase; letter-spacing: .22em; font-size: 11px; }
.footer-bottom span:last-child { color: #93a5b7; letter-spacing: .08em; text-transform: none; }
.stripes { position: absolute; right: 7%; bottom: 0; z-index: 0; display: flex; height: 115px; }
.stripes i { display: block; width: 34px; }
.stripes i:nth-child(1) { background: linear-gradient(#5e0c07, var(--red)); }
.stripes i:nth-child(2) { background: #001326; }
.stripes i:nth-child(3) { background: linear-gradient(#6c2905, var(--orange)); }

@media (max-width: 950px) {
  .site-header { height: 94px; grid-template-columns: 130px 1fr auto; padding: 0 24px; }
  .brand { width: 125px; }
  .site-header nav { gap: 18px; }
  .site-header nav a { font-size: 10px; letter-spacing: .12em; }
  .header-cta { display: none; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 650px; padding: 120px 32px 54px; }
  .hero h1 { font-size: clamp(47px, 7vw, 68px); }
  .journey-image { min-height: 290px; }
}

@media (max-width: 700px) {
  .site-header { position: absolute; grid-template-columns: 118px 1fr; }
  .brand { width: 112px; }
  .menu-toggle {
    display: flex; flex-direction: column; gap: 5px; justify-self: end;
    width: 42px; height: 42px; padding: 10px; border: 1px solid var(--gold);
    border-radius: 50%; background: rgba(0,19,38,.55); color: white;
  }
  .menu-toggle span:not(.sr-only) { height: 1px; width: 100%; background: var(--gold-light); transition: transform .2s ease; }
  .site-header nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 14px 0 22px;
    background: rgba(0,19,38,.96);
    border: 1px solid rgba(215,173,97,.5);
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { width: 100%; padding: 13px; text-align: center; font-size: 11px; }
  .hero { min-height: 740px; grid-template-columns: 1fr; align-content: start; padding: 145px 24px 0; text-align: center; }
  .hero-copy { margin: 0 auto; }
  .hero h1 { font-size: clamp(48px, 15vw, 68px); }
  .tagline { font-size: 14px; letter-spacing: .3em; }
  .hero-art { width: min(100%, 500px); margin: 28px auto 0; mask-image: linear-gradient(to bottom, transparent 0%, black 11%, black 100%); }
  .products { padding: 64px 18px 50px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2 { gap: 12px; }
  .section-heading h2 span { width: 34px; }
  .section-heading > p:last-child { font-size: 16px; }
  .flavor-grid { grid-template-columns: 1fr 1fr; gap: 34px 12px; }
  .flavor-card span { font-size: 14px; letter-spacing: .12em; }
  .catalog-link { align-items: flex-start; flex-direction: column; margin-top: 48px; }
  .journey { padding-top: 60px; }
  .journey-image { min-height: 220px; background-size: auto 100%; }
  .actions { grid-template-columns: 1fr; }
  .actions article { min-height: 400px; }
  .actions article + article { border-left: 0; border-top: 1px solid var(--gold); }
  .footer-main { grid-template-columns: 1fr; justify-items: start; }
  footer nav { flex-wrap: wrap; gap: 18px 28px; }
  .footer-bottom { flex-direction: column; padding-right: 70px; }
  .stripes { right: 4%; }
}

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

/* Phone layout and touch targets */
@media (max-width: 700px) {
  .site-header { height: 86px; padding-inline: 20px; }
  .site-header .menu-toggle { width: 48px; height: 48px; padding: 13px; cursor: pointer; }
  .site-header nav { position: absolute; top: 80px; left: 16px; right: 16px; padding: 8px 0; border-radius: 8px; box-shadow: 0 12px 30px #0008; }
  .site-header nav a { min-height: 48px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
  .hero { min-height: 0; padding: 126px 20px 36px; }
  .hero h1 { font-size: clamp(40px, 12vw, 62px); overflow-wrap: anywhere; }
  .hero .eyebrow { line-height: 1.7; letter-spacing: .22em; }
  .tagline { line-height: 1.6; margin: 24px 0 28px; }
  .hero-art { width: min(100%, 390px); margin-top: 24px; }
  .section-heading h2 { font-size: clamp(30px, 8vw, 48px); line-height: 1.15; letter-spacing: .04em; }
  .section-heading h2 span { flex: 0 0 18px; }
  .flavor-card { min-width: 0; }
  .flavor-card span { min-height: 44px; display: inline-flex; align-items: center; margin-top: 8px; }
  .text-link, .journey-link { min-height: 44px; display: inline-flex; align-items: center; }
  footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 360px) {
  .hero h1 { font-size: 38px; }
  .section-heading h2 span { display: none; }
  .flavor-card span { font-size: 13px; }
}

/* Keep the entire journey illustration visible at every screen width. */
.journey .journey-image {
  width: 100%;
  min-height: 0;
  aspect-ratio: 2172 / 724;
  margin-inline: auto;
  background-size: 100% 106%;
  background-position: center;
}

/* Header badge: flag-free and vertically centered. */
.site-header .brand { align-self: center; }
.site-header .brand img { width: 100%; height: auto; }

/* Keep the featured heading on one line on desktop. */
@media (min-width: 701px) {
  .products .section-heading { max-width: 1200px; }
  .products .section-heading h2 { font-size: clamp(30px, 3.2vw, 48px); letter-spacing: .04em; gap: 18px; white-space: nowrap; }
  .products .section-heading h2 span { flex: 1 1 0; min-width: 15px; max-width: 140px; }
}

/* Blend all sides of the hero artwork into the surrounding navy. */
.hero .hero-art {
  -webkit-mask-image: radial-gradient(ellipse 74% 68% at 48% 50%, #000 52%, transparent 100%);
  mask-image: radial-gradient(ellipse 74% 68% at 48% 50%, #000 52%, transparent 100%);
}

/* Transparent product image leaves the cup intact and shows the hero background. */
.hero .hero-art {
  background: url('assets/hero-wafer-crumbs-full.png') center / contain no-repeat;
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, .25));
}

/* Prominent header logo with responsive spacing. */
@media (min-width: 951px) { .site-header { grid-template-columns: 220px 1fr auto; gap: 24px; } .site-header .brand { width: 210px; } }
@media (min-width: 701px) and (max-width: 950px) { .site-header .brand { width: 155px; } .site-header { grid-template-columns: 155px 1fr auto; } }
@media (max-width: 700px) { .site-header .brand { width: 145px; } .site-header { grid-template-columns: 145px 1fr; } }

/* Match the Products page tricolor beneath the hero. */
.hero { border-bottom:5px solid transparent;border-image:linear-gradient(90deg,#ae2331 0 33%,#285e9d 33% 66%,#e4a34b 66%) 1; }

/* Clear, two-line location labels on small screens. */
.journey-locations { display: none; }
@media (max-width: 700px) {
  .site-header .brand { transform: translateY(6px); }
  .journey .journey-image { background-image: url('assets/journey-mobile.png'); }
  .journey-locations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 15px 8px 0; color: #f7f0df; text-align: center; font: 600 clamp(13px, 3.5vw, 16px)/1.3 Georgia, serif; }
  .journey-locations small { display: inline-block; color: #e7c87f; font: 12px/1.4 Arial, sans-serif; letter-spacing: .03em; }
  .journey .journey-link { margin-top: 18px; }
}

/* Align the desktop badge with the navigation and store button. */
@media (min-width: 701px) {
  .site-header .brand { transform: translateY(10px); }
}

/* Give the journey section more breathing room on phones. */
@media (max-width: 700px) {
  .journey { padding: 56px 0 48px; }
  .journey .section-heading.inverse { padding: 0 24px; margin-bottom: 28px; }
  .journey .section-heading > p:last-child { max-width: 320px; margin: 14px auto 0; line-height: 1.65; text-wrap: balance; }
  .journey .journey-image { width: calc(100% - 32px); max-width: 600px; border: 1px solid rgba(215,173,97,.5); border-radius: 4px; }
  .journey-locations { max-width: 600px; margin: 0 auto; padding: 14px 16px 0; }
  .journey .journey-link { margin-top: 22px; }
}

/* Journey artwork and labels at phone size. */
.journey-country { display: none; }
.journey .journey-image { border: 0; border-top: 4px solid #fff; border-bottom: 4px solid #fff; border-radius: 0; }
.hero .hero-copy > .eyebrow { white-space: nowrap; font-size: clamp(8px, .78vw, 11px); letter-spacing: .06em; }
@media (max-width: 700px) {
  .hero .hero-copy > .eyebrow { font-size: clamp(6.5px, 2vw, 10px); letter-spacing: .01em; line-height: 1.6; }
  .journey .journey-image { width: 100%; max-width: none; margin: 0; border: 0; border-top: 4px solid #fff; border-bottom: 4px solid #fff; border-radius: 0; }
  .journey-locations { display: none; }
  .journey-country { display: block; position: absolute; top: 67%; transform: translate(-50%, -100%); color: white; font: 600 clamp(10px, 3vw, 16px)/1 Georgia, serif; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 1px 4px #000, 0 1px 8px #000; white-space: nowrap; }
  .country-armenia { left: 15.8%; }
  .country-georgia { left: 50%; }
  .country-usa { left: 84.2%; }
}
