/*
Theme Name: Imkerei Knape
Theme URI: https://imkereiknape.de/
Author: Vor Ort Check
Author URI: https://vorortcheck.de/
Description: Maßgeschneidertes, responsives WordPress-Theme für die Hobby Imkerei Knape mit Honigsorten, großer Honigkunde, Veranstaltungen und Kontaktformular.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: imkerei-knape
*/

:root {
  --forest-950: #07110d;
  --forest-900: #0b1813;
  --forest-850: #102019;
  --forest-800: #14291f;
  --gold-500: #e5a62d;
  --gold-400: #f0ba4b;
  --gold-300: #f4d28b;
  --cream-100: #f7f1e4;
  --cream-50: #fcf8ef;
  --paper: #efe4cf;
  --sage: #9cac9e;
  --ink: #182019;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: var(--font-geist-sans), "Avenir Next", Avenir, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--forest-950);
  color: var(--cream-100);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 18px;
  color: var(--forest-950);
  background: var(--gold-400);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(28px, 4vw, 68px);
  border-bottom: 1px solid rgba(229, 166, 45, 0.32);
  background: linear-gradient(180deg, rgba(4, 12, 9, 0.93), rgba(4, 12, 9, 0.56));
}

.site-header::before,
.site-header::after {
  position: absolute;
  bottom: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-500);
  content: "";
  transform: rotate(45deg);
}

.site-header::before {
  left: 31%;
}

.site-header::after {
  right: 8%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.brand__icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--gold-500);
  background: rgba(255, 255, 255, 0.03);
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.brand__icon img {
  width: 54px;
  height: 40px;
  object-fit: contain;
  filter: sepia(1) saturate(2.2) hue-rotate(350deg) brightness(1.35);
}

.brand strong {
  display: block;
  color: var(--cream-100);
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--gold-300);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 32px);
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2vw, 32px);
  color: rgba(247, 241, 228, 0.9);
  font-family: var(--serif);
  font-size: 17px;
  transition: color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--gold-400);
}

.main-nav a span {
  color: var(--gold-500);
  font-family: var(--sans);
  font-size: 10px;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(229, 166, 45, 0.55);
  background: rgba(7, 17, 13, 0.72);
}

.menu-button span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 5px auto;
  background: var(--gold-400);
}

.hero {
  position: relative;
  display: flex;
  min-height: min(900px, 100vh);
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(229, 166, 45, 0.33);
}

.hero__image,
.hero__veil,
.hero__grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  animation: hero-breathe 15s ease-in-out infinite alternate;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(3, 11, 8, 0.98) 0%, rgba(3, 11, 8, 0.91) 32%, rgba(3, 11, 8, 0.28) 63%, rgba(3, 11, 8, 0.12) 100%),
    linear-gradient(0deg, rgba(3, 11, 8, 0.82) 0%, transparent 29%);
}

.hero__grid {
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(229, 166, 45, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 166, 45, 0.28) 1px, transparent 1px);
  background-size: 27vw 100%, 100% 105px;
  mask-image: linear-gradient(90deg, black, transparent 75%);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 96px;
  padding-bottom: 132px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--gold-500);
}

.eyebrow--dark {
  color: #8d641d;
}

.hero h1 {
  max-width: 740px;
  margin: 0;
  color: #f0cb82;
  font-family: var(--serif);
  font-size: clamp(58px, 6.3vw, 94px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.97;
  text-shadow: 0 6px 45px rgba(0, 0, 0, 0.35);
  animation: rise-in 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__lead {
  max-width: 580px;
  margin: 28px 0 0;
  color: rgba(247, 241, 228, 0.74);
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.75;
  animation: rise-in 900ms 120ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
  animation: rise-in 900ms 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 26px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

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

.button--gold {
  color: #161208;
  border-color: var(--gold-400);
  background: linear-gradient(135deg, var(--gold-400), #d6911e);
  box-shadow: 0 0 28px rgba(229, 166, 45, 0.18);
}

.button--gold:hover {
  box-shadow: 0 8px 34px rgba(229, 166, 45, 0.28);
}

.button--outline {
  color: var(--gold-300);
  border-color: rgba(229, 166, 45, 0.6);
  background: rgba(3, 12, 8, 0.42);
}

.button--outline:hover {
  border-color: var(--gold-400);
  background: rgba(229, 166, 45, 0.08);
}

.button--dark-outline {
  color: var(--forest-900);
  border-color: rgba(11, 24, 19, 0.36);
  background: transparent;
}

.hex-mini {
  position: relative;
  width: 19px;
  height: 17px;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
}

.hex-mini::before,
.hex-mini::after {
  position: absolute;
  inset: 0;
  border-right: 1px solid currentColor;
  border-left: 1px solid currentColor;
  content: "";
}

.hex-mini::before {
  transform: rotate(60deg);
}

.hex-mini::after {
  transform: rotate(-60deg);
}

.bee-mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--gold-500);
  border: 1px solid currentColor;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.bee-mark__wings {
  position: absolute;
  top: 8px;
  font-size: 19px;
}

.bee-mark__body {
  position: absolute;
  bottom: 8px;
  font-size: 8px;
}

.bee-mark--small {
  width: 25px;
  height: 25px;
}

.bee-mark--small .bee-mark__wings {
  top: 3px;
  font-size: 13px;
}

.bee-mark--small .bee-mark__body {
  bottom: 3px;
  font-size: 6px;
}

.trust-bar {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 108px;
  border-top: 1px solid rgba(229, 166, 45, 0.28);
  background: linear-gradient(90deg, rgba(4, 13, 10, 0.96), rgba(7, 20, 15, 0.9));
  backdrop-filter: blur(10px);
}

.trust-bar > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-right: 1px solid rgba(229, 166, 45, 0.23);
}

.trust-bar > div:last-child {
  border-right: 0;
}

.trust-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--gold-400);
  border: 1px solid rgba(229, 166, 45, 0.45);
  font-size: 22px;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.trust-bar strong,
.trust-bar small {
  display: block;
}

.trust-bar strong {
  color: var(--cream-100);
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
}

.trust-bar small {
  margin-top: 4px;
  color: var(--sage);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hero__spark {
  position: absolute;
  z-index: 3;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold-400);
  box-shadow: 0 0 16px var(--gold-400);
  transform: rotate(45deg);
}

.hero__spark--one {
  top: 19%;
  left: 2%;
}

.hero__spark--two {
  top: 13%;
  left: 31%;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--cream {
  color: var(--ink);
  background:
    radial-gradient(circle at 11% 12%, rgba(229, 166, 45, 0.08), transparent 23%),
    var(--cream-50);
}

.section--forest {
  color: var(--cream-100);
  background:
    linear-gradient(90deg, rgba(229, 166, 45, 0.03) 1px, transparent 1px) 0 0 / 25% 100%,
    var(--forest-900);
}

.section--paper {
  color: var(--ink);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 58px;
}

.section-heading--compact {
  grid-template-columns: 1fr;
}

.section-heading h2,
.about h2,
.knowledge__head h2,
.event-card h2,
.contact__copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(45px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.section-heading > p {
  max-width: 460px;
  margin: 0 0 6px;
  color: #596157;
  font-size: 16px;
  line-height: 1.75;
}

.section-heading--light > p {
  color: var(--sage);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(24, 32, 25, 0.13);
  background: #fffdf8;
  box-shadow: 0 18px 44px rgba(45, 36, 16, 0.05);
  transition: transform 250ms ease, box-shadow 250ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 55px rgba(45, 36, 16, 0.1);
}

.product-card__image {
  position: relative;
  height: 340px;
  overflow: hidden;
  background: #d8c9ab;
}

.product-card__image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 68%, rgba(7, 17, 13, 0.54));
  content: "";
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.product-card:hover .product-card__image img {
  transform: scale(1.035);
}

.product-card__number {
  position: absolute;
  z-index: 1;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold-300);
  border: 1px solid rgba(240, 186, 75, 0.7);
  background: rgba(7, 17, 13, 0.8);
  font-size: 11px;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.product-card__season {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card__body {
  padding: 25px 26px 28px;
}

.product-card__topline {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.product-card h3 {
  margin: 0;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
}

.product-card__topline strong {
  color: #9b6c17;
  font-family: var(--serif);
  font-size: 20px;
}

.product-card__note {
  margin: 6px 0 14px !important;
  color: #9b6c17 !important;
  font-size: 10px !important;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.product-card__body > p {
  min-height: 70px;
  margin: 0;
  color: #626960;
  font-size: 14px;
  line-height: 1.65;
}

.product-card button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 15px 0 0;
  color: var(--forest-900);
  border: 0;
  border-top: 1px solid rgba(24, 32, 25, 0.12);
  background: transparent;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 600;
}

.product-card button span {
  color: #a6751b;
  transition: transform 180ms ease;
}

.product-card button:hover span {
  transform: translateX(4px);
}

.season-note {
  max-width: 680px;
  margin: 34px auto 0;
  color: #72776f;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(60px, 8vw, 118px);
  align-items: center;
}

.about__visual {
  position: relative;
  min-height: 660px;
}

.about__main-image {
  width: 78%;
  height: 610px;
  margin-left: auto;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.28);
}

.about__detail-image {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 42%;
  height: 260px;
  border: 8px solid var(--forest-900);
  object-fit: cover;
}

.about__badge {
  position: absolute;
  top: 40px;
  left: 2%;
  display: grid;
  width: 126px;
  height: 126px;
  place-items: center;
  align-content: center;
  color: var(--forest-900);
  background: var(--gold-400);
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.about__badge strong,
.about__badge small {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.about__badge span {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
}

.about__copy .lead {
  margin: 32px 0 18px;
  color: var(--cream-100);
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.55;
}

.about__copy > p:not(.eyebrow, .lead) {
  color: var(--sage);
  font-size: 15px;
  line-height: 1.8;
}

.about__copy blockquote {
  margin: 30px 0;
  padding: 18px 0 18px 25px;
  color: var(--gold-300);
  border-left: 1px solid var(--gold-500);
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
}

.text-link {
  display: inline-flex;
  gap: 28px;
  align-items: center;
  padding-bottom: 7px;
  color: var(--gold-400);
  border-bottom: 1px solid rgba(229, 166, 45, 0.5);
  font-family: var(--serif);
  font-size: 17px;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.9fr;
  grid-auto-rows: 480px;
  gap: 18px;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.03);
}

.gallery-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 42px 24px 20px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 12, 9, 0.86));
  font-family: var(--serif);
  font-size: 18px;
}

.knowledge__head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(52px, 8vw, 112px);
  align-items: end;
  margin-bottom: 52px;
}

.knowledge__head-copy > p {
  max-width: 570px;
  margin: 0;
  color: #5c635b;
  font-size: 16px;
  line-height: 1.8;
}

.knowledge-search {
  position: relative;
  z-index: 3;
  display: flex;
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 22px 28px;
  border: 1px solid rgba(132, 91, 17, 0.28);
  background: rgba(255, 253, 247, 0.64);
  box-shadow: 0 18px 50px rgba(77, 54, 16, 0.06);
}

.knowledge-search > label {
  display: grid;
  width: min(720px, 100%);
  gap: 8px;
  color: #675d4b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.knowledge-search__field {
  display: grid;
  min-height: 50px;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  border: 1px solid rgba(24, 32, 25, 0.2);
  background: rgba(255, 255, 255, 0.62);
}

.knowledge-search__field > span {
  color: #9b6c17;
  font-size: 19px;
}

.knowledge-search__field input {
  width: 100%;
  height: 46px;
  padding: 0;
  color: var(--forest-900);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
}

.knowledge-search__field input::-webkit-search-cancel-button {
  display: none;
}

.knowledge-search__field button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #80601f;
  border: 1px solid rgba(132, 91, 17, 0.25);
  background: transparent;
  cursor: pointer;
  font-size: 19px;
}

.knowledge-search__count {
  min-width: max-content;
  color: #81601c;
  font-family: var(--serif);
  font-size: 17px;
}

.knowledge__layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(40px, 6vw, 82px);
  align-items: start;
  margin-top: 38px;
}

.knowledge-menu {
  position: sticky;
  top: 28px;
  padding: 25px 22px 22px;
  color: var(--cream-100);
  background:
    linear-gradient(rgba(229, 166, 45, 0.05) 1px, transparent 1px) 0 0 / 100% 54px,
    var(--forest-900);
  box-shadow: 0 24px 55px rgba(27, 21, 9, 0.13);
}

.knowledge-menu > p {
  margin: 0 0 15px;
  color: var(--gold-400);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.knowledge-menu nav {
  display: grid;
}

.knowledge-menu button {
  display: grid;
  min-height: 57px;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 0 9px;
  color: rgba(247, 241, 228, 0.74);
  border: 0;
  border-bottom: 1px solid rgba(229, 166, 45, 0.14);
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: color 180ms ease, background 180ms ease, padding 180ms ease;
}

.knowledge-menu button:hover,
.knowledge-menu button:focus-visible,
.knowledge-menu button.knowledge-menu__active {
  padding-right: 12px;
  padding-left: 12px;
  color: var(--forest-950);
  background: var(--gold-400);
  outline: 0;
}

.knowledge-menu__number {
  color: var(--gold-400);
  font-family: var(--serif);
  font-size: 12px;
}

.knowledge-menu button:hover .knowledge-menu__number,
.knowledge-menu button:focus-visible .knowledge-menu__number,
.knowledge-menu button.knowledge-menu__active .knowledge-menu__number {
  color: var(--forest-950);
}

.knowledge-menu button > span:nth-child(2) {
  font-family: var(--serif);
  font-size: 16px;
}

.knowledge-menu button small {
  font-size: 10px;
  opacity: 0.64;
}

.knowledge-menu__tip {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(229, 166, 45, 0.26);
  background: rgba(229, 166, 45, 0.05);
}

.knowledge-menu__tip strong {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 15px;
}

.knowledge-menu__tip p {
  margin: 7px 0 0;
  color: var(--sage);
  font-size: 11px;
  line-height: 1.6;
}

.knowledge-content {
  min-width: 0;
}

.knowledge-content__heading {
  margin-bottom: 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(24, 32, 25, 0.27);
}

.knowledge-content__heading > div {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.knowledge-content__heading > div > span {
  display: grid;
  min-width: 52px;
  height: 52px;
  place-items: center;
  padding: 0 9px;
  color: var(--forest-950);
  background: var(--gold-400);
  font-family: var(--serif);
  font-size: 13px;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0 50%);
}

.knowledge-content__heading p {
  margin: 0 0 7px;
  color: #8d641d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.knowledge-content__heading h3 {
  max-width: 700px;
  margin: 0;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: clamp(23px, 2.6vw, 33px);
  font-weight: 500;
  line-height: 1.28;
}

.knowledge__fact {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px solid rgba(132, 91, 17, 0.25);
  background: rgba(255, 255, 255, 0.26);
}

.knowledge__fact p {
  margin: 0;
  color: #555c54;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.55;
}

.lexicon {
  border-top: 0;
}

.lexicon details {
  border-bottom: 1px solid rgba(24, 32, 25, 0.22);
}

.lexicon summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4px;
  cursor: pointer;
  list-style: none;
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 22px;
}

.lexicon summary::-webkit-details-marker {
  display: none;
}

.lexicon summary span:last-child {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #9b6c17;
  border: 1px solid rgba(155, 108, 23, 0.4);
  font-family: var(--sans);
  font-size: 18px;
  transition: transform 180ms ease;
}

.lexicon summary span:first-child {
  display: grid;
  gap: 4px;
}

.lexicon summary strong {
  font-weight: 500;
}

.lexicon summary small {
  color: #747a72;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 400;
}

.lexicon details[open] summary span:last-child {
  transform: rotate(45deg);
}

.lexicon details p {
  max-width: 620px;
  margin: -7px 0 24px;
  color: #626960;
  line-height: 1.75;
}

.knowledge-empty {
  padding: 44px;
  border: 1px solid rgba(132, 91, 17, 0.22);
  text-align: center;
}

.knowledge-empty strong {
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 24px;
}

.knowledge-empty p {
  color: #626960;
}

.knowledge-empty button {
  padding: 10px 15px;
  color: var(--forest-950);
  border: 0;
  background: var(--gold-400);
  cursor: pointer;
  font-weight: 700;
}

.knowledge-sources {
  margin-top: 38px;
  padding: 22px 24px;
  border: 1px solid rgba(132, 91, 17, 0.22);
  background: rgba(255, 255, 255, 0.25);
}

.knowledge-sources > strong {
  color: var(--forest-900);
  font-family: var(--serif);
  font-size: 18px;
}

.knowledge-sources > p {
  margin: 8px 0 15px;
  color: #626960;
  font-size: 12px;
  line-height: 1.65;
}

.knowledge-sources > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.knowledge-sources a {
  color: #825f1d;
  border-bottom: 1px solid rgba(130, 95, 29, 0.35);
  font-size: 11px;
}

.section--event {
  padding: 0;
  color: var(--cream-100);
  background: var(--forest-950);
}

.event-card {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: 1fr 1fr;
}

.event-card__image {
  min-height: 700px;
  background:
    radial-gradient(circle at center, rgba(255, 231, 162, 0.42), transparent 55%),
    #dfa42d;
}

.event-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-card__copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 90px max(48px, 8vw);
  background:
    radial-gradient(circle at 87% 13%, rgba(229, 166, 45, 0.13), transparent 23%),
    linear-gradient(90deg, rgba(229, 166, 45, 0.04) 1px, transparent 1px) 0 0 / 50% 100%,
    var(--forest-950);
}

.event-card__copy > p:not(.eyebrow, .event-card__hint) {
  max-width: 580px;
  color: var(--sage);
  line-height: 1.8;
}

.event-list {
  width: 100%;
  max-width: 600px;
  margin: 22px 0;
  border-top: 1px solid rgba(229, 166, 45, 0.3);
}

.event-highlight {
  display: flex;
  width: 100%;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(229, 166, 45, 0.3);
}

.event-highlight > span {
  align-self: flex-start;
  padding: 6px 9px;
  color: var(--forest-950);
  background: var(--gold-400);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-highlight strong {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 19px;
}

.event-highlight p {
  margin: 6px 0 0;
  color: var(--sage);
  font-size: 13px;
}

.event-card__hint {
  max-width: 580px;
  margin: 0 0 28px;
  color: var(--sage);
  font-size: 13px;
  line-height: 1.7;
}

.testimonials {
  overflow: hidden;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(229, 166, 45, 0.22);
  background: rgba(229, 166, 45, 0.22);
}

.testimonial-grid article {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  padding: 34px 29px;
  background: var(--forest-900);
}

.stars {
  color: var(--gold-400);
  font-size: 11px;
  letter-spacing: 0.2em;
}

.testimonial-grid blockquote {
  flex: 1;
  margin: 28px 0;
  color: var(--cream-100);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.6;
}

.testimonial-grid p {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding-top: 18px;
  color: var(--sage);
  border-top: 1px solid rgba(229, 166, 45, 0.2);
  font-size: 12px;
}

.testimonial-grid strong {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: 16px;
}

.section--contact {
  color: var(--cream-100);
  background:
    radial-gradient(circle at 10% 70%, rgba(229, 166, 45, 0.08), transparent 25%),
    var(--forest-850);
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.contact__copy > p:not(.eyebrow) {
  max-width: 480px;
  color: var(--sage);
  line-height: 1.8;
}

.contact__copy address {
  display: grid;
  gap: 17px;
  margin-top: 35px;
  font-style: normal;
}

.contact__copy address a {
  display: flex;
  gap: 16px;
  align-items: center;
  color: var(--cream-100);
  transition: color 180ms ease;
}

.contact__copy address a:hover {
  color: var(--gold-400);
}

.contact__copy address a > span:first-child {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--gold-400);
  border: 1px solid rgba(229, 166, 45, 0.37);
}

.contact-form {
  padding: 44px;
  color: var(--ink);
  background: var(--cream-50);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.23);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  color: #4b534a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid rgba(24, 32, 25, 0.22);
  border-radius: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.5);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form input {
  height: 49px;
  padding: 0 14px;
}

.contact-form textarea {
  padding: 13px 14px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(229, 166, 45, 0.12);
}

.contact-form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
}

.contact-form .consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--gold-500);
}

.contact-form > small {
  display: block;
  margin-top: 14px;
  color: #7b8079;
  font-size: 10px;
  line-height: 1.5;
}

.site-footer {
  border-top: 1px solid rgba(229, 166, 45, 0.26);
  background: #050d0a;
}

.site-footer__top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 65px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.brand--footer .brand__icon {
  width: 50px;
  height: 50px;
}

.brand--footer strong {
  font-size: 22px;
}

.site-footer__top > p {
  max-width: 540px;
  margin: 0;
  color: var(--sage);
  font-size: 13px;
  line-height: 1.6;
}

.back-to-top {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--gold-400);
  border: 1px solid rgba(229, 166, 45, 0.4);
  transition: background 180ms ease;
}

.back-to-top:hover {
  background: rgba(229, 166, 45, 0.1);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 21px;
  padding-bottom: 25px;
  color: #708078;
  border-top: 1px solid rgba(229, 166, 45, 0.16);
  font-size: 11px;
}

.site-footer__bottom nav {
  display: flex;
  gap: 24px;
}

.site-footer__bottom a:hover {
  color: var(--gold-400);
}

.modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 9, 6, 0.82);
  backdrop-filter: blur(7px);
}

.modal__dialog {
  position: relative;
  width: min(580px, 100%);
  padding: 50px;
  color: var(--ink);
  background: var(--cream-50);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  animation: modal-in 220ms ease-out both;
}

.modal__dialog::before {
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(229, 166, 45, 0.35);
  content: "";
  pointer-events: none;
}

.modal__dialog h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 600;
}

.modal__dialog > p:not(.eyebrow) {
  color: #626960;
  line-height: 1.75;
}

.modal__close {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: var(--forest-900);
  border: 1px solid rgba(24, 32, 25, 0.2);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-breathe {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.025);
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1120px) {
  .main-nav {
    gap: 15px;
  }

  .main-nav a {
    gap: 15px;
    font-size: 15px;
  }

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

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

  .knowledge__layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 42px;
  }
}

@media (max-width: 900px) {
  .shell {
    width: min(100% - 40px, 720px);
  }

  .site-header {
    position: absolute;
    min-height: 84px;
    padding: 0 20px;
  }

  .brand__icon {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 20px;
  }

  .brand small {
    font-size: 8px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 12px 20px 24px;
    visibility: hidden;
    border-bottom: 1px solid rgba(229, 166, 45, 0.32);
    background: rgba(4, 13, 10, 0.98);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .main-nav--open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    justify-content: space-between;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(229, 166, 45, 0.12);
    font-size: 17px;
  }

  .main-nav a span {
    display: none;
  }

  .hero {
    min-height: 860px;
    align-items: flex-end;
  }

  .hero__image {
    object-position: 66% center;
  }

  .hero__veil {
    background:
      linear-gradient(0deg, rgba(3, 11, 8, 0.98) 0%, rgba(3, 11, 8, 0.86) 49%, rgba(3, 11, 8, 0.28) 100%),
      linear-gradient(90deg, rgba(3, 11, 8, 0.75), transparent);
  }

  .hero__content {
    padding-top: 140px;
    padding-bottom: 150px;
  }

  .section {
    padding: 88px 0;
  }

  .section-heading,
  .about__grid,
  .knowledge__head,
  .knowledge__layout,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about__visual {
    min-height: 580px;
  }

  .about__main-image {
    height: 530px;
  }

  .knowledge-menu {
    position: static;
  }

  .knowledge-menu nav {
    grid-template-columns: 1fr 1fr;
  }

  .knowledge-menu button:nth-child(odd) {
    border-right: 1px solid rgba(229, 166, 45, 0.14);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 380px;
  }

  .gallery-grid__wide {
    grid-column: 1 / -1;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-card__image {
    min-height: 520px;
  }

  .event-card__copy {
    padding: 80px 40px;
  }
}

@media (max-width: 620px) {
  .shell {
    width: calc(100% - 32px);
  }

  .brand strong {
    font-size: 17px;
  }

  .brand small {
    display: none;
  }

  .brand__icon {
    width: 43px;
    height: 43px;
  }

  .hero {
    min-height: 830px;
  }

  .hero__content {
    padding-bottom: 224px;
  }

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

  .hero__lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero__actions,
  .modal__actions {
    display: grid;
  }

  .button {
    width: 100%;
    padding: 0 18px;
  }

  .trust-bar {
    grid-template-columns: 1fr;
    min-height: 192px;
    padding: 11px 18px;
  }

  .trust-bar > div {
    justify-content: flex-start;
    gap: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(229, 166, 45, 0.15);
  }

  .trust-bar > div:last-child {
    border-bottom: 0;
  }

  .trust-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .trust-bar strong {
    font-size: 16px;
  }

  .trust-bar small {
    display: inline;
    margin-left: 7px;
  }

  .section-heading {
    gap: 24px;
    margin-bottom: 40px;
  }

  .section-heading h2,
  .about h2,
  .knowledge__head h2,
  .event-card h2,
  .contact__copy h2 {
    font-size: 45px;
  }

  .product-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .product-card__image {
    height: 390px;
  }

  .about__visual {
    min-height: 470px;
  }

  .about__main-image {
    width: 86%;
    height: 440px;
  }

  .about__detail-image {
    width: 46%;
    height: 180px;
    border-width: 5px;
  }

  .about__badge {
    width: 94px;
    height: 94px;
  }

  .about__badge span {
    font-size: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 340px;
  }

  .gallery-grid__wide {
    grid-column: auto;
  }

  .knowledge__head {
    gap: 28px;
    margin-bottom: 35px;
  }

  .knowledge-search {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
  }

  .knowledge-search__count {
    min-width: 0;
    font-size: 14px;
  }

  .knowledge__layout {
    gap: 30px;
  }

  .knowledge-menu {
    margin-right: -16px;
    margin-left: -16px;
    padding: 20px 16px;
  }

  .knowledge-menu nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
  }

  .knowledge-menu button {
    min-width: 190px;
    border-right: 1px solid rgba(229, 166, 45, 0.14);
    scroll-snap-align: start;
  }

  .knowledge-menu__tip {
    display: none;
  }

  .knowledge-content__heading > div {
    gap: 12px;
  }

  .knowledge-content__heading > div > span {
    min-width: 44px;
    height: 44px;
  }

  .lexicon summary {
    gap: 14px;
    font-size: 20px;
  }

  .knowledge-sources > div {
    display: grid;
  }

  .event-card__image {
    min-height: 420px;
  }

  .event-card__copy {
    padding: 70px 22px;
  }

  .event-highlight {
    display: grid;
  }

  .testimonial-grid article {
    min-height: 300px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer__top {
    grid-template-columns: 1fr auto;
    gap: 28px;
  }

  .site-footer__top > p {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .modal__dialog {
    padding: 42px 24px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* WordPress integration */
[hidden] {
  display: none !important;
}

.admin-bar .site-header {
  top: 32px;
}

body:not(.home) .site-header {
  position: relative;
  background: var(--forest-950);
}

.brand__icon .custom-logo {
  width: 54px;
  height: 40px;
  object-fit: contain;
}

.contact-notice {
  margin: 0 0 22px;
  padding: 14px 16px;
  border: 1px solid rgba(229, 166, 45, 0.45);
  line-height: 1.55;
}

.contact-notice--success {
  color: #234a35;
  background: #e4f1e7;
}

.contact-notice--error {
  color: #702d22;
  background: #f8e4df;
}

.contact-form__website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.standard-content {
  min-height: 60vh;
  padding: 90px 0;
  color: var(--ink);
  background: var(--cream-50);
}

.standard-content article {
  max-width: 820px;
  margin: 0 auto;
}

.standard-content h1,
.standard-content h2,
.standard-content h3 {
  color: var(--forest-900);
  font-family: var(--serif);
  font-weight: 500;
}

.standard-content h1 {
  margin-top: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
}

.standard-content p,
.standard-content li {
  color: #555e56;
  line-height: 1.8;
}

.standard-content a {
  color: #8d641d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pagination {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 32, 25, 0.2);
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
