:root {
  --rr-ink: #141920;
  --rr-ink-soft: #35424c;
  --rr-paper: #f3f7f7;
  --rr-white: #ffffff;
  --rr-sand: #dfe9e9;
  --rr-red: #b51224;
  --rr-red-dark: #86101d;
  --rr-teal: #1f5a61;
  --rr-teal-dark: #163e44;
  --rr-teal-soft: #d9e9ea;
  --rr-steel: #3f6273;
  --rr-muted: #64717a;
  --rr-line: rgba(20, 25, 32, 0.13);
  --rr-shadow: 0 24px 70px rgba(22, 47, 52, 0.14);
  --rr-radius: 26px;
  --rr-max: 1180px;
  --rr-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --rr-serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--rr-ink);
  background: linear-gradient(180deg, #edf4f4 0, var(--rr-paper) 520px, var(--rr-paper) 100%);
  font-family: var(--rr-sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(181, 18, 36, 0.42);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 14px;
  left: 14px;
  padding: 10px 16px;
  border-radius: 99px;
  color: var(--rr-white);
  background: var(--rr-ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 40px), var(--rr-max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(243, 247, 247, 0.91);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-color: var(--rr-line);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(210px, 300px) 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: min(100%, 276px);
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  justify-self: end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  color: var(--rr-ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-list a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--rr-red);
  content: "";
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--rr-ink);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: 180ms ease;
}

.header-call:hover {
  color: var(--rr-white);
  background: var(--rr-ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--rr-ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--rr-teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 7.2vw, 6.5rem);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.97;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  font-weight: 735;
  letter-spacing: -0.052em;
  line-height: 1.02;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.lead {
  max-width: 690px;
  color: var(--rr-ink-soft);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero {
  overflow: hidden;
  padding: 74px 0 72px;
  background:
    radial-gradient(circle at 88% 7%, rgba(31, 90, 97, 0.14), transparent 31%),
    radial-gradient(circle at 8% 92%, rgba(181, 18, 36, 0.07), transparent 24%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(350px, 0.86fr);
  align-items: center;
  gap: clamp(48px, 8vw, 108px);
}

.hero h1 span {
  color: var(--rr-red);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 25px;
  border: 1px solid var(--rr-red);
  border-radius: 999px;
  color: var(--rr-white);
  background: var(--rr-red);
  box-shadow: 0 12px 26px rgba(181, 18, 36, 0.19);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  background: var(--rr-red-dark);
  box-shadow: 0 16px 34px rgba(181, 18, 36, 0.25);
  transform: translateY(-2px);
}

.button--ghost {
  border-color: var(--rr-line);
  color: var(--rr-ink);
  background: transparent;
  box-shadow: none;
}

.button--ghost:hover {
  border-color: var(--rr-ink);
  color: var(--rr-ink);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.text-link {
  color: var(--rr-ink);
  font-weight: 750;
}

.hero-visual {
  position: relative;
  min-height: 565px;
}

.hero-photo {
  position: absolute;
  inset: 12px 0 0 7%;
  overflow: hidden;
  border-radius: 34px 132px 34px 34px;
  box-shadow: var(--rr-shadow);
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 48%, rgba(20, 20, 20, 0.46) 100%);
  content: "";
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.hero-note {
  position: absolute;
  right: -16px;
  bottom: 16px;
  z-index: 2;
  width: min(290px, 78%);
  padding: 23px 25px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 18px;
  color: var(--rr-white);
  background: rgba(20, 55, 61, 0.9);
  box-shadow: 0 18px 48px rgba(20, 20, 20, 0.26);
  backdrop-filter: blur(14px);
}

.hero-note strong,
.hero-note span {
  display: block;
}

.hero-note strong {
  font-size: 0.98rem;
}

.hero-note span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-mark {
  position: absolute;
  top: 0;
  right: -68px;
  width: 150px;
  height: 150px;
  border: 28px solid rgba(31, 90, 97, 0.13);
  border-radius: 50%;
}

.trust-band {
  border-top: 1px solid var(--rr-line);
  border-bottom: 1px solid var(--rr-line);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(217, 233, 234, 0.7));
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  padding: 20px 36px;
  color: var(--rr-ink-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--rr-line);
}

.trust-icon,
.service-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--rr-teal);
  background: var(--rr-teal-soft);
  font-weight: 850;
}

.section {
  padding: 118px 0;
}

.section--tight {
  padding: 86px 0;
}

.section--white {
  background: linear-gradient(180deg, var(--rr-white), #f8fbfb);
}

.section--ink {
  color: var(--rr-white);
  background: linear-gradient(135deg, var(--rr-ink) 0%, var(--rr-teal-dark) 100%);
}

.section--ink .eyebrow {
  color: #8cc6ca;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.56fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.section-head p:last-child {
  margin-bottom: 6px;
  color: var(--rr-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 288px;
  padding: 30px;
  border: 1px solid var(--rr-line);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--rr-white), #edf5f5);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: rgba(31, 90, 97, 0.38);
  box-shadow: 0 20px 48px rgba(30, 22, 20, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  margin-bottom: 40px;
  border-radius: 12px;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--rr-muted);
  font-size: 0.94rem;
}

.service-card a::after {
  position: absolute;
  inset: 0;
  content: "";
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(54px, 9vw, 116px);
}

.portrait-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 28px 28px 150px 28px;
  background: linear-gradient(145deg, var(--rr-teal-soft), var(--rr-sand));
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.04);
}

.portrait-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(181, 18, 36, 0.08), transparent 44%);
  content: "";
}

.copy-stack > *:last-child {
  margin-bottom: 0;
}

.copy-stack p {
  color: var(--rr-ink-soft);
}

.signature-line {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  font-size: 0.88rem;
  font-weight: 750;
}

.signature-line::before {
  width: 48px;
  height: 1px;
  background: var(--rr-teal);
  content: "";
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.process-step {
  padding: 42px 38px 12px 0;
}

.process-step + .process-step {
  padding-left: 38px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.step-number {
  display: block;
  margin-bottom: 60px;
  color: #e24a5b;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-step p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.92rem;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 92px);
  border-radius: var(--rr-radius);
  color: var(--rr-white);
  background: linear-gradient(135deg, var(--rr-red), #8d1020 68%, var(--rr-teal-dark) 150%);
}

.cta-panel::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border: 72px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 22px;
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
}

.cta-panel .hero-actions {
  position: relative;
  z-index: 1;
}

.cta-panel .button {
  border-color: var(--rr-white);
  color: var(--rr-red);
  background: var(--rr-white);
  box-shadow: none;
}

.cta-panel .button:hover {
  color: var(--rr-ink);
}

.cta-panel .button--ghost {
  color: var(--rr-white);
  background: transparent;
}

.site-footer {
  padding: 76px 0 28px;
  color: rgba(255, 255, 255, 0.69);
  background: linear-gradient(135deg, #10151b, #15363b);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr 0.85fr;
  gap: 58px;
  padding-bottom: 58px;
}

.footer-brand {
  width: min(100%, 300px);
  padding: 14px 18px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.94);
}

.footer-intro {
  max-width: 460px;
  margin: 25px 0 0;
  font-size: 0.94rem;
}

.footer-title {
  margin-bottom: 18px;
  color: var(--rr-white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

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

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--rr-white);
}

.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

.page-hero {
  padding: 92px 0 88px;
  background: radial-gradient(circle at 84% 18%, rgba(31, 90, 97, 0.13), transparent 29%);
}

.page-hero .lead {
  max-width: 760px;
}

.page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.2rem);
}

.page-hero--split .site-shell {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  align-items: end;
  gap: 72px;
}

.page-hero-aside {
  padding-left: 30px;
  border-left: 2px solid var(--rr-red);
  color: var(--rr-muted);
  font-size: 0.93rem;
}

.detail-list {
  border-top: 1px solid var(--rr-line);
}

.detail-row {
  display: grid;
  grid-template-columns: 88px minmax(190px, 0.68fr) 1fr;
  gap: 30px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rr-line);
}

.detail-number {
  color: var(--rr-red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.detail-row h3 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.detail-row p {
  margin-bottom: 0;
  color: var(--rr-muted);
}

.quote-block {
  padding: 46px;
  border-left: 5px solid var(--rr-red);
  color: var(--rr-ink);
  background: linear-gradient(150deg, var(--rr-white), #edf5f5);
}

.quote-block p {
  margin-bottom: 20px;
  font-family: var(--rr-serif);
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.35;
}

.quote-block cite {
  color: var(--rr-muted);
  font-family: var(--rr-sans);
  font-size: 0.86rem;
  font-style: normal;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  min-height: 230px;
  padding: 32px;
  border: 1px solid var(--rr-line);
  border-radius: 20px;
  background: linear-gradient(155deg, var(--rr-white), #edf5f5);
}

.faq-item h3 {
  max-width: 410px;
  font-size: 1.36rem;
}

.faq-item p {
  margin-bottom: 0;
  color: var(--rr-muted);
  font-size: 0.94rem;
}

.value-card {
  min-height: 240px;
  padding: 30px;
  border: 1px solid var(--rr-line);
  border-radius: 18px;
}

.value-card span {
  display: block;
  margin-bottom: 58px;
  color: var(--rr-red);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.value-card p {
  margin-bottom: 0;
  color: var(--rr-muted);
  font-size: 0.92rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(55px, 10vw, 130px);
}

.contact-list {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  padding: 22px 0;
  border-top: 1px solid var(--rr-line);
}

.contact-list li:last-child {
  border-bottom: 1px solid var(--rr-line);
}

.contact-label {
  display: block;
  margin-bottom: 5px;
  color: var(--rr-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-value {
  font-size: 1.08rem;
  font-weight: 720;
}

.form-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--rr-line);
  border-radius: 24px;
  background: linear-gradient(150deg, var(--rr-white), #edf5f5);
  box-shadow: var(--rr-shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field--wide {
  grid-column: 1 / -1;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(23, 23, 25, 0.2);
  border-radius: 10px;
  color: var(--rr-ink);
  background: var(--rr-paper);
}

input,
select {
  min-height: 52px;
  padding: 0 15px;
}

textarea {
  min-height: 150px;
  padding: 14px 15px;
  resize: vertical;
}

.form-note {
  margin: 18px 0 0;
  color: var(--rr-muted);
  font-size: 0.78rem;
}

.service-area {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.service-area span {
  padding: 13px 16px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 700;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: minmax(200px, 280px) auto;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: 91px;
    right: 20px;
    left: 20px;
    display: none;
    padding: 22px;
    border: 1px solid var(--rr-line);
    border-radius: 18px;
    background: var(--rr-paper);
    box-shadow: var(--rr-shadow);
  }

  .main-nav.is-open {
    display: block;
  }

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

  .nav-list a {
    display: block;
    padding: 12px 6px;
  }

  .nav-list a::after {
    display: none;
  }

  .header-call {
    display: none;
  }

  .hero-grid,
  .split,
  .contact-layout,
  .page-hero--split .site-shell {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 540px;
  }

  .hero-photo {
    inset-inline: 5% 2%;
  }

  .service-grid,
  .values-grid,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-hero-aside {
    max-width: 650px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--rr-max));
  }

  .header-inner {
    min-height: 78px;
  }

  .brand {
    max-width: 225px;
  }

  .main-nav {
    top: 77px;
    right: 14px;
    left: 14px;
  }

  .hero,
  .page-hero {
    padding: 55px 0 64px;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10.6vw, 3.3rem);
  }

  .hero-visual {
    min-height: 445px;
  }

  .hero-photo {
    inset: 0 0 0 2%;
    border-radius: 24px 82px 24px 24px;
  }

  .hero-note {
    right: -5px;
    bottom: -12px;
  }

  .trust-grid,
  .service-grid,
  .values-grid,
  .faq-grid,
  .process-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 82px;
    padding: 16px 6px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid var(--rr-line);
    border-left: 0;
  }

  .section {
    padding: 82px 0;
  }

  .service-card {
    min-height: 250px;
  }

  .process-step,
  .process-step + .process-step {
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .step-number,
  .value-card span {
    margin-bottom: 28px;
  }

  .portrait-panel,
  .portrait-panel img {
    min-height: 420px;
  }

  .detail-row {
    grid-template-columns: 50px 1fr;
    gap: 15px;
  }

  .detail-row p {
    grid-column: 2;
  }

  .field--wide {
    grid-column: auto;
  }

  .service-area {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-meta {
    flex-direction: column;
    gap: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* WordPress block-theme integration. */
.wp-site-blocks,
.wp-site-blocks > * {
  margin-block-start: 0;
}

.wp-site-blocks {
  padding: 0;
}

.wp-site-blocks .alignwide {
  width: min(calc(100% - 40px), var(--rr-max));
  max-width: var(--rr-max);
  margin-inline: auto;
}

.rr-site-title,
.rr-footer-logo {
  flex: 0 0 auto;
  margin: 0;
  line-height: 1;
}

.rr-site-title a,
.rr-footer-logo a {
  display: block;
  overflow: hidden;
  width: 276px;
  max-width: 100%;
  height: 64px;
  background-image: url('../images/red-raven-logo.png');
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  text-indent: -9999px;
  white-space: nowrap;
}

.rr-main-nav {
  margin-left: auto;
}

.rr-main-nav .wp-block-navigation-item__content {
  color: var(--rr-ink-soft);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
}

.rr-main-nav .wp-block-navigation-item__content:hover,
.rr-main-nav .current-menu-item > .wp-block-navigation-item__content {
  color: var(--rr-red);
}

.rr-header-call {
  flex: 0 0 auto;
}

.rr-header-call .wp-block-button__link {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid var(--rr-ink);
  color: var(--rr-ink);
  background: transparent;
  box-shadow: none;
  font-size: 0.88rem;
}

.rr-header-call .wp-block-button__link:hover {
  color: var(--rr-white);
  background: var(--rr-ink);
}

.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.wp-site-blocks p {
  margin-block-start: 0;
}

.wp-site-blocks h1 mark {
  padding: 0;
  color: var(--rr-red);
  background: transparent;
}

.wp-site-blocks .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 25px;
  border: 1px solid var(--rr-red);
  border-radius: 999px;
  color: var(--rr-white);
  background: var(--rr-red);
  box-shadow: 0 12px 26px rgba(181, 18, 36, 0.19);
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.wp-site-blocks .wp-block-button__link:hover {
  color: var(--rr-white);
  background: var(--rr-red-dark);
  box-shadow: 0 16px 34px rgba(181, 18, 36, 0.25);
  transform: translateY(-2px);
}

.wp-site-blocks .is-style-outline > .wp-block-button__link {
  border-color: var(--rr-line);
  color: var(--rr-ink);
  background: transparent;
  box-shadow: none;
}

.wp-site-blocks .is-style-outline > .wp-block-button__link:hover {
  border-color: var(--rr-ink);
  color: var(--rr-ink);
  background: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.hero-grid > *,
.section-head > *,
.service-grid > *,
.split > *,
.process-grid > *,
.values-grid > *,
.contact-layout > *,
.detail-row > *,
.trust-grid > *,
.rr-page-hero-grid > * {
  margin-block-start: 0;
}

.hero-photo .wp-block-image,
.portrait-panel .wp-block-image {
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero-photo .wp-block-image img,
.portrait-panel .wp-block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-note p {
  margin-bottom: 0;
}

.hero-note p:first-child {
  font-size: 0.98rem;
  font-weight: 750;
}

.hero-note p + p {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  line-height: 1.5;
}

.trust-item {
  margin-bottom: 0;
}

.trust-icon {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--rr-teal);
  background: var(--rr-teal-soft);
  font-weight: 850;
}

.service-icon {
  display: grid;
  margin-bottom: 40px;
}

.service-card h3 a {
  text-decoration: none;
}

.section--ink h2,
.section--ink h3 {
  color: var(--rr-white);
}

.rr-eyebrow-light {
  color: var(--rr-white);
}

.cta-panel .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  border-color: var(--rr-white);
  color: var(--rr-red);
  background: var(--rr-white);
  box-shadow: none;
}

.cta-panel .is-style-outline > .wp-block-button__link {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--rr-white);
  background: transparent;
}

.cta-panel .is-style-outline > .wp-block-button__link:hover {
  border-color: var(--rr-white);
  color: var(--rr-white);
  background: rgba(255, 255, 255, 0.1);
}

.footer-grid.wp-block-columns {
  display: grid;
}

.rr-footer-logo a {
  width: 300px;
  height: 72px;
  padding: 14px 18px;
  border-radius: 11px;
  background-color: rgba(255, 255, 255, 0.94);
  background-origin: content-box;
}

.footer-links.wp-block-list {
  padding: 0;
  list-style: none;
}

.footer-meta p {
  margin-bottom: 0;
}

.rr-page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.56fr;
  align-items: end;
  gap: 72px;
}

.quote-block.wp-block-quote {
  margin: 0;
}

.contact-list {
  margin-top: 34px;
  padding: 0;
  border-bottom: 1px solid var(--rr-line);
}

.rr-contact-item {
  padding: 22px 0;
  border-top: 1px solid var(--rr-line);
}

.rr-contact-item p {
  margin-bottom: 0;
}

.rr-contact-item .contact-label {
  margin-bottom: 5px;
}

.rr-form-placeholder .wp-block-separator {
  margin: 28px 0;
  color: var(--rr-line);
}

.service-area p {
  margin-bottom: 0;
  padding: 13px 16px;
  border: 1px solid var(--rr-line);
  border-radius: 999px;
  text-align: center;
  font-size: 0.83rem;
  font-weight: 700;
}

.rr-generic-page {
  min-height: 55vh;
  padding: 100px 0;
}

.rr-error-page {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 980px) {
  .wp-site-blocks .alignwide {
    width: min(calc(100% - 40px), var(--rr-max));
  }

  .rr-page-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    grid-template-columns: minmax(180px, 1fr) auto;
  }

  .rr-header-call {
    display: none;
  }

  .rr-site-title a {
    width: 230px;
    height: 55px;
  }
}

@media (max-width: 720px) {
  .wp-site-blocks .alignwide {
    width: min(calc(100% - 28px), var(--rr-max));
  }

  .rr-site-title a {
    width: 205px;
    height: 49px;
  }

  .rr-main-nav {
    margin-left: auto;
  }

  .rr-footer-logo a {
    width: min(100%, 280px);
  }
}
