@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(../fonts/Fraunces-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url(../fonts/DMSans.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --cream: #f8f3ec;
  --paper: #fffdf9;
  --clay: #b4532a;
  --ink: #2a211b;
  --muted: #7a6b5f;
  --line: #e8ddd0;
  --serif: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 "DM Sans", system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.fine { font-size: .78rem; color: var(--muted); }
.kicker { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--clay); font-weight: 700; margin: 0 0 .8em; }

.concept { background: #111; color: #ddd; font-size: 13px; text-align: center; padding: 7px 12px; }
.concept a { color: #fff; font-weight: 700; }
.announce { background: var(--clay); color: #fbeee2; text-align: center; font-size: 13.5px; padding: 8px 12px; letter-spacing: .02em; }

.header { position: sticky; top: 0; z-index: 20; background: rgba(255,253,249,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 76px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--clay); }
.logo { font-family: var(--serif); font-size: 1.9rem; text-decoration: none; letter-spacing: -.02em; margin: 0; }
.logo i { color: var(--clay); }
.logo--sm { font-size: 1.5rem; margin-bottom: .4em; }
.header__tools { display: flex; justify-content: flex-end; gap: 6px; }
.icon-btn { background: none; border: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; position: relative; }
.icon-btn:hover { background: var(--cream); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--clay); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: .2s; }
.cart-count.show { transform: scale(1); }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 0; cursor: pointer; transition: .2s; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--clay); }
.btn--block { width: 100%; }
.link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--clay); padding-bottom: 2px; }

.hero { background: var(--cream); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; min-height: 560px; }
.hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); font-weight: 350; }
.hero h1 em { color: var(--clay); font-style: italic; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 30em; margin: 0 0 32px; }
.hero__cta { display: flex; align-items: center; gap: 28px; }
.hero__art { position: relative; height: 100%; min-height: 480px; display: flex; align-items: center; justify-content: center; }
.blob { position: absolute; width: 440px; height: 440px; border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; background: #ecd9c4; }
.hero__pieces { position: relative; display: flex; align-items: flex-end; }
.hero__pieces div:nth-child(1) svg { width: 220px; }
.hero__pieces div:nth-child(2) svg { width: 200px; margin: 0 -40px 0 -50px; }
.hero__pieces div:nth-child(3) svg { width: 190px; }
.hero__tag { position: absolute; bottom: 60px; right: 20px; background: var(--paper); border-radius: 14px; padding: 12px 18px; box-shadow: 0 14px 30px rgba(80,50,30,.12); display: flex; flex-direction: column; font-size: .9rem; }
.hero__tag b { font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.hero__tag span { color: var(--muted); }

.usp { border-bottom: 1px solid var(--line); }
.usp__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 28px 0; }
.usp__in > div { display: flex; gap: 14px; align-items: center; }
.usp svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--clay); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.usp span { font-size: .88rem; color: var(--muted); line-height: 1.4; }
.usp b { display: block; color: var(--ink); font-size: .95rem; }

.shop { padding: 96px 0; }
.shop__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.shop__head h2 { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: none; padding: 9px 18px; border-radius: 999px; cursor: pointer; font-weight: 500; transition: .15s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 22px; }
.product__img { position: relative; display: block; width: 100%; aspect-ratio: 4/5; border: 0; border-radius: 18px; cursor: pointer; overflow: hidden; padding: 0; }
.product__img svg { width: 78%; margin: 12% auto 0; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.product__img:hover svg { transform: scale(1.06) rotate(-2deg); }
.tag { position: absolute; top: 14px; left: 14px; background: var(--paper); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.qv { position: absolute; left: 14px; right: 14px; bottom: 14px; background: rgba(255,253,249,.94); padding: 10px; border-radius: 999px; font-weight: 700; font-size: .88rem; opacity: 0; transform: translateY(8px); transition: .25s; }
.product__img:hover .qv, .product__img:focus-visible .qv { opacity: 1; transform: none; }
.product__meta { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px 0; }
.product__meta h3 { font-size: 1.12rem; margin: 0 0 2px; }
.product__meta p { margin: 0; color: var(--muted); }
.add { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 1.3rem; cursor: pointer; transition: .15s; flex-shrink: 0; }
.add:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.story { background: var(--cream); padding: 96px 0; }
.story__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.story__art svg { width: 100%; height: auto; }
.story p { color: var(--muted); font-size: 1.05rem; }
.stats { display: flex; gap: 40px; margin: 30px 0 18px; }
.stats b { display: block; font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: var(--clay); line-height: 1; }
.stats span { font-size: .88rem; color: var(--muted); }

.reviews { padding: 96px 0; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.reviews figure { margin: 0; background: var(--cream); border-radius: 18px; padding: 32px; }
.stars { color: var(--clay); letter-spacing: 3px; }
.reviews blockquote { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; margin: 14px 0 18px; }
.reviews figcaption { font-size: .9rem; color: var(--muted); }

.care { background: var(--ink); color: var(--paper); padding: 72px 0; }
.care__in { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.care h2 { margin-bottom: .2em; }
.care p { color: #cbbcae; margin: 0; }
.signup { display: flex; gap: 10px; background: #3b2f27; padding: 6px; border-radius: 999px; min-width: min(460px, 100%); }
.signup input { flex: 1; background: none; border: 0; color: #fff; padding: 0 18px; font: inherit; outline: none; min-width: 0; }
.signup .btn { background: var(--clay); }
.signup .btn:hover { background: #c9643a; }

.footer { background: #1f1814; color: #b9a99b; padding: 64px 0; font-size: .92rem; }
.footer__in { display: grid; grid-template-columns: 1.2fr .6fr .6fr 1.4fr; gap: 40px; }
.footer .logo { color: var(--paper); }
.footer b { color: var(--paper); display: block; margin-bottom: 8px; }
.footer a { display: block; text-decoration: none; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer__note { border-left: 3px solid var(--clay); padding-left: 18px; }
.footer__note b { display: inline; }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__bg, .drawer__bg { position: absolute; inset: 0; background: rgba(30,20,14,.45); }
.modal__box { position: relative; background: var(--paper); border-radius: 22px; width: min(860px, 100%); display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; animation: pop .25s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal__art { display: grid; place-items: center; padding: 30px; }
.modal__art svg { width: 100%; max-width: 320px; }
.modal__body { padding: 44px 36px; }
.modal__body h3 { font-size: 2rem; }
.modal__price { font-size: 1.3rem; font-weight: 700; }
.modal__body p { color: var(--muted); }
.spec { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.spec li { background: var(--cream); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.x { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; z-index: 2; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 16px; }
.qty button { background: none; border: 0; width: 40px; height: 40px; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.qty--sm { margin: 6px 0 0; align-self: flex-start; }
.qty--sm button { width: 30px; height: 30px; }

.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__bg { opacity: 0; transition: .3s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--paper); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.drawer.open { pointer-events: auto; }
.drawer.open .drawer__bg { opacity: 1; }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { position: relative; padding: 24px 24px 12px; }
.drawer__head h3 { font-size: 1.6rem; margin: 0; }
.drawer__head .x { top: 22px; }
.ship { margin: 0 24px; background: var(--cream); padding: 12px 16px; border-radius: 12px; font-size: .9rem; }
.ship__bar { height: 6px; background: var(--line); border-radius: 3px; margin-top: 8px; overflow: hidden; }
.ship__bar i { display: block; height: 100%; background: var(--clay); border-radius: 3px; transition: width .4s; }
.lines { list-style: none; margin: 0; padding: 12px 24px; flex: 1; overflow: auto; }
.lines li { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 76px; height: 86px; border-radius: 12px; display: grid; place-items: center; }
.line__img svg { width: 64px; }
.line__info { display: flex; flex-direction: column; font-size: .92rem; }
.line__info span { color: var(--muted); }
.lines .empty { display: block; text-align: center; color: var(--muted); border: 0; padding: 60px 0; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 14px; }
.drawer__foot .fine { margin: 10px 0 0; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: var(--paper); padding: 12px 22px; border-radius: 999px; font-size: .92rem; opacity: 0; transition: .3s; z-index: 80; pointer-events: none; max-width: calc(100% - 40px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .usp__in { grid-template-columns: 1fr 1fr; }
  .footer__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header__in { grid-template-columns: auto 1fr; }
  .logo { font-size: 1.6rem; }
  .hero__in, .story__in, .modal__box { grid-template-columns: 1fr; }
  .hero__in { padding: 48px 0 0; min-height: 0; gap: 0; }
  .hero__art { min-height: 340px; }
  .blob { width: 300px; height: 300px; }
  .hero__pieces div:nth-child(1) svg { width: 150px; }
  .hero__pieces div:nth-child(2) svg { width: 140px; margin: 0 -30px 0 -36px; }
  .hero__pieces div:nth-child(3) svg { width: 130px; }
  .hero__tag { bottom: 20px; right: 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .product__meta h3 { font-size: 1rem; }
  .qv { display: none; }
  .reviews__grid { grid-template-columns: 1fr; }
  .shop, .story, .reviews { padding: 64px 0; }
  .story__in { gap: 36px; }
  .modal__art { padding: 16px; max-height: 260px; }
  .modal__art svg { max-width: 220px; }
  .modal__body { padding: 20px 24px 28px; }
  .footer__in { grid-template-columns: 1fr; }
}
