@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #17201a;
  --muted: #69736c;
  --paper: #fffdf8;
  --surface: #f6f2e9;
  --line: rgba(23,32,26,.12);
  --brand: #7b2520;
  --brand-dark: #45110e;
  --accent: #e9b44c;
  --white: #fff;
  --shadow: 0 18px 50px rgba(25, 29, 25, .10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow { margin: 0 0 10px; color: var(--brand); font: 800 12px/1.2 "Manrope"; letter-spacing: .16em; text-transform: uppercase; }
.section { padding: 90px 0; }
.section.soft { background: var(--surface); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 38px; }
.section-head h2 { margin: 0; font: 800 clamp(30px,4vw,48px)/1.05 "Manrope"; letter-spacing: -.04em; }
.section-head p { max-width: 520px; margin: 0; color: var(--muted); line-height: 1.7; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; font-weight: 700; transition: .25s ease; }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 10px 28px color-mix(in srgb, var(--brand) 28%, transparent); }
.btn-primary:hover { transform: translateY(-2px); background: var(--brand-dark); }
.btn-light { background: white; color: var(--ink); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--ink); }
.icon-btn:hover { background: var(--surface); }

.promo { padding: 9px 20px; background: var(--brand-dark); color: white; text-align: center; font-size: 13px; letter-spacing: .02em; }
.header { position: sticky; z-index: 20; top: 0; background: rgba(255,253,248,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-main { display: grid; grid-template-columns: auto minmax(220px,1fr) auto; align-items: center; gap: 38px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 15px 15px 15px 5px; background: var(--brand); color: white; font: 800 20px "Manrope"; transform: rotate(-4deg); }
.brand-copy strong { display: block; font: 800 20px/1 "Manrope"; letter-spacing: -.04em; }
.brand-copy small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.search { position: relative; }
.search input { width: 100%; height: 46px; padding: 0 48px 0 18px; border: 1px solid var(--line); border-radius: 999px; outline: none; background: white; transition: .2s; }
.search input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 9%, transparent); }
.search svg { position: absolute; top: 13px; right: 17px; width: 20px; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 9px; }
.cart-count { position: absolute; top: -4px; right: -3px; display: grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px; border: 2px solid var(--paper); border-radius: 99px; background: var(--accent); color: var(--brand-dark); font-size: 10px; font-weight: 800; }
.nav { border-top: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: center; gap: 32px; min-height: 48px; }
.nav a { position: relative; font-size: 13px; font-weight: 700; }
.nav a::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--brand); content: ""; transform: scaleX(0); transition: .2s; }
.nav a:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

.hero { position: relative; display: grid; align-items: center; min-height: 620px; overflow: hidden; color: white; background: #14231a; }
.hero::before { position: absolute; inset: 0; background: var(--hero) center/cover no-repeat; content: ""; }
.hero::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,13,9,.88) 0%, rgba(8,13,9,.58) 38%, rgba(8,13,9,.08) 70%); content: ""; }
.hero .container { position: relative; z-index: 1; }
.hero-copy { width: min(620px, 58%); padding: 84px 0; }
.hero .eyebrow { color: #f3d58f; }
.hero h1 { max-width: 620px; margin: 0 0 24px; font: 800 clamp(46px,6vw,78px)/.98 "Manrope"; letter-spacing: -.06em; }
.hero p { max-width: 530px; margin: 0 0 32px; color: rgba(255,255,255,.82); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 28px; color: rgba(255,255,255,.76); font-size: 13px; }
.hero-note span { display: block; width: 34px; height: 1px; background: rgba(255,255,255,.55); }

.trust { position: relative; z-index: 2; margin-top: -28px; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
.trust-item { display: flex; align-items: center; gap: 13px; min-height: 82px; padding: 18px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 10%, white); color: var(--brand); font-size: 19px; }
.trust-item strong { display: block; font: 700 13px "Manrope"; }
.trust-item small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }

.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.category-card { position: relative; min-height: 280px; overflow: hidden; border-radius: 22px; background: var(--surface); border: 1px solid transparent; color: white; isolation: isolate; transition: .25s; }
.category-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--brand) 25%, transparent); box-shadow: var(--shadow); }
.category-image { position: absolute; z-index: -2; inset: 0; background-color: #eee5d4; background-image: var(--sheet); background-repeat: no-repeat; background-size: 200% 200%; transition: transform .45s ease; }
.category-card:hover .category-image { transform: scale(1.045); }
.category-card::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,rgba(9,13,10,.04) 28%,rgba(9,13,10,.90) 100%); content: ""; }
.category-card .num { position: absolute; top: 18px; left: 18px; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--brand); box-shadow: 0 5px 18px rgba(0,0,0,.10); font: 800 10px "Manrope"; letter-spacing: .12em; }
.category-copy { position: absolute; right: 22px; bottom: 22px; left: 22px; }
.category-card h3 { max-width: 190px; margin: 0 0 7px; font: 800 23px/1.08 "Manrope"; letter-spacing: -.03em; }
.category-card p { margin: 0; color: rgba(255,255,255,.78); font-size: 13px; }

.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 28px; }
.filter { padding: 10px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 700; }
.filter.active, .filter:hover { border-color: var(--brand); background: var(--brand); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.product-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: white; transition: .25s; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card.hidden { display: none; }
.product-visual { position: relative; aspect-ratio: 1; overflow: hidden; background-color: #f5efe3; background-image: var(--sheet); background-repeat: no-repeat; background-size: 200% 200%; }
.pos-0 { background-position: 0 0; }
.pos-1 { background-position: 100% 0; }
.pos-2 { background-position: 0 100%; }
.pos-3 { background-position: 100% 100%; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 7px 10px; border-radius: 999px; background: white; color: var(--brand); box-shadow: 0 4px 14px rgba(0,0,0,.08); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fav { position: absolute; top: 13px; right: 13px; z-index: 2; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); font-size: 17px; }
.fav.active { color: #b32036; }
.product-body { padding: 18px; }
.product-cat { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.product-body h3 { min-height: 46px; margin: 7px 0 12px; font: 750 17px/1.35 "Manrope"; letter-spacing: -.02em; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.price { color: var(--brand); font: 800 20px "Manrope"; }
.unit { color: var(--muted); font-size: 11px; }
.product-actions { display: grid; grid-template-columns: 42px 1fr; gap: 8px; margin-top: 16px; }
.details-btn { display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.add-btn { min-height: 42px; border: 0; border-radius: 12px; background: var(--brand); color: white; font-size: 13px; font-weight: 800; }
.add-btn:hover { background: var(--brand-dark); }
.empty-search { display: none; padding: 45px; border: 1px dashed var(--line); border-radius: 20px; color: var(--muted); text-align: center; }

.story-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: stretch; gap: 24px; }
.story-photo { position: relative; min-height: 520px; overflow: hidden; border-radius: 30px; background: var(--hero) 64% center/cover no-repeat; }
.story-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(0,0,0,.55)); content: ""; }
.story-stamp { position: absolute; z-index: 1; right: 24px; bottom: 24px; width: 120px; padding: 25px 12px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(20,25,20,.4); color: white; text-align: center; backdrop-filter: blur(12px); }
.story-stamp strong { display: block; font: 800 28px "Manrope"; }
.story-stamp span { font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.story-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px,6vw,76px); border-radius: 30px; background: var(--brand-dark); color: white; }
.story-copy .eyebrow { color: var(--accent); }
.story-copy h2 { margin: 0 0 22px; font: 800 clamp(34px,4vw,52px)/1.08 "Manrope"; letter-spacing: -.045em; }
.story-copy > p { margin: 0 0 28px; color: rgba(255,255,255,.75); font-size: 16px; line-height: 1.8; }
.story-points { display: grid; gap: 16px; }
.story-point { display: flex; gap: 13px; }
.story-point b { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--brand-dark); }
.story-point strong { display: block; margin-bottom: 3px; font-size: 14px; }
.story-point span { color: rgba(255,255,255,.62); font-size: 12px; }

.contact-wrap { display: grid; grid-template-columns: .8fr 1.2fr; overflow: hidden; border-radius: 30px; background: white; box-shadow: var(--shadow); }
.contact-info { padding: 52px; background: var(--brand); color: white; }
.contact-info h2 { margin: 0 0 15px; font: 800 38px/1.08 "Manrope"; letter-spacing: -.04em; }
.contact-info p { color: rgba(255,255,255,.75); line-height: 1.7; }
.contact-list { display: grid; gap: 16px; margin-top: 34px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.contact-line i { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; font-style: normal; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 52px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 700; }
.field input, .field textarea { width: 100%; padding: 14px 15px; border: 1px solid var(--line); border-radius: 12px; outline: none; background: var(--paper); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--brand); }

.footer { padding: 64px 0 28px; background: #101612; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 50px; }
.footer .brand-copy small, .footer p, .footer a { color: rgba(255,255,255,.58); }
.footer p { max-width: 310px; line-height: 1.7; font-size: 13px; }
.footer h4 { margin: 0 0 18px; font: 700 13px "Manrope"; }
.footer-links { display: grid; gap: 11px; font-size: 13px; }
.footer a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); color: rgba(255,255,255,.43); font-size: 11px; }

.overlay { position: fixed; z-index: 40; inset: 0; visibility: hidden; background: rgba(8,12,9,.56); opacity: 0; transition: .25s; backdrop-filter: blur(4px); }
.overlay.open { visibility: visible; opacity: 1; }
.drawer { position: fixed; z-index: 41; top: 0; right: 0; display: flex; flex-direction: column; width: min(430px,100%); height: 100%; background: white; transform: translateX(105%); transition: .32s cubic-bezier(.22,.8,.25,1); }
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font: 800 22px "Manrope"; }
.drawer-body { flex: 1; overflow: auto; padding: 18px 24px; }
.cart-empty { padding: 70px 20px; color: var(--muted); text-align: center; }
.cart-empty b { display: block; margin-bottom: 7px; color: var(--ink); font: 800 20px "Manrope"; }
.cart-item { display: grid; grid-template-columns: 68px 1fr auto; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 68px; aspect-ratio: 1; border-radius: 12px; background-image: var(--sheet); background-size: 200% 200%; }
.cart-item strong { display: block; font-size: 13px; }
.cart-item small { display: block; margin-top: 5px; color: var(--brand); font-weight: 700; }
.qty { display: flex; align-items: center; gap: 7px; margin-top: 8px; }
.qty button { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.remove { align-self: start; border: 0; background: transparent; color: #a54646; }
.drawer-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); box-shadow: 0 -15px 40px rgba(0,0,0,.04); }
.total { display: flex; justify-content: space-between; margin-bottom: 16px; font-weight: 700; }
.total strong { color: var(--brand); font: 800 22px "Manrope"; }
.drawer-foot .btn { width: 100%; }
.drawer-foot p { margin: 10px 0 0; color: var(--muted); font-size: 10px; text-align: center; }

.modal { position: fixed; z-index: 42; top: 50%; left: 50%; display: none; width: min(820px,calc(100% - 32px)); max-height: calc(100vh - 40px); overflow: auto; border-radius: 26px; background: white; box-shadow: 0 35px 100px rgba(0,0,0,.28); transform: translate(-50%,-50%); }
.modal.open { display: block; }
.modal-close { position: absolute; z-index: 2; top: 15px; right: 15px; }
.product-modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-visual { min-height: 440px; background-image: var(--sheet); background-size: 200% 200%; }
.modal-copy { padding: 52px 42px; }
.modal-copy h2 { margin: 8px 0 12px; font: 800 34px/1.08 "Manrope"; letter-spacing: -.04em; }
.modal-copy p { color: var(--muted); line-height: 1.7; }
.modal-price { margin: 24px 0; color: var(--brand); font: 800 28px "Manrope"; }
.modal-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 20px 0 28px; }
.modal-fact { padding: 12px; border-radius: 12px; background: var(--surface); font-size: 11px; }
.modal-fact strong { display: block; margin-bottom: 3px; }
.checkout-view { padding: 46px; text-align: center; }
.checkout-icon { display: grid; place-items: center; width: 70px; height: 70px; margin: 0 auto 20px; border-radius: 50%; background: color-mix(in srgb, var(--brand) 11%, white); color: var(--brand); font-size: 29px; }
.checkout-view h2 { margin: 0 0 12px; font: 800 32px "Manrope"; }
.checkout-view p { max-width: 540px; margin: 0 auto 25px; color: var(--muted); line-height: 1.7; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 25px 0; text-align: left; }
.step { padding: 17px; border-radius: 14px; background: var(--surface); }
.step b { display: block; color: var(--brand); font-size: 11px; }
.step span { display: block; margin-top: 5px; font-size: 12px; }
.toast { position: fixed; z-index: 60; right: 24px; bottom: 24px; padding: 14px 18px; border-radius: 13px; background: #101612; color: white; box-shadow: var(--shadow); font-size: 13px; transform: translateY(35px); opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* Portfolio hub */
.hub { min-height: 100vh; background: #121713; color: white; }
.hub-head { display: flex; align-items: center; justify-content: space-between; min-height: 84px; }
.hub .brand-mark { background: #d5a94f; color: #151912; }
.hub-tag { padding: 9px 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.66); font-size: 11px; }
.hub-hero { padding: 70px 0 54px; }
.hub-hero h1 { max-width: 920px; margin: 0; font: 800 clamp(48px,8vw,96px)/.94 "Manrope"; letter-spacing: -.07em; }
.hub-hero h1 em { color: #d5a94f; font-style: normal; }
.hub-hero p { max-width: 690px; margin: 28px 0 0; color: rgba(255,255,255,.60); font-size: 18px; line-height: 1.7; }
.hub-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; padding-bottom: 80px; }
.hub-card { position: relative; min-height: 460px; overflow: hidden; border-radius: 28px; background: #243026; }
.hub-card::before { position: absolute; inset: 0; background: var(--image) center/cover no-repeat; content: ""; transition: .45s; }
.hub-card::after { position: absolute; inset: 0; background: linear-gradient(180deg,transparent 35%,rgba(8,11,8,.88)); content: ""; }
.hub-card:hover::before { transform: scale(1.035); }
.hub-card-copy { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 32px; }
.hub-card small { color: #e5c87d; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hub-card h2 { margin: 8px 0 6px; font: 800 34px "Manrope"; }
.hub-card p { margin: 0; color: rgba(255,255,255,.68); font-size: 13px; }
.hub-arrow { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 50%; background: white; color: #101510; font-size: 23px; }
.hub-foot { padding: 28px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 12px; }

@media (max-width: 980px) {
  .header-main { grid-template-columns: auto 1fr auto; gap: 18px; }
  .search { display: none; }
  .menu-btn { display: inline-grid; }
  .nav { position: absolute; top: 84px; right: 0; left: 0; display: none; border: 0; background: var(--paper); box-shadow: var(--shadow); }
  .nav.open { display: block; }
  .nav-inner { display: grid; gap: 0; padding: 12px 20px 22px; }
  .nav a { padding: 13px; border-bottom: 1px solid var(--line); }
  .hero-copy { width: 72%; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid, .product-grid { grid-template-columns: repeat(2,1fr); }
  .story-grid, .contact-wrap { grid-template-columns: 1fr; }
  .story-photo { min-height: 420px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:last-child { display: none; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px,1180px); }
  .section { padding: 68px 0; }
  .section-head { display: grid; }
  .brand-copy small, .account-btn { display: none; }
  .header-main { min-height: 72px; }
  .nav { top: 72px; }
  .hero { min-height: 650px; background: #14231a; }
  .hero::before { background-position: 62% center; }
  .hero::after { background: linear-gradient(90deg,rgba(8,13,9,.92),rgba(8,13,9,.48)); }
  .hero-copy { width: 100%; padding: 80px 0 100px; }
  .hero h1 { font-size: 48px; }
  .hero p { font-size: 15px; }
  .trust { margin-top: -42px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { min-height: 94px; padding: 14px; }
  .trust-item small { display: none; }
  .category-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-card { min-height: 220px; }
  .category-copy { right: 15px; bottom: 16px; left: 15px; }
  .category-card .num { top: 12px; left: 12px; }
  .category-card h3 { font-size: 18px; }
  .category-card p { font-size: 11px; }
  .product-body { padding: 13px; }
  .product-body h3 { min-height: 40px; font-size: 14px; }
  .price { font-size: 16px; }
  .product-actions { grid-template-columns: 36px 1fr; }
  .add-btn { font-size: 11px; }
  .story-photo { min-height: 330px; }
  .story-copy, .contact-info, .contact-form { padding: 30px 24px; }
  .contact-form { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px 20px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
  .footer-bottom { display: grid; }
  .product-modal-grid { grid-template-columns: 1fr; }
  .modal-visual { min-height: 280px; }
  .modal-copy { padding: 30px 24px; }
  .steps { grid-template-columns: 1fr; }
  .hub-hero { padding-top: 42px; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card { min-height: 390px; }
  .hub-card-copy { padding: 24px; }
}

