/* RR Portfolio OS v2 — semantic design system */

/* -------------------------------------------------------------------------- */
/* Tokens — Light (default)                                                     */
/* -------------------------------------------------------------------------- */
:root {
  /* Surfaces */
  --rr-background: #f4f1ea;
  --rr-background-secondary: #ebe6dc;
  --rr-surface: #fffcf7;
  --rr-surface-alt: #f7f3eb;
  --rr-surface-elevated: rgba(255, 252, 247, 0.82);
  --rr-surface-inverse: #111318;

  /* Text */
  --rr-text-primary: #17181c;
  --rr-text-secondary: #5c616b;
  --rr-text-tertiary: #7a808c;
  --rr-text-inverse: #f7f7f8;
  --rr-text-on-accent: #ffffff;

  /* Borders */
  --rr-border: rgba(23, 24, 28, 0.1);
  --rr-border-strong: rgba(23, 24, 28, 0.16);
  --rr-border-hover: rgba(23, 24, 28, 0.22);
  --rr-border-subtle: rgba(23, 24, 28, 0.06);

  /* Accent */
  --rr-accent: #0b5fff;
  --rr-accent-hover: #0847c7;
  --rr-accent-soft: rgba(11, 95, 255, 0.1);
  --rr-accent-2: #5b4dff;

  /* Status */
  --rr-success: #0f7a4c;
  --rr-warning: #a15c00;
  --rr-error: #c23030;

  /* Interactive fills */
  --rr-fill-quiet: rgba(23, 24, 28, 0.05);
  --rr-fill-quiet-hover: rgba(23, 24, 28, 0.09);
  --rr-fill-strong: #17181c;
  --rr-fill-strong-hover: #2a2c33;
  --rr-input-bg: #f0ebe2;
  --rr-input-bg-focus: #fffcf7;

  /* Shadows */
  --rr-shadow-sm: 0 4px 16px rgba(23, 24, 28, 0.05);
  --rr-shadow: 0 16px 48px rgba(23, 24, 28, 0.08);
  --rr-shadow-lg: 0 28px 72px rgba(23, 24, 28, 0.12);
  --rr-shadow-btn: 0 10px 28px rgba(23, 24, 28, 0.16);
  --rr-focus-ring: 0 0 0 3px rgba(11, 95, 255, 0.35);

  /* CTA panel */
  --rr-cta-from: #12151c;
  --rr-cta-to: #1c2434;
  --rr-cta-glow-1: rgba(11, 95, 255, 0.32);
  --rr-cta-glow-2: rgba(91, 77, 255, 0.28);

  /* Gradients / ambience */
  --rr-glow-1: rgba(11, 95, 255, 0.09);
  --rr-glow-2: rgba(91, 77, 255, 0.08);
  --rr-hero-media: linear-gradient(160deg, #d8deea, #eef1f6 48%, #c8d1e0);
  --rr-hero-card: linear-gradient(145deg, rgba(255, 252, 247, 0.92), rgba(247, 243, 235, 0.72));

  /* Shape & layout — 8px rhythm */
  --rr-space-1: 8px;
  --rr-space-2: 16px;
  --rr-space-3: 24px;
  --rr-space-4: 32px;
  --rr-space-5: 40px;
  --rr-space-6: 48px;
  --rr-space-7: 64px;
  --rr-space-8: 80px;
  --rr-space-9: 96px;

  --rr-radius-xs: 8px;
  --rr-radius-sm: 16px;
  --rr-radius: 24px;
  --rr-radius-lg: 32px;
  --rr-radius-pill: 999px;

  --rr-container: 1120px;
  --rr-container-wide: 1200px;
  --rr-narrow: 720px;
  --rr-header-h: 72px;

  /* Type */
  --rr-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rr-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --rr-fs-xs: 0.8125rem;
  --rr-fs-sm: 0.9375rem;
  --rr-fs-md: 1.0625rem;
  --rr-fs-lg: 1.1875rem;
  --rr-fs-xl: clamp(1.75rem, 3.2vw, 2.5rem);
  --rr-fs-2xl: clamp(2.25rem, 4.5vw, 3.5rem);
  --rr-fs-3xl: clamp(2.75rem, 5.5vw, 4.25rem);
  --rr-lh-tight: 1.08;
  --rr-lh-snug: 1.25;
  --rr-lh-body: 1.65;

  /* Motion */
  --rr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rr-duration-fast: 200ms;
  --rr-duration: 250ms;
  --rr-duration-med: 300ms;
  --rr-duration-slow: 400ms;

  /* Legacy aliases (components still using short names) */
  --rr-bg: var(--rr-background);
  --rr-bg-elevated: var(--rr-surface-elevated);
  --rr-ink: var(--rr-text-primary);
  --rr-ink-soft: var(--rr-text-secondary);
  --rr-line: var(--rr-border);
  --rr-glass: var(--rr-surface);
  --rr-glass-border: var(--rr-border);
  --rr-dark: var(--rr-cta-from);
  --rr-dark-2: var(--rr-cta-to);
}

/* -------------------------------------------------------------------------- */
/* Tokens — Dark                                                                */
/* -------------------------------------------------------------------------- */
html.rr-theme-dark,
html[data-rr-theme="dark"],
body.rr-theme-dark,
body.rr-portfolio-site.rr-theme-dark,
body.rr-portfolio-shell.rr-theme-dark {
  --rr-background: #07090f;
  --rr-background-secondary: #0d111a;
  --rr-surface: #121826;
  --rr-surface-alt: #171e2e;
  --rr-surface-elevated: rgba(18, 24, 38, 0.78);
  --rr-surface-inverse: #f5f5f7;

  --rr-text-primary: #f4f5f7;
  --rr-text-secondary: #a8b0bf;
  --rr-text-tertiary: #81899a;
  --rr-text-inverse: #111318;
  --rr-text-on-accent: #ffffff;

  --rr-border: rgba(255, 255, 255, 0.1);
  --rr-border-strong: rgba(255, 255, 255, 0.16);
  --rr-border-hover: rgba(255, 255, 255, 0.22);
  --rr-border-subtle: rgba(255, 255, 255, 0.06);

  --rr-accent: #4d8dff;
  --rr-accent-hover: #79a8ff;
  --rr-accent-soft: rgba(77, 141, 255, 0.16);
  --rr-accent-2: #8b7cff;

  --rr-fill-quiet: rgba(255, 255, 255, 0.06);
  --rr-fill-quiet-hover: rgba(255, 255, 255, 0.1);
  --rr-fill-strong: #f4f5f7;
  --rr-fill-strong-hover: #ffffff;
  --rr-input-bg: #0d1320;
  --rr-input-bg-focus: #121a2b;

  --rr-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --rr-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --rr-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
  --rr-shadow-btn: 0 12px 32px rgba(0, 0, 0, 0.35);
  --rr-focus-ring: 0 0 0 3px rgba(77, 141, 255, 0.45);

  --rr-cta-from: #0a0e16;
  --rr-cta-to: #141c2c;
  --rr-cta-glow-1: rgba(77, 141, 255, 0.28);
  --rr-cta-glow-2: rgba(139, 124, 255, 0.24);

  --rr-glow-1: rgba(77, 141, 255, 0.12);
  --rr-glow-2: rgba(139, 124, 255, 0.1);
  --rr-hero-media: linear-gradient(160deg, #1a2438, #121826 48%, #0d1422);
  --rr-hero-card: linear-gradient(145deg, rgba(24, 32, 48, 0.9), rgba(14, 20, 32, 0.72));
}

@media (prefers-color-scheme: dark) {
  html:not(.rr-theme-forced):not(.rr-theme-light),
  body.rr-portfolio-site:not(.rr-theme-forced):not(.rr-theme-light),
  body.rr-portfolio-shell:not(.rr-theme-forced):not(.rr-theme-light) {
    --rr-background: #07090f;
    --rr-background-secondary: #0d111a;
    --rr-surface: #121826;
    --rr-surface-alt: #171e2e;
    --rr-surface-elevated: rgba(18, 24, 38, 0.78);
    --rr-surface-inverse: #f5f5f7;
    --rr-text-primary: #f4f5f7;
    --rr-text-secondary: #a8b0bf;
    --rr-text-tertiary: #81899a;
    --rr-text-inverse: #111318;
    --rr-border: rgba(255, 255, 255, 0.1);
    --rr-border-strong: rgba(255, 255, 255, 0.16);
    --rr-border-hover: rgba(255, 255, 255, 0.22);
    --rr-border-subtle: rgba(255, 255, 255, 0.06);
    --rr-accent: #4d8dff;
    --rr-accent-hover: #79a8ff;
    --rr-accent-soft: rgba(77, 141, 255, 0.16);
    --rr-fill-quiet: rgba(255, 255, 255, 0.06);
    --rr-fill-quiet-hover: rgba(255, 255, 255, 0.1);
    --rr-fill-strong: #f4f5f7;
    --rr-fill-strong-hover: #ffffff;
    --rr-input-bg: #0d1320;
    --rr-input-bg-focus: #121a2b;
    --rr-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
    --rr-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --rr-shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.45);
    --rr-shadow-btn: 0 12px 32px rgba(0, 0, 0, 0.35);
    --rr-focus-ring: 0 0 0 3px rgba(77, 141, 255, 0.45);
    --rr-cta-from: #0a0e16;
    --rr-cta-to: #141c2c;
    --rr-glow-1: rgba(77, 141, 255, 0.12);
    --rr-glow-2: rgba(139, 124, 255, 0.1);
    --rr-hero-media: linear-gradient(160deg, #1a2438, #121826 48%, #0d1422);
    --rr-hero-card: linear-gradient(145deg, rgba(24, 32, 48, 0.9), rgba(14, 20, 32, 0.72));
  }
}

/* Forced light always wins over system dark */
html.rr-theme-light.rr-theme-forced,
html[data-rr-theme="light"].rr-theme-forced,
body.rr-theme-light.rr-theme-forced {
  --rr-background: #f4f1ea;
  --rr-background-secondary: #ebe6dc;
  --rr-surface: #fffcf7;
  --rr-surface-alt: #f7f3eb;
  --rr-surface-elevated: rgba(255, 252, 247, 0.82);
  --rr-surface-inverse: #111318;
  --rr-text-primary: #17181c;
  --rr-text-secondary: #5c616b;
  --rr-text-tertiary: #7a808c;
  --rr-text-inverse: #f7f7f8;
  --rr-border: rgba(23, 24, 28, 0.1);
  --rr-border-strong: rgba(23, 24, 28, 0.16);
  --rr-border-hover: rgba(23, 24, 28, 0.22);
  --rr-border-subtle: rgba(23, 24, 28, 0.06);
  --rr-accent: #0b5fff;
  --rr-accent-hover: #0847c7;
  --rr-accent-soft: rgba(11, 95, 255, 0.1);
  --rr-fill-quiet: rgba(23, 24, 28, 0.05);
  --rr-fill-quiet-hover: rgba(23, 24, 28, 0.09);
  --rr-fill-strong: #17181c;
  --rr-fill-strong-hover: #2a2c33;
  --rr-input-bg: #f0ebe2;
  --rr-input-bg-focus: #fffcf7;
  --rr-shadow-sm: 0 4px 16px rgba(23, 24, 28, 0.05);
  --rr-shadow: 0 16px 48px rgba(23, 24, 28, 0.08);
  --rr-shadow-lg: 0 28px 72px rgba(23, 24, 28, 0.12);
  --rr-shadow-btn: 0 10px 28px rgba(23, 24, 28, 0.16);
  --rr-focus-ring: 0 0 0 3px rgba(11, 95, 255, 0.35);
  --rr-cta-from: #12151c;
  --rr-cta-to: #1c2434;
  --rr-glow-1: rgba(11, 95, 255, 0.09);
  --rr-glow-2: rgba(91, 77, 255, 0.08);
  --rr-hero-media: linear-gradient(160deg, #d8deea, #eef1f6 48%, #c8d1e0);
  --rr-hero-card: linear-gradient(145deg, rgba(255, 252, 247, 0.92), rgba(247, 243, 235, 0.72));
}

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

html {
  scroll-behavior: smooth;
}

body.rr-portfolio-site,
body.rr-portfolio-shell {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1100px 560px at 8% -8%, var(--rr-glow-1), transparent 58%),
    radial-gradient(900px 480px at 92% 0%, var(--rr-glow-2), transparent 52%),
    var(--rr-background);
  color: var(--rr-text-primary);
  font-family: var(--rr-font);
  font-size: var(--rr-fs-md);
  line-height: var(--rr-lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.rr-portfolio-site .wp-site-blocks > header,
body.rr-portfolio-site .wp-site-blocks > footer,
body.rr-portfolio-shell .site-header,
body.rr-portfolio-shell .site-footer {
  display: none;
}

:focus-visible {
  outline: none;
  box-shadow: var(--rr-focus-ring);
}

.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;
}

.rr-main {
  min-height: 70vh;
  padding-top: var(--rr-header-h);
}

.rr-container {
  width: min(100% - var(--rr-space-5), var(--rr-container));
  margin-inline: auto;
}

.rr-container--narrow {
  width: min(100% - var(--rr-space-5), var(--rr-narrow));
}

/* -------------------------------------------------------------------------- */
/* Header / Nav                                                                 */
/* -------------------------------------------------------------------------- */
.rr-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--rr-header-h);
  display: flex;
  align-items: center;
  transition:
    background var(--rr-duration-med) var(--rr-ease),
    box-shadow var(--rr-duration-med) var(--rr-ease),
    backdrop-filter var(--rr-duration-med) var(--rr-ease);
}

.rr-header.is-scrolled {
  background: var(--rr-surface-elevated);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--rr-border), var(--rr-shadow-sm);
}

.rr-header__inner {
  width: min(100% - var(--rr-space-4), var(--rr-container-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--rr-space-2);
}

.rr-logo {
  text-decoration: none;
  color: var(--rr-text-primary);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: var(--rr-fs-sm);
  transition: opacity var(--rr-duration-fast) var(--rr-ease);
}

.rr-logo:hover {
  opacity: 0.72;
}

.rr-nav__list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: var(--rr-radius-pill);
  color: var(--rr-text-secondary);
  text-decoration: none;
  font-size: var(--rr-fs-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition:
    color var(--rr-duration) var(--rr-ease),
    background var(--rr-duration) var(--rr-ease);
}

.rr-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  border-radius: 2px;
  background: var(--rr-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--rr-duration) var(--rr-ease);
}

.rr-nav__link:hover {
  color: var(--rr-text-primary);
  background: var(--rr-fill-quiet);
}

.rr-nav__item.is-current .rr-nav__link {
  color: var(--rr-text-primary);
  background: var(--rr-fill-quiet);
}

.rr-nav__item.is-current .rr-nav__link::after {
  transform: scaleX(1);
}

.rr-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rr-theme-toggle,
.rr-nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius-pill);
  background: var(--rr-fill-quiet);
  color: var(--rr-text-primary);
  cursor: pointer;
  transition:
    background var(--rr-duration) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease),
    transform var(--rr-duration) var(--rr-ease),
    color var(--rr-duration) var(--rr-ease);
}

.rr-theme-toggle:hover,
.rr-nav-toggle:hover {
  background: var(--rr-fill-quiet-hover);
  border-color: var(--rr-border-hover);
  transform: translateY(-1px);
}

.rr-theme-toggle:active,
.rr-nav-toggle:active {
  transform: translateY(0) scale(0.97);
}

.rr-theme-toggle__icon {
  display: inline-flex;
  line-height: 0;
  transition: transform var(--rr-duration-med) var(--rr-ease), opacity var(--rr-duration) var(--rr-ease);
}

.rr-theme-toggle__icon--moon {
  display: none;
}

html.rr-theme-dark .rr-theme-toggle__icon--sun,
html[data-rr-theme="dark"] .rr-theme-toggle__icon--sun,
body.rr-theme-dark .rr-theme-toggle__icon--sun {
  display: none;
}

html.rr-theme-dark .rr-theme-toggle__icon--moon,
html[data-rr-theme="dark"] .rr-theme-toggle__icon--moon,
body.rr-theme-dark .rr-theme-toggle__icon--moon {
  display: inline-flex;
}

@media (prefers-color-scheme: dark) {
  html:not(.rr-theme-forced):not(.rr-theme-light) .rr-theme-toggle__icon--sun,
  body:not(.rr-theme-forced):not(.rr-theme-light) .rr-theme-toggle__icon--sun {
    display: none;
  }

  html:not(.rr-theme-forced):not(.rr-theme-light) .rr-theme-toggle__icon--moon,
  body:not(.rr-theme-forced):not(.rr-theme-light) .rr-theme-toggle__icon--moon {
    display: inline-flex;
  }
}

.rr-lang {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-fill-quiet);
  border: 1px solid var(--rr-border);
  gap: 2px;
}

.rr-lang__btn {
  min-width: 36px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--rr-radius-pill);
  text-decoration: none;
  color: var(--rr-text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    color var(--rr-duration) var(--rr-ease),
    background var(--rr-duration) var(--rr-ease),
    transform var(--rr-duration-fast) var(--rr-ease);
}

.rr-lang__btn:hover {
  color: var(--rr-text-primary);
}

.rr-lang__btn.is-active {
  background: var(--rr-fill-strong);
  color: var(--rr-text-inverse);
}

.rr-nav-toggle {
  display: none;
}

.rr-nav-toggle__bar {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--rr-duration) var(--rr-ease), opacity var(--rr-duration) var(--rr-ease);
}

.rr-mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--rr-surface-elevated);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rr-border);
  padding: var(--rr-space-1) var(--rr-space-3) var(--rr-space-3);
  box-shadow: var(--rr-shadow);
}

.rr-mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-mobile-nav a {
  display: block;
  padding: 14px 8px;
  color: var(--rr-text-primary);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--rr-border-subtle);
  transition: color var(--rr-duration) var(--rr-ease), padding-left var(--rr-duration) var(--rr-ease);
}

.rr-mobile-nav a:hover {
  color: var(--rr-accent);
  padding-left: 14px;
}

/* -------------------------------------------------------------------------- */
/* Sections / Type                                                              */
/* -------------------------------------------------------------------------- */
.rr-section {
  padding: clamp(var(--rr-space-7), 8vw, var(--rr-space-9)) 0;
}

.rr-section-title {
  margin: 0 0 var(--rr-space-4);
  font-size: var(--rr-fs-xl);
  line-height: var(--rr-lh-tight);
  letter-spacing: -0.04em;
  font-weight: 600;
  text-align: center;
  color: var(--rr-text-primary);
}

.rr-section-title--left {
  text-align: left;
}

.rr-eyebrow {
  margin: 0 0 var(--rr-space-2);
  color: var(--rr-accent);
  font-size: var(--rr-fs-xs);
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rr-lead {
  color: var(--rr-text-secondary);
  font-size: var(--rr-fs-lg);
  max-width: 42rem;
  line-height: 1.55;
}

/* -------------------------------------------------------------------------- */
/* Buttons / Links                                                              */
/* -------------------------------------------------------------------------- */
.rr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--rr-radius-pill);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--rr-fs-sm);
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--rr-duration) var(--rr-ease),
    box-shadow var(--rr-duration) var(--rr-ease),
    background var(--rr-duration) var(--rr-ease),
    color var(--rr-duration) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease);
}

.rr-btn:hover {
  transform: translateY(-2px);
}

.rr-btn:active {
  transform: translateY(0) scale(0.98);
}

.rr-btn--primary {
  background: var(--rr-fill-strong);
  color: var(--rr-text-inverse);
  box-shadow: var(--rr-shadow-btn);
}

.rr-btn--primary:hover {
  background: var(--rr-fill-strong-hover);
  color: var(--rr-text-inverse);
}

.rr-btn--ghost {
  background: var(--rr-fill-quiet);
  color: var(--rr-text-primary);
  border-color: var(--rr-border);
}

.rr-btn--ghost:hover {
  background: var(--rr-fill-quiet-hover);
  border-color: var(--rr-border-hover);
  color: var(--rr-text-primary);
}

.rr-btn--light {
  background: #ffffff;
  color: #12151c;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.rr-btn--light:hover {
  background: #f3f4f6;
  color: #12151c;
}

.rr-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: var(--rr-space-2);
  color: var(--rr-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform var(--rr-duration-med) var(--rr-ease);
}

.rr-link:hover {
  color: var(--rr-accent-hover);
}

.rr-link:hover::after {
  transform: scaleX(1);
}

/* -------------------------------------------------------------------------- */
/* Hero                                                                         */
/* -------------------------------------------------------------------------- */
.rr-hero {
  width: min(100% - var(--rr-space-4), var(--rr-container-wide));
  margin: var(--rr-space-2) auto 0;
}

.rr-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(var(--rr-space-3), 4vw, var(--rr-space-6));
  align-items: center;
  background: var(--rr-hero-card);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius-lg);
  box-shadow: var(--rr-shadow);
  overflow: hidden;
  backdrop-filter: blur(18px);
}

.rr-hero__media {
  position: relative;
  min-height: clamp(320px, 42vw, 560px);
  background: var(--rr-hero-media);
  overflow: hidden;
}

.rr-hero__glow {
  position: absolute;
  inset: 12% 16%;
  background: radial-gradient(circle, var(--rr-accent-soft), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}

.rr-hero__image,
.rr-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--rr-ease);
}

.rr-hero:hover .rr-hero__image,
.rr-hero:hover .rr-hero__image img {
  transform: scale(1.03);
}

.rr-hero__image--placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
    var(--rr-hero-media);
}

.rr-hero__content {
  padding: clamp(var(--rr-space-4), 4vw, var(--rr-space-6));
}

.rr-hero__title {
  margin: 0 0 var(--rr-space-2);
  font-size: var(--rr-fs-3xl);
  line-height: var(--rr-lh-tight);
  letter-spacing: -0.045em;
  font-weight: 600;
  color: var(--rr-text-primary);
}

.rr-hero__text {
  margin: 0 0 var(--rr-space-4);
  color: var(--rr-text-secondary);
  font-size: var(--rr-fs-lg);
  max-width: 34rem;
  line-height: 1.55;
}

.rr-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -------------------------------------------------------------------------- */
/* Page hero                                                                    */
/* -------------------------------------------------------------------------- */
.rr-page-hero {
  position: relative;
  min-height: clamp(320px, 46vw, 500px);
  display: grid;
  place-items: end start;
  overflow: hidden;
  border-radius: 0 0 var(--rr-radius-lg) var(--rr-radius-lg);
}

.rr-page-hero__media {
  position: absolute;
  inset: 0;
}

.rr-page-hero__bg,
.rr-page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.1s var(--rr-ease);
}

.rr-page-hero:hover .rr-page-hero__bg,
.rr-page-hero:hover .rr-page-hero__media img {
  transform: scale(1.05);
}

.rr-page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 15, 0.18), rgba(5, 8, 15, 0.76));
}

.rr-page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - var(--rr-space-5), var(--rr-container));
  margin: 0 auto var(--rr-space-6);
  color: #fff;
}

.rr-page-hero--default {
  min-height: auto;
  place-items: center start;
  padding: clamp(var(--rr-space-7), 10vw, var(--rr-space-9)) 0 var(--rr-space-2);
  border-radius: 0;
}

.rr-page-hero--default .rr-page-hero__content {
  color: var(--rr-text-primary);
  margin-bottom: 0;
}

.rr-page-hero--default .rr-page-hero__text {
  color: var(--rr-text-secondary);
}

.rr-page-hero__title {
  margin: 0 0 var(--rr-space-2);
  font-size: var(--rr-fs-2xl);
  line-height: var(--rr-lh-tight);
  letter-spacing: -0.04em;
  font-weight: 600;
}

.rr-page-hero__text {
  margin: 0;
  max-width: 40rem;
  font-size: var(--rr-fs-lg);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.55;
}

/* -------------------------------------------------------------------------- */
/* Tech                                                                         */
/* -------------------------------------------------------------------------- */
.rr-tech {
  background: linear-gradient(180deg, transparent, var(--rr-background-secondary) 40%, transparent);
}

.rr-tech__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-tech__item span {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 16px;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  box-shadow: var(--rr-shadow-sm);
  color: var(--rr-text-primary);
  font-weight: 550;
  letter-spacing: -0.01em;
  transition:
    transform var(--rr-duration) var(--rr-ease),
    box-shadow var(--rr-duration) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease),
    background var(--rr-duration) var(--rr-ease);
}

.rr-tech__item span:hover {
  transform: translateY(-3px);
  box-shadow: var(--rr-shadow);
  border-color: var(--rr-border-hover);
  background: var(--rr-surface-alt);
}

.rr-tech__note {
  text-align: center;
  color: var(--rr-text-secondary);
  margin: var(--rr-space-4) 0 0;
}

/* -------------------------------------------------------------------------- */
/* FAQ                                                                          */
/* -------------------------------------------------------------------------- */
.rr-faq__list {
  display: grid;
  gap: 12px;
}

.rr-faq__item {
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius-sm);
  background: var(--rr-surface);
  backdrop-filter: blur(12px);
  padding: 4px var(--rr-space-3);
  box-shadow: var(--rr-shadow-sm);
  transition:
    border-color var(--rr-duration) var(--rr-ease),
    box-shadow var(--rr-duration) var(--rr-ease),
    transform var(--rr-duration) var(--rr-ease);
}

.rr-faq__item:hover {
  border-color: var(--rr-border-hover);
  box-shadow: var(--rr-shadow);
}

.rr-faq__item[open] {
  border-color: var(--rr-border-strong);
}

.rr-faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--rr-text-primary);
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-faq__item summary::-webkit-details-marker {
  display: none;
}

.rr-faq__answer {
  padding: 0 0 16px;
  color: var(--rr-text-secondary);
}

.rr-faq__answer p {
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* CTA                                                                          */
/* -------------------------------------------------------------------------- */
.rr-cta {
  width: min(100% - var(--rr-space-4), var(--rr-container-wide));
  margin: 0 auto;
}

.rr-cta__panel {
  border-radius: var(--rr-radius-lg);
  padding: clamp(var(--rr-space-6), 6vw, var(--rr-space-8)) var(--rr-space-3);
  text-align: center;
  color: #fff;
  background:
    radial-gradient(700px 280px at 20% 0%, var(--rr-cta-glow-1), transparent 60%),
    radial-gradient(700px 280px at 80% 100%, var(--rr-cta-glow-2), transparent 60%),
    linear-gradient(145deg, var(--rr-cta-from), var(--rr-cta-to));
  box-shadow: var(--rr-shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rr-cta__title {
  margin: 0 0 12px;
  font-size: var(--rr-fs-xl);
  letter-spacing: -0.04em;
  line-height: var(--rr-lh-tight);
  color: #fff;
}

.rr-cta__text {
  margin: 0 auto var(--rr-space-4);
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

/* -------------------------------------------------------------------------- */
/* About                                                                        */
/* -------------------------------------------------------------------------- */
.rr-about__story p {
  font-size: var(--rr-fs-lg);
  color: var(--rr-text-secondary);
  margin: 0 0 var(--rr-space-3);
  line-height: 1.7;
}

.rr-about__story p:first-child {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  color: var(--rr-text-primary);
  font-family: var(--rr-serif);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------------- */
/* Experience                                                                   */
/* -------------------------------------------------------------------------- */
.rr-experience__intro {
  margin-bottom: var(--rr-space-6);
}

.rr-experience__summary {
  margin-top: var(--rr-space-3);
  color: var(--rr-text-secondary);
  max-width: 50rem;
  line-height: 1.7;
}

.rr-experience__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--rr-space-4);
}

.rr-experience__filters button {
  border: 1px solid var(--rr-border);
  background: var(--rr-surface);
  color: var(--rr-text-secondary);
  border-radius: var(--rr-radius-pill);
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  font-size: var(--rr-fs-sm);
  cursor: pointer;
  transition:
    background var(--rr-duration) var(--rr-ease),
    color var(--rr-duration) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease),
    transform var(--rr-duration-fast) var(--rr-ease),
    box-shadow var(--rr-duration) var(--rr-ease);
}

.rr-experience__filters button:hover {
  border-color: var(--rr-border-hover);
  color: var(--rr-text-primary);
  transform: translateY(-1px);
}

.rr-experience__filters button.is-active {
  background: var(--rr-fill-strong);
  color: var(--rr-text-inverse);
  border-color: transparent;
  box-shadow: var(--rr-shadow-sm);
}

.rr-timeline {
  position: relative;
  display: grid;
  gap: var(--rr-space-3);
  margin-bottom: var(--rr-space-6);
}

.rr-timeline::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--rr-accent), rgba(91, 77, 255, 0.15));
}

.rr-timeline__item {
  position: relative;
  padding-left: var(--rr-space-5);
}

.rr-timeline__marker {
  position: absolute;
  left: 4px;
  top: 22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rr-surface);
  border: 3px solid var(--rr-accent);
  box-shadow: 0 0 0 6px var(--rr-accent-soft);
}

.rr-timeline__card,
.rr-glass-card {
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  border-radius: var(--rr-radius);
  box-shadow: var(--rr-shadow-sm);
  backdrop-filter: blur(16px);
  padding: var(--rr-space-3) var(--rr-space-3);
  transition:
    transform var(--rr-duration-med) var(--rr-ease),
    box-shadow var(--rr-duration-med) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease);
}

.rr-timeline__card:hover,
.rr-glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rr-shadow);
  border-color: var(--rr-border-hover);
}

.rr-timeline__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.rr-pill {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--rr-radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.rr-pill--commercial {
  background: var(--rr-accent-soft);
  color: var(--rr-accent);
}

.rr-pill--self-employed {
  background: rgba(91, 77, 255, 0.12);
  color: var(--rr-accent-2);
}

.rr-timeline__period {
  color: var(--rr-text-tertiary);
  font-size: var(--rr-fs-sm);
}

.rr-timeline__role {
  margin: 0 0 4px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--rr-text-primary);
}

.rr-timeline__company {
  margin: 0 0 12px;
  color: var(--rr-text-secondary);
}

.rr-timeline__bullets {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--rr-text-secondary);
}

.rr-timeline__bullets li + li {
  margin-top: 6px;
}

.rr-experience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rr-space-3);
  margin-bottom: var(--rr-space-6);
}

.rr-glass-card h2 {
  margin: 0 0 var(--rr-space-2);
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--rr-text-primary);
}

.rr-edu {
  display: grid;
  gap: 4px;
  color: var(--rr-text-secondary);
}

.rr-edu strong {
  color: var(--rr-text-primary);
}

.rr-cert-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--rr-text-secondary);
}

.rr-cert-list li + li {
  margin-top: 8px;
}

.rr-skills__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--rr-space-2);
}

.rr-skills__group h3 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--rr-text-primary);
}

.rr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rr-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-fill-quiet);
  border: 1px solid var(--rr-border);
  font-size: var(--rr-fs-xs);
  font-weight: 500;
  color: var(--rr-text-secondary);
  transition:
    background var(--rr-duration) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease),
    color var(--rr-duration) var(--rr-ease);
}

.rr-tag:hover {
  background: var(--rr-fill-quiet-hover);
  border-color: var(--rr-border-hover);
  color: var(--rr-text-primary);
}

.rr-tags--lg {
  margin-bottom: var(--rr-space-3);
}

/* -------------------------------------------------------------------------- */
/* Projects                                                                     */
/* -------------------------------------------------------------------------- */
.rr-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--rr-space-3);
}

.rr-project-card {
  border-radius: var(--rr-radius);
  overflow: hidden;
  background: var(--rr-surface);
  border: 1px solid var(--rr-border);
  box-shadow: var(--rr-shadow-sm);
  transition:
    transform var(--rr-duration-med) var(--rr-ease),
    box-shadow var(--rr-duration-med) var(--rr-ease),
    border-color var(--rr-duration) var(--rr-ease);
}

.rr-project-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--rr-shadow-lg);
  border-color: var(--rr-border-hover);
}

.rr-project-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--rr-surface-alt);
}

.rr-project-card__media img,
.rr-project-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms var(--rr-ease);
}

.rr-project-card:hover .rr-project-card__media img {
  transform: scale(1.04);
}

.rr-project-card__body {
  padding: var(--rr-space-3) var(--rr-space-3) var(--rr-space-4);
}

.rr-project-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--rr-text-tertiary);
  font-size: var(--rr-fs-xs);
  margin-bottom: 8px;
}

.rr-project-card__meta a {
  color: inherit;
  text-decoration: none;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-project-card__meta a:hover {
  color: var(--rr-accent);
}

.rr-project-card__title {
  margin: 0 0 8px;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: var(--rr-lh-snug);
}

.rr-project-card__title a {
  color: var(--rr-text-primary);
  text-decoration: none;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-project-card__title a:hover {
  color: var(--rr-accent);
}

.rr-project-card__excerpt {
  margin: 0 0 14px;
  color: var(--rr-text-secondary);
  line-height: 1.55;
}

.rr-project-hero__title {
  margin: 0 0 12px;
  font-size: var(--rr-fs-2xl);
  letter-spacing: -0.045em;
  line-height: var(--rr-lh-tight);
  color: var(--rr-text-primary);
}

.rr-project-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  color: var(--rr-text-secondary);
  margin-bottom: var(--rr-space-4);
}

.rr-project-hero__meta a {
  color: var(--rr-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-project-hero__meta a:hover {
  color: var(--rr-accent-hover);
}

.rr-project-hero__media {
  border-radius: var(--rr-radius);
  overflow: hidden;
  box-shadow: var(--rr-shadow-lg);
  border: 1px solid var(--rr-border);
}

.rr-project-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 800ms var(--rr-ease);
}

.rr-project-hero__media:hover img {
  transform: scale(1.02);
}

.rr-prose {
  font-size: var(--rr-fs-lg);
  color: var(--rr-text-secondary);
  line-height: 1.7;
}

.rr-prose p {
  margin: 0 0 var(--rr-space-3);
}

/* -------------------------------------------------------------------------- */
/* Contact                                                                      */
/* -------------------------------------------------------------------------- */
.rr-contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--rr-space-3);
}

.rr-contact__details h2,
.rr-contact__form h2 {
  margin: 0 0 var(--rr-space-2);
  color: var(--rr-text-primary);
  letter-spacing: -0.02em;
}

.rr-contact__list {
  list-style: none;
  margin: var(--rr-space-2) 0 0;
  padding: 0;
}

.rr-contact__list li {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--rr-border);
}

.rr-contact__list span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--rr-text-tertiary);
  font-weight: 650;
}

.rr-contact__list a {
  color: var(--rr-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-contact__list a:hover {
  color: var(--rr-accent);
}

.rr-contact__form-slot .wpcf7-form,
.rr-contact__form-slot form {
  display: grid;
  gap: 12px;
}

.rr-contact__form-slot input[type="text"],
.rr-contact__form-slot input[type="email"],
.rr-contact__form-slot input[type="tel"],
.rr-contact__form-slot textarea {
  width: 100%;
  border: 1px solid var(--rr-border);
  background: var(--rr-input-bg);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
  color: var(--rr-text-primary);
  transition:
    border-color var(--rr-duration) var(--rr-ease),
    background var(--rr-duration) var(--rr-ease),
    box-shadow var(--rr-duration) var(--rr-ease);
}

.rr-contact__form-slot input::placeholder,
.rr-contact__form-slot textarea::placeholder {
  color: var(--rr-text-tertiary);
}

.rr-contact__form-slot input:focus,
.rr-contact__form-slot textarea:focus {
  outline: none;
  border-color: var(--rr-accent);
  background: var(--rr-input-bg-focus);
  box-shadow: var(--rr-focus-ring);
}

.rr-contact__form-slot input[type="submit"],
.rr-contact__form-slot button[type="submit"] {
  border: 0;
  border-radius: var(--rr-radius-pill);
  background: var(--rr-fill-strong);
  color: var(--rr-text-inverse);
  font: inherit;
  font-weight: 600;
  padding: 14px 22px;
  cursor: pointer;
  transition:
    background var(--rr-duration) var(--rr-ease),
    transform var(--rr-duration) var(--rr-ease),
    box-shadow var(--rr-duration) var(--rr-ease);
  box-shadow: var(--rr-shadow-btn);
}

.rr-contact__form-slot input[type="submit"]:hover,
.rr-contact__form-slot button[type="submit"]:hover {
  background: var(--rr-fill-strong-hover);
  transform: translateY(-2px);
}

.rr-contact__hint {
  color: var(--rr-text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* -------------------------------------------------------------------------- */
/* Footer                                                                       */
/* -------------------------------------------------------------------------- */
.rr-footer {
  margin-top: var(--rr-space-4);
  padding: var(--rr-space-7) 0 var(--rr-space-5);
  border-top: 1px solid var(--rr-border);
  background: linear-gradient(180deg, transparent, var(--rr-background-secondary));
}

.rr-footer__inner {
  width: min(100% - var(--rr-space-5), var(--rr-container));
  margin-inline: auto;
  display: grid;
  gap: var(--rr-space-4);
}

.rr-footer__name {
  font-size: 1.25rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--rr-text-primary);
}

.rr-footer__tagline {
  color: var(--rr-text-secondary);
  margin: 8px 0 var(--rr-space-2);
  max-width: 28rem;
}

.rr-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.rr-footer__contact a {
  color: var(--rr-text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-footer__contact a:hover {
  color: var(--rr-accent);
}

.rr-footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rr-footer__nav a {
  color: var(--rr-text-secondary);
  text-decoration: none;
  transition: color var(--rr-duration) var(--rr-ease);
}

.rr-footer__nav a:hover {
  color: var(--rr-text-primary);
}

.rr-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--rr-space-2);
  padding-top: var(--rr-space-3);
  border-top: 1px solid var(--rr-border);
  color: var(--rr-text-tertiary);
  font-size: var(--rr-fs-sm);
}

.rr-footer__quote {
  margin: 0;
  font-style: italic;
  max-width: 36rem;
  color: var(--rr-text-secondary);
}

.rr-footer__copy {
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Motion                                                                       */
/* -------------------------------------------------------------------------- */
.rr-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--rr-duration-slow) var(--rr-ease),
    transform var(--rr-duration-slow) var(--rr-ease);
}

.rr-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .rr-reveal {
    opacity: 1;
    transform: none;
  }
}

/* -------------------------------------------------------------------------- */
/* Responsive                                                                   */
/* -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .rr-skills__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .rr-hero__grid,
  .rr-projects__grid,
  .rr-experience__grid,
  .rr-contact__grid,
  .rr-skills__grid {
    grid-template-columns: 1fr;
  }

  .rr-nav {
    display: none;
  }

  .rr-nav-toggle {
    display: inline-flex;
  }

  .rr-hero__media {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  :root {
    --rr-header-h: 64px;
  }

  .rr-container,
  .rr-container--narrow {
    width: min(100% - var(--rr-space-3), var(--rr-container));
  }

  .rr-hero {
    width: min(100% - var(--rr-space-3), var(--rr-container-wide));
  }

  .rr-hero__title {
    font-size: 2.25rem;
  }

  .rr-timeline::before,
  .rr-timeline__marker {
    display: none;
  }

  .rr-timeline__item {
    padding-left: 0;
  }

  .rr-section {
    padding: var(--rr-space-6) 0;
  }
}

@media (min-width: 1600px) {
  :root {
    --rr-container: 1200px;
    --rr-container-wide: 1280px;
  }
}
