/* ===========================================================================
   Carpets of the Inner Circle, premium gallery website
   Design system: warm antique palette, editorial serif display, calm whitespace.
   =========================================================================== */

:root {
  --ink: #211a16;
  --ink-soft: #3c322b;
  --muted: #6f6258;
  --faint: #95897d;
  --paper: #f6f1e8;
  --paper-2: #efe7d9;
  --panel: #fffdf8;
  --line: #e0d4c2;
  --line-strong: #cdbca6;
  --madder: #963c2a;        /* antique red, primary accent */
  --madder-dark: #732a1c;
  --indigo: #2b3a4a;        /* deep blue accent */
  --olive: #5c6644;
  --gold: #b08a45;
  --gold-soft: #d8c2a0;
  --shadow-sm: 0 6px 18px rgba(33, 26, 18, 0.08);
  --shadow: 0 22px 60px rgba(33, 26, 18, 0.16);
  --maxw: 1240px;
  --r: 2px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --display: "Cinzel", Georgia, serif;
  --sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: var(--madder-dark); text-underline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--serif); line-height: 1.07; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { color: var(--ink-soft); }

.eyebrow {
  margin: 0 0 14px;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--madder);
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; margin-inline: auto; }

/* ---- buttons ----------------------------------------------------------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 26px;
  font-family: var(--sans); font-size: 0.93rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--madder); color: var(--madder);
  background: transparent; cursor: pointer; transition: all 0.18s ease;
}
.button.primary { background: var(--madder); color: #fff; border-color: var(--madder); }
.button.primary:hover { background: var(--madder-dark); border-color: var(--madder-dark); }
.button.secondary:hover { background: var(--madder); color: #fff; }
.button.ghost { border-color: var(--line-strong); color: var(--ink); }
.button.ghost:hover { border-color: var(--ink); }
.button.light { border-color: rgba(255,255,255,0.5); color: #fff; }
.button.light:hover { background: #fff; color: var(--ink); }

/* ---- header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  max-width: var(--maxw); margin: 0 auto; padding: 14px clamp(20px, 4vw, 48px);
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 50px; height: 50px;
  border: 1px solid var(--line-strong); background: var(--ink); color: var(--paper);
  font-family: var(--display); font-size: 0.82rem; letter-spacing: 0.05em;
  border-radius: 50%;
}
.brand-text strong { display: block; font-family: var(--display); font-size: 1.05rem; letter-spacing: 0.04em; font-weight: 600; }
.brand-text small { display: block; color: var(--muted); font-size: 0.72rem; font-style: italic; font-family: var(--serif); letter-spacing: 0.02em; }
.primary-nav { display: flex; align-items: center; gap: 22px; }
.primary-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.86rem;
  font-weight: 600; letter-spacing: 0.04em; padding: 6px 0; position: relative;
}
.primary-nav a:hover { color: var(--madder); }
.primary-nav a[aria-current="page"] { color: var(--madder); }
.has-menu { position: relative; }
.has-menu > .submenu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 240px; background: var(--panel); border: 1px solid var(--line);
  box-shadow: var(--shadow); padding: 10px; opacity: 0; visibility: hidden; transition: all 0.15s ease;
}
.has-menu:hover > .submenu, .has-menu:focus-within > .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.submenu a { display: block; padding: 9px 12px; font-size: 0.84rem; }
.submenu a:hover { background: var(--paper-2); }
.header-cta { display: inline-flex; align-items: center; gap: 8px; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.header-phone { font-family: var(--display); font-size: 0.9rem; color: var(--ink); text-decoration: none; letter-spacing: 0.03em; white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); width: 46px; height: 44px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---- hero (clean full-width banner image + text band below) ------------ */
.hero { --hero-focal-y: 50%; display: block; }
.hero-banner { width: 100%; background: var(--paper-2); }
/* Wide screens: show the whole photo uncropped (mirror top + COTIC logo both in frame), so it's tall and nothing is cut off.
   Narrow screens: the landscape photo would become a thin sliver, so min-height makes it a tall cropped banner instead,
   biased left/bottom so the "COTIC" wordmark stays visible. */
.hero-banner img { display: block; width: 100%; height: auto; min-height: min(82vh, 760px); object-fit: cover; object-position: 22% var(--hero-focal-y); }
.hero-copy { max-width: var(--maxw); margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 48px); text-align: center; }
.hero-copy .eyebrow { color: var(--madder); }
.hero-copy h1 { color: var(--ink); margin: 0 auto; }
.hero-copy p { color: var(--muted); font-size: 1.2rem; max-width: 60ch; margin: 16px auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; justify-content: center; }
.trust-strip { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 36px auto 0; border: 1px solid var(--line); }
.trust-strip div { padding: 14px 22px; border-right: 1px solid var(--line); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip dt { font-family: var(--display); font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--madder); }
.trust-strip dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); }

.grid-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 38px 22px; }

/* full-width heritage/location photo bands + in-section feature images */
.photo-band img { display: block; width: 100%; height: clamp(180px, 26vw, 400px); object-fit: cover; object-position: center; }
.photo-feature { margin: 4px 0 40px; }
.photo-feature img { display: block; width: 100%; height: clamp(240px, 36vw, 440px); object-fit: cover; border: 1px solid var(--line); }

/* ---- sections ---------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.tight { padding: clamp(40px, 5vw, 70px) 0; }
.section.panel { background: var(--panel); border-block: 1px solid var(--line); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.dark p { color: #d9cdba; }
.section.dark .eyebrow { color: #e9b98f; }
.section-head { max-width: 64ch; margin-bottom: 42px; }
.section-head.center { margin-inline: auto; }

/* page intro band (interior pages) */
.page-hero { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: clamp(48px, 7vw, 92px) 0 clamp(36px, 5vw, 60px); }
.breadcrumb { font-size: 0.8rem; color: var(--faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--madder); }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 18px; }

/* ---- feature grids ----------------------------------------------------- */
.cols { display: grid; gap: clamp(28px, 4vw, 56px); }
.cols-2 { grid-template-columns: 1fr 1fr; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.media-right .split-media { order: 2; }

.check-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 14px; height: 8px; border-left: 2px solid var(--madder); border-bottom: 2px solid var(--madder); transform: rotate(-45deg); }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; text-decoration: none; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; opacity: 0.82; }
.tile:hover img { transform: scale(1.05); opacity: 0.7; }
.tile-label { position: absolute; inset: auto 0 0 0; padding: 26px 22px; background: linear-gradient(0deg, rgba(15,11,8,0.85), transparent); color: #fff; }
.tile-label h3 { color: #fff; }
.tile-label span { font-size: 0.85rem; color: #e7d8c4; }

/* ---- product grid ------------------------------------------------------ */
.toolbar { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 40px; padding: 8px 16px; font-family: var(--sans); font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.03em; border: 1px solid var(--line-strong);
  background: var(--panel); color: var(--ink-soft); cursor: pointer; transition: all 0.15s ease;
}
.filter:hover { border-color: var(--madder); color: var(--madder); }
.filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-count { font-size: 0.85rem; color: var(--faint); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.product-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.product-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-figure { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.product-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-figure img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; padding: 5px 10px; background: rgba(20,15,11,0.82); color: #fff; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.badge.sold { background: var(--madder-dark); }
.photo-count { position: absolute; bottom: 12px; right: 12px; padding: 4px 9px; background: rgba(255,253,248,0.92); color: var(--ink); font-size: 0.7rem; font-weight: 700; }
.product-body { display: flex; flex-direction: column; gap: 7px; padding: 18px 18px 20px; flex: 1; }
.product-type { font-family: var(--display); font-size: 0.64rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--madder); }
.product-title { font-family: var(--serif); font-size: 1.28rem; line-height: 1.12; }
.product-title a { color: inherit; text-decoration: none; }
.product-title a:hover { color: var(--madder); }
.product-desc { font-size: 0.9rem; color: var(--muted); margin: 2px 0 0; }
.product-meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 4px; font-size: 0.86rem; color: var(--ink-soft); }
.product-meta .dim { font-weight: 700; color: var(--ink); }
.product-meta .price { color: var(--muted); }
.product-actions { display: flex; gap: 8px; margin-top: 14px; }
.product-actions .button { flex: 1; min-height: 44px; padding: 10px; font-size: 0.78rem; }

/* ---- service / info cards ---------------------------------------------- */
.card { background: var(--panel); border: 1px solid var(--line); padding: clamp(24px, 3vw, 34px); }
.card.shadow { box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.icon-dot {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  color: var(--madder);
  font-family: var(--display);
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  border-radius: 50%;
}

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--panel); padding: 26px 18px; text-align: center; }
.stat .num { font-family: var(--serif); font-size: 2.6rem; color: var(--madder); line-height: 1; }
.stat .lbl { font-size: 0.82rem; color: var(--muted); margin-top: 8px; }

blockquote.pull { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; color: var(--ink); font-style: italic; }
blockquote.pull cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

/* ---- gallery feature --------------------------------------------------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; cursor: zoom-in; }
.mosaic .tall { grid-row: span 2; aspect-ratio: 1 / 2; }
.mosaic .wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ---- forms ------------------------------------------------------------- */
.inquiry-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--madder); outline-offset: 1px; border-color: var(--madder); }
.form-note { font-size: 0.8rem; color: var(--faint); }

/* ---- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 4px; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--madder); font-weight: 400; font-size: 1.5rem; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { padding: 0 4px 22px; margin: 0; color: var(--muted); }

/* ---- editorial / blog -------------------------------------------------- */
.article { max-width: 760px; margin: 0 auto; }
.article p, .article li { font-size: 1.12rem; color: var(--ink-soft); }
.article h2 { margin: 44px 0 14px; }
.article h3 { margin: 30px 0 10px; }
.article figure { margin: 32px 0; }
.article figure img { width: 100%; }
.article figcaption { font-size: 0.85rem; color: var(--faint); margin-top: 8px; font-style: italic; }
.article ul, .article ol { padding-left: 22px; }
.article li { margin-bottom: 8px; }
.article .callout { background: var(--paper-2); border-left: 3px solid var(--madder); padding: 20px 24px; margin: 28px 0; }
.article .callout p { margin: 0; }
.meta-line { font-size: 0.85rem; color: var(--faint); letter-spacing: 0.04em; }
.tag-pill { display: inline-block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--madder); border: 1px solid var(--line-strong); padding: 4px 10px; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); text-decoration: none; color: inherit; transition: box-shadow .2s ease, transform .2s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.post-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper-2); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h3 { font-size: 1.3rem; }
.post-card p { font-size: 0.92rem; color: var(--muted); }
.post-card .more { margin-top: auto; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--madder); }

/* ---- CTA band ---------------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--paper); }
.cta-band h2 { color: #fff; }
/* The global `p { color: var(--ink-soft) }` overrides inherited light text, so set it explicitly on this dark band. */
.cta-band p { color: #e0d4c2; }
.cta-band .eyebrow { color: #e9b98f; }
.cta-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.contact-block { display: grid; gap: 4px; }
.contact-block a { color: #f0e6d6; }

/* ---- footer ------------------------------------------------------------ */
.site-footer { background: #1a1410; color: #e4d9c8; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 64px clamp(20px,4vw,48px) 30px; max-width: var(--maxw); margin: 0 auto; }
.site-footer h4 { color: #fff; font-family: var(--display); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #ddd0bd; text-decoration: none; font-size: 0.9rem; display: block; padding: 4px 0; }
.site-footer a:hover { color: #fff; }
.site-footer p { color: #d8ccb8; font-size: 0.9rem; }
.footer-brand small { font-style: italic; font-family: var(--serif); color: #e4d9c8; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer .footer-social a { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,0.28); border-radius: 50%; color: #ddd0bd; transition: color .15s, border-color .15s; }
.site-footer .footer-social a:hover { color: #fff; border-color: rgba(255,255,255,0.55); }

/* ---- email capture popup ---------------------------------------------- */
.cotic-modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(20,15,11,0.55); opacity: 0; transition: opacity .25s ease; }
.cotic-modal.open { display: flex; opacity: 1; }
.cotic-modal-card { position: relative; width: min(440px, 100%); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,0.38); padding: clamp(26px, 4vw, 40px); transform: translateY(14px) scale(0.98); transition: transform .25s ease; text-align: center; }
.cotic-modal.open .cotic-modal-card { transform: none; }
.cotic-modal-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 8px; }
.cotic-modal-close:hover { background: rgba(0,0,0,0.06); color: var(--ink); }
.cotic-modal .eyebrow { color: var(--madder); }
.cotic-modal h2 { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 1.95rem); margin: 8px 0 0; color: var(--ink); }
.cotic-modal .lede { color: var(--muted); margin: 12px auto 0; max-width: 38ch; font-size: 1rem; }
.cotic-modal form { display: grid; gap: 10px; margin-top: 22px; text-align: left; }
.cotic-modal input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
.cotic-modal input:focus { outline: 2px solid var(--madder); outline-offset: 1px; border-color: var(--madder); }
.cotic-modal .button.primary { width: 100%; justify-content: center; min-height: 48px; margin-top: 2px; }
.cotic-modal .fineprint { color: var(--muted); font-size: 0.78rem; margin: 4px 0 0; text-align: center; }
.cotic-modal .modal-note { font-size: 0.9rem; margin: 8px 0 0; text-align: center; min-height: 1em; }
@media (max-width: 480px) {
  .cotic-modal { align-items: flex-end; padding: 0; }
  .cotic-modal-card { width: 100%; border-radius: 16px 16px 0 0; }
}
.footer-social svg { width: 16px; height: 16px; fill: currentColor; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px clamp(20px,4vw,48px); text-align: center; font-size: 0.8rem; color: #c3b59f; max-width: var(--maxw); margin: 0 auto; }

/* ---- lightbox ---------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15,11,8,0.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lb-close, .lb-prev, .lb-next { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); color: #fff; width: 52px; height: 52px; font-size: 1.4rem; cursor: pointer; display: grid; place-items: center; }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #f0e6d6; font-size: 0.9rem; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { background: rgba(255,255,255,0.25); }

/* ---- misc -------------------------------------------------------------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.note-strip { background: #fbf4e7; border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 14px 18px; font-size: 0.88rem; color: var(--muted); }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; background: #fff; padding: 10px 16px; z-index: 200; }

/* ---- responsive -------------------------------------------------------- */
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .primary-nav {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; background: var(--panel);
    border-bottom: 1px solid var(--line); padding: 16px clamp(20px,4vw,48px) 24px;
  }
  .site-header.nav-open .has-menu > .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .cols-2, .cols-3, .cols-4, .split, .cta-inner, .stat-row { grid-template-columns: 1fr; }
  .split.media-right .split-media { order: 0; }
  .product-grid, .product-grid.cols4, .post-grid, .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-row { grid-template-columns: repeat(2,1fr); }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .trust-strip div { flex: 1 1 40%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand-text small { display: none; }
  .header-phone { display: none; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 0.95rem; }
  .product-grid, .product-grid.cols4, .post-grid, .tiles { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .trust-strip { flex-direction: column; }
  .trust-strip div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.22); }
}

/* ---- enriched product cards ------------------------------------------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; margin: 14px 0 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.spec-grid div { display: flex; flex-direction: column; }
.spec-grid dt { font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.spec-grid dd { margin: 0; font-size: 0.9rem; color: var(--ink); font-weight: 600; }
.spec-grid dd.dim.faint { color: var(--muted); font-weight: 500; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 6px; }
.price-tag { font-family: var(--serif); font-size: 1.2rem; color: var(--madder-dark); }
.avail { font-size: 0.76rem; color: var(--faint); }
.product-actions { margin-top: 8px; }
.quick-cta { margin-top: 10px; font-size: 0.8rem; display: flex; flex-wrap: wrap; gap: 6px 12px; }
.quick-cta a { color: var(--madder-dark); text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 1px; }
.quick-cta a:hover { color: var(--madder); border-color: var(--madder); }

/* ---- service conversion blocks ---------------------------------------- */
.service-cta-bar { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; background: var(--ink); color: #fff; padding: 18px clamp(18px, 3vw, 30px); margin-top: 22px; }
.service-cta-bar p { color: #ecdfca; margin: 0; font-size: 0.95rem; }
.service-cta-bar .phone-big { font-family: var(--display); font-size: 1.5rem; color: #fff; text-decoration: none; letter-spacing: 0.03em; white-space: nowrap; }
.send-block { background: var(--paper-2); border: 1px dashed var(--line-strong); padding: 26px; text-align: center; }
.send-block h3 { margin-bottom: 8px; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ba-pair figure { margin: 0; }
.ba-pair figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }
.ba-pair figcaption { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }

/* ---- product detail pages --------------------------------------------- */
.product-page-hero h1 { max-width: 22ch; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr); gap: clamp(28px, 5vw, 60px); align-items: start; }
.product-detail-gallery { display: grid; gap: 14px; }
.product-detail-main { width: 100%; max-height: 760px; object-fit: contain; background: var(--paper-2); border: 1px solid var(--line); cursor: zoom-in; }
.product-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.product-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line); cursor: zoom-in; background: var(--paper-2); }
.product-detail-panel { position: sticky; top: 96px; }
.product-detail-panel h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 16px; }
.product-detail-specs { grid-template-columns: 1fr; }
.product-detail-panel .button { width: 100%; }

@media (max-width: 960px) {
  .product-detail { grid-template-columns: 1fr; }
  .product-detail-panel { position: static; }
}

@media (max-width: 560px) {
  .product-thumbs { grid-template-columns: repeat(3, 1fr); }
}
