:root {
  --ink: #20160f;
  --soil: #5b3824;
  --leaf: #256d4f;
  --moss: #9cb546;
  --squash: #f26c2d;
  --gold: #ffc94a;
  --cream: #fff8e8;
  --paper: #fffdf5;
  --rose: #e85d75;
  --blue: #4b7f9f;
  --line: rgba(32, 22, 15, 0.16);
  --shadow: 0 18px 50px rgba(32, 22, 15, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8edd1;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

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

[hidden] {
  display: none !important;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 4px clamp(16px, 3vw, 40px);
  background:
    linear-gradient(90deg, rgba(255, 244, 209, 0.97), rgba(255, 250, 232, 0.93)),
    radial-gradient(circle at 8% 50%, rgba(242, 108, 45, 0.22), transparent 24%);
  border-bottom: 0;
  backdrop-filter: blur(18px);
}

.site-header::after,
.ticker::before,
.ticker::after,
.feature-band::before,
.feature-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  pointer-events: none;
  background: var(--ink);
  opacity: 0.9;
}

.site-header::after {
  bottom: -3px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.brand-logo {
  width: 141px;
  height: 103px;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(2px 3px 0 rgba(32, 22, 15, 0.2));
}

.brand-wordmark {
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.44rem, 2vw, 2.05rem);
  font-weight: 900;
  line-height: 0.92;
  color: var(--ink);
  text-shadow: 1px 1px 0 rgba(242, 108, 45, 0.82), 3px 3px 0 rgba(242, 108, 45, 0.16);
}

@media (min-width: 821px) {
  .site-header {
    min-height: 82px;
  }

  .brand {
    position: relative;
    min-width: 300px;
    height: 74px;
    padding-left: 146px;
  }

  .brand-logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}

.site-nav {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.header-actions {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a,
.nav-toggle,
.button,
.filter-buttons button,
.modal-close,
.call-button {
  min-height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  min-height: 36px;
  padding: 7px 15px;
  background: var(--paper);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: var(--ink);
  background: rgba(255, 201, 74, 0.62);
  border: 1px solid var(--ink);
  border-radius: 50%;
  box-shadow: 2px 2px 0 rgba(238, 111, 45, 0.42);
}

.nav-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-nav a:hover,
.filter-buttons button:hover,
.filter-buttons button.active {
  color: var(--ink);
  background: var(--gold);
  box-shadow: 3px 3px 0 var(--squash);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  padding: 8px 14px;
  color: var(--ink);
  background: var(--gold);
}

.call-button {
  display: inline-grid;
  align-content: center;
  min-width: 166px;
  padding: 7px 16px;
  color: var(--ink);
  background: var(--squash);
  box-shadow: 4px 4px 0 var(--ink);
  line-height: 1.05;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.call-button:hover {
  background: var(--gold);
  transform: translateY(-2px);
  box-shadow: 5px 6px 0 var(--ink);
}

.call-button span {
  font-size: 0.7rem;
  text-transform: uppercase;
}

.call-button strong {
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100vh - 108px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 330px);
  align-items: center;
  gap: clamp(18px, 4vw, 48px);
  padding: clamp(18px, 4vw, 52px) clamp(16px, 4vw, 56px) clamp(26px, 5vw, 64px);
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(32, 22, 15, 0.88), rgba(32, 22, 15, 0.45) 48%, rgba(32, 22, 15, 0.7));
}

.hero-media {
  position: absolute;
  inset: -12% 0;
  transform: translate3d(0, var(--hero-parallax, 0px), 0);
  will-change: transform;
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroSwap 18s infinite;
}

.hero-media img:nth-child(1) {
  opacity: 1;
}

.hero-media img:nth-child(2) {
  animation-delay: 6s;
}

.hero-media img:nth-child(3) {
  animation-delay: 12s;
}

@keyframes heroSwap {
  0%, 28% { opacity: 1; transform: scale(1); }
  34%, 94% { opacity: 0; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}

.hero-content,
.hero-card {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--squash);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  max-width: 980px;
  font-size: clamp(3rem, 7.1vw, 6.65rem);
  line-height: 0.9;
  letter-spacing: 0;
  font-weight: 900;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 5.5vw, 5.3rem);
}

h3 {
  font-size: 1.1rem;
  line-height: 1.1;
  text-wrap: balance;
}

.hero-copy {
  max-width: 720px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1rem, 1.45vw, 1.18rem);
}

.hero-actions,
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 5px 5px 0 var(--squash);
}

.button:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
}

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

.button-light {
  color: var(--ink);
  background: var(--gold);
}

.hero-actions .button-dark {
  background: var(--squash);
  box-shadow: 5px 5px 0 var(--ink);
}

.hero-actions .button-light {
  background: var(--paper);
}

.hero-card {
  padding: 16px;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
}

.hero-card span,
.tool-card span,
.status-pill {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 5px 10px;
  color: var(--paper);
  background: var(--leaf);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  font-size: 1.18rem;
  line-height: 1.05;
}

.hero-card p {
  margin: 9px 0 0;
  font-size: 0.92rem;
}

.ticker {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  overflow: hidden;
  justify-content: center;
  color: var(--ink);
  background: var(--moss);
  border-block: 0;
  padding: 12px clamp(12px, 3vw, 24px);
}

.ticker::before {
  top: -3px;
}

.ticker::after {
  bottom: -3px;
}

.ticker span {
  flex: 0 1 auto;
  color: rgba(32, 22, 15, 0.84);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker span + span::before {
  content: "/";
  margin-right: 18px;
  color: rgba(32, 22, 15, 0.32);
}

.section-pad {
  padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 56px);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.76fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 233, 184, 0.72)),
    radial-gradient(circle at 92% 18%, rgba(156, 181, 70, 0.16), transparent 28%);
}

.story-copy {
  max-width: 700px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.06rem;
}

.story-image {
  grid-column: 1 / 2;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.story-copy {
  grid-column: 2 / 3;
  grid-row: 1 / span 2;
  padding-top: 34px;
}

.family-accent {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  max-width: 520px;
  margin-top: 24px;
  padding: 16px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(32, 22, 15, 0.18);
}

.accent-pumpkin {
  grid-row: 1 / span 2;
  width: 58px;
  height: 48px;
  background: var(--squash);
  border: 2px solid var(--ink);
  border-radius: 48% 48% 42% 42%;
  box-shadow: inset 12px 0 0 rgba(255, 201, 74, 0.28), inset -12px 0 0 rgba(32, 22, 15, 0.12);
}

.accent-pumpkin::before {
  content: "";
  display: block;
  width: 12px;
  height: 13px;
  margin: -12px auto 0;
  background: var(--leaf);
  border: 2px solid var(--ink);
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.family-accent strong,
.family-accent small {
  display: block;
}

.family-accent small {
  color: var(--soil);
  font-weight: 800;
}

.feature-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(24px, 5vw, 60px);
  padding: clamp(48px, 8vw, 96px) clamp(16px, 4vw, 56px);
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(32, 22, 15, 0.88), rgba(32, 22, 15, 0.52)),
    url("assets/img/hero_bg_9.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  border-block: 0;
  overflow: hidden;
}

.feature-band::before {
  top: -3px;
}

.feature-band::after {
  bottom: -3px;
}

.feature-band .eyebrow {
  color: var(--gold);
}

.feature-band h2 {
  color: var(--paper);
  text-shadow: 0 2px 22px rgba(32, 22, 15, 0.38);
}

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

.tool-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px 14px;
  align-content: start;
  position: relative;
  overflow: hidden;
}

.tool-card,
.logistics-grid article,
.contact-list article,
.invoice-panel {
  padding: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 5px 5px 0 rgba(32, 22, 15, 0.18);
}

.tool-card:nth-child(2) span {
  background: var(--squash);
}

.tool-card:nth-child(3) span {
  background: var(--blue);
}

.tool-card span {
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin: 0;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.tool-card::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 82px;
  height: 82px;
  background: rgba(255, 201, 74, 0.15);
  border: 2px dashed rgba(32, 22, 15, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.tool-card strong,
.tool-card p {
  grid-column: 1 / -1;
}

.tool-card strong {
  grid-column: 2;
}

.tool-card strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.08;
}

.tool-card p {
  margin: 0;
  color: var(--soil);
}

.tool-icon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 64px;
  height: 64px;
  opacity: 0.3;
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.4px;
  z-index: 1;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 18px;
}

.gallery-section .section-heading {
  margin-bottom: 12px;
}

.gallery-section {
  background:
    linear-gradient(180deg, rgba(255, 253, 245, 0.98), rgba(255, 242, 205, 0.74)),
    radial-gradient(circle at 8% 8%, rgba(238, 111, 45, 0.12), transparent 26%);
}

.section-heading p:last-child {
  max-width: 620px;
  font-family: "Libre Baskerville", Georgia, serif;
}

.compact {
  display: block;
  max-width: 940px;
}

.gallery-controls {
  position: sticky;
  top: 92px;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 14px;
  padding: 14px;
  margin-bottom: 14px;
  background: rgba(255, 253, 245, 0.92);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.search-box {
  display: grid;
  gap: 5px;
  font-weight: 900;
}

.search-box span,
form label span {
  font-size: 0.78rem;
  text-transform: uppercase;
}

.search-box input,
form input,
form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.search-box input:focus,
form input:focus,
form textarea:focus {
  outline: 3px solid rgba(255, 201, 74, 0.74);
  outline-offset: 2px;
}

.filter-buttons {
  align-content: end;
  align-items: end;
}

.filter-buttons button {
  padding: 8px 12px;
  color: var(--ink);
  background: var(--paper);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.filter-buttons button.active {
  background: var(--squash);
  box-shadow: 3px 3px 0 var(--ink);
}

.gallery-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--soil);
}

.gallery-meta strong {
  color: var(--ink);
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  color: var(--ink);
  text-align: left;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 5px 5px 0 rgba(32, 22, 15, 0.15);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 7px 8px 0 rgba(32, 22, 15, 0.2);
}

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

.product-image-wrap,
.modal-image-wrap {
  position: relative;
  display: block;
}

.product-image-wrap {
  overflow: hidden;
  background: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 0.78;
  object-fit: cover;
  background: var(--cream);
  transition: transform 220ms ease;
}

.availability-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  color: #fffdf5;
  background: #c9362f;
  border: 2px solid var(--paper);
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.product-card-body {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 14px;
  min-height: 100%;
}

.product-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--soil);
  font-size: 0.9rem;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.catalog-summary {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 4px 7px;
  color: var(--ink);
  background: rgba(238, 111, 45, 0.18);
  border: 1px solid rgba(32, 22, 15, 0.28);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
}

.card-action {
  align-self: end;
  display: inline-flex;
  width: fit-content;
  margin-top: auto;
  padding: 5px 9px;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid rgba(32, 22, 15, 0.36);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  color: var(--soil);
  background: var(--cream);
  border: 2px dashed var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.category-chip {
  display: inline-flex;
  width: fit-content;
  padding: 4px 8px;
  color: var(--paper);
  background: var(--squash);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.invoice-band {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
  padding: clamp(54px, 8vw, 96px) clamp(16px, 4vw, 56px);
  color: var(--paper);
  background-image:
    linear-gradient(90deg, rgba(32, 22, 15, 0.88), rgba(32, 22, 15, 0.48)),
    url("assets/img/hero_bg_10.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.invoice-band .eyebrow {
  color: var(--gold);
}

.invoice-copy p {
  max-width: 700px;
  font-family: "Libre Baskerville", Georgia, serif;
}

.invoice-panel {
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--gold);
}

.invoice-panel strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.invoice-gate {
  margin-top: 16px;
}

.invoice-gate small {
  color: var(--soil);
  font-weight: 800;
}

.invoice-gate.unlocked small {
  color: var(--leaf);
}

.invoice-gate.has-error input {
  border-color: #c9362f;
  box-shadow: 0 0 0 3px rgba(201, 54, 47, 0.14);
}

.invoice-gate.has-error small {
  color: #9d2620;
}

.download-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 10px;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.phone-link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 900;
}

.logistics {
  background:
    linear-gradient(135deg, rgba(255, 244, 211, 0.96), rgba(231, 219, 155, 0.54)),
    radial-gradient(circle at 90% 10%, rgba(75, 127, 159, 0.14), transparent 28%);
}

.logistics-grid,
.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.contact-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.map-card {
  background:
    linear-gradient(135deg, rgba(255, 201, 74, 0.7), rgba(255, 253, 245, 0.96)),
    var(--paper);
  box-shadow: 8px 8px 0 var(--squash);
}

.contact-list a,
.contact-details a {
  font-weight: 900;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(22px, 5vw, 64px);
  padding: clamp(56px, 8vw, 110px) clamp(16px, 4vw, 56px);
  background:
    linear-gradient(140deg, rgba(255, 253, 245, 0.94), rgba(255, 232, 178, 0.68)),
    radial-gradient(circle at 12% 18%, rgba(242, 108, 45, 0.16), transparent 28%),
    radial-gradient(circle at 92% 78%, rgba(37, 109, 79, 0.12), transparent 30%);
}

.contact-card {
  padding: clamp(20px, 4vw, 34px);
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: 8px 8px 0 var(--ink);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.social-link span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--paper);
  background: #1877f2;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 900;
  font-family: Arial, sans-serif;
}

form {
  display: grid;
  gap: 12px;
}

form label {
  display: grid;
  gap: 5px;
  font-weight: 900;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.contact-details img {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border: 2px solid var(--ink);
  border-radius: 8px;
}

.contact-details div {
  padding: 16px;
  border-top: 2px solid var(--ink);
}

.site-footer {
  display: grid;
  grid-template-columns: 0.7fr 1fr 0.7fr;
  align-items: center;
  gap: 12px;
  padding: 24px clamp(16px, 4vw, 56px);
  color: var(--paper);
  background: var(--ink);
  font-weight: 900;
}

.site-footer span:nth-child(2) {
  text-align: center;
  color: var(--gold);
}

.site-footer span:last-child {
  text-align: right;
}

.product-modal,
.map-modal {
  width: min(1000px, calc(100vw - 28px));
  padding: 0;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-modal::backdrop,
.map-modal::backdrop {
  background: rgba(32, 22, 15, 0.68);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--gold);
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 0;
}

.modal-image-wrap {
  min-height: 100%;
  background: var(--cream);
  border-right: 2px solid var(--ink);
}

.modal-layout img {
  width: 100%;
  height: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: var(--cream);
}

.modal-image-wrap .availability-badge {
  top: 18px;
  left: 18px;
  min-height: 38px;
  padding: 8px 13px;
  font-size: 0.84rem;
}

.modal-layout div {
  padding: clamp(22px, 4vw, 42px);
}

.modal-layout h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.catalog-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.catalog-details li {
  padding: 9px 10px;
  color: var(--ink);
  background: var(--cream);
  border: 2px solid rgba(32, 22, 15, 0.32);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 900;
}

.crop-note {
  margin-top: 22px;
  padding: 12px 14px;
  background: var(--gold);
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.map-layout {
  padding: clamp(18px, 4vw, 34px);
}

.map-layout h2 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
}

.map-layout iframe {
  width: 100%;
  height: min(62vh, 560px);
  border: 2px solid var(--ink);
  border-radius: 8px;
}

@media (max-width: 1280px) {
  .site-header {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .header-actions {
    grid-column: 2;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    display: none;
    width: min(260px, calc(100vw - 24px));
    padding: 10px;
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
  }
}

@media (max-width: 1120px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .hero,
  .intro-grid,
  .feature-band,
  .invoice-band,
  .contact-section,
  .modal-layout {
    grid-template-columns: 1fr;
  }

  .story-image,
  .story-copy {
    grid-column: auto;
    grid-row: auto;
  }

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

  .hero {
    min-height: auto;
    align-items: start;
  }

  .hero-media {
    inset: 0;
  }

  .gallery-controls {
    position: sticky;
    grid-template-columns: 1fr;
    top: 106px;
  }

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

  .modal-image-wrap {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .modal-layout img {
    max-height: 54vh;
  }

  .catalog-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 4px;
    padding-top: 3px;
    padding-bottom: 3px;
  }

  .brand-logo {
    width: 86px;
    height: 66px;
  }

  .brand-wordmark {
    max-width: 112px;
    font-size: 1.14rem;
    line-height: 1;
  }

  .header-actions {
    gap: 4px;
  }

  .call-button {
    min-width: 108px;
    padding: 7px 10px;
  }

  .nav-toggle {
    padding-right: 10px;
    padding-left: 10px;
  }

  .call-button strong {
    font-size: 0.78rem;
  }

  h1,
  h2 {
    font-size: clamp(2.25rem, 12.5vw, 4.05rem);
  }

  .hero h1 {
    font-size: clamp(2.05rem, 9.55vw, 2.8rem);
    line-height: 0.96;
  }

  .hero {
    padding-top: 14px;
    padding-bottom: 28px;
  }

  .feature-band,
  .invoice-band {
    background-attachment: scroll;
  }

  .ticker {
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px 10px;
    overflow-x: hidden;
    padding: 9px 16px;
  }

  .ticker span {
    flex: 0 1 auto;
    font-size: 0.62rem;
  }

  .ticker span + span::before {
    margin-right: 10px;
  }

  .feature-band {
    background-position: center top;
  }

  .invoice-band {
    background-position: center bottom;
  }

  .tool-grid,
  .product-grid,
  .logistics-grid,
  .contact-list,
  .contact-details,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .site-footer span:nth-child(2),
  .site-footer span:last-child {
    text-align: left;
  }

  .tool-card {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-right: 76px;
  }

  .tool-card span {
    width: 48px;
    height: 48px;
  }

  .tool-card::after {
    right: 12px;
    bottom: 50%;
    width: 54px;
    height: 54px;
    transform: translateY(50%);
  }

  .tool-icon {
    right: 18px;
    bottom: 50%;
    width: 42px;
    height: 42px;
    opacity: 0.22;
    transform: translateY(50%);
  }

  .gallery-controls {
    gap: 9px;
    padding: 10px;
    margin-bottom: 12px;
    box-shadow: 4px 4px 0 var(--ink);
    top: 78px;
  }

  .search-box {
    gap: 3px;
  }

  .search-box span {
    font-size: 0.7rem;
  }

  .search-box input {
    min-height: 38px;
    padding: 8px 10px;
  }

  .filter-buttons {
    flex-wrap: nowrap;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    padding: 0 10px 6px 2px;
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    scrollbar-color: rgba(32, 22, 15, 0.52) transparent;
    scrollbar-width: thin;
  }

  .filter-buttons::-webkit-scrollbar {
    height: 4px;
  }

  .filter-buttons::-webkit-scrollbar-thumb {
    background: rgba(32, 22, 15, 0.42);
    border-radius: 999px;
  }

  .gallery-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-buttons button {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .feature-band,
  .invoice-band {
    background-attachment: scroll;
  }
}
