:root {
  --ink: #0f2a20;
  --ink-deep: #081812;
  --ink-line: #24473a;
  --parchment: #f6f1e6;
  --parchment-raised: #efe8d8;
  --parchment-line: #ddd2b6;
  --gold: #c9a35f;
  --gold-bright: #e3c383;
  --sage: #9fae9f;
  --text-on-dark: #f1ece0;
  --text-on-dark-soft: #b9c4bb;
  --text-on-light: #241f14;
  --text-on-light-soft: #6b6252;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Public Sans", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--text-on-light);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; color: var(--gold); }
.eyebrow.on-light { color: #a9793a; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; text-wrap: balance; }

.muted-loading { color: var(--text-on-light-soft); font-size: 14px; grid-column: 1/-1; }

/* -------- nav -------- */
header.site-nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(15,42,32,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--ink-line);
}
.nav-row {
  max-width: 1180px; margin: 0 auto; padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.wordmark { font-family: var(--font-display); font-size: 21px; color: var(--text-on-dark); letter-spacing: .01em; }
.wordmark small { display: block; font-family: var(--font-body); font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--sage); margin-top: 3px; font-weight: 600; }
nav.links { display: flex; gap: 30px; align-items: center; }
nav.links a { font-size: 13.5px; color: var(--text-on-dark-soft); text-decoration: none; letter-spacing: .02em; }
nav.links a:hover { color: var(--gold-bright); }
.nav-actions { display: flex; align-items: center; gap: 22px; flex-shrink: 0; }
.lang-switch { display: flex; gap: 10px; font-size: 12px; color: var(--sage); }
.lang-switch button { background: none; border: none; color: inherit; font: inherit; cursor: pointer; padding: 0; }
.lang-switch button.active { color: var(--gold-bright); font-weight: 600; }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text-on-dark); border-radius: 1px;
  transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------- hero -------- */
.hero {
  background: linear-gradient(180deg, rgba(8,24,18,.35), rgba(8,24,18,.72)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="1000"><defs><linearGradient id="g" x1="0" y1="0" x2="1" y2="1"><stop offset="0" stop-color="%23142f24"/><stop offset="1" stop-color="%23081812"/></linearGradient></defs><rect width="1600" height="1000" fill="url(%23g)"/><g stroke="%23c9a35f" stroke-opacity="0.14" fill="none"><circle cx="1180" cy="330" r="220"/><circle cx="1180" cy="330" r="150"/><path d="M300 850 L1400 200" stroke-width="1.5"/></g></svg>');
  background-size: cover; background-position: center;
  color: var(--text-on-dark);
  padding: 130px 32px 150px;
}
.hero-inner { max-width: 1180px; margin: 0 auto; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1.04; margin: 18px 0 26px; font-weight: 500; max-width: 15ch; }
.hero h1 em { font-style: italic; color: var(--gold-bright); font-weight: 400; }
.hero p.lede { font-size: 18px; line-height: 1.6; color: var(--text-on-dark-soft); max-width: 46ch; margin: 0 0 40px; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 15px 28px; border-radius: 2px;
  font-size: 13.5px; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-family: var(--font-body); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-gold { background: var(--gold); color: var(--ink-deep); }
.btn-gold:hover { background: var(--gold-bright); }
.btn-outline { border-color: rgba(241,236,224,0.35); color: var(--text-on-dark); background: transparent; }
.btn-outline:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-outline.on-light { border-color: #cbbf9e; color: var(--text-on-light); }
.btn-outline.on-light:hover { border-color: #a9793a; color: #a9793a; }

/* -------- section shell -------- */
section { padding: 100px 32px; }
section.dark { background: var(--ink); color: var(--text-on-dark); }
.section-inner { max-width: 1180px; margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 14px; }
.section-head p { font-size: 16px; line-height: 1.7; color: var(--text-on-light-soft); margin-top: 16px; }
section.dark .section-head p { color: var(--text-on-dark-soft); }

/* -------- heritage timeline -------- */
.timeline { position: relative; margin-top: 20px; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(var(--gold), transparent 96%); }
.t-entry { position: relative; padding-bottom: 46px; }
.t-entry:last-child { padding-bottom: 0; }
.t-entry::before { content: ""; position: absolute; left: -40px; top: 4px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--ink); border: 2px solid var(--gold); }
.t-year { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); font-size: 22px; margin-bottom: 6px; }
.t-entry p { margin: 0; color: var(--text-on-dark-soft); font-size: 15px; line-height: 1.7; max-width: 56ch; }

/* -------- pillars -------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--parchment-line);
  border: 1px solid var(--parchment-line); margin-top: 10px; }
.pillar { background: var(--parchment); padding: 40px 34px; }
.pillar .num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 15px; }
.pillar h3 { font-size: 21px; margin: 14px 0 12px; }
.pillar p { font-size: 14.5px; line-height: 1.65; color: var(--text-on-light-soft); margin: 0; }

/* -------- catalog -------- */
.catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 34px; margin-top: 10px; }
.piece { cursor: pointer; }
.piece-photo { aspect-ratio: 4/5; border-radius: 2px; overflow: hidden; margin-bottom: 18px; position: relative; background: var(--parchment-line); }
.piece-photo .ph, .piece-photo img { width: 100%; height: 100%; object-fit: cover; }
.piece-tag { position: absolute; top: 12px; left: 12px; background: rgba(8,24,18,0.55); backdrop-filter: blur(3px);
  color: var(--gold-bright); border: 1px solid rgba(201,163,95,0.5);
  font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 1px; font-weight: 600; }
.piece h4 { font-family: var(--font-display); font-weight: 500; font-size: 19px; margin: 0 0 6px; }
.piece .meta { font-size: 12.5px; color: var(--text-on-light-soft); margin-bottom: 8px; }
.piece .price { font-size: 15px; color: var(--text-on-light); font-variant-numeric: tabular-nums; }
.piece .certified { font-size: 11px; color: #a9793a; margin-top: 6px; display: flex; align-items: center; gap: 5px; }
.catalog-foot { text-align: center; margin-top: 56px; }

.catalog-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.filter-chip { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--parchment-line);
  background: transparent; color: var(--text-on-light-soft); font-size: 12.5px; letter-spacing: .02em;
  cursor: pointer; font-family: var(--font-body); }
.filter-chip.active { background: var(--ink); border-color: var(--ink); color: var(--text-on-dark); }

/* -------- product modal -------- */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(8,24,18,0.72); z-index: 200;
  align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--parchment); max-width: 880px; width: 100%; max-height: 90vh; overflow-y: auto;
  border-radius: 3px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: var(--text-on-dark); border: none; font-size: 18px; cursor: pointer; z-index: 2; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-photo { aspect-ratio: 1; background: var(--parchment-line); }
.modal-photo svg, .modal-photo img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 48px 44px; }
@media (max-width: 720px) { .modal-grid { grid-template-columns: 1fr; } .modal-info { padding: 32px 26px; } }

/* -------- custom order -------- */
.commission { background: var(--parchment-raised); border: 1px solid var(--parchment-line); border-radius: 2px;
  padding: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.commission-form label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-on-light-soft); margin: 18px 0 6px; }
.commission-form label:first-child { margin-top: 0; }
.commission-form input, .commission-form select, .commission-form textarea {
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 14px;
  border: 1px solid var(--parchment-line); background: var(--parchment); color: var(--text-on-light); border-radius: 2px;
}
.commission-form textarea { min-height: 90px; resize: vertical; }
.commission-steps { display: flex; flex-direction: column; gap: 26px; }
.step { display: flex; gap: 16px; }
.step-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 22px; flex-shrink: 0; width: 28px; }
.step h4 { font-size: 16px; margin: 0 0 6px; }
.step p { font-size: 14px; color: var(--text-on-light-soft); margin: 0; line-height: 1.6; }
.form-status { font-size: 12.5px; margin-top: 10px; min-height: 14px; }

/* -------- about / profiles -------- */
.profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--parchment-line);
  border: 1px solid var(--parchment-line); margin-top: 40px; }
.profile { background: var(--parchment); padding: 40px 36px; }
.profile .role { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 14px; margin-bottom: 6px; }
.profile h3 { font-size: 24px; margin-bottom: 14px; }
.profile p { font-size: 14.5px; line-height: 1.75; color: var(--text-on-light-soft); margin: 0; }

/* -------- FAQ accordion -------- */
.faq-list { margin-top: 20px; border-top: 1px solid var(--ink-line); }
.faq-item { border-bottom: 1px solid var(--ink-line); }
.faq-item summary { padding: 22px 4px; font-family: var(--font-display); font-size: 18px; color: var(--text-on-dark);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--gold); flex-shrink: 0; font-family: var(--font-body); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 4px 24px; margin: 0; font-size: 15px; line-height: 1.75; color: var(--text-on-dark-soft); max-width: 68ch; }

/* -------- expertise -------- */
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ink-line);
  border: 1px solid var(--ink-line); margin-top: 10px; }
.expertise-card { background: var(--ink); padding: 44px 40px; }
.expertise-card .tag { font-family: var(--font-display); font-style: italic; color: var(--gold-bright); font-size: 15px; }
.expertise-card h3 { font-size: 23px; margin: 14px 0 14px; color: var(--text-on-dark); }
.expertise-card p { font-size: 14.5px; line-height: 1.75; color: var(--text-on-dark-soft); margin: 0; }

/* -------- visit / footer -------- */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.visit-card { background: rgba(241,236,224,0.05); border: 1px solid var(--ink-line); padding: 34px; border-radius: 2px; }
.visit-card h3 { font-size: 19px; margin-bottom: 16px; color: var(--gold-bright); }
.visit-card .row { display: flex; justify-content: space-between; font-size: 14px; padding: 9px 0;
  border-bottom: 1px solid var(--ink-line); color: var(--text-on-dark-soft); }
.visit-card .row:last-child { border-bottom: none; }
.visit-card .row span:last-child { color: var(--text-on-dark); }

/* -------- invitation list -------- */
.invite { text-align: center; max-width: 560px; margin: 0 auto; }
.invite form { display: flex; gap: 10px; margin-top: 28px; }
.invite input { flex: 1; padding: 13px 16px; border-radius: 2px; border: 1px solid var(--parchment-line);
  background: var(--parchment); color: var(--text-on-light); font-size: 14px; font-family: var(--font-body); }
.invite .fine { font-size: 12px; color: var(--text-on-light-soft); margin-top: 14px; }

/* -------- social strip -------- */
.social-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 10px; }
.social-strip .sq { aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.social-strip .sq svg { width: 100%; height: 100%; }
.social-follow { text-align: center; margin-top: 22px; font-size: 13px; color: var(--text-on-light-soft); }

footer { background: var(--ink-deep); color: var(--sage); padding: 50px 32px 30px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; font-size: 12.5px; }
.footer-inner .wordmark { color: var(--text-on-dark); font-size: 17px; }

/* -------- chat widget -------- */
.chat-fab { position: fixed; bottom: 26px; right: 26px; width: 56px; height: 56px; border-radius: 50%;
  background: var(--gold); color: var(--ink-deep); border: none; cursor: pointer; z-index: 95;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35); font-size: 22px; display: flex; align-items: center; justify-content: center; }
.chat-fab:hover { background: var(--gold-bright); }
.chat-panel { position: fixed; bottom: 94px; right: 26px; width: 320px; max-width: calc(100vw - 52px);
  background: var(--ink); border: 1px solid var(--ink-line); border-radius: 6px; z-index: 95;
  box-shadow: 0 20px 50px rgba(0,0,0,0.45); display: none; overflow: hidden; }
.chat-panel.open { display: block; }
.chat-panel-head { padding: 16px 18px; border-bottom: 1px solid var(--ink-line); }
.chat-panel-head h4 { font-family: var(--font-display); color: var(--text-on-dark); font-size: 16px; margin: 0; }
.chat-panel-body { padding: 16px 18px; font-size: 12.5px; line-height: 1.7; color: var(--text-on-dark-soft); }
.chat-panel-body strong { color: var(--gold-bright); font-weight: 600; }
.chat-panel input { width: 100%; box-sizing: border-box; margin-top: 12px; padding: 10px 12px;
  border-radius: 4px; border: 1px solid var(--ink-line); background: var(--ink-deep); color: var(--text-on-dark); font-size: 13px; font-family: var(--font-body); }
.chat-panel button.send { margin-top: 10px; width: 100%; padding: 10px; border-radius: 4px; border: none;
  background: var(--gold); color: var(--ink-deep); font-weight: 600; font-size: 13px; cursor: pointer; }
.chat-panel button.send:disabled { opacity: .6; cursor: default; }

/* -------- cookie consent -------- */
.cookie-bar { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 560px;
  margin: 0 auto; background: var(--ink-deep); color: var(--text-on-dark-soft); border: 1px solid var(--ink-line);
  border-radius: 4px; padding: 16px 20px; font-size: 12.5px; line-height: 1.6; z-index: 98;
  display: none; align-items: center; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar.show { display: flex; }
.cookie-bar button { flex-shrink: 0; background: var(--gold); color: var(--ink-deep); border: none;
  padding: 9px 18px; border-radius: 3px; font-weight: 600; font-size: 12.5px; cursor: pointer; }

/* -------- cart -------- */
.cart-btn { position: relative; background: none; border: none; color: var(--text-on-dark); font-size: 18px;
  cursor: pointer; padding: 4px 2px; flex-shrink: 0; line-height: 1; }
.cart-count { position: absolute; top: -6px; right: -9px; background: var(--gold); color: var(--ink-deep);
  font-size: 10px; font-weight: 700; border-radius: 50%; width: 17px; height: 17px; display: flex;
  align-items: center; justify-content: center; font-family: var(--font-body); }
.cart-count.hidden { display: none; }

.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(8,24,18,0.55); z-index: 210; }
.cart-overlay.open { display: block; }
.cart-drawer { position: fixed; top: 0; right: -400px; width: 380px; max-width: calc(100vw - 32px);
  height: 100%; background: var(--parchment); z-index: 211; box-shadow: -12px 0 40px rgba(0,0,0,0.3);
  transition: right .25s ease; display: flex; flex-direction: column; }
.cart-drawer.open { right: 0; }
.cart-drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--parchment-line); display: flex;
  justify-content: space-between; align-items: center; }
.cart-drawer-head h4 { font-family: var(--font-display); font-size: 19px; }
.cart-close { background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text-on-light-soft); line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--parchment-line); align-items: center; }
.cart-item-photo { width: 56px; height: 56px; border-radius: 2px; overflow: hidden; flex-shrink: 0; background: var(--parchment-line); }
.cart-item-photo img, .cart-item-photo svg { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13.5px; font-weight: 600; margin-bottom: 3px; }
.cart-item-price { font-size: 12.5px; color: var(--text-on-light-soft); font-variant-numeric: tabular-nums; }
.cart-item-remove { background: none; border: none; font-size: 18px; color: var(--text-on-light-soft); cursor: pointer; flex-shrink: 0; }
.cart-drawer-foot { padding: 20px 24px 26px; border-top: 1px solid var(--parchment-line); }
.cart-subtotal-row { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 8px; font-variant-numeric: tabular-nums; }

/* -------- checkout -------- */
.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; margin-top: 32px; align-items: start; }
.checkout-summary { background: var(--parchment-raised); border: 1px solid var(--parchment-line); border-radius: 2px; padding: 30px; position: sticky; top: 100px; }
.checkout-summary h4 { font-family: var(--font-display); font-size: 18px; margin-bottom: 16px; }
.checkout-summary-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 8px 0;
  border-bottom: 1px solid var(--parchment-line); font-variant-numeric: tabular-nums; }
.checkout-total-row { border-bottom: none; font-size: 16px; font-weight: 600; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--text-on-light-soft); }
#sumup-card { min-height: 2px; }

@media (max-width: 860px) {
  .pillars, .visit, .commission, .expertise, .profiles, .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .commission { padding: 34px; gap: 34px; }
  .profile, .expertise-card { padding: 32px 28px; }

  .nav-toggle { display: flex; }
  nav.links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--ink); border-bottom: 1px solid var(--ink-line);
    padding: 8px 32px 18px;
  }
  nav.links.mobile-open { display: flex; }
  nav.links a { padding: 13px 0; border-bottom: 1px solid var(--ink-line); font-size: 14.5px; }
  nav.links a:last-child { border-bottom: none; }
  .nav-row { position: relative; padding: 16px 20px; }
}

@media (max-width: 640px) {
  section { padding: 64px 20px; }
  .hero { padding: 76px 20px 90px; }
  .section-head { margin-bottom: 36px; }
  .commission { padding: 26px; }
  .modal-info { padding: 26px 20px; }
  .social-strip { grid-template-columns: repeat(3, 1fr); }
  .invite form { flex-direction: column; }
  .invite button { width: 100%; }
  .footer-inner { flex-direction: column; gap: 34px; }
  .chat-panel { right: 12px; left: 12px; width: auto; max-width: none; }
  .chat-fab { right: 18px; bottom: 18px; }
  .cookie-bar { left: 12px; right: 12px; }
}
