/* ==========================================================================
   Glow Home Decors — core design system
   Shared by the public site and the admin portal.
   Brand: Warm Ivory #F6F0E6 · Charcoal Black #211F1A · Antique Gold #A77A2C
          Sand Beige #D9C8B2 · Olive Green #667354
   Antique gold is the brand accent. For text and button fills the deeper
   gold (#8F6626) is used so white text keeps AA contrast.
   ========================================================================== */

:root {
  /* Brand */
  --g-ivory: #f6f0e6;
  --g-ink: #211f1a;            /* charcoal black */
  --g-ink-950: #16140f;
  --g-ink-800: #2e2b25;
  --g-ink-700: #3d3931;
  --g-gold: #a77a2c;           /* antique gold — decorative */
  --g-gold-600: #8f6626;       /* buttons, links (AA on white and ivory) */
  --g-gold-700: #75531d;
  --g-gold-100: #efe3cc;
  --g-gold-50: #f8f1e4;
  --g-olive: #667354;
  --g-olive-600: #56614a;
  --g-olive-100: #e2e7d8;
  --g-olive-50: #f0f3ea;
  --g-olive-ink: #3b4430;      /* readable text on olive-50 */
  --g-sand: #d9c8b2;
  --g-sand-200: #e7dccb;
  --g-sand-100: #f0e8dc;
  --g-sand-50: #faf6ef;

  /* Semantic tokens */
  --color-primary: var(--g-gold-600);
  --color-primary-hover: var(--g-gold-700);
  --color-primary-active: #634616;
  --color-secondary: var(--g-ink);
  --color-accent: var(--g-olive);
  --color-bg: #ffffff;
  --color-surface: #f8f3eb;
  --color-surface-2: #efe7da;
  --color-text: #2b2822;
  --color-heading: var(--g-ink);
  --color-muted: #6b6458;
  --color-subtle: #8a8275;
  --color-border: #e8dfd0;
  --color-border-strong: #d3c5af;
  --color-success: #4f6b3a;
  --color-success-bg: #edf2e6;
  --color-warning: #7a5410;
  --color-warning-bg: var(--g-gold-50);
  --color-danger: #a8321f;
  --color-danger-bg: #fbece8;
  --color-info: var(--g-gold-700);
  --color-info-bg: var(--g-gold-50);
  --color-focus: #8f6626;

  /* Typography */
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
  --text-4xl: clamp(2.1rem, 1.3rem + 2.8vw, 3.25rem);

  /* Spacing, radius, shadow */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(33, 31, 26, 0.06);
  --shadow: 0 2px 6px rgba(33, 31, 26, 0.05), 0 8px 24px rgba(33, 31, 26, 0.06);
  --shadow-lg: 0 14px 44px rgba(33, 31, 26, 0.16);
  --ring: 0 0 0 3px rgba(167, 122, 44, 0.35);
  --transition: 160ms ease;
  --container: 1240px;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-primary-active); }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
  letter-spacing: 0;
}
h1 { font-size: var(--text-4xl); font-weight: 600; }
h2 { font-size: var(--text-3xl); font-weight: 600; }
h3 { font-size: var(--text-xl); font-weight: 600; }
h4 { font-size: var(--text-lg); font-weight: 600; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0 0 var(--space-4); padding-left: 1.25rem; }
hr { border: 0; border-top: 1px solid var(--color-border); margin: var(--space-8) 0; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--space-4); top: -100px; z-index: 1000;
  background: var(--g-ink); color: #fff; padding: var(--space-3) var(--space-4); border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--space-4); color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 1em; height: 1em; }
.icon-lg { width: 1.75em; height: 1.75em; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--space-4); }
@media (min-width: 768px) { .container { padding-inline: var(--space-6); } }
.stack > * + * { margin-top: var(--space-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
.grid { display: grid; gap: var(--space-6); }
.muted { color: var(--color-muted); }
.small { font-size: var(--text-sm); }
.nowrap { white-space: nowrap; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.w-auto { width: auto; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: #fff;
  --btn-border: var(--btn-bg);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 44px; padding: 0.625rem 1.15rem;
  border: 1px solid var(--btn-border); border-radius: var(--radius-sm);
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: var(--text-base); line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}
.btn:hover { --btn-bg: var(--color-primary-hover); color: var(--btn-fg); }
.btn:active { --btn-bg: var(--color-primary-active); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn-navy { --btn-bg: var(--g-ink); }
.btn-navy:hover { --btn-bg: var(--g-ink-800); }
.btn-gold { --btn-bg: var(--g-olive); --btn-fg: var(--g-ink); }
.btn-gold:hover { --btn-bg: var(--g-olive-600); --btn-fg: var(--g-ink); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--g-ink); --btn-border: var(--color-border-strong); }
.btn-outline:hover { --btn-bg: var(--g-gold-50); --btn-fg: var(--g-gold-700); --btn-border: var(--g-gold); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--color-primary); --btn-border: transparent; }
.btn-ghost:hover { --btn-bg: var(--g-gold-50); --btn-fg: var(--g-gold-700); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--g-ink); --btn-border: #fff; }
.btn-light:hover { --btn-bg: var(--g-sand-100); --btn-fg: var(--g-ink); }
.btn-on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.45); }
.btn-on-dark:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: #fff; --btn-border: #fff; }
.btn-danger { --btn-bg: var(--color-danger); }
.btn-danger:hover { --btn-bg: #922018; }
.btn-danger-outline { --btn-bg: transparent; --btn-fg: var(--color-danger); --btn-border: #f0b6b0; }
.btn-danger-outline:hover { --btn-bg: var(--color-danger-bg); --btn-fg: var(--color-danger); }
.btn-sm { min-height: 36px; padding: 0.4rem 0.8rem; font-size: var(--text-sm); }
.btn-lg { min-height: 52px; padding: 0.8rem 1.5rem; font-size: var(--text-lg); }
.btn-block { display: flex; width: 100%; }
.btn-icon { min-width: 40px; padding-inline: 0.6rem; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2px solid currentColor; border-color: var(--btn-fg) transparent var(--btn-fg) transparent;
  animation: cd-spin 0.8s linear infinite;
}
@keyframes cd-spin { to { transform: rotate(360deg); } }

.link-button { background: none; border: 0; padding: 0; color: var(--color-primary); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.55rem; border-radius: var(--radius-pill);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: 0.02em; line-height: 1.4; white-space: nowrap;
  background: var(--color-surface-2); color: var(--color-muted);
}
.badge-gold { background: var(--g-olive); color: var(--g-ink); }
.badge-blue { background: var(--g-gold-50); color: var(--g-gold-700); }
.badge-navy { background: var(--g-ink); color: #fff; }
.badge-muted { background: var(--color-surface-2); color: var(--color-muted); }
.badge-success { background: var(--color-success-bg); color: var(--color-success); }
.badge-danger { background: var(--color-danger-bg); color: var(--color-danger); }
.badge-warning { background: var(--g-olive-100); color: var(--color-warning); }
.badge-info, .badge-primary { background: var(--g-gold-50); color: var(--g-gold-700); }
.badge-neutral { background: var(--color-surface-2); color: var(--color-muted); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }

/* ---------------------------------------------------------------- forms */
.field { display: grid; gap: 0.35rem; margin-bottom: var(--space-4); align-content: start; }
.field > label, .label { font-weight: 600; font-size: var(--text-sm); color: var(--g-ink); }
.req { color: var(--color-danger); margin-left: 0.15rem; }
.hint { font-size: var(--text-xs); color: var(--color-muted); margin: 0; }
.input, .select, .textarea {
  width: 100%; min-height: 44px; padding: 0.6rem 0.8rem;
  border: 1px solid var(--color-border-strong); border-radius: var(--radius-sm);
  background: #fff; color: var(--color-text); font-size: var(--text-base);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none; padding-right: 2.25rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23211f1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.7rem center; background-size: 1rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--g-sand); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: var(--ring); }
.input[readonly], .input:disabled { background: var(--color-surface); color: var(--color-muted); }
.input-sm, .select-sm { min-height: 36px; padding-block: 0.35rem; font-size: var(--text-sm); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .input.has-error { border-color: var(--color-danger); }
.field-error { color: var(--color-danger); font-size: var(--text-sm); font-weight: 500; margin: 0; display: flex; gap: 0.35rem; align-items: flex-start; }
.input-group { display: flex; align-items: stretch; }
.input-group .input { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.input-group .addon {
  display: inline-flex; align-items: center; padding: 0 0.75rem; border: 1px solid var(--color-border-strong); border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); background: var(--color-surface); color: var(--color-muted); font-weight: 600;
}
.check { display: flex; gap: 0.6rem; align-items: flex-start; cursor: pointer; font-size: var(--text-sm); line-height: 1.4; }
.check input { width: 1.1rem; height: 1.1rem; margin: 0.1rem 0 0; accent-color: var(--color-primary); flex: none; }
.form-grid { display: grid; gap: 0 var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .form-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-grid .span-2 { grid-column: span 2; }
  .form-grid .span-all { grid-column: 1 / -1; }
}
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: var(--text-sm); color: var(--g-ink); padding: 0; margin-bottom: 0.35rem; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------------------------------------------------------------- cards */
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-body { padding: var(--space-5); }
.card-header { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--color-border); display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.card-header h2, .card-header h3 { margin: 0; font-size: var(--text-lg); }
.card-footer { padding: var(--space-4) var(--space-5); border-top: 1px solid var(--color-border); background: var(--color-surface); border-radius: 0 0 var(--radius) var(--radius); }

/* ---------------------------------------------------------------- alerts */
.alert {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-4); border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: var(--text-sm); margin-bottom: var(--space-4);
}
.alert > .icon { margin-top: 0.1rem; }
.alert p:last-child, .alert ul:last-child { margin-bottom: 0; }
.alert-info { background: var(--color-info-bg); border-color: var(--g-gold-100); color: var(--g-ink); }
.alert-success { background: var(--color-success-bg); border-color: #bfe3cf; color: #134e32; }
.alert-warning { background: var(--g-olive-50); border-color: var(--g-olive-100); color: var(--g-olive-ink); }
.alert-error, .alert-danger { background: var(--color-danger-bg); border-color: #f4c7c2; color: #7a1a12; }

/* ---------------------------------------------------------------- toasts */
.toast-region { position: fixed; z-index: 1100; right: var(--space-4); bottom: var(--space-4); display: grid; gap: var(--space-2); width: min(420px, calc(100vw - 2rem)); }
.toast {
  display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4);
  background: var(--g-ink); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  font-size: var(--text-sm); animation: cd-toast-in 200ms ease-out;
}
.toast .icon { color: var(--g-sand); margin-top: 0.05rem; }
.toast-success .icon { color: #c9d8a8; }
.toast-error { background: #6e2114; }
.toast-error .icon { color: #ffb4ab; }
.toast-close { margin-left: auto; background: none; border: 0; color: inherit; opacity: 0.7; cursor: pointer; padding: 0.1rem; }
.toast-close:hover { opacity: 1; }
@keyframes cd-toast-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------------------------------------------------------------- modal (native <dialog>) */
dialog.modal {
  border: 0; padding: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  width: min(520px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); color: var(--color-text);
}
dialog.modal-wide { width: min(900px, calc(100vw - 2rem)); }
dialog.modal::backdrop { background: rgba(22, 20, 15, 0.55); }
.modal-header { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); padding: var(--space-5) var(--space-6) var(--space-3); }
.modal-header h2 { font-size: var(--text-xl); margin: 0; }
.modal-body { padding: 0 var(--space-6) var(--space-5); overflow-y: auto; max-height: 65vh; }
.modal-footer { display: flex; justify-content: flex-end; gap: var(--space-3); padding: var(--space-4) var(--space-6); border-top: 1px solid var(--color-border); background: var(--color-surface); flex-wrap: wrap; }

/* ---------------------------------------------------------------- breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; padding: 0; margin: 0; font-size: var(--text-sm); color: var(--color-muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: "/"; color: var(--color-border-strong); }
.breadcrumbs a { color: var(--color-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--color-primary); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--g-ink); font-weight: 500; }

/* ---------------------------------------------------------------- pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; justify-content: center; margin-top: var(--space-8); }
.pagination a, .pagination span {
  min-width: 40px; height: 40px; padding: 0 0.7rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1px solid var(--color-border); text-decoration: none; color: var(--g-ink); font-weight: 600; font-size: var(--text-sm);
}
.pagination a:hover { border-color: var(--g-gold); color: var(--g-gold-700); background: var(--g-gold-50); }
.pagination [aria-current="page"] { background: var(--g-ink); border-color: var(--g-ink); color: #fff; }
.pagination .gap { border: 0; min-width: 20px; color: var(--color-muted); }
.pagination .is-disabled { color: var(--color-subtle); background: var(--color-surface); }

/* ---------------------------------------------------------------- tabs */
.tabs { display: flex; gap: var(--space-1); border-bottom: 1px solid var(--color-border); overflow-x: auto; scrollbar-width: thin; }
.tab {
  appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px;
  padding: 0.75rem 1rem; font-weight: 600; font-size: var(--text-sm); color: var(--color-muted); cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none;
}
.tab:hover { color: var(--g-ink); }
.tab[aria-selected="true"], .tab.is-active { color: var(--g-ink); border-bottom-color: var(--g-gold); }
.tab .tab-error { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--color-danger); }

/* ---------------------------------------------------------------- tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; font-size: var(--text-sm); }
.table th {
  text-align: left; font-weight: 600; color: var(--color-muted); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em;
  padding: 0.7rem var(--space-4); background: var(--color-surface); border-bottom: 1px solid var(--color-border); white-space: nowrap;
}
.table td { padding: 0.8rem var(--space-4); border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.table tbody tr:hover { background: var(--g-sand-50); }
.table tbody tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- dropdown (details/summary) */
.dropdown { position: relative; }
.dropdown > summary { list-style: none; cursor: pointer; }
.dropdown > summary::-webkit-details-marker { display: none; }
.dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 220px;
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: var(--space-2);
}
.dropdown-menu a, .dropdown-menu button {
  display: flex; width: 100%; gap: 0.6rem; align-items: center; padding: 0.55rem 0.7rem; border-radius: var(--radius-sm);
  color: var(--color-text); text-decoration: none; background: none; border: 0; cursor: pointer; font-size: var(--text-sm); text-align: left;
}
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--g-sand-50); color: var(--g-ink); }

/* ---------------------------------------------------------------- empty state */
.empty-state { text-align: center; padding: var(--space-12) var(--space-6); color: var(--color-muted); }
.empty-state .empty-icon {
  width: 64px; height: 64px; margin: 0 auto var(--space-4); border-radius: 50%;
  display: grid; place-items: center; background: var(--g-sand-100); color: var(--g-gold-700);
}
.empty-state .empty-icon .icon { width: 28px; height: 28px; }
.empty-state h2, .empty-state h3 { font-size: var(--text-xl); margin-bottom: var(--space-2); }
.empty-state p { max-width: 46ch; margin-inline: auto; }

/* ---------------------------------------------------------------- prose (CMS/markdown output) */
.prose { max-width: 72ch; color: var(--color-text); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-8); }
.prose h3 { font-size: var(--text-xl); margin-top: var(--space-6); }
.prose h4 { font-size: var(--text-lg); margin-top: var(--space-5); }
.prose li + li { margin-top: 0.3rem; }
.prose blockquote { margin: var(--space-5) 0; padding: var(--space-3) var(--space-5); border-left: 4px solid var(--g-olive); background: var(--g-olive-50); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.prose blockquote p { margin: 0; }
.prose > :first-child { margin-top: 0; }

/* ---------------------------------------------------------------- brand & shared links */
.brand { display: inline-flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--g-ink); flex: none; }
.brand-logo { display: block; height: 44px; width: auto; }
.brand-logo img { height: 100%; width: auto; }
.icon-button {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-sm);
  border: 1px solid var(--color-border); background: #fff; color: var(--g-ink); cursor: pointer; text-decoration: none;
}
.icon-button:hover { background: var(--g-sand-50); color: var(--g-gold-700); }
.link-arrow { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .icon { transition: transform var(--transition); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- logo */
.logo { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--g-ink); line-height: 1; }
.logo-mark { width: 40px; height: 37px; flex: none; overflow: visible; }
.logo-roof, .logo-wall { fill: none; stroke: var(--g-gold); stroke-width: 4.5; stroke-linecap: square; stroke-linejoin: miter; }
.logo-window { fill: var(--g-ink); }
.logo-text { display: grid; gap: 0.3rem; }
.logo-word { font-family: var(--font-display); font-weight: 600; font-size: 1.95rem; letter-spacing: -0.01em; line-height: 0.85; }
.logo-sub { display: flex; align-items: center; gap: 0.35rem; font-size: 0.5rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--g-gold-600); white-space: nowrap; }
.logo-sub::before, .logo-sub::after { content: ""; width: 0.7rem; height: 1px; background: currentColor; }
.logo-on-dark { color: var(--g-ivory); }
.logo-on-dark .logo-window { fill: var(--g-ivory); }
.logo-on-dark .logo-sub { color: var(--g-sand); }
.brand { color: inherit; }
.brand:hover .logo-word { color: var(--g-gold-700); }

