/* 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;
  /* Brand colours: RCM Red, Gold, Dark Blue and Light Blue. */
  --rcm-red: #a12e0d;
  --rcm-gold: #f78f1c;
  --rcm-blue: #031f3b;
  --rcm-light-blue: #828f9c;
  --paper: #fbf9f6;
  --sand: #f3eee7;
  --ink: var(--rcm-blue);
  --ink-soft: #3c4c5f;
  --line: #e0dbd3;
  --red-deep: #7a220a;
  --radius: 20px;
  --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: 1180px;
  --sky: linear-gradient(180deg, var(--rcm-blue) 0%, #0b2a4a 32%, #34465f 54%, #8a5a4a 72%, #d8702a 86%, var(--rcm-gold) 96%);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

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(--rcm-red);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  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: 700;
}
.skip:focus {
  top: 12px;
}

.eyebrow {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rcm-red);
  margin-bottom: 12px;
}

/* ---------- Header (all pages) ---------- */

.site-header {
  position: relative;
  z-index: 10;
  padding-block: 18px;
  background: var(--rcm-blue);
}
.home .site-header {
  background: none;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.brand {
  display: inline-block;
}
.brand img {
  width: auto;
  height: 72px;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 999px;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
}

/* ---------- Home: everything on one screen ---------- */

.home {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--sky);
  position: relative;
  isolation: isolate;
}
.home-stars {
  position: absolute;
  inset: 0 0 auto;
  height: 55%;
  width: 100%;
  z-index: -1;
  opacity: 0.8;
}
.home-land {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  width: 100%;
  z-index: -1;
}
.home main {
  display: flex;
  align-items: center;
  padding-block: 8px 28px;
}
.home-intro {
  color: #fff;
  margin-bottom: clamp(20px, 3.5vh, 36px);
  max-width: 820px;
}
.home-intro .eyebrow {
  color: var(--rcm-gold);
}
.home-intro h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.9rem);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 1.6vw, 20px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.tile {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: clamp(14px, 2.2vh, 22px) 20px;
  background: #fff;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, 0.55);
  transition: transform 0.15s, box-shadow 0.15s;
}
.tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, 0.6);
}
.tile-icon {
  flex: none;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--sand);
  color: var(--rcm-red);
}
.tile-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tile-icon svg {
  width: 32px;
  height: 32px;
}
.tile-icon.dark {
  background: var(--rcm-blue);
  color: var(--rcm-gold);
}
.tile-icon.white {
  background: #fff;
  border: 1px solid var(--line);
}
.tile-text {
  flex: 1;
  min-width: 0;
}
.tile-text strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.15;
}
.tile-text span {
  display: block;
  margin-top: 3px;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink-soft);
}
.tile-arrow {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--rcm-red);
}

/* ---------- Inner pages ---------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--sky);
  padding-block: clamp(40px, 6vw, 72px) clamp(90px, 11vw, 140px);
}
.page-hero .page-land {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(70px, 10vw, 130px);
  width: 100%;
  z-index: -1;
}
.page-hero .eyebrow {
  color: var(--rcm-gold);
}
.page-hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
}
.page-hero .lead {
  margin-top: 14px;
  max-width: 680px;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  color: rgba(255, 255, 255, 0.92);
}
.page-hero .title-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.page-hero .title-row img {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: #fbf7ef;
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6);
}

.content {
  padding-block: clamp(48px, 7vw, 88px);
}
.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.prose p {
  color: var(--ink-soft);
  font-size: 1.1875rem;
}
.prose p + p {
  margin-top: 16px;
}
.prose h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.5rem);
  margin-bottom: 18px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 32px);
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 32px;
  font-weight: 500;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  width: 20px;
  height: 20px;
  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='%23a12e0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 28px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--sand);
  color: var(--red-deep);
}
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rcm-red);
}
.status.live {
  background: #e3efe8;
  color: #2f6b4f;
}
.status.live::before {
  background: #3c8a64;
}
.status-row .note {
  color: var(--ink-soft);
  font-size: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  background: var(--rcm-red);
  color: #fff;
  transition: background 0.2s, transform 0.15s;
}
.button:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
}
.button svg {
  width: 18px;
  height: 18px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.facts li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}
.facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--rcm-red);
}
.facts span {
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  color: var(--ink-soft);
}

.album-card {
  background: var(--rcm-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: 26px;
}
.album-card .label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
}
.album-card .label span {
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rcm-gold);
}
.wave {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 110px;
  margin-top: 20px;
}
.wave i {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--rcm-gold), #d2601a);
}
.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%; }

.acknowledgement {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  background: var(--rcm-blue);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(22px, 3.5vw, 36px);
}
.acknowledgement svg {
  width: 52px;
  height: 52px;
}
.acknowledgement h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.acknowledgement p {
  color: rgba(255, 255, 255, 0.92);
}

.contact-email {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  color: var(--rcm-red);
  overflow-wrap: anywhere;
}
.details {
  margin: 0;
  display: grid;
  gap: 18px;
}
.details div + div {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.details dt {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rcm-red);
}
.details dd {
  margin: 6px 0 0;
}

/* Privacy and not-found pages */
.narrow {
  max-width: 780px;
}
.narrow h2 {
  font-size: 1.625rem;
  margin: 36px 0 10px;
}
.narrow p,
.narrow li {
  color: var(--ink-soft);
}
.narrow p + p {
  margin-top: 14px;
}

/* ---------- Footer (all pages) ---------- */

.site-footer {
  background: var(--rcm-blue);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  padding-block: 18px;
}
.home .site-footer {
  background: rgba(3, 31, 59, 0.82);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 24px;
}
.site-footer a {
  color: #fff;
}
.footer-place {
  font-weight: 700;
  color: #fff;
}

/* ---------- Smaller screens ---------- */

@media (max-width: 1000px) {
  .tiles {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 600px) {
  body {
    font-size: 1.0625rem;
  }
  .site-header {
    padding-block: 12px;
  }
  .site-header .wrap {
    justify-content: center;
  }
  .brand img {
    height: 54px;
  }
  .site-nav a {
    font-size: 0.9375rem;
    padding: 6px 9px;
  }
  .home .site-header .wrap {
    justify-content: flex-start;
  }
  .home main {
    align-items: flex-start;
    padding-block: 6px 16px;
  }
  .home-intro {
    margin-bottom: 16px;
  }
  .home-intro h1 {
    font-size: 1.75rem;
  }
  .tiles {
    gap: 10px;
  }
  /* Phones: compact tiles so the whole home page fits on one screen. The one-line descriptions
     come back on taller phones (see below). */
  .tile {
    gap: 10px;
    padding: 12px;
    border-radius: 16px;
  }
  .tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }
  .tile-icon svg {
    width: 23px;
    height: 23px;
  }
  .tile-text strong {
    font-size: 1.0625rem;
  }
  .tile-text span {
    display: none;
  }
  .tile-arrow {
    display: none;
  }
  .page-hero .title-row img {
    width: 64px;
    height: 64px;
    border-radius: 16px;
  }
  .facts strong {
    font-size: 1.25rem;
  }
  .acknowledgement {
    grid-template-columns: 1fr;
  }
  .site-footer {
    font-size: 0.8125rem;
    padding-block: 12px;
  }
}

@media (max-width: 600px) and (min-height: 760px) {
  .tile {
    flex-direction: column;
    align-items: flex-start;
  }
  .tile-text span {
    display: block;
    font-size: 0.875rem;
  }
}
