/*
Theme Name: RYU Theme
Theme URI: https://rethinkyourunderstanding.com
Author: Phil Clark — RYU Advisory & Media, LLC
Author URI: https://rethinkyourunderstanding.com
Description: Custom FSE block theme for rethinkyourunderstanding.com
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.2
License: Private — All rights reserved
Text Domain: ryu-theme
*/

/* ── CSS CUSTOM PROPERTIES ───────────────────────── */

:root {
  /* Primary palette */
  --ryu-blue:       #0062A5;
  --ryu-navy:       #102A43;
  --ryu-tangerine:  #E8832A;
  --ryu-slate:      #475B6F;
  --ryu-mid-blue:   #2B98D4;
  --ryu-light-blue: #8FD9FE;

  /* Background palette */
  --ryu-bg-white:      #FFFFFF;
  --ryu-bg-cloud:      #F7F8FA;
  --ryu-bg-ice:        #EBF4FB;
  --ryu-bg-ivory:      #FAF7F2;
  --ryu-bg-soft-slate: #F0F2F5;

  /* Derived colors */
  --ryu-tangerine-hover:  #D4722A;
  --ryu-tangerine-active: #C0651F;
  --ryu-border-light:     #E2E5E9;

  /* Typography scale */
  --font-base: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --text-xs:   0.875rem;   /* 14px — captions, meta, footer */
  --text-sm:   0.9375rem;  /* 15px — nav, buttons */
  --text-base: 1rem;       /* 16px — mobile body */
  --text-md:   1.125rem;   /* 18px — desktop body */
  --text-lg:   1.25rem;    /* 20px — lead paragraphs */
  --text-xl:   1.375rem;   /* 22px — H3 min */
  --text-2xl:  1.875rem;   /* 30px — H2 min */
  --text-3xl:  2.75rem;    /* 44px — H1 min */

  /* Weights */
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;

  /* Line heights */
  --leading-tight:   1.15;  /* H1 */
  --leading-snug:    1.2;   /* H2 */
  --leading-normal:  1.3;   /* H3 */
  --leading-relaxed: 1.6;   /* lead text, pull quotes */
  --leading-loose:   1.7;   /* body text */
}

/* ── BASE TYPOGRAPHY ─────────────────────────────── */

body {
  font-family: var(--font-base);
  font-size:   var(--text-md);
  font-weight: var(--weight-regular);
  line-height: var(--leading-loose);
  color:       var(--ryu-slate);
}

h1 {
  font-size:      clamp(2rem, 5vw, 3.25rem);
  font-weight:    var(--weight-semibold);
  line-height:    var(--leading-tight);
  color:          var(--ryu-blue);
  letter-spacing: -0.02em;
}

h2 {
  font-size:      clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight:    var(--weight-semibold);
  line-height:    var(--leading-snug);
  color:          var(--ryu-navy);
  letter-spacing: -0.01em;
}

h3 {
  font-size:   clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color:       var(--ryu-navy);
}

p {
  font-size:   var(--text-md);
  line-height: var(--leading-loose);
  color:       var(--ryu-slate);
  max-width:   70ch;
}

a {
  color:           var(--ryu-mid-blue);
  text-decoration: none;
}

a:hover {
  color:           var(--ryu-blue);
  text-decoration: underline;
}

/* ── UTILITY CLASSES ─────────────────────────────── */

.ryu-lead {
  font-size:   var(--text-lg);
  line-height: var(--leading-relaxed);
  color:       var(--ryu-slate);
}

.ryu-meta {
  font-size:   var(--text-xs);
  line-height: var(--leading-relaxed);
  color:       var(--ryu-slate);
}

blockquote,
.ryu-pullquote {
  font-size:    var(--text-lg);
  font-style:   italic;
  font-weight:  var(--weight-regular);
  line-height:  var(--leading-relaxed);
  color:        var(--ryu-navy);
  border-left:  4px solid var(--ryu-tangerine);
  padding-left: 1.5rem;
  margin:       2rem 0;
}

.ryu-pullquote-attribution {
  font-size:   var(--text-xs);
  font-weight: var(--weight-medium);
  font-style:  normal;
  color:       var(--ryu-tangerine);
  margin-top:  0.5rem;
  display:     block;
}

/* ── BUTTONS ─────────────────────────────────────── */

.ryu-btn-primary,
.ryu-btn-secondary {
  font-family:     var(--font-base);
  font-size:       var(--text-sm);
  font-weight:     var(--weight-semibold);
  letter-spacing:  0.04em;
  text-transform:  none;
  line-height:     1;
  display:         inline-flex;
  align-items:     center;
  gap:             0.5rem;
  padding:         0.75rem 1.75rem;
  border-radius:   8px;
  cursor:          pointer;
  text-decoration: none;
}

.ryu-btn-primary {
  background: var(--ryu-tangerine);
  color:      #FFFFFF;
  border:     none;
}

.ryu-btn-primary:hover {
  background:      var(--ryu-tangerine-hover);
  color:           #FFFFFF;
  text-decoration: none;
}

.ryu-btn-primary:active {
  background: var(--ryu-tangerine-active);
}

.ryu-btn-primary:focus-visible {
  outline:        3px solid var(--ryu-light-blue);
  outline-offset: 3px;
}

.ryu-btn-primary:disabled {
  opacity: 0.5;
  cursor:  not-allowed;
}

.ryu-btn-secondary {
  background: transparent;
  color:      var(--ryu-tangerine);
  border:     1px solid var(--ryu-tangerine);
}

.ryu-btn-secondary:hover {
  background:      var(--ryu-tangerine);
  color:           #FFFFFF;
  text-decoration: none;
}

.ryu-btn-secondary:active {
  background: var(--ryu-tangerine-hover);
  border-color: var(--ryu-tangerine-hover);
  color:      #FFFFFF;
}

.ryu-btn-secondary:focus-visible {
  outline:        3px solid var(--ryu-light-blue);
  outline-offset: 3px;
}

/* ── ICONS ───────────────────────────────────────── */

.ryu-icon {
  display:        inline-flex;
  align-items:    center;
  justify-content: center;
}

.ryu-icon svg {
  stroke:       currentColor;
  fill:         none;
  stroke-width: 2;
  width:        20px;
  height:       20px;
  vertical-align: middle;
  flex-shrink:  0;
}

.ryu-icon-sm svg { width: 16px; height: 16px; }
.ryu-icon-lg svg { width: 32px; height: 32px; }
.ryu-icon-accent { color: var(--ryu-tangerine); }

/* ── IMAGES ──────────────────────────────────────── */

.ryu-hero-wrap {
  position: relative;
  display:  block;
}

.ryu-hero-wrap::after {
  content:        '';
  position:       absolute;
  inset:          0;
  background:     linear-gradient(rgba(16, 42, 67, 0.65), transparent);
  pointer-events: none;
}

.ryu-hero-img {
  width:        100%;
  aspect-ratio: 21 / 9;
  object-fit:   cover;
  display:      block;
}

.ryu-page-img {
  width:        100%;
  aspect-ratio: 16 / 9;
  object-fit:   cover;
  display:      block;
}

.ryu-card-img {
  width:         100%;
  aspect-ratio:  3 / 2;
  object-fit:    cover;
  border-radius: 8px;
  display:       block;
}

.ryu-avatar {
  width:         72px;
  height:        72px;
  border-radius: 50%;
  object-fit:    cover;
  border:        2px solid var(--ryu-blue);
  display:       block;
}

/* ── ACCESSIBILITY ───────────────────────────────── */

.skip-to-content {
  position: absolute;
  left:     -9999px;
  top:      auto;
  width:    1px;
  height:   1px;
  overflow: hidden;
  z-index:  9999;
}

.skip-to-content:focus {
  position:        fixed;
  top:             0;
  left:            0;
  width:           auto;
  height:          auto;
  padding:         1rem 1.5rem;
  background:      var(--ryu-blue);
  color:           #FFFFFF;
  font-weight:     var(--weight-semibold);
  text-decoration: none;
  border-radius:   0 0 8px 0;
  outline:         3px solid var(--ryu-tangerine);
  outline-offset:  2px;
}

.screen-reader-text {
  position:    absolute;
  width:       1px;
  height:      1px;
  padding:     0;
  margin:      -1px;
  overflow:    hidden;
  clip:        rect(0, 0, 0, 0);
  white-space: nowrap;
  border:      0;
}

:focus-visible {
  outline:        3px solid var(--ryu-blue);
  outline-offset: 3px;
  border-radius:  2px;
}

/* ── FORMS ───────────────────────────────────────── */

.ryu-form-group {
  margin-bottom: 1.5rem;
}

.ryu-form-label {
  display:       block;
  font-size:     var(--text-sm);
  font-weight:   var(--weight-medium);
  color:         var(--ryu-navy);
  margin-bottom: 0.5rem;
}

.ryu-form-group input,
.ryu-form-group select,
.ryu-form-group textarea {
  width:         100%;
  padding:       0.75rem 1rem;
  font-family:   var(--font-base);
  font-size:     var(--text-base);
  color:         var(--ryu-navy);
  background:    var(--ryu-bg-white);
  border:        1px solid var(--ryu-bg-soft-slate);
  border-radius: 6px;
  line-height:   var(--leading-loose);
}

.ryu-form-group input:hover,
.ryu-form-group select:hover,
.ryu-form-group textarea:hover {
  border-color: var(--ryu-slate);
}

.ryu-form-group input:focus,
.ryu-form-group select:focus,
.ryu-form-group textarea:focus {
  border-color: var(--ryu-mid-blue);
  outline:      none;
  box-shadow:   0 0 0 3px var(--ryu-light-blue);
}

.ryu-form-group input[aria-invalid="true"],
.ryu-form-group textarea[aria-invalid="true"] {
  border-color: #E24B4A;
  box-shadow:   0 0 0 3px rgba(226, 75, 74, 0.15);
}

.ryu-form-group textarea {
  min-height: 150px;
  resize:     vertical;
}

.ryu-form-error {
  font-size: var(--text-xs);
  color:     var(--ryu-tangerine);
  margin-top: 0.25rem;
}

.ryu-required {
  color: var(--ryu-tangerine);
}

.ryu-form-success {
  padding:       2rem;
  background:    var(--ryu-bg-ice);
  border:        2px solid var(--ryu-blue);
  border-radius: 8px;
  color:         var(--ryu-blue);
  font-weight:   var(--weight-medium);
  text-align:    center;
}

.ryu-form-summary-error {
  padding:       1rem;
  background:    var(--ryu-bg-ivory);
  border:        2px solid var(--ryu-tangerine);
  border-radius: 6px;
  color:         var(--ryu-tangerine);
  font-weight:   var(--weight-medium);
  margin-bottom: 1rem;
}

/* ── HEADER ──────────────────────────────────────── */

.ryu-header {
  position:         sticky;
  top:              0;
  z-index:          100;
  background-color: var(--ryu-bg-white);
  border-bottom:    2px solid var(--ryu-tangerine);
}

.ryu-header-inner {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  max-width:       1200px;
  margin:          0 auto;
  padding:         0.75rem 1.5rem;
}

.ryu-site-name {
  font-size:       var(--text-lg);
  font-weight:     var(--weight-semibold);
  color:           var(--ryu-navy);
  text-decoration: none;
  letter-spacing:  0.04em;
  display:         flex;
  align-items:     center;
  gap:             0.75rem;
}

.ryu-site-name:hover {
  color:           var(--ryu-mid-blue);
  text-decoration: none;
}

.ryu-logo-img {
  height:  36px;
  width:   auto;
  display: block;
}

.ryu-site-tagline {
  font-size:    13px;
  font-weight:  var(--weight-medium);
  color:        var(--ryu-slate);
  border-left:  1px solid var(--ryu-bg-soft-slate);
  padding-left: 0.5rem;
  line-height:  1.3;
}

.ryu-site-tagline .ryu-tm {
  font-size:      0.6em;
  vertical-align: super;
  line-height:    0;
  margin-left:    1px;
}

/* ── NAVIGATION ──────────────────────────────────── */

.ryu-nav-list {
  display:     flex;
  align-items: center;
  gap:         0.25rem;
  list-style:  none;
  margin:      0;
  padding:     0;
}

.ryu-nav-link {
  display:         inline-flex;
  align-items:     center;
  gap:             0.25rem;
  padding:         0.5rem 0.75rem;
  font-size:       var(--text-sm);
  font-weight:     var(--weight-medium);
  color:           var(--ryu-navy);
  text-decoration: none;
  border-bottom:   2px solid transparent;
  background:      none;
  border-top:      none;
  border-left:     none;
  border-right:    none;
  cursor:          pointer;
}

.ryu-nav-link:hover {
  color:           var(--ryu-mid-blue);
  text-decoration: none;
}

.ryu-nav-active {
  border-bottom-color: var(--ryu-tangerine);
  color:               var(--ryu-tangerine);
}

/* ── DROPDOWN ────────────────────────────────────── */

.ryu-nav-dropdown-wrapper {
  position: relative;
}

.ryu-nav-dropdown-trigger {
  font-family: var(--font-base);
}

.ryu-nav-dropdown {
  position:      absolute;
  top:           100%;
  left:          0;
  min-width:     180px;
  background:    var(--ryu-bg-white);
  border:        1px solid var(--ryu-border-light);
  border-radius: 0 0 6px 6px;
  padding:       0.5rem 0;
  list-style:    none;
  margin:        0;
  z-index:       101;
  box-shadow:    0 4px 12px rgba(16, 42, 67, 0.08);
}

.ryu-nav-dropdown .ryu-nav-link {
  display: block;
  padding: 0.5rem 1rem;
  width:   100%;
}

.ryu-nav-dropdown .ryu-nav-link:hover {
  background: var(--ryu-bg-cloud);
}

/* ── HAMBURGER ───────────────────────────────────── */

.ryu-menu-toggle {
  display:       none;
  background:    none;
  border:        none;
  color:         var(--ryu-navy);
  cursor:        pointer;
  padding:       0.5rem;
  border-radius: 4px;
}

.ryu-menu-toggle:hover {
  background: var(--ryu-bg-soft-slate);
}

/* ── FOOTER ──────────────────────────────────────── */

.ryu-footer {
  background-color: var(--ryu-navy);
  border-top:       3px solid var(--ryu-blue);
  padding:          3rem 1.5rem 1.5rem;
}

.ryu-footer-inner {
  display:               grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:                   2rem;
  max-width:             1200px;
  margin:                0 auto;
}

.ryu-footer-brand-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ryu-footer-brand-link:hover {
  text-decoration: none;
}

.ryu-footer-brand-link:hover .ryu-footer-site-name {
  color: #FFFFFF;
}

.ryu-footer-logo {
  display: block;
  width: 120px;
  height: auto;
  margin-bottom: 0.75rem;
}

.ryu-footer-site-name {
  font-size:   var(--text-md);
  font-weight: var(--weight-semibold);
  color:       var(--ryu-light-blue);
  margin:      0 0 0.5rem;
}

.ryu-footer-tagline {
  font-size:   var(--text-xs);
  color:       var(--ryu-light-blue);
  line-height: var(--leading-relaxed);
  margin:      0;
}

.ryu-footer-nav-list {
  list-style: none;
  margin:     0;
  padding:    0;
}

.ryu-footer-nav-list li {
  margin-bottom: 0.5rem;
}

.ryu-footer-nav-list a {
  font-size:       var(--text-xs);
  color:           rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.ryu-footer-nav-list a:hover {
  color:           #FFFFFF;
  text-decoration: underline;
}

.ryu-footer-social {
  display: flex;
  gap:     1rem;
}

.ryu-footer-social-link {
  color:           #FFFFFF;
  text-decoration: none;
}

.ryu-footer-social-link:hover {
  color:           var(--ryu-light-blue);
  text-decoration: none;
}

.ryu-footer-bottom {
  max-width:    1200px;
  margin:       2rem auto 0;
  padding-top:  1.5rem;
  border-top:   1px solid rgba(255, 255, 255, 0.1);
  text-align:   center;
}

.ryu-footer-bottom p {
  font-size:  11px;
  color:      rgba(255, 255, 255, 0.5);
  margin:     0.25rem auto;
  max-width:  none;
}

.ryu-footer-book-link {
  color:           var(--ryu-tangerine);
  text-decoration: none;
  font-weight:     var(--weight-medium);
}

.ryu-footer-book-link:hover {
  color:           #FFFFFF;
  text-decoration: underline;
}

/* ── HERO ────────────────────────────────────────── */

.ryu-hero {
  background: var(--ryu-bg-white);
}

/* Full-width banner image */
.ryu-hero__banner {
  margin: 0;
  line-height: 0;
}

.ryu-hero__banner img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: grayscale(1);
}

.ryu-hero__caption {
  max-width: 1040px;
  margin: 8px auto 0;
  padding: 0 2rem;
  font-size: var(--text-xs);
  color: var(--ryu-slate);
  font-style: italic;
  line-height: 1.4;
}

/* Text content below banner */
.ryu-hero__container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.ryu-hero__text {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ryu-hero__accent {
  width: 5px;
  height: 70px;
  background: var(--ryu-tangerine);
  border-radius: 3px;
  margin-top: 6px;
  flex-shrink: 0;
}

.ryu-hero__content {
  flex: 1;
  min-width: 0;
}

.ryu-hero__heading {
  font-family: var(--font-base);
  font-size: clamp(2rem, 5vw, 2.4rem);
  font-weight: var(--weight-semibold);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ryu-navy);
  margin: 0 0 12px;
}

.ryu-hero__subheading {
  font-family: var(--font-base);
  font-size: 1.05rem;
  font-weight: var(--weight-regular);
  line-height: 1.65;
  color: var(--ryu-slate);
  margin: 0 0 24px;
  max-width: 580px;
}

.ryu-hero__tagline {
  font-family: var(--font-base);
  font-size: 1.05rem;
  font-weight: var(--weight-medium);
  font-style: italic;
  line-height: 1.55;
  color: var(--ryu-navy);
  margin: 0 0 24px;
  max-width: 580px;
}

/* Hero — tablet */
@media (max-width: 900px) {
  .ryu-hero__banner img {
    height: 320px;
  }
  .ryu-hero__container {
    padding: 2.5rem 1.5rem 3rem;
  }
  .ryu-hero__heading {
    font-size: clamp(1.75rem, 5vw, 2rem);
  }
}

/* Hero — mobile */
@media (max-width: 560px) {
  .ryu-hero__banner img {
    height: 240px;
  }
  .ryu-hero__container {
    padding: 2rem 1.25rem 2.5rem;
  }
  .ryu-hero__heading {
    font-size: 1.75rem;
  }
  .ryu-hero__subheading {
    font-size: 1rem;
  }
  .ryu-hero__accent {
    height: 56px;
  }
  .ryu-hero__caption {
    padding: 0 1.25rem;
  }
}

/* ── EXPLORE CTA SECTION ────────────────────────── */

.ryu-explore {
  background: var(--ryu-bg-white);
  padding: 2.5rem 2rem;
}

.ryu-explore__container {
  max-width: 960px;
  margin: 0 auto;
}

.ryu-explore__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 0 0 1.25rem;
}

.ryu-explore__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ryu-explore__card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--ryu-bg-white);
  border-radius: 10px;
  border: 1px solid var(--ryu-border-light);
  text-decoration: none;
  color: inherit;
  border-top: 4px solid transparent;
}

.ryu-explore__card:hover {
  text-decoration: none;
  color: inherit;
}

.ryu-explore__card--posts {
  border-top-color: var(--ryu-blue);
}

.ryu-explore__card--podcast {
  border-top-color: var(--ryu-tangerine);
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-explore__card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .ryu-explore__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.1);
  }
}

.ryu-explore__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ryu-explore__icon svg {
  width: 24px;
  height: 24px;
}

.ryu-explore__card--posts .ryu-explore__icon {
  background: var(--ryu-bg-ice);
  color: var(--ryu-blue);
}

.ryu-explore__card--podcast .ryu-explore__icon {
  background: var(--ryu-bg-ivory);
  color: var(--ryu-tangerine);
}

.ryu-explore__text {
  flex: 1;
  min-width: 0;
}

.ryu-explore__title {
  display: block;
  font-family: var(--font-base);
  font-size: var(--text-md);
  font-weight: var(--weight-semibold);
  color: var(--ryu-navy);
  line-height: var(--leading-normal);
  margin-bottom: 4px;
}

.ryu-explore__desc {
  display: block;
  font-size: var(--text-xs);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
}

.ryu-explore__arrow {
  flex-shrink: 0;
  color: var(--ryu-slate);
}

.ryu-explore__arrow svg {
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-explore__arrow {
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .ryu-explore__card:hover .ryu-explore__arrow {
    transform: translateX(4px);
  }
}

.ryu-explore__card--posts:hover .ryu-explore__arrow {
  color: var(--ryu-blue);
}

.ryu-explore__card--podcast:hover .ryu-explore__arrow {
  color: var(--ryu-tangerine);
}

/* Explore CTA — mobile */
@media (max-width: 768px) {
  .ryu-explore__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ryu-explore {
    padding: 2rem 1.25rem;
  }

  .ryu-explore__card {
    padding: 20px;
  }

  .ryu-explore__arrow {
    display: none;
  }
}

/* ── INTRO SECTION ───────────────────────────────── */

.ryu-intro {
  background: var(--ryu-bg-ice);
  padding: 3.5rem 2rem;
}

.ryu-intro__container {
  max-width: 720px;
  margin: 0 auto;
}

.ryu-intro__container > p {
  color: var(--ryu-slate);
  line-height: var(--leading-loose);
  margin: 0 0 1.25rem;
}

.ryu-intro__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 2.5rem 0 1.25rem;
}

.ryu-intro__principles {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ryu-intro__principle {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--ryu-navy);
  font-weight: var(--weight-medium);
}

.ryu-intro__principle::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.45em;
}

.ryu-intro .ryu-pullquote {
  background: var(--ryu-bg-ivory);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
  margin: 0 0 2.5rem;
}

.ryu-intro__closing {
  text-align: center;
  padding-top: 1rem;
}

.ryu-intro__closing-lead {
  font-size: var(--text-md);
  color: var(--ryu-slate);
  margin: 0 0 0.25rem;
}

.ryu-intro__brand {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: var(--weight-semibold);
  color: var(--ryu-navy);
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.ryu-intro__brand sup {
  font-size: 0.5em;
  vertical-align: super;
}

.ryu-intro__closing-sub {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--ryu-slate);
  max-width: 520px;
  margin: 0 auto;
  line-height: var(--leading-relaxed);
}

/* Intro — mobile */
@media (max-width: 560px) {
  .ryu-intro {
    padding: 2.5rem 1.25rem;
  }
}

/* ── TOPICS SECTION ───────────────────────────────── */

.ryu-topics {
  background: var(--ryu-bg-ivory);
  padding: 3.5rem 2rem;
}

.ryu-topics__container {
  max-width: 960px;
  margin: 0 auto;
}

.ryu-topics__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 2.5rem 0 1.25rem;
}

.ryu-topics__heading:first-child {
  margin-top: 0;
}

/* Card grid */
.ryu-topics__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 2.5rem;
}

.ryu-topics__card {
  background: var(--ryu-bg-cloud);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid transparent;
}

.ryu-topics__card--tangerine {
  border-top-color: var(--ryu-tangerine);
}

.ryu-topics__card--blue {
  border-top-color: var(--ryu-blue);
}

.ryu-topics__card--mid-blue {
  border-top-color: var(--ryu-mid-blue);
}

.ryu-topics__card > .ryu-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.ryu-topics__card--tangerine > .ryu-icon {
  color: var(--ryu-tangerine);
}

.ryu-topics__card--blue > .ryu-icon {
  color: var(--ryu-blue);
}

.ryu-topics__card--mid-blue > .ryu-icon {
  color: var(--ryu-mid-blue);
}

.ryu-topics__card-title {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  margin: 0 0 0.5rem;
}

.ryu-topics__card-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
}

/* Sublist inside card */
.ryu-topics__card .ryu-topics__sublist {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ryu-topics__card .ryu-topics__sublist li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  font-weight: var(--weight-regular);
}

.ryu-topics__card .ryu-topics__sublist li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ryu-mid-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* Pullquotes */
.ryu-team .ryu-pullquote {
  background: var(--ryu-bg-white);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
  margin: 1.5rem 0;
}

/* Topics — mobile */
@media (max-width: 768px) {
  .ryu-topics__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .ryu-topics {
    padding: 2.5rem 1.25rem;
  }
}

/* ── CONVERSATIONS SECTION ────────────────────────── */

.ryu-conversations {
  background: var(--ryu-bg-soft-slate);
}

.ryu-conversations__container {
  max-width: 1100px;
  margin: 0 auto;
}

.ryu-conversations__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 0 0 1.25rem;
}

.ryu-conversations__intro {
  max-width: 860px;
  margin: 0 0 2.5rem;
}

.ryu-conversations__intro p {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--ryu-slate);
  margin: 0 0 1rem;
  max-width: none;
}

.ryu-conversations__intro a {
  color: var(--ryu-mid-blue);
  font-weight: var(--weight-medium);
}

.ryu-conversations__intro a:hover {
  color: var(--ryu-blue);
  text-decoration: underline;
}

/* Timeline gallery */
.ryu-conversations__timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.ryu-conversations__entry {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ryu-conversations__year-label {
  display: inline-flex;
  align-self: center;
  padding: 0.375rem 1.25rem;
  background: var(--ryu-blue);
  color: #FFFFFF;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.ryu-conversations__image-wrap {
  border-radius: 8px;
  overflow: hidden;
  background: var(--ryu-bg-white);
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.08);
}

.ryu-conversations__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Disclaimer */
.ryu-conversations__disclaimer {
  font-size: 0.75rem;
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  font-style: italic;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--ryu-bg-cloud);
  border-radius: 6px;
  border-left: 3px solid var(--ryu-border-light);
}

/* Conversations — mobile */
@media (max-width: 560px) {
  .ryu-conversations {
    padding: 2.5rem 1.25rem;
  }

  .ryu-conversations__timeline {
    gap: 1.5rem;
  }

  .ryu-conversations__year-label {
    font-size: var(--text-xs);
    padding: 0.3rem 1rem;
  }
}

/* ── TALKS & PRESENTATIONS SECTION ───────────────── */

.ryu-talks {
  background: var(--ryu-bg-white);
}

.ryu-talks__container {
  max-width: 1100px;
  margin: 0 auto;
}

.ryu-talks__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 0 0 1.25rem;
}

.ryu-talks__intro {
  max-width: 680px;
  margin: 0 0 2.5rem;
}

.ryu-talks__intro p {
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--ryu-slate);
  margin: 0;
  max-width: none;
}

/* Timeline */
.ryu-talks__timeline {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.ryu-talks__entry {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ryu-talks__year-label {
  display: inline-flex;
  align-self: center;
  padding: 0.375rem 1.25rem;
  background: var(--ryu-tangerine);
  color: #FFFFFF;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

/* Image galleries */
.ryu-talks__gallery {
  display: grid;
  gap: 16px;
}

.ryu-talks__gallery--single {
  grid-template-columns: 1fr;
}

.ryu-talks__gallery--pair {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.ryu-talks__gallery--grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.ryu-talks__image-wrap {
  border-radius: 10px;
  overflow: hidden;
  background: var(--ryu-bg-cloud);
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.08);
  cursor: zoom-in;
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-talks__image-wrap {
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }

  .ryu-talks__image-wrap:hover {
    box-shadow: 0 6px 20px rgba(16, 42, 67, 0.14);
    transform: translateY(-2px);
  }
}

.ryu-talks__image {
  display: block;
  width: 100%;
  height: auto;
}

/* Talks — tablet */
@media (max-width: 768px) {
  .ryu-talks__gallery--pair,
  .ryu-talks__gallery--grid {
    grid-template-columns: 1fr;
  }
}

/* Talks — mobile */
@media (max-width: 560px) {
  .ryu-talks {
    padding: 2.5rem 1.25rem;
  }

  .ryu-talks__timeline {
    gap: 2rem;
  }

  .ryu-talks__year-label {
    font-size: var(--text-xs);
    padding: 0.3rem 1rem;
  }
}

/* ── LIGHTBOX ─────────────────────────────────────── */

.ryu-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 42, 67, 0.9);
  opacity: 0;
  padding: 2rem;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-lightbox {
    transition: opacity 0.25s ease;
  }
}

.ryu-lightbox--visible {
  opacity: 1;
}

.ryu-lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
  object-fit: contain;
}

.ryu-lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.ryu-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.ryu-lightbox__close:focus-visible {
  outline: 3px solid var(--ryu-light-blue);
  outline-offset: 2px;
}

/* ── CONTACT CTA SECTION ─────────────────────────── */

.ryu-contact-cta__content {
  text-align: center;
}

.ryu-contact-cta__content .ryu-icon {
  color: var(--ryu-tangerine);
  width: 36px;
  height: 36px;
  margin: 0 auto 1.25rem;
}

.ryu-contact-cta__lead {
  font-size: var(--text-md);
  color: var(--ryu-slate);
  line-height: var(--leading-loose);
  max-width: 50ch;
  margin: 0 auto 1.75rem;
}

/* ── ABOUT SECTION ────────────────────────────────── */

.ryu-about__tagline {
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
  margin-bottom: 1.5rem !important;
}

.ryu-about__headshot {
  max-width: 150px;
  margin: 0 0 1.5rem;
}

.ryu-about__headshot img {
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
}

.ryu-about__signature {
  max-width: 320px;
  margin-top: 1.5rem !important;
}

.ryu-about__closing {
  font-weight: var(--weight-medium);
  margin-top: 1rem !important;
}

/* ── POST CARD ──────────────────────────────────── */

.ryu-post-card {
  background:    var(--ryu-bg-cloud);
  border:        1px solid var(--ryu-bg-soft-slate);
  border-radius: 10px;
  padding:       24px;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-post-card {
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .ryu-post-card:hover {
    transform:    translateY(-2px);
    border-color: var(--ryu-mid-blue);
  }
}

/* ── PODCAST ICON BOX ───────────────────────────── */

.ryu-podcast-icon-box {
  width:           64px;
  height:          64px;
  border-radius:   12px;
  background:      var(--ryu-navy);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  color:           var(--ryu-tangerine);
}

/* ── BOOK CALLOUT CARD ──────────────────────────── */

.ryu-book-card {
  background:    var(--ryu-navy);
  border-radius: 12px;
  padding:       36px 40px;
  max-width:     920px;
  margin:        0 auto;
}

.ryu-book-cover-placeholder {
  text-align: center;
}

.ryu-book-cover {
  width: 100px;
  aspect-ratio: 2 / 3;
  margin: 0 auto;
  border-radius: 3px;
  background: linear-gradient(160deg, var(--ryu-tangerine) 0%, #c46a1e 100%);
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.3), 3px 0 6px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  border-left: 4px solid rgba(0, 0, 0, 0.15);
}

.ryu-book-cover__title {
  color: var(--ryu-bg-white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  display: block;
}

.ryu-book-cover__author {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 6px;
  display: block;
}

/* ── TESTIMONIAL CARDS (v2) ─────────────────────── */

.ryu-testimonial-card {
  background:    var(--ryu-bg-white);
  border:        1px solid var(--ryu-bg-soft-slate);
  border-radius: 10px;
  border-left:   4px solid var(--ryu-tangerine);
  padding:       24px;
}

/* ── RESOURCE CARDS (v2) ────────────────────────── */

.ryu-resource-card {
  background:    var(--ryu-bg-white);
  border:        1px solid var(--ryu-bg-soft-slate);
  border-radius: 10px;
  padding:       24px;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-resource-card {
    transition: border-color 0.2s ease;
  }

  .ryu-resource-card:hover {
    border-color: var(--ryu-mid-blue);
  }
}

/* ── SINGLE POST ENHANCEMENTS ───────────────────── */

.single article blockquote,
.single article .ryu-pullquote {
  background:    var(--ryu-bg-ivory);
  padding:       1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
  border-left:   4px solid var(--ryu-tangerine);
}

.single article pre {
  background:    var(--ryu-bg-soft-slate);
  border-radius: 4px;
  padding:       1.25rem;
}

.single article code {
  background:    var(--ryu-bg-soft-slate);
  border-radius: 4px;
  padding:       0.15em 0.35em;
  font-family:   var(--ryu-font-mono, 'JetBrains Mono', 'Consolas', monospace);
}

.single article pre code {
  background: none;
  padding:    0;
}

/* ── RESPONSIVE ──────────────────────────────────── */

@media (max-width: 768px) {
  .ryu-menu-toggle {
    display: flex;
  }

  .ryu-nav {
    position:   absolute;
    top:        100%;
    left:       0;
    right:      0;
    background: var(--ryu-bg-white);
    border-top: 1px solid var(--ryu-border-light);
    padding:    1rem;
    box-shadow: 0 4px 12px rgba(16, 42, 67, 0.08);
  }

  .ryu-nav-list {
    flex-direction: column;
    align-items:    stretch;
    gap:            0;
  }

  .ryu-nav-link {
    padding:       0.75rem 1rem;
    border-bottom: 1px solid var(--ryu-bg-soft-slate);
    color:         var(--ryu-navy);
  }

  .ryu-nav-active {
    border-bottom-color: var(--ryu-tangerine);
    color:               var(--ryu-tangerine);
  }

  .ryu-nav-dropdown {
    position:      static;
    border:        none;
    border-radius: 0;
    padding:       0 0 0 1rem;
    box-shadow:    none;
  }

  .ryu-site-tagline {
    display: none;
  }

  .ryu-footer-inner {
    grid-template-columns: 1fr;
    text-align:            center;
  }

  .ryu-footer-social {
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .ryu-nav {
    display: flex !important;
  }

  .ryu-nav[hidden] {
    display: flex !important;
  }
}

/* ── RESPONSIVE — GLOBAL ─────────────────────────── */

/* Ensure all images and embeds are fluid */
img,
video,
iframe,
object,
embed {
  max-width:  100%;
  height:     auto;
}

/* Full-width sections need tighter padding on mobile */
@media (max-width: 480px) {
  body {
    font-size: var(--text-base);
  }

  .wp-block-group.alignfull {
    padding-left:  1rem !important;
    padding-right: 1rem !important;
  }

  .wp-block-buttons {
    flex-direction: column;
  }

  .wp-block-button {
    width: 100%;
  }

  .wp-block-button__link {
    width: 100%;
    text-align: center;
  }
}

/* Tablet — reduce column counts where needed */
@media (max-width: 1024px) and (min-width: 769px) {
  .wp-block-columns:not(.is-not-stacked-on-mobile) {
    flex-wrap: wrap;
  }
}

/* Form inputs responsive */
@media (max-width: 768px) {
  .ryu-form-group input,
  .ryu-form-group textarea,
  .ryu-form-group select {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }

  .ryu-contact-form {
    padding: 0 0.5rem;
  }
}

/* Touch targets — minimum 44px for mobile */
@media (max-width: 768px) {
  .ryu-btn-primary,
  .ryu-btn-secondary,
  .ryu-nav-link,
  button,
  a.wp-block-button__link {
    min-height: 44px;
    display:    inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* ── ENDORSEMENTS ────────────────────────────────── */

/* Hero */

.ryu-endorsements-hero__visual {
  background: linear-gradient(135deg, var(--ryu-navy) 0%, #0a1e33 40%, var(--ryu-blue) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.ryu-endorsements-hero__pattern {
  display: block;
  width: 100%;
  height: auto;
  min-height: 180px;
  max-height: 280px;
}

.ryu-endorsements-hero__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.625rem 2rem;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ryu-light-blue);
}

@media (max-width: 560px) {
  .ryu-endorsements-hero__pattern {
    min-height: 140px;
  }
}

.ryu-endorsements-hero__heading {
  font-family: var(--font-base);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--ryu-navy);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
}

.ryu-endorsements-hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  max-width: 70ch;
}

/* Card grid */

.ryu-endorsements-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Endorsement card */

.ryu-endorsement-card {
  background: var(--ryu-bg-white);
  border: 1px solid var(--ryu-border-light);
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  max-width: 820px;
}

.ryu-endorsement-card__accent {
  width: 40px;
  height: 3px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.ryu-endorsement-card__headline {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2.5vw, 1.35rem);
  font-weight: var(--weight-semibold);
  color: var(--ryu-navy);
  line-height: var(--leading-normal);
  margin: 0 0 1rem;
}

.ryu-endorsement-card__text {
  margin: 0 0 1.5rem;
}

.ryu-endorsement-card__text p {
  font-size: 1rem;
  font-style: italic;
  color: var(--ryu-slate);
  line-height: 1.75;
  margin: 0 0 0.75rem;
  max-width: 70ch;
}

.ryu-endorsement-card__text p:last-child {
  margin-bottom: 0;
}

.ryu-endorsement-card__text strong {
  font-weight: var(--weight-medium);
  color: var(--ryu-navy);
  font-style: normal;
}

.ryu-endorsement-card__divider {
  border: none;
  border-top: 1px solid var(--ryu-border-light);
  margin: 0 0 1.25rem;
}

.ryu-endorsement-card__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ryu-endorsement-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--ryu-bg-ice);
  flex-shrink: 0;
}

.ryu-endorsement-card__meta {
  min-width: 0;
}

a.ryu-endorsement-card__name {
  font-family: var(--font-base);
  font-weight: var(--weight-semibold);
  color: var(--ryu-navy);
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
}

a.ryu-endorsement-card__name:hover {
  color: var(--ryu-mid-blue);
  text-decoration: underline;
}

a.ryu-endorsement-card__name:focus-visible {
  outline: 3px solid var(--ryu-light-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

span.ryu-endorsement-card__name {
  font-family: var(--font-base);
  font-weight: var(--weight-semibold);
  color: var(--ryu-navy);
  font-size: 1rem;
  display: inline-block;
}

.ryu-endorsement-card__title {
  font-size: var(--text-xs);
  color: var(--ryu-slate);
  line-height: 1.4;
  margin: 0.125rem 0 0;
}

/* Hover effect */

@media (prefers-reduced-motion: no-preference) {
  .ryu-endorsement-card {
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
  }

  .ryu-endorsement-card:hover {
    box-shadow: 0 4px 16px rgba(16, 42, 67, 0.08);
    border-color: var(--ryu-mid-blue);
  }
}

/* Mobile responsive */

@media (max-width: 480px) {
  .ryu-endorsement-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .ryu-endorsement-card__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ── MISSION PAGE ────────────────────────────────── */

/* Section tag labels */
.ryu-mission-section-tag {
  display: inline-block;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ryu-tangerine);
  margin-bottom: 0.5rem;
}

.ryu-mission-section-tag--blue {
  color: var(--ryu-blue);
}

.ryu-mission-section-tag--tangerine {
  color: var(--ryu-tangerine);
}

/* ── Mission hero ─────────────────────────────── */

.ryu-mission-hero__visual {
  background: linear-gradient(135deg, var(--ryu-navy) 0%, #0a1e33 40%, var(--ryu-blue) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.ryu-mission-hero__pattern {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 320px;
}

.ryu-mission-hero__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.625rem 2rem;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ryu-light-blue);
}

@media (max-width: 560px) {
  .ryu-mission-hero__pattern {
    min-height: 140px;
  }
}

.ryu-mission-hero__heading {
  font-family: var(--font-base);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--ryu-navy);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  position: relative;
}

.ryu-mission-hero__heading::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.ryu-mission-hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  max-width: 65ch;
}

.ryu-mission-hero__statements {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 2rem;
}

.ryu-mission-hero__statement {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 24px;
  border-top: 4px solid var(--ryu-blue);
}

.ryu-mission-hero__statement:last-child {
  border-top-color: var(--ryu-tangerine);
}

.ryu-mission-hero__statement-label {
  display: block;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ryu-blue);
  margin-bottom: 0.5rem;
}

.ryu-mission-hero__statement:last-child .ryu-mission-hero__statement-label {
  color: var(--ryu-tangerine);
}

.ryu-mission-hero__statement-text {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
  color: var(--ryu-navy);
  margin: 0;
}

@media (max-width: 560px) {
  .ryu-mission-hero__statements {
    grid-template-columns: 1fr;
  }
}

/* ── Mission context ──────────────────────────── */

.ryu-mission-context__container > p {
  max-width: 65ch;
}

/* ── Mission value ────────────────────────────── */

.ryu-mission-value__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2rem;
}

.ryu-mission-value__column {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid var(--ryu-blue);
}

.ryu-mission-value__column:last-child {
  border-top-color: var(--ryu-tangerine);
}

.ryu-mission-value__col-heading {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1.25rem;
}

.ryu-mission-value__col-heading .ryu-icon {
  color: var(--ryu-blue);
}

.ryu-mission-value__column:last-child .ryu-mission-value__col-heading .ryu-icon {
  color: var(--ryu-tangerine);
}

.ryu-mission-value__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ryu-mission-value__list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
}

.ryu-mission-value__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ryu-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55em;
}

.ryu-mission-value__methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ryu-mission-value__method {
  border-left: 3px solid var(--ryu-tangerine);
  padding-left: 16px;
}

.ryu-mission-value__method-label {
  display: block;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--ryu-navy);
  margin-bottom: 4px;
}

.ryu-mission-value__method p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
}

@media (max-width: 768px) {
  .ryu-mission-value__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mission leadership ───────────────────────── */

.ryu-mission-divider {
  width: 48px;
  height: 3px;
  background: var(--ryu-border-light);
  border-radius: 2px;
  margin: 2.5rem 0;
}

.ryu-mission-leadership__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ryu-mission-leadership__list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--ryu-slate);
}

.ryu-mission-leadership__list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* ── Mission principles ───────────────────────── */

.ryu-mission-principles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.ryu-mission-principles__card {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 24px;
  border-top: 4px solid transparent;
}

.ryu-mission-principles__card:nth-child(1) { border-top-color: var(--ryu-tangerine); }
.ryu-mission-principles__card:nth-child(2) { border-top-color: var(--ryu-blue); }
.ryu-mission-principles__card:nth-child(3) { border-top-color: var(--ryu-mid-blue); }
.ryu-mission-principles__card:nth-child(4) { border-top-color: var(--ryu-blue); }
.ryu-mission-principles__card:nth-child(5) { border-top-color: var(--ryu-tangerine); }
.ryu-mission-principles__card:nth-child(6) { border-top-color: var(--ryu-mid-blue); }

.ryu-mission-principles__card > .ryu-icon {
  margin-bottom: 0.75rem;
}

.ryu-mission-principles__card:nth-child(1) > .ryu-icon,
.ryu-mission-principles__card:nth-child(5) > .ryu-icon { color: var(--ryu-tangerine); }
.ryu-mission-principles__card:nth-child(2) > .ryu-icon,
.ryu-mission-principles__card:nth-child(4) > .ryu-icon { color: var(--ryu-blue); }
.ryu-mission-principles__card:nth-child(3) > .ryu-icon,
.ryu-mission-principles__card:nth-child(6) > .ryu-icon { color: var(--ryu-mid-blue); }

.ryu-mission-principles__title {
  font-family: var(--font-base);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  margin: 0 0 0.5rem;
}

.ryu-mission-principles__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
}

.ryu-mission-principles__quote {
  background: var(--ryu-bg-white);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
  text-align: center;
  border-left: none;
  border-bottom: 4px solid var(--ryu-tangerine);
  padding-left: 1.5rem;
}

@media (max-width: 768px) {
  .ryu-mission-principles__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ryu-mission-principles__grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mission perspective ──────────────────────── */

.ryu-mission-perspective__figure {
  margin: 2rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.08);
}

.ryu-mission-perspective__image {
  display: block;
  width: 100%;
  height: auto;
}

.ryu-mission-perspective__quote {
  background: var(--ryu-bg-ivory);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
}

.ryu-mission-perspective__caption {
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  color: var(--ryu-navy);
  text-align: center;
  margin: 0 0 0.25rem;
  max-width: none;
}

.ryu-mission-perspective__source {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--ryu-slate);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: var(--leading-relaxed);
}

.ryu-mission-perspective__cta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding-top: 1rem;
}

@media (max-width: 560px) {
  .ryu-mission-perspective__cta {
    flex-direction: column;
  }

  .ryu-mission-perspective__cta .ryu-btn-primary,
  .ryu-mission-perspective__cta .ryu-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* ── COLLABORATION HERO ─────────────────────────── */

.ryu-collab-hero__top-bar {
  background: var(--ryu-navy);
  padding: 0.625rem 2rem;
  text-align: center;
}

.ryu-collab-hero__label {
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ryu-light-blue);
}

.ryu-collab-hero__banner {
  margin: 0;
  line-height: 0;
}

.ryu-collab-hero__banner img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  filter: grayscale(0.3);
}

.ryu-collab-hero__caption {
  max-width: 1060px;
  margin: 8px auto 0;
  padding: 0 2rem;
  font-size: var(--text-xs);
  color: var(--ryu-slate);
  font-style: italic;
  line-height: 1.5;
}

.ryu-collab-hero__heading {
  font-family: var(--font-base);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--ryu-navy);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  position: relative;
}

.ryu-collab-hero__heading::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.ryu-collab-hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  max-width: 65ch;
}

.ryu-collab-hero__quote {
  background: var(--ryu-bg-white);
  border-left: 4px solid var(--ryu-tangerine);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 0 0 2.5rem;
  font-size: var(--text-lg);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--ryu-navy);
}

.ryu-collab-hero__quote p {
  margin: 0;
  max-width: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ryu-collab-hero__quote cite {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  font-style: normal;
  color: var(--ryu-tangerine);
  margin-top: 0.5rem;
}

.ryu-collab-hero__pullquote {
  background: var(--ryu-bg-ivory);
  border-left: 4px solid var(--ryu-mid-blue);
  border-radius: 6px;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  margin: 2rem 0 0;
  font-size: var(--text-md);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--ryu-navy);
}

.ryu-collab-hero__pullquote p {
  margin: 0;
  max-width: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ryu-collab-hero__pullquote cite {
  display: block;
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  font-style: normal;
  color: var(--ryu-mid-blue);
  margin-top: 0.5rem;
}

/* Collaborator photo gallery */
.ryu-collab-hero__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 2.5rem 0 0;
}

.ryu-collab-hero__gallery-item {
  margin: 0;
}

.ryu-collab-hero__gallery-item--full {
  grid-column: 1 / -1;
}

.ryu-collab-hero__gallery-frame {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.08);
  background: var(--ryu-bg-cloud);
}

.ryu-collab-hero__gallery-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.ryu-collab-hero__gallery-item--strip .ryu-collab-hero__gallery-frame {
  border-radius: 6px;
}

.ryu-collab-hero__gallery figcaption {
  font-size: var(--text-xs);
  font-style: italic;
  color: var(--ryu-slate);
  line-height: 1.5;
  margin-top: 6px;
  padding: 0 2px;
}

@media (max-width: 560px) {
  .ryu-collab-hero__banner img {
    height: 220px;
  }

  .ryu-collab-hero__gallery {
    grid-template-columns: 1fr;
  }
}

/* ── COLLABORATION ENGAGEMENT ──────────────────── */

.ryu-collab-engage__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 0 0 0.75rem;
}

.ryu-collab-engage__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ryu-collab-engage__card {
  background: var(--ryu-bg-cloud);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid transparent;
}

.ryu-collab-engage__card--tangerine { border-top-color: var(--ryu-tangerine); }
.ryu-collab-engage__card--blue      { border-top-color: var(--ryu-blue); }
.ryu-collab-engage__card--mid-blue  { border-top-color: var(--ryu-mid-blue); }

.ryu-collab-engage__card > .ryu-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.ryu-collab-engage__card--tangerine > .ryu-icon { color: var(--ryu-tangerine); }
.ryu-collab-engage__card--blue > .ryu-icon      { color: var(--ryu-blue); }
.ryu-collab-engage__card--mid-blue > .ryu-icon  { color: var(--ryu-mid-blue); }

.ryu-collab-engage__title {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  margin: 0 0 0.5rem;
}

.ryu-collab-engage__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
}

@media (max-width: 768px) {
  .ryu-collab-engage__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ryu-collab-engage__grid {
    grid-template-columns: 1fr;
  }
}

/* ── COLLABORATION QUOTE ───────────────────────── */

.ryu-collab-quote__content {
  text-align: center;
}

.ryu-collab-quote__content > .ryu-icon {
  color: var(--ryu-tangerine);
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
}

.ryu-collab-quote__blockquote {
  border-left: none;
  padding-left: 0;
  margin: 0;
  text-align: center;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-style: italic;
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--ryu-navy);
}

.ryu-collab-quote__blockquote p {
  margin: 0;
  max-width: none;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.ryu-collab-quote__blockquote cite {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  font-style: normal;
  color: var(--ryu-tangerine);
  margin-top: 0.75rem;
}

/* ── COLLABORATION TIMELINE ────────────────────── */

.ryu-collab-timeline__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  margin: 0 0 0.75rem;
}

.ryu-collab-timeline__years {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.ryu-collab-timeline__year-pill {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.375rem 1.5rem;
  background: var(--ryu-blue);
  color: #FFFFFF;
  font-family: var(--font-base);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1;
  border-radius: 20px;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.ryu-collab-timeline__entries {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Featured entry: image + text side by side */
.ryu-collab-timeline__entry--featured {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  background: var(--ryu-bg-white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
}

.ryu-collab-timeline__entry-image {
  overflow: hidden;
}

.ryu-collab-timeline__entry-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ryu-collab-timeline__entry-content {
  padding: 24px 24px 24px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ryu-collab-timeline__entry-title {
  font-family: var(--font-base);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  margin: 0 0 0.5rem;
}

.ryu-collab-timeline__entry-text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
  max-width: none;
}

.ryu-collab-timeline__entry-text em {
  color: var(--ryu-navy);
}

/* Entry list (bullet points) */
.ryu-collab-timeline__entry-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ryu-collab-timeline__entry-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
}

.ryu-collab-timeline__entry-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--ryu-mid-blue);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.5em;
}

/* Compact entry row: two side by side */
.ryu-collab-timeline__entry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.ryu-collab-timeline__entry--compact {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
}

.ryu-collab-timeline__entry-thumb {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* Text-only entry */
.ryu-collab-timeline__entry--text-only {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 24px;
  border-left: 4px solid var(--ryu-mid-blue);
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.06);
}

/* Disclaimer */
.ryu-collab-timeline__disclaimer {
  font-size: 0.75rem;
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  font-style: italic;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  background: var(--ryu-bg-soft-slate);
  border-radius: 6px;
  border-left: 3px solid var(--ryu-border-light);
}

/* Timeline — tablet */
@media (max-width: 768px) {
  .ryu-collab-timeline__entry--featured {
    grid-template-columns: 1fr;
  }

  .ryu-collab-timeline__entry-image {
    max-height: 220px;
  }

  .ryu-collab-timeline__entry-content {
    padding: 20px;
  }

  .ryu-collab-timeline__entry-row {
    grid-template-columns: 1fr;
  }
}

/* Timeline — mobile */
@media (max-width: 560px) {
  .ryu-collab-timeline__years {
    gap: 2.5rem;
  }

  .ryu-collab-timeline__year-pill {
    font-size: var(--text-xs);
    padding: 0.3rem 1rem;
  }

  .ryu-collab-timeline__entry-image {
    max-height: 180px;
  }
}

/* ── SHARED: Section tag labels ──────────────────── */

.ryu-section-tag {
  display: inline-block;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ryu-tangerine);
  margin-bottom: 0.5rem;
}

.ryu-section-tag--blue      { color: var(--ryu-blue); }
.ryu-section-tag--tangerine { color: var(--ryu-tangerine); }

/* ── AI PAGE ────────────────────────────────────────  */

/* ── AI hero ─────────────────────────────────────── */

.ryu-ai-hero__visual {
  background: linear-gradient(135deg, var(--ryu-navy) 0%, #0a1e33 40%, var(--ryu-blue) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.ryu-ai-hero__pattern {
  display: block;
  width: 100%;
  height: auto;
  min-height: 200px;
  max-height: 320px;
}

.ryu-ai-hero__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.625rem 2rem;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ryu-light-blue);
}

.ryu-ai-hero__heading {
  font-family: var(--font-base);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--ryu-navy);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  position: relative;
}

.ryu-ai-hero__heading::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.ryu-ai-hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  max-width: 65ch;
}

.ryu-ai-hero__pullquote {
  background: var(--ryu-bg-white);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
}

@media (max-width: 560px) {
  .ryu-ai-hero__pattern {
    min-height: 140px;
  }
}

/* ── AI stance ───────────────────────────────────── */

.ryu-ai-stance__figure {
  margin: 2rem 0;
  line-height: 0;
}

.ryu-ai-stance__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.08);
}

/* ── AI summary ──────────────────────────────────── */

.ryu-ai-summary__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ryu-ai-summary__card {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid transparent;
}

.ryu-ai-summary__card--tangerine { border-top-color: var(--ryu-tangerine); }
.ryu-ai-summary__card--blue      { border-top-color: var(--ryu-blue); }
.ryu-ai-summary__card--mid-blue  { border-top-color: var(--ryu-mid-blue); }

.ryu-ai-summary__card > .ryu-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.ryu-ai-summary__card--tangerine > .ryu-icon { color: var(--ryu-tangerine); }
.ryu-ai-summary__card--blue > .ryu-icon      { color: var(--ryu-blue); }
.ryu-ai-summary__card--mid-blue > .ryu-icon  { color: var(--ryu-mid-blue); }

.ryu-ai-summary__title {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  margin: 0 0 0.5rem;
}

.ryu-ai-summary__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
}

@media (max-width: 768px) {
  .ryu-ai-summary__grid {
    grid-template-columns: 1fr;
  }
}

/* ── AI perspective ──────────────────────────────── */

.ryu-ai-perspective__divider {
  width: 48px;
  height: 3px;
  background: var(--ryu-blue);
  border-radius: 2px;
  margin: 2.5rem 0;
}

.ryu-ai-perspective__pullquote {
  background: var(--ryu-bg-white);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
}

.ryu-ai-perspective__figure {
  margin: 2rem 0;
  line-height: 0;
}

.ryu-ai-perspective__image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(16, 42, 67, 0.08);
}

/* ── AI value stream ─────────────────────────────── */

.ryu-ai-value__divider {
  width: 48px;
  height: 3px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin: 2.5rem 0;
}

.ryu-ai-value__pullquote {
  background: var(--ryu-bg-ivory);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-radius: 6px;
}

/* ── AI approach ─────────────────────────────────── */

.ryu-ai-approach__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ryu-ai-approach__card {
  background: var(--ryu-bg-white);
  border-radius: 10px;
  padding: 28px 24px;
  border-top: 4px solid transparent;
}

.ryu-ai-approach__card--tangerine { border-top-color: var(--ryu-tangerine); }
.ryu-ai-approach__card--blue      { border-top-color: var(--ryu-blue); }
.ryu-ai-approach__card--mid-blue  { border-top-color: var(--ryu-mid-blue); }

.ryu-ai-approach__card > .ryu-icon {
  width: 28px;
  height: 28px;
  margin-bottom: 0.75rem;
}

.ryu-ai-approach__card--tangerine > .ryu-icon { color: var(--ryu-tangerine); }
.ryu-ai-approach__card--blue > .ryu-icon      { color: var(--ryu-blue); }
.ryu-ai-approach__card--mid-blue > .ryu-icon  { color: var(--ryu-mid-blue); }

.ryu-ai-approach__title {
  font-family: var(--font-base);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--ryu-navy);
  margin: 0 0 0.5rem;
}

.ryu-ai-approach__text {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  margin: 0;
}

@media (max-width: 768px) {
  .ryu-ai-approach__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .ryu-ai-approach__grid {
    grid-template-columns: 1fr;
  }
}

/* ── AI closing ──────────────────────────────────── */

.ryu-ai-closing__question {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-style: italic;
  font-weight: var(--weight-medium);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  border-left: 4px solid var(--ryu-tangerine);
  padding: 1.25rem 1.5rem 1.25rem 2rem;
  background: var(--ryu-bg-white);
  border-radius: 6px;
  margin: 2rem 0;
}

.ryu-ai-closing__divider {
  width: 48px;
  height: 3px;
  background: var(--ryu-blue);
  border-radius: 2px;
  margin: 2.5rem 0;
}

.ryu-ai-closing__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* ── CONTACT PAGE ────────────────────────────────── */

/* Hero */

.ryu-contact-hero__visual {
  background: linear-gradient(135deg, var(--ryu-bg-cloud) 0%, var(--ryu-bg-ice) 60%, var(--ryu-bg-cloud) 100%);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.ryu-contact-hero__pattern {
  display: block;
  width: 100%;
  height: auto;
  min-height: 140px;
  max-height: 220px;
}

.ryu-contact-hero__label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.625rem 2rem;
  font-family: var(--font-base);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ryu-slate);
}

.ryu-contact-hero__heading {
  font-family: var(--font-base);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-tight);
  color: var(--ryu-navy);
  letter-spacing: -0.02em;
  margin: 0 0 1.25rem;
  position: relative;
}

.ryu-contact-hero__heading::before {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.ryu-contact-hero__lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--ryu-slate);
  max-width: 65ch;
}

@media (max-width: 560px) {
  .ryu-contact-hero__pattern {
    min-height: 100px;
  }
}

/* Connect section */

.ryu-contact-connect__heading {
  font-family: var(--font-base);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color: var(--ryu-navy);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  position: relative;
}

.ryu-contact-connect__heading::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--ryu-tangerine);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.ryu-contact-connect__links {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.ryu-contact-connect__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--ryu-bg-white);
  border: 1px solid var(--ryu-border-light);
  border-radius: 8px;
  color: var(--ryu-blue);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.ryu-contact-connect__link:hover {
  border-color: var(--ryu-mid-blue);
  color: var(--ryu-mid-blue);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(16, 42, 67, 0.08);
}

.ryu-contact-connect__link .ryu-icon {
  color: inherit;
  width: 20px;
  height: 20px;
}

/* ── PODCAST PAGE ───────────────────────────────── */

/* Hero visual */
.ryu-podcast-hero__visual {
  position:   relative;
  background: linear-gradient(
    180deg,
    var(--ryu-bg-ice) 0%,
    #dfedf7 50%,
    var(--ryu-bg-ice) 100%
  );
  overflow: hidden;
}

.ryu-podcast-hero__pattern {
  display:    block;
  width:      100%;
  min-height: 180px;
  max-height: 280px;
}

.ryu-podcast-hero__label {
  position:       absolute;
  top:            1.25rem;
  left:           50%;
  transform:      translateX(-50%);
  font-size:      var(--text-xs);
  font-weight:    var(--weight-medium);
  color:          var(--ryu-light-blue);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space:    nowrap;
}

/* Hero columns */
.ryu-podcast-hero__columns {
  display:     flex;
  gap:         2.5rem;
  align-items: center;
}

.ryu-podcast-hero__cover {
  flex-shrink: 0;
  margin:      0;
}

.ryu-podcast-hero__cover img {
  width:         280px;
  height:        280px;
  border-radius: 16px;
  object-fit:    cover;
  box-shadow:    0 8px 24px rgba(16, 42, 67, 0.12);
}

.ryu-podcast-hero__content {
  flex: 1;
  min-width: 0;
}

.ryu-podcast-hero__icon-row {
  margin-bottom: 1rem;
}

.ryu-podcast-hero__heading {
  font-size:      clamp(1.75rem, 4vw, 2.5rem);
  font-weight:    var(--weight-semibold);
  line-height:    var(--leading-tight);
  color:          var(--ryu-navy);
  letter-spacing: -0.02em;
  margin:         0 0 0.5rem;
}

.ryu-podcast-hero__subtitle {
  font-size:   clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--weight-medium);
  color:       var(--ryu-blue);
  margin:      0 0 1rem;
  line-height: var(--leading-normal);
}

.ryu-podcast-hero__intro {
  font-size:   var(--text-md);
  color:       var(--ryu-slate);
  line-height: var(--leading-relaxed);
  margin:      0 0 1.5rem;
  max-width:   50ch;
}

/* Platform badges */
.ryu-podcast-hero__platforms {
  display:   flex;
  flex-wrap: wrap;
  gap:       0.5rem;
}

.ryu-podcast-hero__platform {
  display:         inline-flex;
  align-items:     center;
  gap:             0.4rem;
  padding:         0.5rem 0.875rem;
  background:      var(--ryu-bg-white);
  border:          1px solid var(--ryu-border-light);
  border-radius:   8px;
  color:           var(--ryu-navy);
  font-size:       var(--text-sm);
  font-weight:     var(--weight-medium);
  text-decoration: none;
  line-height:     1;
}

.ryu-podcast-hero__platform img {
  width:         20px;
  height:        20px;
  border-radius: 4px;
  object-fit:    contain;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-podcast-hero__platform {
    transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
  }
}

.ryu-podcast-hero__platform:hover {
  border-color:    var(--ryu-mid-blue);
  color:           var(--ryu-mid-blue);
  text-decoration: none;
  box-shadow:      0 2px 8px rgba(16, 42, 67, 0.08);
}

.ryu-podcast-hero__platform:focus-visible {
  outline:        3px solid var(--ryu-light-blue);
  outline-offset: 3px;
}

/* Mobile hero */
@media (max-width: 768px) {
  .ryu-podcast-hero__pattern {
    min-height: 100px;
  }

  .ryu-podcast-hero__columns {
    flex-direction: column;
    text-align:     center;
  }

  .ryu-podcast-hero__cover img {
    width:  220px;
    height: 220px;
  }

  .ryu-podcast-hero__icon-row {
    display:         flex;
    justify-content: center;
  }

  .ryu-podcast-hero__intro {
    max-width: none;
  }

  .ryu-podcast-hero__platforms {
    justify-content: center;
  }
}

/* ── Podcast about ──────────────────────────────── */

.ryu-podcast-about__heading {
  font-size:      clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight:    var(--weight-semibold);
  line-height:    var(--leading-snug);
  color:          var(--ryu-navy);
  margin:         0 0 1.5rem;
  position:       relative;
  padding-top:    1.25rem;
}

.ryu-podcast-about__heading::before {
  content:       '';
  position:      absolute;
  top:           0;
  left:          0;
  width:         40px;
  height:        3px;
  background:    var(--ryu-tangerine);
  border-radius: 2px;
}

.ryu-podcast-about__note {
  display:       flex;
  gap:           0.75rem;
  padding:       1.25rem 1.5rem;
  background:    var(--ryu-bg-cloud);
  border-left:   3px solid var(--ryu-tangerine);
  border-radius: 0 8px 8px 0;
  margin:        1.5rem 0;
}

.ryu-podcast-about__note .ryu-icon {
  flex-shrink: 0;
  color:       var(--ryu-tangerine);
  margin-top:  0.15rem;
}

.ryu-podcast-about__note p {
  margin:      0;
  font-size:   var(--text-sm);
  color:       var(--ryu-slate);
  line-height: var(--leading-relaxed);
}

/* ── Podcast episodes ───────────────────────────── */

.ryu-podcast-episodes__heading {
  font-size:      clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight:    var(--weight-semibold);
  line-height:    var(--leading-snug);
  color:          var(--ryu-navy);
  margin:         0 0 0.5rem;
}

.ryu-podcast-episodes__count {
  font-size:     var(--text-sm);
  color:         var(--ryu-slate);
  margin:        0 0 2rem;
  font-weight:   var(--weight-regular);
}

/* Season accordion */
.ryu-podcast-season {
  background:    var(--ryu-bg-white);
  border:        1px solid var(--ryu-border-light);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow:      hidden;
}

.ryu-podcast-season__header {
  display:     flex;
  align-items: center;
  gap:         0.75rem;
  padding:     1rem 1.25rem;
  cursor:      pointer;
  list-style:  none;
  user-select: none;
}

.ryu-podcast-season__header::-webkit-details-marker {
  display: none;
}

.ryu-podcast-season__header::marker {
  content: '';
}

.ryu-podcast-season__title {
  font-size:   clamp(1rem, 2vw, 1.25rem);
  font-weight: var(--weight-semibold);
  color:       var(--ryu-navy);
}

.ryu-podcast-season__badge {
  font-size:     var(--text-xs);
  font-weight:   var(--weight-medium);
  color:         var(--ryu-mid-blue);
  background:    var(--ryu-bg-ice);
  padding:       0.2rem 0.6rem;
  border-radius: 100px;
  white-space:   nowrap;
}

.ryu-podcast-season__header .ryu-icon {
  margin-left: auto;
  color:       var(--ryu-slate);
  flex-shrink: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-podcast-season__header .ryu-icon {
    transition: transform 0.2s ease;
  }
}

.ryu-podcast-season[open] > .ryu-podcast-season__header .ryu-icon {
  transform: rotate(180deg);
}

.ryu-podcast-season__header:hover {
  background: var(--ryu-bg-cloud);
}

.ryu-podcast-season__header:focus-visible {
  outline:        3px solid var(--ryu-light-blue);
  outline-offset: -3px;
}

/* Episode list */
.ryu-podcast-season__list {
  border-top: 1px solid var(--ryu-border-light);
}

/* Episode row */
.ryu-podcast-episode {
  display:     flex;
  align-items: center;
  gap:         0.75rem;
  padding:     0.75rem 1.25rem;
  border-bottom: 1px solid var(--ryu-border-light);
}

.ryu-podcast-episode:last-child {
  border-bottom: none;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-podcast-episode {
    transition: background-color 0.1s ease;
  }
}

.ryu-podcast-episode:hover {
  background: var(--ryu-bg-cloud);
}

.ryu-podcast-episode__number {
  flex-shrink: 0;
  width:       3rem;
  font-size:   var(--text-sm);
  font-weight: var(--weight-semibold);
  color:       var(--ryu-navy);
  text-align:  center;
}

.ryu-podcast-episode__title {
  flex:        1;
  min-width:   0;
  font-size:   var(--text-sm);
  font-weight: var(--weight-medium);
  color:       var(--ryu-navy);
  line-height: var(--leading-normal);
}

/* Platform icon links */
.ryu-podcast-episode__links {
  display:     flex;
  align-items: center;
  gap:         0.25rem;
  flex-shrink: 0;
}

.ryu-podcast-episode__link {
  display:       flex;
  align-items:   center;
  justify-content: center;
  width:         32px;
  height:        32px;
  border-radius: 6px;
  opacity:       0.65;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-podcast-episode__link {
    transition: opacity 0.15s ease, background-color 0.15s ease;
  }
}

.ryu-podcast-episode__link:hover {
  opacity:    1;
  background: var(--ryu-bg-ice);
}

.ryu-podcast-episode__link:focus-visible {
  outline:        3px solid var(--ryu-light-blue);
  outline-offset: 1px;
  opacity:        1;
}

.ryu-podcast-episode__link img {
  width:      20px;
  height:     20px;
  border-radius: 4px;
  object-fit: contain;
}

/* Mobile episodes */
@media (max-width: 768px) {
  .ryu-podcast-episode {
    flex-wrap: wrap;
    padding:   0.75rem 1rem;
  }

  .ryu-podcast-episode__number {
    width:     2.5rem;
    font-size: var(--text-xs);
  }

  .ryu-podcast-episode__title {
    flex-basis: calc(100% - 3.5rem);
    font-size:  var(--text-xs);
  }

  .ryu-podcast-episode__links {
    width:       100%;
    padding-left: 2.5rem;
    margin-top:  0.25rem;
    gap:         0.125rem;
  }

  .ryu-podcast-episode__link {
    width:  36px;
    height: 36px;
  }
}

/* ── RESOURCES PAGE ─────────────────────────────── */

/* Hero */
.ryu-resources-hero__image-wrap {
  position:   relative;
  display:    block;
  max-height: 340px;
  overflow:   hidden;
}

.ryu-resources-hero__image {
  width:      100%;
  height:     auto;
  display:    block;
  object-fit: cover;
}

.ryu-resources-hero__overlay {
  position:   absolute;
  inset:      0;
  background: linear-gradient(
    to bottom,
    rgba(235, 244, 251, 0) 40%,
    rgba(235, 244, 251, 1) 100%
  );
  pointer-events: none;
}

/* Blockquote */
.ryu-resources-quote {
  border-left:  4px solid var(--ryu-tangerine);
  margin:       2rem 0;
  padding:      1.25rem 1.5rem;
  background:   var(--ryu-bg-ivory);
  border-radius: 0 8px 8px 0;
}

.ryu-resources-quote p {
  font-size:   var(--text-lg);
  font-style:  italic;
  font-weight: var(--weight-medium);
  color:       var(--ryu-navy);
  line-height: var(--leading-relaxed);
  margin:      0 0 0.5rem 0;
}

.ryu-resources-quote cite {
  display:    block;
  font-style: normal;
  font-size:  var(--text-sm);
  color:      var(--ryu-slate);
}

.ryu-resources-quote--warm {
  background: var(--ryu-bg-ivory);
}

/* T-shaped diagram */
.ryu-resources-diagram {
  margin:   2.5rem 0;
  padding:  0;
}

.ryu-resources-diagram__image {
  width:         100%;
  height:        auto;
  display:       block;
  border-radius: 10px;
  border:        1px solid var(--ryu-border-light);
}

/* Book list */
.ryu-book-list {
  list-style:  none;
  margin:      0;
  padding:     0;
}

.ryu-book-list__item {
  display:       flex;
  align-items:   flex-start;
  gap:           0.75rem;
  padding:       0.875rem 0;
  border-bottom: 1px solid var(--ryu-border-light);
}

.ryu-book-list__item:first-child {
  border-top: 1px solid var(--ryu-border-light);
}

.ryu-book-list__item .ryu-icon {
  color:      var(--ryu-mid-blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.ryu-book-list__item strong {
  color:       var(--ryu-navy);
  font-weight: var(--weight-semibold);
}

.ryu-book-list__subtitle {
  color:     var(--ryu-slate);
  font-size: var(--text-sm);
}

.ryu-book-list__subtitle::before {
  content: "\2014\00a0";
  color:   var(--ryu-border-light);
}

.ryu-book-list__author {
  display:   block;
  font-size: var(--text-xs);
  color:     var(--ryu-slate);
  margin-top: 0.125rem;
}

.ryu-book-list__more {
  margin-top: 1rem;
  font-size:  var(--text-sm);
  color:      var(--ryu-slate);
}

/* Connect CTA */
.ryu-resources-connect__content {
  text-align: center;
}

.ryu-resources-connect__icon {
  display:       inline-flex;
  align-items:   center;
  justify-content: center;
  width:         56px;
  height:        56px;
  border-radius: 50%;
  background:    var(--ryu-bg-white);
  color:         var(--ryu-mid-blue);
  margin-bottom: 1.25rem;
}

.ryu-resources-connect__heading {
  font-size:   clamp(1.5rem, 3.5vw, 2.25rem);
  font-weight: var(--weight-semibold);
  color:       var(--ryu-navy);
  line-height: var(--leading-snug);
  margin:      0 0 0.75rem 0;
}

.ryu-resources-connect__text {
  font-size:   var(--text-md);
  color:       var(--ryu-slate);
  line-height: var(--leading-loose);
  margin:      0 0 1.5rem 0;
  max-width:   55ch;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .ryu-resources-hero__image-wrap {
    max-height: 200px;
  }

  .ryu-resources-quote {
    padding: 1rem 1.25rem;
  }

  .ryu-book-list__subtitle::before {
    content: none;
  }

  .ryu-book-list__subtitle {
    display: block;
  }
}

/* ── POSTS HERO ─────────────────────────────────── */

.ryu-posts-hero {
  position: relative;
  overflow: hidden;
}

.ryu-posts-hero__visual {
  position:   relative;
  background: linear-gradient(
    180deg,
    var(--ryu-bg-cloud) 0%,
    #e4e7ec 50%,
    var(--ryu-bg-cloud) 100%
  );
  overflow: hidden;
}

.ryu-posts-hero__pattern {
  display:    block;
  width:      100%;
  min-height: 180px;
  max-height: 280px;
}

.ryu-posts-hero__label {
  position:       absolute;
  top:            1.25rem;
  left:           50%;
  transform:      translateX(-50%);
  font-size:      var(--text-xs);
  font-weight:    var(--weight-semibold);
  color:          var(--ryu-tangerine);
  text-transform: uppercase;
  white-space:    nowrap;
}

.ryu-posts-hero__icon-row {
  margin-bottom: 1.25rem;
}

.ryu-posts-icon-box {
  width:           56px;
  height:          56px;
  border-radius:   12px;
  background:      var(--ryu-navy);
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  color:           var(--ryu-mid-blue);
}

/* ── POSTS GRID LISTING ────────────────────────── */

.ryu-posts-listing__inner {
  max-width: 1200px;
  margin:    0 auto;
}

.ryu-posts-listing__count {
  font-size:     0.85rem;
  color:         var(--ryu-slate);
  margin:        0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ryu-border-light);
}

.ryu-posts-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.75rem;
}

/* ── POST CARD (GRID VARIANT) ──────────────────── */

.ryu-post-card.ryu-post-card--grid {
  display:        flex;
  flex-direction: column;
  overflow:       hidden;
  padding:        0;
  background:     var(--ryu-bg-cloud);
  border:         1px solid var(--ryu-border-light);
  border-radius:  10px;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-post-card.ryu-post-card--grid {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .ryu-post-card.ryu-post-card--grid:hover {
    transform:    translateY(-3px);
    border-color: var(--ryu-mid-blue);
    box-shadow:   0 8px 24px rgba(16, 42, 67, 0.1);
  }
}

.ryu-post-card--grid .ryu-post-card__image-link {
  display:     block;
  overflow:    hidden;
  flex-shrink: 0;
  width:       100%;
}

.ryu-post-card--grid .ryu-post-card__image,
.ryu-post-card--grid .wp-post-image {
  width:        100%;
  height:       auto;
  aspect-ratio: 3 / 2;
  object-fit:   cover;
  display:      block;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-post-card--grid .ryu-post-card__image {
    transition: transform 0.3s ease;
  }

  .ryu-post-card--grid:hover .ryu-post-card__image {
    transform: scale(1.03);
  }
}

.ryu-post-card--grid .ryu-post-card__image-link--placeholder {
  display:          flex;
  align-items:      center;
  justify-content:  center;
  aspect-ratio:     3 / 2;
  background:       var(--ryu-bg-ice);
  flex-shrink:      0;
  width:            100%;
}

.ryu-post-card__placeholder {
  color:   var(--ryu-mid-blue);
  opacity: 0.4;
}

.ryu-post-card--grid .ryu-post-card__body {
  padding:        1.25rem 1.5rem 1.5rem;
  display:        flex;
  flex-direction: column;
  flex-grow:      1;
  min-height:     0;
}

.ryu-post-card__meta {
  display:     flex;
  align-items: center;
  gap:         1rem;
  font-size:   0.8rem;
  color:       var(--ryu-slate);
  margin-bottom: 0.625rem;
}

.ryu-post-card__meta time {
  display:     flex;
  align-items: center;
  gap:         0.3rem;
}

.ryu-post-card__reading-time {
  display:     flex;
  align-items: center;
  gap:         0.3rem;
}

.ryu-post-card__meta .ryu-icon {
  width:  14px;
  height: 14px;
  opacity: 0.7;
}

.ryu-post-card__title {
  font-size:   clamp(1rem, 2vw, 1.2rem);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
  color:       var(--ryu-navy);
  margin:      0 0 0.5rem 0;
}

.ryu-post-card__title a {
  color:           inherit;
  text-decoration: none;
}

.ryu-post-card__title a:hover {
  color:           var(--ryu-mid-blue);
  text-decoration: underline;
}

.ryu-post-card__excerpt {
  font-size:   0.9rem;
  line-height: 1.6;
  color:       var(--ryu-slate);
  margin:      0 0 1rem 0;
  flex-grow:   1;
}

.ryu-post-card__readmore {
  display:         inline-flex;
  align-items:     center;
  gap:             0.35rem;
  font-size:       0.85rem;
  font-weight:     var(--weight-medium);
  color:           var(--ryu-mid-blue);
  text-decoration: none;
  margin-top:      auto;
}

.ryu-post-card__readmore:hover {
  color:           var(--ryu-blue);
  text-decoration: underline;
}

.ryu-post-card__readmore .ryu-icon {
  width:  14px;
  height: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-post-card__readmore .ryu-icon {
    transition: transform 0.2s ease;
  }

  .ryu-post-card__readmore:hover .ryu-icon {
    transform: translateX(3px);
  }
}

/* ── PAGINATION ────────────────────────────────── */

.ryu-pagination {
  margin-top: 3rem;
  text-align: center;
}

.ryu-pagination ul {
  display:         flex;
  justify-content: center;
  align-items:     center;
  gap:             0.25rem;
  list-style:      none;
  padding:         0;
  margin:          0;
  flex-wrap:       wrap;
}

.ryu-pagination li {
  margin: 0;
}

.ryu-pagination .page-numbers {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  min-width:       40px;
  height:          40px;
  padding:         0.25rem 0.75rem;
  border:          1px solid var(--ryu-border-light);
  border-radius:   6px;
  font-size:       0.875rem;
  font-weight:     var(--weight-medium);
  color:           var(--ryu-slate);
  text-decoration: none;
  background:      var(--ryu-bg-white);
}

@media (prefers-reduced-motion: no-preference) {
  .ryu-pagination .page-numbers {
    transition: all 0.15s ease;
  }
}

.ryu-pagination .page-numbers:hover {
  color:        var(--ryu-blue);
  border-color: var(--ryu-mid-blue);
  background:   var(--ryu-bg-ice);
}

.ryu-pagination .page-numbers.current {
  color:        var(--ryu-bg-white);
  background:   var(--ryu-blue);
  border-color: var(--ryu-blue);
  font-weight:  var(--weight-semibold);
}

.ryu-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: var(--ryu-slate);
  pointer-events: none;
}

.ryu-pagination .prev,
.ryu-pagination .next {
  gap: 0.25rem;
}

.ryu-pagination .prev .ryu-icon,
.ryu-pagination .next .ryu-icon {
  width:  16px;
  height: 16px;
}

/* ── POSTS EMPTY STATE ─────────────────────────── */

.ryu-posts-listing__empty {
  text-align: center;
  padding:    4rem 2rem;
}

.ryu-posts-listing__empty-icon {
  color:         var(--ryu-mid-blue);
  opacity:       0.4;
  margin-bottom: 1.5rem;
}

.ryu-posts-listing__empty h2 {
  font-size:   clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: var(--weight-semibold);
  color:       var(--ryu-navy);
  margin:      0 0 0.75rem 0;
}

.ryu-posts-listing__empty p {
  font-size: var(--text-md);
  color:     var(--ryu-slate);
  max-width: 50ch;
  margin:    0 auto;
}

/* ── POSTS RESPONSIVE ──────────────────────────── */

@media (max-width: 1024px) {
  .ryu-posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 640px) {
  .ryu-posts-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ryu-posts-hero__pattern {
    min-height: 100px;
  }

  .ryu-post-card__body {
    padding: 1rem 1.25rem 1.25rem;
  }

  .ryu-post-card__meta {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .ryu-pagination .page-numbers {
    min-width: 36px;
    height:    36px;
    padding:   0.2rem 0.5rem;
    font-size: 0.8rem;
  }
}

/* ── MOTION ──────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration:        0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration:       0.01ms !important;
    scroll-behavior:           auto !important;
  }
}
