/* Theme base styles */

/* Tools
Any animations, or functions used throughout the project.
Note: _macros.css needs to be imported into each stylesheet where macros are used and not included here
*/

/* Generic
This is where reset, normalize & box-sizing styles go.
*/

*, *:before, *:after {
  box-sizing: border-box;
}
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * Add the correct box sizing in Firefox.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Remove the inheritance of text transform in Edge and Firefox.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * Remove the padding so developers are not caught out when they zero out `fieldset` elements in all browsers.
 */

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Objects
Non-cosmetic design patterns including grid and layout classes)
*/



/* CSS variables */

:root {
  --column-gap: 2.13%;
  --column-width-multiplier: 8.333;
}

/* Mobile layout */

.row-fluid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}


  .row-fluid .span1,
  .row-fluid .span2,
  .row-fluid .span3,
  .row-fluid .span4,
  .row-fluid .span5,
  .row-fluid .span6,
  .row-fluid .span7,
  .row-fluid .span8,
  .row-fluid .span9,
  .row-fluid .span10,
  .row-fluid .span11,
  .row-fluid .span12{
  min-height: 1px;
  width: 100%;
}

/* Desktop layout */

@media (min-width: 768px) {
  .row-fluid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  
    .row-fluid .span1 {
      width: calc(var(--column-width-multiplier) * 1% * 1 - var(--column-gap) * (11 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span2 {
      width: calc(var(--column-width-multiplier) * 1% * 2 - var(--column-gap) * (10 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span3 {
      width: calc(var(--column-width-multiplier) * 1% * 3 - var(--column-gap) * (9 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span4 {
      width: calc(var(--column-width-multiplier) * 1% * 4 - var(--column-gap) * (8 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span5 {
      width: calc(var(--column-width-multiplier) * 1% * 5 - var(--column-gap) * (7 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span6 {
      width: calc(var(--column-width-multiplier) * 1% * 6 - var(--column-gap) * (6 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span7 {
      width: calc(var(--column-width-multiplier) * 1% * 7 - var(--column-gap) * (5 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span8 {
      width: calc(var(--column-width-multiplier) * 1% * 8 - var(--column-gap) * (4 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span9 {
      width: calc(var(--column-width-multiplier) * 1% * 9 - var(--column-gap) * (3 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span10 {
      width: calc(var(--column-width-multiplier) * 1% * 10 - var(--column-gap) * (2 * var(--column-width-multiplier) / 100));
    }
  
    .row-fluid .span11 {
      width: calc(var(--column-width-multiplier) * 1% * 11 - var(--column-gap) * (1 * var(--column-width-multiplier) / 100));
    }
  
}
.content-wrapper {
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 1380px) {
  .content-wrapper {
    padding: 0;
  }
}

.dnd-section > .row-fluid {
  margin: 0 auto;
}

.dnd-section .dnd-column {
  padding: 0 1rem;
}

@media (max-width: 767px) {
  .dnd-section .dnd-column {
    padding: 0;
  }
}

/* Elements
Base HTML elements are styled in this section (<body>, <h1>, <a>, <p>, <button> etc.)
*/

/* The overflow-wrap is meant to prevent long/large words from breaking the mobile responsiveness of a page (e.g. horizontal scrolling). It is preferred to reduce font sizes on mobile to address this, with this CSS specifically helping with extreme scenarios where a reduction in font size is not possible. */

body {
  line-height: 1.4;
  overflow-wrap: break-word;
}

/* Handles word breaking for a few specific languages which handle breaks in words differently. If your content is not translated into these languages, you can safely remove this.  */

html[lang^="ja"] body,
html[lang^="zh"] body,
html[lang^="ko"] body {
  line-break: strict;
  overflow-wrap: normal;
  word-break: break-all;
}

/* Paragraphs */

p {
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

/* Anchors */

a {
  cursor: pointer;
}

/* Headings */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1.4rem;
}

/* Lists */

ul,
ol {
  margin: 0 0 1.4rem;
}

ul ul,
ol ul,
ul ol,
ol ol {
  margin: 0;
}

ul.no-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Code blocks */

pre {
  overflow: auto;
}

code {
  vertical-align: bottom;
}

/* Blockquotes */

blockquote {
  border-left: 2px solid;
  margin: 0 0 1.4rem;
  padding-left: 0.7rem;
}

/* Horizontal rules */

hr {
  border: none;
  border-bottom: 1px solid #CCC;
}

/* Image alt text */

img {
  font-size: 0.583rem;
  word-break: normal;
}
button,
.button,
.hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

button:disabled,
.button:disabled,
.hs-button:disabled {
  background-color: #D0D0D0;
  border-color: #D0D0D0;
  color: #E6E6E6;
}

/* No button */

.no-button,
.no-button:hover,
.no-button:focus,
.no-button:active {
  background: none;
  border: none;
  border-radius: 0;
  color: initial;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin-bottom: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
  transition: none;
}
/* Fields */

.hs-form-field {
  margin-bottom: 1.4rem;
}

/* Labels */

form label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

/* Form Title */
.form-title {
  margin-bottom: 0;
}

/* Help text */

form legend {
  font-size: 0.875rem;
}

/* Inputs */

form input[type=text],
form input[type=search],
form input[type=email],
form input[type=password],
form input[type=tel],
form input[type=number],
form input[type=file],
form select,
form textarea {
  display: inline-block;
  font-size: 0.875rem;
  padding: 0.7rem;
  width: 100%;
}

form textarea {
  resize: vertical;
}

form fieldset {
  max-width: 100% !important;
}

/* Inputs - checkbox/radio */

form .inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

form .inputs-list > li {
  display: block;
  margin: 0.7rem 0;
}

form .inputs-list input,
form .inputs-list span {
  vertical-align: middle;
}

form input[type=checkbox],
form input[type=radio] {
  cursor: pointer;
  margin-right: 0.35rem;
}

/* Inputs - date picker */

.hs-dateinput {
  position: relative;
}

.hs-dateinput:before {
  content:'\01F4C5';
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
}

.fn-date-picker .pika-table thead th {
  color: #FFF;
}

.fn-date-picker td.is-selected .pika-button {
  border-radius: 0;
  box-shadow: none;
}

.fn-date-picker td .pika-button:hover,
.fn-date-picker td .pika-button:focus {
  border-radius: 0 !important;
  color: #FFF;
}

/* Inputs - file picker */

form input[type=file] {
  background-color: transparent;
  border: initial;
  padding: initial;
}

/* Headings and text */

form .hs-richtext,
form .hs-richtext p {
  font-size: 0.875rem;
  margin: 0 0 1.4rem;
}

form .hs-richtext img {
  max-width: 100% !important;
}

/* GDPR */

.legal-consent-container .hs-form-booleancheckbox-display > span,
.legal-consent-container .hs-form-booleancheckbox-display > span p {
  margin-left: 1rem !important;
}

/* Validation */

.hs-form-required {
  color: #EF6B51;
}

.hs-input.invalid.error {
  border-color: #EF6B51;
}

.hs-error-msg {
  color: #EF6B51;
  margin-top: 0.35rem;
}

/* Submit button */

form input[type=submit],
form .hs-button {
  cursor: pointer;
  display: inline-block;
  text-align: center;
  transition: all 0.15s linear;
  white-space: normal;
}

/* Captcha */

.grecaptcha-badge {
  margin: 0 auto;
}


/* Table */

table {
  border-collapse: collapse;
  margin-bottom: 1.4rem;
  overflow-wrap: break-word;
}

/* Table cells */

td,
th {
  vertical-align: top;
}

/* Table header */

thead th {
  vertical-align: bottom;
}

/* Components
Specific pieces of UI that are stylized. Typically used for global partial styling
*/

/* =========================================================================
   UTILITY BAR — thin top strip with status + secondary links
   ========================================================================= */
.rs-utility-bar {
  background: var(--rs-navy-deep);
  color: var(--rs-stone);
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 50;
}
.rs-utility-bar .rs-pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--rs-ember);
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  animation: rs-pulse 2s ease-in-out infinite;
}
@keyframes rs-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.rs-utility-bar .rs-marquee { display: flex; gap: 48px; opacity: 0.65; }
.rs-utility-bar a {
  color: var(--rs-stone);
  text-decoration: none;
  opacity: 0.65;
  transition: opacity 0.3s;
}
.rs-utility-bar a:hover { opacity: 1; }

/* =========================================================================
   MAIN NAV
   ========================================================================= */
.rs-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(13, 24, 42, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--rs-stone);
  border-bottom: 1px solid rgba(246, 244, 241, 0.08);
}
.rs-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

/* Logo */
.rs-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--rs-stone);
}
.rs-logo-mark {
  width: 44px;
  height: 44px;
  background: var(--rs-stone);
  color: var(--rs-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
  padding: 4px;
}
.rs-logo-mark .rs-logo-icon {
  width: 100%;
  height: 100%;
  display: block;
}
.rs-logo-text {
  font-family: var(--rs-font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--rs-stone);
}
.rs-logo-text em { font-style: italic; font-weight: 400; }

/* Nav links + mega triggers */
.rs-nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}
.rs-nav-links > li {
  position: static;
}
.rs-nav-links > li > a,
.rs-nav-links > li > button.rs-nav-trigger {
  color: var(--rs-stone);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.01em;
  position: relative;
  padding: 28px 0;
  transition: color 0.3s;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--rs-font-sans);
}
.rs-nav-links > li > a::after,
.rs-nav-links > li > button.rs-nav-trigger::after {
  content: '';
  position: absolute;
  bottom: 16px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--rs-ember);
  transition: width 0.4s var(--rs-ease-out);
}
.rs-nav-links > li > a:hover::after,
.rs-nav-links > li > button.rs-nav-trigger:hover::after,
.rs-nav-links > li.is-open > button.rs-nav-trigger::after,
.rs-nav-links > li > a.active::after,
.rs-nav-links > li > button.rs-nav-trigger.active::after {
  width: 100%;
}
.rs-nav-links > li > a:hover,
.rs-nav-links > li > button.rs-nav-trigger:hover,
.rs-nav-links > li.is-open > button.rs-nav-trigger,
.rs-nav-links > li > a.active,
.rs-nav-links > li > button.rs-nav-trigger.active {
  color: var(--rs-ember);
}
.rs-nav-links .rs-num {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  opacity: 0.5;
}
.rs-nav-links > li > button.rs-nav-trigger .rs-chev {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  margin-left: 4px;
  transition: transform 0.3s var(--rs-ease-out);
  opacity: 0.6;
}
.rs-nav-links > li.is-open > button.rs-nav-trigger .rs-chev {
  transform: rotate(-135deg) translate(-2px, -2px);
}

/* CTA */
.rs-nav-cta {
  background: var(--rs-stone);
  color: var(--rs-navy);
  border: none;
  padding: 13px 22px;
  font-family: var(--rs-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s var(--rs-ease-out);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.rs-nav-cta:hover {
  background: var(--rs-ember);
  transform: translateY(-1px);
}
.rs-nav-cta svg { width: 14px; height: 14px; }

/* =========================================================================
   MEGA MENU PANEL
   ========================================================================= */
.rs-mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--rs-stone);
  color: var(--rs-navy);
  border-top: 1px solid rgba(13, 24, 42, 0.06);
  box-shadow: 0 24px 48px -16px rgba(13, 24, 42, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s var(--rs-ease-out), transform 0.4s var(--rs-ease-out), visibility 0s linear 0.3s;
  z-index: 35;
}
.rs-nav-links > li.is-open .rs-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s var(--rs-ease-out), transform 0.4s var(--rs-ease-out), visibility 0s;
}
.rs-mega-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 48px 32px 56px;
  display: grid;
  gap: 48px;
}

/* Programmes mega */
.rs-mega-programmes .rs-mega-inner {
  grid-template-columns: 0.9fr 2.6fr 1fr;
}

/* Eyebrow helper */
.rs-mega-eyebrow {
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.rs-mega-eyebrow .rs-num {
  background: var(--rs-navy);
  color: var(--rs-stone);
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
}

/* Intro column */
.rs-mega-intro h3 {
  font-family: var(--rs-font-display);
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--rs-navy);
  margin-bottom: 16px;
}
.rs-mega-intro h3 em { font-style: italic; color: var(--rs-steel); }
.rs-mega-intro p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--rs-charcoal);
  margin-bottom: 24px;
  max-width: 260px;
}
.rs-mega-intro .rs-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rs-navy);
  text-decoration: none;
  font-family: var(--rs-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--rs-navy);
  transition: all 0.3s;
}
.rs-mega-intro .rs-view-all:hover {
  color: var(--rs-ember-deep);
  border-color: var(--rs-ember-deep);
  gap: 12px;
}

/* Programme card grid */
.rs-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.rs-mega-card {
  display: block;
  text-decoration: none;
  padding: 22px;
  border: 1px solid rgba(13, 24, 42, 0.08);
  border-radius: 2px;
  transition: all 0.3s var(--rs-ease-out);
  background: rgba(255,255,255,0.4);
}
.rs-mega-card:hover {
  border-color: var(--rs-navy);
  background: var(--rs-navy);
  color: var(--rs-stone);
  transform: translateY(-2px);
}
.rs-mega-card .rs-mc-num {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--rs-ember-deep);
  margin-bottom: 10px;
}
.rs-mega-card:hover .rs-mc-num { color: var(--rs-ember); }
.rs-mega-card .rs-mc-title {
  font-family: var(--rs-font-display);
  font-size: 24px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--rs-navy);
  margin-bottom: 6px;
}
.rs-mega-card:hover .rs-mc-title { color: var(--rs-stone); }
.rs-mega-card .rs-mc-title em { font-style: italic; color: var(--rs-steel); }
.rs-mega-card:hover .rs-mc-title em { color: var(--rs-ember); }
.rs-mega-card .rs-mc-sub {
  font-family: var(--rs-font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--rs-warm-grey);
  margin-bottom: 14px;
}
.rs-mega-card:hover .rs-mc-sub { color: rgba(246,244,241,0.6); }
.rs-mega-card .rs-mc-meta {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 24, 42, 0.08);
}
.rs-mega-card:hover .rs-mc-meta {
  color: rgba(246,244,241,0.55);
  border-color: rgba(246,244,241,0.15);
}
.rs-mega-card .rs-mc-arrow {
  color: var(--rs-navy);
  font-size: 13px;
  transition: transform 0.3s var(--rs-ease-out);
}
.rs-mega-card:hover .rs-mc-arrow { color: var(--rs-ember); transform: translateX(4px); }

/* Featured panel */
.rs-mega-feature {
  background: var(--rs-navy);
  color: var(--rs-stone);
  padding: 24px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.rs-mega-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 80% 20%, rgba(232, 176, 107, 0.12), transparent 60%);
  pointer-events: none;
}
.rs-mega-feature-tag {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-ember);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.rs-mega-feature-tag .rs-dot {
  width: 6px;
  height: 6px;
  background: var(--rs-ember);
  border-radius: 50%;
  animation: rs-pulse 2s ease-in-out infinite;
}
.rs-mega-feature h4 {
  font-family: var(--rs-font-display);
  font-size: 22px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  position: relative;
  color: var(--rs-stone);
}
.rs-mega-feature h4 em { font-style: italic; color: var(--rs-ember); }
.rs-mega-feature p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(246, 244, 241, 0.7);
  margin-bottom: 20px;
  position: relative;
}
.rs-mega-feature .rs-mfc {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(246, 244, 241, 0.12);
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.55);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.rs-mega-feature .rs-mfc strong {
  color: var(--rs-ember);
  font-family: var(--rs-font-display);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}
.rs-btn-feature {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--rs-ember);
  color: var(--rs-navy);
  text-decoration: none;
  padding: 12px 18px;
  font-family: var(--rs-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  position: relative;
  transition: all 0.3s;
}
.rs-btn-feature:hover {
  background: var(--rs-stone);
  gap: 12px;
}

/* Resources mega */
.rs-mega-resources .rs-mega-inner {
  grid-template-columns: 1fr 1.1fr 1.1fr 0.9fr;
}
.rs-mega-pillars {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
}
.rs-mega-pillars li a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  text-decoration: none;
  color: var(--rs-navy);
  font-family: var(--rs-font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(13, 24, 42, 0.06);
  transition: all 0.25s var(--rs-ease-out);
}
.rs-mega-pillars li:last-child a {
  border-bottom: none;
}
.rs-mega-pillars li a:hover {
  color: var(--rs-ember-deep);
  padding-left: 6px;
}
.rs-mega-pillars li a em { font-style: italic; color: var(--rs-steel); }
.rs-mega-pillars li a:hover em { color: var(--rs-ember-deep); }

/* Pillar column label */
.rs-pillar-col-label {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(13, 24, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs-pillar-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-ember);
  flex-shrink: 0;
  display: inline-block;
}

/* Overlay (dims the page beneath an open mega) */
.rs-mega-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 24, 42, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
  z-index: 34;
  pointer-events: none;
}
body.rs-mega-open .rs-mega-overlay {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s, visibility 0s;
}


/* =========================================================================
   MOBILE HAMBURGER TOGGLE (hidden by default, shown ≤1024px)
   ========================================================================= */
.rs-mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(246, 244, 241, 0.15);
  border-radius: 2px;
  padding: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.3s, background 0.3s;
}
.rs-mobile-toggle:hover {
  border-color: var(--rs-ember);
  background: rgba(232, 176, 107, 0.05);
}
.rs-mobile-toggle-line {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--rs-stone);
  border-radius: 1px;
  transition: transform 0.35s var(--rs-ease-out), opacity 0.2s, background 0.3s;
}
.rs-mobile-toggle[aria-expanded="true"] .rs-mobile-toggle-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
  background: var(--rs-ember);
}
.rs-mobile-toggle[aria-expanded="true"] .rs-mobile-toggle-line:nth-child(2) {
  opacity: 0;
}
.rs-mobile-toggle[aria-expanded="true"] .rs-mobile-toggle-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
  background: var(--rs-ember);
}


/* =========================================================================
   MOBILE DRAWER — full-height slide-in panel from the right
   ========================================================================= */
.rs-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--rs-navy);
  color: var(--rs-stone);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.45s var(--rs-ease-out), visibility 0s linear 0.45s;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: -32px 0 64px -16px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.rs-mobile-drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.45s var(--rs-ease-out), visibility 0s;
}

/* Subtle ember radial wash inside the drawer */
.rs-mobile-drawer::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse at center, rgba(232, 176, 107, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* Drawer header — logo + close button */
.rs-mobile-drawer__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(246, 244, 241, 0.08);
  flex-shrink: 0;
}
.rs-mobile-close {
  background: none;
  border: 1px solid rgba(246, 244, 241, 0.15);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  color: var(--rs-stone);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--rs-ease-out);
}
.rs-mobile-close svg { width: 16px; height: 16px; }
.rs-mobile-close:hover {
  border-color: var(--rs-ember);
  color: var(--rs-ember);
  transform: rotate(90deg);
}

/* Scrollable nav body */
.rs-mobile-drawer__nav {
  position: relative;
  z-index: 1;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 0 32px;
}

/* Top-level link rows + accordion triggers */
.rs-mobile-link,
.rs-mobile-accordion__trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 24px;
  text-decoration: none;
  color: var(--rs-stone);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(246, 244, 241, 0.06);
  cursor: pointer;
  font-family: var(--rs-font-display);
  text-align: left;
  transition: background 0.25s, color 0.25s, padding-left 0.3s var(--rs-ease-out);
}
.rs-mobile-link:hover,
.rs-mobile-accordion__trigger:hover {
  background: rgba(255, 255, 255, 0.02);
  padding-left: 28px;
}
.rs-mobile-num {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--rs-ember);
  opacity: 0.7;
  flex-shrink: 0;
  width: 22px;
}
.rs-mobile-label {
  font-family: var(--rs-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
  flex: 1;
}
.rs-mobile-arrow {
  font-family: var(--rs-font-mono);
  color: rgba(246, 244, 241, 0.4);
  font-size: 14px;
  transition: color 0.3s, transform 0.3s;
}
.rs-mobile-link:hover .rs-mobile-arrow {
  color: var(--rs-ember);
  transform: translateX(3px);
}

/* Accordion chevron */
.rs-mobile-chev {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 1.5px solid rgba(246, 244, 241, 0.5);
  border-bottom: 1.5px solid rgba(246, 244, 241, 0.5);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.3s var(--rs-ease-out), border-color 0.3s;
}
.rs-mobile-accordion__trigger[aria-expanded="true"] .rs-mobile-chev {
  transform: rotate(-135deg) translate(-2px, -2px);
  border-color: var(--rs-ember);
}
.rs-mobile-accordion__trigger[aria-expanded="true"] {
  color: var(--rs-ember);
}

/* Accordion panel */
.rs-mobile-accordion__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--rs-ease-out);
  background: rgba(0, 0, 0, 0.18);
  border-bottom: 1px solid rgba(246, 244, 241, 0.06);
}
.rs-mobile-accordion__panel.is-open {
  max-height: 1400px;
}

/* Sublinks inside Programmes accordion */
.rs-mobile-sublink {
  display: block;
  text-decoration: none;
  color: var(--rs-stone);
  padding: 18px 24px;
  border-bottom: 1px solid rgba(246, 244, 241, 0.04);
  transition: background 0.25s, padding-left 0.3s var(--rs-ease-out);
}
.rs-mobile-sublink:last-of-type { border-bottom: none; }
.rs-mobile-sublink:hover {
  background: rgba(255, 255, 255, 0.025);
  padding-left: 32px;
}
.rs-mobile-sublink__num {
  display: block;
  font-family: var(--rs-font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-ember-deep);
  margin-bottom: 6px;
}
.rs-mobile-sublink__title {
  display: block;
  font-family: var(--rs-font-display);
  font-size: 19px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--rs-stone);
  line-height: 1.1;
  margin-bottom: 4px;
}
.rs-mobile-sublink__title em {
  font-style: italic;
  color: var(--rs-ember);
}
.rs-mobile-sublink__sub {
  display: block;
  font-family: var(--rs-font-display);
  font-style: italic;
  font-size: 13px;
  color: rgba(246, 244, 241, 0.55);
  line-height: 1.4;
}

/* Pillar groups inside Resources accordion */
.rs-mobile-pillar-group {
  padding: 20px 24px 12px;
  border-bottom: 1px solid rgba(246, 244, 241, 0.04);
}
.rs-mobile-pillar-group:last-of-type { border-bottom: none; }
.rs-mobile-pillar-label {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.rs-mobile-pillar-link {
  display: block;
  text-decoration: none;
  color: var(--rs-stone);
  font-family: var(--rs-font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding: 10px 0;
  border-bottom: 1px solid rgba(246, 244, 241, 0.04);
  transition: color 0.25s, padding-left 0.3s var(--rs-ease-out);
}
.rs-mobile-pillar-link:last-child { border-bottom: none; }
.rs-mobile-pillar-link:hover {
  color: var(--rs-ember);
  padding-left: 8px;
}
.rs-mobile-pillar-link em {
  font-style: italic;
  color: var(--rs-ember);
}
.rs-mobile-pillar-link:hover em { color: var(--rs-stone); }

/* "View all" link at the end of an accordion */
.rs-mobile-viewall {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--rs-ember);
  font-family: var(--rs-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 18px 24px 22px;
  transition: gap 0.3s;
}
.rs-mobile-viewall:hover { gap: 14px; }

/* Drawer foot — CTA pinned at bottom */
.rs-mobile-drawer__foot {
  position: relative;
  z-index: 1;
  padding: 20px 24px;
  border-top: 1px solid rgba(246, 244, 241, 0.08);
  background: rgba(7, 13, 23, 0.4);
  flex-shrink: 0;
}
.rs-mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--rs-ember);
  color: var(--rs-navy);
  text-decoration: none;
  padding: 16px 22px;
  font-family: var(--rs-font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  transition: background 0.3s, gap 0.3s;
}
.rs-mobile-cta svg { width: 16px; height: 16px; }
.rs-mobile-cta:hover {
  background: var(--rs-ember-deep);
  gap: 14px;
}
.rs-mobile-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.5);
  justify-content: center;
}
.rs-mobile-meta .rs-pulse-dot {
  width: 5px;
  height: 5px;
  background: var(--rs-ember);
  border-radius: 50%;
  display: inline-block;
  margin-right: 0;
}

/* Backdrop dims page behind drawer */
.rs-mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 13, 23, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  z-index: 150;
  transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.rs-mobile-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s, visibility 0s;
}

/* Body scroll lock when drawer is open */
body.rs-mobile-drawer-open {
  overflow: hidden;
}


/* =========================================================================
   RESPONSIVE
   ≤1024px: hide desktop nav + CTA, show hamburger toggle
   ≤640px:  drawer becomes full-width, slightly tighter spacing
   ========================================================================= */
@media (max-width: 1024px) {
  .rs-mega-menu { display: none !important; }
  .rs-nav-links { display: none; }
  .rs-nav-cta { display: none; }
  .rs-utility-bar .rs-marquee { display: none; }
  .rs-mobile-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  .rs-utility-bar {
    padding: 8px 20px;
    font-size: 10px;
  }
  .rs-nav-inner { padding: 14px 20px; }
  .rs-logo-text { font-size: 17px; }
  .rs-mobile-drawer { max-width: 100%; }
  .rs-mobile-drawer__head { padding: 16px 20px; }
  .rs-mobile-link,
  .rs-mobile-accordion__trigger { padding: 16px 20px; }
  .rs-mobile-sublink { padding: 16px 20px; }
  .rs-mobile-pillar-group { padding: 18px 20px 10px; }
  .rs-mobile-viewall { padding: 16px 20px 20px; }
  .rs-mobile-drawer__foot { padding: 18px 20px; }
  .rs-mobile-label { font-size: 20px; }
  .rs-mobile-sublink__title { font-size: 17px; }
  .rs-mobile-pillar-link { font-size: 15px; }
}
/* ============================================================================
   REMAIN STRONG — Footer
   ============================================================================
   Uses the same --rs-* tokens as the header.
   Three balanced columns + bottom bar. Simple, easy to scan.
   ============================================================================ */
.rs-footer {
  background: var(--rs-navy-deep);
  color: var(--rs-stone);
  font-family: var(--rs-font-sans);
  position: relative;
  /* Top accent strip separates the footer from a navy page body */
  border-top: 1px solid rgba(246, 244, 241, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(232, 176, 107, 0.15);
}

/* Ember accent rule at the very top — short, off-centre, brand colour */
.rs-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 32px;
  width: 80px;
  height: 2px;
  background: var(--rs-ember);
  z-index: 1;
}

/* Faint grid texture across the whole footer */
.rs-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(246, 244, 241, 0.018) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246, 244, 241, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  opacity: 0.6;
}

/* Add extra top padding so the accent strip has air around it */
.rs-footer__main { padding-top: 80px; }


/* ============================================================================
   MAIN — three-column grid
   ============================================================================ */
.rs-footer__main {
  position: relative;
  padding: 72px 32px 56px;
}
.rs-footer__main-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  /* Brand on the left, flexible gap, two link columns pushed right */
  grid-template-columns: auto 1fr auto auto;
  gap: 80px;
  align-items: start;
}

/* Spacer column between brand and the two right-aligned columns */
.rs-footer__col--brand { grid-column: 1; }
.rs-footer__main-inner > .rs-footer__col:nth-of-type(2) {
  grid-column: 3;
  min-width: 200px;
}
.rs-footer__main-inner > .rs-footer__col:nth-of-type(3) {
  grid-column: 4;
  min-width: 220px;
}

/* Brand column */
.rs-footer__col--brand {
  max-width: 360px;
}
.rs-footer__logo {
  display: inline-block;
  text-decoration: none;
  color: var(--rs-stone);
  margin-bottom: 20px;
}
.rs-footer__logo-text {
  font-family: var(--rs-font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--rs-stone);
}
.rs-footer__logo-text em { font-style: italic; font-weight: 400; }

.rs-footer__brand-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 244, 241, 0.65);
  margin-bottom: 24px;
}
.rs-footer__brand-tagline em {
  font-family: var(--rs-font-display);
  font-style: italic;
  color: var(--rs-ember);
  font-size: 15px;
}

.rs-footer__status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(246, 244, 241, 0.12);
  border-radius: 2px;
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.7);
}
.rs-footer__status .rs-pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--rs-ember);
  border-radius: 50%;
  display: inline-block;
  animation: rs-pulse 2s ease-in-out infinite;
}

/* Column labels */
.rs-footer__col-label {
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(246, 244, 241, 0.08);
}

/* Navigate links */
.rs-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rs-footer__links li { margin-bottom: 14px; }
.rs-footer__links li:last-child { margin-bottom: 0; }

.rs-footer__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  color: var(--rs-stone);
  text-decoration: none;
  font-family: var(--rs-font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.005em;
  transition: color 0.25s var(--rs-ease-out), gap 0.3s var(--rs-ease-out);
}
.rs-footer__links a:hover {
  color: var(--rs-ember);
  gap: 16px;
}
.rs-footer__link-num {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--rs-warm-grey);
  opacity: 0.8;
  flex-shrink: 0;
}

/* Contact list */
.rs-footer__contact-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.rs-footer__contact-list li { margin-bottom: 12px; }
.rs-footer__contact-list li:last-child { margin-bottom: 0; }

.rs-footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 244, 241, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  transition: color 0.3s;
}
a.rs-footer__contact-item:hover { color: var(--rs-ember); }
.rs-footer__contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: var(--rs-warm-grey);
  flex-shrink: 0;
}
.rs-footer__contact-icon svg { width: 100%; height: 100%; }
a.rs-footer__contact-item:hover .rs-footer__contact-icon { color: var(--rs-ember); }

/* Social icons */
.rs-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
}
.rs-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(246, 244, 241, 0.12);
  border-radius: 2px;
  color: rgba(246, 244, 241, 0.7);
  transition: all 0.3s var(--rs-ease-out);
}
.rs-footer__social a svg { width: 15px; height: 15px; }
.rs-footer__social a:hover {
  background: var(--rs-ember);
  border-color: var(--rs-ember);
  color: var(--rs-navy);
  transform: translateY(-2px);
}


/* ============================================================================
   BOTTOM BAR
   ============================================================================ */
.rs-footer__bottom {
  position: relative;
  padding: 22px 32px;
  border-top: 1px solid rgba(246, 244, 241, 0.08);
}
.rs-footer__bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.rs-footer__copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.5);
  flex-wrap: wrap;
}
.rs-footer__copy a {
  color: rgba(246, 244, 241, 0.5);
  text-decoration: none;
  transition: color 0.3s;
}
.rs-footer__copy a:hover { color: var(--rs-ember); }
.rs-footer__bottom-sep { opacity: 0.4; }

.rs-footer__signoff {
  font-family: var(--rs-font-display);
  font-size: 13px;
  color: rgba(246, 244, 241, 0.5);
  letter-spacing: -0.005em;
}
.rs-footer__signoff em {
  font-style: italic;
  color: var(--rs-ember);
}


/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1100px) {
  .rs-footer__main { padding: 64px 28px 44px; }
  .rs-footer__main-inner { gap: 48px; }
  .rs-footer__bottom { padding: 20px 28px; }
  .rs-footer::after { left: 28px; }
}

@media (max-width: 900px) {
  .rs-footer__main { padding: 56px 24px 36px; }
  .rs-footer__main-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
  }
  .rs-footer__col--brand {
    grid-column: 1 / -1;
    max-width: 100%;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(246, 244, 241, 0.06);
    margin-bottom: 8px;
  }
  /* Reset the desktop-only column positioning */
  .rs-footer__main-inner > .rs-footer__col:nth-of-type(2),
  .rs-footer__main-inner > .rs-footer__col:nth-of-type(3) {
    grid-column: auto;
    min-width: 0;
  }
  /* Move ember accent for tighter padding */
  .rs-footer::after { left: 24px; }
}

@media (max-width: 640px) {
  .rs-footer__main { padding: 48px 20px 32px; }
  .rs-footer__bottom { padding: 20px 20px; }

  .rs-footer__main-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rs-footer__col-label { margin-bottom: 16px; }
  .rs-footer__links a { font-size: 16px; }

  .rs-footer__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .rs-footer__copy { font-size: 10px; }
  .rs-footer::after { left: 20px; }
}
/* Menu and simple menu */

.hs-menu-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* Horizontal menu */

.hs-menu-wrapper.hs-menu-flow-horizontal .hs-menu-children-wrapper {
  flex-direction: column;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-horizontal ul {
    flex-direction: column;
  }
}

/* Vertical menu */

.hs-menu-wrapper.hs-menu-flow-vertical ul {
  flex-direction: column;
}

/* Flyouts */

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts ul {
  display: inline-flex;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.hs-menu-flow-vertical ul {
    display: flex;
  }
}

.hs-menu-wrapper.flyouts .hs-item-has-children {
  position: relative;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper {
  left: -9999px;
  opacity: 0;
  position: absolute;
}

.hs-menu-wrapper.flyouts .hs-menu-children-wrapper a {
  display: block;
  white-space: nowrap;
}

.hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 0;
  opacity: 1;
  top: 100%;
}

.hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
  left: 100%;
  opacity: 1;
  top: 0;
}

@media (max-width: 767px) {
  .hs-menu-wrapper.flyouts .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-horizontal.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper,
  .hs-menu-wrapper.hs-menu-flow-vertical.flyouts .hs-item-has-children:hover > .hs-menu-children-wrapper {
    left: 0;
    opacity: 1;
    position: relative;
    top: auto;
  }
}

/* CTA, logo, and rich text images */

.hs_cos_wrapper_type_cta img,
.hs_cos_wrapper_type_logo img,
.hs_cos_wrapper_type_rich_text img {
  height: auto;
  max-width: 100%;
}

/* Utilities
Helper classes with ability to override anything that comes before it
*/

/* For content that needs to be visually hidden but stay visible for screenreaders */

.show-for-sr {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}

@media (max-width: 767px) {
  .show-for-sr--mobile {
    border: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    height: 1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important;
  }
}

/* Templates */
/* Blog post */

.blog-post {
  margin: 0 auto;
  max-width: 960px;
}

.blog-post__meta {
  margin-bottom: 1.4rem;
}

.blog-post__meta a {
  text-decoration: underline;
}

.blog-post__timestamp {
  display: block;
}

.blog-post__tags svg {
  height: auto;
  margin-right: 0.35rem;
  width: 15px;
}

.blog-post__tag-link {
  font-size: 0.875rem;
}

/* Blog related posts */

.blog-related-posts {
  background-color: #F8FAFC;
}

.blog-related-posts h2 {
  text-align: center;
}

.blog-related-posts__list {
  display: flex;
  flex-wrap: wrap;
}

.blog-related-posts__post {
  flex: 0 0 100%;
  padding: 1rem;
}

@media screen and (min-width: 768px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 2);
  }
}

@media screen and (min-width: 1000px) {
  .blog-related-posts__post {
    flex: 0 0 calc(100% / 3);
  }
}

.blog-related-posts__image {
  height: auto;
  max-width: 100%;
}

.blog-related-posts__title {
  margin: 0.7rem 0;
}

/* Blog comments */

.blog-comments {
  margin: 0 auto;
  max-width: 680px;
}

.blog-comments .hs-submit {
  text-align: center;
}

.blog-comments .comment-reply-to {
  border: 0 none;
}

.blog-comments .comment-reply-to:hover,
.blog-comments .comment-reply-to:focus {
  background-color: transparent;
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════════════
   DESIGN TOKENS — matches homepage + header exactly
   ═══════════════════════════════════════════════════════ */
:root {
  --navy:       #0d182a;
  --navy-deep:  #070d17;
  --navy-soft:  #14213a;
  --stone:      #f6f4f1;
  --stone-warm: #ede9e2;
  --sage:       #7a8f83;
  --steel:      #4a6d7f;
  --charcoal:   #222629;
  --warm-grey:  #68706f;
  --light-grey: #e5e7e6;
  --cool-grey:  #c8cccb;
  --ember:      #e8b06b;
  --ember-deep: #c8884a;
 
  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-sans:    'Geist', -apple-system, system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;
 
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snappy: cubic-bezier(0.4, 0, 0.2, 1);
 
  --max-w:  1320px;
  --gutter: clamp(24px, 5vw, 80px);
}
 
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--stone);
  color: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: var(--navy); color: var(--ember); }
a { color: inherit; text-decoration: none; }



/* Blog Listing */
/* ═══════════════════════════════════════════════════════
   HERO — pure, no filters
   ═══════════════════════════════════════════════════════ */
.rc-masthead {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 64px var(--gutter) 72px;
}
.rc-masthead__inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.rc-masthead__eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.35);
  margin-bottom: 24px;
}
.rc-masthead__eyebrow-dot {
  width: 5px; height: 5px;
  background: var(--ember);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.6); }
}
.rc-masthead__title {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  color: var(--stone);
  letter-spacing: -0.025em;
}
.rc-masthead__title em { font-style: italic; color: var(--ember); }
.rc-masthead__watermark {
  position: absolute;
  bottom: -10px; right: -20px;
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 700;
  font-style: italic;
  color: rgba(246,244,241,0.028);
  pointer-events: none;
  white-space: nowrap;
  line-height: 1;
  user-select: none;
}

/* ═══════════════════════════════════════════════════════
   FILTER SECTION
   Designed as an editorial section — eyebrow, heading,
   then category + pillar navigation beneath it.
   Matches the homepage section language exactly.
   Sticky on scroll, collapses to compact bar.
   ═══════════════════════════════════════════════════════ */

/* Full editorial version — visible before scroll */
.rc-filters {
  background: var(--stone);
  border-bottom: 1px solid var(--light-grey);
}
.rc-filters__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--gutter) 0;
}

/* Eyebrow — matches homepage .rs-eyebrow exactly */
.rc-filters__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-grey);
  margin-bottom: 16px;
}
.rc-filters__eyebrow-num {
  background: var(--navy);
  color: var(--stone);
  padding: 3px 8px;
  font-size: 9px;
  letter-spacing: 0.1em;
}

/* Section heading — Playfair, matches homepage section headings */
.rc-filters__heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 36px;
}
.rc-filters__heading em { font-style: italic; color: var(--ember-deep); }

/* Category row */
.rc-cat-row {
  display: flex;
  align-items: center;
  gap: 0;
  border-top: 1px solid var(--light-grey);
}
.rc-cat-btn {
  position: relative;
  padding: 18px 40px 18px 0;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--cool-grey);
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
  line-height: 1;
  -webkit-appearance: none;
  appearance: none;
}
.rc-cat-btn::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--navy);
  transition: width 0.3s var(--ease-snappy);
}
.rc-cat-btn:hover { color: var(--charcoal); }
.rc-cat-btn:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.rc-cat-btn.is-active { color: var(--navy); font-weight: 600; }
.rc-cat-btn.is-active::before { width: calc(100% - 40px); }
.rc-cat-divider {
  width: 1px; height: 16px;
  background: var(--light-grey);
  margin: 0 8px 0 0;
  flex-shrink: 0;
}

/* Pillar row */
.rc-pillar-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0 28px;
  border-top: 1px solid var(--light-grey);
}

/* Pillar chips */
.rc-chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--warm-grey);
  background: transparent;
  border: 1px solid var(--light-grey);
  outline: none;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.rc-chip:hover { color: var(--navy); border-color: var(--cool-grey); }
.rc-chip.is-active { color: var(--navy); border-color: var(--navy); font-weight: 500; }
.rc-chip:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }

/* All chip */
.rc-chip[data-filter="all"] {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm-grey);
  border-color: var(--light-grey);
}
.rc-chip[data-filter="all"].is-active {
  color: var(--navy);
  border-color: var(--navy);
  font-weight: 600;
}

/* Chip groups — hidden by default, shown by JS */
.rc-chip-group { display: contents; }
.rc-chip-group.is-hidden { display: none; }

/* ── Sticky compact bar — appears once section scrolls out ── */
.rc-filter-sticky {
  background: var(--stone);
  border-bottom: 1px solid var(--light-grey);
  position: sticky;
  top: 0;
  z-index: 100;
  display: none;
  box-shadow: 0 2px 16px rgba(13,24,42,0.08);
}
.rc-filter-sticky.is-visible { display: block; }
.rc-filter-sticky__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}
@media (max-width: 768px) {
  .rc-filter-sticky__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
    padding-bottom: 0;
    height: 52px;
  }
  .rc-filter-sticky__inner::-webkit-scrollbar { display: none; }
}
.rc-filter-sticky__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-grey);
  white-space: nowrap;
  flex-shrink: 0;
}
.rc-filter-sticky__sep {
  width: 1px; height: 16px;
  background: var(--light-grey);
  flex-shrink: 0;
}
.rc-filter-sticky .rc-chip {
  padding: 5px 12px;
  font-size: 11px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.rc-filter-sticky .rc-chip[data-sticky-filter="all"] {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Remove old elements */
.rc-filter-block { display: none !important; }
.rc-filter-bar   { display: none !important; }
.rc-toolbar      { display: none !important; }
.rc-filters__inner.old { display: none !important; }

@media (max-width: 700px) {
  .rc-masthead { padding: 48px var(--gutter) 56px; }
  .rc-filters__inner { padding: 36px var(--gutter) 0; }
  .rc-filters__heading { font-size: 24px; margin-bottom: 24px; }
}

/* ═══════════════════════════════════════════════════════
   FEATURED HERO POST
   ═══════════════════════════════════════════════════════ */
.rc-featured {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px var(--gutter) 0;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}
.rc-featured.is-hidden { display: none; }
.rc-featured__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--navy);
  overflow: hidden;
  min-height: 420px;
  text-decoration: none;
  color: inherit;
}
.rc-featured__image {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  background: var(--navy-soft);
}
.rc-featured__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}
.rc-featured__inner:hover .rc-featured__image img { transform: scale(1.03); }
.rc-featured__image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,24,42,0.3) 0%, transparent 60%);
}
.rc-featured__placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background: var(--navy-soft);
}
.rc-featured__placeholder svg { width:40px; height:40px; stroke:rgba(246,244,241,0.15); }
.rc-featured__body {
  padding: clamp(32px,5%,56px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rc-featured__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.rc-featured__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  padding: 4px 10px;
  border: 1px solid rgba(232,176,107,0.35);
}
.rc-featured__type {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.4);
}
.rc-featured__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--stone);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.rc-featured__title em { font-style: italic; color: var(--ember); }
.rc-featured__summary {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(246,244,241,0.6);
  margin-bottom: 32px;
  flex: 1;
}
.rc-featured__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.rc-featured__meta {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.35);
}
.rc-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember);
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(232,176,107,0.4);
  transition: gap 0.2s, border-color 0.2s;
}
.rc-featured__cta:hover { gap:14px; border-color:var(--ember); }

/* ═══════════════════════════════════════════════════════
   SECTION BREAK
   ═══════════════════════════════════════════════════════ */
.rc-break {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px var(--gutter) 0;
  display: flex;
  align-items: center;
  gap: 20px;
}
.rc-break__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--warm-grey);
  white-space: nowrap;
}
.rc-break__line { flex:1; height:1px; background:var(--light-grey); }
.rc-break__count {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cool-grey);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   POSTS GRID
   ═══════════════════════════════════════════════════════ */
.rc-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px var(--gutter) 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

/* Cards hidden by filter */
.rc-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; }
.rc-card.is-hidden { display: none !important; }

.rc-card__link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.rc-card__link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,24,42,0.12);
  position: relative;
  z-index: 2;
}
.rc-card__image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-soft);
}
.rc-card__image img {
  width:100%; height:100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
  filter: saturate(0.85);
}
.rc-card__link:hover .rc-card__image img { transform: scale(1.05); }
.rc-card__placeholder {
  width:100%; height:100%;
  display:flex; align-items:center; justify-content:center;
  background: var(--navy);
}
.rc-card__placeholder svg { width:28px; height:28px; stroke:rgba(246,244,241,0.2); }
.rc-card__type-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: rgba(13,24,42,0.75);
  color: rgba(246,244,241,0.8);
  backdrop-filter: blur(4px);
}
.rc-card__body {
  padding: 24px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.rc-card__pillar {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ember-deep);
  margin-bottom: 10px;
}
.rc-card__title {
  font-family: var(--font-display);
  font-size: clamp(16px,1.8vw,20px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 12px;
  flex: 1;
}
.rc-card__title em { font-style: italic; }
.rc-card__summary {
  font-size: 13px;
  line-height: 1.6;
  color: var(--warm-grey);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rc-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--light-grey);
  margin-top: auto;
}
.rc-card__date, .rc-card__read {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.rc-card__date { color: var(--cool-grey); }
.rc-card__read { color: var(--sage); }

/* Wide card variant */
.rc-card--wide { grid-column: span 2; }
.rc-card--wide .rc-card__image { aspect-ratio: 21/9; }
.rc-card--wide .rc-card__title { font-size: clamp(20px, 2.5vw, 28px); }
.rc-card--wide .rc-card__body { padding: 28px 32px 24px; }

/* No results message */
.rc-no-results {
  display: none;
  grid-column: 1 / -1;
  padding: 64px 0;
  text-align: center;
}
.rc-no-results.is-visible { display: block; }
.rc-no-results__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-style: italic;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 8px;
}
.rc-no-results__body { font-size: 14px; color: var(--warm-grey); }

/* ═══════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════ */
.rc-pagination {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.rc-pagination.is-hidden { display: none; }
.rc-pagination a, .rc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--warm-grey);
  border: 1px solid var(--light-grey);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.rc-pagination a:hover { background:var(--navy); color:var(--stone); border-color:var(--navy); }
.rc-pagination .current { background:var(--navy); color:var(--ember); border-color:var(--navy); }
.rc-pagination__prev, .rc-pagination__next {
  width:auto !important;
  padding: 0 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   EMPTY STATE
   ═══════════════════════════════════════════════════════ */
.rc-empty {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--gutter) 96px;
  text-align: center;
}
.rc-empty svg { width:48px; height:48px; margin:0 auto 24px; stroke:var(--cool-grey); }
.rc-empty__title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 12px;
}
.rc-empty__body { font-size:14px; color:var(--warm-grey); line-height:1.6; }

/* ═══════════════════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════════════════ */
.rc-newsletter {
  background: var(--navy);
  padding: 72px var(--gutter);
}
.rc-newsletter__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.rc-newsletter__eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ember);
  margin-bottom: 12px;
}
.rc-newsletter__title {
  font-family: var(--font-display);
  font-size: clamp(22px,3vw,34px);
  font-weight: 400;
  color: var(--stone);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.rc-newsletter__title em { font-style:italic; color:var(--ember); }
.rc-newsletter__form { display:flex; }
.rc-newsletter__input {
  padding: 14px 20px;
  font-size: 13px;
  font-family: var(--font-sans);
  background: rgba(246,244,241,0.08);
  border: 1px solid rgba(246,244,241,0.15);
  border-right: none;
  color: var(--stone);
  outline: none;
  width: 280px;
  transition: border-color 0.2s;
}
.rc-newsletter__input::placeholder { color:rgba(246,244,241,0.3); }
.rc-newsletter__input:focus { border-color:rgba(246,244,241,0.35); }
.rc-newsletter__btn {
  padding: 14px 28px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  background: var(--ember);
  color: var(--navy-deep);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.rc-newsletter__btn:hover { background:var(--ember-deep); color:var(--stone); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .rc-featured__inner { grid-template-columns: 1fr; }
  .rc-featured__image { min-height: 260px; }
  .rc-grid { grid-template-columns: 1fr 1fr; }
  .rc-card--wide { grid-column: span 2; }
  .rc-newsletter__inner { grid-template-columns: 1fr; gap: 28px; }
  .rc-newsletter__input { width: 220px; }
}
@media (max-width: 600px) {
  .rc-grid { grid-template-columns: 1fr; }
  .rc-card--wide { grid-column: span 1; }
  .rc-newsletter__form { flex-direction: column; }
  .rc-newsletter__input { width:100%; border-right:1px solid rgba(246,244,241,0.15); border-bottom:none; }
}



/*  MAIN  */

:root {
  /* Height of the sticky header — used by the hero to compute its remaining viewport.*/
  --rs-header-h:    147px;
}

/* ── Reset ────────────────────────────────────────────────────────── */
.rs-page * { box-sizing: border-box; margin: 0; padding: 0; }
.rs-page img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════════════════════════════
   SHARED UTILITY CLASSES — reuse across all pages
   ═══════════════════════════════════════════════════════════════════ */

/* Section wrappers */
.rs-section          { padding: 64px 0; background: var(--rs-stone); color: var(--rs-navy); }
.rs-section--dark    { background: var(--rs-navy); color: var(--rs-stone); }
.rs-section--warm    { background: var(--rs-stone-warm); color: var(--rs-navy); }
.rs-section--tight   { padding: 48px 0; }
.rs-section--flush   { padding: 0; }
.rs-container        { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.rs-container--wide  { max-width: 1360px; margin: 0 auto; padding: 0 32px; }

/* Eyebrow — matches the header's .rs-mega-eyebrow exactly */
.rs-eyebrow {
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.rs-eyebrow__num {
  background: var(--rs-navy);
  color: var(--rs-stone);
  padding: 3px 8px;
  border-radius: 2px;
  font-size: 10px;
}
.rs-section--dark .rs-eyebrow { color: rgba(246,244,241,0.55); }
.rs-section--dark .rs-eyebrow__num { background: rgba(246,244,241,0.15); color: var(--rs-stone); }
.rs-eyebrow__line { width: 28px; height: 1px; background: currentColor; }
.rs-eyebrow--ember { color: var(--rs-ember-deep); }

/* Headings — sensible scale */
.rs-h1 {
  font-family: var(--rs-font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: inherit;
}
.rs-h2 {
  font-family: var(--rs-font-display);
  font-size: clamp(22px, 2.6vw, 34px);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: inherit;
}
.rs-h3 {
  font-family: var(--rs-font-display);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: inherit;
}
.rs-h1 em, .rs-h2 em, .rs-h3 em {
  font-style: italic;
  color: var(--rs-steel);
}
.rs-section--dark .rs-h1 em, .rs-section--dark .rs-h2 em, .rs-section--dark .rs-h3 em {
  color: var(--rs-ember);
}

/* Body text */
.rs-lede {
  font-family: var(--rs-font-sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  color: var(--rs-charcoal);
}
.rs-body {
  font-family: var(--rs-font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--rs-charcoal);
}
.rs-section--dark .rs-lede, .rs-section--dark .rs-body {
  color: rgba(246,244,241,0.72);
}

/* Buttons */
.rs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--rs-font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s var(--rs-ease-out), border-color 0.3s, transform 0.3s, gap 0.3s;
  white-space: nowrap;
}
.rs-btn svg { width: 14px; height: 14px; flex-shrink: 0; }
.rs-btn--primary { background: var(--rs-ember); color: var(--rs-navy); }
.rs-btn--primary:hover { background: var(--rs-ember-deep); transform: translateY(-1px); gap: 14px; }
.rs-btn--ghost { background: transparent; color: var(--rs-stone); border-color: rgba(246,244,241,0.28); }
.rs-btn--ghost:hover { border-color: var(--rs-stone); background: rgba(246,244,241,0.06); }
.rs-btn--ghost-dark { background: transparent; color: var(--rs-navy); border-color: rgba(13,24,42,0.22); }
.rs-btn--ghost-dark:hover { border-color: var(--rs-navy); background: rgba(13,24,42,0.04); }

/* Stat */
.rs-stat__num {
  font-family: var(--rs-font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--rs-navy);
  margin-bottom: 4px;
}
.rs-stat__num em { font-style: italic; color: var(--rs-ember-deep); }
.rs-stat__label {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
}
.rs-section--dark .rs-stat__num { color: var(--rs-stone); }
.rs-section--dark .rs-stat__num em { color: var(--rs-ember); }
.rs-section--dark .rs-stat__label { color: rgba(246,244,241,0.5); }


/* ═══════════════════════════════════════════════════════════════════
   HERO — 100vh, full-bleed, interactive
   ═══════════════════════════════════════════════════════════════════ */
.rs-page .hero {
  /* Fill the viewport below the sticky header.
     `svh` (small viewport height) accounts for mobile browser chrome —
     `vh` is the fallback for older browsers. */
  height: calc(100vh - var(--rs-header-h));
  height: calc(100svh - var(--rs-header-h));
  min-height: 600px;
  background: var(--rs-navy);
  color: var(--rs-stone);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

/* Subtle ember radial wash behind the content */
.rs-page .hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(232,176,107,0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Faint grid pattern in the background */
.rs-page .hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(246,244,241,0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246,244,241,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

.rs-page .hero__inner {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 32px 40px 40px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 3;
}

/* ─── Text column ───────────────────────────────────────────────── */
.rs-page .hero__text {
  max-width: 680px;
  position: relative;
}

.rs-page .hero__eyebrow {
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-ember);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
  opacity: 0;
  animation: heroIn 0.7s var(--rs-ease-out) 0.1s forwards;
}
.rs-page .hero__eyebrow-line {
  width: 36px;
  height: 1px;
  background: var(--rs-ember);
}

.rs-page .hero__headline {
  font-family: var(--rs-font-display);
  font-size: clamp(30px, 4.4vw, 58px);
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--rs-stone);
  margin-bottom: 32px;
}
.rs-page .hero__headline-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.rs-page .hero__headline-line > span {
  display: block;
  transform: translateY(105%);
  animation: heroReveal 0.95s var(--rs-ease-out) forwards;
}
/* The rotator line uses the same reveal mask, but needs slightly
   more breathing room for italic descenders + no-wrap. */
.rs-page .hero__headline-line--rotator {
  overflow: hidden;
  padding-bottom: 0.18em;
  white-space: nowrap;
}
.rs-page .hero__headline-line--rotator > span {
  display: block;
  white-space: nowrap;
}
.rs-page .hero__headline-line:nth-child(1) > span { animation-delay: 0.2s; }
.rs-page .hero__headline-line:nth-child(2) > span { animation-delay: 0.35s; }
.rs-page .hero__headline em {
  font-style: italic;
  color: var(--rs-ember);
  position: relative;
}

/* Rotating word — italic phrase cycles through alternatives.
   The rotator is an inline-block that contains a "ghost" placeholder
   inline span (same width as longest word) that establishes the
   correct baseline alignment with surrounding text. The actual
   animated words are absolutely positioned on top of the ghost. */
.rs-page .hero__rotator {
  display: inline-flex;
  position: relative;
  font-style: italic;
  color: var(--rs-ember);
  overflow: hidden;
  text-align: left;
  vertical-align: baseline;
  overflow: visible;
}
.rs-page .hero__rotator-ghost {
  visibility: hidden;
  white-space: nowrap;
}
.rs-page .hero__rotator-word {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  animation: heroRotate 12s infinite;
  opacity: 0;
  transform: translateY(110%);
}
.rs-page .hero__rotator-word:nth-child(1) { animation-delay:  0s; }
.rs-page .hero__rotator-word:nth-child(2) { animation-delay:  3s; }
.rs-page .hero__rotator-word:nth-child(3) { animation-delay:  6s; }
.rs-page .hero__rotator-word:nth-child(4) { animation-delay:  9s; }
@keyframes heroRotate {
  0%   { transform: translateY(110%);  opacity: 0; }
  4%   { transform: translateY(0);     opacity: 1; }
  21%  { transform: translateY(0);     opacity: 1; }
  25%  { transform: translateY(-110%); opacity: 0; }
  100% { transform: translateY(-110%); opacity: 0; }
}
.rs-page .hero__period {
  color: var(--rs-stone);
}

.rs-page .hero__lede {
  font-family: var(--rs-font-sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(246,244,241,0.78);
  margin-bottom: 36px;
  max-width: 540px;
  opacity: 0;
  animation: heroIn 0.8s var(--rs-ease-out) 0.7s forwards;
}

.rs-page .hero__ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 48px;
  opacity: 0;
  animation: heroIn 0.8s var(--rs-ease-out) 0.85s forwards;
}

.rs-page .hero__meta {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(246,244,241,0.12);
  opacity: 0;
  animation: heroIn 0.8s var(--rs-ease-out) 1s forwards;
  width: fit-content;
}
.rs-page .hero__meta-num {
  font-family: var(--rs-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--rs-stone);
  line-height: 1;
  margin-bottom: 6px;
}
.rs-page .hero__meta-num em { font-style: italic; color: var(--rs-ember); }
.rs-page .hero__meta-label {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.5);
}

/* ─── Photo composition: tall portrait + landscape inset ───────────
   A strong, simple "L" shape: a single tall portrait fills the
   right column, with a smaller landscape image inset at its
   bottom-left corner. A small index marker labels each photo.
   The whole composition tilts subtly toward the cursor. */
.rs-page .hero__visual {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
  padding: 12px 0;
}
.rs-page .hero__stack {
  position: relative;
  width: 100%;
  height: 100%;
  /* Cap so the whole stack (incl. overhang + pull-tag) fits the viewport below the header.
     Reserve ~180px for: pull-tag overhang + inset overhang + section padding. */
  max-width: 460px;
  max-height: calc(100svh - var(--rs-header-h) - 180px);
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  transition: transform 0.5s var(--rs-ease-out);
}

/* The main portrait fills the entire stack */
.rs-page .hero__image-1 {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  overflow: hidden;
  background: var(--rs-navy-deep);
  opacity: 0;
  animation: heroIn 1.1s var(--rs-ease-out) 0.4s forwards;
  box-shadow: 0 32px 80px -16px rgba(0,0,0,0.5);
}
.rs-page .hero__image-1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  animation: heroZoom 18s ease-out forwards;
}

/* Landscape inset — bottom-left corner, overhangs the portrait */
.rs-page .hero__image-2 {
  position: absolute;
  bottom: -5%;
  left: -12%;
  width: 48%;
  aspect-ratio: 5 / 4;
  border-radius: 2px;
  overflow: hidden;
  background: var(--rs-navy-deep);
  opacity: 0;
  animation: heroIn 1.1s var(--rs-ease-out) 0.7s forwards;
  box-shadow: 0 24px 60px -12px rgba(0,0,0,0.55);
  transform: translateZ(60px);
  z-index: 3;
  border: 1px solid rgba(13, 24, 42, 0.4);
}
.rs-page .hero__image-2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}

/* Small mono index markers on each image */
.rs-page .hero__image-mark {
  position: absolute;
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 244, 241, 0.75);
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rs-page .hero__image-mark::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--rs-ember);
}
.rs-page .hero__image-mark--01 {
  top: 18px;
  right: 18px;
}
.rs-page .hero__image-mark--02 {
  bottom: 12px;
  left: 14px;
  color: var(--rs-stone);
  font-size: 9px;
}

/* The pull-tag floating top-right over the portrait */
.rs-page .hero__pull-tag {
  position: absolute;
  top: 20px;
  left: -18px;
  background: var(--rs-ember);
  color: var(--rs-navy);
  padding: 10px 16px;
  border-radius: 2px;
  z-index: 4;
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: heroIn 0.8s var(--rs-ease-out) 1.1s forwards;
  transform: translateZ(40px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px -4px rgba(0,0,0,0.3);
}
.rs-page .hero__pull-tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rs-navy);
  animation: heroPulse 2s ease-in-out infinite;
}

/* Vertical scroll cue, bottom right */
.rs-page .hero__scroll {
  position: absolute;
  bottom: 28px;
  right: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--rs-font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.5);
  z-index: 4;
  opacity: 0;
  animation: heroIn 0.8s var(--rs-ease-out) 1.4s forwards;
}
.rs-page .hero__scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, transparent, var(--rs-ember));
  position: relative;
  overflow: hidden;
}
.rs-page .hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--rs-stone));
  animation: heroScrollDot 2.4s ease-in-out infinite;
}

/* Animations */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes heroReveal {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}
@keyframes heroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(1.3); }
}
@keyframes heroScrollDot {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════
   WHY
   ═══════════════════════════════════════════════════════════════════ */
.rs-page .why__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: stretch;
  margin-top: 40px;
}
.rs-page .why__image {
  overflow: hidden;
  border-radius: 2px;
  min-height: 480px;
}
.rs-page .why__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
}
.rs-page .why__body p {
  font-family: var(--rs-font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--rs-charcoal);
  margin-bottom: 16px;
}
.rs-page .why__body p:first-child {
  font-size: 16px;
  line-height: 1.55;
  color: var(--rs-navy);
  font-weight: 300;
  margin-bottom: 20px;
}
.rs-page .why__body strong {
  color: var(--rs-navy);
  font-weight: 500;
}
.rs-page .why__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(13,24,42,0.08);
}


/* ═══════════════════════════════════════════════════════════════════
   PROGRAMMES — 2x2 grid, image cards with a reveal panel
   Each card is an image. On hover, the dark info panel rises from
   the bottom and reveals the full programme detail.
   ═══════════════════════════════════════════════════════════════════ */
.rs-page .programmes__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.rs-page .programmes__intro p {
  font-family: var(--rs-font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: rgba(246,244,241,0.65);
  max-width: 480px;
}
.rs-page .programmes__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.rs-page .prog-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: inherit;
  background: var(--rs-navy-deep);
  transition: transform 0.5s var(--rs-ease-out);
}
.rs-page .prog-card:hover { transform: translateY(-3px); }

/* Background image — desaturated by default, full colour on hover */
.rs-page .prog-card__image {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.rs-page .prog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) brightness(0.65);
  transition: filter 0.6s var(--rs-ease-out), transform 0.8s var(--rs-ease-out);
}
.rs-page .prog-card:hover .prog-card__image img {
  filter: grayscale(0) brightness(0.7);
  transform: scale(1.04);
}

/* Top-left number badge */
.rs-page .prog-card__num {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-ember);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rs-page .prog-card__num::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--rs-ember);
  border-radius: 50%;
}

/* Top-right duration */
.rs-page .prog-card__duration {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  text-align: right;
  font-family: var(--rs-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.7);
  line-height: 1.4;
}
.rs-page .prog-card__duration strong {
  display: block;
  font-family: var(--rs-font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--rs-stone);
  letter-spacing: -0.01em;
  font-weight: 400;
  margin-bottom: 2px;
}

/* Body panel — sits at the bottom, expands up on hover */
.rs-page .prog-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 24px 22px;
  background: linear-gradient(to top, var(--rs-navy-deep) 0%, var(--rs-navy-deep) 60%, rgba(7,13,23,0.7) 90%, transparent 100%);
  z-index: 2;
}
.rs-page .prog-card__title {
  font-family: var(--rs-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--rs-stone);
  line-height: 1.05;
  margin-bottom: 6px;
}
.rs-page .prog-card__title em { font-style: italic; color: var(--rs-ember); }
.rs-page .prog-card__sub {
  font-family: var(--rs-font-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(246,244,241,0.65);
  line-height: 1.4;
  margin-bottom: 0;
  transition: margin-bottom 0.4s var(--rs-ease-out);
}

/* Reveal — description + arrow that slide in on hover */
.rs-page .prog-card__reveal {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--rs-ease-out), opacity 0.4s var(--rs-ease-out), margin-top 0.5s var(--rs-ease-out);
}
.rs-page .prog-card:hover .prog-card__reveal {
  max-height: 120px;
  opacity: 1;
  margin-top: 14px;
}
.rs-page .prog-card:hover .prog-card__sub {
  margin-bottom: 0;
}
.rs-page .prog-card__desc {
  font-family: var(--rs-font-sans);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(246,244,241,0.7);
  margin-bottom: 14px;
}
.rs-page .prog-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rs-ember);
}
.rs-page .prog-card__cta-arrow {
  width: 24px;
  height: 24px;
  border: 1px solid var(--rs-ember);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.3s var(--rs-ease-out);
}
.rs-page .prog-card:hover .prog-card__cta-arrow {
  background: var(--rs-ember);
  color: var(--rs-navy);
  transform: rotate(-45deg);
}


/* ═══════════════════════════════════════════════════════════════════
   APPROACH
   ═══════════════════════════════════════════════════════════════════ */
.rs-page .approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(13,24,42,0.08);
  border: 1px solid rgba(13,24,42,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 40px;
}
.rs-page .approach__item {
  background: var(--rs-stone);
  padding: 32px;
  display: flex;
  gap: 24px;
  transition: background 0.3s;
}
.rs-page .approach__item:hover { background: var(--rs-stone-warm); }
.rs-page .approach__num {
  font-family: var(--rs-font-display);
  font-style: italic;
  font-size: 24px;
  color: var(--rs-cool-grey);
  line-height: 1;
  flex-shrink: 0;
  width: 36px;
  margin-top: -2px;
  transition: color 0.3s;
}
.rs-page .approach__item:hover .approach__num { color: var(--rs-ember-deep); }
.rs-page .approach__item h4 {
  font-family: var(--rs-font-display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--rs-navy);
  margin-bottom: 6px;
}
.rs-page .approach__item h4 em { font-style: italic; color: var(--rs-steel); }
.rs-page .approach__item p {
  font-family: var(--rs-font-sans);
  font-size: 13px;
  line-height: 1.65;
  color: var(--rs-warm-grey);
}


/* ═══════════════════════════════════════════════════════════════════
   TESTIMONIAL — editorial pull-quote with social proof rail
   Big serif statement centered. Three supporting voices below in a rail.
   ═══════════════════════════════════════════════════════════════════ */
.rs-page .voices__hero {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}
.rs-page .voices__mark {
  font-family: var(--rs-font-display);
  font-style: italic;
  font-size: 96px;
  line-height: 0.5;
  color: var(--rs-ember-deep);
  opacity: 0.3;
  margin-bottom: 8px;
  display: block;
}
.rs-page .voices__quote {
  font-family: var(--rs-font-display);
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--rs-navy);
  margin-bottom: 36px;
}
.rs-page .voices__quote em {
  font-style: italic;
  color: var(--rs-steel);
}
.rs-page .voices__attribution {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(13,24,42,0.1);
  margin-bottom: 56px;
}
.rs-page .voices__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rs-stone-warm);
}
.rs-page .voices__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rs-page .voices__attribution-text strong {
  display: block;
  font-family: var(--rs-font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--rs-navy);
  margin-bottom: 2px;
}
.rs-page .voices__attribution-text span {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
}

/* Social proof rail — three smaller voices */
.rs-page .voices__rail {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.rs-page .voices__rail-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rs-page .voices__rail-quote {
  font-family: var(--rs-font-display);
  font-size: 14px;
  line-height: 1.5;
  color: var(--rs-charcoal);
  font-style: italic;
}
.rs-page .voices__rail-attr {
  font-family: var(--rs-font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rs-warm-grey);
  line-height: 1.5;
}
.rs-page .voices__rail-attr strong {
  display: block;
  font-family: var(--rs-font-sans);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 12px;
  color: var(--rs-navy);
  margin-bottom: 2px;
}


/* ═══════════════════════════════════════════════════════════════════
   FINAL CTA — full-bleed dark, confident statement, programme paths
   No generic image. Just a clear ask and the four paths.
   ═══════════════════════════════════════════════════════════════════ */
.rs-page .closing {
  position: relative;
  overflow: hidden;
  background: var(--rs-navy-deep);
  color: var(--rs-stone);
  padding: 88px 0 80px;
}
.rs-page .closing::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 70% 30%, rgba(232,176,107,0.08), transparent 60%);
  pointer-events: none;
}
.rs-page .closing__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}
.rs-page .closing__top {
  text-align: center;
  margin-bottom: 64px;
}
.rs-page .closing__eyebrow {
  font-family: var(--rs-font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rs-ember);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.rs-page .closing__eyebrow::before,
.rs-page .closing__eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--rs-ember);
}
.rs-page .closing__headline {
  font-family: var(--rs-font-display);
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--rs-stone);
  margin-bottom: 20px;
}
.rs-page .closing__headline em {
  font-style: italic;
  color: var(--rs-ember);
}
.rs-page .closing__lede {
  font-family: var(--rs-font-sans);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(246,244,241,0.7);
  max-width: 620px;
  margin: 0 auto;
}

/* Programme paths — four rows */
.rs-page .closing__paths {
  border-top: 1px solid rgba(246,244,241,0.1);
  border-bottom: 1px solid rgba(246,244,241,0.1);
  margin: 48px 0 56px;
}
.rs-page .closing__path {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(246,244,241,0.06);
  color: inherit;
  text-decoration: none;
  transition: background 0.3s, padding-left 0.3s var(--rs-ease-out);
}
.rs-page .closing__path:last-child { border-bottom: none; }
.rs-page .closing__path:hover {
  padding-left: 12px;
  background: rgba(255,255,255,0.02);
}
.rs-page .closing__path-idx {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(246,244,241,0.4);
  width: 28px;
}
.rs-page .closing__path-title {
  font-family: var(--rs-font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--rs-stone);
  line-height: 1.1;
}
.rs-page .closing__path-title em {
  font-style: italic;
  color: var(--rs-ember);
}
.rs-page .closing__path-format {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.45);
  white-space: nowrap;
}
.rs-page .closing__path-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(246,244,241,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rs-stone);
  font-size: 12px;
  transition: all 0.3s var(--rs-ease-out);
  flex-shrink: 0;
}
.rs-page .closing__path:hover .closing__path-arrow {
  background: var(--rs-ember);
  border-color: var(--rs-ember);
  color: var(--rs-navy);
  transform: translateX(4px);
}

/* Bottom — the single primary action */
.rs-page .closing__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.rs-page .closing__action-label {
  font-family: var(--rs-font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246,244,241,0.4);
}
.rs-page .closing__action .rs-btn {
  padding: 16px 32px;
  font-size: 14px;
}
.rs-page .closing__action-note {
  font-family: var(--rs-font-sans);
  font-size: 13px;
  color: rgba(246,244,241,0.5);
  margin-top: 8px;
}
.rs-page .closing__action-note em {
  font-style: italic;
  color: var(--rs-ember);
}
/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE — laptop (1100px), tablet (900px), mobile (640px)
   ═══════════════════════════════════════════════════════════════════ */

/* Laptop / smaller desktop — tighten spacing, slightly smaller type */
@media (max-width: 1100px) {
  .rs-page .hero__inner { padding: 28px 32px 32px; gap: 36px; }
  .rs-page .hero__stack { max-width: 400px; }
  .rs-page .hero__pull-tag { top: 14px; left: -10px; padding: 8px 12px; font-size: 9px; }
  .rs-page .hero__image-2 { width: 44%; }
  .rs-page .hero__scroll { display: none; }

  .rs-section { padding: 56px 0; }
  .rs-container, .rs-container--wide { padding: 0 28px; }

  .rs-page .why__grid { gap: 40px; }
  .rs-page .programmes__intro { gap: 40px; margin-bottom: 36px; }
  .rs-page .programmes__grid { gap: 16px; }
  .rs-page .closing__inner { padding: 0 32px; }
}

/* Tablet — collapse the two-column hero & most grids to single columns */
@media (max-width: 900px) {
  .rs-page .hero {
    height: auto;
    min-height: 0;
    padding: 56px 0 64px;
  }
  .rs-page .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 0 24px;
  }
  .rs-page .hero__text { max-width: 100%; }
  .rs-page .hero__headline { margin-bottom: 24px; }
  .rs-page .hero__lede { max-width: 100%; margin-bottom: 28px; }
  .rs-page .hero__ctas { margin-bottom: 36px; }
  .rs-page .hero__meta { gap: 32px; padding-top: 24px; }
  .rs-page .hero__visual {
    height: auto;
    padding: 0;
  }
  .rs-page .hero__stack {
    max-width: 100%;
    max-height: none;
    width: min(420px, 100%);
    margin: 0 auto;
    aspect-ratio: 4/5;
  }
  .rs-page .hero__pull-tag { top: 16px; left: -8px; }

  /* Why — image above text */
  .rs-page .why__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .rs-page .why__image { min-height: 280px; max-height: 360px; }
  .rs-page .why__stats { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  /* Programmes — 2x2 stays but tighter */
  .rs-page .programmes__intro {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
  .rs-page .programmes__grid { gap: 14px; }
  .rs-page .prog-card { aspect-ratio: 5/4; }

  /* Approach — collapse to single column */
  .rs-page .approach__grid { grid-template-columns: 1fr; }

  /* Testimonial rail — vertical */
  .rs-page .voices__rail { grid-template-columns: 1fr; gap: 24px; }

  /* Closing paths — reduce columns to 3 */
  .rs-page .closing__path { grid-template-columns: auto 1fr auto; }
  .rs-page .closing__path-format { display: none; }
  .rs-page .closing__inner { padding: 0 24px; }
}

/* Mobile — single column everywhere, smaller type, tighter spacing */
@media (max-width: 640px) {
  .rs-section { padding: 48px 0; }
  .rs-container, .rs-container--wide { padding: 0 20px; }

  /* Hero */
  .rs-page .hero { padding: 44px 0 52px; }
  .rs-page .hero__inner { padding: 0 20px; gap: 44px; }
  .rs-page .hero__eyebrow { font-size: 10px; margin-bottom: 20px; }
  .rs-page .hero__headline {
    font-size: clamp(28px, 9vw, 40px);
    margin-bottom: 20px;
  }
  .rs-page .hero__rotator { width: auto; }
  .rs-page .hero__lede { font-size: 14px; }
  .rs-page .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .rs-page .hero__ctas .rs-btn { justify-content: center; width: 100%; }
  .rs-page .hero__meta {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
  }
  .rs-page .hero__meta-num { font-size: 18px; }
  .rs-page .hero__meta-label { font-size: 9px; }
  .rs-page .hero__image-mark--01 { top: 12px; right: 12px; font-size: 9px; }
  .rs-page .hero__pull-tag { top: 12px; left: -4px; padding: 7px 10px; font-size: 9px; }
  /* Hide the smaller landscape inset on mobile — keep just the main portrait */
  .rs-page .hero__image-2 { display: none; }

  /* Section type */
  .rs-h1 { font-size: clamp(24px, 7vw, 32px); }
  .rs-h2 { font-size: clamp(22px, 6.4vw, 28px); }
  .rs-h3 { font-size: 18px; }
  .rs-eyebrow { font-size: 10px; margin-bottom: 14px; }
  .rs-lede { font-size: 14px; }
  .rs-body { font-size: 13px; }

  /* Buttons full-width */
  .rs-btn { padding: 13px 18px; font-size: 13px; }

  /* Why */
  .rs-page .why__grid { gap: 28px; }
  .rs-page .why__image { min-height: 220px; max-height: 280px; }
  .rs-page .why__body p:first-child { font-size: 15px; }
  .rs-page .why__stats {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-top: 20px;
  }
  .rs-stat__num { font-size: 22px; }

  /* Programmes — single column */
  .rs-page .programmes__grid { grid-template-columns: 1fr; gap: 12px; }
  .rs-page .prog-card { aspect-ratio: 5/4; }
  .rs-page .prog-card__title { font-size: 20px; }
  .rs-page .prog-card__num { top: 14px; left: 14px; font-size: 9px; }
  .rs-page .prog-card__duration { top: 14px; right: 14px; }
  .rs-page .prog-card__duration strong { font-size: 13px; }
  .rs-page .prog-card__body { padding: 18px 18px 16px; }
  /* On mobile, show the description by default (no hover) */
  .rs-page .prog-card__reveal { max-height: 200px; opacity: 1; margin-top: 12px; }
  .rs-page .prog-card__desc { font-size: 12px; }

  /* Approach */
  .rs-page .approach__item { padding: 24px 20px; gap: 16px; }
  .rs-page .approach__num { font-size: 22px; width: 28px; }
  .rs-page .approach__item h4 { font-size: 15px; }
  .rs-page .approach__item p { font-size: 13px; }

  /* Testimonial */
  .rs-page .voices__mark { font-size: 64px; margin-bottom: 4px; }
  .rs-page .voices__quote { font-size: 19px; margin-bottom: 28px; line-height: 1.4; }
  .rs-page .voices__attribution { padding-bottom: 36px; margin-bottom: 36px; }
  .rs-page .voices__rail { display: none; }

  /* Closing */
  .rs-page .closing { padding: 64px 0 56px; }
  .rs-page .closing__inner { padding: 0 20px; }
  .rs-page .closing__top { margin-bottom: 40px; }
  .rs-page .closing__headline { font-size: clamp(22px, 6.4vw, 32px); }
  .rs-page .closing__paths { margin: 32px 0 40px; }
  .rs-page .closing__path {
    grid-template-columns: auto 1fr auto;
    padding: 16px 0;
    gap: 16px;
  }
  .rs-page .closing__path:hover { padding-left: 0; }
  .rs-page .closing__path-title { font-size: 17px; }
  .rs-page .closing__action .rs-btn { padding: 14px 22px; font-size: 13px; width: 100%; justify-content: center; }
}

/* Disable magnetic 3D hover on touch devices — no useful interaction */
@media (hover: none) {
  .rs-page .hero__stack { transform: none !important; transition: none; }
}