:root {
  --ink: #1d1a19;
  --muted: #6e6a66;
  --paper: #fffaf3;
  --cream: #ece4d7;
  --soft: #efe1ce;
  --line: #d8c7ae;
  --gold: #a98855;
  --gold-dark: #73572f;
  --mint: #7aa28e;
  --mint-soft: #dce8df;
  --cocoa: #362a24;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(29, 26, 25, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #fffaf3 0%, #efe1ce 46%, #fffaf3 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

main {
  overflow: hidden;
}

.page-module {
  scroll-margin-top: 88px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  align-items: center;
  justify-content: center;
  width: min(calc(100% - 220px), 760px);
  margin: 16px auto 0;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(29, 26, 25, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(18px);
  transition:
    background 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    margin 220ms ease,
    padding 220ms ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  color: var(--ink);
  background: rgba(255, 250, 243, 0.95);
  border-color: rgba(169, 136, 85, 0.24);
  box-shadow: 0 16px 36px rgba(29, 26, 25, 0.12);
}

.site-header.is-scrolled {
  margin-top: 8px;
  padding: 7px 10px;
}

.logo-mark {
  position: fixed;
  z-index: 21;
  top: 18px;
  left: max(18px, calc((100vw - var(--max)) / 2));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 16px 40px rgba(29, 26, 25, 0.12);
  transition: width 220ms ease, height 220ms ease, top 220ms ease, background 220ms ease;
}

.logo-mark img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

body.header-scrolled .logo-mark {
  top: 10px;
  width: 74px;
  height: 74px;
}

body.header-scrolled .logo-mark img {
  width: 62px;
  height: 62px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  background: rgba(169, 136, 85, 0.18);
  outline: none;
}

.main-nav a.is-active {
  color: var(--gold-dark);
}

.nav-toggle {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 16px 0;
  background: var(--cream);
}

.hero::after {
  position: absolute;
  right: 24px;
  bottom: 74px;
  width: 46px;
  height: 46px;
  border-right: 2px solid rgba(54, 42, 36, 0.28);
  border-bottom: 2px solid rgba(54, 42, 36, 0.28);
  content: "";
  transform: rotate(45deg);
  animation: cue-bounce 1800ms ease-in-out infinite;
}

.hero-art {
  display: block;
  width: min(100%, 1229px);
  height: 440px;
  margin: 0 auto;
  object-fit: contain;
  transform: translateY(var(--hero-y, 0));
  transition: transform 120ms linear;
}

.hero-actions-panel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 18px 16px;
  background: var(--cocoa);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  max-width: 760px;
  font-size: 4.55rem;
}

h2 {
  font-size: 2.65rem;
}

h3 {
  font-size: 1.45rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button,
.ghost-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.ghost-button:hover,
.ghost-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(29, 26, 25, 0.1);
  outline: none;
}

.button-primary {
  background: var(--gold);
  color: var(--white);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--gold-dark);
}

.button-soft {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.button-outline {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.button-full {
  width: 100%;
}

.ghost-button {
  min-height: 36px;
  padding: 8px 10px;
  background: transparent;
  border-color: var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 0;
  background: var(--cocoa);
}

.trust-strip p {
  margin: 0;
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-align: center;
}

.trust-strip p:nth-child(odd) {
  color: #f2d8a3;
}

.trust-strip p:last-child {
  border-right: 0;
}

.section-pad {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.with-action {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-note {
  max-width: 280px;
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.intro,
.products,
.gallery {
  position: relative;
  isolation: isolate;
}

.intro::before,
.products::before,
.gallery::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
}

.intro::before {
  background:
    linear-gradient(90deg, rgba(169, 136, 85, 0.2), rgba(122, 162, 142, 0.2)),
    var(--paper);
}

.products::before {
  background:
    linear-gradient(135deg, rgba(169, 136, 85, 0.25), rgba(239, 225, 206, 0.62) 52%, rgba(122, 162, 142, 0.16)),
    var(--soft);
}

.gallery::before {
  background:
    linear-gradient(180deg, rgba(122, 162, 142, 0.16), rgba(255, 250, 243, 0.82)),
    var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 960px;
}

.intro-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.identity-flow {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  background: var(--gold);
  overflow: hidden;
}

.identity-flow img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  box-shadow: none;
}

.feature-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  min-height: 560px;
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--cocoa) 56%, #594226 100%);
  color: var(--white);
  scroll-snap-align: start;
}

.feature-copy {
  align-self: center;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2)) 72px 32px;
}

.feature-copy p:not(.eyebrow) {
  max-width: 460px;
  color: rgba(255, 255, 255, 0.78);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: #f1d7a3;
  font-weight: 900;
  border-bottom: 2px solid currentColor;
}

.feature-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 100%;
}

.feature-images img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.feature-images img:first-child {
  filter: saturate(0.95);
}

.category-filter {
  position: sticky;
  z-index: 8;
  top: 82px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin-bottom: 24px;
  margin-left: -10px;
  margin-right: -10px;
  overflow-x: auto;
  padding: 10px;
  background: rgba(239, 225, 206, 0.82);
  backdrop-filter: blur(18px);
  scrollbar-width: none;
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(169, 136, 85, 0.42);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.76);
  color: var(--ink);
  cursor: pointer;
  padding: 8px 14px;
  font-weight: 900;
}

.filter-button.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.94);
  box-shadow: 0 16px 36px rgba(29, 26, 25, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(29, 26, 25, 0.16);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--soft);
  transition: transform 500ms ease;
}

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

.product-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-category {
  display: inline-flex;
  margin-bottom: 10px;
  border: 1px solid rgba(122, 162, 142, 0.35);
  border-radius: 8px;
  background: var(--mint-soft);
  color: #375f4b;
  padding: 4px 8px;
  font-size: 0.74rem;
  font-weight: 950;
}

.product-body h3 {
  font-size: 1.06rem;
}

.product-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.price {
  color: var(--gold-dark);
  font-weight: 950;
}

.add-button {
  min-height: 38px;
  border: 0;
  border-radius: 8px;
  background: var(--cocoa);
  color: var(--white);
  cursor: pointer;
  padding: 8px 12px;
  font-weight: 900;
  transition: transform 160ms ease, background 160ms ease;
}

.add-button:hover,
.add-button:focus-visible {
  background: var(--gold-dark);
  outline: none;
  transform: translateY(-1px);
}

.order {
  width: 100%;
  background:
    linear-gradient(90deg, rgba(54, 42, 36, 0.96), rgba(54, 42, 36, 0.82)),
    var(--cocoa);
  padding-left: max(16px, calc((100vw - var(--max)) / 2));
  padding-right: max(16px, calc((100vw - var(--max)) / 2));
  color: var(--white);
}

.order .section-heading {
  width: min(100%, var(--max));
  margin-left: auto;
  margin-right: auto;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 24px;
  width: min(100%, var(--max));
  margin: 0 auto;
}

.order-form,
.cart-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
}

.order-form {
  display: grid;
  gap: 18px;
  padding: 24px;
}

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

label,
legend {
  color: var(--ink);
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 13px 14px;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--gold);
  outline: 3px solid rgba(169, 136, 85, 0.16);
}

.fulfillment {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  border: 0;
  padding: 0;
}

.fulfillment legend {
  flex-basis: 100%;
  margin-bottom: 2px;
}

.fulfillment label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  background: var(--paper);
  cursor: pointer;
}

.fulfillment input {
  width: auto;
  margin: 0;
  accent-color: var(--gold);
}

.delivery-field {
  display: none;
}

.delivery-field.is-visible {
  display: block;
}

.form-help {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cart-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
}

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-empty {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.cart-item strong {
  display: block;
}

.cart-item small {
  color: var(--muted);
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 32px 36px 32px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--soft);
  cursor: pointer;
  font-weight: 900;
}

.quantity-control span {
  text-align: center;
  font-weight: 900;
}

.cart-totals {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.cart-totals div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
}

.cart-totals dt,
.cart-totals dd {
  margin: 0;
}

.cart-totals .total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 950;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.gallery-grid img:hover {
  filter: saturate(1.08);
  transform: scale(1.015);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-row: span 2;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(5) {
  grid-column: span 2;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 70px max(16px, calc((100vw - var(--max)) / 2));
  background: var(--ink);
  color: var(--white);
}

.cta-band h2 {
  max-width: 720px;
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--gold);
  color: var(--white);
  padding: 11px 16px;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-weight: 950;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.floating-cart:hover,
.floating-cart:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 28px 80px rgba(29, 26, 25, 0.22);
  outline: none;
}

.floating-cart span {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.not-found {
  display: grid;
  min-height: 100svh;
  place-items: center;
  align-content: center;
  gap: 18px;
  padding: 32px;
  background: var(--cream);
  text-align: center;
}

.not-found img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.not-found h1 {
  max-width: 560px;
  font-size: 3rem;
}

.not-found p:not(.eyebrow) {
  max-width: 440px;
  margin: 0;
  color: var(--muted);
}

@keyframes cue-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }

  50% {
    transform: translateY(8px) rotate(45deg);
  }
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  h1 {
    font-size: 3.5rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .hero-art {
    height: 360px;
  }

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

  .feature-band,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    padding: 70px 24px 34px;
  }

  .feature-images img {
    min-height: 420px;
  }

  .cart-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .logo-mark {
    top: 12px;
    left: 12px;
    width: 70px;
    height: 70px;
  }

  .logo-mark img {
    width: 60px;
    height: 60px;
  }

  body.header-scrolled .logo-mark {
    top: 10px;
    width: 62px;
    height: 62px;
  }

  body.header-scrolled .logo-mark img {
    width: 54px;
    height: 54px;
  }

  .site-header {
    width: auto;
    left: auto;
    right: 12px;
    margin-top: 12px;
    padding: 8px 10px;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    cursor: pointer;
  }

  .nav-toggle span {
    width: 18px;
    height: 2px;
    background: currentColor;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 82px;
  }

  .hero-art {
    height: 270px;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip p:nth-child(2) {
    border-right: 0;
  }

  .section-pad {
    width: calc(100% - 28px);
    padding: 70px 0;
  }

  .section-heading.with-action,
  .cta-band {
    align-items: stretch;
    flex-direction: column;
  }

  .intro-grid,
  .form-row.two {
    grid-template-columns: 1fr;
  }

  .identity-flow img {
    height: auto;
  }

  .feature-images {
    grid-template-columns: 1fr;
  }

  .feature-images img {
    min-height: 330px;
  }

  .order {
    padding-left: 14px;
    padding-right: 14px;
  }

  .order-form,
  .cart-panel {
    padding: 18px;
  }
}

@media (max-width: 520px) {
  .contact-actions {
    flex-direction: column;
  }

  .hero-actions-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .hero {
    padding-top: 76px;
  }

  .hero-art {
    height: 220px;
  }

  .button {
    width: 100%;
  }

  .hero-actions-panel .button {
    width: 100%;
  }

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

  .gallery-grid img:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .floating-cart {
    right: 12px;
    bottom: 12px;
  }
}
