:root {
  --bg: #f3ead8;
  --paper: #fffdf8;
  --ivory: #faf5ea;
  --gold: #a88438;
  --gold-bright: #c49a45;
  --ink: #2f2418;
  --muted: #5c4a36;
  --line: rgba(168, 132, 56, 0.55);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 18px 40px rgba(74, 52, 24, 0.08);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at 0% -10%, rgba(196, 154, 69, 0.18), transparent 42%),
    radial-gradient(ellipse at 100% 0%, rgba(168, 132, 56, 0.12), transparent 36%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.55;
  font-weight: 400;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; }

::selection { background: #ead7a8; color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  z-index: 80;
}

.skip:focus { top: 0.6rem; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(243, 234, 216, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.bar {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.8rem 0 0.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img { width: 34px; height: 42px; object-fit: contain; }

.brand-name,
.brand-sub {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
}

.brand-name { letter-spacing: 0.16em; font-size: 1.05rem; }

.brand-sub {
  margin-top: 0.22rem;
  letter-spacing: 0.24em;
  font-size: 0.68rem;
  color: var(--gold);
}

.nav {
  display: flex;
  gap: 1.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover { color: var(--ink); }

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.etsy-link,
.text-btn {
  background: none;
  border: 0;
  padding: 0.2rem;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.etsy-link:hover,
.text-btn:hover { color: var(--ink); }

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
}

.badge {
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--paper);
  font-size: 0.75rem;
  display: inline-grid;
  place-items: center;
}

.hero { padding: 1.4rem 0 0.5rem; }

.plaque {
  background: var(--ivory);
  border: 1.5px solid var(--gold-bright);
  border-radius: 22px;
  padding: 7px;
  box-shadow: var(--shadow);
}

.plaque-inner {
  border: 1px solid var(--gold);
  border-radius: 15px;
  background: var(--ivory);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 1.5rem;
  align-items: center;
  padding: 0.75rem;
}

.hero-art img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
}

.hero-copy {
  padding: 0.4rem 0.8rem 1.1rem;
  text-align: center;
}

.eyebrow,
.section-kicker,
.motto {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.7rem;
}

.crest {
  width: 72px;
  height: auto;
  display: block;
  margin: 0.15rem auto 0.35rem;
}

h1 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 0.88;
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 5.3rem);
}

.h-golden,
.h-co { display: block; text-transform: uppercase; }

.h-golden { letter-spacing: 0.045em; }

.h-co {
  margin-top: 0.12em;
  font-size: 0.58em;
  letter-spacing: 0.18em;
}

.tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  color: var(--muted);
  margin: 0.85rem 0 0.7rem;
}

.owner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-size: 0.95rem;
  font-weight: 600;
}

.owner span {
  width: 56px;
  height: 1px;
  background: var(--gold-bright);
}

.lede {
  margin: 0 auto 0.85rem;
  max-width: 38rem;
  color: var(--muted);
}

.btn,
.add-btn,
.checkout-btn {
  font-family: var(--sans);
  cursor: pointer;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--ivory);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  min-height: 46px;
}

.btn:hover,
.add-btn:hover,
.checkout-btn:hover { background: #4a3824; }

.btn.secondary,
.modal-close {
  background: transparent;
  color: var(--ink);
}

.btn.secondary:hover,
.modal-close:hover { background: rgba(168, 132, 56, 0.12); }

.catalog,
.direct { padding: 2.6rem 0 0.4rem; }

.section-head { text-align: center; margin-bottom: 1.6rem; }

.section-head h2,
.direct h2,
.drawer-head h2,
.modal-card h2,
.sub-inner h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 0.35rem;
  letter-spacing: 0.01em;
}

.section-head p,
.direct p { margin: 0.2rem auto 0; color: var(--muted); max-width: 38rem; }

.catalog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  align-items: stretch;
}

.catalog-status { text-align: center; color: var(--muted); }

.product-art {
  background: var(--ivory);
  aspect-ratio: 1;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.product {
  display: flex;
  flex-direction: column;
}

.product .plaque-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.product-body {
  padding: 0.15rem 1.05rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

.product h3,
.line-copy h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.1;
}

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

.weights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.weight {
  border: 1px solid var(--gold-bright);
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-height: 36px;
  padding: 0.3rem 0.75rem;
  font: inherit;
  font-size: 0.86rem;
  cursor: pointer;
}

.weight[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ivory);
}

.product-foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-top: 0.3rem;
}

.price,
.line-price,
.grand {
  font-family: var(--serif);
  font-weight: 600;
}

.price { margin: 0; font-size: 1.9rem; line-height: 1; }

.add-btn,
.checkout-btn {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 1rem;
  font-size: 0.98rem;
}

.add-btn.is-added { background: #6e5830; border-color: #6e5830; }

.add-btn:disabled,
.checkout-btn:disabled,
.qty button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.reasons {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.reasons li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.05rem 1.05rem;
}

.reasons strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.reasons span { color: var(--muted); }

.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.55);
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
  padding: 2rem 0 1.2rem;
}

.footer-brand p,
.contact a,
.footer-note { color: var(--muted); }

.footer-brand p { margin: 0.35rem 0 0; }

.leaf-foot {
  width: 72px;
  margin-top: 0.8rem;
}

.contact {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
}

.contact a { text-underline-offset: 3px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0 1.3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.drawer-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(47, 36, 24, 0.42);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(430px, 100%);
  background: var(--paper);
  border-left: 1px solid var(--gold-bright);
  box-shadow: -18px 0 50px rgba(47, 36, 24, 0.14);
  display: flex;
  flex-direction: column;
  animation: slide-in 0.28s ease;
}

.drawer-head,
.drawer-foot { padding: 1rem 1.15rem; }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--gold-bright);
  background: transparent;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-lines {
  flex: 1;
  overflow: auto;
  padding: 0.3rem 1.15rem 1rem;
}

.empty { color: var(--muted); }

.line {
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(168, 132, 56, 0.25);
}

.line img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  background: var(--ivory);
  border-radius: 12px;
  border: 1px solid var(--line);
}

.line-copy h3 { font-size: 1.35rem; }

.line-copy p { margin: 0.1rem 0 0.45rem; color: var(--muted); font-size: 0.92rem; }

.line-actions { display: flex; align-items: center; gap: 0.7rem; }

.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--gold-bright);
  border-radius: 999px;
  overflow: hidden;
}

.qty button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
}

.qty span { min-width: 1.2rem; text-align: center; font-size: 0.92rem; }

.line-price { margin: 0.15rem 0 0; font-size: 1.25rem; }

.drawer-foot {
  border-top: 1px solid var(--line);
  background: var(--ivory);
}

.ship-track {
  height: 6px;
  background: rgba(168, 132, 56, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.ship-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}

.ship-note { margin: 0.45rem 0 0; font-size: 0.92rem; }

.ship-fine { margin: 0.15rem 0 0.8rem; color: var(--muted); font-size: 0.8rem; }

.totals { display: grid; gap: 0.3rem; margin: 0.2rem 0 0.9rem; }

.totals div,
.preview-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.grand { font-size: 1.45rem; padding-top: 0.2rem; }

.cart-error {
  color: #7a341f;
  background: #f8ebe3;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  margin: 0 0 0.7rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.modal-card {
  position: relative;
  width: min(520px, 100%);
  max-height: min(88vh, 740px);
  overflow: auto;
  z-index: 1;
}

.modal-inner { padding: 1.2rem 1.15rem 1.15rem; }

.modal-card h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); }

.preview-list {
  list-style: none;
  margin: 0.4rem 0 0.8rem;
  padding: 0;
}

.preview-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(168, 132, 56, 0.25);
  align-items: end;
}

.preview-list strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }

.preview-note,
.etsy-copy {
  background: rgba(196, 154, 69, 0.12);
  border-radius: 12px;
  padding: 0.75rem 0.8rem;
  color: var(--muted);
  margin: 0.2rem 0 1rem;
}

.modal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.subpage { padding: 2rem 0 1rem; }

.sub-inner {
  text-align: center;
  padding: 1.6rem 1.2rem 1.5rem;
  max-width: 680px;
  margin: 0 auto;
}

.sub-inner p { color: var(--muted); }

.session {
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

@media (min-width: 800px) {
  .nav { margin-left: 0.4rem; }
  .hero-inner {
    grid-template-columns: minmax(260px, 0.9fr) 1.1fr;
    padding: 0.9rem 1.1rem 0.9rem 0.4rem;
  }
  .hero-copy { text-align: left; padding: 1rem 1rem 1.2rem 0.2rem; }
  .crest { margin-left: 0; }
  .owner { justify-content: flex-start; }
  .lede { margin-left: 0; }
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; align-items: start; }
}

@media (min-width: 720px) {
  .catalog-grid { gap: 1.15rem; }
}

@media (max-width: 719px) {
  .catalog { padding-top: 1.7rem; }
  .section-head { margin-bottom: 1.05rem; }

  .product.plaque {
    padding: 4px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(74, 52, 24, 0.06);
  }

  .product .plaque-inner { border-radius: 12px; }

  .product-art { aspect-ratio: 1 / 0.86; }

  .product-body {
    padding: 0.05rem 0.42rem 0.62rem;
    gap: 0.32rem;
  }

  .product h3 {
    font-size: 1.12rem;
    line-height: 1.12;
    letter-spacing: 0;
  }

  .product-body > p {
    font-size: 0.72rem;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    min-height: calc(1.32em * 4);
  }

  .weights {
    flex-wrap: nowrap;
    gap: 0.22rem;
  }

  .weight {
    flex: 1 1 0;
    min-width: 0;
    min-height: 34px;
    padding: 0.15rem 0.1rem;
    font-size: 0.7rem;
    letter-spacing: 0;
  }

  .product-foot {
    gap: 0.4rem;
    padding-top: 0.1rem;
  }

  .price { font-size: 1.32rem; }

  .product .add-btn {
    min-height: 42px;
    padding: 0.4rem 0.35rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 1040px) {
  .catalog-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 799px) {
  .nav {
    order: 3;
    width: 100%;
    gap: 1rem;
    padding-bottom: 0.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .drawer-panel { animation: none; }
}

@keyframes slide-in {
  from { transform: translateX(18px); }
}
