:root {
  --rr-navy: #101b2c;
  --rr-royal: #063f7c;
  --rr-blue: #155994;
  --rr-paper: #f6f4ef;
  --rr-white: #fffefd;
  --rr-ink: #16202d;
  --rr-soft: #536273;
  --rr-rule: #c5cbd0;
  --rr-gold: #b89b6a;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--rr-ink);
  background: var(--rr-paper);
}

html { scroll-behavior: smooth; }
body { background: var(--rr-paper); color: var(--rr-ink); }
strong { font-weight: 750; }
a { color: var(--rr-royal); }
a:hover { color: #062a53; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid #df9b31; outline-offset: 3px; }
button { background: var(--rr-royal); border-color: var(--rr-royal); border-radius: 0; font-weight: 700; }
button:hover { background: #0a2d55; }
input { border-radius: 0; }
h1, h2, h3 { color: var(--rr-navy); }
h1, .rr-profile-name, .rr-prem-year, .rr-season-year, .rr-home-masthead h1, .rr-home-feature-pair h2, .rr-home-prem strong { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; }
h1 { font-size: clamp(2.45rem, 4.5vw, 4.3rem); letter-spacing: -.035em; line-height: 1.06; }
h2 { font-size: clamp(1.4rem, 2vw, 1.85rem); letter-spacing: -.012em; }
.rr-overline, .eyebrow { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.rr-overline span, .eyebrow span { color: var(--rr-gold); margin: 0 .4em; }
.rr-context { max-width: 72ch; color: #3d4a56; }
.rr-muted { color: var(--rr-soft); }
.rr-capability { margin: 34px 0; padding: 22px 28px; border-left: 4px solid var(--rr-gold); background: #e9edf0; max-width: 78ch; }
.rr-capability h2 { margin: 0 0 8px; font-size: 1.32rem; }
.rr-capability p { margin: 0; color: #3d4a56; line-height: 1.6; }

/* The Stirling shell and navigation remain the foundation. */
.rr-header { background: var(--rr-navy); border-top: 5px solid var(--rr-royal); }
.rr-header > .rr-header-inner { display: flex; align-items: center; gap: 19px; padding-top: 15px; padding-bottom: 15px; }
.rr-brand { display: flex; align-items: center; gap: 12px; min-height: 72px; line-height: 1; white-space: nowrap; }
.rr-brand img { width: 48px; height: auto; object-fit: contain; }
.rr-brand span { display: grid; gap: 3px; font-size: 1.4rem; }
.rr-brand strong { font-weight: 800; letter-spacing: -.025em; }
.rr-brand em { font-style: normal; font-size: .63rem; letter-spacing: .22em; text-transform: uppercase; color: #cbd9e7; }
.rr-header .rr-product-mark { color: #adbed0; border-left: 1px solid #587089; padding-left: 18px; font-size: .8rem; }
.rr-header form { max-width: 405px; }
.rr-header label { display: block; margin-bottom: 4px; color: #dbe5ef; font-size: .76rem; letter-spacing: .03em; }
.rr-header input { background: #fff; border: 1px solid #c9d5df; }
.rr-header button { background: #dce8f3; color: var(--rr-navy); border: 1px solid #dce8f3; }
.rr-nav { border-top: 1px solid #405169; }
.rr-nav a { font-weight: 700; font-size: .82rem; letter-spacing: .015em; }
.rr-nav a:hover, .rr-nav a[aria-current] { background: #1d3859; color: #fff; }
.rr-header > .rr-mobile-nav { display: none; }
.archive-page { padding-top: 36px; padding-bottom: 70px; }
.breadcrumbs { color: var(--rr-soft); margin-bottom: 24px; }
.breadcrumbs a { font-weight: 700; }
.page-header { border-bottom: 1px solid var(--rr-rule); padding-bottom: 25px; margin-bottom: 30px; }
.page-header .eyebrow { color: var(--rr-royal); margin-bottom: 12px; }
.page-header .rr-intro { margin-top: 17px; }
.archive-section { border-top: 1px solid var(--rr-rule); margin-top: 46px; padding-top: 20px; }
.archive-section .section-heading { border-left: 5px solid var(--rr-royal); padding-left: 13px; margin-bottom: 18px; }
.archive-section .section-heading h2 { margin: 0; }
.rr-intro { font-size: clamp(1.08rem, 1.55vw, 1.25rem); line-height: 1.6; max-width: 74ch; }
.rr-card { background: var(--rr-white); border-top: 3px solid var(--rr-royal); box-shadow: none; border-bottom: 1px solid #cdd3d9; padding: 20px; transition: transform .16s ease, border-color .16s ease; }
.rr-card:hover { transform: translateY(-3px); border-top-color: var(--rr-gold); }
.rr-card h2 { font-family: Georgia, 'Times New Roman', serif; font-size: 1.45rem; color: var(--rr-navy); }
.rr-card span { color: var(--rr-soft); line-height: 1.5; }
.rr-grid { gap: 13px; }
.rr-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.rr-facts > div { border-bottom: 1px solid #d7dadd; padding: 14px 0; }
.rr-facts dt { font-size: .74rem; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; color: var(--rr-soft); }
.rr-facts dd { font-size: 1.08rem; font-weight: 650; }
.rr-note { background: #f2eee4; border-left: 3px solid var(--rr-gold); color: #3a4149; }
.rr-link-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.rr-link-list li { background: transparent; border-bottom: 1px solid #cbd0d5; border-left: 0; padding: 13px 0; }
.rr-link-list li > a { font-weight: 700; font-size: 1.02rem; text-decoration-thickness: 1px; }
.rr-link-list small { display: block; color: var(--rr-soft); margin-top: 4px; line-height: 1.45; }
.rr-related-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 32px; }
.rr-related-groups h3 { color: var(--rr-royal); font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; border-bottom: 2px solid var(--rr-royal); padding-bottom: 7px; }
.rr-related-groups .rr-link-list { grid-template-columns: 1fr; margin: 0; }
.rr-figure { margin: 0; }
.rr-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.rr-figure figcaption { color: var(--rr-soft); font-size: .8rem; line-height: 1.55; border-bottom: 1px solid #cdd2d7; padding: 9px 0 12px; }
.rr-figure figcaption span { display: block; font-size: .72rem; opacity: .82; }
.rr-figure figcaption a { font-weight: 700; white-space: nowrap; }
.rr-footer { border-top: 4px solid var(--rr-navy); display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px 36px; padding-top: 28px; }
.rr-footer strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.3rem; }
.rr-footer nav { display: flex; flex-wrap: wrap; gap: 7px 16px; align-content: start; }
.rr-footer > p:last-child { grid-column: 1 / -1; border-top: 1px solid #cdd2d7; padding-top: 13px; margin: 0; }

/* Home: a club archive masthead, then editorial discovery. */
.rr-page--home .archive-page { padding-top: 0; }
.rr-home-masthead { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); background: var(--rr-navy); color: #f9fafb; margin-top: 0; margin-bottom: 40px; }
.rr-home-copy { padding: clamp(30px, 4vw, 58px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.rr-home-copy .rr-overline { color: #b8cce0; margin: 0 0 20px; }
.rr-home-masthead h1 { color: #fff; font-size: clamp(2.7rem, 5vw, 5.7rem); line-height: .99; margin: 0 0 23px; }
.rr-home-masthead h1 em { color: #d8e4f1; font-style: normal; }
.rr-home-copy > p:not(.rr-overline) { font-size: 1.15rem; line-height: 1.6; color: #e1e8ef; max-width: 52ch; }
.rr-home-copy form { width: 100%; max-width: 480px; margin-top: 16px; }
.rr-home-copy form label { font-weight: 800; letter-spacing: .03em; display: block; margin-bottom: 7px; }
.rr-home-copy .rr-search { gap: 0; }
.rr-home-copy .rr-search input { border: 0; }
.rr-home-copy .rr-search button { background: #e8d9b7; border-color: #e8d9b7; color: #142238; padding-left: 17px; padding-right: 17px; }
.rr-home-actions { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; }
.rr-home-actions a { color: #fff; font-weight: 700; text-underline-offset: 5px; }
.rr-home-photo { display: flex; flex-direction: column; justify-content: center; padding: 26px 26px 20px 0; }
.rr-home-photo img { max-height: 440px; width: 100%; object-fit: contain; background: #090f1a; }
.rr-home-photo figcaption { color: #d8e0e9; border-color: #4b5b6d; }
.rr-home-photo figcaption a { color: #e3ebf4; }
.rr-archive-paths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--rr-navy); }
.rr-archive-paths a { display: flex; flex-direction: column; min-height: 85px; padding: 15px 14px 14px 0; border-bottom: 1px solid var(--rr-rule); text-decoration: none; }
.rr-archive-paths strong { font-family: Georgia, 'Times New Roman', serif; font-size: 1.24rem; color: var(--rr-navy); }
.rr-archive-paths span { color: var(--rr-soft); font-size: .8rem; margin-top: 2px; }
.rr-archive-paths a:hover strong { color: var(--rr-royal); text-decoration: underline; }
.rr-home-feature-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.rr-home-feature-pair article { min-height: 340px; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 42px); background: #e9edf0; border-top: 5px solid var(--rr-royal); }
.rr-home-feature-pair article:last-child { background: var(--rr-navy); color: #fff; border-color: var(--rr-gold); }
.rr-home-feature-pair article:last-child h2 { color: #fff; }
.rr-home-feature-pair h2 { font-size: clamp(2rem, 3vw, 3.2rem); margin: 12px 0 8px; line-height: 1.06; }
.rr-home-feature-pair h2 em { font-weight: 400; }
.rr-home-feature-pair p:not(.rr-overline) { max-width: 48ch; line-height: 1.65; }
.rr-home-feature-pair .rr-text-link { margin-top: auto; font-weight: 800; }
.rr-home-feature-pair article:last-child .rr-text-link { color: #f7f1e5; }
.rr-home-feature-pair article:last-child .rr-overline { color: #d8c6a7; }
.rr-home-number { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(4rem, 7vw, 7rem); line-height: .9; margin: 8px 0; }
.rr-home-prem { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: center; }
.rr-home-prem > div { padding: 28px 20px 28px 0; }
.rr-home-prem strong { display: block; font-size: clamp(5rem, 10vw, 10rem); line-height: .9; color: var(--rr-royal); }
.rr-home-prem h2 { font-size: 1.7rem; }
.rr-home-prem p:not(.rr-overline) { line-height: 1.6; }
.rr-home-prem .rr-text-link { font-weight: 800; }
.rr-home-prem-photo img { max-height: 500px; }
.rr-home-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rr-home-stories article { border-top: 3px solid var(--rr-royal); border-bottom: 1px solid var(--rr-rule); padding: 22px 0 20px; }
.rr-home-stories h2 { font-family: Georgia, 'Times New Roman', serif; margin: 10px 0; }
.rr-home-stories p:not(.rr-overline) { color: #3c4955; line-height: 1.6; min-height: 75px; }
.rr-home-stories a { font-weight: 800; }

/* People and profile: editorial identity first, source detail second. */
.rr-person-feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(250px, .85fr); gap: 22px; align-items: stretch; margin-top: 24px; }
.rr-person-feature .rr-profile-hero { display: flex; flex-direction: column; justify-content: center; min-height: 390px; }
.rr-person-portrait { display: flex; flex-direction: column; justify-content: center; background: #e6e8e8; }
.rr-person-portrait img { max-height: 520px; object-fit: contain; }
.rr-person-portrait figcaption { padding: 9px 12px 12px; }
.rr-profile-hero { background: var(--rr-navy); color: #fff; border-left: 7px solid var(--rr-royal); padding: clamp(24px, 3vw, 42px); }
.rr-profile-hero .rr-overline { color: #bfd0e0; margin-top: 0; }
.rr-profile-name { font-size: clamp(2.4rem, 4vw, 4.8rem); line-height: 1; letter-spacing: -.03em; margin: 13px 0 25px; }
.rr-profile-hero .rr-profile-name { color: #fff; }
.rr-profile-metrics { display: flex; flex-wrap: wrap; gap: 22px 44px; border-top: 1px solid #4a5f77; padding-top: 20px; }
.rr-profile-metrics > div { display: flex; flex-direction: column; min-width: 115px; }
.rr-profile-metrics strong { font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; color: #fff; }
.rr-profile-metrics span { text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; color: #c5d3e0; margin-top: 7px; }
.rr-profile-photo { max-width: 760px; margin: 27px auto 2px; }
.rr-profile-photo img { max-height: 470px; }
.rr-page--people .rr-profile-hero + .archive-section { margin-top: 32px; }
.rr-directory-intro { max-width: 690px; }
.rr-directory-intro > p:first-child { font-size: 1.15rem; }
.rr-directory-intro label { display: block; font-weight: 800; margin: 24px 0 8px; }
.rr-directory-intro input { max-width: 520px; background: #fff; }
.rr-directory-intro #people-count { font-size: .83rem; color: var(--rr-soft); }
.rr-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.rr-directory-list li { background: transparent; border-bottom: 1px solid var(--rr-rule); padding: 14px 0; }
.rr-directory-list li[hidden] { display: none; }
.rr-directory-list h2 { font-size: 1.17rem; font-family: Georgia, 'Times New Roman', serif; margin: 0 0 3px; }
.rr-directory-list p { color: var(--rr-soft); font-size: .87rem; margin: 0; }

/* Football scoreboards, years and positional selection. */
.rr-score { background: var(--rr-navy); color: #fff; display: grid; grid-template-columns: 1fr minmax(250px, 1.5fr) 1fr; align-items: center; gap: 14px; padding: 30px 24px; border-bottom: 5px solid var(--rr-royal); margin: 22px 0 25px; }
.rr-score span { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .05em; }
.rr-score span:last-child { text-align: right; }
.rr-score strong { color: #fff; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.35rem, 2.3vw, 2.2rem); text-align: center; line-height: 1.15; }
.rr-prem-hero { background: var(--rr-navy); color: #fff; padding: clamp(20px, 3vw, 38px); border-bottom: 5px solid var(--rr-gold); }
.rr-prem-hero .rr-overline { color: #d6c7a7; margin: 0; }
.rr-prem-year { color: #fff; font-size: clamp(6rem, 15vw, 13rem); letter-spacing: -.07em; line-height: .9; margin: 12px 0; }
.rr-prem-hero > p:last-child { margin-bottom: 0; color: #d2deeb; }
.rr-prem-photo { margin: 28px auto 4px; max-width: 830px; }
.rr-prem-photo img { max-height: 650px; }
.rr-football-field { background: #123e6b; color: #fff; border: 3px solid #cfdae5; outline: 1px solid #123e6b; border-radius: 47% / 22%; padding: 42px 55px; max-width: 900px; margin: 20px auto 28px; }
.rr-field-line { display: grid; grid-template-columns: 130px 1fr; gap: 20px; border-bottom: 1px solid #7899b6; padding: 11px 0; align-items: center; }
.rr-field-line:last-child { border-bottom: 0; }
.rr-field-line h3 { font: 800 .76rem Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .09em; color: #d8e9f7; margin: 0; }
.rr-field-line > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; text-align: center; }
.rr-field-player { font-size: .91rem; font-weight: 700; }
.rr-field-player a { color: #fff; text-underline-offset: 3px; }
.rr-source-caveat { border-left: 3px solid var(--rr-gold); padding: 10px 16px; background: #f0ece3; color: #4c4a45; }

/* Record Book: a digital honour board and a usable register. */
.rr-record-monuments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.rr-record-monuments > a { display: flex; flex-direction: column; min-height: 275px; color: #fff; text-decoration: none; background: var(--rr-navy); border-top: 5px solid var(--rr-gold); padding: clamp(24px, 3vw, 36px); }
.rr-record-monuments > a:nth-child(2) { background: var(--rr-royal); }
.rr-record-monuments .rr-overline { color: #d7c3a0; margin: 0; }
.rr-record-monuments strong { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; font-size: clamp(5rem, 8vw, 8rem); line-height: 1; margin: 14px 0 auto; }
.rr-record-monuments strong small { font: 800 .86rem Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .14em; margin-left: 8px; }
.rr-record-monuments > a > span { font-size: 1.3rem; font-weight: 800; }
.rr-record-monuments > a:hover { outline: 4px solid #c1a270; outline-offset: -4px; }
.rr-record-value { font-family: Georgia, 'Times New Roman', serif; color: var(--rr-royal); font-size: clamp(3.5rem, 7vw, 6rem); margin: 0 0 12px; }
.rr-record-value span { font-size: .32em; text-transform: uppercase; letter-spacing: .09em; font-family: Arial, Helvetica, sans-serif; }
.rr-register-intro { border-left: 5px solid var(--rr-royal); padding: 8px 0 9px 22px; max-width: 760px; }
.rr-register-intro .rr-overline { color: var(--rr-royal); }
.rr-register-intro p:nth-child(2) { font-family: Georgia, 'Times New Roman', serif; font-size: 1.75rem; margin: 6px 0; }
.rr-register-controls { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: end; padding: 18px 0; border-top: 1px solid var(--rr-rule); border-bottom: 1px solid var(--rr-rule); margin: 24px 0 8px; }
.rr-register-controls > label { flex: 0 0 100%; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.rr-register-controls > input { max-width: 350px; }
.rr-register-controls > select { min-height: 42px; padding: 8px 12px; border: 1px solid #7990a6; background: #fff; color: var(--rr-ink); font: inherit; }
.rr-register-controls > div { display: flex; gap: 6px; }
.rr-register-controls button { background: #fff; color: var(--rr-royal); border: 1px solid #7990a6; }
.rr-register-controls button[aria-pressed='true'] { background: var(--rr-royal); color: #fff; }
.rr-register-controls p { margin: 0; font-size: .83rem; color: var(--rr-soft); }
.rr-record-register { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.rr-record-register li { display: flex; align-items: baseline; gap: 15px; border-bottom: 1px solid var(--rr-rule); padding: 11px 0; }
.rr-record-register li[hidden] { display: none; }
.rr-register-total { flex: 0 0 55px; font-family: Georgia, 'Times New Roman', serif; color: var(--rr-royal); font-size: 1.75rem; font-weight: 700; text-align: right; }
.rr-record-register li > div { min-width: 0; }
.rr-record-register a { font-weight: 800; }
.rr-record-register small { display: block; color: var(--rr-soft); font-size: .75rem; line-height: 1.45; }
.rr-match-list li { border-left: 3px solid var(--rr-royal); margin-bottom: 8px; }
.rr-match-outcome { color: var(--rr-royal); font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.rr-match-list h2 { margin: 5px 0 8px; }
.rr-honour-feature, .rr-team-hero { background: var(--rr-navy); color: #fff; border-top: 5px solid var(--rr-gold); padding: clamp(26px, 4vw, 46px); margin: 20px 0 30px; }
.rr-honour-feature .rr-overline, .rr-team-hero .rr-overline { color: #d9c8a8; margin: 0; }
.rr-honour-feature strong { display: block; font: 600 clamp(5rem, 11vw, 9rem)/1 Georgia, 'Times New Roman', serif; margin: 12px 0; letter-spacing: -.055em; }
.rr-honour-feature > p:last-child { font: 600 clamp(1.7rem, 3vw, 2.8rem) Georgia, 'Times New Roman', serif; margin: 0; }
.rr-honour-roll { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.rr-honour-roll li { break-inside: avoid; display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 15px; border-bottom: 1px solid var(--rr-rule); padding: 12px 0; }
.rr-honour-roll li > span { font: 700 1.25rem Georgia, 'Times New Roman', serif; color: var(--rr-royal); min-width: 58px; }
.rr-honour-roll li > a { font-weight: 700; }
.rr-honour-roll small { color: var(--rr-soft); width: 100%; padding-left: 73px; }
.rr-team-hero strong { display: block; font: 600 clamp(2.5rem, 5vw, 5rem)/1.05 Georgia, 'Times New Roman', serif; margin: 22px 0 10px; }
.rr-team-hero > p:last-child { font-size: 1.25rem; margin-bottom: 0; }
.rr-team-formation { max-width: 950px; margin: 0 auto; background: #123e6b; color: #fff; border: 3px solid #cfdae5; padding: 22px 42px; }
.rr-team-formation section { border-bottom: 1px solid #7899b6; padding: 16px 0; }
.rr-team-formation section:last-child { border-bottom: 0; }
.rr-team-formation h2 { color: #d8e9f7; font: 800 .78rem Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .12em; margin: 0 0 10px; }
.rr-team-formation section > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rr-team-formation span { font-weight: 700; }
.rr-team-formation a { color: #fff; }

/* Season, honour, history and source pages get distinct archive rhythm. */
.rr-season-overview { background: var(--rr-navy); color: #fff; display: flex; align-items: end; justify-content: space-between; gap: 26px; padding: clamp(24px, 3vw, 42px); }
.rr-season-overview .rr-overline { color: #c4d6e6; margin: 0; }
.rr-season-year { color: #fff; font-size: clamp(5.5rem, 10vw, 9rem); line-height: .9; letter-spacing: -.06em; margin: 12px 0 7px; }
.rr-season-overview > div:first-child > p:last-child { color: #e5edf4; margin-bottom: 0; }
.rr-season-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.rr-season-stats > div { display: flex; flex-direction: column; border-left: 1px solid #6b829a; padding-left: 16px; }
.rr-season-stats strong { font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; }
.rr-season-stats span { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: #d2dfeb; margin-top: 8px; }
.rr-season-photo { max-width: 780px; margin: 24px auto 0; }
.rr-season-photo img { max-height: 520px; }
.rr-waflw-feature { display: grid; grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 34px; align-items: center; margin: 28px 0; }
.rr-waflw-feature .rr-season-photo { margin: 0; }
.rr-waflw-feature .rr-season-photo img { max-height: 520px; }
.rr-waflw-feature > div > h2 { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.8rem, 2.6vw, 2.8rem); line-height: 1.12; }
.rr-waflw-feature > div > p:not(.rr-overline) { line-height: 1.65; color: #3d4c5a; }
.rr-waflw-milestones { display: grid; gap: 10px; margin-top: 20px; }
.rr-waflw-milestones .rr-card { padding: 16px 18px; }
.rr-history-exhibit, .rr-document-exhibit { background: var(--rr-navy); color: #fff; border-left: 6px solid var(--rr-gold); padding: clamp(25px, 4vw, 48px); margin: 20px 0 32px; }
.rr-history-exhibit .rr-overline, .rr-document-exhibit .rr-overline { color: #d9c6a7; margin: 0; }
.rr-history-exhibit strong, .rr-document-exhibit strong { display: block; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(3.7rem, 9vw, 7.5rem); line-height: 1; font-weight: 600; letter-spacing: -.05em; margin: 14px 0; }
.rr-history-exhibit strong { font-size: clamp(2.6rem, 6vw, 5.7rem); }
.rr-history-photo { max-width: 800px; margin: 24px auto; }
.rr-yearbook-feature { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: center; max-width: 1050px; margin: 20px auto 40px; }
.rr-yearbook-cover img { max-height: 650px; object-fit: contain; }
.rr-yearbook-feature h2 { font: 600 clamp(2.8rem, 5vw, 5rem)/1.05 Georgia, 'Times New Roman', serif; margin: 12px 0 16px; }
.rr-yearbook-feature > div > p:not(.rr-overline) { font-size: 1.17rem; line-height: 1.65; max-width: 45ch; }
.rr-button-link { display: inline-block; background: var(--rr-royal); color: #fff; padding: 13px 19px; text-decoration: none; font-weight: 800; margin-top: 16px; }
.rr-button-link:hover { background: var(--rr-navy); color: #fff; }
.rr-history-exhibit > p:last-child, .rr-document-exhibit > p:last-child { max-width: 66ch; color: #e4ebf3; line-height: 1.6; margin: 0; }
.rr-history-index { border-top: 3px solid var(--rr-royal); margin-top: 28px; }
.rr-history-index article { display: grid; grid-template-columns: 115px 1fr; gap: 24px; border-bottom: 1px solid var(--rr-rule); padding: 20px 0; }
.rr-history-index article > span { color: var(--rr-royal); font: 700 2.2rem Georgia, 'Times New Roman', serif; }
.rr-history-index h2 { margin: 0 0 8px; font: 600 1.45rem Georgia, 'Times New Roman', serif; }
.rr-history-index p { margin: 0; color: var(--rr-soft); line-height: 1.5; }
.rr-yearbook-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 30px; }
.rr-yearbook-shelf > a { min-height: 200px; display: flex; flex-direction: column; gap: 12px; background: #f0ece4; border-top: 5px solid var(--rr-royal); padding: 22px; color: var(--rr-navy); text-decoration: none; }
.rr-yearbook-shelf > a:first-child { background: var(--rr-navy); color: #fff; border-color: var(--rr-gold); }
.rr-yearbook-shelf strong { font: 600 3rem Georgia, 'Times New Roman', serif; line-height: 1; }
.rr-yearbook-shelf span { font-weight: 800; line-height: 1.35; }
.rr-yearbook-shelf small { margin-top: auto; font-size: .69rem; text-transform: uppercase; letter-spacing: .1em; opacity: .72; }
.rr-yearbook-shelf > a:hover, .rr-yearbook-shelf > a:focus-visible { outline: 3px solid var(--rr-gold); outline-offset: 2px; }
.rr-page--history .archive-section > p, .rr-page--history .rr-facts + p { max-width: 75ch; line-height: 1.8; font-size: 1.09rem; }
.rr-page--history .rr-link-list { grid-template-columns: 1fr; max-width: 820px; }
.rr-page--yearbooks .rr-link-list { max-width: 800px; }
.rr-page--honours .rr-link-list li a { font-family: Georgia, 'Times New Roman', serif; font-size: 1.1rem; }
.rr-results li { background: var(--rr-white); border-bottom-color: var(--rr-rule); }
.rr-results h2 a { color: var(--rr-royal); }
.rr-page--matches .rr-results li { border-left: 3px solid var(--rr-royal); margin-bottom: 7px; }
.rr-page--search .rr-results h3 { font-size: 1.08rem; margin: 0 0 5px; }
.rr-page--search .rr-results p { color: var(--rr-soft); margin: 0; }

@media (max-width: 950px) {
  .rr-header .rr-product-mark { display: none; }
  .rr-home-masthead { grid-template-columns: 1fr; }
  .rr-person-feature { grid-template-columns: 1fr; }
  .rr-person-feature .rr-profile-hero { min-height: 0; }
  .rr-person-portrait { max-width: 560px; margin: 0 auto; width: 100%; }
  .rr-yearbook-feature { grid-template-columns: 1fr; }
  .rr-yearbook-cover { max-width: 480px; margin: 0 auto; }
  .rr-home-photo { padding: 0 28px 24px; }
  .rr-home-photo img { max-height: 420px; }
  .rr-archive-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .rr-header > .rr-header-inner { gap: 7px; padding: 12px 18px; }
  .rr-header > .rr-mobile-nav { display: block; }
  .rr-brand { min-height: 56px; }
  .rr-brand img { width: 39px; }
  .rr-brand span { font-size: 1.16rem; }
  .rr-header form { width: 100%; max-width: none; }
  .rr-header input { min-width: 0; }
  .rr-mobile-nav { border-top: 1px solid #405169; }
  .rr-mobile-nav summary { color: #fff; }
  .rr-mobile-nav nav a { font-weight: 700; border-bottom: 1px solid #3a4e66; }
  .archive-page { padding-top: 23px; padding-bottom: 50px; }
  .page-header { margin-bottom: 24px; padding-bottom: 19px; }
  h1 { font-size: clamp(2.25rem, 9vw, 3.4rem); }
  .rr-home-copy { padding: 28px 21px 20px; }
  .rr-home-copy .rr-search { flex-direction: column; gap: 6px; }
  .rr-home-copy .rr-search button { width: 100%; }
  .rr-home-photo { padding: 4px 21px 22px; }
  .rr-home-photo img { max-height: 330px; }
  .rr-archive-paths { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-home-feature-pair, .rr-home-prem, .rr-home-stories { grid-template-columns: 1fr; }
  .rr-home-feature-pair article { min-height: 275px; }
  .rr-home-prem > div { padding-bottom: 0; }
  .rr-home-prem-photo img { max-height: 430px; }
  .rr-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-link-list, .rr-related-groups, .rr-directory-list, .rr-record-register { grid-template-columns: 1fr; }
  .rr-record-monuments { grid-template-columns: 1fr; }
  .rr-honour-roll { columns: 1; }
  .rr-team-formation { padding: 14px 19px; }
  .rr-yearbook-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rr-history-index article { grid-template-columns: 1fr; gap: 5px; }
  .rr-record-monuments > a { min-height: 225px; }
  .rr-season-overview { display: block; }
  .rr-season-stats { margin-top: 23px; }
  .rr-waflw-feature { grid-template-columns: 1fr; gap: 20px; }
  .rr-waflw-feature .rr-season-photo { max-width: 430px; margin: 0 auto; }
  .rr-waflw-feature .rr-season-photo img { max-height: 350px; }
  .rr-score { grid-template-columns: 1fr 1fr; gap: 8px; padding: 22px 16px; }
  .rr-score span { font-size: .85rem; }
  .rr-score strong { grid-column: 1 / -1; grid-row: 2; font-size: clamp(1.4rem, 5vw, 2rem); padding-top: 10px; }
  .rr-score span:last-child { text-align: right; }
  .rr-football-field { border-radius: 0; padding: 18px; }
  .rr-field-line { grid-template-columns: 1fr; gap: 8px; padding: 11px 0; }
  .rr-field-line > div { text-align: left; }
  .rr-field-player { font-size: .82rem; }
  .rr-register-controls > input { width: 100%; max-width: none; }
  .rr-register-controls > select { width: 100%; }
  .rr-footer { grid-template-columns: 1fr; }
  .rr-footer > p:last-child { grid-column: 1; }
}

@media (max-width: 420px) {
  .rr-brand span { font-size: 1.06rem; }
  .rr-home-masthead h1 { font-size: 2.65rem; }
  .rr-archive-paths { grid-template-columns: 1fr 1fr; }
  .rr-archive-paths strong { font-size: 1.08rem; }
  .rr-facts { grid-template-columns: 1fr; }
  .rr-season-stats { gap: 14px; }
  .rr-season-stats > div { padding-left: 11px; }
  .rr-field-line > div { grid-template-columns: 1fr; gap: 4px; }
  .rr-register-controls > div { width: 100%; }
  .rr-register-controls button { flex: 1; }
  .rr-record-register li { gap: 10px; }
  .rr-team-formation section > div { grid-template-columns: 1fr; gap: 7px; }
  .rr-yearbook-shelf { grid-template-columns: 1fr; }
  .rr-yearbook-shelf > a { min-height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rr-card { transition: none; }
}
