:root {
  --ink: #12271d;
  --forest: #19372a;
  --rust: #a64116;
  --sand: #f3eee4;
  --paper: #fffdf9;
  --line: #d7d8d0;
  --muted: #5d665f;
  --success: #167143;
  --error: #b42318;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(18, 39, 29, 0.12);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  line-height: 1.5;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  transition: 0.18s ease;
}
a {
  color: inherit;
}
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: white;
  padding: 0.75rem;
}
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 253, 249, 0.96);
  backdrop-filter: blur(12px);
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.brand img {
  width: 92px;
  height: 66px;
  object-fit: contain;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 650;
}
.text-button {
  border: 0;
  background: none;
  color: var(--ink);
  font-weight: 650;
  cursor: pointer;
}
.cart-button,
.primary,
.secondary,
.section-title button {
  border: 0;
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  font-weight: 750;
  cursor: pointer;
}
.cart-button,
.primary {
  background: var(--rust);
  color: white;
}
.cart-button:hover,
.primary:hover {
  background: #843311;
}
.secondary {
  background: white;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.hero {
  min-height: 620px;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 8vw, 8rem);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 5rem;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, #e4d0a9 0, transparent 30%),
    linear-gradient(135deg, var(--sand), #fffaf1);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--rust);
  margin: 0 0 0.8rem;
}
.hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.98;
  margin: 0 0 1.5rem;
  max-width: 900px;
}
.hero > div > p:not(.eyebrow) {
  font-size: 1.2rem;
  max-width: 700px;
  color: var(--muted);
  margin-bottom: 2rem;
}
.hero .primary {
  display: inline-block;
  text-decoration: none;
  padding: 1rem 1.5rem;
}
.hero aside {
  background: var(--forest);
  color: white;
  padding: 2rem;
  border-radius: var(--radius);
  display: grid;
  gap: 0.4rem;
  box-shadow: var(--shadow);
}
.hero aside strong {
  margin-top: 1rem;
}
.hero aside span {
  color: #dce8df;
}
.family-story {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 8rem);
  background: var(--forest);
  color: white;
}
.story-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.story-intro h2 {
  font: 700 clamp(2.6rem, 5vw, 5.4rem)/1.02 Georgia, serif;
  margin: 0;
}
.story-intro > p:last-child {
  color: #dce8df;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0;
}
.story-generations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.story-generations article {
  padding: 3rem clamp(1.5rem, 3vw, 3rem) 3rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  margin-right: clamp(1.5rem, 3vw, 3rem);
}
.story-generations article:last-child {
  border-right: 0;
  margin-right: 0;
}
.generation-mark {
  display: block;
  color: #d9b66f;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.family-names {
  color: #f2d69c;
  font: italic 1.2rem Georgia, serif;
  margin: 1.5rem 0 0.25rem;
}
.story-generations h3 {
  font: 700 1.8rem Georgia, serif;
  margin: 0 0 1rem;
}
.story-generations article > p:last-child {
  color: #dce8df;
}
.story-link {
  display: inline-block;
  color: white;
  font-weight: 750;
  margin-top: 1rem;
  text-underline-offset: 0.3rem;
}
.territory-film {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(520px, 1.35fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem);
  background: #ebe3d3;
}
.film-copy h2 {
  font: 700 clamp(2.4rem, 4vw, 4.5rem)/1.04 Georgia, serif;
  margin: 0 0 1.5rem;
}
.film-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}
.film-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 1.5rem;
}
.territory-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--forest);
  box-shadow: var(--shadow);
}
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.trust article {
  background: var(--paper);
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
}
.trust span {
  color: var(--rust);
  font-weight: 800;
}
.trust h2 {
  font-family: Georgia, serif;
}
.trust p {
  color: var(--muted);
}
.catalog-section {
  padding: 6rem clamp(1.25rem, 5vw, 5rem);
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.section-title h2 {
  font:
    700 clamp(2.2rem, 4vw, 4rem)/1 Georgia,
    serif;
  margin: 0;
}
.section-title form {
  display: flex;
}
.section-title input {
  min-width: 320px;
  border: 1px solid var(--line);
  border-radius: 8px 0 0 8px;
  padding: 0.8rem 1rem;
}
.section-title button {
  border-radius: 0 8px 8px 0;
  background: var(--forest);
  color: white;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: white;
  display: flex;
  flex-direction: column;
}
.product-visual {
  height: 190px;
  background: linear-gradient(145deg, #e9ddc5, #f8f3e9);
  display: grid;
  place-items: center;
  color: var(--rust);
  font:
    700 3rem Georgia,
    serif;
}
.product-card-content {
  padding: 1.4rem;
  display: grid;
  gap: 0.65rem;
  flex: 1;
}
.product-card h3 {
  font:
    700 1.45rem Georgia,
    serif;
  margin: 0;
}
.product-card p {
  margin: 0;
  color: var(--muted);
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: auto;
  padding-top: 1rem;
}
.price {
  font-size: 1.35rem;
  font-weight: 850;
}
.stock {
  font-size: 0.8rem;
  color: var(--success);
}
.stock.out {
  color: var(--error);
}
.product-card button {
  width: 100%;
  margin-top: 1rem;
}
.notice {
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}
.notice.error {
  background: #fff0ef;
  color: var(--error);
  border-left: 4px solid var(--error);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.pagination button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 6px;
  padding: 0.6rem 1rem;
}
.drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(460px, 100%);
  z-index: 30;
  background: white;
  padding: 2rem;
  box-shadow: var(--shadow);
  overflow: auto;
}
.drawer-head,
.dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}
.drawer h2,
dialog h2 {
  font:
    700 2rem Georgia,
    serif;
  margin: 0.2rem 0 1rem;
}
.icon-button {
  border: 1px solid var(--line);
  background: white;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.6rem;
  cursor: pointer;
}
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 39, 29, 0.5);
  z-index: 20;
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-row strong {
  display: block;
}
.cart-row input {
  width: 72px;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.cart-row button {
  border: 0;
  background: none;
  color: var(--error);
  cursor: pointer;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  font-size: 1.1rem;
}
.full {
  width: 100%;
}
dialog {
  width: min(720px, calc(100% - 2rem));
  border: 0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
dialog::backdrop {
  background: rgba(18, 39, 29, 0.55);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  margin: 0.75rem 0;
}
input,
select {
  border: 1px solid #aab3ac;
  border-radius: 7px;
  padding: 0.75rem;
  background: white;
}
.check {
  display: flex;
  align-items: center;
  font-weight: 500;
}
.check input {
  width: auto;
}
.helper {
  font-size: 0.85rem;
  color: var(--muted);
}
.success-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e5f6ed;
  color: var(--success);
  font-size: 2rem;
  margin: auto;
}
#success-dialog {
  text-align: center;
}
.account-dialog {
  width: min(860px, calc(100% - 2rem));
}
.account-summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 1.2rem;
  background: var(--sand);
  border-radius: 10px;
}
.account-summary strong,
.account-summary span {
  display: block;
}
.account-dialog section {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.account-list {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0;
}
.account-card {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}
.account-card strong,
.account-card span {
  display: block;
}
.account-card span {
  color: var(--muted);
  font-size: 0.9rem;
}
.notice:not(.error) {
  background: #f5f0e4;
  border-left: 4px solid #a36a08;
}
footer {
  background: var(--forest);
  color: white;
  padding: 3rem clamp(1.25rem, 5vw, 5rem);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}
footer > div {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}
footer img {
  width: 100px;
  filter: brightness(1.3);
}
footer span,
footer a,
footer button {
  color: #dce8df;
}
.legal-links button {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}
.content-dialog {
  width: min(880px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
}
.legal-content {
  display: grid;
  gap: 1rem;
  line-height: 1.7;
}
.legal-content h3 {
  margin: 1rem 0 0;
}
.legal-content p,
.legal-content li {
  color: var(--muted);
}
.cookie-banner {
  position: fixed;
  z-index: 30;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: white;
  border: 1px solid var(--line);
  box-shadow: 0 18px 60px rgb(18 43 31 / 22%);
  padding: 1.25rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  border-radius: 12px;
}
.cookie-banner h2 {
  margin: 0.2rem 0;
  font-size: 1.25rem;
}
.cookie-banner p {
  margin: 0.35rem 0;
  max-width: 760px;
}
.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
[hidden] {
  display: none !important;
}
@media (max-width: 820px) {
  .site-header {
    height: auto;
    padding: 0.75rem 1rem;
  }
  .brand span,
  .site-header nav > a {
    display: none;
  }
  .site-header nav {
    gap: 0.6rem;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 4rem 1.25rem;
    gap: 2rem;
  }
  .trust {
    grid-template-columns: 1fr;
  }
  .story-intro,
  .story-generations,
  .territory-film {
    grid-template-columns: 1fr;
  }
  .story-generations article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    margin-right: 0;
  }
  .story-generations article:last-child {
    border-bottom: 0;
  }
  .section-title {
    align-items: stretch;
    flex-direction: column;
  }
  .section-title form,
  .section-title input {
    width: 100%;
    min-width: 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  footer {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .cookie-actions > button {
    flex: 1;
  }
  .catalog-section {
    padding: 4rem 1.25rem;
  }
}
