/* Brand fonts from the Red Country Management style guide (2026): Oswald Semi Bold for headings,
   Archivo Narrow Medium and Bold for everything else. */
@font-face {
  font-family: "Oswald";
  src: url("fonts/oswald-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo-narrow-500.woff2") format("woff2");
  font-weight: 400 500;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Narrow";
  src: url("fonts/archivo-narrow-700.woff2") format("woff2");
  font-weight: 600 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --rcm-red: #a12e0d;
  --rcm-gold: #f78f1c;
  --rcm-blue: #031f3b;
  --rcm-light-blue: #828f9c;
  --night: var(--rcm-blue);
  --paper: #fbf9f6;
  --sand: #f3eee7;
  --ink: var(--rcm-blue);
  --ink-soft: #3c4c5f;
  --line: #e0dbd3;
  --ochre: var(--rcm-red);
  --link: var(--rcm-red);
  --earth: var(--rcm-red);
  --earth-deep: #7a220a;
  --gold: var(--rcm-gold);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(3, 31, 59, 0.06), 0 12px 32px -12px rgba(3, 31, 59, 0.24);
  --display: "Oswald", "Arial Narrow", "Segoe UI", sans-serif;
  --body: "Archivo Narrow", "Arial Narrow", "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  font-size: 1.1875rem;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

.nowrap {
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

.eyebrow {
  font-family: var(--body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding-block: 22px;
}
.site-header.solid {
  position: relative;
  background: var(--night);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.brand img {
  width: auto;
  height: 80px;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.2s;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-start;
  color: #fff;
  background: linear-gradient(180deg, var(--rcm-blue) 0%, #0b2a4a 32%, #34465f 54%, #8a5a4a 72%, #d8702a 86%, var(--rcm-gold) 96%);
  overflow: hidden;
}
.hero-stars {
  position: absolute;
  inset: 0 0 45%;
  z-index: -1;
  width: 100%;
  height: 55%;
  opacity: 0.8;
}
.hero-land {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: -1;
  width: 100%;
  height: 46%;
  min-height: 220px;
}
.hero-content {
  padding-top: clamp(150px, 22vh, 210px);
  padding-bottom: 300px;
  max-width: 880px;
}
.hero .eyebrow {
  color: var(--gold);
}
.hero h1 {
  font-size: clamp(2.75rem, 6.4vw, 5rem);
}
.hero .lead {
  margin-top: 22px;
  font-size: clamp(1.0625rem, 1.9vw, 1.25rem);
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-1px);
}
.button-light {
  background: var(--sand);
  color: var(--earth-deep);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.5);
}
.button-ghost {
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}
.button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}
.button-dark {
  background: var(--earth);
  color: #fff;
}
.button-dark:hover {
  background: var(--earth-deep);
}
.button svg {
  width: 18px;
  height: 18px;
}

/* ---------- Sections ---------- */

.section {
  padding-block: clamp(72px, 10vw, 120px);
}
.section-head {
  max-width: 680px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.125rem);
}
.section-head p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

/* Apps */

.apps {
  background: var(--paper);
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px;
}
.app-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--shadow);
}
.app-top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}
.app-icon {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 6px 16px -8px rgba(3, 31, 59, 0.45);
}
.app-icon.mob {
  background: #fbf7ef;
  border: 1px solid var(--line);
}
.app-icon.mob img {
  width: 92%;
}
.app-icon img {
  width: 100%;
  height: auto;
}
.app-card h3 {
  font-size: 1.75rem;
}
.app-tag {
  margin-top: 4px;
  color: var(--ink-soft);
  font-weight: 600;
}
.app-card > p {
  color: var(--ink-soft);
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 20px 0 26px;
  display: grid;
  gap: 10px;
}
.ticks li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sand)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23b5482b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 18px no-repeat;
}
.app-foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--earth);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ochre);
}
.status.live {
  background: #e3efe8;
  color: #2f6b4f;
}
.status.live::before {
  background: #3c8a64;
}
.app-foot .note {
  font-size: 0.9375rem;
  color: var(--ink-soft);
}
.app-foot .button {
  margin-left: auto;
}

/* Music */

.music {
  position: relative;
  isolation: isolate;
  background: radial-gradient(120% 90% at 85% 10%, var(--rcm-red) 0%, transparent 62%), #5e1a07;
  color: #fff;
  overflow: hidden;
}
.music::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% -10%;
  height: 70%;
  z-index: -1;
  background: radial-gradient(60% 60% at 50% 100%, rgba(247, 143, 28, 0.16), transparent 70%);
}
.music-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.music .eyebrow {
  color: var(--gold);
}
.music h2 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.music p:not(.eyebrow) {
  margin-top: 18px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
}
.album {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(6px);
}
.album-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
}
.album-label span {
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 120px;
  margin-top: 22px;
}
.wave i {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rcm-gold), #d2601a);
  opacity: 0.9;
}

.wave i:nth-child(1) { height: 34%; }
.wave i:nth-child(2) { height: 58%; }
.wave i:nth-child(3) { height: 82%; }
.wave i:nth-child(4) { height: 46%; }
.wave i:nth-child(5) { height: 70%; }
.wave i:nth-child(6) { height: 100%; }
.wave i:nth-child(7) { height: 64%; }
.wave i:nth-child(8) { height: 40%; }
.wave i:nth-child(9) { height: 76%; }
.wave i:nth-child(10) { height: 92%; }
.wave i:nth-child(11) { height: 54%; }
.wave i:nth-child(12) { height: 30%; }
.wave i:nth-child(13) { height: 62%; }
.wave i:nth-child(14) { height: 86%; }
.wave i:nth-child(15) { height: 50%; }
.wave i:nth-child(16) { height: 72%; }
.wave i:nth-child(17) { height: 38%; }

/* About */

.about {
  background: var(--sand);
}
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.about-copy p + p {
  margin-top: 16px;
}
.about .eyebrow {
  color: var(--link);
}
.about-copy p:not(.eyebrow) {
  font-size: 1.125rem;
  color: var(--ink-soft);
}
.about-copy h2 {
  font-size: clamp(2rem, 4.2vw, 3.125rem);
  margin-bottom: 22px;
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.facts li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
}
.facts strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--earth);
}
.facts span {
  display: block;
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

.acknowledgement {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  background: var(--rcm-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
}
.acknowledgement svg {
  width: 52px;
  height: 52px;
}
.acknowledgement h3 {
  font-size: 1.375rem;
  margin-bottom: 10px;
}
.acknowledgement p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
}

/* Contact */

.contact {
  background: var(--paper);
}
.contact-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(28px, 5vw, 64px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(28px, 5vw, 56px);
  box-shadow: var(--shadow);
}
.contact h2 {
  font-size: clamp(2rem, 4.2vw, 3.125rem);
}
.contact-card > div > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 1.125rem;
}
.email {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--earth);
  overflow-wrap: anywhere;
}
.details {
  margin: 0;
  display: grid;
  gap: 18px;
  align-content: start;
}
.details div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.details div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.details dt {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre);
}
.details dd {
  margin: 6px 0 0;
}

/* Footer */

.site-footer {
  background: var(--night);
  color: rgba(255, 255, 255, 0.8);
  padding-block: 48px;
  font-size: 0.9375rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
  align-items: flex-start;
}
.site-footer a {
  color: #fff;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-legal {
  flex-basis: 100%;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  color: rgba(255, 255, 255, 0.68);
}

/* Plain pages (privacy, not found) */

.page {
  padding-block: clamp(56px, 8vw, 96px);
}
.page .wrap {
  max-width: 760px;
}
.page h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  margin-bottom: 12px;
}
.page h2 {
  font-size: 1.5rem;
  margin: 40px 0 10px;
}
.page p:not(.eyebrow),
.page li {
  color: var(--ink-soft);
}
.page p + p {
  margin-top: 14px;
}
.page ul {
  padding-left: 1.2em;
}
.page .updated {
  font-size: 0.9375rem;
}

/* ---------- Small screens ---------- */

@media (max-width: 860px) {
  .music-grid,
  .about-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .site-header {
    padding-block: 16px;
  }
  .site-header .wrap {
    justify-content: center;
  }
  .brand img {
    height: 56px;
  }
  .site-nav ul {
    gap: 0;
  }
  .site-nav a {
    padding: 8px 11px;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .hero-content {
    padding-top: 150px;
    padding-bottom: 230px;
  }
  .hero-land {
    height: 32%;
    min-height: 180px;
  }
  .app-top {
    gap: 14px;
  }
  .app-icon {
    width: 64px;
    height: 64px;
    border-radius: 17px;
  }
  .app-foot .button {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }
  .facts strong {
    font-size: 1.25rem;
  }
  .acknowledgement {
    grid-template-columns: 1fr;
  }
}
