/* Optika Vizion M — site-wide styles */

:root {
  --color-bg: #F7F5F2;
  --color-surface: #FFFFFF;
  --color-surface-alt: #F1EEEA;
  --color-text: #111111;
  --color-text-muted: #5C5C5C;
  --color-text-faint: #8A8A8A;
  --color-border: #DED9D2;
  --color-divider: #E8E3DC;
  --color-accent: #A32121;
  --color-accent-hover: #861919;
  --color-accent-soft: #F6EAEA;
  --color-accent-deep: #6E1414;

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 8px 24px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 14px 40px rgba(17, 17, 17, 0.08);

  --container: 1200px;
  --reading: 680px;

  --font-heading: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.reading { max-width: var(--reading); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--color-accent);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.08; }
h3 { font-size: clamp(22px, 1.8vw, 28px); line-height: 1.2; }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 17px; margin: 0; letter-spacing: -0.005em; }

p { margin: 0; color: var(--color-text-muted); }
.lead { font-size: 19px; line-height: 1.55; color: var(--color-text-muted); text-wrap: pretty; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 242, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled {
  background: rgba(247, 245, 242, 0.95);
  border-bottom-color: var(--color-divider);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1320px;
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--color-text);
}
.brand .m {
  font-style: italic;
  color: var(--color-accent);
  font-weight: 600;
}
.brand .vizion { font-weight: 500; }
.brand-tag {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  padding-left: 12px;
  border-left: 1px solid var(--color-border);
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  white-space: nowrap;
}
.nav a.nav-link:hover { color: var(--color-accent); }
.nav a.nav-link.active { color: var(--color-accent); }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.header-phone svg { width: 14px; height: 14px; stroke: var(--color-accent); }

.menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
}

@media (max-width: 1140px) {
  .header-phone { display: none; }
}
@media (max-width: 1040px) {
  .nav { gap: 20px; }
  .nav a.nav-link { font-size: 13px; }
}
@media (max-width: 900px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); border-top: 1px solid var(--color-divider); padding: 20px 32px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav.open { display: flex; }
  .menu-btn { display: inline-flex; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 28px;
  border-radius: 9999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.06);
}
.btn-primary:hover { background: var(--color-accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}
.btn-ghost:hover { background: var(--color-text); color: #fff; }

.btn-viber {
  background: #fff;
  color: var(--color-text);
  border: 1px solid var(--color-border);
}
.btn-viber:hover { border-color: var(--color-text); }

.btn-arrow::after {
  content: "→";
  transition: transform 0.2s ease;
}
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(3px); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 4px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.text-link:hover { color: var(--color-accent); border-bottom-color: var(--color-accent); }
.text-link .arr { transition: transform 0.2s ease; }
.text-link:hover .arr { transform: translateX(4px); }

/* Hero */
.hero {
  padding: 48px 0 96px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 .serif-i { font-style: italic; color: var(--color-accent); }
.hero .lead { margin-top: 28px; max-width: 520px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero-meta { margin-top: 44px; display: flex; gap: 36px; flex-wrap: wrap; color: var(--color-text-muted); font-size: 13px; }
.hero-meta span strong { display: block; font-family: var(--font-heading); font-size: 28px; color: var(--color-text); font-weight: 600; margin-bottom: 2px; line-height: 1; }

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-surface-alt);
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.4;
  max-width: 240px;
  box-shadow: var(--shadow-card);
}
.hero-badge strong { font-family: var(--font-heading); font-size: 18px; display: block; color: var(--color-text); font-weight: 600; }
.hero-badge small { color: var(--color-text-faint); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-image { aspect-ratio: 4 / 3; }
}

/* Trust bar */
.trust-bar {
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
  padding: 28px 0;
  background: var(--color-surface);
}
.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust-item { font-size: 13px; color: var(--color-text-muted); }
.trust-item strong { display: block; font-family: var(--font-heading); font-size: 26px; color: var(--color-text); font-weight: 600; line-height: 1; margin-bottom: 6px; }
.trust-item .label { letter-spacing: 0.04em; }
@media (max-width: 720px) {
  .trust-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 20px; }
}

/* Sections */
.section { padding: 112px 0; }
.section-tight { padding: 80px 0; }
.section-alt { background: var(--color-surface-alt); }
.section-dark { background: #141414; color: #f2efe9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #b5b1a8; }

.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-head .right { color: var(--color-text-muted); }
@media (max-width: 780px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}

/* Services grid */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--color-text); }
.service-card .num {
  font-family: var(--font-heading);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--color-accent);
  font-weight: 600;
}
.service-card h3 { margin-top: 16px; }
.service-card p { margin-top: 14px; }
.service-card .text-link { margin-top: auto; padding-top: 28px; align-self: flex-start; }
.service-card .thumb {
  margin-top: 24px;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-surface-alt);
}
.service-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 780px) {
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
}

/* Collections / featured frames — colored cards w/ image bleed */
.collections {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 20px;
}
.collections .col-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}
.coll-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-accent);
  color: #fff;
  display: block;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 240px;
}
.coll-card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(17,17,17,0.14); }
.coll-card.feature { min-height: 500px; background: var(--color-accent); }
.coll-card.dark { background: #1a1a1a; }
.coll-card.cream { background: #2a2a2a; }
.coll-card .text {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  box-sizing: border-box;
}
.coll-card.feature .text { padding: 56px 44px; width: 48%; }
.coll-card .label {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.9;
  margin: 0 0 14px;
}
.coll-card .title {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 1;
  font-weight: 600;
  margin: 0 0 6px;
  display: block;
}
.coll-card.feature .title { font-size: 64px; line-height: 0.95; }
.coll-card .sub {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  opacity: 0.92;
  display: block;
  margin: 0 0 24px;
  line-height: 1.4;
}
.coll-card .pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #111;
  padding: 12px 20px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.coll-card .pill svg { width: 12px; height: 12px; }
.coll-card:hover .pill { background: #f0eae0; }
.coll-card .img-bleed {
  position: absolute;
  right: 0;
  top: 0;
  width: 58%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}
.coll-card.feature .img-bleed { width: 60%; }

@media (max-width: 900px) {
  .collections { grid-template-columns: 1fr; }
  .coll-card.feature { min-height: 360px; }
  .coll-card.feature .title { font-size: 48px; }
}
@media (max-width: 560px) {
  .coll-card .text, .coll-card.feature .text { width: 60%; padding: 24px 20px; }
  .coll-card .title { font-size: 26px; }
  .coll-card.feature .title { font-size: 36px; }
}

/* About / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.split.reverse .img-col { order: 2; }
.split .img-col { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--color-surface-alt); }
.split .img-col img { width: 100%; height: 100%; object-fit: cover; }
.split ul.checks { list-style: none; padding: 0; margin: 28px 0 0; }
.split ul.checks li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--color-divider);
  font-size: 15px;
  color: var(--color-text);
}
.split ul.checks li:last-child { border-bottom: 1px solid var(--color-divider); }
.split ul.checks li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 9px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .img-col { order: 0; }
}

/* Testimonials */
.testimonial-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.testimonial-featured .img-col {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--color-surface-alt);
}
.testimonial-featured .img-col img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-featured blockquote {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.25;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  padding-top: 28px;
}
.testimonial-featured blockquote::before {
  content: "\201C";
  position: absolute;
  top: -24px;
  left: -8px;
  font-size: 140px;
  color: var(--color-accent);
  line-height: 1;
  font-family: var(--font-heading);
}
.testimonial-featured cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
}
.testimonial-featured cite strong { color: var(--color-text); font-weight: 700; display: block; margin-bottom: 2px; }

.testimonials-minor {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.testimonial-small {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.testimonial-small p { font-size: 16px; color: var(--color-text); line-height: 1.6; }
.testimonial-small cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 13px;
  color: var(--color-text-muted);
}
.testimonial-small cite strong { color: var(--color-text); display: block; font-weight: 700; margin-bottom: 2px; font-family: var(--font-body); }
@media (max-width: 860px) {
  .testimonial-featured { grid-template-columns: 1fr; gap: 40px; }
  .testimonials-minor { grid-template-columns: 1fr; margin-top: 40px; }
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: stretch;
}
.location-info { padding: 12px 0; }
.location-info h2 { margin-bottom: 28px; }
.location-info dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; row-gap: 14px; column-gap: 20px; }
.location-info dt { color: var(--color-text-faint); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; padding-top: 3px; }
.location-info dd { margin: 0; font-size: 16px; color: var(--color-text); }
.location-info dd a:hover { color: var(--color-accent); }

.location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 420px;
  position: relative;
  background: var(--color-surface-alt);
}
.location-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

@media (max-width: 880px) {
  .location-grid { grid-template-columns: 1fr; gap: 32px; }
  .location-info dl { grid-template-columns: 1fr; row-gap: 4px; }
  .location-info dt { margin-top: 14px; }
}

/* CTA band */
.cta-band {
  background: #141414;
  color: #f2efe9;
  padding: 96px 0;
}
.cta-band .inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b5b1a8; margin-top: 20px; max-width: 480px; }
.cta-band .ctas { display: flex; flex-direction: column; gap: 12px; }
.cta-band .btn-ghost { border-color: #f2efe9; color: #f2efe9; }
.cta-band .btn-ghost:hover { background: #f2efe9; color: #141414; }
@media (max-width: 780px) {
  .cta-band .inner { grid-template-columns: 1fr; gap: 32px; }
}

/* Footer */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  padding: 72px 0 40px;
  font-size: 14px;
  color: var(--color-text-muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-grid h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a:hover { color: var(--color-accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--color-divider);
  font-size: 12px;
  color: var(--color-text-faint);
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand .brand { font-size: 28px; }
.footer-brand p { margin-top: 16px; max-width: 320px; font-size: 14px; }
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* Sub-page hero (inner pages) */
.page-hero {
  padding: 56px 0 72px;
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-alt);
}
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(40px, 5vw, 68px); max-width: 820px; }
.page-hero p.lead { margin-top: 20px; max-width: 640px; }
.breadcrumbs { font-size: 12px; color: var(--color-text-faint); letter-spacing: 0.06em; margin-bottom: 18px; }
.breadcrumbs a:hover { color: var(--color-accent); }
.breadcrumbs .sep { margin: 0 8px; }

/* Service page body */
.service-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 72px;
  padding: 80px 0;
  align-items: start;
}
.service-body .prose h2 { font-size: clamp(26px, 2.4vw, 34px); margin: 48px 0 16px; }
.service-body .prose h2:first-child { margin-top: 0; }
.service-body .prose p { font-size: 17px; color: var(--color-text); line-height: 1.7; margin: 16px 0; max-width: 640px; }
.service-body .prose p.lead-para { font-size: 21px; font-family: var(--font-heading); line-height: 1.45; color: var(--color-text); font-weight: 500; max-width: 680px; }
.service-body .prose ul { margin: 16px 0; padding: 0; list-style: none; max-width: 640px; }
.service-body .prose ul li { padding: 12px 0 12px 28px; border-bottom: 1px solid var(--color-divider); position: relative; font-size: 16px; color: var(--color-text); }
.service-body .prose ul li::before { content: ""; position: absolute; left: 0; top: 20px; width: 14px; height: 1px; background: var(--color-accent); }
.service-body .prose ul li:first-child { border-top: 1px solid var(--color-divider); }

.service-body aside {
  position: sticky;
  top: 90px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.service-body aside h4 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.service-body aside p { font-size: 14px; margin-bottom: 20px; }
.service-body aside .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.service-body aside .meta { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-divider); font-size: 13px; display: grid; gap: 10px; color: var(--color-text-muted); }
.service-body aside .meta strong { color: var(--color-text); }

.service-image-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  margin: 24px 0 40px;
  background: var(--color-surface-alt);
}
.service-image-full img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .service-body { grid-template-columns: 1fr; gap: 40px; }
  .service-body aside { position: static; }
}

/* Related services */
.related { padding: 72px 0; background: var(--color-surface-alt); }
.related h2 { margin-bottom: 40px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 24px; transition: border-color 0.2s, transform 0.2s; }
.related-card:hover { border-color: var(--color-text); transform: translateY(-2px); }
.related-card h4 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.related-card p { font-size: 14px; }
@media (max-width: 780px) { .related-grid { grid-template-columns: 1fr; } }

/* Tweaks panel */
.tweaks-panel {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 100;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-hover);
  display: none;
  min-width: 240px;
  font-size: 13px;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h5 { font-family: var(--font-body); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 12px; color: var(--color-text-faint); }
.tweaks-panel .swatches { display: flex; gap: 8px; }
.tweaks-panel .swatch {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-border);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.tweaks-panel .swatch.active { box-shadow: 0 0 0 2px var(--color-text); }

/* Utility */
.mt-0 { margin-top: 0; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 56px; }
.text-muted { color: var(--color-text-muted); }
.divider { height: 1px; background: var(--color-divider); border: 0; margin: 0; }

/* Inline icons */
.ico { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
