:root {
  color-scheme: dark;
  --paper: #17100e;
  --surface: #241813;
  --ink: #f4e3ce;
  --muted: #c9b39d;
  --line: #604334;
  --accent: #efbb88;
  font: 100% / 1.5 system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 75% 0, #332017, var(--paper) 45rem); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ffc77f;
  outline-offset: 4px;
}
p, h1, h2, h3 { margin: 0; }
section[id] { scroll-margin-top: 1rem; }
.wrap { width: min(calc(100% - 3rem), 79rem); margin-inline: auto; }
.skip-link {
  position: absolute;
  z-index: 1;
  padding: .65rem 1rem;
  background: var(--surface);
  transform: translateY(-120%);
}
.skip-link:focus { transform: translateY(0); }
.site-header, .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}
.site-header nav { display: flex; gap: 1.3rem; }
.site-header nav a, .site-footer a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 2.75rem;
  font-size: .875rem;
  font-weight: 650;
  text-decoration-thickness: 1px;
  text-underline-offset: .23em;
}
.wordmark { font-weight: 800; font-size: 1.12rem; letter-spacing: .16em; text-decoration: none; white-space: nowrap; }
.wordmark span { color: var(--accent); }
.hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); background: var(--surface); border: 1px solid var(--line); }
.hero-copy { align-self: center; padding: clamp(1.5rem, 4.5vw, 4.5rem); }
.eyebrow { color: var(--accent); font-size: .74rem; font-weight: 800; letter-spacing: .105em; text-transform: uppercase; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; line-height: 1; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.4vw, 6.5rem); margin-block: .65rem 1.15rem; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.hero-copy p:not(.eyebrow) { max-width: 26rem; color: var(--muted); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 2.8rem;
  padding: .62rem 1rem;
  border: 1px solid transparent;
  border-radius: .25rem;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}
.primary { background: var(--accent); color: #24140d; }
.primary:not(:disabled):hover { background: #ffd1a5; }
.primary:disabled { background: #4b3529; color: #d4bda7; cursor: default; }
.hero-copy .button { margin-top: 1.4rem; }
.hero-art { min-width: 0; margin: 0; align-self: stretch; background: #23160f; }
.hero-art img { display: block; width: 100%; height: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.product-art { position: relative; display: grid; place-items: center; overflow: hidden; }
.product-number { position: absolute; font-size: .7rem; font-weight: 700; letter-spacing: .12em; }
.pack {
  display: grid;
  align-items: center;
  width: clamp(6rem, 12vw, 10rem);
  aspect-ratio: .71;
  padding: .68rem;
  border-radius: .3rem .3rem .6rem .6rem;
  border-top: .4rem double #ffffff30;
  border-bottom: .42rem solid #08040262;
  background: linear-gradient(102deg, #09040281, #ffffff0d 24%, #ffffff10 69%, #09040283), var(--pack-color);
  box-shadow: .9rem 1rem 2rem #0a0605a0, inset 0 0 1.35rem #12090775;
  transform: rotate(-4deg);
}
.pack-brazil { --pack-color: #733b34; }
.pack-colombia { --pack-color: #465442; }
.pack-ethiopia { --pack-color: #9b642f; }
.pack-label {
  display: grid;
  gap: .2em;
  align-content: center;
  min-height: 65%;
  padding: .25em;
  border: 1px solid #e8c19896;
  background: #23150f;
  color: #edc395;
  text-align: center;
}
.pack-label span { font-size: .62em; letter-spacing: .15em; }
.pack-label strong { font: 2.2em / 1 Georgia, serif; }
.pack-label small { font-size: .64em; }
.demo-note { padding: .65rem 0; color: var(--muted); font-size: .82rem; }
.catalog { margin-block: 2.65rem 4rem; }
.section-heading { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .55rem 1rem; margin-bottom: 1rem; }
.section-heading p { color: var(--muted); font-size: .9rem; }
.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 0; list-style: none; }
.product { border: 1px solid var(--line); background: var(--surface); }
.product-art { min-height: 16rem; padding: .9rem; color: var(--ink); }
.product-art-brazil { background: radial-gradient(ellipse at 40% 32%, #58322c, #281512 83%); }
.product-art-colombia { background: radial-gradient(ellipse at 40% 32%, #3e4a34, #20251a 83%); }
.product-art-ethiopia { background: radial-gradient(ellipse at 40% 32%, #674327, #2b1b12 83%); }
.product-number { top: .6rem; left: .85rem; }
.product-info { padding: 1rem 1.25rem .7rem; }
.product-info h3 { font-size: 1.25rem; }
.product-info p { margin-top: .2rem; color: var(--muted); font-size: .88rem; }
.product-action { display: flex; align-items: center; justify-content: space-between; gap: .45rem; margin-top: .55rem; }
.product-action a { display: inline-flex; align-items: center; gap: .3rem; min-height: 2.75rem; color: var(--accent); font-size: .87rem; font-weight: 700; text-underline-offset: .2em; }
.product-action strong { white-space: nowrap; }
.order {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 1.3rem 3rem;
  padding: clamp(1.1rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  background: var(--surface);
}
.order h2 { margin-block: .5rem .8rem; }
.order p:not(.eyebrow) { max-width: 26rem; color: var(--muted); }
.order-note { margin-top: .75rem; font-size: .85rem; }
.order-panel { display: grid; gap: .42rem; min-width: 0; }
.order-panel label { font-size: .85rem; font-weight: 700; }
.order-panel select, .order-panel textarea {
  width: 100%;
  border: 1px solid #8f6a53;
  border-radius: .2rem;
  background: var(--paper);
  color: var(--ink);
  padding: .55rem;
  font: inherit;
}
.order-panel select { min-height: 2.75rem; margin-bottom: .35rem; }
.order-panel textarea { resize: vertical; }
.order-panel .button { justify-self: start; }
.status { min-height: 1.25rem; font-size: .85rem; }
.site-footer { margin-top: 1.2rem; }

@media (max-width: 720px) {
  .hero, .order { grid-template-columns: 1fr; }
  .hero-art { border-top: 1px solid var(--line); }
  .hero-art img { height: auto; }
  .product-art { min-height: 12rem; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 1.5rem); }
  .site-header { gap: .55rem; }
  .site-header nav { gap: .65rem; }
  .site-header nav a { font-size: .78rem; }
  .wordmark { font-size: .96rem; }
  .products { grid-template-columns: 1fr; }
  .product { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .product-art { min-height: 9rem; }
  .product-art .pack { width: 4.9rem; padding: .3rem; font-size: .78rem; }
  .product-info { align-self: center; padding-inline: .75rem; }
  .product-number { top: .3rem; left: .45rem; font-size: .6rem; }
}
