@font-face {
  font-family: "Tatishvili";
  src: url("assets/brand/gl-tatishvili-12.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #191916;
  --muted: #78766e;
  --paper: #f5f3ee;
  --paper-deep: #ebe8e0;
  --white: #fffefa;
  --line: #d9d6ce;
  --terracotta: #bb735c;
  --serif: "Tatishvili", "Arial", sans-serif;
  --sans: "Tatishvili", "Arial", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.announcement { display: flex; justify-content: center; gap: 9px; padding: 10px 16px; background: #e9e5dc; color: #34332e; font-size: 15px; letter-spacing: .1em; text-align: center; }
.announcement span + span::before { content: "·"; margin-right: 9px; color: #a19a8c; }
.site-header { position: sticky; top: 0; z-index: 10; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 77px; padding: 0 clamp(20px, 5vw, 76px); background: #171715; color: #f9f7f1; }
.brand-window { display: block; width: 168px; height: 48px; overflow: hidden; background: transparent; }
.brand-window img { width: 100%; height: 100%; object-fit: contain; object-position: center; filter: none; }
.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 42px); height: 100%; }
.main-nav a, .header-action { color: #efede7; font-size: 16px; letter-spacing: .15em; text-transform: uppercase; transition: color .2s ease; }
.main-nav a:hover, .header-action:hover { color: #d7a18d; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.header-action { padding: 8px 0; border: 0; background: transparent; cursor: pointer; }
.cart-trigger { display: inline-flex; align-items: center; gap: 9px; }
.cart-count { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 7px; border-radius: 50%; background: #ece9e1; color: var(--ink); font-size: 15px; letter-spacing: 0; }
.menu-toggle { display: none; }

main { min-height: calc(100vh - 180px); }
.page-shell { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .95fr); align-items: center; gap: clamp(40px, 8vw, 128px); min-height: 680px; padding: 64px 0 76px; }
.eyebrow { margin: 0 0 20px; color: var(--terracotta); font-size: 17px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.brand-motto { margin: -7px 0 20px; color: #34332e; font-size: 17px; letter-spacing: .16em; }
h1, h2, h3, p { margin-top: 0; }
h1, .display-heading { margin-bottom: 25px; font-family: var(--serif); font-size: clamp(47px, 6.1vw, 82px); font-weight: 400; letter-spacing: .005em; line-height: .99; }
.hero-copy { max-width: 430px; margin-bottom: 34px; color: #605f59; font-size: 22px; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 23px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); font-size: 15px; letter-spacing: .15em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }
.button.secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.button.secondary:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }
.button.text { min-height: auto; padding: 0 0 7px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--ink); }
.button.text:hover { transform: none; color: var(--terracotta); }
.arrow { font-size: 17px; line-height: 0; }
.hero-visual { position: relative; min-height: 510px; background: #e8e1d6; }
.hero-visual img { width: 100%; height: 510px; object-fit: cover; object-position: center 40%; }
.hero-note { position: absolute; right: -18px; bottom: 22px; padding: 13px 18px; background: var(--white); color: #47453e; font-size: 14px; letter-spacing: .15em; text-transform: uppercase; }

.intro-strip { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro-item { min-height: 118px; padding: 27px 30px 24px 0; }
.intro-item + .intro-item { padding-left: 30px; border-left: 1px solid var(--line); }
.intro-item strong { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.intro-item span { color: var(--muted); font-size: 17px; line-height: 1.35; }
.section { padding: 96px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); font-weight: 400; letter-spacing: .02em; }
.section-heading .eyebrow { margin-bottom: 11px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 38px 20px; }
.product-card { min-width: 0; }
.product-card-image { position: relative; display: block; overflow: hidden; background: #eae6de; aspect-ratio: .88; }
.product-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.product-card:hover .product-card-image img { transform: scale(1.035); }
.card-number { position: absolute; top: 16px; left: 16px; color: #fff; font-size: 10px; letter-spacing: .14em; text-shadow: 0 1px 6px #0009; }
.card-color-dots { position: absolute; right: 15px; bottom: 15px; display: flex; gap: 6px; padding: 7px 9px; background: #fffc; }
.color-dot { display: inline-block; width: 11px; height: 11px; border: 1px solid #0002; border-radius: 50%; }
.product-card-info { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 16px 0 0; }
.product-card h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 23px; font-weight: 400; letter-spacing: -.03em; }
.product-card .product-subtitle { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.25; }
.card-price { flex: 0 0 auto; font-size: 16px; }
.home-collection-link { margin-top: 35px; text-align: center; }

.craft-section { display: grid; grid-template-columns: 1.05fr .95fr; background: #e9e5dc; }
.craft-image { min-height: 450px; }
.craft-image img { width: 100%; height: 100%; object-fit: cover; }
.craft-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 7vw, 94px); }
.craft-copy h2 { max-width: 460px; margin-bottom: 20px; font-family: var(--serif); font-size: clamp(35px, 4.3vw, 55px); font-weight: 400; letter-spacing: .02em; line-height: 1.02; }
.craft-copy p { max-width: 440px; margin-bottom: 25px; color: #68665e; font-size: 20px; line-height: 1.5; }

.collection-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 75px 0 38px; }
.collection-head h1 { margin: 0; font-size: clamp(48px, 6vw, 76px); }
.collection-head p { max-width: 330px; margin: 0; color: var(--muted); line-height: 1.7; }
.collection-grid { padding-bottom: 100px; }
.breadcrumb { display: flex; gap: 9px; margin: 25px 0 28px; color: var(--muted); font-size: 11px; }
.breadcrumb a:hover { color: var(--ink); }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(340px, .82fr); gap: clamp(40px, 7vw, 98px); padding-bottom: 94px; }
.gallery-main { position: relative; overflow: hidden; background: #ebe6de; aspect-ratio: .86; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; overflow-x: auto; padding: 12px 0 2px; }
.gallery-thumb { flex: 0 0 82px; height: 90px; padding: 0; overflow: hidden; border: 1px solid transparent; background: #eae6df; cursor: pointer; }
.gallery-thumb.active { border-color: var(--ink); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 28px; }
.product-info .eyebrow { margin-bottom: 15px; }
.product-info h1 { margin-bottom: 12px; font-size: clamp(43px, 5.2vw, 68px); }
.product-price { margin-bottom: 21px; font-family: var(--serif); font-size: 25px; }
.product-description { max-width: 490px; margin-bottom: 29px; color: #6d6a63; line-height: 1.8; }
.product-option { margin: 24px 0; }
.option-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 12px; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.option-value { color: var(--muted); letter-spacing: .02em; text-transform: none; }
.swatches { display: flex; gap: 10px; }
.swatch { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; padding: 0 12px; border: 1px solid var(--line); background: transparent; color: #57554e; font-size: 11px; cursor: pointer; }
.swatch.active { border-color: var(--ink); color: var(--ink); }
.swatch-sample { width: 14px; height: 14px; border: 1px solid #0002; border-radius: 50%; }
.quantity-row { display: flex; align-items: center; gap: 0; }
.quantity-control { display: flex; align-items: center; height: 50px; border: 1px solid var(--line); }
.quantity-control button { width: 42px; height: 100%; border: 0; background: transparent; cursor: pointer; }
.quantity-control output { min-width: 25px; text-align: center; font-size: 13px; }
.add-button { flex: 1; margin-left: 10px; }
.product-meta { margin-top: 31px; border-top: 1px solid var(--line); }
.meta-row { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 12px; line-height: 1.6; }
.meta-row span:first-child { color: var(--muted); }
.dimension-image { margin-top: 24px; padding: 18px; background: var(--white); }
.dimension-image img { width: 100%; height: 140px; object-fit: contain; }
.dimension-image figcaption { margin-top: 10px; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.you-may-like { padding: 65px 0 90px; border-top: 1px solid var(--line); }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, .67fr); gap: clamp(40px, 8vw, 115px); padding: 62px 0 100px; }
.checkout-layout h1 { margin-bottom: 12px; font-size: clamp(42px, 5vw, 64px); }
.checkout-intro { margin-bottom: 30px; color: var(--muted); line-height: 1.7; }
.checkout-form { display: grid; gap: 19px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.field input, .field select { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid var(--line); border-radius: 0; outline: none; background: var(--white); color: var(--ink); }
.field input:focus, .field select:focus { border-color: var(--ink); }
.form-hint { margin: -9px 0 0; color: var(--muted); font-size: 11px; }
.checkout-summary { align-self: start; padding: 27px; background: #ebe8e0; }
.checkout-summary h2 { margin-bottom: 22px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.summary-line { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-top: 1px solid #d5d1c8; font-size: 12px; }
.summary-line small { display: block; margin-top: 4px; color: var(--muted); }
.summary-totals { margin-top: 18px; border-top: 1px solid #c8c3b8; }
.summary-totals .summary-line { border: 0; }
.summary-totals .total { padding-top: 15px; border-top: 1px solid #c8c3b8; font-size: 15px; }
.full-width { width: 100%; }
.payment-panel { max-width: 600px; margin: 74px auto 110px; padding: 48px; background: var(--white); text-align: center; }
.payment-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 20px; border: 1px solid var(--line); border-radius: 50%; font-size: 21px; }
.payment-panel h1 { margin-bottom: 13px; font-size: 47px; }
.payment-panel p { color: var(--muted); line-height: 1.8; }
.demo-note { margin: 27px 0; padding: 14px; background: #f2eee6; color: #625e54; font-size: 12px; line-height: 1.6; text-align: left; }
.payment-actions { display: grid; gap: 12px; }
.success-panel { max-width: 780px; margin: 70px auto 100px; padding: clamp(30px, 6vw, 70px); background: var(--white); }
.success-kicker { display: inline-block; margin-bottom: 18px; color: var(--terracotta); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.success-panel h1 { margin-bottom: 13px; font-size: clamp(40px, 5vw, 62px); }
.success-tagline { max-width: 570px; margin-bottom: 30px; color: #6b685f; font-family: var(--serif); font-size: 21px; font-style: italic; line-height: 1.5; }
.invoice-card { margin: 28px 0; padding: 22px; border: 1px solid var(--line); }
.invoice-title { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.invoice-title strong { font-family: var(--serif); font-size: 21px; font-weight: 400; }
.invoice-title span { color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.invoice-customer { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; padding: 17px 0; color: #626057; font-size: 12px; }
.invoice-row { display: grid; grid-template-columns: 1fr auto auto; gap: 17px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 12px; }
.invoice-total { display: flex; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--ink); font-size: 15px; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.demo-status { margin-top: 15px; color: var(--muted); font-size: 11px; line-height: 1.6; }

.site-footer { background: #171715; color: #f5f2eb; }
.footer-main { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 45px; padding: 54px 0 50px; }
.footer-brand { max-width: 240px; }
.footer-brand .brand-window { margin-bottom: 18px; }
.footer-brand p { color: #aaa79e; font-size: 17px; line-height: 1.35; }
.footer-column h3 { margin-bottom: 16px; color: #aaa79e; font-size: 16px; letter-spacing: .15em; text-transform: uppercase; }
.footer-column a { display: block; margin-bottom: 6px; color: #f0ede6; font-size: 16px; line-height: 1.2; }
.footer-column p { display: block; margin-bottom: 8px; color: #f0ede6; font-size: 16px; line-height: 1.35; }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0 20px; border-top: 1px solid #393833; color: #9b988f; font-size: 14px; }

.cart-backdrop { position: fixed; inset: 0; z-index: 20; background: #0007; opacity: 0; pointer-events: none; transition: opacity .25s; }
.cart-backdrop.open { opacity: 1; pointer-events: auto; }
.cart-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 21; display: flex; flex-direction: column; width: min(465px, 100%); padding: 27px; background: var(--paper); transform: translateX(102%); transition: transform .32s cubic-bezier(.2,.7,.2,1); }
.cart-drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 21px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.icon-button { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 18px; }
.cart-items { flex: 1; overflow-y: auto; }
.cart-empty { display: grid; place-items: center; height: 100%; color: var(--muted); font-family: var(--serif); font-size: 22px; text-align: center; }
.cart-item { display: grid; grid-template-columns: 82px 1fr auto; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 82px; height: 100px; object-fit: cover; background: #e7e3db; }
.cart-item h3 { margin: 2px 0 5px; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.cart-item p { margin: 0 0 10px; color: var(--muted); font-size: 11px; }
.mini-quantity { display: flex; align-items: center; gap: 12px; font-size: 12px; }
.mini-quantity button, .remove-item { padding: 0; border: 0; background: none; cursor: pointer; }
.remove-item { color: var(--muted); font-size: 10px; text-decoration: underline; }
.cart-item-price { padding-top: 3px; font-size: 12px; white-space: nowrap; }
.drawer-foot { padding-top: 18px; border-top: 1px solid var(--line); }
.drawer-foot .summary-line { padding: 9px 0; border: 0; }
.drawer-foot .button { margin-top: 10px; }
.drawer-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; text-align: center; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; padding: 14px 19px; background: var(--ink); color: white; font-size: 12px; box-shadow: 0 8px 30px #0002; animation: toast-in .25s ease-out; }
@keyframes toast-in { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

@media (max-width: 850px) {
  .site-header { grid-template-columns: 1fr auto; min-height: 70px; }
  .main-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; align-items: stretch; padding: 8px 25px 22px; background: #171715; }
  .main-nav.open { display: grid; gap: 0; }
  .main-nav a { padding: 15px 0; border-top: 1px solid #383733; }
  .header-tools { gap: 16px; }
  .menu-toggle { display: inline-grid; place-items: center; width: 30px; height: 34px; border: 0; background: transparent; color: white; font-size: 21px; cursor: pointer; }
  .home-hero { grid-template-columns: 1fr 1fr; gap: 25px; min-height: 570px; }
  .hero-visual, .hero-visual img { min-height: 430px; height: 430px; }
  .product-detail { gap: 38px; }
}
@media (max-width: 640px) {
  .announcement { gap: 4px; padding: 8px 10px; font-size: 12px; letter-spacing: .06em; }
  .announcement span + span::before { margin-right: 4px; }
  .site-header { padding: 0 18px; }
  .brand-window { width: 135px; height: 42px; }
  .header-tools { gap: 12px; }
  .header-action { font-size: 13px; }
  .cart-trigger .cart-label { display: none; }
  .page-shell { width: min(100% - 36px, 520px); }
  .home-hero { display: flex; flex-direction: column; align-items: stretch; gap: 31px; min-height: auto; padding: 58px 0 51px; }
  .home-hero-copy { padding-right: 4px; }
  h1, .display-heading { font-size: clamp(47px, 13vw, 68px); }
  .hero-copy { font-size: 18px; }
  .hero-visual, .hero-visual img { min-height: 360px; height: 360px; }
  .hero-note { right: -8px; }
  .intro-strip { grid-template-columns: 1fr; }
  .intro-item { min-height: auto; padding: 18px 0; }
  .intro-item + .intro-item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 67px 0; }
  .section-heading { align-items: start; flex-direction: column; margin-bottom: 24px; }
  .section-heading h2 { font-size: 39px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 12px; }
  .product-card-image { aspect-ratio: .77; }
  .product-card h3 { font-size: 19px; }
  .product-card .product-subtitle { font-size: 14px; }
  .card-price { font-size: 14px; }
  .product-card-info { align-items: start; }
  .card-color-dots { gap: 4px; right: 8px; bottom: 8px; padding: 6px; }
  .color-dot { width: 9px; height: 9px; }
  .craft-section { grid-template-columns: 1fr; }
  .craft-image { min-height: 300px; height: 300px; }
  .craft-copy { padding: 38px 24px 44px; }
  .collection-head { align-items: start; flex-direction: column; padding: 52px 0 25px; }
  .collection-head h1 { font-size: 53px; }
  .product-detail { grid-template-columns: 1fr; gap: 24px; padding-bottom: 68px; }
  .gallery-main { aspect-ratio: .92; }
  .product-info { padding-top: 5px; }
  .product-info h1 { font-size: 54px; }
  .swatches { flex-wrap: wrap; }
  .meta-row { grid-template-columns: 90px 1fr; }
  .checkout-layout { grid-template-columns: 1fr; gap: 35px; padding: 52px 0 75px; }
  .checkout-summary { order: -1; }
  .payment-panel { margin: 48px auto 75px; padding: 34px 22px; }
  .payment-panel h1 { font-size: 39px; }
  .success-panel { margin: 45px auto 70px; padding: 26px 20px; }
  .invoice-card { padding: 16px; }
  .invoice-customer { grid-template-columns: 1fr; }
  .invoice-row { gap: 8px; }
  .success-actions { display: grid; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 22px; padding: 42px 0 35px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .cart-drawer { padding: 20px; }
}

@media print {
  body { background: #fff; }
  .announcement, .site-header, .site-footer, .success-kicker, .success-panel > h1, .success-tagline, .success-actions, .demo-status { display: none !important; }
  main { min-height: 0; }
  .page-shell { width: 100%; }
  .success-panel { max-width: none; margin: 0; padding: 0; background: #fff; }
  .invoice-card { margin: 0; border: 0; padding: 0; }
}
