@font-face {
  font-family: "Gentium Basic";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/gentium-basic-400.ttf") format("truetype");
}

@font-face {
  font-family: "Gentium Basic";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/gentium-basic-700.ttf") format("truetype");
}

@font-face {
  font-family: "Maven Pro";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/maven-pro-400.ttf") format("truetype");
}

@font-face {
  font-family: "Maven Pro";
  font-style: normal;
  font-weight: 700;
  src: url("assets/fonts/maven-pro-700.ttf") format("truetype");
}

@font-face {
  font-family: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/BebasNeue-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Bungee";
  font-style: normal;
  font-weight: 400;
  src: url("assets/fonts/Bungee-Regular.ttf") format("truetype");
}

:root {
  --navy: #071128;
  --navy-2: #101a35;
  --red: #e21a0c;
  --red-dark: #b51309;
  --ink: #141c2d;
  --text: #566071;
  --muted: #8b93a1;
  --line: #dfe5ee;
  --paper: #ffffff;
  --wash: #f6f8fb;
  --panel: rgba(255, 255, 255, 0.88);
  --shadow: 0 24px 70px rgba(7, 17, 40, 0.12);
  --small-shadow: 0 14px 34px rgba(7, 17, 40, 0.08);
  --content: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(246, 248, 251, 0.96), rgba(255, 255, 255, 0.98) 430px),
    var(--wash) url("assets/circuit-bg.png") center top repeat-y;
  color: var(--text);
  font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: var(--red-dark);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(226, 26, 12, 0.26);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 10px max(20px, calc((100vw - var(--content)) / 2));
  border-bottom: 1px solid rgba(223, 229, 238, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 30px rgba(7, 17, 40, 0.06);
  backdrop-filter: blur(16px);
}

.brand-hero {
  display: flex;
  align-items: center;
  width: fit-content;
  min-height: 0;
  padding: 0;
}

.brand-hero img {
  width: min(220px, 28vw);
  max-height: 76px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px clamp(12px, 2vw, 28px);
  min-width: 0;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 2px solid transparent;
  color: var(--navy);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav a[aria-current="page"],
.site-nav a:hover,
.site-nav a:focus {
  color: var(--red);
  border-bottom-color: var(--red);
}

.page {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(30px, 4vw, 48px) 0 82px;
}

.page-title {
  margin: 0 0 30px;
  color: var(--navy);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

h1,
h2 {
  font-family: "Maven Pro", Arial, sans-serif;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

h2 {
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1.02;
}

h3 {
  font-family: "Gentium Basic", Georgia, serif;
  font-size: clamp(24px, 3vw, 30px);
  letter-spacing: 0;
  line-height: 1.18;
}

p {
  margin: 0 0 18px;
}

.eyebrow,
.panel-kicker,
.role,
.label {
  margin: 0 0 14px;
  color: var(--red);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.2;
  text-transform: uppercase;
}

.lead {
  max-width: 740px;
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.intro-row,
.profile-row,
.project-hero,
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.intro-row {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: clamp(34px, 5vw, 56px);
  padding: 0 0 clamp(24px, 4vw, 42px);
}

.hero-copy {
  max-width: 780px;
}

.action-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.button,
.donate {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--navy);
  border-radius: 6px;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button.primary,
.donate {
  background: var(--navy);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
}

.button:hover,
.button:focus,
.donate:hover,
.donate:focus {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.donation-form {
  margin: 0;
}

.donation-form.inline {
  margin-top: 20px;
}

.signal-panel,
.project-summary,
.project-hero,
.map-callout,
.map-stats,
.map-card,
.contact-box,
.notice,
.feature-list:not(.agency-list),
.steps,
.gallery img {
  border: 1px solid rgba(223, 229, 238, 0.95);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--small-shadow);
  backdrop-filter: blur(10px);
}

.signal-panel {
  position: relative;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  padding: clamp(24px, 3vw, 32px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(66, 103, 171, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(7, 17, 40, 0.98), rgba(26, 43, 78, 0.94)),
    var(--navy);
  color: #d9deea;
}

.signal-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/circuit-bg.png") center / 620px auto repeat;
  opacity: 0.08;
}

.signal-panel > * {
  position: relative;
}

.signal-panel .panel-kicker {
  margin-bottom: 12px;
  color: var(--red);
}

.signal-panel .panel-kicker::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 12px;
  background: var(--red);
}

.signal-panel h2 {
  max-width: 380px;
  margin-bottom: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: #fff;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.14;
}

.capability-grid,
.feature-list,
.agency-list,
.steps {
  margin: 0;
  padding-left: 22px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  color: #f3f5f9;
}

.capability-grid li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  padding: 15px 14px 15px 0;
}

.capability-grid li:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.capability-grid li:nth-child(even) {
  padding-left: 14px;
}

.capability-grid li:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.capability-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(60, 96, 168, 0.98), rgba(36, 67, 130, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px rgba(0, 0, 0, 0.2);
}

.capability-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.capability-grid strong {
  display: block;
  margin: 0 0 5px;
  color: #fff;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.22;
}

.capability-grid span span {
  display: block;
  color: #c7cfdf;
  font-size: 12px;
  line-height: 1.4;
}

.section {
  margin-top: clamp(52px, 9vw, 96px);
}

.section-block {
  margin-top: 0;
}

.home-projects {
  margin-top: 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.split-heading {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.heading-link {
  flex: 0 0 auto;
  margin-bottom: 4px;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project-summary {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 20px;
  padding: 22px;
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.project-summary:hover {
  border-color: rgba(226, 26, 12, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.project-summary img {
  width: 100%;
  height: 180px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.project-summary h2,
.project-summary h3 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.15;
  margin-bottom: 10px;
  overflow-wrap: break-word;
  word-break: normal;
}

.project-summary p {
  color: var(--text);
}

.repo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.repo-card {
  display: flex;
  min-height: 220px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid rgba(223, 229, 238, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--small-shadow);
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.repo-card:hover {
  border-color: rgba(226, 26, 12, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.repo-card h3 {
  margin-bottom: 10px;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
}

.repo-card p {
  color: var(--text);
}

.repo-meta {
  margin: 0 0 12px;
  color: var(--red);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  line-height: 1.2;
  text-transform: uppercase;
}

.read-more,
.social-links a,
.site-footer a {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 8px 0 3px;
  border-bottom: 1px solid currentColor;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
}

.profile-row {
  padding-top: clamp(56px, 9vw, 104px);
  border-top: 1px solid var(--line);
}

.profile-row h1 {
  font-size: clamp(36px, 5vw, 60px);
}

.profile-row img {
  width: min(100%, 380px);
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.project-hero {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
}

.project-hero p:first-of-type {
  margin-top: 18px;
}

.app-icon {
  width: 94px;
  margin-bottom: 24px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.screen-pair,
.screen-grid {
  display: grid;
  gap: 14px;
  align-items: end;
}

.screen-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.screen-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.screen {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.app-store {
  width: 156px;
}

.mobcon {
  width: 136px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.map-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 24px;
}

.map-callout h3 {
  margin-bottom: 8px;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.05;
}

.map-callout p:not(.eyebrow) {
  margin-bottom: 0;
}

.maps-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: clamp(28px, 5vw, 60px);
  align-items: end;
  margin-bottom: clamp(42px, 7vw, 72px);
}

.maps-hero .page-title {
  margin-bottom: 20px;
}

.map-stats {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 12px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.82);
}

.map-stats strong {
  color: var(--navy);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
}

.map-stats span {
  align-self: center;
  color: var(--red);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-sections {
  display: grid;
  gap: clamp(34px, 6vw, 58px);
}

.map-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.metro-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.metro-head h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.count {
  flex: 0 0 auto;
  color: var(--red);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  line-height: 1.2;
  text-transform: uppercase;
}

.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.map-card {
  display: grid;
  grid-template-rows: 170px auto;
  overflow: hidden;
  color: var(--ink);
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.map-card:hover,
.map-card:focus {
  border-color: rgba(226, 26, 12, 0.38);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.map-thumb {
  display: block;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.map-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
}

.map-card-content {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
}

.map-type {
  color: var(--navy);
  font-family: "Gentium Basic", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
}

.map-file {
  color: var(--muted);
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.feature-list,
.steps {
  display: grid;
  gap: 9px;
  padding: 22px 24px 22px 44px;
}

.agency-list {
  columns: 3;
  column-gap: 38px;
  padding: 24px 24px 24px 42px;
  border: 1px solid rgba(223, 229, 238, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--small-shadow);
  font-size: 13px;
  line-height: 1.55;
}

.agency-list li,
.feature-list li,
.steps li {
  margin: 5px 0;
}

.notice {
  margin: 22px 0 28px;
  padding: 24px;
  border-left: 5px solid var(--red);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0 0;
}

.gallery img {
  width: 100%;
  padding: 10px;
  object-fit: contain;
}

.contact-box {
  max-width: 720px;
  padding: clamp(28px, 5vw, 48px);
}

.contact-box .page-title {
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.site-footer {
  width: min(var(--content), calc(100% - 40px));
  margin: 0 auto;
  padding: 30px 0 54px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

@media (max-width: 1040px) {
  header {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand-hero img {
    width: 220px;
  }

  .site-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 900px) {
  .intro-row,
  .profile-row,
  .project-hero,
  .two-column {
    grid-template-columns: 1fr;
  }

  .intro-row {
    min-height: auto;
    padding-top: 46px;
  }

  .signal-panel {
    min-height: auto;
  }

  .capability-grid {
    grid-template-columns: 1fr;
  }

  .capability-grid li,
  .capability-grid li:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
  }

  .capability-grid li:nth-child(odd) {
    border-right: 0;
  }

  .capability-grid li:nth-child(-n + 3) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  }

  .project-list,
  .repo-grid,
  .maps-hero,
  .gallery {
    grid-template-columns: 1fr;
  }

  .maps-hero {
    align-items: start;
  }

  .map-stats {
    max-width: 320px;
  }

  .split-heading {
    display: block;
  }

  .profile-row img {
    justify-self: start;
  }

  .agency-list {
    columns: 2;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  header {
    position: static;
    padding-right: 14px;
    padding-left: 14px;
  }

  .brand-hero img {
    width: 190px;
  }

  .site-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px 10px;
  }

  .site-nav a {
    min-height: 30px;
    justify-content: center;
    font-size: 11px;
    text-align: center;
    white-space: normal;
  }

  .page,
  .site-footer {
    width: min(100% - 28px, var(--content));
  }

  .page {
    padding: 36px 0 66px;
  }

  .page-title,
  h1 {
    font-size: clamp(36px, 13vw, 58px);
  }

  h2 {
    font-size: clamp(28px, 9vw, 42px);
  }

  .lead {
    font-size: 17px;
  }

  .action-row,
  .button-row {
    align-items: stretch;
  }

  .map-callout,
  .metro-head {
    display: block;
  }

  .map-callout .read-more {
    margin-top: 16px;
  }

  .count {
    display: inline-flex;
    margin-top: 10px;
  }

  .button,
  .donate {
    width: 100%;
  }

  .project-summary,
  .project-hero,
  .contact-box,
  .signal-panel {
    padding: 20px;
  }

  .signal-panel h2 {
    margin-bottom: 18px;
    padding-bottom: 20px;
  }

  .capability-grid li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .capability-icon {
    width: 48px;
    height: 48px;
  }

  .capability-icon svg {
    width: 26px;
    height: 26px;
  }

  .project-summary img {
    height: 160px;
  }

  .map-grid {
    grid-template-columns: 1fr;
  }

  .map-card {
    grid-template-rows: 150px auto;
  }

  .screen-grid,
  .screen-pair {
    grid-template-columns: 1fr;
  }

  .screen-grid img,
  .screen-pair img {
    max-width: 280px;
    margin: 0 auto;
  }

  .agency-list {
    columns: 1;
  }
}

/* ==========================================================================
   RinkMaster Full Dark Arcade Theme (rinkmaster.html)
   ========================================================================== */

body.rink-page {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(123, 44, 191, 0.28), transparent 45%),
    radial-gradient(ellipse at 15% 35%, rgba(46, 196, 182, 0.16), transparent 45%),
    radial-gradient(ellipse at 85% 75%, rgba(255, 79, 147, 0.14), transparent 45%),
    radial-gradient(ellipse at 30% 95%, rgba(255, 176, 66, 0.12), transparent 45%),
    linear-gradient(180deg, #04030a 0%, #0c0618 45%, #160610 100%);
  color: #c9c3e2;
}

.rink-page header {
  border-bottom: 1px solid rgba(46, 196, 182, 0.35);
  background: rgba(4, 3, 10, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(46, 196, 182, 0.12);
  backdrop-filter: blur(16px);
}

.rink-page .brand-hero img {
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.85)) drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.rink-page .site-nav a {
  color: #c9c3e2;
}

.rink-page .site-nav a[aria-current="page"],
.rink-page .site-nav a:hover,
.rink-page .site-nav a:focus {
  color: #2ec4b6;
  border-bottom-color: #2ec4b6;
  text-shadow: 0 0 10px rgba(46, 196, 182, 0.6);
}

.rink-page .page-title {
  display: inline-block;
  color: #ffffff;
  font-family: "Bungee", "Maven Pro", sans-serif;
  font-size: clamp(38px, 6vw, 68px);
  letter-spacing: 1px;
  line-height: 1;
  text-shadow:
    0 0 20px rgba(46, 196, 182, 0.6),
    0 0 40px rgba(123, 44, 191, 0.4);
}

.rink-spectrum-bar {
  display: block;
  height: 4px;
  width: 100%;
  margin-bottom: 28px;
  border-radius: 2px;
  background: linear-gradient(90deg, #e5242b 0%, #ffb042 20%, #2ec4b6 40%, #ff4f93 60%, #7b2cbf 80%, #5078ff 100%);
  box-shadow: 0 0 12px rgba(46, 196, 182, 0.4);
}

.rink-page h1,
.rink-page h2,
.rink-page h3 {
  color: #ffffff;
}

.rink-page h2 {
  font-size: clamp(26px, 3.5vw, 42px);
}

.rink-page h3 {
  color: #ffffff;
  font-family: "Bebas Neue", "Maven Pro", sans-serif;
  font-size: clamp(28px, 3.5vw, 36px);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rink-page p {
  color: #b7b0d6;
}

.rink-page .eyebrow,
.rink-page .panel-kicker {
  color: #2ec4b6;
  text-shadow: 0 0 10px rgba(46, 196, 182, 0.4);
}

.rink-page .project-hero {
  border: 1px solid rgba(46, 196, 182, 0.35);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(123, 44, 191, 0.28), transparent 50%),
    linear-gradient(145deg, #070514 0%, #0e0824 50%, #1a081c 100%);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6), 0 0 35px rgba(46, 196, 182, 0.1);
  padding: clamp(24px, 4vw, 40px);
}

.rink-page .project-hero .app-icon {
  width: 76px;
  height: 76px;
  border-radius: 16px;
  border: 2px solid #2ec4b6;
  box-shadow: 0 0 25px rgba(46, 196, 182, 0.4);
  margin-bottom: 20px;
}

.rink-page .project-hero h2 {
  color: #ffb042;
  margin-bottom: 16px;
  text-shadow: 0 0 15px rgba(255, 176, 66, 0.25);
}

.rink-page .project-hero .screen {
  border: 1px solid rgba(46, 196, 182, 0.45);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(123, 44, 191, 0.35);
}

.rink-page .feature-list {
  border: 1px solid rgba(150, 130, 190, 0.22);
  border-radius: 10px;
  background: rgba(12, 6, 24, 0.65);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  padding: clamp(22px, 3.5vw, 34px) clamp(24px, 3.5vw, 36px) clamp(22px, 3.5vw, 34px) clamp(38px, 4.5vw, 54px);
  color: #b7b0d6;
}

.rink-page .feature-list li {
  margin-bottom: 14px;
}

.rink-page .feature-list li strong {
  color: #2ec4b6;
  font-family: "Maven Pro", Arial, sans-serif;
  letter-spacing: 0.3px;
}

.rink-page .feature-list li::marker {
  color: #ff4f93;
}

.rink-page .gallery .screen {
  border: 1px solid rgba(46, 196, 182, 0.35);
  border-radius: 8px;
  background: #000;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.7);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.rink-page .gallery .screen:hover {
  transform: translateY(-3px);
  border-color: #ffb042;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 176, 66, 0.3);
}

.rink-page .gallery figcaption {
  color: #9682be !important;
  font-family: "Maven Pro", Arial, sans-serif;
  font-size: 13px !important;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.rink-page .button.primary {
  background: #2ec4b6;
  border-color: #2ec4b6;
  color: #04030a;
  box-shadow: 0 0 15px rgba(46, 196, 182, 0.35);
}

.rink-page .button.primary:hover,
.rink-page .button.primary:focus {
  background: #ffb042;
  border-color: #ffb042;
  color: #04030a;
  box-shadow: 0 0 22px rgba(255, 176, 66, 0.5);
  transform: translateY(-2px);
}

.rink-page .button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(150, 130, 190, 0.45);
  color: #e4e0f5;
}

.rink-page .button.secondary:hover,
.rink-page .button.secondary:focus {
  background: rgba(255, 79, 147, 0.12);
  border-color: #ff4f93;
  color: #ff4f93;
  box-shadow: 0 0 15px rgba(255, 79, 147, 0.3);
  transform: translateY(-2px);
}

.rink-page .action-row a {
  text-decoration: none;
}

/* Architecture & Telemetry Grid on Rink page */
.rink-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

@media (max-width: 860px) {
  .rink-telemetry-grid {
    grid-template-columns: 1fr;
  }
}

.rink-telemetry-card {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(150, 130, 190, 0.22);
  background: rgba(12, 6, 24, 0.65);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.rink-telemetry-card .card-kicker {
  font-family: "Bebas Neue", "Maven Pro", sans-serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: #ffb042;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.rink-telemetry-card h4 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 18px;
  font-family: "Maven Pro", Arial, sans-serif;
}

.rink-telemetry-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #9682be;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* ---- Screenshot lightbox (task #12) ---- */
img.lb-thumb { cursor: zoom-in; }
img.lb-thumb:focus-visible { outline: 2px solid #8ee0c0; outline-offset: 3px; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lb {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 12px; background: rgba(5, 8, 10, 0.92);
  animation: lb-fade 0.18s ease;
}
.lb[hidden] { display: none; }
.lb-img {
  max-width: 95vw; max-height: 84vh; width: auto; height: auto;
  object-fit: contain; cursor: zoom-out; border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}
.lb-cap { margin: 0; max-width: 90vw; text-align: center; color: #d8e0e4; font-size: 0.95rem; }
.lb-btn {
  position: absolute; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35); background: rgba(20, 26, 30, 0.85);
  color: #fff; font-size: 28px; line-height: 1; cursor: pointer;
}
.lb-btn:hover, .lb-btn:focus-visible { background: #2a3a36; outline: 2px solid #8ee0c0; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lb { animation: none; } }
@media (max-width: 600px) {
  .lb-img { max-width: 100vw; max-height: 80vh; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
}
