/* Presentation hub for the three website concept prototypes. Static, self-contained. */

:root {
  --paper: #fbf9f4;
  --ink: #1b1b1b;
  --muted: #4a4a4a;
  --rule: #d9d4c7;
  --card: #ffffff;
  --link: #1f5fbf;
  --link-hover: #174a94;
  --banner-bg: #b23f17;
  --banner-ink: #ffffff;
  --focus: #1f2a44;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #14161c;
    --ink: #f2f2f2;
    --muted: #c9c9c9;
    --rule: #3a3f4b;
    --card: #1e222b;
    --link: #8fb8ff;
    --link-hover: #c2d9ff;
    --banner-bg: #ffc531;
    --banner-ink: #1b1b1b;
    --focus: #ffc531;
  }
}

:root[data-theme="dark"] {
  --paper: #14161c;
  --ink: #f2f2f2;
  --muted: #c9c9c9;
  --rule: #3a3f4b;
  --card: #1e222b;
  --link: #8fb8ff;
  --link-hover: #c2d9ff;
  --banner-bg: #ffc531;
  --banner-ink: #1b1b1b;
  --focus: #ffc531;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
}

a {
  color: var(--link);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--link-hover);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--focus);
  border-radius: 4px;
}

.skip-link:focus {
  top: 1rem;
}

.banner {
  background: var(--banner-bg);
  color: var(--banner-ink);
  font-weight: 700;
  text-align: center;
  padding: 0.75rem 1rem;
  letter-spacing: 0.02em;
}

.hub-header,
main,
.hub-footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hub-header {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

h1 {
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

h2 {
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
}

.subtitle {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.notice {
  color: var(--muted);
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.concept-card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.idea,
.audience {
  margin: 0;
}

.audience {
  color: var(--muted);
}

.swatches {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}

.swatches li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chip {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 4px;
  border: 1px solid var(--rule);
}

.chip-a-navy { background: #1f2a44; }
.chip-a-coral { background: #b8412f; }
.chip-b-sunshine { background: #ffc531; }
.chip-b-teal { background: #0b7a6e; }
.chip-b-orange { background: #b23f17; }
.chip-c-slate { background: #4b5563; }
.chip-c-blue { background: #1f5fbf; }

.shot {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper);
}

.links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
}

.links li:last-child {
  grid-column: 1 / -1;
  border-top: 1px dashed var(--rule);
  padding-top: 0.35rem;
}

.comparison p {
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

caption {
  text-align: left;
  padding: 0.75rem 1rem 0;
  color: var(--muted);
}

th,
td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--rule);
  width: 25%;
}

thead th {
  font-size: 0.95rem;
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: none;
}

.hub-footer {
  margin-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.hub-footer h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.doc-links {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

@media (min-width: 700px) {
  .doc-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 599px) {
  .links {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 0.15s ease;
  }
}

/* Featured 3D site card (added for the live hub, 2026-12-04) */
.feature {
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .feature .concept-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 1.5rem;
    align-items: center;
  }
}

.feature .cta {
  display: inline-block;
  margin-top: 0.5rem;
  font-weight: 600;
}
