/* Self-hosted webfonts (avoid external Google Fonts dependency) */
@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/special-elite/special-elite-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Special Elite";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/special-elite/special-elite-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Biloxi Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/biloxi-script/biloxi-script.ttf") format("truetype");
}

:root {
  --bg: #f7f2e8;
  --text: #3a3026;
  --muted: #5b4f42;
  --line: rgba(58, 48, 38, 0.14);
  --accent: #b8872f;
  --accent-dark: #8d6620;
  --shadow: 0 18px 50px rgba(45, 38, 29, 0.08);
  --radius: 24px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.js {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(184, 135, 47, 0.12), transparent 28%),
    linear-gradient(180deg, #f9f5ed 0%, var(--bg) 100%);
  line-height: 1.9;
  letter-spacing: 0.01em;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

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

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

.bee-plate {
  position: fixed;
  top: calc(50% + 2.5rem);
  right: -12rem;
  transform: translateY(-50%);
  width: min(82vw, 880px);
  opacity: 0.11;
  pointer-events: none;
  z-index: 1;
  filter: grayscale(100%) sepia(12%) contrast(90%) brightness(100%);
  mix-blend-mode: multiply;
}

.wrap {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(249, 245, 237, 0.72);
  border-bottom: 1px solid rgba(45, 38, 29, 0.06);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Special Elite", monospace;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 2.15rem;
  min-width: 2.45rem;
  padding: 0 0.72rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.lang-button span {
  display: block;
  transform: translateY(0.06em);
}

.lang-button:hover {
  color: var(--text);
}

.lang-button.is-active {
  color: var(--text);
  border-color: rgba(184, 135, 47, 0.35);
  box-shadow: 0 6px 18px rgba(184, 135, 47, 0.16);
}

.eyebrow,
.product-kicker,
h1,
h2 {
  font-family: "Special Elite", monospace;
}

.brand {
  display: inline-block;
  font-family: "Biloxi Script", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.35rem, 3.6vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--muted);
  white-space: nowrap;
  padding: 0.36em 0 0.04em;
}

.brand-text {
  display: block;
  transform: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.nav a {
  position: relative;
  padding: 0 0.4rem;
  font-size: 1rem;
  color: var(--muted);
}

.nav a:not(:last-child)::after {
  content: "\00b7";
  position: absolute;
  right: -0.6rem;
  color: var(--muted);
  opacity: 0.6;
}

.nav a:hover,
.contact-chip:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fffaf2;
  font-size: 1rem;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 8px 24px rgba(184, 135, 47, 0.24);
}

.button:hover {
  transform: translateY(-1px);
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  position: relative;
  z-index: 2;
  padding: 8.5rem 0 6.5rem;
}

.hero-shell {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.hero-copy {
  max-width: 48rem;
  padding: 2.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  line-height: 1;
  text-align: center;
}

h1,
h2 {
  margin: 0;
  line-height: 1.1;
  font-weight: 400;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.01em;
  max-width: 100%;
  word-break: break-word;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}

.lead {
  max-width: 42rem;
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.rule-wrap {
  position: relative;
  z-index: 2;
  padding: 1.75rem 0;
}

.rule {
  width: 100%;
  max-width: 110px;
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, rgba(58, 48, 38, 0.22), transparent);
}

section {
  position: relative;
  z-index: 2;
  padding: 3.5rem 0 4.75rem;
}

.intro {
  max-width: 44rem;
  text-align: center;
}

.intro p {
  font-size: 1.16rem;
}

.intro .intro-lead {
  font-family: "Special Elite", monospace;
  font-size: clamp(1.18rem, 2vw, 1.45rem);
  letter-spacing: 0.01em;
  line-height: 1.6;
}

.intro p + p {
  margin-top: 1.1rem;
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.product {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 18px 50px rgba(45, 38, 29, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(10px) saturate(108%);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.product-media {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background-image: url("../images/spring-and-summer-honey.png");
  background-repeat: no-repeat;
  background-size: 200% auto;
  opacity: 0.72;
  transition: background-size 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
}

.product-media-spring {
  background-position: left center;
}

.product-media-summer {
  background-position: right center;
}

.product:hover {
  transform: translateY(-6px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.14));
  border-color: rgba(184, 135, 47, 0.28);
  box-shadow:
    0 24px 60px rgba(45, 38, 29, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.product:hover .product-media {
  background-size: 212% auto;
  filter: saturate(1.04) contrast(1.02);
  opacity: 1;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 2.4rem 2.4rem 2.5rem;
}

.product-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.product h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

.product p {
  max-width: 30rem;
  font-size: 1.12rem;
  color: var(--muted);
}

.product-list {
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0.6rem;
  display: grid;
  gap: 0.55rem;
}

.product-list li::before {
  content: "\2022";
  color: var(--accent);
  margin-right: 0.6rem;
}

.contact {
  padding-top: 3.75rem;
  padding-bottom: 6rem;
}

.contact-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  border-radius: 30px;
  padding: 2.8rem 2.4rem 2.9rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow:
    0 18px 50px rgba(45, 38, 29, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(10px) saturate(108%);
}

.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.1rem;
}

.contact-card p {
  max-width: 36rem;
  margin: 0 auto;
  font-size: 1.15rem;
  color: var(--muted);
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.22);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.contact-chip svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: currentColor;
  opacity: 0.82;
}

footer {
  position: relative;
  z-index: 2;
  padding: 0 0 6rem;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

footer p {
  margin: 0;
}

footer p:first-child {
  font-weight: 700;
}

footer p + p {
  margin-top: 0.6rem;
}

.footer-flag {
  display: inline-block;
  width: 18px;
  height: 12px;
  margin: 0 5px;
  vertical-align: -1px;
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 0 29%, #f4d45e 29% 41%, transparent 41% 100%),
    linear-gradient(180deg, transparent 0 39%, #f4d45e 39% 61%, transparent 61% 100%),
    #346b9a;
  box-shadow: 0 0 0 1px rgba(255, 244, 239, 0.26);
}

@media (max-width: 1100px) {
  .bee-plate {
    top: calc(50% + 2.75rem);
    right: -10rem;
    width: 110vw;
    opacity: 0.085;
  }
}

@media (max-width: 960px) {
  .products {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 4.5rem;
  }

  .bee-plate {
    position: fixed !important;
    width: 220vw !important;
    height: auto !important;
    max-width: none !important;
    right: -104vw !important;
    left: auto !important;
    top: calc(50% + 3.25rem) !important;
    transform: translateY(-50%) !important;
    opacity: 0.07 !important;
  }
}

@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 0.8rem 0;
  }

  .lang-switch {
    margin-top: 0.25rem;
  }

  .brand {
    font-size: clamp(2rem, 9vw, 2.5rem);
    text-align: center;
    padding: 0.32em 0 0.05em;
  }

  .brand-text {
    transform: none;
  }

  .nav {
    gap: 0.55rem;
    justify-content: center;
  }

  .nav a {
    font-size: 0.95rem;
    padding: 0 0.28rem;
  }

  .nav a:not(:last-child)::after {
    right: -0.38rem;
    opacity: 0.38;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 3.75rem;
  }

  section {
    padding: 2.75rem 0 3.5rem;
  }

  .rule-wrap {
    padding: 1.25rem 0;
  }

  .product-body,
  .contact-card {
    padding: 1.6rem;
  }

  .contact-meta {
    gap: 0.75rem;
  }

  .bee-plate {
    display: block;
    position: fixed !important;
    width: 220vw !important;
    height: auto !important;
    max-width: none !important;
    right: -104vw !important;
    left: auto !important;
    top: calc(50% + 4rem) !important;
    transform: translateY(-50%) !important;
    opacity: 0.07 !important;
  }
}
