/* Renoox Group — the universe. Same control-room chrome as Renoox Office,
   wrapped around a 3D solar system where every planet is a product. */

:root {
  --ink: #0f0c09;
  --panel: #1a140e;
  --panel-2: #241b12;
  --line: #3a2c1c;
  --amber: #e3ba36; /* Renoox logo gold */
  --cream: #f3e6d0;
  --space-1: #0b1020;
  --space-2: #03050c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: var(--cream);
  font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
  overflow: hidden;
}

/* ── Top bar ─────────────────────────────────────────────────────────── */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  background: var(--panel);
  border-bottom: 2px solid var(--line);
  flex: 0 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 34px; width: auto; }
.title { font-weight: 700; letter-spacing: .28em; font-size: 13px; white-space: nowrap; }
.title .dim { color: #8d7a5f; letter-spacing: .2em; }
.topnote {
  font-size: 11px;
  color: #b7a486;
  background: var(--panel-2);
  border: 1px solid var(--line);
  padding: 6px 10px;
  letter-spacing: .08em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  margin-right: 7px;
  background: #58c95e;
  box-shadow: 0 0 6px #58c95e;
  animation: blink 1.6s steps(2) infinite;
}
@keyframes blink { 50% { opacity: .35; } }
.topbar-right { display: flex; align-items: center; gap: 10px; min-width: 0; }

/* ── Link to the Renoox products universe (hidden while you're in it) ──── */
.products-link {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #ffd27a;
  background: var(--panel-2);
  border: 1px solid var(--amber);
  padding: 7px 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  transition: transform .15s, background .15s;
}
.products-link:hover { background: var(--amber); color: #1a1206; transform: translateY(-1px); }
.products-link[hidden] { display: none; }
.products-link .short { display: none; }
#dock-links .dock-more { color: #ffd27a; border: 1px solid var(--amber); padding: 2px 8px; margin-left: 6px; }

/* ── Join the universe (button + signup dialog, shared with profile.html) ─ */
.join-btn {
  flex: 0 0 auto;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #1a1206;
  background: var(--amber);
  border: 1px solid #7a5a0e;
  padding: 7px 12px;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  white-space: nowrap;
  transition: transform .15s, background .15s;
}
.join-btn:hover { background: #f3d843; transform: translateY(-1px); }
.join-btn .short { display: none; }
.join {
  margin: auto; /* the global reset zeroes margins; dialogs need auto to centre */
  width: min(560px, calc(100% - 24px));
  max-height: calc(100% - 24px);
  padding: 0;
  border: 2px solid var(--amber);
  background: var(--panel);
  color: var(--cream);
  font-family: inherit;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .5), 0 0 40px rgba(232, 132, 46, .2);
}
.join::backdrop { background: rgba(3, 5, 12, .78); }
.join-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.join-title { font-size: 11px; font-weight: 700; letter-spacing: .24em; flex: 1; color: #ffd27a; }
.join-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 16px;
  line-height: 1;
  width: 24px; height: 24px;
  cursor: pointer;
}
.join-close:hover { border-color: var(--amber); color: var(--amber); }
.join-body { padding: 14px 16px 16px; overflow-y: auto; max-height: calc(100vh - 90px); }
.join-intro { font-size: 12px; line-height: 1.55; color: #d9c6a6; margin-bottom: 12px; }
.join-designer-link { font-size: 11px; line-height: 1.5; color: #d9c6a6; border: 1px dashed var(--amber); padding: 7px 10px; background: rgba(227, 186, 54, .08); }
.join-designer-link a { color: #ffd27a; font-weight: 700; }
.join-form { display: flex; flex-direction: column; gap: 10px; }
.join-form[hidden], .join-done[hidden], .join-fallback[hidden], .join-error[hidden] { display: none; }
.join-type { border: 1px solid var(--line); padding: 8px 10px 9px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.join-type legend { font-size: 9px; letter-spacing: .18em; color: #8d7a5f; padding: 0 4px; }
.join-type label { display: flex; align-items: center; gap: 6px; font-size: 11px; cursor: pointer; }
.join-type input { accent-color: var(--amber); }
.join-form > label, .join-row label { display: flex; flex-direction: column; gap: 4px; font-size: 9px; letter-spacing: .14em; color: #8d7a5f; min-width: 0; }
.join-form label b { color: var(--amber); font-weight: 400; }
.join-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.join-form input:not([type="radio"]), .join-form textarea {
  font: inherit;
  font-size: 12px;
  letter-spacing: 0;
  padding: 7px 9px;
  background: #0f0c09;
  color: var(--cream);
  border: 1px solid var(--line);
  width: 100%;
}
.join-form textarea { resize: vertical; min-height: 64px; }
.join-form input:focus, .join-form textarea:focus { outline: none; border-color: var(--amber); }
.join-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.join-error { font-size: 11px; color: #ff9a9a; border: 1px solid #7a3030; background: #2a1414; padding: 6px 9px; }
.join-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.join-submit {
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  padding: 10px 16px;
  background: var(--amber);
  color: #1a1206;
  border: 1px solid #7a5a0e;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}
.join-submit:hover { background: #f3d843; }
.join-submit:disabled { opacity: .6; cursor: wait; }
.join-note { font-size: 10px; color: #8d7a5f; letter-spacing: .06em; }
.join-done, .join-fallback { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 4px; font-size: 12px; line-height: 1.55; }
.join-done b, .join-fallback b { font-size: 13px; color: #ffd27a; letter-spacing: .04em; }
.join-wa {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #fff;
  background: #1f6b33;
  border: 1px solid #14461f;
  padding: 9px 14px;
  text-decoration: none;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
}
.join-wa:hover { background: #2a8a44; }

/* ── Space ───────────────────────────────────────────────────────────── */
#space {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 10px 14px;
  border: 2px solid var(--line);
  background: radial-gradient(ellipse at 50% 45%, #141c3a 0%, var(--space-1) 45%, var(--space-2) 100%);
  overflow: hidden;
  touch-action: none;
}

/* amber corner brackets, like the office control room */
.corner { position: absolute; width: 18px; height: 18px; z-index: 60; pointer-events: none; }
.corner.tl { top: 6px; left: 6px; border-top: 3px solid var(--amber); border-left: 3px solid var(--amber); }
.corner.tr { top: 6px; right: 6px; border-top: 3px solid var(--amber); border-right: 3px solid var(--amber); }
.corner.bl { bottom: 6px; left: 6px; border-bottom: 3px solid var(--amber); border-left: 3px solid var(--amber); }
.corner.br { bottom: 6px; right: 6px; border-bottom: 3px solid var(--amber); border-right: 3px solid var(--amber); }

#stage { position: absolute; inset: 0; cursor: grab; }
#stage.dragging { cursor: grabbing; }
#stage.hot { cursor: pointer; }
#stage canvas { display: block; }

/* ── Warp arrows + flash ─────────────────────────────────────────────── */
.warp {
  position: absolute;
  top: 18px;
  z-index: 1600;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--cream);
  background: rgba(26, 20, 14, .85);
  border: 1px solid var(--amber);
  padding: 8px 12px;
  cursor: pointer;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  transition: transform .15s, background .15s;
}
.warp span { color: #ffd27a; }
.warp.next { right: 22px; }
.warp.home { left: 22px; background: var(--amber); color: #1a1206; }
.warp.prev { left: 112px; }
.warp:hover { background: var(--amber); color: #1a1206; transform: translateX(0) scale(1.03); }
.warp:hover span { color: #1a1206; }
.warp.next:hover { transform: translateX(3px); }
.warp.prev:hover { transform: translateX(-3px); }
.warp[hidden] { display: none; }
.warp .short { display: none; }
.finder-toggle { display: none; }
#warp-flash {
  position: absolute;
  inset: 0;
  z-index: 1550;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 240, 210, .95) 0%, rgba(232, 132, 46, .55) 30%, rgba(11, 16, 32, 0) 70%);
}
#warp-flash.go { animation: warp .7s ease-out; }
@keyframes warp {
  0% { opacity: 0; transform: scale(.4); }
  35% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}

/* ── Finder ──────────────────────────────────────────────────────────── */
.finder {
  position: absolute;
  left: 22px; top: 62px;
  z-index: 1600;
  width: 220px;
  background: rgba(26, 20, 14, .92);
  border: 1px solid var(--line);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.finder[hidden] { display: none !important; }
.finder-title { font-size: 9px; font-weight: 700; letter-spacing: .24em; color: #ffd27a; }
.finder label { display: flex; flex-direction: column; gap: 3px; font-size: 9px; letter-spacing: .12em; color: #8d7a5f; }
.finder select, .finder input {
  font: inherit;
  font-size: 11px;
  padding: 5px 6px;
  background: #0f0c09;
  color: var(--cream);
  border: 1px solid var(--line);
}
.finder select:focus, .finder input:focus { outline: none; border-color: var(--amber); }
.finder-count { font-size: 9px; letter-spacing: .1em; color: #58c95e; }

/* ── Planet labels ───────────────────────────────────────────────────── */
#labels { position: absolute; inset: 0; pointer-events: none; }
.tag {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -100%);
  background: var(--cream);
  color: #2b1d10;
  border: 1px solid #2b1d10;
  padding: 2px 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  white-space: nowrap;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .45);
  pointer-events: auto;
  cursor: pointer;
  user-select: none;
  transition: opacity .2s;
}
.tag.hot { background: var(--amber); color: #1a1206; border-color: #7a5a0e; }
.tag.dim { opacity: .18; pointer-events: none; }
.tag.soon { background: #3a2c1c; color: #d9c6a6; border-style: dashed; border-color: #8d7a5f; }
.tag.soon.hot { background: #5a4028; color: #fff; }
#dock-links .soon { color: #8d7a5f; font-size: 11px; letter-spacing: .12em; white-space: nowrap; border-bottom: 1px dashed #8d7a5f; cursor: default; }
.tag.sun {
  background: #2b1d10;
  color: #ffd27a;
  border-color: #e3ba36;
  pointer-events: none;
  letter-spacing: .2em;
}
.tag[hidden] { display: none; }

/* ── Speech bubble ───────────────────────────────────────────────────── */
#bubble {
  position: absolute;
  z-index: 1500; /* above the projected planet labels (≤ ~1100) */
  max-width: 250px;
  background: #fffdf6;
  color: #241a10;
  border: 2px solid #241a10;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, .45);
  padding: 9px 11px;
  font-size: 12px;
  line-height: 1.45;
  transform: translate(-50%, -100%);
}
#bubble b { display: block; font-size: 10px; letter-spacing: .14em; color: #9a6b0a; margin-bottom: 3px; }
#bubble p { margin: 0; }
#bubble-go {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .1em;
  color: #1f6b33;
  text-decoration: none;
  border-bottom: 1px dotted #1f6b33;
}
#bubble-go:hover { color: var(--amber); border-bottom-color: var(--amber); }
#bubble-go[hidden] { display: none; }
#bubble .tail {
  position: absolute;
  left: 50%; bottom: -8px;
  width: 12px; height: 8px;
  transform: translateX(-50%);
  background: #241a10;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hint {
  position: absolute;
  right: 12px; bottom: 8px;
  z-index: 55;
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(243, 230, 208, .6);
  pointer-events: none;
}

/* ── Oxie the astronaut ──────────────────────────────────────────────── */
.oxie {
  position: absolute;
  left: 22px; bottom: 26px;
  z-index: 1900;
  width: 96px; height: 120px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  animation: float 4.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(150, 200, 255, .25));
  -webkit-tap-highlight-color: transparent;
}
.oxie canvas { display: block; width: 96px; height: 120px; image-rendering: pixelated; }
.oxie .oxie-tag {
  left: 50%; top: -14px;
  transform: translate(-50%, -100%);
  background: var(--amber);
  color: #1a1206;
  border-color: #7a5a0e;
  pointer-events: none;
  animation: nudge 2.4s ease-in-out infinite;
}
.oxie.open .oxie-tag { display: none; }
.oxie:hover { filter: drop-shadow(0 0 14px rgba(255, 210, 122, .45)); }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-10px) rotate(3deg); }
}
@keyframes nudge { 50% { transform: translate(-50%, -100%) translateY(-3px); } }

/* ── Mission Control chat ────────────────────────────────────────────── */
.chat {
  position: absolute;
  left: 130px; bottom: 26px;
  z-index: 2000;
  width: min(360px, calc(100% - 150px));
  height: min(440px, calc(100% - 52px));
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 2px solid var(--amber);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, .5), 0 0 30px rgba(232, 132, 46, .15);
  color: var(--cream);
}
.chat[hidden] { display: none; }
.chat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.chat-title { font-size: 10px; font-weight: 700; letter-spacing: .2em; flex: 1; }
.chat-mode {
  font-size: 9px;
  letter-spacing: .1em;
  color: #58c95e;
  border: 1px solid #2f5a33;
  padding: 2px 6px;
}
#chat-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--cream);
  font-size: 14px;
  line-height: 1;
  width: 22px; height: 22px;
  cursor: pointer;
}
#chat-close:hover { border-color: var(--amber); color: var(--amber); }
.chat-log {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  line-height: 1.45;
}
.msg { display: flex; }
.msg.user { justify-content: flex-end; }
.msg-bubble {
  max-width: 88%;
  padding: 7px 10px;
  border: 1px solid var(--line);
  background: #241b12;
  white-space: pre-wrap;
  word-break: break-word;
}
.msg.user .msg-bubble { background: #2f3e2c; border-color: #3e5a3a; }
.msg.bot .msg-bubble { background: #fffdf6; color: #241a10; border-color: #241a10; box-shadow: 2px 2px 0 rgba(0, 0, 0, .4); }
.msg.typing .msg-bubble { color: #8d7a5f; letter-spacing: .3em; }
.msg-bubble a { color: #1f6b33; font-weight: 700; text-decoration: none; border-bottom: 1px dotted #1f6b33; }
.msg.user .msg-bubble a { color: #9fe3b6; }
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 10px 8px;
}
.chat-chips:empty { display: none; }
.chip {
  font: inherit;
  font-size: 10px;
  letter-spacing: .08em;
  padding: 4px 8px;
  background: var(--panel-2);
  color: #d9c6a6;
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
}
.chip:hover { border-color: var(--amber); color: var(--amber); }
.chat-form {
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-top: 1px solid var(--line);
  background: var(--panel-2);
}
.chat-form input {
  flex: 1;
  min-width: 0;
  font: inherit;
  font-size: 12px;
  padding: 7px 9px;
  background: #0f0c09;
  color: var(--cream);
  border: 1px solid var(--line);
}
.chat-form input:focus { outline: none; border-color: var(--amber); }
.chat-form button {
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 7px 12px;
  background: var(--amber);
  color: #1a1206;
  border: 1px solid #7a5a0e;
  cursor: pointer;
}
.chat-form button:hover { background: #f3d843; }

/* ── Product dock ────────────────────────────────────────────────────── */
.dock {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 16px 12px;
  background: var(--panel);
  border-top: 2px solid var(--line);
  overflow-x: auto;
}
.dock-label { font-size: 9px; letter-spacing: .3em; color: #8d7a5f; flex: 0 0 auto; }
#dock-links { display: flex; gap: 4px 14px; flex-wrap: wrap; }
#dock-links a {
  color: #d9c6a6;
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .12em;
  white-space: nowrap;
  border-bottom: 1px dotted transparent;
}
#dock-links a:hover { color: var(--amber); border-bottom-color: var(--amber); }

.noscript-list { padding: 20px 30px; }
.noscript-list a { color: var(--amber); }

@media (max-width: 640px) {
  .topnote { display: none; }
  .join-btn { font-size: 10px; padding: 6px 9px; }
  .join-btn .full { display: none; }
  .join-btn .short { display: inline; }
  /* phone: the planet icon alone, so JOIN still fits beside it */
  .products-link { font-size: 13px; padding: 4px 8px; }
  .products-link .full, .products-link .short { display: none; }
  .join-row { grid-template-columns: 1fr; }
  .join .chat-mode { display: none; }
  .join-body { padding: 12px; }
  .title { letter-spacing: .16em; font-size: 11px; }
  #space { margin: 8px; }
  .hint { display: none; }
  #dock-links a { font-size: 10px; }
  .title { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  /* the buttons never shrink; the title gives way (ellipsis) instead */
  .topbar-right { flex: 0 0 auto; }
  .brand { flex: 1 1 auto; }
  /* compact controls: icon home, short universe names */
  .warp { top: 10px; font-size: 9px; padding: 6px 8px; }
  .warp .full { display: none; }
  .warp .short { display: inline; }
  .warp.next { right: 10px; }
  .warp.home { left: 10px; }
  .warp.prev { left: 46px; }
  /* finder collapses behind a toggle so it doesn't cover the system */
  .finder-toggle {
    display: inline-block;
    position: absolute;
    left: 10px; top: 44px;
    z-index: 1600;
    font: inherit;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .14em;
    color: #ffd27a;
    background: rgba(26, 20, 14, .9);
    border: 1px solid var(--line);
    padding: 5px 8px;
    cursor: pointer;
  }
  .finder-toggle[hidden] { display: none; }
  .finder { display: none; left: 10px; top: 74px; width: 190px; padding: 8px; gap: 5px; }
  .finder.open { display: flex; }
  .tag { font-size: 8px; padding: 1px 4px; letter-spacing: .08em; }
  #dock-links { flex-wrap: nowrap; }
  .oxie { left: 10px; bottom: 12px; width: 72px; height: 90px; }
  .oxie canvas { width: 72px; height: 90px; }
  .chat { left: 8px; right: 8px; bottom: 8px; width: auto; height: min(460px, calc(100% - 16px)); }
  .oxie.open { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .live-dot, .oxie, .oxie .oxie-tag { animation: none !important; }
}

/* ── Front page: the universe fills the first screen, the about section scrolls in below ── */
html:has(> body.front) { height: auto; }
body.front { height: auto; min-height: 100%; overflow: auto; }
.viewport { display: flex; flex-direction: column; height: 100vh; height: 100dvh; flex: 0 0 auto; }

/* in-page links to the about section (hint bar on desktop, dock everywhere) */
.about-link { color: var(--amber); text-decoration: none; border-bottom: 1px dotted var(--amber); white-space: nowrap; }
.about-link:hover { color: #fff; border-bottom-color: #fff; }
.hint .about-link { pointer-events: auto; margin-left: 10px; }
.dock-about { position: sticky; right: 0; background: var(--panel); box-shadow: -12px 0 12px var(--panel); margin-left: auto; flex: 0 0 auto; font-size: 11px; letter-spacing: .12em; padding-left: 14px; }

.about {
  background: var(--ink);
  border-top: 2px solid var(--line);
  padding: 56px 24px 72px;
}
.about-inner { max-width: 820px; margin: 0 auto; }
.about-kicker { font-size: 10px; letter-spacing: .3em; color: #8d7a5f; margin-bottom: 14px; }
.about h1 {
  font-size: clamp(26px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: .02em;
  color: #fff;
  margin-bottom: 22px;
}
.about h2 {
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 44px 0 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.about p, .about li {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--cream);
}
.about p { margin-bottom: 16px; }
.about p a, .about li a { color: #ffd27a; text-decoration: underline; text-decoration-color: rgba(255, 210, 122, .45); text-underline-offset: 3px; }
.about p a:hover, .about li a:hover { color: #fff; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.about-btn {
  display: inline-block;
  font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cream) !important;
  text-decoration: none !important;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 11px 16px;
}
.about-btn:hover { border-color: var(--amber); color: #fff !important; }
.about-btn.primary { background: var(--amber); border-color: var(--amber); color: var(--ink) !important; font-weight: 700; }
.about-btn.primary:hover { background: #f3d843; }
.about-products { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 22px; }
.about-products li { font-size: 15px; line-height: 1.5; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel); }
.about-products li a { text-decoration: none; display: block; margin-bottom: 2px; }
.about-products li b { font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.about-products li span { color: #d9c6a6; }
.about-products li em { color: #8d7a5f; font-style: normal; }
.about-more, .about-foot { font-family: ui-monospace, 'Cascadia Mono', Consolas, Menlo, monospace !important; font-size: 12px !important; letter-spacing: .1em; }
.about-foot { margin-top: 44px; }
@media (max-width: 700px) {
  .about { padding: 40px 16px 56px; }
  .about p, .about li { font-size: 16px; }
}

/* ── Shared by the blog and the front page's "Latest from the blog" block ── */
.post-card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); transition: border-color .15s; }
.post-card:hover { border-color: var(--amber); }
.post-card-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.post-card-tag { align-self: flex-start; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #ffd27a; text-decoration: none; border: 1px solid var(--line); padding: 3px 7px; }
.post-card-tag:hover { border-color: var(--amber); }
.post-card h3 { font-size: 16px; line-height: 1.35; letter-spacing: .01em; margin: 0; font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.post-card h3 a { color: #fff; text-decoration: none; }
.post-card h3 a:hover { color: var(--amber); }
.post-card p { font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; font-size: 14px; line-height: 1.55; color: #d9c6a6; margin: 0; flex: 1 1 auto; }
.post-card-meta { font-size: 11px; letter-spacing: .06em; color: #8d7a5f; }
.about .post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.about .post-card p, .about .post-card h3 { font-size: 14px; }
.about .post-card h3 { font-size: 16px; }

/* site-wide footer row under the dock (blog, author, about) */
.site-links { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 12px 16px 16px; background: var(--ink); border-top: 1px solid var(--line); }
.site-links a { font-size: 10px; letter-spacing: .18em; color: #8d7a5f; text-decoration: none; white-space: nowrap; }
.site-links a:hover { color: var(--amber); }
