/*
Theme Name: IRDC Site
Theme URI: https://www.islandroadhouse.com/
Author: Island Roadhouse Data Centers, LLC
Description: Custom block theme for the Island Roadhouse Data Centers website.
Version: 0.6.3
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.1
License: Proprietary. Company-owned. Not for redistribution.
Text Domain: irdc-site
*/

/* Everything durable is in theme.json. This file carries the theme header and the rules theme.json cannot express. */

/* Brand utilities kept from 0.1.0 for the redesign patterns. */
.irdc-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--gold-deep); font-weight: 700; }
.has-navy-background-color .irdc-eyebrow, .has-navy-deep-background-color .irdc-eyebrow { color: var(--wp--preset--color--gold-bright); }
.irdc-rule-top { border-top: 1px solid var(--wp--preset--color--rule); }

/* Type scale: every size above 16px is expressed against this variable. */
:root { --irdc-k: min(1.2vw, 17.28px); }
@media screen and (max-width: 767px) and (orientation: portrait) { :root { --irdc-k: calc(0.012 * min(100vh, 900px)); } }

/* Template parts and main sit edge to edge. */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks > header.irdc-site-header { position: sticky; top: 0; z-index: 100; }
.admin-bar .wp-site-blocks > header.irdc-site-header { top: 32px; }

/* Header: 106px with a 1px black border, logo, navigation, square social links, pill button. */
.irdc-live-header { border: 1px solid #000; min-height: 106px; box-sizing: border-box; }
.irdc-live-header .irdc-live-logo { margin: 0; }
.irdc-live-nav .wp-block-navigation-item__content { padding: 0 6px; }
.irdc-live-nav .wp-block-navigation__submenu-icon { margin-left: 12px; width: 14px; height: 14px; }
.irdc-live-nav .wp-block-navigation__submenu-icon svg { width: 14px; height: 14px; stroke-width: 1.2; }
.irdc-live-nav .wp-block-navigation__submenu-container { background: #fff; border: 0 !important; padding: 12px 0; min-width: 260px !important; }
.irdc-live-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 6px 20px; }
.irdc-live-nav .current-menu-item > a, .irdc-live-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.irdc-social-squares.wp-block-social-links { gap: 8px; }
.irdc-social-squares .wp-social-link { border: 2px solid #000; border-radius: 6px; width: 37px; height: 37px; display: flex; align-items: center; justify-content: center; background: transparent !important; }
.irdc-social-squares .wp-social-link a { padding: 0 !important; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.irdc-social-squares .wp-social-link svg { width: 17px; height: 17px; fill: #000; margin: 0; }
.irdc-live-cta .wp-block-button__link { border-radius: 300px; }
@media (max-width: 767px) {
  .irdc-live-header { min-height: 112px; padding-left: 6vw !important; padding-right: 6vw !important; }
  .irdc-live-header-actions { display: none !important; }
  .irdc-live-header .irdc-live-logo img { width: 60px !important; height: auto !important; }
}

/* Images with a fixed aspect ratio fill their column. */
.wp-block-image img[style*="aspect-ratio"] { width: 100%; height: auto; }
.wp-block-image { margin: 0; }
.wp-block-columns { margin-block: 0; }

/* Blog lists and posts. */
.irdc-list-excerpt .wp-block-post-excerpt__more-text { margin-top: 20px; }
.irdc-list-excerpt .wp-block-post-excerpt__more-link { color: #000; text-decoration: underline; text-underline-offset: 4px; }
.wp-block-post-title a { color: inherit; }
.irdc-live-post-nav .post-navigation-link-next, .irdc-live-post-nav .post-navigation-link-previous { max-width: 46%; font-family: var(--wp--preset--font-family--montserrat); font-weight: 700; font-size: clamp(26px, 1.2rem + 1.6vw, 43.648px); letter-spacing: -0.05em; line-height: 1.1; }
.irdc-live-post-nav a { color: #000; text-decoration: none; }
.irdc-live-post-nav .wp-block-post-navigation-link__arrow-previous, .irdc-live-post-nav .wp-block-post-navigation-link__arrow-next { font-family: var(--wp--preset--font-family--roboto); font-weight: 300; margin: 0 20px; }
.irdc-summary-grid .wp-block-post-title a { text-decoration: none; }

/* Plugin-rendered components fill their column. */
.irdc-component { height: 100%; }

/* Lists: items sit half an em apart. */
.irdc-sqs-list > li + li { margin-top: 0.5em; }

/* Solid square social icons. */
.irdc-social-solid.wp-block-social-links { gap: 12px; }
.irdc-social-solid .wp-social-link { width: 48px; height: 48px; border-radius: 0; background: #000 !important; color: #fff !important; display: flex; align-items: center; justify-content: center; }
.irdc-social-solid .wp-social-link a { padding: 0 !important; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.irdc-social-solid .wp-social-link svg { width: 24px; height: 24px; fill: #fff; margin: 0; }

/* Phones: a 6vw gutter; full-bleed sections keep images edge to edge and inset the text; buttons return to their natural width once their column stacks. */
@media (max-width: 767px) {
  .irdc-sec { padding-left: 6vw !important; padding-right: 6vw !important; }
  .irdc-sec-edge :is(p, h1, h2, h3, h4, h5, h6) { padding-left: 6vw; padding-right: 6vw; }
  .irdc-sec-edge :is(.wp-block-list, .wp-block-buttons, .wp-block-social-links, .irdc-sqs-form) { margin-left: 6vw !important; margin-right: 6vw !important; }
  .wp-block-buttons > .wp-block-button.wp-block-button__width-100 { width: auto !important; flex-basis: auto !important; }
}

/* Redesign system: navy grounds, Proxima Nova, one accent token pair. Classes are prefixed rd-. */

:root {
  --rd-navy: var(--wp--preset--color--navy, #00245C);
  --rd-navy-deep: var(--wp--preset--color--navy-deep, #001736);
  --rd-navy-mid: var(--wp--preset--color--navy-mid, #2A5FA0);
  --rd-ink: var(--wp--preset--color--ink, #16202E);
  --rd-slate: var(--wp--preset--color--slate, #4A5566);
  --rd-rule: var(--wp--preset--color--rule, #C7D0DA);
  --rd-panel: var(--wp--preset--color--panel, #F2F5F9);
  --rd-panel-blue: var(--wp--preset--color--panel-blue, #E7EDF6);
  --rd-accent: var(--wp--preset--color--accent, #E8A33D);
  --rd-accent-deep: var(--wp--preset--color--accent-deep, #8E6A2F);
  --rd-font: var(--wp--preset--font-family--proxima-nova, "Proxima Nova", "Helvetica Neue", Arial, sans-serif);
  --rd-wrap: 1240px;
  --rd-gutter: clamp(20px, 5vw, 64px);
  --rd-section: clamp(72px, 9vw, 136px);
  --rd-radius: 14px;
  --rd-fs-display: clamp(2.6rem, 1.4rem + 4.4vw, 5.4rem);
  --rd-fs-h1: clamp(2.3rem, 1.5rem + 2.9vw, 4.1rem);
  --rd-fs-h2: clamp(1.9rem, 1.35rem + 2vw, 3.2rem);
  --rd-fs-h3: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem);
  --rd-fs-lead: clamp(1.12rem, 1rem + 0.45vw, 1.42rem);
  --rd-fs-body: 1.125rem;
  --rd-fs-small: 0.9rem;
  --rd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* Type and color on every rd- page. */
.rd, .rd-page, .rd-site-header, .rd-site-footer, .rd-article { font-family: var(--rd-font); color: var(--rd-ink); }
.rd-page :is(h1, h2, h3, h4), .rd-article :is(h1, h2, h3, h4), .rd-site-footer :is(h2, h3, h4) { font-family: var(--rd-font); font-weight: 700; letter-spacing: -0.02em; color: var(--rd-navy); margin: 0; }
.rd-page p, .rd-page li { font-size: var(--rd-fs-body); line-height: 1.65; margin: 0; }
.rd-page p + p { margin-top: 1em; }
.rd-page a { text-underline-offset: 3px; }

/* Layout primitives. */
.rd-section { padding-block: var(--rd-section); padding-inline: var(--rd-gutter); position: relative; }
.rd-section.rd-tight { padding-block: clamp(48px, 6vw, 88px); }
.rd-wrap { max-width: var(--rd-wrap); margin-inline: auto !important; width: 100%; }
.rd-narrow { max-width: 760px; }
.rd-center { text-align: center; margin-inline: auto !important; }
.rd-light { background: #fff; }
.rd-panel { background: var(--rd-panel); }
.rd-dark { background: var(--rd-navy); color: #fff; }
.rd-darker { background: var(--rd-navy-deep); color: #fff; }
.rd-dark :is(h1, h2, h3, h4), .rd-darker :is(h1, h2, h3, h4) { color: #fff; }
.rd-dark p, .rd-darker p, .rd-dark li, .rd-darker li { color: rgba(255, 255, 255, .82); }
.rd-stack > * + * { margin-top: 1.25rem; }
.rd-gap-l > * + * { margin-top: clamp(28px, 3.4vw, 48px); }

/* Headings. */
.rd-display { font-size: var(--rd-fs-display) !important; line-height: 1.02 !important; letter-spacing: -0.035em !important; }
.rd-h1 { font-size: var(--rd-fs-h1) !important; line-height: 1.06 !important; letter-spacing: -0.03em !important; }
.rd-h2 { font-size: var(--rd-fs-h2) !important; line-height: 1.08 !important; letter-spacing: -0.025em !important; }
.rd-h3 { font-size: var(--rd-fs-h3) !important; line-height: 1.2 !important; }
.rd-lead { font-size: var(--rd-fs-lead) !important; line-height: 1.55 !important; color: var(--rd-slate); max-width: 46em; }
.rd-dark .rd-lead, .rd-darker .rd-lead, .rd-hero .rd-lead { color: rgba(255, 255, 255, .86); }
.rd-small { font-size: var(--rd-fs-small) !important; color: var(--rd-slate); }
.rd-dark .rd-small, .rd-darker .rd-small { color: rgba(255, 255, 255, .62); }
/* Every dark ground: headings white, text light. Covers grounds that are dark by component rather than by class. */
:is(.rd-hero, .rd-page-hero, .rd-cta, .rd-contact-intro, .rd-profile-feature) :is(h1, h2, h3, h4) { color: #fff; }
:is(.rd-hero, .rd-page-hero, .rd-cta, .rd-contact-intro) p { color: rgba(255, 255, 255, .84); }
:is(.rd-hero, .rd-page-hero, .rd-cta, .rd-contact-intro) .rd-lead { color: rgba(255, 255, 255, .88); }
:is(.rd-cta, .rd-contact-intro) .rd-small { color: rgba(255, 255, 255, .6); }
.rd-contact-intro .rd-eyebrow, .rd-cta .rd-eyebrow { color: var(--rd-accent) !important; }

/* Eyebrow: a short accent rule and tracked capitals. */
.rd-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .8rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--rd-accent-deep) !important; margin: 0 0 22px !important; }
.rd-eyebrow::before { content: ""; width: 36px; height: 2px; background: currentColor; flex: none; }
.rd-dark .rd-eyebrow, .rd-darker .rd-eyebrow, .rd-hero .rd-eyebrow, .rd-page-hero .rd-eyebrow { color: var(--rd-accent) !important; }
.rd-center .rd-eyebrow, .rd-eyebrow.rd-center { justify-content: center; }

/* Buttons. */
.rd-buttons { gap: 14px; margin-top: 36px !important; flex-wrap: wrap; }
.rd-page .wp-block-button__link, .rd-site-header .wp-block-button__link, .rd-site-footer .wp-block-button__link, .rd-article .wp-block-button__link { font-family: var(--rd-font); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-transform: none; border-radius: 999px; padding: 16px 28px; line-height: 1.2; transition: transform .25s var(--rd-ease), box-shadow .25s var(--rd-ease), background-color .2s, color .2s; }
.rd-btn-accent .wp-block-button__link { background: var(--rd-accent) !important; color: var(--rd-navy-deep) !important; }
.rd-btn-accent .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--rd-accent) 70%, transparent); }
.rd-btn-ghost .wp-block-button__link { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); }
.rd-btn-ghost .wp-block-button__link:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.rd-btn-navy .wp-block-button__link { background: var(--rd-navy) !important; color: #fff !important; }
.rd-btn-navy .wp-block-button__link:hover { background: var(--rd-navy-deep) !important; transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(0, 23, 54, .6); }
.rd-btn-outline .wp-block-button__link { background: transparent !important; color: var(--rd-navy) !important; box-shadow: inset 0 0 0 1.5px var(--rd-navy); }
.rd-btn-outline .wp-block-button__link:hover { background: var(--rd-navy) !important; color: #fff !important; }

/* Text link with an arrow. */
.rd-link a, a.rd-link { font-weight: 700; color: var(--rd-navy); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.rd-link a::after, a.rd-link::after { content: "\2192"; transition: transform .25s var(--rd-ease); color: var(--rd-accent-deep); }
.rd-link a:hover::after, a.rd-link:hover::after { transform: translateX(5px); }
.rd-dark .rd-link a, .rd-darker .rd-link a { color: #fff; }
.rd-dark .rd-link a::after, .rd-darker .rd-link a::after { color: var(--rd-accent); }

/* ---------- Header ---------- */
.wp-site-blocks > header.irdc-site-header { position: sticky; top: 0; z-index: 100; }
/* The translucent blurred ground sits on a layer behind the header, so the header does not confine the mobile menu overlay. */
.rd-site-header { position: relative; isolation: isolate; background: transparent; border-bottom: 1px solid color-mix(in srgb, var(--rd-rule) 70%, transparent); padding: 12px var(--rd-gutter) !important; }
.rd-site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.rd-site-header > .rd-header-inner { max-width: 1360px; margin-inline: auto; width: 100%; }
.rd-site-header .rd-logo img { height: 58px !important; width: auto !important; display: block; }
.rd-site-header .rd-nav { font-family: var(--rd-font); font-size: 15.5px; font-weight: 400; letter-spacing: .01em; }
.rd-site-header .rd-nav .wp-block-navigation-item__content { color: var(--rd-ink); padding: 8px 4px; position: relative; }
.rd-site-header .rd-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 4px; right: 4px; bottom: 2px; height: 2px; background: var(--rd-accent-deep); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--rd-ease); }
.rd-site-header .rd-nav .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after, .rd-site-header .rd-nav .current-menu-item > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.rd-site-header .rd-nav .wp-block-navigation__submenu-container { border: 1px solid var(--rd-rule) !important; border-radius: 12px; padding: 10px 0 !important; min-width: 280px !important; box-shadow: 0 24px 48px -24px rgba(0, 23, 54, .35); background: #fff; }
.rd-site-header .rd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 20px !important; }
.rd-site-header .rd-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--rd-panel); color: var(--rd-navy); }
.rd-site-header .rd-nav .wp-block-navigation__submenu-icon { width: 11px; height: 11px; margin-left: 6px; }
.rd-site-header .rd-header-cta .wp-block-button__link { padding: 13px 22px; font-size: 14.5px; }
@media (max-width: 1080px) { .rd-site-header .rd-header-cta { display: none !important; } }
@media (max-width: 781px) { .rd-site-header .rd-logo img { height: 46px !important; } }

/* ---------- Hero ---------- */
.rd-hero { min-height: min(92vh, 900px) !important; padding: 0 var(--rd-gutter) !important; align-items: stretch !important; overflow: hidden; }
.rd-hero .wp-block-cover__background { background: linear-gradient(100deg, var(--rd-navy-deep) 0%, color-mix(in srgb, var(--rd-navy-deep) 88%, transparent) 42%, color-mix(in srgb, var(--rd-navy) 45%, transparent) 100%) !important; opacity: 1 !important; }
.rd-hero::after, .rd-page-hero::after, .rd-grid-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 75%); }
.rd-hero::before { content: ""; position: absolute; z-index: 1; width: 62vw; height: 62vw; right: -18vw; top: -22vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rd-accent) 26%, transparent) 0%, transparent 62%); pointer-events: none; }
.rd-hero .wp-block-cover__inner-container { position: relative; z-index: 2; max-width: var(--rd-wrap); margin-inline: auto; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
/* Concentric rings with a slow accent sweep: an abstract power motif, drawn in CSS, behind the hero copy. */
.rd-hero .wp-block-cover__inner-container::before, .rd-hero .wp-block-cover__inner-container::after { content: ""; position: absolute; z-index: -1; pointer-events: none; width: min(62vw, 760px); aspect-ratio: 1; right: max(-14vw, -180px); top: 46%; transform: translateY(-50%); border-radius: 50%; }
.rd-hero .wp-block-cover__inner-container::before { background: repeating-radial-gradient(circle, transparent 0 55px, rgba(255, 255, 255, .075) 56px 57px); -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 71%); mask-image: radial-gradient(circle, #000 55%, transparent 71%); }
.rd-hero .wp-block-cover__inner-container::after { background: conic-gradient(from 0deg, transparent 0 78%, color-mix(in srgb, var(--rd-accent) 55%, transparent) 96%, transparent 100%); -webkit-mask-image: radial-gradient(circle, transparent 0 34%, #000 35% 69%, transparent 70%); mask-image: radial-gradient(circle, transparent 0 34%, #000 35% 69%, transparent 70%); opacity: .55; }
@media (prefers-reduced-motion: no-preference) { .rd-hero .wp-block-cover__inner-container::after { animation: rd-sweep 14s linear infinite; } @keyframes rd-sweep { to { transform: translateY(-50%) rotate(360deg); } } }
@media (max-width: 781px) { .rd-hero .wp-block-cover__inner-container::before, .rd-hero .wp-block-cover__inner-container::after { width: 120vw; right: -60vw; top: 30%; opacity: .5; } }
.rd-hero .rd-hero-copy { padding-top: clamp(96px, 14vh, 160px); max-width: 880px; }
.rd-hero .rd-display { color: #fff; }
.rd-hero .rd-lead { margin-top: 28px !important; max-width: 40em; }
.rd-hero-attrs { margin-top: clamp(56px, 9vh, 104px) !important; border-top: 1px solid rgba(255, 255, 255, .16); display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 !important; }
.rd-hero-attrs > p { padding: 22px 24px 30px 0; margin: 0 !important; font-size: .98rem !important; line-height: 1.45 !important; color: rgba(255, 255, 255, .82) !important; counter-increment: rd-attr; }
.rd-hero-attrs > p + p { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .12); }
.rd-hero-attrs > p::before { content: "0" counter(rd-attr); display: block; font-size: .78rem; letter-spacing: .16em; font-weight: 700; color: var(--rd-accent); margin-bottom: 10px; }
.rd-hero-attrs { counter-reset: rd-attr; }
@media (max-width: 900px) { .rd-hero-attrs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rd-hero-attrs > p:nth-child(3) { padding-left: 0; border-left: 0; } }

/* Page hero for inner pages. */
.rd-page-hero { position: relative; overflow: hidden; padding: clamp(96px, 12vw, 168px) var(--rd-gutter) clamp(72px, 8vw, 120px) !important; background: var(--rd-navy-deep); }
.rd-page-hero .wp-block-cover__background { background: linear-gradient(90deg, var(--rd-navy-deep) 30%, color-mix(in srgb, var(--rd-navy-deep) 55%, transparent) 100%) !important; opacity: 1 !important; }
.rd-page-hero .wp-block-cover__inner-container { position: relative; z-index: 2; max-width: var(--rd-wrap); margin-inline: auto; width: 100%; }
.rd-page-hero .rd-h1 { color: #fff; max-width: 17em; }
.rd-page-hero .rd-lead { margin-top: 26px !important; }

/* ---------- Stat band ---------- */
.rd-stats-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 !important; }
.rd-stat { padding: 8px 28px 8px 0; }
.rd-stat + .rd-stat { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.rd-stat .rd-stat-num { font-size: clamp(2.6rem, 1.8rem + 2.6vw, 4.4rem) !important; line-height: 1 !important; font-weight: 700; letter-spacing: -0.03em; color: #fff !important; }
.rd-stat .rd-stat-num em { font-style: normal; color: var(--rd-accent); font-size: .5em; letter-spacing: 0; margin-left: 6px; }
.rd-stat .rd-stat-label { margin-top: 14px !important; font-size: .98rem !important; line-height: 1.45 !important; color: rgba(255, 255, 255, .74) !important; }
.rd-stats-note { margin-top: 40px !important; font-size: .82rem !important; color: rgba(255, 255, 255, .52) !important; letter-spacing: .01em; }
@media (max-width: 781px) { .rd-stats-grid { grid-template-columns: 1fr; row-gap: 0 !important; } .rd-stat, .rd-stat + .rd-stat { padding: 24px 0 !important; border-left: 0 !important; } .rd-stat + .rd-stat { border-top: 1px solid rgba(255, 255, 255, .14); } }

/* ---------- Split sections ---------- */
.rd-split { gap: clamp(32px, 6vw, 96px) !important; align-items: flex-start !important; }
.rd-split > .wp-block-column { min-width: 0; }
.rd-constraints { list-style: none; padding: 0 !important; margin: 0 !important; border-top: 1px solid var(--rd-rule); counter-reset: rd-c; }
.rd-constraints li { counter-increment: rd-c; display: flex; align-items: baseline; gap: 22px; padding: 22px 0 !important; border-bottom: 1px solid var(--rd-rule); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem) !important; font-weight: 700; color: var(--rd-navy); letter-spacing: -0.02em; line-height: 1.1 !important; margin: 0 !important; transition: padding-left .35s var(--rd-ease); }
.rd-constraints li::before { content: "0" counter(rd-c); font-size: .8rem; letter-spacing: .16em; color: var(--rd-accent-deep); flex: none; width: 2.4em; }
.rd-constraints li:hover { padding-left: 10px !important; }

/* ---------- Cards ---------- */
.rd-cards { gap: clamp(18px, 2.4vw, 32px) !important; margin-top: clamp(40px, 5vw, 64px) !important; }
.rd-card { background: #fff; border: 1px solid var(--rd-rule); border-radius: var(--rd-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--rd-ease), box-shadow .35s var(--rd-ease), border-color .35s; }
.rd-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(0, 23, 54, .45); border-color: color-mix(in srgb, var(--rd-navy) 30%, var(--rd-rule)); }
.rd-card .rd-card-img { margin: 0 !important; overflow: hidden; aspect-ratio: 16 / 10; background: var(--rd-navy-deep); }
.rd-card .rd-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s var(--rd-ease); }
.rd-card:hover .rd-card-img img { transform: scale(1.05); }
.rd-card .rd-card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.rd-card .rd-card-body > * { margin: 0 !important; }
.rd-card .rd-card-body .rd-link { margin-top: auto !important; padding-top: 8px; }
.rd-card .rd-card-kicker { font-size: .78rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-accent-deep); }

/* ---------- Audience tiles on navy ---------- */
.rd-tiles { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px !important; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--rd-radius); overflow: hidden; margin-top: clamp(40px, 5vw, 64px) !important; }
.rd-tile { background: var(--rd-navy); padding: 34px 28px 32px; position: relative; transition: background-color .3s; }
.rd-tile::before { content: ""; position: absolute; left: 28px; top: 0; width: 40px; height: 3px; background: var(--rd-accent); transform: scaleX(.4); transform-origin: left; transition: transform .35s var(--rd-ease); }
.rd-tile:hover { background: color-mix(in srgb, var(--rd-navy) 80%, #fff); }
.rd-tile:hover::before { transform: scaleX(1); }
.rd-tile h3 { font-size: 1.3rem !important; color: #fff; }
.rd-tile p { font-size: 1rem !important; margin-top: 12px !important; }
.rd-tile .rd-link { margin-top: 20px !important; font-size: .95rem !important; }
@media (max-width: 1000px) { .rd-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .rd-tiles { grid-template-columns: 1fr; } }

/* ---------- Numbered features ---------- */
.rd-features { gap: clamp(24px, 3vw, 48px) !important; margin-top: clamp(40px, 5vw, 64px) !important; counter-reset: rd-f; }
.rd-feature { counter-increment: rd-f; border-top: 2px solid var(--rd-navy); padding-top: 24px; }
.rd-feature::before { content: "0" counter(rd-f); display: block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; color: var(--rd-accent-deep); margin-bottom: 18px; }
.rd-feature h3 { font-size: var(--rd-fs-h3) !important; }
.rd-feature p { margin-top: 12px !important; color: var(--rd-slate); }

/* Image with a frame. */
.rd-frame { margin: 0 !important; border-radius: var(--rd-radius); overflow: hidden; position: relative; box-shadow: 0 40px 80px -48px rgba(0, 23, 54, .55); }
.rd-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-frame.rd-tall img { aspect-ratio: 4 / 5; }
.rd-frame.rd-wide img { aspect-ratio: 21 / 9; }
.rd-frame.rd-wide { margin-top: clamp(40px, 5vw, 64px) !important; }

/* ---------- Capacity profiles ---------- */
.rd-profiles { gap: clamp(18px, 2.4vw, 32px) !important; margin-top: clamp(40px, 5vw, 64px) !important; }
.rd-profile { border-radius: var(--rd-radius); padding: clamp(28px, 3.4vw, 48px); border: 1px solid var(--rd-rule); background: #fff; position: relative; overflow: hidden; }
.rd-profile.rd-profile-feature { background: var(--rd-navy); border-color: var(--rd-navy); color: #fff; }
.rd-profile.rd-profile-feature::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--rd-accent) 24%, transparent), transparent 55%); }
.rd-profile > * { position: relative; z-index: 1; }
.rd-profile .rd-profile-tag { font-size: .78rem !important; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-accent-deep); }
.rd-profile.rd-profile-feature .rd-profile-tag { color: var(--rd-accent); }
.rd-profile h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem) !important; margin-top: 14px !important; }
.rd-profile.rd-profile-feature h3 { color: #fff; }
.rd-profile .rd-profile-num { font-size: clamp(3.4rem, 2.2rem + 4vw, 6rem) !important; font-weight: 700; line-height: .95 !important; letter-spacing: -0.04em; color: var(--rd-navy); margin-top: 28px !important; }
.rd-profile.rd-profile-feature .rd-profile-num { color: #fff; }
.rd-profile .rd-profile-num em { font-style: normal; font-size: .38em; letter-spacing: 0; color: var(--rd-accent-deep); margin-left: 8px; }
.rd-profile.rd-profile-feature .rd-profile-num em { color: var(--rd-accent); }
.rd-profile .rd-profile-unit { font-size: .95rem !important; color: var(--rd-slate); margin-top: 8px !important; }
.rd-profile.rd-profile-feature .rd-profile-unit, .rd-profile.rd-profile-feature p { color: rgba(255, 255, 255, .8); }
.rd-profile .rd-profile-desc { margin-top: 22px !important; padding-top: 22px; border-top: 1px solid var(--rd-rule); }
.rd-profile.rd-profile-feature .rd-profile-desc { border-top-color: rgba(255, 255, 255, .16); }
.rd-checks { list-style: none; padding: 0 !important; margin: 22px 0 0 !important; }
.rd-checks li { position: relative; padding-left: 34px; margin: 0 !important; }
.rd-checks li + li { margin-top: 12px !important; }
.rd-checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: color-mix(in srgb, var(--rd-accent-deep) 14%, transparent); box-shadow: inset 0 0 0 1.5px var(--rd-accent-deep); }
.rd-checks li::after { content: ""; position: absolute; left: 6px; top: calc(.32em + 4px); width: 5px; height: 9px; border: solid var(--rd-accent-deep); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.rd-profile-feature .rd-checks li::before, .rd-dark .rd-checks li::before { background: color-mix(in srgb, var(--rd-accent) 18%, transparent); box-shadow: inset 0 0 0 1.5px var(--rd-accent); }
.rd-profile-feature .rd-checks li::after, .rd-dark .rd-checks li::after { border-color: var(--rd-accent); }
.rd-fit { border-radius: var(--rd-radius); background: #fff; border: 1px solid var(--rd-rule); padding: clamp(24px, 3vw, 40px); }
.rd-fit h3 { font-size: 1.25rem !important; }

/* Steps. */
.rd-steps { gap: 0 !important; margin-top: clamp(36px, 4vw, 56px) !important; border-top: 1px solid rgba(255, 255, 255, .16); }
.rd-step { padding: 30px 32px 8px 0; counter-increment: rd-s; }
.rd-step + .rd-step { padding-left: 32px; border-left: 1px solid rgba(255, 255, 255, .12); }
.rd-steps { counter-reset: rd-s; }
.rd-step::before { content: "Step 0" counter(rd-s); display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-accent); margin-bottom: 14px; }
.rd-step h3 { font-size: 1.45rem !important; }
.rd-step p { margin-top: 10px !important; }
@media (max-width: 781px) { .rd-step + .rd-step { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); } }

/* ---------- CTA band ---------- */
.rd-cta { background: var(--rd-navy-deep); color: #fff; overflow: hidden; }
.rd-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 88% 120%, color-mix(in srgb, var(--rd-accent) 30%, transparent) 0%, transparent 55%), radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--rd-navy-mid) 40%, transparent) 0%, transparent 50%); pointer-events: none; }
.rd-cta > * { position: relative; z-index: 1; }
.rd-cta h2 { color: #fff; }
.rd-cta-inner { gap: clamp(24px, 5vw, 80px) !important; align-items: flex-end !important; }
/* Space between the CTA heading and its paragraph. */
.rd-cta :is(h2, .rd-h2) + p { margin-top: clamp(14px, 1.6vw, 22px) !important; }

/* ---------- Post cards (query loop) ---------- */
.rd-posts .wp-block-post-template { gap: clamp(18px, 2.4vw, 32px) !important; margin-top: clamp(36px, 4vw, 56px) !important; }
.rd-posts .wp-block-post { background: #fff; border: 1px solid var(--rd-rule); border-radius: var(--rd-radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--rd-ease), box-shadow .35s var(--rd-ease); }
.rd-posts .wp-block-post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(0, 23, 54, .45); }
.rd-posts .wp-block-post-featured-image { margin: 0 !important; overflow: hidden; }
.rd-posts .wp-block-post-featured-image img { transition: transform .8s var(--rd-ease); }
.rd-posts .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.rd-posts .wp-block-post-date { padding: 24px 26px 0; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rd-accent-deep); font-family: var(--rd-font); }
.rd-posts .wp-block-post-title { padding: 10px 26px 30px; margin: 0 !important; font-family: var(--rd-font); font-size: 1.3rem !important; line-height: 1.25 !important; letter-spacing: -0.015em; }
.rd-posts .wp-block-post-title a { color: var(--rd-navy); text-decoration: none; }
.rd-section-head { gap: 24px !important; align-items: flex-end !important; justify-content: space-between; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.rd-contact { gap: 0 !important; min-height: calc(100vh - 83px); }
.rd-contact > .rd-contact-intro { position: relative; overflow: hidden; background: var(--rd-navy-deep); padding: clamp(64px, 8vw, 120px) clamp(28px, 5vw, 80px) !important; color: #fff; }
.rd-contact > .rd-contact-intro::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--rd-accent) 13%, transparent), transparent 55%); pointer-events: none; }
.rd-contact > .rd-contact-intro > * { position: relative; z-index: 1; }
.rd-contact > .rd-contact-form { background: var(--rd-panel); padding: clamp(40px, 6vw, 96px) clamp(20px, 5vw, 80px) !important; }
.rd-details { margin-top: 44px !important; border-top: 1px solid rgba(255, 255, 255, .16); }
.rd-details p { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); margin: 0 !important; font-size: 1rem !important; }
.rd-details p strong { color: rgba(255, 255, 255, .55); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding-top: 3px; }
.rd-details a { color: #fff; }
@media (max-width: 600px) { .rd-details p { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Footer ---------- */
.rd-site-footer { background: var(--rd-navy-deep); color: rgba(255, 255, 255, .78); padding: clamp(64px, 7vw, 104px) var(--rd-gutter) 36px !important; position: relative; }
.rd-site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--rd-accent) 0 120px, transparent 120px); }
.rd-site-footer .rd-footer-inner { max-width: 1360px; margin-inline: auto; width: 100%; }
.rd-site-footer .rd-footer-cols { gap: clamp(28px, 4vw, 64px) !important; }
.rd-site-footer .rd-footer-brand { font-size: 1.6rem !important; color: #fff !important; letter-spacing: -0.02em; }
.rd-site-footer p, .rd-site-footer li { font-size: .98rem; line-height: 1.6; color: rgba(255, 255, 255, .72); margin: 0; }
.rd-site-footer p + p { margin-top: 10px; }
.rd-site-footer h4 { font-size: .78rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--rd-accent) !important; margin-bottom: 18px !important; }
.rd-site-footer ul { list-style: none; padding: 0; margin: 0; }
.rd-site-footer li + li { margin-top: 10px; }
.rd-site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s var(--rd-ease), color .2s; }
.rd-site-footer a:hover { color: #fff; background-size: 100% 1px; }
.rd-site-footer .wp-block-social-links { gap: 10px !important; margin-top: 4px; }
.rd-site-footer .wp-social-link { background: rgba(255, 255, 255, .08) !important; border-radius: 10px !important; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; transition: background-color .2s; }
.rd-site-footer .wp-social-link:hover { background: var(--rd-accent) !important; }
.rd-site-footer .wp-social-link:hover svg { fill: var(--rd-navy-deep); }
.rd-site-footer .wp-social-link { color: #fff !important; }
.rd-site-footer .wp-social-link a { padding: 0 !important; background: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: inherit; }
.rd-site-footer .wp-social-link svg { width: 19px; height: 19px; fill: currentColor; }
.rd-site-footer .wp-social-link:hover { color: var(--rd-navy-deep) !important; }
.rd-site-footer .rd-footer-base { margin-top: clamp(48px, 6vw, 80px) !important; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); justify-content: space-between; flex-wrap: wrap; gap: 12px 32px !important; }
.rd-site-footer .rd-footer-base p { font-size: .86rem; color: rgba(255, 255, 255, .5); }

/* ---------- Article template ---------- */
.rd-article-head { background: var(--rd-panel); padding: clamp(72px, 9vw, 128px) var(--rd-gutter) clamp(140px, 16vw, 220px) !important; position: relative; overflow: hidden; }
.rd-article-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(color-mix(in srgb, var(--rd-navy) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--rd-navy) 6%, transparent) 1px, transparent 1px); background-size: 72px 72px; -webkit-mask-image: linear-gradient(180deg, #000, transparent); mask-image: linear-gradient(180deg, #000, transparent); }
.rd-article-head > * { position: relative; z-index: 1; }
.rd-article-head .wp-block-post-title { font-family: var(--rd-font); font-size: var(--rd-fs-h1) !important; line-height: 1.06 !important; letter-spacing: -0.03em; color: var(--rd-navy); max-width: 18em; margin: 0 auto !important; text-align: center; }
.rd-article-head .rd-article-meta { justify-content: center; gap: 14px !important; margin-top: 28px !important; font-family: var(--rd-font); font-size: .9rem; color: var(--rd-slate); letter-spacing: .02em; }
.rd-article-head .rd-article-meta .wp-block-post-terms a { color: var(--rd-accent-deep); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; text-decoration: none; }
.rd-article-hero-img { max-width: 1160px; margin: calc(-1 * clamp(100px, 12vw, 170px)) auto 0 !important; padding-inline: var(--rd-gutter); position: relative; z-index: 2; }
.rd-article-hero-img img { border-radius: 18px; box-shadow: 0 50px 90px -50px rgba(0, 23, 54, .6); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.rd-article-body { max-width: 740px; margin: clamp(56px, 7vw, 96px) auto 0 !important; padding-inline: var(--rd-gutter); font-family: var(--rd-font); }
.rd-article-body p, .rd-article-body li { font-size: 1.2rem !important; line-height: 1.72 !important; color: var(--rd-ink); }
.rd-article-body > p:first-of-type { font-size: 1.42rem !important; line-height: 1.55 !important; color: var(--rd-navy); }
.rd-article-body :is(h2, h3, h4) { font-family: var(--rd-font) !important; color: var(--rd-navy) !important; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem) !important; line-height: 1.2 !important; letter-spacing: -0.02em !important; margin-top: 64px !important; padding-top: 22px; position: relative; }
.rd-article-body :is(h2, h3, h4)::before { content: ""; position: absolute; top: 0; left: 0; width: 44px; height: 3px; background: var(--rd-accent-deep); }
.rd-article-body :is(h2, h3, h4) strong { font-weight: 700; }
.rd-article-body :is(h2, h3, h4) + p { margin-top: 22px !important; }
.rd-article-body a { color: var(--rd-navy-mid); }
.rd-article-body .wp-block-image img { border-radius: 12px; }
.rd-article-body blockquote { border-left: 3px solid var(--rd-accent-deep); padding-left: 24px; margin-left: 0; }
.rd-article-nav { max-width: 1160px; margin: clamp(72px, 9vw, 128px) auto 0 !important; padding: 0 var(--rd-gutter) !important; gap: 20px !important; }
.rd-article-nav > * { flex: 1 1 0; min-width: 0; }
.rd-article-nav a { display: block; padding: 28px 30px; border: 1px solid var(--rd-rule); border-radius: var(--rd-radius); color: var(--rd-navy); text-decoration: none; font-family: var(--rd-font); font-weight: 700; font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; transition: border-color .25s, box-shadow .25s, transform .25s var(--rd-ease); height: 100%; box-sizing: border-box; }
.rd-article-nav a:hover { border-color: var(--rd-navy); transform: translateY(-3px); box-shadow: 0 24px 48px -30px rgba(0, 23, 54, .4); }
.rd-article-nav .post-navigation-link-previous a::before { content: "Previous article"; display: block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-accent-deep); margin-bottom: 12px; }
.rd-article-nav .post-navigation-link-next a::before { content: "Next article"; display: block; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-accent-deep); margin-bottom: 12px; }
.rd-article-nav .post-navigation-link-next { text-align: right; }
.rd-article + .rd-cta, .rd-article .rd-cta { margin-top: clamp(72px, 9vw, 128px); }

/* ---------- Motion: reveal on scroll where the browser supports view timelines ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rd-reveal > * { animation: rd-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    @keyframes rd-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
  }
}
@media (prefers-reduced-motion: no-preference) {
  .rd-hero .rd-hero-copy > * { animation: rd-in .9s var(--rd-ease) both; }
  .rd-hero .rd-hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .rd-hero .rd-hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .rd-hero .rd-hero-copy > *:nth-child(4) { animation-delay: .24s; }
  @keyframes rd-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}

/* ---------- Phones ---------- */
@media (max-width: 781px) {
  .rd-hero { min-height: auto !important; }
  .rd-hero .rd-hero-copy { padding-top: 88px; }
  .rd-stat, .rd-stat + .rd-stat { padding-right: 12px; }
  .rd-contact { min-height: 0; }
}

/* Page classes: headings, columns, cards, image bands, image strips, lists, prose, query grids and the plain page hero. */
.rd-h4 { font-size: 1.2rem !important; line-height: 1.3 !important; }
.rd-page .rd-wrap > * + *, .rd-page .rd-cols > .wp-block-column > * + * { margin-top: 16px; }
.rd-page .rd-wrap > .rd-h2 + *, .rd-page .rd-wrap > .rd-h3 + * { margin-top: 22px; }
.rd-page .rd-wrap > * + .rd-h2, .rd-page .rd-wrap > * + .rd-h3 { margin-top: clamp(40px, 5vw, 64px); }
.rd-page .rd-wrap > * + .rd-cols { margin-top: clamp(32px, 4vw, 56px); }
.rd-page .rd-wrap > .rd-cols + .rd-cols { margin-top: clamp(24px, 3vw, 40px); }

/* Plain page hero (no image): a group, so its wrap carries the layer order. */
.rd-page-hero > .rd-wrap { position: relative; z-index: 2; }
.rd-page-hero :is(.rd-buttons) { margin-top: 32px !important; }
.rd-page-hero .rd-lead + .rd-lead, .rd-page-hero .rd-lead + p { margin-top: 16px !important; }

/* Columns. */
.rd-cols { gap: clamp(20px, 3vw, 48px) !important; }
.rd-cols > .wp-block-column { min-width: 0; }
.rd-cols-cards > .wp-block-column { background: #fff; border: 1px solid var(--rd-rule); border-radius: var(--rd-radius); padding: clamp(24px, 2.6vw, 34px); overflow: hidden; transition: transform .35s var(--rd-ease), box-shadow .35s var(--rd-ease); }
.rd-cols-cards > .wp-block-column:hover { transform: translateY(-4px); box-shadow: 0 28px 56px -34px rgba(0, 23, 54, .45); }
.rd-panel .rd-cols-cards > .wp-block-column { border-color: transparent; }
.rd-cols-cards > .wp-block-column > .rd-frame:first-child { margin: calc(-1 * clamp(24px, 2.6vw, 34px)) calc(-1 * clamp(24px, 2.6vw, 34px)) 22px !important; border-radius: 0; box-shadow: none; }
.rd-cols-cards > .wp-block-column > .rd-frame:first-child img { aspect-ratio: 16 / 10; }
:is(.rd-dark, .rd-band) .rd-cols-cards > .wp-block-column { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); }
.rd-cols-cards :is(.rd-h3, .rd-h4) { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem) !important; }
.rd-cols-cards > .wp-block-column > :is(.rd-h3, .rd-h4):first-child::before, .rd-cols-cards > .wp-block-column > .rd-frame:first-child + :is(.rd-h3, .rd-h4)::before { content: ""; display: block; width: 32px; height: 3px; background: var(--rd-accent-deep); margin-bottom: 18px; }
:is(.rd-dark, .rd-band) .rd-cols-cards :is(.rd-h3, .rd-h4)::before { background: var(--rd-accent) !important; }
.rd-cols-split { align-items: center !important; }
.rd-cols .rd-frame img { aspect-ratio: 4 / 3; }

/* Media row: one image per cell, no card chrome. */
.rd-cols-media { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(16px, 1.8vw, 28px) !important; }
.rd-cols-media > .wp-block-column { flex-basis: auto !important; }
.rd-cols-media .rd-frame { margin: 0 !important; border-radius: var(--rd-radius); overflow: hidden; }
.rd-cols-media .rd-frame a { display: block; }
.rd-cols-media .rd-frame img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--rd-ease); }
.rd-cols-media .rd-frame:hover img { transform: scale(1.05); }

/* Rows of more than four items are set to the count that leaves the smallest tail. */
@media (min-width: 1000px) {
  .rd-cols.rd-cards-3 { grid-template-columns: repeat(3, 1fr) !important; }
  .rd-cols.rd-cards-4 { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Image band: a cover with text, under a navy veil. */
.rd-band { padding: var(--rd-section) var(--rd-gutter) !important; min-height: 0 !important; overflow: hidden; }
.rd-band .wp-block-cover__background { background: linear-gradient(95deg, rgba(0, 23, 54, .95) 0%, rgba(0, 23, 54, .86) 50%, rgba(0, 36, 92, .7) 100%) !important; opacity: 1 !important; }
.rd-band .wp-block-cover__inner-container { position: relative; z-index: 2; max-width: var(--rd-wrap); margin-inline: auto; width: 100%; }
.rd-band :is(h1, h2, h3, h4) { color: #fff !important; }
.rd-band p, .rd-band li { color: rgba(255, 255, 255, .84); }
.rd-band .rd-lead { color: rgba(255, 255, 255, .9); }
.rd-band a:not(.wp-block-button__link) { color: #fff; }

/* Image strip: an image-only section, cropped to a band. */
.rd-strip { margin: 0 !important; }
.rd-strip img { width: 100%; height: clamp(200px, 28vw, 380px); object-fit: cover; display: block; }

/* Lists and rules. */
.rd-list { padding-left: 1.3em !important; margin: 0; }
.rd-list li + li { margin-top: 8px !important; }
.rd-list li::marker { color: var(--rd-accent-deep); }
:is(.rd-dark, .rd-band, .rd-page-hero) .rd-list li::marker { color: var(--rd-accent); }
.rd-sep { border: 0 !important; border-top: 1px solid var(--rd-rule) !important; margin: 36px 0 !important; opacity: 1; }
.rd-dark .rd-sep { border-top-color: rgba(255, 255, 255, .16) !important; }
.rd-dark a:not(.wp-block-button__link) { color: #fff; }

/* Prose pages (privacy policy). */
.rd-prose { max-width: 780px; }
.rd-prose .rd-h2, .rd-prose .rd-h3 { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.6rem) !important; }

/* Query grids with excerpts (Articles, Newsroom, Press Releases, archives). */
.rd-posts .wp-block-post-title { padding-bottom: 12px; }
.rd-posts .wp-block-post-title:last-child { padding-bottom: 30px; }
.rd-posts .wp-block-post-excerpt { padding: 0 26px 30px; margin: 0; font-family: var(--rd-font); }
.rd-posts .wp-block-post-excerpt__excerpt { font-size: 1rem !important; line-height: 1.6 !important; color: var(--rd-slate); margin: 0; }
.rd-posts .wp-block-post-excerpt__more-text { margin: 12px 0 0 !important; font-size: .95rem !important; }
.rd-posts .wp-block-post-excerpt__more-link { color: var(--rd-navy); font-weight: 700; text-decoration: none; }
.rd-posts .wp-block-query-pagination { margin-top: 40px; justify-content: center; font-family: var(--rd-font); }
@media (max-width: 781px) { .rd-posts .wp-block-post-template { grid-template-columns: 1fr !important; } }

/* Embedded components keep their own markup; give them room inside a section. */
.rd-page .irdc-component { height: auto; }
/* A query that opens a section sits at its top; a full-width image in a section is cropped to a band. */
.rd-wrap > .rd-posts:first-child .wp-block-post-template { margin-top: 0 !important; }
.rd-wrap > .rd-frame img, .rd-wrap > .wp-block-image.rd-frame img { aspect-ratio: 21 / 9; }

/* Layout refinement: reading measure, card and split proportions, section rhythm, image discipline. */

/* A text-only section reads at a measure, not across the page, and keeps the page's left edge:
   the wrap stays put and its children take the measure. */
.rd-measure { max-width: var(--rd-wrap); }
.rd-measure > * { max-width: 900px; }
.rd-measure > .rd-lead { max-width: 900px; }
.rd-page p { max-width: 78ch; }
.rd-page .rd-cols p, .rd-page .rd-profile p, .rd-page .rd-card p, .rd-band p { max-width: none; }

/* Splits: weight the columns to their content rather than 50/50. */
.rd-cols.rd-split { gap: clamp(28px, 5vw, 80px) !important; align-items: flex-start !important; }
.rd-cols.rd-split > .wp-block-column:first-child { flex-basis: 42% !important; }
.rd-cols.rd-split > .wp-block-column:last-child { flex-basis: 58% !important; }
.rd-cols.rd-cols-split > .wp-block-column:first-child, .rd-cols.rd-cols-split > .wp-block-column:last-child { flex-basis: 50% !important; }
@media (max-width: 781px) { .rd-cols > .wp-block-column { flex-basis: 100% !important; } }

/* Two-column text rows sit at a comfortable measure each; four or more wrap into a grid. */
.rd-cols:not(.rd-cols-cards):not(.rd-cols-media):not(.rd-split) { row-gap: clamp(24px, 3vw, 44px) !important; }
.rd-cols-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.rd-cols-cards > .wp-block-column { flex-basis: auto !important; }

/* Section rhythm: a hairline where two light grounds meet, so the page still has joints. */
.rd-light + .rd-light, .rd-panel + .rd-panel { border-top: 1px solid color-mix(in srgb, var(--rd-rule) 60%, transparent); }
.rd-section + .rd-section.rd-tight { padding-top: clamp(40px, 5vw, 72px); }

/* Images: every image in a section is cropped to a ratio, never dropped at native height. */
.rd-page .wp-block-image:not(.rd-strip) img { border-radius: var(--rd-radius); }
.rd-cols-cards .rd-frame + .rd-frame { margin-top: 14px !important; }
.rd-cols-cards .rd-frame img { aspect-ratio: 16 / 10; }
.rd-band + .rd-strip, .rd-strip + .rd-band { margin-top: 0; }

/* Statement bands read as one line, not as a paragraph block. */
.rd-band .rd-h2, .rd-band .rd-h3 { max-width: 18em; }
.rd-band .rd-wrap > * + * { margin-top: 18px; }

/* Lead paragraphs directly under a hero heading keep their own rhythm. */
.rd-page-hero .rd-h1 + .rd-lead { margin-top: 24px !important; }
.rd-page-hero .rd-wrap { max-width: 1240px; }
.rd-page-hero .rd-lead { max-width: 44em; }

/* Footer. */

.premium-footer { background-color: #002d5b; color: #fff; padding: 80px 40px 30px 40px; font-family: 'Inter', Roboto, sans-serif; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto; }
.footer-brand { font-size: 24px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; color: #fff; }
.footer-column h4 { color: #00aeef; font-size: 14px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 25px; }
.footer-column ul { list-style: none; padding: 0; margin: 0; }
.footer-column ul li { margin-bottom: 15px; }
.footer-column p { font-size: 15px; line-height: 1.6; opacity: .8; }
.footer-column a { color: #fff; text-decoration: none; font-size: 15px; transition: .3s; }
.hover-line { position: relative; display: inline-block; }
.hover-line::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: #00aeef; transition: width .4s cubic-bezier(.25, .8, .25, 1); }
.hover-line:hover::after { width: 100%; }
.social-links { display: flex; gap: 20px; margin-bottom: 20px; }
.social-icon svg { width: 24px; height: 24px; fill: #fff; transition: transform .3s ease, fill .3s ease; }
.social-icon:hover svg { fill: #00aeef; transform: translateY(-3px); }
.privacy-link { font-size: 13px !important; opacity: .6; }
.footer-copyright { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 60px; padding-top: 20px; text-align: center; font-size: 13px; opacity: .5; }

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .social-links { justify-content: center; }
}

/* Article and press release templates. These rules come last and take precedence over earlier article rules. */
.rd-article { --ars-measure: 44rem; --ars-body: 1.1875rem; --ars-gap: 1.15em; }

/* Head: eyebrow above the title, date below, on the panel ground. */
.rd-article-head { text-align: center; padding-bottom: clamp(120px, 14vw, 200px) !important; }
.rd-article-head .rd-eyebrow-terms { margin: 0 0 18px !important; font-family: var(--rd-font); }
.rd-article-head .rd-eyebrow-terms a { color: var(--rd-accent-deep); font-weight: 700; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.rd-article-head .wp-block-post-title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem) !important; line-height: 1.08 !important; max-width: 20em; margin-inline: auto !important; text-wrap: balance; }
.rd-article-head .rd-article-date { margin-top: 22px !important; font-family: var(--rd-font); font-size: .95rem; color: var(--rd-slate); letter-spacing: .02em; }
.rd-article-hero-img { max-width: 1080px; }

/* Body: one column, one measure, one rhythm. */
.rd-article-body { max-width: var(--ars-measure) !important; box-sizing: content-box; margin-top: clamp(56px, 6vw, 88px) !important; }
.rd-article-body > * { margin-block: 0 !important; }
.rd-article-body > * + * { margin-top: var(--ars-gap) !important; }
.rd-article-body p, .rd-article-body li { font-size: var(--ars-body) !important; line-height: 1.7 !important; color: var(--rd-ink); text-align: start; hyphens: manual; }
.rd-article-body > p:first-of-type { font-size: 1.375rem !important; line-height: 1.55 !important; color: var(--rd-navy); }
.rd-article-body p strong, .rd-article-body li strong { color: var(--rd-navy); font-weight: 700; }
.rd-article-body a { color: var(--rd-navy-mid); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rd-article-body a:hover { color: var(--rd-navy); }
/* Key line: the author's own emphasized sentence, set as a paragraph of its own. Underline is for links only. */
.rd-article-body > p.rd-article-key { font-size: var(--ars-body) !important; line-height: 1.55 !important; font-weight: 600; color: var(--rd-navy); padding-left: 1em; border-left: 3px solid var(--rd-accent-deep); }
.rd-article-body > p.rd-article-key, .rd-article-body > p.rd-article-key + :not(h2):not(h3) { margin-top: 1.4em !important; }
.rd-article-body > p.rd-article-key + p.rd-article-key { margin-top: .6em !important; }
.rd-article-body > h2 + p.rd-article-key { margin-top: .9em !important; }
.rd-article-body u { text-decoration: none; }

/* Section and subsection headings. */
.rd-article-body h2 { position: relative; font-size: clamp(1.45rem, 1.2rem + .9vw, 1.75rem) !important; line-height: 1.25 !important; letter-spacing: -0.015em; padding-top: 18px; margin-top: 2.6em !important; }
.rd-article-body h2::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--rd-accent-deep); }
.rd-article-body h2 + * { margin-top: .65em !important; }
.rd-article-body > h2:first-child { margin-top: 0 !important; }
.rd-article-body h3 { font-size: 1.3rem !important; line-height: 1.3 !important; margin-top: 1.8em !important; }
.rd-article-body h3::before { content: none; }
.rd-article-body h3 + * { margin-top: .5em !important; }
.rd-article-body :is(h2, h3) + p:first-of-type { font-size: var(--ars-body) !important; line-height: 1.7 !important; color: var(--rd-ink); }
.rd-article-body > h2:first-child + p { font-size: 1.375rem !important; line-height: 1.55 !important; color: var(--rd-navy); }

/* Lists, quotes, images, separators. */
.rd-article-body :is(ul, ol) { padding-left: 1.4em !important; margin-top: var(--ars-gap) !important; }
.rd-article-body li + li { margin-top: .55em !important; }
.rd-article-body li::marker { color: var(--rd-accent-deep); font-weight: 700; }
.rd-article-body blockquote { margin: 1.6em 0 !important; padding: .1em 0 .1em 1.25em; border-left: 3px solid var(--rd-accent-deep); }
.rd-article-body blockquote p { font-size: 1.3rem !important; line-height: 1.5 !important; font-style: italic; color: var(--rd-navy); }
.rd-article-body .wp-block-image { margin-top: 1.8em !important; margin-bottom: 1.8em !important; }
.rd-article-body .wp-block-image img { border-radius: 12px; width: 100%; height: auto; }
.rd-article-body figcaption { font-size: .9rem; color: var(--rd-slate); margin-top: .6em; }
.rd-article-body hr { width: 64px; margin: 2.4em 0 !important; border: 0; border-top: 3px solid var(--rd-accent-deep); }

/* Share row: readable, below a short rule. */
.rd-article-body .sharedaddy, .rd-article-body .jp-relatedposts { margin-top: 3em !important; padding-top: 1.6em; border-top: 1px solid var(--rd-rule); }
.rd-article-body .sharedaddy + .sharedaddy { margin-top: 1.2em !important; padding-top: 0; border-top: 0; }
.rd-article-body .sharedaddy :is(h2, h3).sd-title { font-family: var(--rd-font) !important; font-size: .8rem !important; font-weight: 700 !important; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-slate) !important; margin: 0 0 .8em !important; }
.rd-article-body .sharedaddy :is(h2, h3).sd-title::before { content: none !important; display: none !important; }
/* The share row heading prints as h2. These rules hold the look it had as h3, against the article h2 rules and the h3-only Jetpack rule. */
.rd-article-body .sharedaddy h2.sd-title { display: inline-block; line-height: 1.3 !important; letter-spacing: -0.02em !important; padding-top: 22px; }
.rd-article-body .sharedaddy h2.sd-title + * { margin-top: .5em !important; }
.rd-article-body .sd-content ul li a.sd-button, .rd-article-body .sd-social-icon-text .sd-content ul li a.sd-button { font-family: var(--rd-font) !important; font-size: 15px !important; }

/* Previous and next cards: aligned to the same measure family as the body. */
.rd-article-nav { max-width: 1080px !important; }

/* ---- Press release (custom template single-press-release) ---- */
.rd-pr .rd-article-head { padding-bottom: clamp(64px, 7vw, 104px) !important; }
.rd-pr .rd-pr-back { margin: 0 0 26px !important; font-family: var(--rd-font); font-size: .9rem; }
.rd-pr .rd-pr-back a { color: var(--rd-navy-mid); text-decoration: none; font-weight: 700; }
.rd-pr .rd-pr-back a::before { content: "\2190\00a0"; }
.rd-pr .rd-article-head .wp-block-post-title { font-size: clamp(1.9rem, 1.3rem + 1.9vw, 3rem) !important; line-height: 1.12 !important; max-width: 24em; }
.rd-pr .rd-article-body { margin-top: clamp(48px, 5vw, 72px) !important; }
.rd-pr .rd-article-body > p.rd-pr-dek { font-size: 1.3rem !important; line-height: 1.5 !important; color: var(--rd-slate) !important; padding-bottom: 1.1em; border-bottom: 1px solid var(--rd-rule); }
.rd-pr .rd-article-body > p.rd-pr-dek + * { margin-top: 1.4em !important; }
.rd-pr .rd-article-body > p.rd-pr-lede { font-size: var(--ars-body) !important; line-height: 1.7 !important; color: var(--rd-ink) !important; }
.rd-article-body .rd-pr-lede > strong:first-child { font-size: .82em; letter-spacing: .08em; text-transform: uppercase; color: var(--rd-navy); }
.rd-article-body :is(.rd-pr-about, .rd-pr-contact, .rd-pr-distribution) h2 { font-size: .8rem !important; letter-spacing: .16em; text-transform: uppercase; color: var(--rd-accent-deep) !important; padding-top: 0; margin: 0 0 .7em !important; }
.rd-article-body :is(.rd-pr-about, .rd-pr-contact) h2::before { content: none; }
.rd-article-body .rd-pr-about { margin-top: 2.6em !important; background: var(--rd-panel); border-radius: var(--rd-radius); padding: clamp(24px, 3vw, 36px); }
.rd-article-body .rd-pr-about p { font-size: 1.05rem !important; line-height: 1.65 !important; }
.rd-article-body .rd-pr-contact { margin-top: 1.8em !important; padding-left: 20px; border-left: 3px solid var(--rd-accent-deep); }
.rd-article-body .rd-pr-contact p { font-size: 1.05rem !important; line-height: 1.5 !important; margin: 0 !important; }
.rd-article-body .rd-pr-contact p:first-of-type { font-weight: 700; color: var(--rd-navy); }
.rd-article-body .rd-pr-distribution { margin-top: 2.4em !important; padding-top: 1.2em; border-top: 1px solid var(--rd-rule); }
.rd-article-body .rd-pr-distribution p { font-size: .92rem !important; line-height: 1.6 !important; color: var(--rd-slate) !important; margin: 0 !important; }
.rd-article-body .rd-pr-distribution p + p { margin-top: .35em !important; }
.rd-article-body > :is(.rd-pr-about, .rd-pr-contact, .rd-pr-distribution) > * + * { margin-top: .6em; }

/* Phones. */
@media (max-width: 640px) {
  .rd-article { --ars-body: 1.0625rem; }
  .rd-article-body > p:first-of-type, .rd-article-body > h2:first-child + p { font-size: 1.2rem !important; }
  .rd-article-body h2 { font-size: 1.4rem !important; }
  .rd-article-hero-img { margin-top: calc(-0.5 * clamp(100px, 12vw, 170px)) !important; }
  .rd-article-head { padding-bottom: 90px !important; }
  .rd-pr .rd-article-head { padding-bottom: 48px !important; }
  .rd-pr .rd-article-body > p.rd-pr-dek { font-size: 1.15rem !important; }
}
