:root {
  --ink-black: #000000;
  --deep-navy: #0A2139;
  --navy-shadow: #091F36;
  --river-blue: #305F85;
  --river-blue-light: #346388;
  --sage: #7E7E5D;
  --sage-light: #A0A080;
  --sun-gold: #E5B66E;
  --bronze: #906820;
  --paper: #F7F3EA;
  --white-edge: #F8F8F6;
  --muted: #5B6670;
  --max: 1180px;
  --wide: 1540px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 158px;
}

body {
  margin: 0;
  color: var(--deep-navy);
  background: var(--white-edge);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.site-header {
  --header-pad-x: clamp(18px, 5vw, 60px);
  --brand-w: clamp(220px, 23vw, 330px);
  --nav-art-left: calc(var(--header-pad-x) + var(--brand-w) + 10px);
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: minmax(260px, auto) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  overflow: hidden;
  isolation: isolate;
  padding: 16px var(--header-pad-x) 14px;
  background: rgba(248, 248, 246, 0.97);
  border-bottom: 1px solid rgba(144, 104, 32, 0.24);
  backdrop-filter: blur(18px);
  box-shadow: 0 0 0 rgba(10, 33, 57, 0);
  transition: padding 0.28s ease, box-shadow 0.28s ease, background-color 0.28s ease;
}

.site-header::before,
.site-header::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.site-header::before {
  z-index: 0;
  top: 13px;
  right: 0;
  bottom: 13px;
  left: var(--nav-art-left);
  background:
    linear-gradient(rgba(4, 25, 45, 0.32), rgba(4, 25, 45, 0.32)),
    url("../images/riverwest-nav-river-sunset.png") center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 8px, #000 160px);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 8px, #000 160px);
}

.site-header::after {
  z-index: 1;
  top: 13px;
  right: 8px;
  bottom: 13px;
  left: 8px;
  border-top: 2px solid #0f406b;
  border-bottom: 2px solid #0f406b;
}

.admin-bar .site-header {
  top: 32px;
}

.site-header.is-condensed {
  --brand-w: clamp(190px, 18vw, 270px);
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(248, 248, 246, 0.985);
  box-shadow: 0 12px 34px rgba(10, 33, 57, 0.08);
}

.brand img {
  width: var(--brand-w);
  transition: width 0.28s ease;
}

.site-header.is-condensed .brand img {
  width: clamp(190px, 18vw, 270px);
}

.brand {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  text-decoration: none;
}

.site-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px clamp(12px, 1.8vw, 26px);
  color: #fff;
  font-size: clamp(0.86rem, 0.95vw, 1.04rem);
  font-weight: 800;
  line-height: 1;
  text-shadow:
    0 1px 0 rgba(5, 24, 43, 0.95),
    0 0 8px rgba(5, 24, 43, 0.9);
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px clamp(10px, 1.25vw, 18px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-menu li {
  margin: 0;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffe3a6;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(144, 104, 32, 0.55);
  border-radius: 4px;
  background: transparent;
  color: var(--deep-navy);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  min-height: clamp(560px, 68vh, 660px);
  align-items: center;
  overflow: hidden;
  padding: clamp(42px, 6vw, 78px) clamp(22px, 5vw, 72px);
  border-bottom: 1px solid rgba(144, 104, 32, 0.25);
  background:
    linear-gradient(90deg, rgba(248, 248, 246, 0.96) 0%, rgba(248, 248, 246, 0.88) 38%, rgba(248, 248, 246, 0.28) 63%, rgba(248, 248, 246, 0.04) 100%),
    url("../images/riverwest-strategy-map-hero.png");
  background-position: 58% 36%;
  background-size: cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: clamp(24px, 3.2vw, 36px);
  background: rgba(248, 248, 246, 0.88);
  border-left: 4px solid var(--sun-gold);
  box-shadow: 0 22px 70px rgba(10, 33, 57, 0.12);
}

.hero-copy h1 {
  max-width: 670px;
}

.hero-tagline {
  position: absolute;
  z-index: 1;
  top: clamp(92px, 16vw, 160px);
  right: clamp(72px, 22vw, 335px);
  width: auto;
  max-width: 520px;
  margin: 0;
  color: var(--deep-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 0;
  font-weight: 700;
  line-height: 0.9;
  text-align: left;
  text-shadow: 0 18px 34px rgba(248, 248, 246, 0.82), 0 2px 0 rgba(248, 248, 246, 0.62);
  transform: translateY(12px);
  opacity: 0;
  animation: heroTaglineIn 1s ease-out 0.35s forwards;
}

.hero-tagline::before {
  display: block;
  color: var(--deep-navy);
  content: "Find Your\A Direction";
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  line-height: 0.9;
  white-space: pre;
}

.hero-tagline::after {
  display: block;
  width: min(100%, 300px);
  height: 5px;
  margin: 18px auto 0 0;
  background: linear-gradient(90deg, var(--deep-navy), rgba(10, 33, 57, 0.52) 72%, rgba(10, 33, 57, 0));
  box-shadow: 0 0 18px rgba(10, 33, 57, 0.16);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  animation: heroTaglineRule 0.9s ease-out 0.85s forwards;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--bronze);
  font-size: clamp(0.98rem, 1.15vw, 1.18rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.02;
}

h1 {
  max-width: 620px;
  font-size: clamp(2.8rem, 4.6vw, 5.35rem);
}

h2 {
  font-size: clamp(2.4rem, 4.8vw, 5rem);
}

h3 {
  font-size: 1.7rem;
}

.hero-copy p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #334858;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button.primary {
  background: var(--deep-navy);
  color: var(--white-edge);
  box-shadow: inset 0 -3px 0 rgba(48, 95, 133, 0.65);
}

.button.quiet {
  border-color: rgba(144, 104, 32, 0.45);
  color: var(--deep-navy);
  background: rgba(248, 248, 246, 0.72);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, var(--max));
  margin: 0 auto;
  position: relative;
  z-index: 4;
  border: 1px solid rgba(144, 104, 32, 0.28);
  background: var(--deep-navy);
  color: var(--white-edge);
}

.signal-strip.wp-block-columns,
.service-list.wp-block-columns,
.about-cards.wp-block-columns,
.about-values.wp-block-columns,
.why-cards.wp-block-columns,
.why-compare.wp-block-columns,
.why-steps .method-steps.wp-block-columns,
.web-dev-cards.wp-block-columns,
.web-dev-process .method-steps.wp-block-columns {
  display: grid;
}

.signal-strip.wp-block-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.why-steps .method-steps.wp-block-columns,
.web-dev-process .method-steps.wp-block-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.signal-strip.wp-block-columns > .wp-block-column,
.service-list.wp-block-columns > .wp-block-column,
.about-cards.wp-block-columns > .wp-block-column,
.about-values.wp-block-columns > .wp-block-column,
.why-cards.wp-block-columns > .wp-block-column,
.why-compare.wp-block-columns > .wp-block-column,
.method-steps.wp-block-columns > .wp-block-column,
.web-dev-cards.wp-block-columns > .wp-block-column {
  margin: 0;
}

.signal-strip div {
  min-height: 160px;
  padding: 26px;
  border-right: 1px solid rgba(229, 182, 110, 0.32);
}

.signal-strip div:last-child {
  border-right: 0;
}

.signal-strip span {
  color: var(--sun-gold);
  font-weight: 900;
}

.signal-strip strong {
  display: block;
  margin-top: 34px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.signal-strip h3 {
  margin: 28px 0 0;
  color: var(--white-edge);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  line-height: 1;
}

.signal-strip p {
  margin: 10px 0 0;
  color: #D7D2C6;
}

.diagnostic-board,
.audit-section,
.services-section,
.method-section,
.contact-section {
  padding: clamp(78px, 10vw, 132px) clamp(22px, 5vw, 64px);
}

.diagnostic-board {
  padding-top: clamp(62px, 8vw, 102px);
}

.audit-section {
  padding-top: clamp(58px, 6vw, 88px);
  padding-bottom: clamp(58px, 6vw, 88px);
}

.diagnostic-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  width: min(100%, var(--max));
  margin: 0 auto;
  border: 1px solid rgba(144, 104, 32, 0.25);
  background: var(--white-edge);
}

.diagnostic-board > .section-kicker {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.audit-section > .section-kicker {
  width: min(100%, var(--max));
  margin: 0 auto 20px;
}

.diagnostic-lead,
.diagnostic-card {
  padding: 28px;
  background: var(--white-edge);
}

.diagnostic-lead {
  border-right: 1px solid rgba(144, 104, 32, 0.25);
}

.diagnostic-lead h2 {
  font-size: clamp(2.4rem, 4vw, 4.3rem);
}

.diagnostic-lead p,
.diagnostic-card p {
  color: var(--muted);
}

.diagnostic-lead p {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: 1.08rem;
}

.diagnostic-card {
  display: grid;
  grid-template-columns: 34px minmax(120px, 145px) minmax(0, 1fr);
  align-items: flex-start;
  gap: 18px;
  border-bottom: 1px solid rgba(144, 104, 32, 0.25);
}

.diagnostic-card:last-child {
  border-bottom: 0;
}

.diagnostic-cards {
  display: grid;
}

.diagnostic-card span {
  min-width: 34px;
  color: var(--bronze);
  font-weight: 900;
}

.diagnostic-card .card-number {
  min-width: 34px;
  margin: 0;
  color: var(--bronze);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.diagnostic-card strong {
  min-width: 145px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  line-height: 1;
}

.diagnostic-card h3 {
  min-width: 145px;
  font-size: 1.85rem;
}

.diagnostic-card p {
  flex: 1 1 auto;
  max-width: 320px;
  margin: 0;
}

.js .reveal-board > .section-kicker,
.js .reveal-board .diagnostic-lead,
.js .reveal-board .diagnostic-card {
  opacity: 0;
}

.js .reveal-board > .section-kicker {
  transform: translateY(12px);
}

.js .reveal-board .diagnostic-lead {
  transform: translateY(24px);
}

.js .reveal-board .diagnostic-card {
  position: relative;
  overflow: hidden;
  transform: translateY(22px);
}

.reveal-board .diagnostic-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--sun-gold), rgba(229, 182, 110, 0));
  content: "";
}

.reveal-board.is-revealed > .section-kicker {
  animation: boardFadeUp 0.55s ease-out forwards;
}

.reveal-board.is-revealed .diagnostic-lead {
  animation: boardFadeUp 0.7s ease-out 0.18s forwards;
}

.reveal-board.is-revealed .diagnostic-card {
  animation: boardFadeUp 0.58s ease-out forwards;
}

.reveal-board.is-revealed .diagnostic-card::before {
  animation: boardLineDraw 0.75s ease-out forwards;
}

.reveal-board.is-revealed .diagnostic-card span {
  animation: boardNumberPulse 0.82s ease-out forwards;
}

.reveal-board.is-revealed .diagnostic-card:nth-child(1),
.reveal-board.is-revealed .diagnostic-card:nth-child(1)::before,
.reveal-board.is-revealed .diagnostic-card:nth-child(1) span {
  animation-delay: 0.34s;
}

.reveal-board.is-revealed .diagnostic-card:nth-child(2),
.reveal-board.is-revealed .diagnostic-card:nth-child(2)::before,
.reveal-board.is-revealed .diagnostic-card:nth-child(2) span {
  animation-delay: 0.48s;
}

.reveal-board.is-revealed .diagnostic-card:nth-child(3),
.reveal-board.is-revealed .diagnostic-card:nth-child(3)::before,
.reveal-board.is-revealed .diagnostic-card:nth-child(3) span {
  animation-delay: 0.62s;
}

.reveal-board.is-revealed .diagnostic-card:nth-child(4),
.reveal-board.is-revealed .diagnostic-card:nth-child(4)::before,
.reveal-board.is-revealed .diagnostic-card:nth-child(4) span {
  animation-delay: 0.76s;
}

.reveal-board.is-revealed .diagnostic-card:nth-child(5),
.reveal-board.is-revealed .diagnostic-card:nth-child(5)::before,
.reveal-board.is-revealed .diagnostic-card:nth-child(5) span {
  animation-delay: 0.9s;
}

.audit-layout,
.section-heading,
.service-list,
.method-section,
.contact-section {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
}

.audit-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  gap: clamp(36px, 6vw, 74px);
  align-items: center;
}

.audit-layout h2 {
  max-width: 520px;
  font-size: clamp(2.8rem, 4.4vw, 4.65rem);
  line-height: 0.96;
}

.audit-layout p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.1rem;
}

.audit-layout ul {
  margin: 0;
  padding: 26px 0 0;
  border-top: 3px solid var(--sun-gold);
  color: #334858;
  list-style: none;
}

.audit-layout li {
  position: relative;
  padding: 16px 0;
  padding-left: 30px;
  border-bottom: 1px solid rgba(144, 104, 32, 0.18);
  font-weight: 700;
}

.audit-layout li::before,
.audit-layout li::after {
  position: absolute;
  content: "";
}

.audit-layout li::before {
  top: 22px;
  left: 0;
  width: 16px;
  height: 16px;
  border: 1px solid rgba(144, 104, 32, 0.42);
  border-radius: 999px;
  background: rgba(248, 248, 246, 0.8);
}

.audit-layout li::after {
  top: 26px;
  left: 5px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--sun-gold);
  border-bottom: 2px solid var(--sun-gold);
  opacity: 0;
  transform: rotate(42deg) scale(0.5);
  transform-origin: center;
}

.js .reveal-audit .section-kicker,
.js .reveal-audit .audit-layout > div,
.js .reveal-audit .audit-layout ul,
.js .reveal-audit .audit-layout li {
  opacity: 0;
}

.js .reveal-audit .section-kicker,
.js .reveal-audit .audit-layout > div {
  transform: translateY(18px);
}

.js .reveal-audit .audit-layout ul {
  transform: translateY(22px);
}

.js .reveal-audit .audit-layout li {
  transform: translateX(18px);
}

.reveal-audit.is-revealed .section-kicker {
  animation: boardFadeUp 0.5s ease-out forwards;
}

.reveal-audit.is-revealed .audit-layout > div {
  animation: boardFadeUp 0.68s ease-out 0.12s forwards;
}

.reveal-audit.is-revealed .audit-layout ul {
  animation: boardFadeUp 0.62s ease-out 0.24s forwards;
}

.reveal-audit.is-revealed .audit-layout li {
  animation: auditItemIn 0.48s ease-out forwards;
}

.reveal-audit.is-revealed .audit-layout li::after {
  animation: auditCheckIn 0.36s ease-out forwards;
}

.reveal-audit.is-revealed .audit-layout li:nth-child(1),
.reveal-audit.is-revealed .audit-layout li:nth-child(1)::after {
  animation-delay: 0.42s;
}

.reveal-audit.is-revealed .audit-layout li:nth-child(2),
.reveal-audit.is-revealed .audit-layout li:nth-child(2)::after {
  animation-delay: 0.56s;
}

.reveal-audit.is-revealed .audit-layout li:nth-child(3),
.reveal-audit.is-revealed .audit-layout li:nth-child(3)::after {
  animation-delay: 0.7s;
}

.reveal-audit.is-revealed .audit-layout li:nth-child(4),
.reveal-audit.is-revealed .audit-layout li:nth-child(4)::after {
  animation-delay: 0.84s;
}

.services-section {
  background: #ECE7DC;
}

.section-heading {
  margin-bottom: 42px;
}

.section-heading h2 {
  max-width: 840px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(144, 104, 32, 0.24);
  border: 1px solid rgba(144, 104, 32, 0.24);
}

.service-list.wp-block-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-list article,
.service-list > .wp-block-column {
  min-height: 260px;
  padding: 34px;
  background: var(--white-edge);
}

.service-list p {
  margin: 18px 0 0;
  color: var(--muted);
}

.service-list ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(144, 104, 32, 0.18);
  color: #334858;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.service-list li::before {
  position: absolute;
  top: 0.56em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sun-gold);
  content: "";
}

.method-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.75fr);
  gap: clamp(30px, 5vw, 64px);
  align-items: start;
  padding-top: clamp(44px, 6vw, 70px);
  padding-bottom: clamp(44px, 6vw, 70px);
  background: var(--deep-navy);
  color: var(--white-edge);
}

.method-section p {
  color: #D7D2C6;
}

.method-copy h2 {
  max-width: 560px;
  font-size: clamp(2.05rem, 3.45vw, 3.6rem);
  line-height: 1.02;
}

.method-copy p {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 1rem;
}

.method-steps {
  display: grid;
  gap: 14px;
}

.method-steps div {
  min-height: 0;
  padding: 16px 18px;
  border: 1px solid rgba(229, 182, 110, 0.35);
  background: rgba(248, 248, 246, 0.04);
}

.method-steps span {
  color: var(--sun-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
}

.method-steps p {
  margin: 4px 0 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.contact-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.contact-section h2 {
  max-width: 760px;
}

.site-footer {
  background: var(--deep-navy);
  color: #D7D2C6;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(220px, 0.8fr) minmax(240px, 0.7fr);
  gap: clamp(28px, 5vw, 70px);
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(42px, 6vw, 70px) clamp(22px, 5vw, 64px);
}

.footer-brand strong {
  display: block;
  color: var(--white-edge);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.footer-brand p {
  max-width: 520px;
  margin: 16px 0 0;
  color: #C8C2B5;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav a,
.footer-contact a {
  color: var(--white-edge);
  font-weight: 800;
  text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: var(--sun-gold);
}

.footer-contact span {
  color: var(--sun-gold);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

.footer-contact .footer-phone {
  margin-top: 8px;
  color: var(--sun-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: clamp(1.55rem, 2.25vw, 2.35rem);
  font-weight: 900;
  line-height: 1.1;
}

.footer-contact .footer-phone:hover,
.footer-contact .footer-phone:focus-visible {
  color: var(--white-edge);
}

.footer-bottom {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px clamp(22px, 5vw, 64px);
  border-top: 1px solid rgba(229, 182, 110, 0.22);
  color: #AFA99E;
}

.footer-bottom span {
  justify-self: start;
}

.footer-bottom strong {
  grid-column: 2;
  justify-self: center;
  color: var(--sun-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.65rem, 2.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1;
}

@keyframes boardFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes boardLineDraw {
  55% {
    width: 100%;
  }

  100% {
    width: 100%;
    opacity: 0.55;
  }
}

@keyframes boardNumberPulse {
  0% {
    color: var(--bronze);
    text-shadow: none;
    transform: scale(1);
  }

  42% {
    color: var(--sun-gold);
    text-shadow: 0 0 18px rgba(229, 182, 110, 0.5);
    transform: scale(1.12);
  }

  100% {
    color: var(--bronze);
    text-shadow: none;
    transform: scale(1);
  }
}

@keyframes auditItemIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes auditCheckIn {
  55% {
    opacity: 1;
    transform: rotate(42deg) scale(1.18);
  }

  100% {
    opacity: 1;
    transform: rotate(42deg) scale(1);
  }
}

@keyframes heroTaglineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroTaglineRule {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    overflow: visible;
  }

  .site-header::before,
  .site-header::after {
    display: none;
  }

  .site-nav {
    justify-content: flex-start;
    color: var(--deep-navy);
    font-size: 0.9rem;
    line-height: 1.6;
    text-shadow: none;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: var(--bronze);
  }

  .site-menu {
    justify-content: flex-start;
  }

  .hero,
  .diagnostic-grid,
  .audit-layout,
  .method-section {
    grid-template-columns: 1fr;
  }

  .diagnostic-lead {
    border-right: 0;
    border-bottom: 1px solid rgba(144, 104, 32, 0.25);
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .hero-tagline {
    top: auto;
    right: clamp(38px, 12vw, 110px);
    bottom: 28px;
    width: auto;
    max-width: 330px;
    font-size: clamp(2.6rem, 8vw, 4.2rem);
    opacity: 0.72;
  }

  .hero-tagline::before {
    font-size: clamp(2.6rem, 8vw, 4.2rem);
  }

  .signal-strip {
    grid-template-columns: 1fr !important;
    margin-top: 0;
  }

  .signal-strip.wp-block-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .signal-strip.wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
    min-width: 0;
    margin-left: 0 !important;
  }

  .signal-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(229, 182, 110, 0.32);
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .contact-section {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .site-header {
    --brand-w: clamp(210px, 22vw, 260px);
    gap: clamp(14px, 2vw, 24px);
  }

  .site-header.is-condensed {
    --brand-w: clamp(185px, 18vw, 230px);
  }

  .site-nav {
    gap: 12px clamp(12px, 1.6vw, 20px);
    font-size: clamp(0.82rem, 1.08vw, 0.96rem);
  }

  .site-menu {
    gap: 10px clamp(9px, 1.1vw, 14px);
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .wp-site-blocks,
  .site-main,
  .entry-content,
  .entry-content > *,
  .wp-block-group,
  .wp-block-columns,
  .wp-block-column {
    max-width: 100%;
    min-width: 0;
  }

  .wp-block-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .wp-block-columns > .wp-block-column {
    flex-basis: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
  }

  h1,
  h2,
  h3,
  h4,
  p,
  li,
  a,
  .wp-block-button__link,
  .button {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .admin-bar .site-header {
    top: 46px;
  }

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 13px 16px;
    overflow: hidden;
  }

  .brand img {
    width: 178px;
  }

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

  .site-nav {
    display: none;
    grid-column: 1 / -1;
    padding-top: 10px;
    border-top: 1px solid rgba(144, 104, 32, 0.18);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav.is-open .site-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .site-nav a {
    display: flex;
    min-height: 44px;
    align-items: center;
    padding: 9px 0;
  }

  .hero-copy {
    padding: 24px 18px;
  }

  .hero-copy h1,
  .entry-content h1,
  .entry-content h2 {
    font-size: clamp(34px, 9.2vw, 39px);
    line-height: 1;
  }

  .page-main {
    padding: 46px 18px;
  }

  .web-dev-page,
  .seo-service-page,
  .about-profile,
  .why-page,
  .gallery-page {
    gap: 38px;
  }

  .about-hero,
  .why-hero,
  .web-dev-hero,
  .seo-service-hero {
    min-height: 0;
    padding: 24px;
  }

  .about-hero h1,
  .why-hero h1,
  .services-page .about-hero h1,
  .about-profile .about-hero h1,
  .page-id-8 .about-hero h1,
  .gallery-page .about-hero h1,
  .web-dev-hero h2,
  .seo-service-hero h2 {
    max-width: none;
    font-size: clamp(34px, 9.1vw, 39px);
    line-height: 1.02;
  }

  .hero-copy .eyebrow {
    margin-bottom: 8px;
    font-size: 0.78rem;
  }

  .hero-copy > p {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .section-heading p,
  .diagnostic-lead p,
  .audit-layout p,
  .method-copy p,
  .about-hero p,
  .why-hero p,
  .seo-service-hero p,
  .web-dev-hero p {
    max-width: none;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-tagline {
    display: none;
  }

  .hero-actions,
  .hero-actions.wp-block-buttons,
  .wp-block-buttons.hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .wp-block-button,
  .hero-actions .wp-block-button__link,
  .wp-block-button.primary .wp-block-button__link,
  .wp-block-button.quiet .wp-block-button__link {
    width: 100%;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }

  .signal-strip div,
  .service-list article {
    padding: 24px;
  }

  .signal-strip.wp-block-columns {
    width: calc(100% - 32px);
  }

  .signal-strip.wp-block-columns > .wp-block-column {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 2px 14px;
    min-height: 0;
    padding: 16px 18px;
  }

  .signal-strip.wp-block-columns > .wp-block-column:last-child {
    border-bottom: 0;
  }

  .signal-strip .wp-block-paragraph,
  .signal-strip p {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .signal-strip .wp-block-column > p:first-child {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .signal-strip h3 {
    margin: 0;
    font-size: 1.42rem;
    line-height: 1;
  }

  .signal-strip h3 + p {
    margin: 3px 0 0;
    font-size: 0.88rem;
    line-height: 1.35;
    color: rgba(215, 210, 198, 0.82);
  }

  .diagnostic-card,
  .web-dev-cards.wp-block-columns > .wp-block-column,
  .about-cards.wp-block-columns > .wp-block-column,
  .why-cards.wp-block-columns > .wp-block-column,
  .gallery-card {
    padding: 22px !important;
  }

  .diagnostic-card h3,
  .web-dev-cards h3,
  .about-cards h3,
  .why-cards h3,
  .gallery-card h3 {
    font-size: clamp(1.55rem, 8vw, 2rem);
    line-height: 1.03;
  }

  .diagnostic-card p,
  .web-dev-cards p,
  .about-cards p,
  .why-cards p,
  .gallery-card p {
    font-size: 0.94rem;
    line-height: 1.5;
  }

  .web-dev-split ul,
  .seo-service-split ul {
    padding-top: 14px;
  }

  .web-dev-split li,
  .seo-service-split li {
    padding: 10px 0;
    font-size: 0.95rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 36px 18px;
  }

  .footer-nav a,
  .footer-contact a {
    display: flex;
    min-height: 38px;
    align-items: center;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    padding-right: 18px;
    padding-left: 18px;
    text-align: center;
  }

  .footer-bottom span,
  .footer-bottom strong {
    grid-column: 1;
    justify-self: center;
  }
}

.page-main {
  padding: clamp(72px, 9vw, 118px) clamp(22px, 5vw, 64px);
}

.page-content {
  width: min(100%, 880px);
  margin: 0 auto;
}

.page-content-wide,
.page-about {
  width: min(100%, var(--wide));
}

.page-hero {
  margin-bottom: 32px;
}

.entry-content {
  color: #334858;
  font-size: 1.05rem;
}

.entry-content a {
  color: var(--river-blue);
  font-weight: 700;
}

.entry-content :where(h2, h3) {
  margin-top: 1.4em;
}

.entry-content .section-kicker + :where(h1, h2, h3, p),
.entry-content .section-kicker + .wp-block-heading {
  margin-top: 0;
}

.entry-content :where(p, ul, ol) {
  margin: 1em 0 0;
}

.entry-content :where(ul, ol) {
  padding-left: 1.25rem;
}

.web-dev-page,
.seo-service-page {
  display: grid;
  gap: clamp(42px, 5.5vw, 68px);
}

.web-dev-title-block h1 {
  max-width: 760px;
  font-size: clamp(3rem, 6vw, 5.9rem);
  line-height: 0.95;
}

.web-dev-sales-line {
  max-width: 920px;
  margin-top: 24px;
  padding: 18px 22px;
  border-left: 4px solid var(--sun-gold);
  background: rgba(248, 248, 246, 0.88);
  color: var(--deep-navy);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2.05vw, 1.85rem);
  font-weight: 700;
  line-height: 1.18;
}

.about-profile {
  display: grid;
  gap: clamp(54px, 7vw, 90px);
}

.why-page {
  display: grid;
  gap: clamp(54px, 7vw, 90px);
}

.gallery-page {
  display: grid;
  gap: clamp(54px, 7vw, 90px);
}

.about-hero,
.why-hero {
  padding: clamp(30px, 5vw, 56px);
  border-left: 4px solid var(--sun-gold);
  background:
    linear-gradient(120deg, rgba(248, 248, 246, 0.98), rgba(248, 248, 246, 0.82)),
    url("../images/riverwest-strategy-map-hero.png");
  background-position: 58% 42%;
  background-size: cover;
  box-shadow: 0 22px 70px rgba(10, 33, 57, 0.1);
}

.about-hero h2,
.about-split h2,
.why-hero h2,
.why-split h2,
.why-cta h2 {
  max-width: 960px;
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
}

.about-hero p,
.why-hero p {
  max-width: 780px;
  color: #334858;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
}

.services-page .about-hero h1 {
  max-width: 1080px;
  font-size: clamp(2.75rem, 4.2vw, 4.35rem);
  line-height: 1;
}

.services-page .about-hero p {
  max-width: 760px;
}

.why-page .why-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.75rem, 4.2vw, 4.35rem);
  line-height: 1;
}

.why-page .why-hero p {
  max-width: 820px;
}

.about-profile .about-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.75rem, 4.2vw, 4.35rem);
  line-height: 1;
}

.about-profile .about-hero p {
  max-width: 820px;
}

.page-id-8 .about-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.75rem, 4.2vw, 4.35rem);
  line-height: 1;
}

.page-id-8 .about-hero p {
  max-width: 820px;
}

.gallery-page .about-hero h1 {
  max-width: 1120px;
  font-size: clamp(2.75rem, 4.2vw, 4.35rem);
  line-height: 1;
}

.gallery-page .about-hero p {
  max-width: 820px;
}

@media (min-width: 1100px) {
  .about-hero,
  .why-hero,
  .web-dev-hero,
  .seo-service-hero {
    min-height: 430px;
  }
}

@media (min-width: 1100px) {
  .services-page .service-list.wp-block-columns {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-page .service-list > .wp-block-column {
    padding: 30px;
  }
}

.about-split,
.why-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.why-split-single {
  display: block;
  max-width: 760px;
}

.why-split-single h2 {
  max-width: 760px;
  font-size: clamp(2.15rem, 3.45vw, 3.65rem);
}

.why-split-single p {
  max-width: 720px;
}

.why-split-single p + p {
  margin-top: 18px;
}

.about-split p,
.why-split p {
  max-width: 720px;
}

.about-split aside,
.about-split .about-callout,
.why-split aside,
.why-split .why-callout {
  padding: 28px;
  background: var(--deep-navy);
  color: var(--white-edge);
}

.why-split .why-callout {
  align-self: start;
  padding: 22px 24px;
}

.about-split aside span,
.about-split .about-callout .section-kicker,
.about-cards span,
.about-values span,
.why-split aside span,
.why-split .why-callout .section-kicker,
.why-cards span {
  color: var(--sun-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.about-split aside strong,
.about-split .about-callout h3,
.why-split aside strong,
.why-split .why-callout h3 {
  display: block;
  margin-top: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.why-split .why-callout h3 {
  font-size: clamp(1.55rem, 2.25vw, 2.2rem);
  line-height: 1.08;
}

.about-split aside p,
.about-split .about-callout p,
.why-split aside p,
.why-split .why-callout p {
  color: #D7D2C6;
}

.about-band,
.why-band {
  padding: clamp(34px, 5vw, 56px);
  background: #ECE7DC;
}

.about-cards,
.why-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.about-cards.wp-block-columns,
.why-cards.wp-block-columns,
.web-dev-cards.wp-block-columns,
.web-dev-proof-grid.wp-block-columns {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-values.wp-block-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-cards article,
.about-cards > .wp-block-column,
.why-cards article,
.why-cards > .wp-block-column {
  min-height: 290px;
  padding: 28px;
  background: var(--white-edge);
}

.about-cards h3,
.why-cards h3 {
  margin-top: 34px;
}

.about-cards p,
.why-cards p {
  color: var(--muted);
}

.about-list {
  margin: 0;
  padding: 24px 0 0;
  border-top: 3px solid var(--sun-gold);
  list-style: none;
}

.about-list li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(144, 104, 32, 0.18);
  color: var(--deep-navy);
  font-weight: 800;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.about-values div {
  min-height: 180px;
  padding: 28px;
  background: var(--deep-navy);
  color: var(--white-edge);
}

.about-values .wp-block-column {
  min-height: 180px;
  padding: 28px;
  background: var(--deep-navy);
  color: var(--white-edge);
}

.about-values h3 {
  color: var(--sun-gold);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.about-values p {
  color: #D7D2C6;
}

.why-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.why-compare.wp-block-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-compare > div {
  padding: clamp(26px, 4vw, 42px);
  background: var(--white-edge);
}

.why-compare h3 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.why-steps {
  padding: clamp(34px, 5vw, 56px);
  background: var(--deep-navy);
  color: var(--white-edge);
}

.why-steps .method-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-number {
  margin: 0;
  color: var(--sun-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.method-steps h3 {
  color: var(--sun-gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
  font-weight: 700;
}

.wp-block-button.primary .wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 4px;
  background: var(--deep-navy);
  color: var(--white-edge);
  box-shadow: inset 0 -3px 0 rgba(48, 95, 133, 0.65);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.wp-block-button.quiet .wp-block-button__link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(144, 104, 32, 0.45);
  border-radius: 4px;
  background: rgba(248, 248, 246, 0.72);
  color: var(--deep-navy);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.gallery-grid.wp-block-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.gallery-card {
  margin: 0;
  padding: 28px;
  background: var(--white-edge);
}

.gallery-card figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0 0 24px;
  border: 1px solid rgba(144, 104, 32, 0.22);
  background: #ECE7DC;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-card h3 {
  margin-top: 10px;
}

.why-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(144, 104, 32, 0.24);
}

.why-cta .section-kicker,
.web-dev-cta .section-kicker,
.contact-section .section-kicker {
  margin-bottom: 8px;
}

.services-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(144, 104, 32, 0.24);
}

.services-cta h2 {
  max-width: 820px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
}

.services-cta .section-kicker {
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .services-cta {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-cta h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.12;
  }
}

.web-dev-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 4vw, 48px);
  background:
    linear-gradient(120deg, rgba(248, 248, 246, 0.96), rgba(248, 248, 246, 0.78)),
    url("../images/riverwest-strategy-map-hero.png");
  background-position: 58% 42%;
  background-size: cover;
  border-left: 4px solid var(--sun-gold);
  box-shadow: 0 22px 70px rgba(10, 33, 57, 0.1);
}

.web-dev-hero h2 {
  font-size: clamp(2.05rem, 3.8vw, 4.15rem);
}

.web-dev-split h2,
.web-dev-cta h2 {
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
}

.web-dev-problem h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 2.35vw, 2.65rem);
  line-height: 1.16;
}

.web-dev-hero p {
  max-width: 690px;
  color: #334858;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
}

.web-dev-hero aside,
.web-dev-hero .web-dev-callout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  min-height: 0;
  padding: 26px;
  background: rgba(10, 33, 57, 0.94);
  color: var(--white-edge);
}

.web-dev-hero aside span,
.web-dev-hero .web-dev-callout .section-kicker,
.web-dev-cards span {
  color: var(--sun-gold);
  font-weight: 900;
  text-transform: uppercase;
}

.web-dev-hero aside strong,
.web-dev-hero .web-dev-callout h3 {
  display: block;
  margin-top: 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.75rem, 2.45vw, 2.65rem);
  line-height: 1.06;
}

.web-dev-hero aside p,
.web-dev-hero .web-dev-callout p {
  margin-bottom: 0;
  color: #D7D2C6;
}

.web-dev-band {
  padding: clamp(28px, 3.7vw, 42px);
  background: #ECE7DC;
}

.web-dev-proof-grid.wp-block-columns {
  display: grid;
  gap: 1px;
  margin-top: 24px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.web-dev-proof-grid > .wp-block-column {
  padding: 18px 20px;
  background: var(--white-edge);
}

.web-dev-proof-grid h3 {
  color: var(--deep-navy);
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
  font-style: italic;
  font-weight: 900;
  text-transform: uppercase;
}

.web-dev-proof-grid p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.web-dev-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.web-dev-cards article,
.web-dev-cards > .wp-block-column {
  min-height: 0;
  padding: 18px 20px;
  background: var(--white-edge);
}

.web-dev-cards h3 {
  margin-top: 16px;
}

.web-dev-cards p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.5;
}

.web-dev-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.68fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.web-dev-split p {
  max-width: 680px;
}

.web-dev-problem > .wp-block-column:last-child p:not(.section-kicker) {
  max-width: 760px;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.web-dev-split ul {
  margin: 0;
  padding: 24px 0 0;
  border-top: 3px solid var(--sun-gold);
  list-style: none;
}

.web-dev-split li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(144, 104, 32, 0.18);
  color: var(--deep-navy);
  font-weight: 800;
}

.web-dev-process {
  padding: clamp(26px, 3.6vw, 40px);
  background: var(--deep-navy);
  color: var(--white-edge);
}

.web-dev-process .method-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.web-dev-process .method-steps > .wp-block-column {
  padding: 16px 18px;
}

.web-dev-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(144, 104, 32, 0.24);
}

.web-dev-seo-links,
.seo-service-band {
  padding: clamp(34px, 5vw, 56px);
  background: #ECE7DC;
}

.web-dev-seo-links .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 30px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: rgba(144, 104, 32, 0.24);
}

.web-dev-seo-links .wp-block-column {
  padding: 28px;
  background: var(--white-edge);
}

.web-dev-seo-links h3 {
  font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.web-dev-seo-links a {
  color: var(--deep-navy);
  text-decoration-color: rgba(144, 104, 32, 0.45);
  text-underline-offset: 0.18em;
}

.seo-service-hero {
  padding: clamp(30px, 5vw, 56px);
  border-left: 4px solid var(--sun-gold);
  background:
    linear-gradient(120deg, rgba(248, 248, 246, 0.97), rgba(248, 248, 246, 0.8)),
    url("../images/riverwest-strategy-map-hero.png");
  background-position: 58% 42%;
  background-size: cover;
  box-shadow: 0 22px 70px rgba(10, 33, 57, 0.1);
}

.seo-service-hero h2 {
  max-width: 980px;
  font-size: clamp(2.4rem, 4.6vw, 4.9rem);
}

.seo-service-hero p {
  max-width: 760px;
  color: #334858;
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
}

.seo-service-split.wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: start;
}

.seo-service-split ul {
  margin: 0;
  padding: 24px 0 0;
  border-top: 3px solid var(--sun-gold);
  list-style: none;
}

.seo-service-split li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(144, 104, 32, 0.18);
  color: var(--deep-navy);
  font-weight: 800;
}

.riverwest-contact-form {
  margin-top: clamp(28px, 4vw, 44px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(144, 104, 32, 0.28);
  background: rgba(248, 248, 246, 0.92);
  box-shadow: 0 22px 70px rgba(10, 33, 57, 0.08);
}

.riverwest-form-intro {
  margin: 0 0 22px;
  max-width: 720px;
  color: #334858;
  font-weight: 700;
}

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

.riverwest-contact-form p {
  margin: 0 0 18px;
}

.riverwest-contact-form label,
.riverwest-contact-form legend {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-navy);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.riverwest-contact-form input,
.riverwest-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(10, 33, 57, 0.22);
  border-radius: 0;
  background: #fff;
  color: var(--deep-navy);
  font: inherit;
  font-family: var(--sans);
}

.riverwest-contact-form input {
  min-height: 48px;
  padding: 12px 14px;
}

.riverwest-contact-form textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.riverwest-contact-form input:focus,
.riverwest-contact-form textarea:focus {
  outline: 3px solid rgba(196, 143, 42, 0.32);
  border-color: var(--sun-gold);
}

.riverwest-contact-form fieldset {
  margin: 6px 0 20px;
  padding: 0;
  border: 0;
}

.riverwest-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.riverwest-service-options label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(144, 104, 32, 0.24);
  background: #fff;
  color: #334858;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.riverwest-service-options input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--sun-gold);
}

.riverwest-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--deep-navy);
  background: var(--deep-navy);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.riverwest-form-submit:hover,
.riverwest-form-submit:focus-visible {
  background: var(--sun-gold);
  color: var(--deep-navy);
  transform: translateY(-1px);
}

.riverwest-form-status {
  margin: 0 0 18px;
  padding: 12px 14px;
  font-family: var(--sans);
  font-weight: 800;
}

.riverwest-form-status.is-success {
  background: rgba(32, 112, 78, 0.12);
  color: #174f37;
}

.riverwest-form-status.is-error {
  background: rgba(151, 52, 38, 0.12);
  color: #7a271d;
}

.riverwest-hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .web-dev-hero,
  .web-dev-split,
  .seo-service-split.wp-block-columns,
  .about-split,
  .why-split {
    grid-template-columns: 1fr;
  }

  .web-dev-cards,
  .web-dev-proof-grid.wp-block-columns,
  .web-dev-seo-links .wp-block-columns,
  .web-dev-process .method-steps,
  .about-cards,
  .why-cards,
  .why-steps .method-steps,
  .gallery-grid.wp-block-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .web-dev-page,
  .seo-service-page,
  .about-profile,
  .why-page,
  .gallery-page {
    gap: 38px;
  }

  .web-dev-title-block h1,
  .about-hero h1,
  .why-hero h1,
  .why-page .why-hero h1,
  .services-page .about-hero h1,
  .about-profile .about-hero h1,
  .page-id-8 .about-hero h1,
  .gallery-page .about-hero h1,
  .web-dev-hero h2,
  .seo-service-hero h2 {
    max-width: none;
    font-size: clamp(34px, 9.1vw, 39px);
    line-height: 1.02;
  }

  .audit-layout h2,
  .section-heading h2,
  .diagnostic-lead h2,
  .method-copy h2,
  .web-dev-split h2,
  .seo-service-split h2,
  .about-split h2,
  .why-split h2,
  .web-dev-cta h2,
  .why-cta h2 {
    font-size: clamp(32px, 8.8vw, 38px);
    line-height: 1.03;
  }

  .about-hero,
  .why-hero,
  .web-dev-hero,
  .seo-service-hero {
    min-height: 0;
    padding: 24px;
  }

  .web-dev-cards,
  .web-dev-proof-grid.wp-block-columns,
  .web-dev-seo-links .wp-block-columns,
  .web-dev-process .method-steps,
  .about-cards,
  .about-values,
  .why-cards,
  .why-compare,
  .why-steps .method-steps,
  .gallery-grid.wp-block-columns {
    grid-template-columns: 1fr;
  }

  .web-dev-cta,
  .why-cta {
    display: grid !important;
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .web-dev-cta > .wp-block-column,
  .why-cta > .wp-block-column {
    flex-basis: 100% !important;
    width: 100%;
    margin-left: 0 !important;
  }

  .riverwest-form-grid,
  .riverwest-service-options {
    grid-template-columns: 1fr;
  }
}

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

  .reveal-board > .section-kicker,
  .reveal-board .diagnostic-lead,
  .reveal-board .diagnostic-card,
  .reveal-audit .section-kicker,
  .reveal-audit .audit-layout > div,
  .reveal-audit .audit-layout ul,
  .reveal-audit .audit-layout li {
    opacity: 1;
    transform: none;
  }

  .reveal-board .diagnostic-card::before,
  .audit-layout li::after {
    display: none;
  }

  .hero-tagline {
    opacity: 1;
    transform: none;
  }

  .hero-tagline::after {
    transform: scaleX(1);
  }
}



/* Footer responsive fit fix - 2026-07-09 */
.site-footer,
.site-footer * {
  max-width: 100%;
}

.footer-inner {
  width: min(100%, var(--max));
  grid-template-columns: minmax(220px, 1.15fr) minmax(140px, 0.7fr) minmax(210px, 0.9fr);
  gap: clamp(24px, 5vw, 56px);
  padding-left: clamp(22px, 5vw, 44px);
  padding-right: clamp(22px, 5vw, 44px);
}

.footer-contact {
  min-width: 0;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-phone {
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  line-height: 1.15;
  white-space: nowrap;
}

.footer-bottom {
  width: min(100%, var(--max));
  padding-left: clamp(22px, 5vw, 44px);
  padding-right: clamp(22px, 5vw, 44px);
}

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

  .footer-nav,
  .footer-contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    text-align: left;
  }
}



/* Footer bottom stack fix - 2026-07-09 */
@media (max-width: 900px) {
  .footer-bottom {
    grid-template-columns: minmax(0, 1fr) !important;
    justify-items: start;
  }
}
