/* Universal Diamond LLC: cool-leaning game-shop palette (indigo, teal, violet, ice); saturated indigo side rail,
   hero and feature bands with white text over white content, vertical side header, asymmetric offset grid,
   monospace labels, numerals and prices with a geometric sans body, numbered catalog items with large numerals,
   soft shadows and no borders, faint gem-sparkle motif on the indigo */
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --indigo: #3d4fd1;
  --indigo-d: #2a37a3;
  --night: #141a3c;
  --teal: #1f9d90;
  --violet: #7b5cd6;
  --ice: #eef2ff;
  --muted: #4d5372;
  --white: #ffffff;
  --mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Outfit", "Segoe UI", Arial, sans-serif;
  --rail: 250px;
  --shadow: 0 10px 30px rgba(20, 26, 60, 0.12);
  --r: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--night); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--indigo-d); text-underline-offset: 3px; }
a:hover { color: var(--night); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
h1, h2, h3 { font-weight: 700; line-height: 1.06; margin: 0 0 0.45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.mono, .label, .facts dt, .hours thead th { font-family: var(--mono); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px;
  background: var(--white); color: var(--night); font-weight: 700; text-decoration: none; box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; }

/* vertical side header */
.shell {
  display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); min-height: 100vh;
  background: linear-gradient(90deg, var(--indigo-d) 0 var(--rail), transparent var(--rail));
}
.rail { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 24px; padding: 26px 22px; background: var(--indigo-d) url("assets/motif-gems.svg") 0 0 / 40px 40px; color: var(--white); }
.brand { display: block; color: var(--white); text-decoration: none; }
.brand img { width: 140px; height: 140px; border-radius: var(--r); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3); margin-bottom: 14px; }
.brand-name { display: block; font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.rail-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rail-nav a { display: block; padding: 9px 14px; border-radius: 12px; color: var(--white); text-decoration: none; font-weight: 700; }
.rail-nav a:hover { background: rgba(255, 255, 255, 0.12); }
.rail-nav a[aria-current="page"] { background: var(--white); color: var(--indigo-d); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); }
.rail-foot { margin-top: auto; }
.rail-foot p { margin: 0 0 4px; font-size: 0.78rem; opacity: 0.9; }
.rail-foot a { color: var(--white); font-weight: 700; font-size: 1.15rem; }
.main-col { min-width: 0; }

/* indigo bands */
.band { padding: 52px clamp(20px, 4vw, 56px); background: var(--indigo) url("assets/motif-gems.svg") 0 0 / 40px 40px; color: var(--white); }
.band h1 { color: var(--white); }
.band .lede { color: #dfe4ff; font-size: 1.16rem; max-width: 36em; }
.band.with-art { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.band-art { border-radius: var(--r); overflow: hidden; box-shadow: 0 18px 40px rgba(10, 14, 40, 0.35); }
.hero-art { width: 100%; }
.label { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 10px; background: rgba(255, 255, 255, 0.16); color: var(--white); font-size: 0.8rem; }
.label.dark { background: var(--ice); color: var(--indigo-d); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 12px; font-weight: 700; text-decoration: none; }
.btn.white { background: var(--white); color: var(--indigo-d); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); }
.btn.white:hover { background: var(--ice); }
.btn.ghost { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.26); }
.btn.solid { background: var(--indigo); color: var(--white); box-shadow: 0 8px 20px rgba(61, 79, 209, 0.35); }
.btn.solid:hover { background: var(--night); }
.btn.soft { background: var(--ice); color: var(--indigo-d); }
.btn.soft:hover { background: #dfe5ff; }

/* asymmetric offset grid */
.offset { display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px; padding: 48px clamp(20px, 4vw, 56px) 64px; max-width: 1160px; }
.blk.a { grid-column: 1 / span 7; }
.blk.b { grid-column: 8 / span 5; margin-top: 64px; }
.blk.c { grid-column: 3 / span 8; }
.blk.wide { grid-column: 1 / -1; }
.card { padding: 26px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cat-list a { display: grid; grid-template-columns: 52px 48px 1fr auto; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow); color: var(--night); text-decoration: none; }
.cat-list a:hover { background: var(--ice); }
.cat-list .n { font-size: 1.9rem; font-weight: 700; color: var(--indigo); line-height: 1; }
.cat-list img { width: 44px; height: 44px; }
.cn { font-weight: 700; font-size: 1.12rem; }
.cc { font-size: 0.8rem; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 26px; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 12px; background: var(--teal); transform: rotate(45deg); border-radius: 2px; }
.ticks strong { color: var(--night); }
.card p { color: var(--muted); }
.amount { font-size: 2.2rem; font-weight: 700; color: var(--indigo) !important; line-height: 1; }

/* numbered catalog */
.jump { list-style: none; margin: 0; padding: 26px clamp(20px, 4vw, 56px) 0; display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { display: block; padding: 6px 14px; border-radius: 10px; background: var(--ice); color: var(--indigo-d); font-weight: 700; text-decoration: none; font-size: 0.92rem; }
.jump a:hover { background: var(--indigo); color: var(--white); }
.cat { padding: 40px clamp(20px, 4vw, 56px) 8px; max-width: 1080px; scroll-margin-top: 10px; }
.cat.shift { margin-left: clamp(0px, 6vw, 90px); }
.cat-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-bottom: 18px; }
.cat-head img { width: 54px; height: 54px; }
.cat-head h2 { margin: 0; }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.numbered .card { position: relative; padding: 22px 22px 20px 92px; }
.big-n { position: absolute; left: 20px; top: 16px; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--indigo); }
.numbered h3 { margin: 0 0 4px; }
.numbered .d { margin: 0 0 10px; }
.price { display: inline-block; margin: 0; padding: 3px 12px; border-radius: 10px; background: var(--ice); color: var(--indigo-d) !important; font-weight: 700; }
.call { display: block; margin-top: 6px; font-weight: 700; }
.feature-band { margin-top: 40px; padding: 48px clamp(20px, 4vw, 56px); background: var(--indigo) url("assets/motif-gems.svg") 0 0 / 40px 40px; color: var(--white); scroll-margin-top: 10px; }
.feature-band h2 { color: var(--white); }
.feature-band .numbered { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
.feature-band .card { color: var(--night); }
.feature-band .big-n { color: var(--violet); }

/* about + contact */
.story p { color: var(--muted); }
.story p.first { color: var(--night); font-size: 1.3rem; line-height: 1.5; }
.facts { margin: 0; }
.facts div { padding: 10px 0; border-bottom: 1px solid var(--ice); }
.facts dt { font-size: 0.78rem; color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.hours { width: 100%; border-collapse: collapse; }
.hours caption { text-align: left; font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.hours thead th { text-align: left; padding: 8px 10px 8px 0; font-weight: 400; font-size: 0.8rem; color: var(--muted); border-bottom: 2px solid var(--indigo); }
.hours tbody th, .hours tbody td { text-align: left; padding: 12px 10px 12px 0; border-bottom: 1px solid var(--ice); }
.hours td { white-space: nowrap; }
.map-frame { display: block; width: 100%; height: 400px; border: 0; border-radius: var(--r); background: var(--ice); box-shadow: var(--shadow); }
.map-link { margin: 14px 0 0; }

/* footer */
.site-footer { background: var(--night); color: #c3c9ea; padding: 34px clamp(20px, 4vw, 56px) 22px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #9fb0ff; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; }
.footer-name { font-weight: 700; font-size: 1.4rem; color: var(--white); margin-bottom: 4px; }
.site-footer address { margin-bottom: 6px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-bottom { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid #262e5c; font-size: 0.8rem; }

@media (max-width: 1100px) {
  .numbered, .feature-band .numbered { grid-template-columns: 1fr; }
  .cat.shift { margin-left: 0; }
}
@media (max-width: 960px) {
  .shell { display: block; background: none; }
  .rail { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 20px; }
  .brand { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
  .brand img { width: 56px; height: 56px; margin: 0; }
  .rail-nav { flex-basis: 100%; }
  .rail-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
  .rail-nav a { padding: 6px 10px; font-size: 0.92rem; }
  .rail-foot { display: none; }
  .band.with-art { grid-template-columns: 1fr; }
  .offset { grid-template-columns: 1fr; }
  .blk.a, .blk.b, .blk.c, .blk.wide { grid-column: 1; }
  .blk.b { margin-top: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .rail-nav a { padding: 6px 8px; font-size: 0.86rem; }
  .cat-list a { grid-template-columns: 36px 36px 1fr; gap: 10px; padding: 10px 12px; }
  .cat-list .n { font-size: 1.4rem; }
  .cat-list img { width: 34px; height: 34px; }
  .cat-list .cc { display: none; }
  .numbered .card { padding: 18px 18px 18px 70px; }
  .big-n { font-size: 2rem; left: 16px; }
  .hours td { white-space: normal; }
  .map-frame { height: 300px; }
}
