:root {
  --ink: #11110f;
  --paper: #f7f6f2;
  --white: #fff;
  --red: #e4312b;
  --red-dark: #bd201c;
  --line: rgba(17, 17, 15, 0.15);
  --muted: #686864;
  --shell: min(92vw, 1440px);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: -80px; padding: 12px 18px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 16px; }

.utility-bar { background: var(--ink); color: var(--white); font-size: 0.78rem; letter-spacing: 0.035em; }
.utility-bar__inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; }
.utility-bar p { margin: 0; color: rgba(255,255,255,.68); }
.utility-bar a { display: flex; gap: 18px; align-items: center; }
.utility-bar a span { color: rgba(255,255,255,.6); }
.utility-bar a strong { font-size: .86rem; }

.site-header { position: sticky; z-index: 50; top: 0; background: rgba(247,246,242,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.site-header__inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: 0 0 auto; }
.brand__mark { width: 44px; color: var(--red); fill: currentColor; }
.brand__tick { fill: none; stroke: var(--white); stroke-width: 4.5; stroke-linecap: square; stroke-linejoin: miter; }
.brand__type { display: flex; flex-direction: column; line-height: .9; }
.brand__type strong { font-size: 1.42rem; letter-spacing: -0.06em; }
.brand__type span { margin-top: 8px; font-size: .64rem; letter-spacing: .18em; font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 1.5vw, 30px); font-size: .84rem; font-weight: 700; }
.primary-nav > a:not(.button) { padding-block: 12px; border-bottom: 2px solid transparent; }
.primary-nav > a:not(.button):hover, .primary-nav > a:not(.button):focus-visible { border-color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; padding: 12px; }

.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; border: 1px solid transparent; border-radius: var(--radius); font-size: .9rem; line-height: 1; font-weight: 800; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--small { min-height: 46px; padding-inline: 20px; }
.button--red { background: var(--red); color: var(--white); }
.button--red:hover { background: var(--red-dark); }
.button--ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.button--ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.button--dark { background: var(--ink); color: var(--white); }
.button--dark:hover { background: var(--red); }

.hero { position: relative; min-height: min(760px, calc(100vh - 122px)); background: #20211f; color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; background: url("assets/riteway-technician-hero.jpg") 58% center / cover no-repeat; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,7,.93) 0%, rgba(7,8,7,.8) 34%, rgba(7,8,7,.2) 68%, rgba(7,8,7,.15) 100%); }
.hero__grid { position: absolute; inset: 0; margin-inline: auto; width: var(--shell); border-inline: 1px solid rgba(255,255,255,.11); background-image: repeating-linear-gradient(90deg, transparent 0, transparent calc(8.333% - 1px), rgba(255,255,255,.065) calc(8.333% - 1px), rgba(255,255,255,.065) 8.333%); opacity: .55; }
.hero__content { position: relative; min-height: inherit; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; padding-block: 80px; }
.hero__copy { grid-column: 1 / span 7; max-width: 880px; }
.eyebrow { margin: 0 0 28px; display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: .13em; font-size: .72rem; font-weight: 800; }
.eyebrow span { width: 34px; height: 3px; background: var(--red); }
.eyebrow--light { color: rgba(255,255,255,.72); }
.hero h1 { margin: 0; max-width: 900px; font-size: clamp(4.3rem, 7.2vw, 8.6rem); line-height: .84; letter-spacing: -.078em; font-weight: 800; text-wrap: balance; }
.hero h1 em { color: var(--red); font-style: normal; }
.hero__lead { max-width: 590px; margin: 32px 0 36px; color: rgba(255,255,255,.78); font-size: clamp(1.05rem, 1.6vw, 1.32rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { grid-column: 10 / span 3; align-self: end; margin-bottom: 36px; padding: 23px 24px 25px; background: rgba(17,17,15,.78); border-top: 3px solid var(--red); backdrop-filter: blur(10px); }
.hero-note__label { display: block; margin-bottom: 18px; color: rgba(255,255,255,.56); text-transform: uppercase; font-size: .66rem; letter-spacing: .13em; }
.hero-note strong { font-size: 1.08rem; line-height: 1.42; }

.proof-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-strip__grid > div { min-height: 126px; padding: 30px clamp(18px, 3vw, 46px); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.proof-strip__grid > div:first-child { border-left: 1px solid var(--line); }
.proof-strip strong { font-size: 1.6rem; letter-spacing: -.04em; }
.proof-strip span { color: var(--muted); font-size: .78rem; }

.section { padding-block: clamp(92px, 11vw, 172px); }
.section-index { margin-top: 80px; color: rgba(17,17,15,.24); font-size: .78rem; font-weight: 800; }
.section-index--light { color: rgba(255,255,255,.34); }
.intro__aside { grid-column: 1 / span 3; }
.intro__main { grid-column: 4 / span 9; }
.intro h2, .credibility h2, .commercial h2, .pest-guide h2, .service-area h2, .final-cta h2 { margin: 0; font-size: clamp(2.7rem, 5.1vw, 6rem); line-height: .98; letter-spacing: -.068em; text-wrap: balance; }
.credibility { background: #eceae4; }
.credibility__heading > div { grid-column: 1 / span 8; }
.credibility__heading > p { grid-column: 9 / span 4; align-self: end; margin: 0; color: var(--muted); }
.credibility__feature { margin-top: 78px; display: grid; grid-template-columns: 5fr 7fr; gap: 24px; }
.award-card, .membership-card { min-height: 430px; border-radius: var(--radius); }
.award-card { padding: clamp(30px, 3vw, 48px); display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: clamp(24px, 3vw, 52px); align-items: center; background: #8b131a; color: var(--white); overflow: hidden; }
.award-card img { width: 100%; max-height: 310px; object-fit: contain; }
.award-card__year, .membership-card__label { display: block; margin-bottom: 26px; text-transform: uppercase; letter-spacing: .13em; font-size: .69rem; font-weight: 800; }
.award-card__year { color: #efc85c; }
.award-card h3, .membership-card h3 { margin: 0; font-size: clamp(2rem, 3.1vw, 3.7rem); line-height: .98; letter-spacing: -.06em; }
.award-card p { margin: 20px 0 0; color: rgba(255,255,255,.68); }
.membership-card { padding: clamp(30px, 4vw, 58px); display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); }
.membership-card__label { color: var(--red); }
.membership-card h3 { max-width: 700px; }
.membership-logos { margin: auto 0 30px; padding-top: 52px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.membership-logos img { width: auto; max-width: 220px; max-height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.membership-card > p { margin: 0; color: var(--muted); font-size: .85rem; }
.promise-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 24px; border-top: 1px solid rgba(17,17,15,.22); border-left: 1px solid rgba(17,17,15,.22); }
.promise-grid article { min-height: 250px; padding: 26px; border-right: 1px solid rgba(17,17,15,.22); border-bottom: 1px solid rgba(17,17,15,.22); }
.promise-grid span { color: var(--red); text-transform: uppercase; letter-spacing: .13em; font-size: .65rem; font-weight: 800; }
.promise-grid h3 { margin: 72px 0 12px; font-size: 1.35rem; line-height: 1.05; letter-spacing: -.04em; }
.promise-grid p { margin: 0; color: var(--muted); font-size: .82rem; }
.intro .lede { max-width: 930px; margin: 34px 0 60px; color: #4c4c48; font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
.service-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { min-height: 430px; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; border-radius: var(--radius); }
.service-card--home { background: var(--white); border: 1px solid var(--line); }
.service-card--business { background: var(--red); color: var(--white); }
.service-card__top { display: flex; justify-content: space-between; align-items: flex-start; text-transform: uppercase; font-size: .69rem; letter-spacing: .14em; font-weight: 800; }
.service-card svg { width: 36px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.service-card h3 { max-width: 560px; margin: auto 0 20px; font-size: clamp(2rem, 3vw, 3.4rem); line-height: 1; letter-spacing: -.06em; }
.service-card p { max-width: 540px; margin: 0 0 32px; color: var(--muted); }
.service-card--business p { color: rgba(255,255,255,.78); }
.service-card a { width: fit-content; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .82rem; font-weight: 800; }
.offers { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.offer-card { min-height: 310px; padding: clamp(28px, 3vw, 42px); display: flex; flex-direction: column; background: #efeee9; border: 1px solid var(--line); }
.offer-card--dark { background: var(--ink); color: var(--white); border-color: var(--ink); }
.offer-card__tag { margin-bottom: 48px; color: var(--red); text-transform: uppercase; letter-spacing: .13em; font-size: .66rem; font-weight: 800; }
.offer-card__headline { display: flex; justify-content: space-between; gap: 20px; align-items: start; }
.offer-card__headline strong { max-width: 420px; font-size: clamp(1.65rem, 2.3vw, 2.7rem); line-height: 1; letter-spacing: -.055em; }
.offer-card__headline em { flex: 0 0 auto; color: var(--red); font-size: 1.05rem; font-style: normal; font-weight: 800; }
.offer-card > p { margin: 30px 0 18px; color: var(--muted); font-size: .9rem; }
.offer-card--dark > p { color: rgba(255,255,255,.62); }
.offer-card small { margin-top: auto; color: var(--muted); font-size: .7rem; line-height: 1.5; }
.offer-card a { width: fit-content; margin-top: auto; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: .8rem; font-weight: 800; }

.process { background: var(--ink); color: var(--white); }
.process__heading > div:first-child { grid-column: 1 / span 4; }
.process__heading > div:last-child { grid-column: 5 / span 8; }
.process h2 { margin: 0; font-size: clamp(2.7rem, 5vw, 5.8rem); line-height: .97; letter-spacing: -.068em; }
.process__steps { margin-top: 96px; border-top: 1px solid rgba(255,255,255,.18); }
.process-step { display: grid; grid-template-columns: 1fr 3fr; gap: 24px; align-items: start; padding: 42px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.process-step__num { color: var(--red); font-size: .8rem; font-weight: 800; }
.process-step > div { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.process-step h3 { margin: 0; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1; letter-spacing: -.055em; }
.process-step p { max-width: 600px; margin: 0; color: rgba(255,255,255,.62); }

.commercial { background: var(--white); }
.commercial__title { grid-column: 1 / span 8; }
.commercial__copy { grid-column: 9 / span 4; align-self: end; }
.commercial__copy p { margin: 0 0 28px; color: var(--muted); }
.text-link { padding-bottom: 4px; border-bottom: 1px solid currentColor; font-size: .84rem; font-weight: 800; }
.sector-grid { margin-top: 84px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sector-grid article { min-height: 270px; padding: 28px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sector-grid span { color: var(--red); font-size: .71rem; font-weight: 800; }
.sector-grid h3 { margin: 72px 0 12px; font-size: 1.52rem; letter-spacing: -.04em; }
.sector-grid p { margin: 0; color: var(--muted); font-size: .88rem; }

.pest-guide { background: #e8e7e1; }
.pest-guide__intro { grid-column: 1 / span 5; }
.pest-guide__intro h2 { font-size: clamp(2.7rem, 4.5vw, 5.4rem); }
.pest-guide__intro > p:not(.eyebrow) { max-width: 540px; margin: 32px 0; color: var(--muted); }
.pest-list { grid-column: 7 / span 6; border-top: 1px solid rgba(17,17,15,.28); }
.pest-list a { min-height: 97px; display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; border-bottom: 1px solid rgba(17,17,15,.28); transition: background .2s ease, padding .2s ease; }
.pest-list a:hover { padding-inline: 14px; background: rgba(255,255,255,.45); }
.pest-list span { color: var(--red); font-size: .69rem; font-weight: 800; }
.pest-list strong { font-size: 1.28rem; letter-spacing: -.03em; }
.pest-list em { color: var(--muted); font-size: .76rem; font-style: normal; }

.service-area { position: relative; min-height: 760px; background: var(--red); color: var(--white); overflow: hidden; }
.service-area__map { position: absolute; inset: 0 46% 0 0; opacity: .22; }
.service-area__map svg { width: 100%; height: 100%; }
.service-area__map path { fill: none; stroke: var(--white); stroke-width: 2; stroke-dasharray: 7 8; }
.service-area__map circle { fill: var(--white); }
.service-area__content { position: relative; align-items: center; }
.service-area__content > div:first-child { grid-column: 1 / span 7; }
.service-area__content > div > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.76); font-size: 1.05rem; }
.area-list { grid-column: 9 / span 4; margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.38); }
.area-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.38); font-size: .86rem; font-weight: 700; }

.final-cta { background: var(--paper); padding-block: clamp(100px, 14vw, 210px); text-align: center; }
.final-cta__inner { display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { font-size: clamp(3.9rem, 8vw, 9rem); }
.final-cta > div > p:not(.eyebrow) { margin: 28px 0 40px; color: var(--muted); font-size: 1.12rem; }
.final-cta__actions { display: flex; align-items: stretch; gap: 26px; }
.final-cta__phone { display: flex; flex-direction: column; justify-content: center; text-align: left; }
.final-cta__phone small { color: var(--muted); font-size: .72rem; }
.final-cta__phone strong { font-size: 1.2rem; }

.site-footer { background: var(--ink); color: var(--white); padding: 76px 0 26px; }
.site-footer__top { display: grid; grid-template-columns: 4fr 4fr 4fr; gap: 24px; align-items: start; padding-bottom: 72px; }
.brand--footer .brand__type span { color: rgba(255,255,255,.62); }
.site-footer__top > p { margin: 0; color: rgba(255,255,255,.55); }
.site-footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; font-size: .82rem; font-weight: 700; }
.site-footer__links a:hover { color: var(--red); }
.site-footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.38); font-size: .7rem; }
.mobile-actions { display: none; }

@media (max-width: 1180px) {
  .menu-toggle { display: flex; align-items: center; gap: 12px; z-index: 2; cursor: pointer; }
  .menu-toggle__label { font-size: .78rem; font-weight: 800; }
  .menu-toggle__icon { width: 24px; display: grid; gap: 6px; }
  .menu-toggle__icon i { width: 100%; height: 2px; background: var(--ink); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .primary-nav { position: fixed; inset: 122px 0 auto; min-height: calc(100vh - 122px); padding: 52px 4vw; background: var(--paper); flex-direction: column; align-items: flex-start; transform: translateX(100%); transition: transform .3s ease; }
  .primary-nav.is-open { transform: translateX(0); }
  .primary-nav a { font-size: clamp(1.8rem, 5vw, 3.3rem); }
  .primary-nav .button { width: 100%; margin-top: 20px; font-size: 1rem; }
  .hero__copy { grid-column: 1 / span 8; }
  .hero-note { grid-column: 9 / span 4; }
  .intro__aside { grid-column: 1 / span 12; }
  .intro__main { grid-column: 1 / span 12; }
  .section-index { display: none; }
  .commercial__title { grid-column: 1 / span 8; }
  .commercial__copy { grid-column: 9 / span 4; }
}

@media (max-width: 760px) {
  :root { --shell: min(90vw, 680px); }
  body { padding-bottom: 58px; }
  .utility-bar p, .utility-bar a span { display: none; }
  .utility-bar__inner { justify-content: center; }
  .site-header__inner { min-height: 76px; }
  .brand__mark { width: 38px; }
  .brand__type strong { font-size: 1.18rem; }
  .primary-nav { inset: 114px 0 auto; min-height: calc(100vh - 114px); }
  .grid-12 { gap: 18px; }
  .hero { min-height: 720px; }
  .hero__media { background-position: 62% center; }
  .hero__shade { background: linear-gradient(90deg, rgba(7,8,7,.93) 0%, rgba(7,8,7,.78) 55%, rgba(7,8,7,.32) 100%); }
  .hero__content { align-content: center; padding-block: 64px 86px; }
  .hero__copy { grid-column: 1 / span 12; }
  .hero h1 { font-size: clamp(3.8rem, 16vw, 5.7rem); }
  .hero__lead { max-width: 88%; }
  .hero__actions { flex-direction: column; align-items: stretch; max-width: 420px; }
  .hero-note { display: none; }
  .proof-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .proof-strip__grid > div { min-height: 112px; padding: 22px; }
  .proof-strip__grid > div:nth-child(3) { border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
  .proof-strip__grid > div:nth-child(4) { border-top: 1px solid var(--line); }
  .section { padding-block: 92px; }
  .intro__aside, .intro__main, .credibility__heading > div, .credibility__heading > p, .process__heading > div:first-child, .process__heading > div:last-child, .commercial__title, .commercial__copy, .pest-guide__intro, .pest-list, .service-area__content > div:first-child, .area-list { grid-column: 1 / span 12; }
  .credibility__heading > p { margin-top: 20px; }
  .credibility__feature { grid-template-columns: 1fr; }
  .award-card { grid-template-columns: 150px 1fr; }
  .promise-grid { grid-template-columns: repeat(2, 1fr); }
  .service-pair { grid-template-columns: 1fr; }
  .offers { grid-template-columns: 1fr; }
  .service-card { min-height: 390px; }
  .process__steps { margin-top: 64px; }
  .process-step { grid-template-columns: 36px 1fr; }
  .process-step > div { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
  .sector-grid article { min-height: 230px; }
  .commercial__copy { margin-top: 34px; }
  .pest-list { margin-top: 64px; }
  .pest-list a { grid-template-columns: 35px 1fr; }
  .pest-list em { display: none; }
  .service-area { min-height: auto; }
  .service-area__map { inset: 0; }
  .service-area__content { gap: 60px; }
  .final-cta__actions { flex-direction: column; }
  .final-cta__phone { text-align: center; }
  .site-footer__top { grid-template-columns: 1fr; gap: 36px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }
  .mobile-actions { position: fixed; z-index: 70; inset: auto 0 0; height: 58px; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); box-shadow: 0 -8px 28px rgba(0,0,0,.18); }
  .mobile-actions a { display: grid; place-items: center; color: var(--white); font-size: .84rem; font-weight: 800; }
  .mobile-actions a:last-child { background: var(--red); }
}

@media (max-width: 480px) {
  .award-card { grid-template-columns: 1fr; }
  .award-card img { width: 130px; }
  .promise-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector-grid article { min-height: 210px; }
  .service-card h3 { font-size: 2.5rem; }
  .hero__grid { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

:focus-visible { outline: 3px solid #ffcf4a; outline-offset: 4px; }
