:root {
  --bg: #14060a;
  --house: #6b1824;
  --ink: #14110e;
  --soft: #3c342e;
  --paper: #f3eee6;
  --ivory: #fbf8f2;
  --line: rgba(20, 17, 14, 0.12);
  --gold: #c4a35a;
  --gold-hi: #e4c87a;
  --muted: #6a5e54;
  --max: 1240px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Inter Tight", "Source Sans 3", "Segoe UI", sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 90;
  background: var(--house); color: #fff; padding: 8px 12px;
}
.skip-link:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }

.topbar {
  background: #0c0406;
  color: #d9c79a;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar-in {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 8px 20px; padding: 8px 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--gold-hi); }
.gem { color: var(--gold-hi); }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 248, 242, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
body.is-home .site-header {
  position: fixed; left: 0; right: 0;
  background: transparent; border-color: transparent;
}
body.is-home .site-header.solid {
  background: rgba(251, 248, 242, 0.94);
  border-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 92px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 72px; height: 72px; object-fit: contain; }
.brand strong {
  display: block; font-family: var(--display); font-weight: 600;
  font-size: 18px; letter-spacing: -0.02em;
}
.brand small {
  display: block; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.links { display: flex; align-items: center; gap: 4px; }
.links a {
  text-decoration: none; padding: 8px 12px;
  font-size: 14px; font-weight: 600; color: var(--soft);
}
.links a:hover, .links a.on { color: var(--house); }
.links .go {
  margin-left: 8px; background: var(--house); color: #fff !important;
  padding: 9px 16px;
}
body.is-home .site-header:not(.solid) .brand strong,
body.is-home .site-header:not(.solid) .links a { color: #f6efe4; }
body.is-home .site-header:not(.solid) .brand small { color: #c9b48a; }
body.is-home .site-header:not(.solid) .links .go {
  background: var(--gold); color: #14060a !important;
}
.burger {
  display: none; border: 1px solid var(--line); background: var(--ivory);
  padding: 8px 12px; font: inherit; font-weight: 650;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  background: radial-gradient(900px 500px at 80% 20%, rgba(196, 163, 90, 0.16), transparent 55%), var(--bg);
  color: #f6efe4;
  overflow: hidden;
  padding: 140px 0 72px;
}
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 42%);
  align-items: center;
  gap: 28px 48px;
  position: relative;
  z-index: 1;
}
.hero-mark img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 48px rgba(196, 163, 90, 0.32));
}
.compass {
  position: absolute; right: -8%; top: 50%;
  width: min(720px, 70vw); transform: translateY(-50%);
  opacity: 0.55; pointer-events: none;
  animation: spin 80s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero .wrap { position: relative; z-index: 1; }
.seal { width: min(220px, 52vw); margin: 0 0 28px; }
.seal img { width: 100%; height: auto; }
.foot-brand {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.foot-brand img {
  width: 100%;
  height: auto;
}

.social-float {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: max(22px, calc(env(safe-area-inset-bottom, 0px) + 16px));
  z-index: 70;
  pointer-events: none;
  transition: opacity 280ms var(--ease), visibility 280ms var(--ease), transform 280ms var(--ease);
}
.social-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.social-float__panel {
  pointer-events: auto;
  display: flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(20, 17, 14, 0.12);
  box-shadow: 0 14px 38px rgba(20, 6, 10, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}
.social-float__list {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-float__item { margin: 0; }
.social-float__link {
  display: block;
  line-height: 0;
  border-radius: 12px;
  transition: transform 200ms var(--ease), filter 200ms var(--ease);
}
.social-float__link:hover,
.social-float__link:focus-visible {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.06);
}
.social-float__badge {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.social-float__icon { display: block; width: 40px; height: 40px; }
.social-dock:empty { display: none; }
.social-dock:not(:empty) {
  display: flex;
  margin: 0 0 24px;
}
.social-dock .social-float__panel {
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 6, 10, 0.18);
  backdrop-filter: none;
}
.kicker {
  margin: 0 0 18px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-hi);
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin: 0 0 18px;
}
h1 { font-size: clamp(48px, 8vw, 92px); max-width: 14ch; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 26px; }
.em { font-style: italic; color: var(--gold-hi); font-weight: 500; }
.lede {
  max-width: 38rem; margin: 0 0 28px;
  font-size: 19px; color: var(--soft); line-height: 1.55;
}
.hero .lede { color: #d8cbb6; }

.row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 1px solid transparent;
  padding: 14px 22px; font: inherit; font-weight: 700; cursor: pointer;
  transition: transform 200ms var(--ease), background 200ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #14060a; }
.btn-line { border-color: rgba(246, 239, 228, 0.45); color: #f6efe4; background: transparent; }
.btn-line:hover { background: #fff; color: #14060a; }
.btn-red { background: var(--house); color: #fff; }
.btn-ink { border-color: var(--ink); color: var(--ink); background: transparent; }

.hero-foot {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid rgba(196, 163, 90, 0.28);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #c9b48a;
}

.sec { padding: 88px 0; }
.sec-head { max-width: 40rem; margin-bottom: 40px; }
.sec-head p { margin: 0; color: var(--muted); }
.eye {
  display: block; margin-bottom: 12px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}

.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.tri article { background: var(--ivory); padding: 36px 28px; }
.tri em {
  display: block; font-family: var(--display); font-style: italic;
  font-size: 34px; color: var(--house); margin-bottom: 12px;
}
.tri p { margin: 0; color: var(--soft); }

.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap {
  text-decoration: none; padding: 28px 24px 24px;
  background: var(--ivory); border: 1px solid var(--line);
  min-height: 100%;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.cap:hover { border-color: var(--gold); transform: translateY(-3px); }
.cap i {
  display: grid; place-items: center;
  width: 44px; height: 44px; margin-bottom: 18px;
  border: 1px solid rgba(196, 163, 90, 0.45);
  color: var(--gold);
}
.cap b { display: block; font-size: 12px; letter-spacing: 0.16em; color: var(--gold); margin-bottom: 8px; }
.cap p { margin: 10px 0 0; color: var(--muted); }

.dark { background: var(--bg); color: #f3ebe0; }
.dark .eye { color: var(--gold-hi); }
.dark p { color: #c9bba8; }
.grid6 { display: grid; grid-template-columns: repeat(3, 1fr); }
.grid6 span {
  padding: 28px 22px;
  border: 1px solid rgba(196, 163, 90, 0.18);
  font-family: var(--display); font-size: 28px; letter-spacing: -0.03em;
}

.names { display: flex; flex-wrap: wrap; gap: 10px 0; }
.names span {
  padding: 8px 18px 8px 0; margin-right: 16px;
  border-right: 1px solid var(--line);
  font-weight: 650; letter-spacing: 0.02em;
}

.catalog { width: 100%; border-collapse: collapse; }
.catalog tr { border-bottom: 1px solid var(--line); transition: background 160ms var(--ease); }
.catalog tr:hover { background: rgba(196, 163, 90, 0.08); }
.catalog td { padding: 16px 8px; vertical-align: top; }
.catalog td:first-child { width: 48px; font-family: var(--display); color: var(--gold); }
.catalog td:nth-child(2) { font-weight: 700; width: 34%; }
.catalog td:last-child { color: var(--muted); }

.filter {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.filter button {
  border: 1px solid var(--line); background: transparent;
  padding: 8px 14px; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer;
}
.filter button.on, .filter button:hover { background: var(--house); color: #fff; border-color: var(--house); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.start { align-items: start; }
.quote {
  font-family: var(--display); font-size: clamp(24px, 3vw, 36px);
  line-height: 1.28; margin: 0 0 20px;
}
.vals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.vals span { padding: 16px; background: var(--ivory); border-top: 2px solid var(--gold); font-weight: 700; }

.page { padding: 132px 0 24px; }
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.crumbs a { color: var(--house); text-decoration: none; }

.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 650; font-size: 14px; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); background: #fff;
  padding: 13px 14px; font: inherit;
}
.form textarea { min-height: 140px; resize: vertical; }
.note { color: var(--muted); font-size: 13px; margin: 0; }
.ok { display: none; background: #e7f2e9; border: 1px solid #b6d3bb; padding: 12px 14px; }
.form.sent .ok { display: block; }
.form.sent .fields { display: none; }
.err { color: #8d1f1f; font-size: 12px; min-height: 1em; }
.office { padding: 32px; background: var(--bg); color: #f3ebe0; }
.office a { color: var(--gold-hi); }

.site-footer { background: #0c0406; color: #d9cbb6; padding: 56px 0 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.site-footer h2 { font-size: 18px; color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.legal {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(196, 163, 90, 0.2); padding-top: 16px;
  font-size: 13px; color: #9c8d78;
}

.reveal { opacity: 0; transform: translateY(18px); animation: up 700ms var(--ease) forwards; }
.reveal:nth-child(2) { animation-delay: 80ms; }
.reveal:nth-child(3) { animation-delay: 160ms; }
@keyframes up { to { opacity: 1; transform: none; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.desk-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 70px; height: 70px; padding: 0; border: 0; border-radius: 50%;
  background: #14060a; cursor: pointer;
  box-shadow: 0 12px 32px rgba(20, 6, 10, 0.38), 0 0 0 2px var(--gold);
}
.desk-fab img { width: 60px; height: 60px; margin: 5px auto; }
.desk-dot {
  position: absolute; top: 8px; right: 8px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #3d9a5b; box-shadow: 0 0 0 2px #14060a;
}
.desk-panel {
  position: fixed; right: 16px; bottom: 16px; z-index: 81;
  width: min(400px, calc(100vw - 20px));
  height: min(600px, calc(100svh - 20px));
  display: none;
  grid-template-rows: auto 1fr auto auto;
  background: var(--ivory);
  border: 1px solid rgba(196, 163, 90, 0.45);
  box-shadow: 0 24px 64px rgba(20, 6, 10, 0.3);
}
.desk-panel.open { display: grid; }
.desk-head {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; background: #14060a; color: #f6efe4;
}
.desk-head img { width: 44px; height: 44px; }
.desk-head strong { display: block; font-family: var(--display); font-weight: 600; }
.desk-head small {
  display: block; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #c9b48a;
}
.desk-x {
  margin-left: auto; border: 1px solid rgba(196, 163, 90, 0.4);
  background: transparent; color: #f6efe4;
  padding: 6px 10px; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer;
}
.desk-log {
  overflow: auto; padding: 16px; display: grid; gap: 10px; align-content: start;
}
.desk-msg { max-width: 94%; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.desk-msg p { margin: 0; }
.desk-msg.bot { background: #fff; border: 1px solid var(--line); }
.desk-msg.you { justify-self: end; background: var(--house); color: #fff; }
.desk-msg.desk-wait { color: var(--muted); font-style: italic; }
.desk-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.desk-acts a {
  text-decoration: none; font-size: 12px; font-weight: 700;
  padding: 6px 10px; border: 1px solid var(--gold); color: var(--house);
}
.desk-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 10px; }
.desk-chips button {
  border: 1px solid var(--line); background: #fff;
  padding: 7px 10px; font: inherit; font-size: 12px; font-weight: 650; cursor: pointer;
}
.desk-chips button:hover { border-color: var(--gold); }
.desk-form {
  display: flex; gap: 8px; padding: 12px 14px 14px;
  border-top: 1px solid var(--line);
}
.desk-form input {
  flex: 1; border: 1px solid var(--line); background: #fff;
  padding: 11px 12px; font: inherit;
}

@media (max-width: 900px) {
  h1 { max-width: none; }
  .tri, .caps, .grid6, .split, .foot, .vals, .hero-in { grid-template-columns: 1fr; }
  .hero-mark { width: min(196px, 52vw); }
  .compass { opacity: 0.28; right: -30%; }
  .burger { display: inline-flex; }
  .links {
    display: none; position: absolute; left: 24px; right: 24px; top: 108px;
    background: var(--ivory); border: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 8px;
  }
  .links.open { display: flex; }
  .links a { color: var(--ink) !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .compass, .reveal, .btn, .cap { animation: none; transition: none; opacity: 1; transform: none; }
}
