@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;500;600;700&family=Gloock&display=swap');

:root {
  --forest: #344B38;
  --forest-deep: #1E261F;
  --straw: #EAD9B8;
  --terracotta: #C96B35;
  --ochre: #D1A940;
  --paper: #F7F0E4;
  --line: rgba(52, 75, 56, .24);
  --soft-line: rgba(30, 38, 31, .12);
  --shadow: 0 18px 36px rgba(30, 38, 31, .12);
  --display: 'Gloock', Georgia, serif;
  --body: 'Assistant', Verdana, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--forest-deep);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .25;
  background-image: repeating-linear-gradient(0deg, transparent 0 17px, rgba(52, 75, 56, .035) 17px 18px), repeating-linear-gradient(90deg, transparent 0 26px, rgba(201, 107, 53, .03) 26px 27px);
  z-index: -1;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; }
button, .btn, select { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ochre); outline-offset: 3px; }
.hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; left: 10px; transform: translateY(-150%); background: var(--forest-deep); color: var(--straw); padding: 10px 14px; z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.page-wrap { width: min(1240px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-size: .75rem; font-weight: 700; color: var(--terracotta); }
.eyebrow::before { content: ''; display: inline-block; width: 28px; height: 2px; background: currentColor; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.06; margin: 0; }
h1 { font-size: clamp(2.8rem, 6vw, 6.7rem); }
h2 { font-size: clamp(2rem, 4vw, 4rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.85rem); }
p { margin: 0 0 1.1rem; }
.lede { font-size: 1.15rem; max-width: 48ch; }
.muted { color: rgba(30, 38, 31, .68); }

.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(247, 240, 228, .96); }
.utility-bar { min-height: 32px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--soft-line); color: rgba(30, 38, 31, .64); font-size: .78rem; letter-spacing: .03em; }
.header-main { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--forest); }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--forest); color: var(--straw); border: 3px solid var(--ochre); font-family: var(--display); font-size: 1.15rem; transform: rotate(-7deg); }
.brand-text { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.site-nav a { text-decoration: none; font-weight: 600; color: var(--forest-deep); }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--terracotta); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.cart-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; border-left: 1px solid var(--line); padding-left: 18px; }
.cart-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; background: var(--ochre); color: var(--forest-deep); border-radius: 50%; font-size: .75rem; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--forest); padding: 8px; }
.menu-toggle svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; }

.texture-band { background-color: var(--forest); color: var(--straw); background-image: repeating-linear-gradient(45deg, rgba(234, 217, 184, .07) 0 2px, transparent 2px 14px), repeating-linear-gradient(-45deg, rgba(209, 169, 64, .06) 0 1px, transparent 1px 12px); }
.hero { padding: clamp(34px, 6vw, 80px) 0 90px; }
.hero-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; align-items: center; }
.hero-copy { grid-column: 1 / span 6; padding: 28px 0 36px 6%; position: relative; z-index: 2; }
.hero-copy::after { content: ''; position: absolute; left: 0; bottom: 0; width: 135px; height: 15px; background: repeating-linear-gradient(90deg, var(--ochre) 0 2px, transparent 2px 8px); }
.hero-copy h1 { margin: 16px 0 26px; max-width: 7ch; color: var(--straw); }
.hero-copy .lede { color: rgba(234, 217, 184, .86); }
.hero-art { grid-column: 7 / -1; margin: 0 -8% 0 -3%; position: relative; }
.hero-art::before { content: ''; position: absolute; top: -22px; right: 16%; width: 74%; height: 100%; border: 1px solid var(--ochre); transform: rotate(5deg); }
.hero-art img { position: relative; width: 100%; aspect-ratio: 1.18; object-fit: cover; clip-path: polygon(7% 0, 100% 5%, 93% 100%, 0 91%); }
.hero-note { position: absolute; left: -38px; bottom: 22px; width: 145px; padding: 16px; background: var(--ochre); color: var(--forest-deep); font-size: .82rem; line-height: 1.25; transform: rotate(-5deg); }
.hero-note strong { display: block; font-family: var(--display); font-size: 1.25rem; margin-bottom: 5px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border: 1px solid var(--ochre); padding: 10px 17px; background: var(--ochre); color: var(--forest-deep); font-weight: 700; text-decoration: none; transition: transform .2s ease, background-color .2s ease; }
.btn:hover { transform: translate(-2px, -2px); background: var(--straw); }
.btn-dark { background: var(--forest); color: var(--straw); border-color: var(--straw); }
.btn-dark:hover { background: var(--terracotta); color: var(--straw); }
.btn-quiet { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-small { min-height: 38px; padding: 7px 12px; font-size: .9rem; }
.link-arrow { color: var(--terracotta); font-weight: 700; text-decoration: none; }
.link-arrow::after { content: '  →'; }

.section { padding: clamp(58px, 8vw, 110px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-head h2 { max-width: 10ch; }
.section-head p { max-width: 35ch; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px 18px; }
.product-card { grid-column: span 3; position: relative; min-width: 0; }
.product-card:nth-child(2), .product-card:nth-child(5) { transform: translateY(30px); }
.product-card:nth-child(4) { grid-column: span 3; }
.product-card:nth-child(5) { grid-column: 2 / span 3; }
.product-image { position: relative; display: block; overflow: hidden; background: var(--straw); }
.product-image img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-index { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--forest); background: var(--straw); padding: 3px 6px; }
.product-info { padding: 13px 2px 0; }
.product-info h3 { font-size: 1.28rem; margin-bottom: 5px; }
.product-info h3 a { text-decoration: none; }
.product-info h3 a:hover { color: var(--terracotta); }
.product-meta { display: flex; justify-content: space-between; gap: 12px; color: rgba(30, 38, 31, .68); font-size: .88rem; }
.price { color: var(--forest); font-weight: 700; white-space: nowrap; }
.product-actions { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.editorial { display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: stretch; background: var(--straw); }
.editorial-copy { padding: clamp(28px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.editorial-copy h2 { margin: 14px 0 20px; max-width: 8ch; }
.editorial-art { min-height: 440px; position: relative; }
.editorial-art::after { content: ''; position: absolute; inset: 22px 22px 22px -22px; border: 1px solid var(--terracotta); pointer-events: none; }
.editorial-art img { width: 100%; height: 100%; object-fit: cover; clip-path: polygon(8% 0, 100% 9%, 100% 100%, 0 92%); }
.stamp-row { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stamp { padding: 19px 18px 19px 0; border-right: 1px solid var(--line); }
.stamp:last-child { border-right: 0; padding-left: 18px; }
.stamp:nth-child(2) { padding-left: 18px; }
.stamp strong { display: block; color: var(--terracotta); font-family: var(--display); font-size: 1.35rem; font-weight: 400; }
.stamp span { color: rgba(30, 38, 31, .7); font-size: .9rem; }

.page-hero { padding: 70px 0 54px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: end; }
.page-hero h1 { max-width: 9ch; margin-top: 15px; }
.page-hero-aside { border-left: 4px solid var(--terracotta); padding: 6px 0 6px 22px; max-width: 38ch; margin-bottom: 7px; }
.breadcrumb { font-size: .82rem; margin-bottom: 15px; color: rgba(30, 38, 31, .62); }
.breadcrumb a { color: var(--forest); }
.filter-bar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 34px 0 42px; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.field-label { display: block; font-size: .84rem; font-weight: 700; color: var(--forest); margin-bottom: 6px; }
.field, select, textarea { width: 100%; border: 1px solid rgba(52, 75, 56, .5); border-radius: 0; background: rgba(255, 255, 255, .3); color: var(--forest-deep); padding: 11px 12px; }
select { min-width: 220px; }
textarea { min-height: 140px; resize: vertical; }
.field::placeholder { color: rgba(30, 38, 31, .52); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-intro { margin-bottom: 28px; max-width: 50ch; }
.checkbox-line { display: flex; align-items: flex-start; gap: 9px; font-size: .88rem; line-height: 1.35; }
.checkbox-line input { flex: 0 0 auto; margin-top: 4px; accent-color: var(--forest); }
.checkbox-line a { color: var(--forest); }
.form-actions { display: flex; align-items: center; gap: 15px; margin-top: 24px; }
.form-feedback { min-height: 1.4em; color: var(--forest); font-weight: 700; }
.form-feedback.is-error { color: var(--terracotta); }

.detail-layout { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 7vw, 90px); align-items: start; padding-top: 36px; }
.detail-visual { position: relative; padding: 0 9% 9% 0; }
.detail-visual::before { content: ''; position: absolute; right: 0; bottom: 0; width: 72%; height: 86%; border: 1px solid var(--ochre); }
.detail-visual img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.detail-copy { padding-top: 18px; }
.detail-copy h1 { font-size: clamp(2.5rem, 5vw, 5rem); max-width: 8ch; margin: 13px 0 18px; }
.detail-price { font-family: var(--display); color: var(--terracotta); font-size: 1.8rem; margin: 24px 0; }
.detail-copy hr { border: 0; border-top: 1px solid var(--line); margin: 27px 0; }
.choice-row { display: grid; grid-template-columns: 1fr 125px; gap: 14px; margin: 22px 0; }
.size-note { font-size: .82rem; color: rgba(30, 38, 31, .64); margin-top: 8px; }

.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(290px, 5fr); gap: clamp(30px, 7vw, 90px); align-items: start; padding-top: 36px; }
.cart-list { border-top: 1px solid var(--line); }
.cart-row { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 18px; align-items: center; border-bottom: 1px solid var(--line); padding: 16px 0; }
.cart-row img { width: 112px; aspect-ratio: 1 / 1.2; object-fit: cover; }
.cart-row h3 { font-size: 1.3rem; margin-bottom: 5px; }
.cart-row p { margin: 0; color: rgba(30, 38, 31, .65); font-size: .9rem; }
.quantity-control { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.quantity-control button { width: 31px; height: 31px; border: 0; background: transparent; color: var(--forest); font-size: 1.15rem; }
.quantity-control span { min-width: 31px; text-align: center; font-weight: 700; }
.remove-item { border: 0; background: transparent; color: var(--terracotta); text-decoration: underline; padding: 4px 0; font-size: .86rem; }
.cart-row-end { display: grid; justify-items: end; gap: 11px; }
.summary { position: sticky; top: 22px; border: 1px solid var(--line); padding: 24px; background: rgba(234, 217, 184, .4); }
.summary h2 { font-size: 2rem; margin-bottom: 20px; }
.summary-line { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px solid var(--soft-line); }
.summary-total { display: flex; justify-content: space-between; gap: 15px; padding: 17px 0 4px; font-family: var(--display); font-size: 1.35rem; }
.summary .btn { width: 100%; margin-top: 17px; }
.summary-note { margin-top: 14px; font-size: .83rem; color: rgba(30, 38, 31, .67); }
.toast { position: fixed; right: 20px; bottom: 20px; z-index: 30; max-width: min(360px, calc(100vw - 40px)); padding: 13px 16px; border: 1px solid var(--ochre); background: var(--forest-deep); color: var(--straw); transform: translateY(140%); transition: transform .25s ease; }
.toast.is-visible { transform: translateY(0); }
.empty-state { padding: 45px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.empty-state h2 { font-size: 2.3rem; margin-bottom: 10px; }
.checkout-form { border-top: 1px solid var(--line); padding-top: 26px; }
.checkout-block { margin-bottom: 33px; }
.checkout-block h2 { font-size: 2rem; margin-bottom: 17px; }
.payment-list { display: grid; gap: 10px; }
.payment-option { display: grid; grid-template-columns: auto 1fr; gap: 10px; border: 1px solid var(--line); padding: 13px; }
.payment-option input { margin-top: 4px; accent-color: var(--forest); }
.payment-option strong { display: block; color: var(--forest); }
.payment-option span { display: block; font-size: .87rem; color: rgba(30, 38, 31, .68); }

.content-layout { display: grid; grid-template-columns: 3fr 8fr; gap: clamp(30px, 8vw, 110px); padding-top: 38px; }
.content-aside { border-top: 3px solid var(--terracotta); padding-top: 14px; align-self: start; }
.content-aside p { font-size: .94rem; color: rgba(30, 38, 31, .67); }
.prose { max-width: 72ch; }
.prose h2 { font-size: 2.1rem; margin: 35px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.35rem; color: var(--forest); margin: 24px 0 8px; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote { margin: 28px 0; padding: 18px 22px; border-left: 4px solid var(--ochre); background: rgba(234, 217, 184, .55); }
.contact-layout { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(34px, 8vw, 110px); padding-top: 36px; }
.contact-details { border-left: 4px solid var(--ochre); padding-left: 22px; }
.contact-details h2 { font-size: 2rem; margin-bottom: 19px; }
.contact-details p { margin-bottom: 20px; }
.contact-details a { color: var(--terracotta); font-weight: 700; }

.site-footer { margin-top: 100px; background: var(--forest-deep); color: var(--straw); }
.footer-main { padding: 52px 0 42px; display: grid; grid-template-columns: 4fr 3fr 5fr; gap: 38px; }
.footer-main h2 { font-size: 1.8rem; margin-bottom: 12px; }
.footer-main p { color: rgba(234, 217, 184, .74); font-size: .93rem; }
.footer-links { display: grid; align-content: start; gap: 8px; }
.footer-links a { color: var(--straw); text-decoration: none; font-size: .93rem; }
.footer-links a:hover { color: var(--ochre); }
.footer-newsletter { border-left: 1px solid rgba(234, 217, 184, .35); padding-left: 30px; }
.footer-newsletter form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.footer-newsletter .full { grid-column: 1 / -1; }
.footer-newsletter .field { color: var(--straw); border-color: rgba(234, 217, 184, .55); background: transparent; }
.footer-newsletter .field::placeholder { color: rgba(234, 217, 184, .68); }
.footer-newsletter .checkbox-line { color: rgba(234, 217, 184, .76); }
.footer-newsletter .checkbox-line a { color: var(--straw); }
.footer-bottom { border-top: 1px solid rgba(234, 217, 184, .25); padding: 18px 0; display: flex; justify-content: space-between; gap: 20px; color: rgba(234, 217, 184, .62); font-size: .82rem; }

@media (max-width: 850px) {
  body { font-size: 16px; }
  .page-wrap { width: min(100% - 28px, 700px); }
  .utility-bar { padding: 0 4px; }
  .utility-bar span:last-child { display: none; }
  .header-main { min-height: 74px; }
  .brand-text { font-size: .92rem; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; padding: 18px 24px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .site-nav.is-open { display: grid; gap: 15px; }
  .header-actions { margin-left: auto; }
  .cart-link { border-left: 0; padding-left: 0; }
  .hero { padding-top: 30px; }
  .hero-grid, .page-hero-grid, .detail-layout, .cart-layout, .checkout-layout, .content-layout, .contact-layout { grid-template-columns: 1fr; }
  .hero-copy { grid-column: 1; padding: 10px 8px 34px; }
  .hero-copy h1 { max-width: 8ch; font-size: clamp(3.2rem, 16vw, 5rem); }
  .hero-art { grid-column: 1; margin: 0 0 0 8%; }
  .hero-note { left: -6px; bottom: 18px; width: 130px; }
  .section-head { align-items: start; flex-direction: column; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 13px; }
  .product-card, .product-card:nth-child(4), .product-card:nth-child(5) { grid-column: auto; }
  .product-card:nth-child(2), .product-card:nth-child(5) { transform: translateY(18px); }
  .editorial { grid-template-columns: 1fr; }
  .editorial-art { min-height: 300px; order: -1; }
  .stamp-row { grid-template-columns: 1fr; }
  .stamp, .stamp:nth-child(2), .stamp:last-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 15px 0; }
  .stamp:last-child { border-bottom: 0; }
  .filter-bar { align-items: stretch; flex-direction: column; }
  select { min-width: 0; }
  .detail-visual { padding-right: 7%; }
  .detail-copy { padding-top: 0; }
  .cart-row { grid-template-columns: 82px minmax(0, 1fr); gap: 12px; }
  .cart-row img { width: 82px; }
  .cart-row-end { grid-column: 2; justify-items: start; grid-template-columns: auto 1fr; align-items: center; display: grid; }
  .cart-row-end .price { grid-column: 1 / -1; }
  .summary { position: static; }
  .content-aside { order: 2; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-newsletter { grid-column: 1 / -1; border-left: 0; border-top: 1px solid rgba(234, 217, 184, .35); padding: 26px 0 0; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 420px) {
  .page-wrap { width: calc(100% - 24px); }
  .brand-text { max-width: 110px; line-height: 1.05; }
  .header-actions { gap: 5px; }
  .cart-link { font-size: .88rem; }
  .cart-icon { width: 19px; }
  .hero-copy h1 { font-size: 3.1rem; }
  .product-info h3 { font-size: 1.1rem; }
  .product-meta { display: block; }
  .product-meta .price { display: block; margin-top: 2px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .choice-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-newsletter { grid-column: auto; }
  .footer-newsletter form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
