:root {
  color-scheme: light;
  --ink: #17120f;
  --coal: #211915;
  --muted: #6d625c;
  --paper: #fff9ef;
  --paper-strong: #fff2d8;
  --line: #ead8bd;
  --gold: #f2b53f;
  --orange: #e95420;
  --brand-pink: #d51a73;
  --brand-maroon: #8d0536;
  --teal: #00879a;
  --blue: #133d8a;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(33, 25, 21, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(242, 181, 63, 0.24), transparent 30rem),
    linear-gradient(180deg, #fffaf2 0%, #fff6e9 42%, #fffaf2 100%);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.16;
  background-image:
    linear-gradient(90deg, rgba(23, 18, 15, 0.16) 1px, transparent 1px),
    linear-gradient(rgba(23, 18, 15, 0.1) 1px, transparent 1px);
  background-size: 54px 54px;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 249, 239, 0.86);
  border-bottom: 1px solid rgba(234, 216, 189, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(var(--max), calc(100% - 2rem));
  min-height: 76px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.brand,
.nav-links,
.hero-actions,
.proof-strip,
.cart-panel-head,
.site-footer,
.cart-line,
.qty-controls {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 900;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--white);
  object-fit: cover;
  box-shadow: 3px 3px 0 var(--ink);
}

.brand-mark {
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background:
    linear-gradient(135deg, transparent 43%, var(--ink) 44% 48%, transparent 49%),
    linear-gradient(45deg, var(--orange) 0 42%, var(--gold) 43% 61%, var(--teal) 62% 100%);
  box-shadow: 4px 4px 0 var(--ink);
}

.nav-links {
  justify-self: center;
  gap: 0.25rem;
}

.nav-links a,
.text-button,
.cart-pill,
.menu-button {
  border: 0;
  background: transparent;
  color: var(--coal);
  text-decoration: none;
  font-weight: 800;
}

.nav-links a {
  padding: 0.65rem 0.78rem;
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a:focus-visible {
  background: var(--paper-strong);
}

.cart-pill,
.menu-button {
  justify-self: end;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}

.cart-pill span {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  min-height: 1.55rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.8rem;
}

.menu-button {
  display: none;
}

.section-pad {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 76px);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--coal);
  line-height: 0.98;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 9vw, 6.6rem);
  font-weight: 900;
}

h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 900;
}

h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.hero-text {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.1rem;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.78rem 1.05rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--ink);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible,
.cart-pill:hover,
.cart-pill:focus-visible,
.menu-button:hover,
.menu-button:focus-visible {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

.button:active,
.cart-pill:active,
.menu-button:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 var(--ink);
}

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

.button.secondary {
  background: var(--gold);
}

.proof-strip {
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0 0;
}

.proof-strip div {
  min-width: 120px;
  border-left: 4px solid var(--ink);
  padding-left: 0.85rem;
}

.proof-strip dt {
  font-weight: 950;
  font-size: 1.35rem;
}

.proof-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-media {
  position: relative;
  min-height: 540px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--coal);
  box-shadow: var(--shadow), 10px 10px 0 var(--ink);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  gap: 0.15rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: rgba(255, 249, 239, 0.92);
  padding: 1rem;
  box-shadow: 5px 5px 0 var(--ink);
}

.hero-card span,
.hero-card small,
.price-label,
.product-meta,
.product-price small,
.form-status {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.hero-card strong {
  font-size: 1.25rem;
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.75fr);
  gap: 2rem;
  align-items: end;
}

.section-heading.split p:last-child,
.contact-copy p,
.about-grid p {
  color: var(--muted);
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 2rem;
  align-items: stretch;
}

.about-grid > p {
  max-width: 64rem;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.about-note {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-strong);
  padding: 1.2rem;
  box-shadow: 5px 5px 0 var(--ink);
}

.about-note strong {
  font-size: 1.05rem;
}

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

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1.04;
  background: var(--coal);
  overflow: hidden;
}

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

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

.product-body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

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

.product-meta {
  margin: -0.65rem 0 0;
}

.product-details {
  color: var(--muted);
  margin-bottom: 0;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.product-actions label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.product-actions select,
.product-actions button,
input,
textarea,
select {
  min-height: 44px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
}

.product-actions select,
input,
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.85rem;
}

.add-button {
  min-width: 102px;
  padding: 0.7rem 0.85rem;
  background: var(--coal);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

.product-price {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  font-weight: 950;
}

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

.price-card {
  min-height: 220px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  padding: 1.2rem;
  box-shadow: 5px 5px 0 var(--ink);
}

.price-card strong {
  display: block;
  margin: 0.45rem 0 0.9rem;
  color: var(--coal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.price-card p {
  color: var(--muted);
}

.featured-price {
  background: var(--gold);
}

.shopping {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.cart-panel,
.checkout-form,
.contact-form {
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 5px 5px 0 var(--ink);
}

.cart-panel {
  position: sticky;
  top: 96px;
  padding: 1rem;
}

.cart-panel-head {
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.8rem;
}

.text-button {
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cart-items {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 0;
}

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

.cart-line {
  justify-content: space-between;
  gap: 0.8rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.75rem;
}

.cart-line-info {
  display: grid;
  gap: 0.2rem;
}

.cart-line-info strong {
  line-height: 1.1;
}

.cart-line-info span {
  color: var(--muted);
  font-size: 0.88rem;
}

.qty-controls {
  gap: 0.45rem;
}

.qty-controls button {
  width: 34px;
  height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--paper-strong);
  cursor: pointer;
  font-weight: 950;
}

.cart-total-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  padding-top: 1rem;
  font-weight: 950;
}

.checkout-form,
.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
}

.form-row {
  display: grid;
  gap: 0.45rem;
}

.form-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

label {
  font-size: 0.9rem;
  font-weight: 900;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 135, 154, 0.42);
  outline-offset: 3px;
}

.form-submit {
  justify-self: start;
}

.order-contact-actions,
.contact-chips,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.order-contact-actions {
  align-items: center;
}

.contact-chips {
  margin-top: 1.2rem;
}

.contact-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  padding: 0.55rem 0.9rem;
  color: var(--coal);
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  word-break: break-word;
  box-shadow: 3px 3px 0 var(--ink);
}

.contact-chip:hover,
.contact-chip:focus-visible {
  background: var(--paper-strong);
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 96px;
}

.contact-copy h2 {
  max-width: 12ch;
}

.site-footer {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
  justify-content: space-between;
  gap: 1rem;
  border-top: 2px solid var(--ink);
  padding: 2rem 0;
}

.footer-brand {
  display: grid;
  gap: 0.2rem;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.footer-brand span {
  grid-column: 2;
}

.footer-logo {
  width: 54px;
  height: 54px;
  grid-row: span 2;
  border: 2px solid var(--ink);
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  box-shadow: 3px 3px 0 var(--ink);
}

.site-footer span,
.site-footer a {
  color: var(--muted);
}

.footer-links {
  justify-content: flex-end;
}

@media (max-width: 960px) {
  .nav {
    grid-template-columns: auto auto auto;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    padding: 0.5rem;
    box-shadow: 5px 5px 0 var(--ink);
  }

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

  .nav-links a {
    padding: 0.8rem;
  }

  .hero,
  .section-heading.split,
  .about-grid,
  .checkout-layout,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

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

  .cart-panel,
  .contact-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(var(--max), calc(100% - 1rem));
    min-height: 68px;
    gap: 0.5rem;
  }

  .brand span:last-child {
    max-width: 9.5rem;
    line-height: 1.05;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .cart-pill,
  .menu-button {
    min-height: 38px;
    padding: 0.45rem 0.65rem;
  }

  .section-pad {
    width: min(var(--max), calc(100% - 1rem));
    padding: 3.4rem 0;
  }

  h1 {
    max-width: 9ch;
    font-size: 3.25rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .hero-media,
  .hero-media img {
    min-height: 380px;
  }

  .proof-strip div {
    min-width: calc(50% - 0.5rem);
  }

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

  .product-actions,
  .form-row.two-col {
    grid-template-columns: 1fr;
  }

  .add-button,
  .form-submit {
    width: 100%;
  }

  .contact-chips,
  .order-contact-actions,
  .footer-links {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
