:root {
  color-scheme: light;
  --paper: #f5f7fa;
  --ink: #1c2738;
  --muted: #586477;
  --accent: #2459ca;
  --line: #d8dfe8;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.skip-link { position: absolute; left: 1rem; top: -6rem; z-index: 2; padding: .8rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }
.hub { width: min(100% - 5rem, 72rem); margin-inline: auto; }
.hub-header { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.5rem; border-bottom: 1px solid var(--line); }
.hub-brand { display: flex; align-items: center; gap: .75rem; font-size: 1.3rem; font-weight: 650; letter-spacing: -.035em; }
.hub-monogram { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; color: #fff; background: var(--ink); border-radius: .35rem; font-size: .9rem; letter-spacing: -.04em; }
.hub-nav { display: flex; gap: 1.5rem; font-size: .95rem; font-weight: 600; }
.hub-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.hub-nav a:hover { color: var(--accent); }
.hub-intro { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 3rem; padding-block: clamp(2.4rem, 5vw, 4.4rem); }
.hub-intro h1 { margin: 0; font-size: clamp(2.9rem, 5.5vw, 4.8rem); font-weight: 550; line-height: 1.02; letter-spacing: -.065em; }
.hub-intro h1 span { display: block; color: var(--accent); }
.hub-intro p { max-width: 32ch; margin: 0 0 .2rem; color: var(--muted); font-size: 1.2rem; line-height: 1.5; }
.hub-section { margin-bottom: 2.5rem; }
.section-heading { display: flex; align-items: center; gap: 1.2rem; margin: 0 0 1rem; font-size: 1rem; font-weight: 600; color: var(--muted); }
.section-heading::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.routes, .projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.route {
  --route-accent: var(--accent);
  --route-wash: #eef3ff;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 12rem;
  padding: 1.4rem 1.6rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--route-accent);
  border-radius: .45rem;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease;
}
.route-consulting { --route-accent: #9c4b32; --route-wash: #f8f4ef; }
.route-games { --route-accent: #7251b5; --route-wash: #f5f1fc; }
.route-events { --route-accent: #286bb2; --route-wash: #edf5fc; }
.route-email { --route-accent: #78802c; --route-wash: #f5f7e9; }
.route h3 { margin: 0; max-width: 26ch; font-size: 1.45rem; line-height: 1.22; font-weight: 650; letter-spacing: -.025em; }
.route-consulting h3 { padding-right: 3.25rem; }
.route-logo { position: absolute; width: 3.25rem; height: 3.75rem; object-fit: contain; right: 1.4rem; top: 1.35rem; }
.route p { margin: .6rem 0 1.2rem; max-width: 43ch; color: var(--muted); font-size: 1rem; line-height: 1.45; }
.route-action { display: inline-block; margin-top: auto; padding-block: .35rem; color: var(--route-accent); font-size: .95rem; line-height: 1.4; font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.project { min-width: 0; display: flex; flex-direction: column; min-height: 13rem; padding: 1.5rem 1.6rem; border-radius: .45rem; text-decoration: none; border: 1px solid transparent; transition: border-color 160ms ease; }
.project-heading { display: flex; align-items: center; gap: 1rem; }
.project h3 { margin: 0; font-size: 1.8rem; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.project p { margin: .8rem 0 1.1rem; font-size: 1rem; line-height: 1.45; }
.project .route-action { color: inherit; }
.project-dark { background: #000; color: #f4f5eb; }
.project-dark p { color: #c9c6bd; }
.project .project-title-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.project-cover { display: block; width: min(100%, 19rem); height: auto; }
.project-logo { display: block; width: 5.25rem; height: 5.25rem; object-fit: contain; margin-block: -.6rem; margin-left: -.3rem; }
.project-fera { background: #e9e6f5; color: #342c57; }
.project-logo-fera { flex: 0 0 auto; margin: 0; }
.project-fera p { color: #57506e; }
.project-caption { margin: .2rem 0 0; font-size: .9rem; line-height: 1.4; color: #61597b; }
.hub-community { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.3rem 0 2rem; }
.hub-community p { margin: 0; font-size: 1.1rem; font-weight: 600; }
.hub-community a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--accent); font-size: 1rem; font-weight: 600; }
.hub-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.5rem; padding-block: 1.35rem 1.6rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem; line-height: 1.5; }
.hub-footer a { text-decoration-color: #9aa5b7; }
@media (hover: hover) {
  .route:hover { border-color: var(--route-accent); background: var(--route-wash); }
  .project-dark:hover { border-color: #adc7b5; }
  .project-fera:hover { border-color: #8472b8; }
  .hub-footer a:hover { color: var(--accent); }
}
@media (max-width: 64rem) {
  .hub { width: calc(100% - 3rem); }
  .hub-intro { gap: 2rem; }
  .hub-intro p { font-size: 1.1rem; }
  .route, .project { padding-inline: 1.25rem; }
  .route h3 { font-size: 1.3rem; }
  .route-logo { right: 1rem; }
}
@media (max-width: 43rem) {
  .hub { width: calc(100% - 2rem); }
  .hub-header { padding-block: .8rem; gap: .75rem; }
  .hub-brand { font-size: 1.1rem; gap: .5rem; }
  .hub-monogram { width: 2rem; height: 2rem; font-size: .8rem; }
  .hub-nav { gap: .9rem; font-size: .875rem; }
  .hub-intro { display: block; padding-block: 2rem; }
  .hub-intro h1 { font-size: clamp(2.5rem, 11vw, 3.5rem); }
  .hub-intro p { margin-top: 1rem; font-size: 1rem; }
  .hub-section { margin-bottom: 2rem; }
  .routes, .projects { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .route { min-height: 0; padding: 1.1rem 1.2rem; }
  .route h3 { font-size: 1.25rem; }
  .route p { margin-block: .55rem .65rem; }
  .route-action { font-size: .95rem; }
  .route-logo { width: 2.65rem; height: 3.2rem; top: 1rem; right: 1rem; }
  .project { min-height: 0; padding: 1.2rem; }
  .project h3 { font-size: 1.6rem; }
  .project-logo { width: 4.5rem; height: 4.5rem; }
  .hub-footer { justify-content: flex-start; }
}
@media (max-width: 23rem) {
  .hub-header { flex-wrap: wrap; gap: .3rem 1rem; }
  .hub-nav { margin-left: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .route, .project { transition: none; }
}
