:root {
  --ink: #1a1612;
  --muted: #5c534a;
  --paper: #f3eee6;
  --accent: #0f5c4c;
  --accent-deep: #0a4036;
  --glow: rgba(243, 238, 230, 0.92);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Sora", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  background: #1a1612;
}

.hub {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  padding-bottom: 1.5rem;
  overflow: hidden;
}

.hub-atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hub-atmosphere img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(0.85) contrast(1.05);
}

.hub-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(26, 22, 18, 0.55) 0%, rgba(26, 22, 18, 0.28) 35%, rgba(26, 22, 18, 0.72) 100%),
    linear-gradient(90deg, rgba(26, 22, 18, 0.35) 0%, transparent 40%, transparent 60%, rgba(26, 22, 18, 0.35) 100%);
}

.hub-hero,
.hub-paths,
.hub-foot {
  position: relative;
  z-index: 1;
}

.hub-hero {
  max-width: 40rem;
  margin: clamp(1rem, 6vh, 4rem) auto 0;
  text-align: center;
  color: #f7f2ea;
  animation: hub-rise 0.7s ease-out both;
}

.hub-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hub-brand span {
  font-weight: 500;
  opacity: 0.88;
}

.hub-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d8cfc2;
}

.hub-lead {
  margin: 0 auto;
  max-width: 28rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: #c9bfb2;
}

.hub-paths {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  align-content: center;
  /* ~half of the previous 1100px card strip */
  max-width: 560px;
  width: 100%;
  margin: clamp(1.5rem, 5vh, 3rem) auto 0;
  animation: hub-rise 0.85s ease-out 0.12s both;
}

.hub-path {
  display: grid;
  grid-template-rows: auto 1fr;
  text-decoration: none;
  color: inherit;
  background: var(--glow);
  border: 1px solid rgba(255, 253, 248, 0.35);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hub-path:hover,
.hub-path:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
  outline: none;
}

.hub-path:focus-visible {
  box-shadow:
    0 0 0 2px var(--accent),
    0 24px 56px rgba(0, 0, 0, 0.38);
}

.hub-figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #2a2420;
}

.hub-figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.hub-path:hover .hub-figure img,
.hub-path:focus-visible .hub-figure img,
.hub-path-wrap:hover .hub-figure img,
.hub-path-wrap:focus-within .hub-figure img {
  transform: scale(1.04);
}

.hub-path-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  color: inherit;
}

.hub-path-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  text-decoration: none;
  color: inherit;
}

.hub-copy {
  padding: 0.55rem 0.65rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex: 1;
}

.hub-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;
  padding: 0 0.65rem 0.7rem;
}

.hub-copy h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.hub-info-btn {
  appearance: none;
  flex: 0 0 auto;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid rgba(92, 74, 50, 0.35);
  border-radius: 999px;
  background: #fff;
  color: #6b5a3e;
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.hub-info-btn:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.hub-info-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.hub-tag {
  margin: 0;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.hub-copy > p:not(.hub-tag) {
  margin: 0.2rem 0 0.4rem;
  font-size: 0.68rem;
  line-height: 1.35;
  color: var(--muted);
  flex: 1;
}

.hub-go {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.hub-path:hover .hub-go,
.hub-path:focus-visible .hub-go,
.hub-path-wrap:hover .hub-go {
  background: var(--accent-deep);
}

.hub-path--lite .hub-tag {
  color: #6b5a3e;
}

.hub-path--lite .hub-go {
  background: #5c4a32;
}

.hub-path--lite:hover .hub-go,
.hub-path--lite:focus-visible .hub-go,
.hub-path-wrap.hub-path--lite:hover .hub-go {
  background: #3f3323;
}

.hub-foot {
  margin-top: auto;
  padding-top: 1.5rem;
  text-align: center;
  color: #b5aa9c;
  font-size: 0.78rem;
  animation: hub-rise 1s ease-out 0.22s both;
}

.hub-foot p {
  margin: 0.25rem 0;
}

.hub-legal a {
  color: inherit;
  text-underline-offset: 2px;
}

@keyframes hub-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 780px) {
  .hub-paths {
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .hub-hero {
    margin-top: 0.5rem;
  }
}
