@font-face {
  font-family: "EFCO Brookshire";
  src: url("assets/fonts/EFCO-Brookshire.ttf") format("truetype");
  font-display: swap;
  font-weight: 400 700;
}

:root {
  --ink: #352f25;
  --muted: #746b5d;
  --paper: #f3ead8;
  --surface: #fff7e9;
  --cream: #f7f0df;
  --reed: #cdbb8d;
  --gold: #c7aa69;
  --moss: #5a513f;
  --clay: #9b5a3e;
  --rose: #9d6154;
  --charcoal: #4f4838;
  --line: #c9b789;
  --shadow: 0 24px 80px rgba(53, 47, 37, 0.22);
  --ornate-border: #c7aa69;
  --brand-display: "EFCO Brookshire", "Bookman Old Style", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  background-image:
    linear-gradient(90deg, rgba(90, 81, 63, 0.07), transparent 22%, transparent 78%, rgba(90, 81, 63, 0.07)),
    repeating-linear-gradient(45deg, rgba(53, 47, 37, 0.026) 0 1px, transparent 1px 15px);
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(199, 170, 105, 0.46);
  background:
    linear-gradient(90deg, rgba(79, 72, 56, 0.96), rgba(62, 56, 44, 0.94)),
    repeating-linear-gradient(90deg, rgba(247, 240, 223, 0.05) 0 1px, transparent 1px 18px);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(36, 24, 15, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  text-decoration: none;
}

.wordmark,
.footer-wordmark {
  color: var(--cream);
  font-family: var(--brand-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}

.wordmark {
  font-size: clamp(1.28rem, 2.4vw, 2rem);
  text-shadow: 0 2px 0 rgba(31, 27, 21, 0.3);
}

.wordmark span,
.footer-wordmark span,
.hero-wordmark span {
  font-family: "IM Fell English SC", Georgia, "Times New Roman", serif;
  font-size: 0.86em;
  padding: 0 0.06em;
}

.primary-nav {
  display: flex;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(247, 240, 223, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary-nav a {
  text-decoration: none;
}

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

.cart-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.cart-button {
  justify-self: end;
  grid-template-columns: 22px auto;
  gap: 8px;
  min-width: 76px;
  height: 44px;
  border-color: rgba(185, 139, 58, 0.52);
  border-radius: 999px;
  padding: 0 14px;
  background: linear-gradient(180deg, #f7f0df, #e0d1a9);
  box-shadow: 0 8px 24px rgba(34, 32, 28, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.cart-button span {
  min-width: 22px;
  font-weight: 700;
}

.icon-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  overflow: hidden;
  border-bottom: 1px solid rgba(199, 170, 105, 0.58);
  background: var(--charcoal);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(79, 72, 56, 0.98), rgba(79, 72, 56, 0.88) 34%, rgba(79, 72, 56, 0.22) 67%),
    linear-gradient(90deg, rgba(39, 34, 26, 0.35), rgba(39, 34, 26, 0.08) 48%, rgba(39, 34, 26, 0.12) 76%);
}

.hero::before {
  position: absolute;
  inset: 18px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(247, 240, 223, 0.58);
  box-shadow:
    inset 0 0 0 1px rgba(199, 170, 105, 0.65),
    inset 0 0 0 8px rgba(247, 240, 223, 0.08);
  content: "";
}

.hero-frame {
  position: absolute;
  inset: 34px;
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(199, 170, 105, 0.72);
}

.hero-frame::before,
.hero-frame::after {
  position: absolute;
  width: 92px;
  height: 92px;
  border: 1px solid rgba(199, 170, 105, 0.72);
  content: "";
}

.hero-frame::before {
  top: -12px;
  left: -12px;
  border-right: 0;
  border-bottom: 0;
}

.hero-frame::after {
  right: -12px;
  bottom: -12px;
  border-top: 0;
  border-left: 0;
}

.hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - 72px);
  max-width: 630px;
  padding: clamp(74px, 10vw, 128px) clamp(26px, 6vw, 86px);
}

.hero-wordmark {
  width: fit-content;
  max-width: min(600px, 88vw);
  margin-bottom: 26px;
  color: var(--cream);
  text-shadow: 0 4px 0 rgba(31, 27, 21, 0.22), 0 20px 60px rgba(31, 27, 21, 0.34);
}

.hero-wordmark h1 {
  margin: 0;
  font-family: var(--brand-display);
  font-size: clamp(3.25rem, 9.2vw, 7.8rem);
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 0.92;
  text-shadow: inherit;
}

.hero-wordmark p {
  position: relative;
  width: fit-content;
  margin: 12px auto 0;
  color: var(--cream) !important;
  font-family: "IM Fell English SC", Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2.1vw, 1.62rem) !important;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.hero-wordmark p::before,
.hero-wordmark p::after {
  position: absolute;
  top: 50%;
  width: clamp(28px, 7vw, 80px);
  height: 1px;
  background: rgba(247, 240, 223, 0.72);
  content: "";
}

.hero-wordmark p::before {
  right: calc(100% + 14px);
}

.hero-wordmark p::after {
  left: calc(100% + 14px);
}

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

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

h1,
h2,
h3 {
  line-height: 1.03;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.25rem, 5vw, 4.75rem);
  font-weight: 700;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.14rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.38rem;
}

.hero-copy p:not(.eyebrow) {
  max-width: 490px;
  color: rgba(247, 240, 223, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.hero-kicker {
  position: relative;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 18px;
  border-top: 1px solid rgba(199, 170, 105, 0.58);
  border-bottom: 1px solid rgba(199, 170, 105, 0.58);
  color: var(--cream) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.18rem, 2vw, 1.55rem) !important;
  font-style: italic;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.cart-button:hover,
.icon-button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: rgba(247, 240, 223, 0.18);
  background: linear-gradient(180deg, #5a513f, #352f25);
  color: var(--cream);
  box-shadow: 0 13px 30px rgba(36, 24, 15, 0.26), inset 0 0 0 1px rgba(255, 250, 240, 0.16);
}

.button.secondary {
  border-color: rgba(199, 170, 105, 0.68);
  background: rgba(247, 240, 223, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
}

.shop-section,
.contact-section,
.care-section {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.shop-section {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.76), rgba(248, 240, 223, 0.88)),
    repeating-linear-gradient(0deg, rgba(90, 81, 63, 0.045) 0 1px, transparent 1px 18px);
}

.shop-section::before,
.shop-section::after {
  position: absolute;
  left: clamp(18px, 4vw, 56px);
  right: clamp(18px, 4vw, 56px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(199, 170, 105, 0.72), transparent);
  content: "";
}

.shop-section::before {
  top: 24px;
}

.shop-section::after {
  bottom: 24px;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.flourish {
  display: block;
  width: min(340px, 70vw);
  height: 18px;
  margin: 8px auto 0;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 5px, transparent 6px),
    linear-gradient(90deg, transparent 0%, var(--gold) 20%, transparent 20% 24%, var(--gold) 24% 48%, transparent 48% 52%, var(--gold) 52% 76%, transparent 76% 80%, var(--gold) 80%, transparent 100%);
  opacity: 0.72;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  position: relative;
  min-height: 440px;
  flex-direction: column;
  border: 1px solid rgba(90, 81, 63, 0.46);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 247, 233, 0.98), rgba(231, 218, 186, 0.9)),
    var(--surface);
  box-shadow: 0 18px 50px rgba(36, 24, 15, 0.12);
}

.product-card::before {
  position: absolute;
  inset: 10px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(90, 81, 63, 0.24);
  border-radius: 5px;
  content: "";
}

.product-art {
  display: grid;
  aspect-ratio: 5 / 6;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(90, 81, 63, 0.34);
  background: #e7dcc9;
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 180ms ease;
}

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

.product-body {
  display: flex;
  position: relative;
  z-index: 2;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

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

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

.price {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--clay);
}

.add-button {
  min-height: 42px;
  padding: 10px 16px;
}

.split-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 520px);
  gap: clamp(24px, 5vw, 72px);
  align-items: end;
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
  overflow: hidden;
  border-top: 1px solid rgba(199, 170, 105, 0.54);
  border-bottom: 1px solid rgba(199, 170, 105, 0.54);
  background:
    repeating-linear-gradient(135deg, rgba(216, 183, 109, 0.05) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #5a513f, #312b21);
  color: #fffdf7;
}

.split-band::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(216, 183, 109, 0.42);
  content: "";
  pointer-events: none;
}

.corner {
  position: absolute;
  width: 84px;
  height: 84px;
  border-color: rgba(216, 183, 109, 0.72);
  border-style: solid;
  pointer-events: none;
}

.corner-a {
  top: 30px;
  left: 30px;
  border-width: 1px 0 0 1px;
}

.corner-b {
  right: 30px;
  bottom: 30px;
  border-width: 0 1px 1px 0;
}

.split-band p:last-child {
  margin: 0;
  color: rgba(255, 253, 247, 0.78);
  font-size: 1.08rem;
}

.split-band .eyebrow {
  color: var(--reed);
}

.photo-story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  padding: clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, #dfd0ad, #f3ead8),
    repeating-linear-gradient(90deg, rgba(36, 24, 15, 0.04) 0 1px, transparent 1px 22px);
}

.photo-story figure {
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(90, 81, 63, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff7e9, #dfcfaa);
  box-shadow: 0 16px 40px rgba(36, 24, 15, 0.12);
}

.photo-story img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(36, 24, 15, 0.12);
  border-radius: 4px;
  object-fit: cover;
}

.photo-story figcaption {
  padding: 12px 14px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.care-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  background:
    repeating-linear-gradient(90deg, rgba(90, 81, 63, 0.04) 0 1px, transparent 1px 26px),
    var(--paper);
}

.care-panel {
  min-height: 260px;
  border: 1px solid rgba(90, 81, 63, 0.34);
  border-radius: 8px;
  padding: 28px;
  background: rgba(255, 250, 240, 0.62);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.54);
}

.care-panel svg {
  width: 28px;
  height: 28px;
  color: var(--clay);
}

.care-panel h2 {
  margin-top: 16px;
  font-size: clamp(1.75rem, 3vw, 2.9rem);
}

.care-panel p,
.contact-copy p {
  color: var(--muted);
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 520px);
  gap: clamp(24px, 6vw, 84px);
  align-items: start;
  border-top: 1px solid rgba(90, 81, 63, 0.34);
  background:
    repeating-linear-gradient(45deg, rgba(90, 81, 63, 0.04) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, #dfd0ad, #f3ead8);
}

.contact-ornament {
  position: absolute;
  top: 26px;
  left: 50%;
  width: min(420px, 74vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(90, 81, 63, 0.56), transparent);
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(90, 81, 63, 0.36);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: rgba(255, 247, 233, 0.78);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #c7ad76;
  border-radius: 8px;
  background: #fffaf0;
  color: var(--ink);
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

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

.cart-drawer.is-open {
  display: block;
}

.cart-scrim {
  position: absolute;
  inset: 0;
  background: rgba(34, 32, 28, 0.38);
}

.cart-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 430px);
  height: 100%;
  flex-direction: column;
  border-left: 1px solid rgba(90, 81, 63, 0.48);
  background:
    linear-gradient(180deg, #fffaf0, #f3e5c5),
    var(--paper);
  box-shadow: var(--shadow);
}

.cart-header,
.cart-footer {
  padding: 18px;
}

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

.cart-header h2 {
  margin: 0;
  font-size: 2rem;
}

.cart-items {
  flex: 1;
  overflow: auto;
}

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

.cart-line h3 {
  margin: 0 0 4px;
}

.cart-line p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.quantity-controls {
  display: inline-grid;
  grid-template-columns: 32px 32px 32px;
  align-items: center;
  height: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
}

.quantity-controls button {
  height: 32px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.quantity-controls span {
  text-align: center;
  font-weight: 800;
}

.cart-empty {
  display: grid;
  flex: 1;
  place-items: center;
  align-content: center;
  gap: 12px;
  min-height: 260px;
  color: var(--muted);
}

.cart-empty svg {
  width: 34px;
  height: 34px;
}

.cart-empty.is-hidden {
  display: none;
}

.cart-footer {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}

.checkout-link {
  width: 100%;
}

.checkout-link:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.cart-note,
.checkout-error {
  margin: 0;
  font-size: 0.9rem;
}

.cart-note {
  color: var(--muted);
  text-align: center;
}

.checkout-error {
  min-height: 1.35em;
  color: #8f2f20;
  font-weight: 800;
  text-align: center;
}

.status-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
}

.status-card {
  width: min(100%, 720px);
  border: 1px solid rgba(90, 81, 63, 0.36);
  border-radius: 8px;
  padding: clamp(28px, 6vw, 64px);
  background:
    linear-gradient(180deg, rgba(255, 247, 233, 0.98), rgba(231, 218, 186, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.status-card h1 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 9vw, 6rem);
  line-height: 0.98;
}

.status-card p:not(.eyebrow) {
  max-width: 520px;
  margin: 0 auto 24px;
  color: var(--muted);
  font-size: 1.08rem;
}

.status-card .footer-wordmark {
  display: block;
  margin-bottom: 28px;
  color: var(--ink);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
  border-top: 1px solid rgba(216, 183, 109, 0.48);
  background:
    linear-gradient(90deg, rgba(216, 183, 109, 0.08), transparent, rgba(216, 183, 109, 0.08)),
    var(--ink);
  color: rgba(255, 253, 247, 0.78);
}

.footer-wordmark {
  font-size: 1.35rem;
}

.site-footer a {
  text-decoration: none;
}

svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

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

  .primary-nav {
    display: none;
  }

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

  .split-band,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 64px;
    padding: 10px 14px;
  }

  .wordmark {
    font-size: 1.08rem;
  }

  .hero {
    min-height: 680px;
  }

  .hero img {
    object-position: 62% center;
  }

  .hero::after {
    background: linear-gradient(180deg, rgba(79, 72, 56, 0.98) 0%, rgba(79, 72, 56, 0.88) 45%, rgba(79, 72, 56, 0.18) 100%);
  }

  .hero-copy {
    justify-content: flex-start;
    min-height: 680px;
    padding-top: 46px;
  }

  .hero-wordmark h1 {
    font-size: clamp(3.1rem, 15vw, 5.4rem);
  }

  .hero-wordmark p {
    margin-left: 0;
    margin-right: 0;
    font-size: clamp(0.92rem, 4.5vw, 1.2rem) !important;
    letter-spacing: 0.14em;
  }

  .hero-wordmark p::before,
  .hero-wordmark p::after {
    display: none;
  }

  .button {
    width: 100%;
  }

  .product-grid,
  .photo-story,
  .care-section {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 360px;
  }
}
