:root {
  --bg: #080a0d;
  --bg-soft: #0d1116;
  --panel: rgba(18, 23, 29, 0.82);
  --panel-solid: #12171d;
  --text: #f6f7f8;
  --muted: #aab4bd;
  --muted-2: #78848f;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --accent: #d7b46a;
  --accent-soft: rgba(215, 180, 106, 0.12);
  --danger-soft: rgba(255, 120, 90, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1160px;
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(215, 180, 106, 0.14), transparent 34rem),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.06), transparent 22rem),
    linear-gradient(135deg, #050608 0%, var(--bg) 48%, #111820 100%);
  color: var(--text);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.container {
  width: min(var(--container), calc(100% - 36px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 999;
  transform: translateY(-150%);
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  background: rgba(8, 10, 13, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(158px, 18vw, 232px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
  padding: 11px 14px;
  border-radius: 999px;
  transition: color 160ms ease, background 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.site-nav .nav-cta {
  color: var(--bg);
  background: var(--accent);
  margin-left: 8px;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  color: var(--bg);
  background: #e5c983;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 160ms ease, opacity 160ms ease;
}

.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(72px, 9vw, 132px) 0 clamp(56px, 7vw, 98px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -18% 42%;
  height: 340px;
  background: radial-gradient(circle, rgba(215, 180, 106, 0.14), transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 900;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 7vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.1rem, 4.4vw, 4.35rem);
  line-height: 0.98;
  letter-spacing: -0.058em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero-text,
.section-heading p,
.contact-section p,
.site-footer p,
.site-footer span,
.feature-item p,
.service-card p,
.process-step p,
.faq-grid p {
  color: var(--muted);
}

.hero-text {
  max-width: 690px;
  margin-bottom: 30px;
  font-size: clamp(1.08rem, 2.2vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button-primary {
  background: var(--accent);
  color: var(--bg);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #e5c983;
}

.button-secondary {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.service-area {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-area span,
.mini-list span {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
}

.hero-panel {
  position: relative;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(18, 23, 29, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.09) 28.2% 28.7%, transparent 29% 100%),
    radial-gradient(circle at 50% 24%, rgba(215, 180, 106, 0.19), transparent 17rem);
  opacity: 0.9;
}

.hero-mark {
  position: absolute;
  width: min(430px, 100%);
  left: 50%;
  top: 33%;
  transform: translate(-50%, -50%);
  opacity: 0.14;
}

.panel-card {
  position: absolute;
  z-index: 1;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(8, 10, 13, 0.72);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.featured-card {
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 24px;
}

.card-label {
  display: inline-flex;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.featured-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-card li {
  color: var(--text);
  font-weight: 800;
}

.featured-card li::before {
  content: "•";
  color: var(--accent);
  margin-right: 8px;
}

.stat-card {
  top: 24px;
  right: 24px;
  width: min(270px, calc(100% - 48px));
  padding: 18px;
}

.stat-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.stat-card span {
  color: var(--muted);
  font-size: 0.94rem;
}

.intro-strip {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.035);
}

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

.strip-grid > div {
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.strip-grid > div:first-child {
  padding-left: 0;
}

.strip-grid > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.strip-grid strong,
.strip-grid span {
  display: block;
}

.strip-grid strong {
  font-size: 1.02rem;
}

.strip-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section,
.split-section,
.contact-section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.section-heading p {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.cards {
  display: grid;
  gap: 18px;
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card,
.process-step,
.feature-item,
.quote-panel,
.contact-card,
.faq-grid details {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: var(--radius-md);
}

.service-card {
  padding: 28px;
  min-height: 265px;
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent);
  font-weight: 900;
}

.service-card p,
.process-step p,
.feature-item p {
  margin-bottom: 0;
}

.split-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.16);
  border-block: 1px solid var(--line);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature-item {
  padding: 24px;
}

.feature-item.caution {
  background: var(--danger-soft);
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: var(--accent);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  outline: none;
}

.dark-panel-section {
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.process-step {
  padding: 24px;
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 900;
}

.quote-panel {
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.12), transparent 44%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025));
  box-shadow: var(--shadow);
}

.quote-panel p {
  margin: 0;
  font-size: clamp(1.7rem, 3.4vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.mini-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.faq-section {
  border-top: 1px solid var(--line);
}

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

.faq-grid details {
  padding: 20px 22px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.015em;
}

.faq-grid summary::marker {
  color: var(--accent);
}

.faq-grid p {
  margin: 14px 0 0;
}

.contact-section {
  background:
    radial-gradient(circle at top right, rgba(215, 180, 106, 0.12), transparent 30rem),
    rgba(255, 255, 255, 0.035);
  border-block: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

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

.contact-section p {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 1.06rem;
}

.contact-card {
  padding: 10px;
  background: rgba(8, 10, 13, 0.6);
  box-shadow: var(--shadow);
}

.contact-row {
  display: block;
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
  transition: background 160ms ease;
}

.contact-row + .contact-row {
  border-top: 1px solid var(--line);
}

.contact-row:hover,
.contact-row:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.contact-row.no-link:hover {
  background: transparent;
}

.contact-row span,
.contact-row strong {
  display: block;
}

.contact-row span {
  color: var(--muted-2);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-row strong {
  margin-top: 3px;
  font-size: clamp(1.1rem, 2.4vw, 1.42rem);
  letter-spacing: -0.025em;
}

.site-footer {
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.46fr) minmax(220px, 0.72fr);
  gap: 30px;
  align-items: start;
}

.footer-logo {
  width: 180px;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 380px;
  margin: 0;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  display: block;
}

.site-footer strong {
  margin-bottom: 10px;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 6px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  outline: none;
}

.site-footer span + span {
  margin-top: 8px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 18px;
    right: 18px;
    display: grid;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 10, 13, 0.96);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 14px;
    border-radius: 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 430px;
  }

  .three-column,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-grid {
    grid-template-columns: 1fr;
  }

  .strip-grid > div,
  .strip-grid > div:first-child,
  .strip-grid > div:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-grid > div:last-child {
    border-bottom: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 70px;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .brand-logo {
    width: 152px;
  }

  .hero {
    padding-top: 54px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  h2 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

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

  .service-area span,
  .mini-list span {
    width: 100%;
    justify-content: center;
  }

  .hero-panel {
    min-height: auto;
    padding: 18px;
  }

  .hero-panel::before,
  .hero-mark {
    display: none;
  }

  .panel-card {
    position: static;
  }

  .stat-card {
    width: 100%;
    margin-bottom: 12px;
  }

  .featured-card {
    padding: 20px;
  }

  .featured-card ul,
  .three-column,
  .feature-list,
  .process-grid,
  .faq-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step,
  .feature-item,
  .quote-panel {
    padding: 22px;
  }

  .service-card {
    min-height: auto;
  }

  .service-number,
  .process-step span {
    margin-bottom: 28px;
  }

  .quote-panel {
    min-height: 280px;
  }
}

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

/* v2 refinements: tighter scale, cleaner spacing, better mobile rhythm */
:root {
  --header-height: 68px;
  --container: 1120px;
}

.site-header.is-scrolled,
.site-header.nav-active,
.site-header {
  background: rgba(8, 10, 13, 0.84);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: var(--header-height);
}

.brand-logo {
  width: clamp(150px, 15vw, 205px);
}

.site-nav a {
  font-size: 0.88rem;
  padding: 9px 12px;
}

.site-nav .nav-cta {
  padding-inline: 17px;
}

.hero {
  padding: clamp(52px, 6.5vw, 92px) 0 clamp(46px, 5.6vw, 76px);
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.66fr);
  gap: clamp(26px, 5vw, 58px);
}

.eyebrow {
  margin-bottom: 12px;
  letter-spacing: 0.17em;
}

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3.05rem, 5.9vw, 5.85rem);
  line-height: 0.94;
  letter-spacing: -0.068em;
}

h2 {
  font-size: clamp(2rem, 3.9vw, 3.65rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: clamp(1.02rem, 1.55vw, 1.22rem);
}

.button {
  min-height: 46px;
  padding: 11px 18px;
}

.hero-actions {
  margin-bottom: 24px;
}

.hero-panel {
  min-height: 405px;
}

.hero-mark {
  width: min(360px, 92%);
  top: 35%;
}

.featured-card {
  padding: 20px;
}

.stat-card {
  padding: 16px;
}

.stat-card strong {
  font-size: 1.1rem;
}

.intro-strip {
  background: rgba(255, 255, 255, 0.028);
}

.strip-grid > div {
  padding: 18px 22px;
}

.section,
.split-section,
.contact-section {
  padding: clamp(56px, 6.6vw, 86px) 0;
}

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

.section-heading p,
.contact-section p {
  font-size: 1rem;
}

.service-card {
  min-height: 230px;
  padding: 24px;
}

.service-number {
  margin-bottom: 28px;
}

.split-grid,
.split-grid.reverse {
  gap: clamp(26px, 5vw, 56px);
}

.process-step {
  padding: 22px;
}

.process-step span {
  margin-bottom: 26px;
}

.quote-panel.brand-card {
  min-height: 285px;
  display: block;
  padding: 30px;
}

.quote-panel.brand-card h3 {
  max-width: 500px;
  margin: 22px 0 14px;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.quote-panel.brand-card p {
  max-width: 480px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: 0;
  font-weight: 400;
}

.faq-grid details {
  padding: 18px 20px;
}

.faq-grid summary {
  border-radius: 10px;
  outline: none;
}

.faq-grid summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(215, 180, 106, 0.24);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.site-footer {
  padding: 34px 0;
}

@media (max-width: 960px) {
  .site-nav {
    top: calc(var(--header-height) + 8px);
  }

  .three-column,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 66px;
  }

  .container {
    width: min(var(--container), calc(100% - 32px));
  }

  .brand-logo {
    width: 142px;
  }

  .nav-toggle {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-top: 38px;
    padding-bottom: 42px;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 12.7vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  h2 {
    font-size: clamp(2rem, 9.7vw, 3rem);
    line-height: 1.02;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.65;
  }

  .button {
    min-height: 48px;
  }

  .service-area {
    gap: 8px;
  }

  .service-area span,
  .mini-list span {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .hero-panel {
    padding: 16px;
    border-radius: 24px;
  }

  .featured-card {
    padding: 18px;
  }

  .featured-card li {
    font-size: 0.98rem;
  }

  .stat-card {
    margin-bottom: 10px;
  }

  .strip-grid > div,
  .strip-grid > div:first-child,
  .strip-grid > div:last-child {
    padding: 15px 0;
  }

  .section,
  .split-section,
  .contact-section {
    padding: 52px 0;
  }

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

  .section-heading p,
  .contact-section p,
  .feature-item p,
  .service-card p,
  .process-step p,
  .faq-grid p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .service-card,
  .process-step,
  .feature-item,
  .quote-panel.brand-card,
  .faq-grid details {
    padding: 20px;
    border-radius: 18px;
  }

  .service-number,
  .process-step span {
    margin-bottom: 22px;
  }

  .quote-panel.brand-card {
    min-height: auto;
  }

  .quote-panel.brand-card h3 {
    margin-top: 18px;
    font-size: clamp(1.7rem, 8.7vw, 2.35rem);
  }

  .mini-list {
    gap: 8px;
  }

  .contact-actions,
  .contact-actions .button {
    width: 100%;
  }

  .contact-card {
    padding: 8px;
  }

  .footer-logo {
    width: 155px;
  }
}

/* v3 refinement: clean up hero service card wrapping and footer copyright */
@media (min-width: 961px) {
  .hero-panel {
    width: min(100%, 430px);
    justify-self: end;
  }

  .featured-card ul {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .featured-card li {
    line-height: 1.35;
  }
}

.site-footer .copyright,
.site-footer .copyright [data-year] {
  display: inline;
}

/* v6 mobile layout repair: force the hero back to one clean column on phones. */
@media (max-width: 700px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: min(100% - 32px, var(--container));
  }

  .hero-grid,
  .split-grid,
  .split-grid.reverse,
  .contact-grid,
  .footer-grid,
  .three-column,
  .process-grid,
  .faq-grid,
  .feature-list,
  .strip-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .hero {
    padding: 38px 0 42px;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 12vw, 4rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.6;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .service-area {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .service-area span,
  .mini-list span {
    width: 100%;
    justify-content: center;
  }

  .hero-panel {
    width: 100% !important;
    justify-self: stretch !important;
    min-width: 0;
    min-height: auto;
    padding: 16px;
    border-radius: 24px;
  }

  .hero-panel::before,
  .hero-mark {
    display: none;
  }

  .panel-card,
  .stat-card,
  .featured-card {
    position: static;
    width: 100%;
    inset: auto;
  }

  .stat-card {
    margin-bottom: 12px;
  }

  .featured-card ul {
    grid-template-columns: 1fr !important;
  }

  .strip-grid > div,
  .strip-grid > div:first-child,
  .strip-grid > div:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .strip-grid > div:last-child {
    border-bottom: 0;
  }
}


/* v12 fixed mobile header refinement */
@media (max-width: 760px) {
  :root {
    --mobile-header-height: 74px;
  }

  body {
    padding-top: var(--mobile-header-height);
  }

  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    min-height: var(--mobile-header-height);
    height: var(--mobile-header-height);
    padding: 0;
    background: rgba(6, 7, 9, 0.92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav {
    min-height: var(--mobile-header-height);
    height: var(--mobile-header-height);
    padding-top: 0;
    padding-bottom: 0;
    align-items: center;
  }

  .brand {
    display: flex;
    align-items: center;
  }

  .brand-logo {
    width: clamp(145px, 42vw, 190px);
    max-height: 48px;
    display: block;
  }

  .menu-toggle {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
  }

  .nav-menu,
  .mobile-nav {
    z-index: 10000;
  }

  html {
    scroll-padding-top: calc(var(--mobile-header-height) + 18px);
  }
}

@media (max-width: 420px) {
  :root {
    --mobile-header-height: 70px;
  }

  .brand-logo {
    width: clamp(136px, 44vw, 176px);
    max-height: 44px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}


/* v13 mobile polish: edge spacing, heading scale, and footer/contact refinement */
@media (max-width: 760px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container,
  .nav,
  .hero-grid,
  .section-header,
  .footer-inner,
  .contact-grid,
  .service-grid,
  .process-grid,
  .why-grid,
  .faq-list {
    width: min(100%, calc(100vw - 34px));
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    padding-top: 54px;
    padding-bottom: 52px;
  }

  .hero-grid {
    gap: 28px;
  }

  .eyebrow {
    letter-spacing: 0.16em;
  }

  .hero-title {
    max-width: 11.5ch;
    font-size: clamp(2.32rem, 12vw, 3.35rem);
    line-height: 0.96;
    letter-spacing: -0.075em;
  }

  .hero-copy {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
  }

  .button {
    min-height: 48px;
    padding: 0.88rem 1.05rem;
  }

  .section {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-title,
  .contact-title {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }

  .section-copy,
  .contact-copy {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .card,
  .service-card,
  .process-card,
  .why-card,
  .faq-item,
  .contact-card,
  .hero-card {
    border-radius: 22px;
  }

  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-actions .button {
    width: 100%;
    justify-content: center;
  }

  .footer {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .footer-inner {
    gap: 20px;
  }

  .footer-logo {
    max-width: 170px;
  }

  .footer-meta {
    text-align: center;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .container,
  .nav,
  .hero-grid,
  .section-header,
  .footer-inner,
  .contact-grid,
  .service-grid,
  .process-grid,
  .why-grid,
  .faq-list {
    width: min(100%, calc(100vw - 28px));
  }

  .hero {
    padding-top: 46px;
    padding-bottom: 48px;
  }

  .hero-title {
    max-width: 11ch;
    font-size: clamp(2.16rem, 11.8vw, 3rem);
    letter-spacing: -0.07em;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .section-title,
  .contact-title {
    font-size: clamp(1.88rem, 8.8vw, 2.35rem);
  }

  .hero-card,
  .service-card,
  .process-card,
  .why-card,
  .faq-item,
  .contact-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .button {
    font-size: 0.92rem;
  }
}


/* v14 premium image-backed hero */
.hero-image {
  min-height: min(820px, calc(100vh - var(--header-height)));
  display: flex;
  align-items: center;
  padding: clamp(96px, 10vw, 150px) 0 clamp(78px, 8vw, 118px);
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, 0.97) 0%, rgba(5, 6, 8, 0.88) 32%, rgba(5, 6, 8, 0.46) 57%, rgba(5, 6, 8, 0.10) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.42) 0%, rgba(5, 6, 8, 0.04) 42%, rgba(5, 6, 8, 0.72) 100%),
    url("assets/jrip-studios-hero-v29.webp");
  background-size: cover;
  background-position: center center;
  border-bottom: 1px solid var(--line);
}

.hero-image::after {
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.72));
  pointer-events: none;
}

.hero-image .hero-grid {
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 0.44fr);
  align-items: center;
}

.hero-image .hero-copy {
  max-width: 650px;
}

.hero-image h1 {
  max-width: 10.5ch;
  font-size: clamp(4rem, 7.1vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.072em;
  text-wrap: balance;
}

.hero-image .hero-text {
  max-width: 560px;
  font-size: clamp(1.02rem, 1.4vw, 1.22rem);
}

.hero-signature {
  margin: 26px 0 0;
  color: rgba(245, 248, 252, 0.72);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-signature::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 12px;
  vertical-align: middle;
  background: var(--accent);
}

.hero-image .service-area span {
  border-color: rgba(217, 184, 102, 0.36);
  background: rgba(8, 10, 13, 0.50);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.hero-image .button-secondary {
  background: rgba(8, 10, 13, 0.48);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

@media (max-width: 980px) {
  .hero-image {
    min-height: auto;
    background-position: 64% center;
  }

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

  .hero-image .hero-copy {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  .hero-image {
    min-height: calc(100svh - var(--mobile-header-height));
    padding-top: 62px;
    padding-bottom: 58px;
    background-image:
      linear-gradient(90deg, rgba(5, 6, 8, 0.95) 0%, rgba(5, 6, 8, 0.86) 44%, rgba(5, 6, 8, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.28) 0%, rgba(5, 6, 8, 0.30) 48%, rgba(5, 6, 8, 0.86) 100%),
      url("assets/jrip-studios-hero-v29.webp");
    background-position: center center;
  }

  .hero-image h1 {
    max-width: 10.5ch;
    font-size: clamp(3rem, 14.5vw, 4.2rem);
    line-height: 0.95;
    letter-spacing: -0.072em;
  }

  .hero-image .hero-text {
    max-width: 31rem;
    font-size: 1rem;
  }

  .hero-image .service-area {
    gap: 10px;
  }

  .hero-image .service-area span {
    justify-content: center;
  }

  .hero-signature {
    display: none;
  }
}

@media (max-width: 420px) {
  .hero-image {
    padding-top: 54px;
    padding-bottom: 52px;
    background-position: 58% center;
  }

  .hero-image h1 {
    font-size: clamp(2.72rem, 13.6vw, 3.55rem);
    max-width: 10ch;
  }

  .hero-image .hero-actions .button {
    width: 100%;
  }

  .hero-image .service-area span {
    width: 100%;
  }
}


/* v15 hero refinement: wider desktop composition, cleaner copy, darker mobile readability */
.hero-image {
  background-image:
    linear-gradient(90deg, rgba(5, 6, 8, 0.985) 0%, rgba(5, 6, 8, 0.93) 38%, rgba(5, 6, 8, 0.58) 61%, rgba(5, 6, 8, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.34) 0%, rgba(5, 6, 8, 0.14) 38%, rgba(5, 6, 8, 0.82) 100%),
    url("assets/jrip-studios-hero-v29.webp");
}

.hero-image .hero-grid {
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
}

.hero-image .hero-copy {
  max-width: 760px;
}

.hero-image h1 {
  max-width: 12ch;
  font-size: clamp(4.15rem, 7.2vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.078em;
}

.hero-image .hero-text {
  max-width: 35rem;
  font-size: clamp(1.05rem, 1.45vw, 1.24rem);
  color: rgba(245, 248, 252, 0.82);
}

.hero-image .hero-actions {
  margin-top: 28px;
}

.hero-image .service-area {
  margin-top: 18px;
}

.hero-image .service-area span {
  color: rgba(245, 248, 252, 0.76);
  border-color: rgba(217, 184, 102, 0.38);
  background: rgba(8, 10, 13, 0.54);
}

.hero-signature {
  margin-top: 22px;
  color: rgba(245, 248, 252, 0.74);
}

@media (max-width: 1180px) {
  .hero-image .hero-grid {
    grid-template-columns: minmax(0, 0.66fr) minmax(0, 0.34fr);
  }

  .hero-image h1 {
    max-width: 10.8ch;
  }
}

@media (max-width: 980px) {
  .hero-image {
    background-position: 68% center;
  }

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

  .hero-image .hero-copy {
    max-width: 720px;
  }

  .hero-image h1 {
    max-width: 11ch;
  }
}

@media (max-width: 760px) {
  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(5, 6, 8, 0.975) 0%, rgba(5, 6, 8, 0.94) 42%, rgba(5, 6, 8, 0.74) 74%, rgba(5, 6, 8, 0.42) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.56) 0%, rgba(5, 6, 8, 0.34) 42%, rgba(5, 6, 8, 0.92) 100%),
      url("assets/jrip-studios-hero-v29.webp");
    background-position: 62% center;
  }

  .hero-image .hero-copy {
    max-width: 34rem;
  }

  .hero-image h1 {
    max-width: 10.6ch;
    font-size: clamp(2.8rem, 13.2vw, 4rem);
    line-height: 0.94;
  }

  .hero-image .hero-text {
    max-width: 31rem;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-image .service-area span {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .hero-image {
    background-position: 60% center;
  }

  .hero-image h1 {
    max-width: 10.2ch;
    font-size: clamp(2.56rem, 12.8vw, 3.35rem);
  }

  .hero-image .hero-text {
    font-size: 0.98rem;
  }
}


/* v16 mobile hero balance pass: reveal more of the vehicle while keeping the message clear */
@media (max-width: 760px) {
  .hero-image {
    min-height: auto;
    padding-top: 48px;
    padding-bottom: 42px;
    background-image:
      linear-gradient(90deg, rgba(5, 6, 8, 0.96) 0%, rgba(5, 6, 8, 0.90) 28%, rgba(5, 6, 8, 0.72) 48%, rgba(5, 6, 8, 0.36) 72%, rgba(5, 6, 8, 0.16) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.24) 0%, rgba(5, 6, 8, 0.22) 42%, rgba(5, 6, 8, 0.84) 100%),
      url("assets/jrip-studios-hero-v29.webp");
    background-position: 69% center;
  }

  .hero-image .hero-grid {
    align-items: end;
  }

  .hero-image .hero-copy {
    max-width: 24rem;
  }

  .hero-image h1 {
    max-width: 9.2ch;
    margin-bottom: 16px;
    font-size: clamp(2.6rem, 11.2vw, 3.45rem);
    line-height: 0.92;
    letter-spacing: -0.068em;
    text-wrap: pretty;
  }

  .hero-image .hero-text {
    max-width: 22rem;
    margin-bottom: 20px;
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-bottom: 16px;
  }

  .hero-image .button-secondary {
    background: rgba(8, 10, 13, 0.56);
  }

  .hero-image .service-area {
    gap: 10px;
  }

  .hero-image .service-area span {
    background: rgba(8, 10, 13, 0.34);
    border-color: rgba(215, 180, 106, 0.28);
  }
}

@media (max-width: 420px) {
  .hero-image {
    padding-top: 44px;
    padding-bottom: 38px;
    background-position: 72% center;
  }

  .hero-image h1 {
    max-width: 9.1ch;
    font-size: clamp(2.46rem, 10.8vw, 3.1rem);
  }

  .hero-image .hero-text {
    max-width: 21rem;
    font-size: 0.95rem;
  }
}


/* v17 mobile headline control: prevent paint/Durable collision */
.hero-title span {
  display: block;
}

.hero-title span + span {
  margin-top: 0.035em;
}

@media (max-width: 760px) {
  .hero-image .hero-title {
    max-width: none;
    font-size: clamp(2.38rem, 9.9vw, 3.18rem);
    line-height: 0.98;
    letter-spacing: -0.058em;
  }

  .hero-image .hero-title span {
    white-space: nowrap;
  }

  .hero-image .hero-title span + span {
    margin-top: 0.06em;
  }

  .hero-image .hero-copy {
    max-width: 25rem;
  }

  .hero-image .hero-text {
    margin-top: 18px;
  }
}

@media (max-width: 420px) {
  .hero-image .hero-title {
    font-size: clamp(2.22rem, 9.4vw, 2.86rem);
    letter-spacing: -0.052em;
  }

  .hero-image .hero-title span + span {
    margin-top: 0.075em;
  }
}


/* v18 mobile hero: image-first layout so the vehicle can sell the premium feel */
@media (max-width: 760px) {
  .hero-image {
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    background-image:
      linear-gradient(180deg, rgba(5, 6, 8, 0.10) 0%, rgba(5, 6, 8, 0.04) 38%, rgba(5, 6, 8, 0.34) 62%, rgba(5, 6, 8, 0.96) 100%),
      url("assets/jrip-studios-hero-v29.webp");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .hero-image::after {
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.92));
  }

  .hero-image .hero-grid {
    width: min(100%, calc(100vw - 34px));
    display: block;
  }

  .hero-image .hero-copy {
    max-width: none;
    padding-top: 10px;
  }

  .hero-image .eyebrow {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero-image .hero-title {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  .hero-image .hero-title span {
    white-space: normal;
  }

  .hero-image .hero-title span + span {
    margin-top: 0;
  }

  .hero-image .hero-text {
    max-width: 35rem;
    margin-bottom: 18px;
    font-size: 0.97rem;
    line-height: 1.55;
    color: rgba(245, 248, 252, 0.78);
  }

  .hero-image .hero-actions {
    margin-bottom: 16px;
    gap: 10px;
  }

  .hero-image .button {
    min-height: 48px;
  }

  .hero-image .service-area {
    gap: 9px;
  }

  .hero-image .service-area span {
    width: 100%;
    justify-content: center;
    background: rgba(8, 10, 13, 0.48);
    border-color: rgba(215, 180, 106, 0.30);
  }
}

@media (max-width: 420px) {
  .hero-image {
    padding-top: 41svh;
    padding-bottom: 34px;
    background-size: 112% auto;
    background-position: 58% top;
  }

  .hero-image .hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .hero-image .hero-title {
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .hero-image .hero-text {
    font-size: 0.95rem;
  }
}


/* v21 mobile hero safe fix: restore v18 framing and only improve text contrast */
@media (max-width: 760px) {
  .hero-image {
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    background-image:
      linear-gradient(180deg, rgba(5, 6, 8, 0.10) 0%, rgba(5, 6, 8, 0.04) 38%, rgba(5, 6, 8, 0.34) 62%, rgba(5, 6, 8, 0.96) 100%),
      url("assets/jrip-studios-hero-v29.webp");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .hero-image::after {
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.92));
  }

  .hero-image .hero-copy {
    max-width: none;
    padding-top: 10px;
  }

  .hero-image .eyebrow {
    display: inline-flex;
    width: auto;
    max-width: 100%;
    padding: 0.24rem 0.46rem;
    border-radius: 999px;
    color: #e2bf74;
    background: rgba(5, 6, 8, 0.50);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.95);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.26);
  }

  .hero-image .hero-title {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.88),
      0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .hero-image .hero-title span {
    white-space: normal;
  }

  .hero-image .hero-title span + span {
    margin-top: 0;
  }

  .hero-image .hero-text {
    max-width: 35rem;
    margin-bottom: 18px;
    font-size: 0.97rem;
    line-height: 1.55;
    color: rgba(245, 248, 252, 0.88);
    text-shadow:
      0 1px 12px rgba(0, 0, 0, 0.76),
      0 1px 3px rgba(0, 0, 0, 0.88);
  }

  .hero-image .button-secondary {
    background: rgba(8, 10, 13, 0.60);
    border-color: rgba(255, 255, 255, 0.20);
  }

  .hero-image .service-area span {
    width: 100%;
    justify-content: center;
    background: rgba(8, 10, 13, 0.54);
    border-color: rgba(215, 180, 106, 0.32);
  }
}

@media (max-width: 420px) {
  .hero-image {
    padding-top: 41svh;
    padding-bottom: 34px;
    background-size: 112% auto;
    background-position: 58% top;
  }

  .hero-image .hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .hero-image .hero-title {
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .hero-image .hero-text {
    font-size: 0.95rem;
  }
}


/* v32 mobile hero: image layer with real bottom mask fade, preserving user-tuned crop */
@media (max-width: 760px) {
  .hero-image {
    position: relative;
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    background: #050608;
    overflow: hidden;
    isolation: isolate;
  }

  .hero-image::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 60svh;
    z-index: -1;
    pointer-events: none;

    background-image:
      linear-gradient(90deg,
        rgba(5, 6, 8, 0.40) 0%,
        rgba(5, 6, 8, 0.20) 34%,
        rgba(5, 6, 8, 0.02) 70%,
        rgba(5, 6, 8, 0.00) 100%
      ),
      url("assets/jrip-studios-hero-v29.webp");

    background-size:
      100% 100%,
      180% auto;

    background-position:
      center center,
      80% top;

    background-repeat: no-repeat;

    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 58%,
      rgba(0, 0, 0, 0.80) 70%,
      rgba(0, 0, 0, 0.42) 84%,
      transparent 100%
    );

    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 58%,
      rgba(0, 0, 0, 0.80) 70%,
      rgba(0, 0, 0, 0.42) 84%,
      transparent 100%
    );
  }

  .hero-image::after {
    display: none;
  }

  .hero-image .hero-grid {
    position: relative;
    z-index: 1;
    width: min(100%, calc(100vw - 34px));
    display: block;
  }

  .hero-image .hero-copy {
    max-width: none;
    padding-top: 0;
  }

  .hero-image .eyebrow {
    display: block;
    width: auto;
    max-width: none;
    margin-bottom: 10px;
    padding: 0;
    color: var(--accent);
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.9);
  }

  .hero-image .hero-title {
    max-width: none;
    margin-bottom: 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.88),
      0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .hero-image .hero-title span {
    display: block;
    white-space: normal;
  }

  .hero-image .hero-title span + span {
    margin-top: 0;
  }

  .hero-image .hero-text {
    max-width: 35rem;
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.62;
    color: rgba(245, 248, 252, 0.84);
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.92),
      0 1px 4px rgba(0, 0, 0, 0.84);
  }

  .hero-image .hero-actions {
    margin-top: 20px;
    gap: 12px;
  }

  .hero-image .hero-actions .button {
    width: 100%;
  }

  .hero-image .service-area {
    gap: 10px;
    margin-top: 18px;
  }

  .hero-image .service-area span {
    width: 100%;
    justify-content: center;
    background: rgba(8, 10, 13, 0.56);
    border-color: rgba(215, 180, 106, 0.34);
  }
}

@media (max-width: 420px) {
  .hero-image {
    padding-top: 42svh;
    padding-bottom: 38px;
  }

  .hero-image::before {
    height: 60svh;
    background-size:
      100% 100%,
      180% auto;
    background-position:
      center center,
      80% top;
  }

  .hero-image .hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .hero-image .hero-title {
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .hero-image .hero-text {
    font-size: 0.95rem;
  }
}


/* v33 hero wording/button refinement */
.hero-image .hero-title {
  max-width: 11.8ch;
}

@media (max-width: 760px) {
  .hero-image .hero-title {
    max-width: none;
  }

  .hero-image .hero-actions {
    gap: 14px;
  }

  .hero-image .hero-actions .button {
    min-height: 70px;
    border-radius: 24px;
    justify-content: center;
    gap: 14px;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: -0.015em;
  }

  .hero-image .hero-actions .button-primary {
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  }

  .hero-image .hero-actions .button-secondary {
    border-color: rgba(217, 184, 102, 0.82);
    background: rgba(5, 6, 8, 0.50);
  }

  .hero-image .button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    line-height: 1;
    font-size: 1.05em;
  }
}

@media (max-width: 420px) {
  .hero-image .hero-actions .button {
    min-height: 64px;
    border-radius: 22px;
  }
}


/* v34 CTA refinement: rounded rectangles on all screen sizes + clean SVG icons */
.hero-image .hero-actions {
  gap: 14px;
}

.hero-image .hero-actions .button {
  min-height: 64px;
  border-radius: 24px;
  justify-content: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.hero-image .hero-actions .button-primary {
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.hero-image .hero-actions .button-secondary {
  border-color: rgba(217, 184, 102, 0.82);
  background: rgba(5, 6, 8, 0.50);
}

.hero-image .button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.18em;
  height: 1.18em;
  flex: 0 0 auto;
  line-height: 1;
}

.hero-image .button-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
}

.hero-image .button-primary .button-icon {
  color: #050608;
}

.hero-image .button-secondary .button-icon {
  color: rgba(245, 248, 252, 0.94);
}

@media (min-width: 761px) {
  .hero-image .hero-actions .button {
    min-width: 220px;
    padding-inline: 30px;
  }
}

@media (max-width: 760px) {
  .hero-image .hero-actions .button {
    min-height: 70px;
    border-radius: 24px;
    font-size: 1.08rem;
  }
}

@media (max-width: 420px) {
  .hero-image .hero-actions .button {
    min-height: 64px;
    border-radius: 22px;
  }
}


/* v35 desktop hero image clarity: reduce heavy overlay fade on desktop only */
@media (min-width: 761px) {
  .hero-image {
    background-image:
      linear-gradient(
        90deg,
        rgba(5, 6, 8, 0.82) 0%,
        rgba(5, 6, 8, 0.64) 34%,
        rgba(5, 6, 8, 0.28) 62%,
        rgba(5, 6, 8, 0.06) 100%
      ),
      linear-gradient(
        180deg,
        rgba(5, 6, 8, 0.18) 0%,
        rgba(5, 6, 8, 0.04) 44%,
        rgba(5, 6, 8, 0.48) 100%
      ),
      url("assets/jrip-studios-hero-v29.webp");
  }

  .hero-image::after {
    height: 28%;
    background: linear-gradient(180deg, transparent, rgba(5, 6, 8, 0.34));
  }
}


/* v36 System X / CARFAX reporting homepage section */
.systemx-section {
  position: relative;
  overflow: hidden;
}

.systemx-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(217, 184, 102, 0.28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 76% 20%, rgba(217, 184, 102, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(14, 16, 20, 0.98), rgba(5, 6, 8, 0.96));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.38);
}

.systemx-panel::before {
  content: "SYSTEM X";
  position: absolute;
  right: clamp(18px, 4vw, 46px);
  top: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.035);
  font-size: clamp(3.6rem, 11vw, 8rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.systemx-panel .section-heading {
  position: relative;
  z-index: 1;
}

.systemx-details {
  position: relative;
  z-index: 1;
}

.systemx-brand-card {
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.045);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.systemx-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.systemx-brand-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.systemx-brand-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.systemx-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.systemx-proof-grid div {
  min-height: 132px;
  padding: 18px;
  border: 1px solid rgba(217, 184, 102, 0.22);
  border-radius: 22px;
  background: rgba(5, 6, 8, 0.52);
}

.systemx-proof-grid strong,
.systemx-proof-grid span {
  display: block;
}

.systemx-proof-grid strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.22;
}

.systemx-proof-grid span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.systemx-note {
  margin: 16px 0 0;
  color: rgba(245, 248, 252, 0.58);
  font-size: 0.86rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .systemx-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .systemx-panel {
    padding: 26px 18px;
    border-radius: 28px;
  }

  .systemx-panel::before {
    right: 18px;
    top: 18px;
    font-size: 4rem;
  }

  .systemx-proof-grid {
    grid-template-columns: 1fr;
  }

  .systemx-proof-grid div {
    min-height: auto;
  }
}


/* v37 intro strip consistency: keep stacked layout on phones, large phones, and phone landscape */
@media (max-width: 900px) {
  .strip-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .strip-grid > div,
  .strip-grid > div:first-child,
  .strip-grid > div:last-child {
    padding: 18px 0;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .strip-grid > div:last-child {
    border-bottom: 0;
  }
}


/* v38 intro strip safe padding: prevent mobile/landscape clipping at the left edge */
@media (max-width: 900px) {
  .intro-strip .container {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }

  .strip-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .strip-grid > div,
  .strip-grid > div:first-child,
  .strip-grid > div:last-child {
    padding: 18px clamp(26px, 5vw, 46px) !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }

  .strip-grid > div:last-child {
    border-bottom: 0;
  }
}


/* v39 hero cleanup: remove redundant hero service chips */
.hero-image .service-area {
  display: none !important;
}


/* v43 content page + Ceramic Coating page */
.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card-link:hover,
.service-card-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(217, 184, 102, 0.58);
  background: rgba(255, 255, 255, 0.065);
  outline: none;
}

.card-link-text {
  display: inline-flex;
  margin-top: 22px;
  color: var(--accent);
  font-weight: 900;
  font-size: 0.92rem;
}

.page-hero {
  padding: clamp(110px, 12vw, 170px) 0 clamp(72px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.95), rgba(5, 6, 8, 0.60)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.20), rgba(5, 6, 8, 0.94)),
    url("/assets/jrip-studios-hero-v29.webp");
  background-size: cover;
  background-position: center center;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: end;
}

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

.page-hero h1 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: clamp(3.3rem, 8vw, 7.5rem);
  line-height: 0.9;
  letter-spacing: -0.078em;
}

.page-hero p {
  max-width: 640px;
  color: rgba(245, 248, 252, 0.82);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.page-hero-panel {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(217, 184, 102, 0.34);
  border-radius: 28px;
  background: rgba(5, 6, 8, 0.62);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
}

.page-hero-panel span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero-panel strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.page-hero-panel p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
}

.page-section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.page-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: start;
}

.page-two-column h2,
.page-section .section-heading h2 {
  margin-top: 0;
}

.content-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.subtle-note {
  padding: 18px 20px;
  border: 1px solid rgba(217, 184, 102, 0.26);
  border-radius: 18px;
  background: rgba(217, 184, 102, 0.07);
}

.muted-section {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.page-card-grid.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-card-grid .service-card {
  min-height: 235px;
}

.page-feature-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.page-process-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.page-process-grid .process-step {
  min-height: 250px;
}

.page-systemx {
  padding-top: clamp(72px, 9vw, 118px);
}

.page-faq {
  border-top: 1px solid var(--line);
}

.page-cta {
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .page-hero-grid,
  .page-two-column {
    grid-template-columns: 1fr;
  }

  .page-card-grid.three-column,
  .page-feature-list,
  .page-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding: calc(var(--mobile-header-height) + 56px) 0 64px;
    background-position: 64% center;
  }

  .page-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.4rem);
    line-height: 0.95;
  }

  .page-hero .hero-actions .button {
    width: 100%;
  }

  .page-card-grid.three-column,
  .page-feature-list,
  .page-process-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-panel,
  .subtle-note {
    border-radius: 22px;
  }
}


/* v44 mobile section safe padding: prevent homepage content clipping at viewport edge */
@media (max-width: 900px) {
  .why-section .container,
  .services-section .container,
  .split-section .container,
  .systemx-section .container,
  .process-section .container,
  .faq-section .container,
  .contact-section .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(24px, 5vw, 46px);
    padding-right: clamp(24px, 5vw, 46px);
  }

  .why-section .section-heading,
  .services-section .section-heading,
  .split-section .section-heading,
  .systemx-section .section-heading,
  .process-section .section-heading,
  .faq-section .section-heading,
  .contact-section .section-heading {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .why-section .container,
  .services-section .container,
  .split-section .container,
  .systemx-section .container,
  .process-section .container,
  .faq-section .container,
  .contact-section .container {
    padding-left: 22px;
    padding-right: 22px;
  }
}


/* v45 corrected Why section padding target */
@media (max-width: 900px) {
  .why-section {
    overflow: hidden;
  }

  .why-section .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(24px, 5vw, 46px);
    padding-right: clamp(24px, 5vw, 46px);
  }

  .why-section .split-grid,
  .why-section .split-grid.reverse {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .why-section .section-heading,
  .why-section .quote-panel,
  .why-section .mini-list {
    max-width: 100%;
  }

  .why-section .section-heading h2,
  .why-section .section-heading p {
    overflow-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .why-section .container {
    padding-left: 22px;
    padding-right: 22px;
  }
}


/* v46 mobile quote panel: remove excessive empty space inside the rounded rectangle */
@media (max-width: 760px) {
  .why-section .quote-panel {
    min-height: auto !important;
    height: auto !important;
    display: block;
    padding: clamp(28px, 8vw, 44px);
  }

  .why-section .quote-panel blockquote,
  .why-section .quote-panel p {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media (max-width: 480px) {
  .why-section .quote-panel {
    padding: 30px 26px;
    border-radius: 26px;
  }
}


/* v47 trust strip copy refinement */
@media (max-width: 900px) {
  .strip-grid h3 {
    line-height: 1.18;
  }

  .strip-grid p {
    max-width: 46rem;
    line-height: 1.58;
  }
}


/* v48 intro strip icons */

.strip-item-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.strip-item-head strong {
  margin: 0;
}

.intro-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  opacity: 0.95;
}

.intro-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 760px) {
  .strip-grid > div {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .strip-item-head {
    gap: 10px;
    margin-bottom: 10px;
  }

  .intro-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
}


/* v49 intro strip icons: left column, vertically centered against full text block */
.strip-grid .strip-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

.strip-copy {
  min-width: 0;
}

.strip-copy strong,
.strip-copy span {
  display: block;
}

.strip-grid .intro-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  align-self: center;
  color: #d9b866 !important;
  opacity: 1;
}

.strip-grid .intro-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  stroke: #d9b866 !important;
  fill: none !important;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.strip-grid .intro-icon svg path {
  stroke: #d9b866 !important;
  fill: none !important;
}

.strip-item-head {
  display: contents;
}

@media (max-width: 900px) {
  .strip-grid .strip-item {
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 16px;
    align-items: center;
  }

  .strip-grid .intro-icon {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .strip-grid .strip-item {
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 14px;
  }

  .strip-grid .intro-icon {
    width: 28px;
    height: 28px;
  }
}


/* v50 hero headline readability: prevent fi ligature from merging in “finish” */
.hero-title,
.hero-title span {
  font-variant-ligatures: none;
  -webkit-font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
}

@media (max-width: 760px) {
  .hero-image .hero-title {
    letter-spacing: -0.045em;
  }
}


/* v51 hero headline spacing: slightly more breathing room for “Protected finish.” */
@media (max-width: 760px) {
  .hero-image .hero-title {
    letter-spacing: -0.035em;
  }
}


/* v52 package-based services section */
.packages-section .section-heading {
  max-width: 820px;
}

.package-grid {
  align-items: stretch;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
}

.package-card-featured {
  border-color: rgba(217, 184, 102, 0.42);
  background:
    radial-gradient(circle at 72% 18%, rgba(217, 184, 102, 0.10), transparent 34%),
    rgba(255, 255, 255, 0.045);
}

.package-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 28px;
}

.starting-at {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.package-price {
  display: block;
  margin-bottom: 28px;
  color: var(--text);
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
}

.package-card h3 {
  margin-top: 0;
}

.package-card .card-link-text {
  margin-top: auto;
  padding-top: 24px;
}

.package-disclaimer {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(245, 248, 252, 0.62);
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .package-card {
    min-height: auto;
  }

  .package-topline {
    margin-bottom: 24px;
  }

  .package-price {
    margin-bottom: 24px;
    font-size: clamp(3.6rem, 15vw, 5rem);
  }

  .package-disclaimer {
    text-align: left;
    margin-top: 22px;
  }
}


/* v53 package section refinement */
.packages-section .section-heading h2 {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.package-card {
  min-height: 350px;
  padding: clamp(26px, 4vw, 36px);
}

.package-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.package-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}

.package-price-block .starting-at {
  line-height: 1;
}

.package-price {
  margin: 0;
  font-size: clamp(2.7rem, 4.4vw, 4rem);
}

.recommended-badge {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(217, 184, 102, 0.42);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(217, 184, 102, 0.08);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.package-card-featured .package-card-header {
  margin-top: 0;
}

@media (max-width: 760px) {
  .package-card {
    padding: 30px 28px;
  }

  .package-card-header {
    margin-bottom: 24px;
  }

  .package-price {
    font-size: clamp(3.05rem, 14vw, 4.25rem);
    letter-spacing: -0.07em;
  }

  .recommended-badge {
    margin-bottom: 16px;
  }
}

@media (max-width: 420px) {
  .package-card-header {
    gap: 12px;
  }

  .package-price {
    font-size: clamp(2.85rem, 13vw, 3.9rem);
  }

  .starting-at {
    font-size: 0.68rem;
  }
}


/* v54 package layout refinement */
.packages-heading {
  max-width: 880px;
}

.packages-title {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(4.2rem, 9vw, 8.25rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
  text-transform: none;
}

.packages-subtitle {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: -0.045em;
}

.package-card {
  min-height: 365px;
  padding: clamp(28px, 4vw, 38px);
}

.package-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 28px;
  padding: 9px 13px;
  border: 1px solid rgba(217, 184, 102, 0.28);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(217, 184, 102, 0.055);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.package-label-featured {
  border-color: rgba(217, 184, 102, 0.5);
  background: rgba(217, 184, 102, 0.11);
}

.package-price-block {
  align-items: flex-start;
  text-align: left;
  gap: 8px;
  margin-bottom: 28px;
}

.package-price {
  font-size: clamp(3.1rem, 4.9vw, 4.55rem);
  letter-spacing: -0.08em;
}

.package-card h3 {
  margin-bottom: 14px;
}

.package-card .card-link-text,
.package-card.service-card-link .card-link-text {
  display: inline-flex;
  width: fit-content;
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.package-card.service-card-link:hover .card-link-text,
.package-card.service-card-link:focus-visible .card-link-text {
  text-decoration: underline;
}

.recommended-badge,
.package-card .service-number {
  display: none !important;
}

@media (max-width: 760px) {
  .packages-title {
    font-size: clamp(4.3rem, 18vw, 6.25rem);
    letter-spacing: -0.085em;
  }

  .packages-subtitle {
    font-size: clamp(1.35rem, 6vw, 1.95rem);
  }

  .package-card {
    min-height: auto;
    padding: 30px 28px;
  }

  .package-label {
    margin-bottom: 26px;
  }

  .package-price-block {
    margin-bottom: 26px;
  }

  .package-price {
    font-size: clamp(3.45rem, 15vw, 4.65rem);
  }
}

@media (max-width: 420px) {
  .packages-title {
    font-size: clamp(4rem, 17vw, 5.35rem);
  }

  .package-price {
    font-size: clamp(3.25rem, 14vw, 4.15rem);
  }
}


/* v55 packages heading cleanup: remove redundant intro copy and reduce title size */
.packages-heading {
  margin-bottom: clamp(30px, 5vw, 54px);
}

.packages-title {
  font-size: clamp(3.1rem, 6.5vw, 5.75rem);
  line-height: 0.88;
  letter-spacing: -0.075em;
  margin-bottom: 0;
}

.packages-subtitle,
.packages-heading > p:not(.eyebrow) {
  display: none !important;
}

@media (max-width: 760px) {
  .packages-heading {
    margin-bottom: 30px;
  }

  .packages-title {
    font-size: clamp(3.2rem, 14vw, 4.6rem);
    letter-spacing: -0.08em;
  }
}

@media (max-width: 420px) {
  .packages-title {
    font-size: clamp(3rem, 13vw, 4.15rem);
  }
}


/* v56 package card reveal: subtle fade-up with stagger */
.packages-section .reveal-card {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 620ms ease,
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.packages-section .reveal-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .packages-section .reveal-card {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}


/* v57 ceramic coating expectation-setting section */
.coating-reality-list .expectation-note {
  border-color: rgba(217, 120, 88, 0.38);
  background:
    linear-gradient(135deg, rgba(217, 120, 88, 0.12), rgba(255, 255, 255, 0.035));
}

.coating-reality-list .expectation-note h3 {
  color: var(--text);
}

.coating-reality-list .expectation-note p {
  color: rgba(245, 248, 252, 0.74);
}


/* v58: neutralize the coating expectation card and rename packages heading to services */
.coating-reality-list .expectation-note,
.coating-reality-list .feature-item {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.coating-reality-list .feature-item h3,
.coating-reality-list .feature-item p {
  color: inherit;
}


/* v59 services + package price sizing refinement */
.packages-title {
  font-size: clamp(2.75rem, 5.2vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: -0.065em;
}

.package-price {
  font-size: clamp(2.55rem, 4.1vw, 3.65rem);
  letter-spacing: -0.07em;
}

@media (max-width: 760px) {
  .packages-title {
    font-size: clamp(2.85rem, 11.5vw, 3.9rem);
    letter-spacing: -0.07em;
  }

  .package-price {
    font-size: clamp(2.85rem, 12.2vw, 3.75rem);
    letter-spacing: -0.07em;
  }
}

@media (max-width: 420px) {
  .packages-title {
    font-size: clamp(2.65rem, 10.8vw, 3.55rem);
  }

  .package-price {
    font-size: clamp(2.65rem, 11.2vw, 3.45rem);
  }
}


/* v60 homepage flow: homepage Process section removed so Ceramic Coating flows into Why Jrip Studios */


/* v61 Why section cleanup: remove decorative quote/pill cards and let copy stand alone */
.why-section .split-grid {
  grid-template-columns: minmax(0, 860px);
  justify-content: center;
}

.why-section .split-grid > .section-heading {
  max-width: 860px;
}

@media (max-width: 900px) {
  .why-section .split-grid {
    display: block;
  }
}


/* v62 service page contact card cleanup */
.page-cta .contact-card,
.contact-section .contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  overflow-wrap: anywhere;
}

.page-cta .contact-card a,
.contact-section .contact-card a,
.page-cta .contact-card span,
.contact-section .contact-card span {
  display: block;
  width: 100%;
  line-height: 1.45;
}

@media (max-width: 760px) {
  .page-cta .contact-card,
  .contact-section .contact-card {
    padding: 24px 22px;
  }
}


/* v63 navigation simplified: System X page kept, removed from main nav */


/* v64 homepage Ceramic Coating cleanup */
#coatings .split-grid {
  grid-template-columns: minmax(0, 880px);
  justify-content: center;
}

#coatings .section-heading.align-left {
  max-width: 880px;
}

#coatings #coatings-title {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

@media (max-width: 760px) {
  #coatings #coatings-title {
    font-size: clamp(2.5rem, 11.5vw, 3.65rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
  }
}


/* v65 homepage Ceramic Coating headline sizing correction */
#coatings.split-section .section-heading #coatings-title {
  font-size: clamp(2.05rem, 8.6vw, 3.15rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  max-width: 720px;
}

@media (min-width: 761px) {
  #coatings.split-section .section-heading #coatings-title {
    font-size: clamp(2.65rem, 4.2vw, 3.85rem) !important;
    line-height: 0.98 !important;
  }
}


/* v66 homepage secondary heading consistency */
#coatings.split-section .section-heading #coatings-title,
.why-section .section-heading #why-title {
  font-size: clamp(1.95rem, 8vw, 2.95rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.04em !important;
  max-width: 720px;
}

@media (min-width: 761px) {
  #coatings.split-section .section-heading #coatings-title,
  .why-section .section-heading #why-title {
    font-size: clamp(2.35rem, 3.5vw, 3.35rem) !important;
    line-height: 1 !important;
  }
}


/* v67 homepage cleanup: removed redundant homepage Ceramic Coating section and tightened homepage content */


/* v68 navigation standardized across all pages */


/* v69 homepage section rhythm: separate Services from Why Jrip Studios */
.why-section {
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 16%, rgba(255, 255, 255, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.01));
}

@media (max-width: 760px) {
  .why-section {
    padding-top: clamp(72px, 16vw, 96px);
  }
}


/* v70 lower homepage hierarchy refinement */
.section-title-simple {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.25rem, 5vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.section-subheadline {
  max-width: 760px;
  margin: 18px 0 0;
  color: rgba(245, 248, 252, 0.72);
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  line-height: 1.28;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.section-heading .section-title-simple + .section-subheadline {
  margin-left: auto;
  margin-right: auto;
}

.why-section .section-heading.align-left .section-subheadline {
  margin-left: 0;
  margin-right: 0;
}

#faq .section-heading,
.contact-section .section-heading {
  text-align: center;
}

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

@media (max-width: 760px) {
  .section-title-simple {
    font-size: clamp(2.15rem, 10vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
  }

  .section-subheadline {
    font-size: clamp(1.15rem, 5vw, 1.45rem);
    line-height: 1.34;
  }

  #faq .section-heading,
  .contact-section .section-heading {
    text-align: left;
  }

  .section-heading .section-title-simple + .section-subheadline {
    margin-left: 0;
    margin-right: 0;
  }
}


/* v71 homepage section title alignment and quote spacing */
.packages-section .section-heading,
.why-section .section-heading,
#faq .section-heading,
.contact-section .section-heading {
  text-align: left;
  max-width: 860px;
  margin-left: 0;
  margin-right: auto;
}

.packages-title,
.section-title-simple {
  font-size: clamp(2.15rem, 5vw, 3.65rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
}

.packages-section .container,
.why-section .container,
#faq .container,
.contact-section .container {
  text-align: left;
}

.section-heading .section-title-simple + .section-subheadline,
.section-subheadline {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.contact-section .section-title-simple {
  margin-bottom: 24px;
}

.contact-section .section-title-simple + p,
.contact-section .section-heading > p {
  margin-top: 24px;
}

@media (max-width: 760px) {
  .packages-title,
  .section-title-simple {
    font-size: clamp(2rem, 9.2vw, 3rem) !important;
    line-height: 1.04 !important;
  }

  .contact-section .section-title-simple {
    margin-bottom: 20px;
  }

  .contact-section .section-title-simple + p,
  .contact-section .section-heading > p {
    margin-top: 20px;
  }
}


/* v72 removed duplicate starting-at FAQ item */

/* v73 mobile hero eyebrow: slightly larger premium label for better visibility */
@media (max-width: 760px) {
  .hero-image .eyebrow {
    font-size: 0.76rem;
    letter-spacing: 0.18em;
  }
}

@media (max-width: 420px) {
  .hero-image .eyebrow {
    font-size: 0.74rem;
    letter-spacing: 0.17em;
  }
}


/* v74 subpage alignment: match homepage buttons and Request a Quote section */
@media (max-width: 760px) {
  .page-hero .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
  }

  .page-hero .hero-actions .button {
    width: 100%;
    min-height: 70px;
    border-radius: 24px;
    justify-content: center;
    gap: 14px;
  }
}

.page-cta .section-title-simple {
  margin-bottom: 24px;
}

.page-cta .section-title-simple + p {
  margin-top: 24px;
}

.page-cta .contact-card .contact-row {
  display: block;
}

.page-cta .contact-card .contact-row span {
  display: block;
  width: 100%;
}

.page-cta .contact-card .contact-row strong {
  display: block;
  width: 100%;
}

@media (max-width: 760px) {
  .page-cta .section-title-simple {
    margin-bottom: 20px;
  }

  .page-cta .section-title-simple + p {
    margin-top: 20px;
  }
}


/* v75 ensure subpage hero button icons match homepage */
.page-hero .button-icon,
.hero-image .button-icon {
  display: inline-grid;
  place-items: center;
  width: 1.18em;
  height: 1.18em;
  flex: 0 0 auto;
}

.page-hero .button-icon svg,
.hero-image .button-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}


/* v76 site-wide reveal: restrained premium fade-up for major content only */
.reveal-item {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 180ms ease,
    background 180ms ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}


/* v77 System X Request Quote section matched to homepage/subpage contact style */


/* v78 subpage hero CTA strategy: one primary quote CTA, one quieter secondary action */
.page-hero .hero-actions .subpage-soft-cta {
  background: rgba(8, 10, 13, 0.52);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(245, 248, 252, 0.9);
}

.page-hero .hero-actions .subpage-soft-cta:hover {
  border-color: rgba(215, 180, 106, 0.38);
  background: rgba(8, 10, 13, 0.68);
}

@media (max-width: 760px) {
  .page-hero .hero-actions .button {
    min-height: 62px;
  }
}


/* v79 subpage hero CTA refinement: one main button, secondary action as quiet text */
.page-hero .subpage-hero-actions {
  display: grid;
  gap: 14px;
  align-items: start;
  justify-items: start;
}

.page-hero .subpage-hero-actions .button {
  min-height: 62px;
}

.hero-secondary-cta {
  margin: 0;
  color: rgba(245, 248, 252, 0.68);
  font-size: 0.98rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-secondary-cta a {
  color: rgba(245, 248, 252, 0.92);
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 180, 106, 0.56);
  transition: color 180ms ease, border-color 180ms ease;
}

.hero-secondary-cta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 760px) {
  .page-hero .subpage-hero-actions {
    justify-items: stretch;
    gap: 13px;
  }

  .page-hero .subpage-hero-actions .button {
    width: 100%;
    min-height: 64px;
  }

  .hero-secondary-cta {
    text-align: center;
    font-size: 0.98rem;
  }
}


/* v80 footer social icons */
.footer-social {
  margin-top: 22px;
}

.footer-social-title {
  margin: 0 0 12px;
  color: rgba(245, 248, 252, 0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  background:
    linear-gradient(180deg, rgba(215, 180, 106, 0.10), rgba(215, 180, 106, 0.03)),
    rgba(8, 10, 13, 0.70);
  border: 1px solid rgba(215, 180, 106, 0.34);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.social-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon:nth-child(2) svg,
.social-icon:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #050608;
  border-color: rgba(215, 180, 106, 0.90);
  background: var(--accent);
}

@media (max-width: 760px) {
  .footer-social {
    margin-top: 20px;
  }

  .social-icon {
    width: 46px;
    height: 46px;
  }
}


/* v81 footer social cleanup: no circles, larger gold icons */
.footer-social {
  margin-top: 24px;
}

.footer-social-title {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}

.social-icon {
  display: inline-grid;
  place-items: center;
  width: auto;
  height: auto;
  color: var(--accent);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  opacity: 0.9;
  transition:
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.social-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon:nth-child(2) svg,
.social-icon:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #f0cd82;
  background: transparent;
  opacity: 1;
}

@media (max-width: 760px) {
  .footer-social {
    margin-top: 22px;
  }

  .footer-social-links {
    gap: 24px;
  }

  .social-icon svg {
    width: 34px;
    height: 34px;
  }
}


/* v82 footer social correction: force clean gold icon treatment */
.site-footer .footer-social {
  margin-top: 24px;
}

.site-footer .footer-social-title {
  margin: 0 0 13px !important;
  color: #d7b46a !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  line-height: 1.2 !important;
}

.site-footer .footer-social-links {
  display: flex !important;
  flex-wrap: wrap;
  gap: 24px !important;
  align-items: center;
}

.site-footer .social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  color: #d7b46a !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
  line-height: 1 !important;
  transition:
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.site-footer .social-icon svg {
  width: 36px !important;
  height: 36px !important;
  color: #d7b46a !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.9 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .social-icon:nth-child(2) svg,
.site-footer .social-icon:nth-child(3) svg {
  fill: currentColor !important;
  stroke: none !important;
}

.site-footer .social-icon:hover {
  transform: translateY(-2px);
  color: #f0cd82 !important;
  background: transparent !important;
  opacity: 1 !important;
}

.site-footer .social-icon:hover svg {
  color: #f0cd82 !important;
}

@media (max-width: 760px) {
  .site-footer .footer-social {
    margin-top: 22px;
  }

  .site-footer .footer-social-links {
    gap: 26px !important;
  }

  .site-footer .social-icon svg {
    width: 38px !important;
    height: 38px !important;
  }
}


/* v83 footer social refinement: keep gold, reduce volume */
.site-footer .footer-social-title {
  color: rgba(215, 180, 106, 0.88) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.17em !important;
}

.site-footer .footer-social-links {
  gap: 22px !important;
}

.site-footer .social-icon {
  color: rgba(215, 180, 106, 0.88) !important;
  opacity: 0.88 !important;
}

.site-footer .social-icon svg {
  width: 32px !important;
  height: 32px !important;
  color: rgba(215, 180, 106, 0.88) !important;
}

.site-footer .social-icon:hover {
  color: #f0cd82 !important;
  opacity: 1 !important;
}

.site-footer .social-icon:hover svg {
  color: #f0cd82 !important;
}

@media (max-width: 760px) {
  .site-footer .footer-social-links {
    gap: 23px !important;
  }

  .site-footer .social-icon svg {
    width: 34px !important;
    height: 34px !important;
  }
}


/* v84 added homepage structured data with social sameAs links */


/* v86 subpage hero refinement: keep only quiet educational guide lines in hero copy */
.page-hero .hero-guide-line {
  position: relative;
  max-width: 690px;
  margin: 30px 0 0;
  padding: 18px 0 0;
  color: rgba(245, 248, 252, 0.72);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.6;
  font-weight: 750;
}

.page-hero .hero-guide-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 86px;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 180, 106, 0.82), rgba(215, 180, 106, 0));
}

@media (max-width: 760px) {
  .page-hero .hero-guide-line {
    margin-top: 26px;
    padding-top: 16px;
    font-size: 1rem;
  }
}


/* v87 paint correction hero update: Jrip/Rupes hero image and no top pricing card */
.paint-page-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.58) 48%, rgba(5, 6, 8, 0.35)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.16), rgba(5, 6, 8, 0.92)),
    url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
  background-size: cover;
  background-position: center center;
}

.paint-page-hero .page-hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.55fr);
}

@media (max-width: 900px) {
  .paint-page-hero {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.97), rgba(5, 6, 8, 0.70)),
      linear-gradient(180deg, rgba(5, 6, 8, 0.18), rgba(5, 6, 8, 0.94)),
      url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
    background-size: cover;
    background-position: 62% center;
  }
}


/* v88 paint correction hero mobile tune: match homepage rhythm and reveal more of the image */
.paint-page-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.56) 46%, rgba(5, 6, 8, 0.22) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.84) 100%),
    url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
  background-size: cover;
  background-position: center center;
}

.paint-page-hero .page-hero-copy {
  max-width: 700px;
}

.paint-page-hero h1 {
  max-width: 8.4ch;
}

.paint-page-hero .hero-guide-line {
  max-width: 34rem;
}

@media (max-width: 900px) {
  .paint-page-hero {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.62) 46%, rgba(5, 6, 8, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.12) 0%, rgba(5, 6, 8, 0.86) 100%),
      url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
    background-size: cover;
    background-position: 68% center;
  }
}

@media (max-width: 760px) {
  .paint-page-hero {
    padding: calc(var(--mobile-header-height) + 54px) 0 56px;
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.84) 0%, rgba(5, 6, 8, 0.58) 34%, rgba(5, 6, 8, 0.32) 64%, rgba(5, 6, 8, 0.16) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.20) 44%, rgba(5, 6, 8, 0.84) 100%),
      url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
    background-size: cover;
    background-position: 72% center;
  }

  .paint-page-hero .page-hero-copy {
    max-width: 25rem;
  }

  .paint-page-hero .eyebrow {
    margin-bottom: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
  }

  .paint-page-hero h1 {
    max-width: 9.1ch;
    margin-bottom: 14px;
    font-size: clamp(2.08rem, 8.9vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
  }

  .paint-page-hero .hero-guide-line {
    max-width: 22rem;
    margin-top: 20px;
    padding-top: 14px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: rgba(245, 248, 252, 0.86);
  }

  .paint-page-hero .hero-guide-line::before {
    width: 72px;
  }
}

@media (max-width: 420px) {
  .paint-page-hero {
    padding: calc(var(--mobile-header-height) + 48px) 0 50px;
    background-position: 74% center;
  }

  .paint-page-hero .page-hero-copy {
    max-width: 22rem;
  }

  .paint-page-hero h1 {
    max-width: 8.8ch;
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .paint-page-hero .hero-guide-line {
    max-width: 20rem;
    font-size: 0.95rem;
  }
}


/* v89 Paint Correction mobile hero consistency pass:
   Match the homepage mobile hero rhythm by using an image-first layout,
   then placing the eyebrow/headline/guide text underneath the hero shot. */
@media (max-width: 760px) {
  .paint-page-hero {
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg,
        rgba(5, 6, 8, 0.08) 0%,
        rgba(5, 6, 8, 0.04) 34%,
        rgba(5, 6, 8, 0.36) 62%,
        rgba(5, 6, 8, 0.96) 100%),
      url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .paint-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 34px));
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .paint-page-hero .page-hero-copy {
    max-width: none;
    padding-top: 10px;
  }

  .paint-page-hero .eyebrow {
    margin: 0 0 10px;
    padding: 0;
    color: #d7b46a;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    line-height: 1.2;
  }

  .paint-page-hero h1 {
    max-width: 11ch;
    margin: 0 0 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.88),
      0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .paint-page-hero .hero-guide-line {
    max-width: 35rem;
    margin: 18px 0 0;
    padding-top: 0;
    color: rgba(245, 248, 252, 0.86);
    font-size: 0.97rem;
    line-height: 1.55;
    font-weight: 700;
    text-shadow:
      0 1px 12px rgba(0, 0, 0, 0.76),
      0 1px 3px rgba(0, 0, 0, 0.88);
  }

  .paint-page-hero .hero-guide-line::before {
    display: none;
  }
}

@media (max-width: 420px) {
  .paint-page-hero {
    padding-top: 41svh;
    padding-bottom: 34px;
    background-size: 112% auto;
    background-position: 58% top;
  }

  .paint-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .paint-page-hero h1 {
    max-width: 10.8ch;
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .paint-page-hero .hero-guide-line {
    font-size: 0.95rem;
  }
}


/* v90 Paint Correction mobile headline break refinement */
.paint-correction-title span {
  display: inline;
}

@media (max-width: 760px) {
  .paint-page-hero .paint-correction-title {
    max-width: 100%;
  }

  .paint-correction-title span {
    display: block;
  }

  .paint-correction-title span + span {
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .paint-page-hero .paint-correction-title {
    max-width: 100%;
  }
}

/* v91 Ceramic Coating hero: temporary application image + homepage-style mobile hero rhythm */
.coating-page-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.94) 0%, rgba(5, 6, 8, 0.62) 44%, rgba(5, 6, 8, 0.28) 100%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.10) 0%, rgba(5, 6, 8, 0.88) 100%),
    url("/assets/jrip-studios-ceramic-coating-hero-temp-v1.jpg");
  background-size: cover;
  background-position: center center;
}

.coating-page-hero .page-hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 0.55fr);
}

.coating-page-hero .page-hero-copy {
  max-width: 700px;
}

.coating-page-hero h1 {
  max-width: 8.5ch;
}

.ceramic-coating-title span {
  display: inline;
}

@media (max-width: 980px) {
  .coating-page-hero .page-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .coating-page-hero {
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    background:
      linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.04) 34%, rgba(5, 6, 8, 0.36) 62%, rgba(5, 6, 8, 0.96) 100%),
      url("/assets/jrip-studios-ceramic-coating-hero-temp-v1.jpg");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .coating-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 34px));
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .coating-page-hero .page-hero-copy {
    max-width: none;
    padding-top: 10px;
  }

  .coating-page-hero .eyebrow {
    margin: 0 0 10px;
    padding: 0;
    color: #d7b46a;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    line-height: 1.2;
  }

  .coating-page-hero h1 {
    max-width: 11ch;
    margin: 0 0 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.88),
      0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .ceramic-coating-title span {
    display: block;
  }

  .coating-page-hero .hero-guide-line {
    max-width: 35rem;
    margin: 18px 0 0;
    padding-top: 0;
    color: rgba(245, 248, 252, 0.86);
    font-size: 0.97rem;
    line-height: 1.55;
    font-weight: 700;
    text-shadow:
      0 1px 12px rgba(0, 0, 0, 0.76),
      0 1px 3px rgba(0, 0, 0, 0.88);
  }

  .coating-page-hero .hero-guide-line::before {
    display: none;
  }

  .coating-page-hero .page-hero-panel {
    margin-top: 24px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(5, 6, 8, 0.62);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }

  .coating-page-hero .page-hero-panel span {
    margin-bottom: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .coating-page-hero .page-hero-panel strong {
    margin-bottom: 10px;
    font-size: clamp(1.55rem, 7vw, 2rem);
  }

  .coating-page-hero .page-hero-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
  }
}

@media (max-width: 420px) {
  .coating-page-hero {
    padding-top: 41svh;
    padding-bottom: 34px;
    background-size: 112% auto;
    background-position: 50% top;
  }

  .coating-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .coating-page-hero h1 {
    max-width: 10.8ch;
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .coating-page-hero .hero-guide-line,
  .coating-page-hero .page-hero-panel p {
    font-size: 0.95rem;
  }
}


/* v94 desktop hero overlay balance:
   Lighten desktop hero image darkening so desktop better matches the mobile image visibility. */

/* Homepage desktop hero */
@media (min-width: 761px) {
  .hero-image {
    background-image:
      linear-gradient(90deg, rgba(5, 6, 8, 0.90) 0%, rgba(5, 6, 8, 0.74) 38%, rgba(5, 6, 8, 0.42) 61%, rgba(5, 6, 8, 0.10) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.20) 0%, rgba(5, 6, 8, 0.08) 38%, rgba(5, 6, 8, 0.62) 100%),
      url("assets/jrip-studios-hero-v29.webp");
  }

  /* General service/subpage hero base */
  .page-hero {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.88), rgba(5, 6, 8, 0.46)),
      linear-gradient(180deg, rgba(5, 6, 8, 0.10), rgba(5, 6, 8, 0.76)),
      url("/assets/jrip-studios-hero-v29.webp");
    background-size: cover;
    background-position: center center;
  }

  /* Paint Correction desktop hero */
  .paint-page-hero {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.86) 0%, rgba(5, 6, 8, 0.42) 48%, rgba(5, 6, 8, 0.18) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.06) 0%, rgba(5, 6, 8, 0.70) 100%),
      url("/assets/jrip-studios-paint-correction-rupes-hero-v1.webp");
    background-size: cover;
    background-position: center center;
  }

  /* Ceramic Coating desktop hero */
  .coating-page-hero {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.86) 0%, rgba(5, 6, 8, 0.42) 44%, rgba(5, 6, 8, 0.16) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.06) 0%, rgba(5, 6, 8, 0.70) 100%),
      url("/assets/jrip-studios-ceramic-coating-hero-temp-v1.jpg");
    background-size: cover;
    background-position: center center;
  }
}


/* v95 hero divider refinement:
   Keep a subtle section separation without the light line calling attention to itself. */
.hero-image,
.page-hero {
  border-bottom-color: rgba(255, 255, 255, 0.055);
}

@media (min-width: 761px) {
  .hero-image,
  .page-hero {
    border-bottom-color: rgba(255, 255, 255, 0.045);
  }
}


/* v96 Ceramic Coating mobile headline fix:
   Keep "Ceramic coating" together on the first line. */
@media (max-width: 760px) {
  .coating-page-hero .ceramic-coating-title {
    max-width: 100%;
    font-size: clamp(1.96rem, 8.25vw, 2.46rem);
  }

  .coating-page-hero .ceramic-coating-title span {
    display: block;
  }

  .coating-page-hero .ceramic-coating-title span:first-child {
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .coating-page-hero .ceramic-coating-title {
    max-width: 100%;
    font-size: clamp(1.9rem, 8.05vw, 2.34rem);
  }

  .coating-page-hero .ceramic-coating-title span:first-child {
    white-space: nowrap;
  }
}


/* v100 System X page brand asset integration */
.systemx-hero-brand {
  width: min(260px, 70vw);
  margin: 0 0 24px;
  opacity: 0.92;
}

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

.systemx-brand-section {
  padding-top: clamp(58px, 7vw, 96px);
  padding-bottom: clamp(58px, 7vw, 96px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 18% 28%, rgba(215, 180, 106, 0.10), transparent 24rem),
    rgba(255, 255, 255, 0.018);
}

.systemx-brand-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(26px, 4.5vw, 46px);
  border: 1px solid rgba(215, 180, 106, 0.26);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(215, 180, 106, 0.08), transparent 42%),
    rgba(8, 10, 13, 0.56);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.24);
}

.systemx-brand-mark {
  display: grid;
  place-items: center;
  min-height: 170px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 24px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 62%),
    rgba(255, 255, 255, 0.035);
}

.systemx-brand-mark img {
  width: min(100%, 300px);
  height: auto;
  opacity: 0.95;
}

.systemx-brand-copy h2 {
  max-width: 780px;
  margin-bottom: 18px;
}

.systemx-brand-copy p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

@media (max-width: 760px) {
  .systemx-hero-brand {
    width: min(215px, 68vw);
    margin-bottom: 22px;
  }

  .systemx-brand-card {
    grid-template-columns: 1fr;
    padding: 22px;
    border-radius: 24px;
  }

  .systemx-brand-mark {
    min-height: 130px;
    padding: 24px;
    border-radius: 20px;
  }

  .systemx-brand-mark img {
    width: min(100%, 240px);
  }

  .systemx-brand-copy p:last-child {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}


/* v101 System X page refinement:
   Remove hero logo clutter and make the supporting System X brand card cleaner/readable. */
.systemx-hero-brand {
  display: none !important;
}

.systemx-brand-card {
  grid-template-columns: minmax(240px, 0.40fr) minmax(0, 1fr);
  gap: clamp(26px, 4.5vw, 58px);
  align-items: center;
}

.systemx-brand-mark {
  background: #010203;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    0 18px 48px rgba(0, 0, 0, 0.24);
}

.systemx-brand-mark img {
  width: min(100%, 310px);
  opacity: 1;
}

.systemx-brand-copy h2 {
  max-width: 720px;
  font-size: clamp(2rem, 4.2vw, 4.05rem);
}

@media (max-width: 760px) {
  .systemx-brand-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .systemx-brand-card {
    gap: 22px;
  }

  .systemx-brand-mark {
    min-height: 118px;
    padding: 22px;
  }

  .systemx-brand-mark img {
    width: min(100%, 245px);
  }

  .systemx-brand-copy h2 {
    font-size: clamp(1.82rem, 8.1vw, 2.44rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
  }
}

@media (max-width: 420px) {
  .systemx-brand-copy h2 {
    font-size: clamp(1.72rem, 7.7vw, 2.18rem);
  }
}


/* v102 System X mobile card repair:
   Force the System X brand card to stack on mobile so text is not crushed into a narrow column. */
@media (max-width: 900px) {
  .systemx-brand-section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .systemx-brand-section .systemx-brand-card {
    display: block !important;
    width: min(100%, calc(100vw - 34px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .systemx-brand-section .systemx-brand-mark {
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    min-height: 124px !important;
    margin: 0 0 24px !important;
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .systemx-brand-section .systemx-brand-mark img {
    display: block !important;
    width: min(100%, 250px) !important;
    max-width: 250px !important;
    height: auto !important;
  }

  .systemx-brand-section .systemx-brand-copy {
    width: 100% !important;
    max-width: none !important;
  }

  .systemx-brand-section .systemx-brand-copy .eyebrow {
    margin-bottom: 12px !important;
  }

  .systemx-brand-section .systemx-brand-copy h2 {
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 16px !important;
    font-size: clamp(1.9rem, 8.2vw, 2.55rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
  }

  .systemx-brand-section .systemx-brand-copy p:last-child {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 420px) {
  .systemx-brand-section .systemx-brand-card {
    width: min(100%, calc(100vw - 28px)) !important;
    padding: 20px !important;
  }

  .systemx-brand-section .systemx-brand-copy h2 {
    font-size: clamp(1.72rem, 7.8vw, 2.2rem) !important;
  }

  .systemx-brand-section .systemx-brand-mark img {
    width: min(100%, 230px) !important;
  }
}


/* v103 System X warranty card mobile repair */
@media (max-width: 760px) {
  .page-systemx .hero-card {
    display: block !important;
    padding: 22px !important;
  }

  .page-systemx .hero-card span {
    display: block !important;
    margin: 0 0 12px !important;
  }

  .page-systemx .hero-card strong {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 14px !important;
    white-space: normal !important;
    word-break: normal !important;
    text-wrap: balance;
    font-size: clamp(2rem, 10vw, 2.85rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
  }

  .page-systemx .hero-card p {
    max-width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 420px) {
  .page-systemx .hero-card strong {
    font-size: clamp(1.85rem, 9.2vw, 2.45rem) !important;
  }
}


/* v104 System X class conflict fix:
   The new System X logo section uses .systemx-brand-card too, which accidentally made
   the Ceramic Coating Max G+ warranty card act like a two-column logo card.
   This restores the original stacked card behavior inside .systemx-section. */
.systemx-section .systemx-details .systemx-brand-card {
  display: block !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  align-items: initial !important;
}

.systemx-section .systemx-details .systemx-brand-card .systemx-kicker {
  display: block !important;
  width: 100% !important;
  margin-bottom: 12px !important;
}

.systemx-section .systemx-details .systemx-brand-card h3 {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  text-wrap: balance;
}

.systemx-section .systemx-details .systemx-brand-card p {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 760px) {
  .systemx-section .systemx-details .systemx-brand-card {
    padding: 22px !important;
    border-radius: 24px !important;
  }

  .systemx-section .systemx-details .systemx-brand-card h3 {
    font-size: clamp(1.9rem, 8.4vw, 2.52rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.055em !important;
  }

  .systemx-section .systemx-details .systemx-brand-card p {
    font-size: 0.98rem !important;
    line-height: 1.65 !important;
  }
}

@media (max-width: 420px) {
  .systemx-section .systemx-details .systemx-brand-card h3 {
    font-size: clamp(1.78rem, 7.9vw, 2.28rem) !important;
  }
}


/* v107 Off-Road Ceramic Coatings page + homepage teaser */
.offroad-home-section { padding-top: clamp(54px, 7vw, 88px); padding-bottom: clamp(54px, 7vw, 88px); background: radial-gradient(circle at 16% 22%, rgba(215, 180, 106, 0.10), transparent 24rem), rgba(255, 255, 255, 0.012); }
.offroad-home-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr); gap: clamp(28px, 5vw, 70px); align-items: center; padding: clamp(26px, 4.5vw, 48px); border: 1px solid rgba(215, 180, 106, 0.25); border-radius: 32px; background: linear-gradient(135deg, rgba(215, 180, 106, 0.085), transparent 42%), rgba(8, 10, 13, 0.60); box-shadow: 0 24px 80px rgba(0,0,0,0.25); }
.offroad-home-copy h2 { max-width: 880px; margin-bottom: 18px; }
.offroad-home-copy p { max-width: 780px; color: var(--muted); font-size: 1.04rem; line-height: 1.72; }
.offroad-home-link { display: inline-flex; margin-top: 8px; }
.offroad-home-points { display: grid; gap: 12px; }
.offroad-home-points span, .offroad-tag-grid span { display: block; padding: 14px 16px; border: 1px solid rgba(255,255,255,0.095); border-radius: 999px; color: rgba(245,248,252,0.88); background: rgba(255,255,255,0.035); font-weight: 800; }
.offroad-page-hero { background: linear-gradient(90deg, rgba(5,6,8,0.90) 0%, rgba(5,6,8,0.58) 48%, rgba(5,6,8,0.20) 100%), linear-gradient(180deg, rgba(5,6,8,0.12) 0%, rgba(5,6,8,0.78) 100%), url('/assets/jrip-studios-hero-v29.webp'); background-size: cover; background-position: center center; }
.offroad-page-hero .page-hero-panel span { color: #d7b46a; }
.process-panel, .offroad-not-card, .offroad-video-placeholder { padding: clamp(26px, 4.5vw, 48px); border: 1px solid rgba(255,255,255,0.09); border-radius: 32px; background: linear-gradient(135deg, rgba(215,180,106,0.06), transparent 46%), rgba(8,10,13,0.58); }
.process-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.process-steps article { padding: 20px; border: 1px solid rgba(255,255,255,0.09); border-radius: 22px; background: rgba(255,255,255,0.03); }
.process-steps span { display: inline-block; margin-bottom: 18px; color: #d7b46a; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.process-steps h3 { margin-bottom: 10px; }
.process-steps p, .offroad-video-placeholder p { color: var(--muted); line-height: 1.65; }
.offroad-not-card { display: grid; grid-template-columns: minmax(0,0.72fr) minmax(0,1fr); gap: clamp(28px, 5vw, 70px); align-items: start; border-color: rgba(215,180,106,0.22); }
.offroad-tag-grid { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.offroad-video-placeholder { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,0.72fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
.video-placeholder-box { display: grid; place-items: center; min-height: 240px; border: 1px dashed rgba(215,180,106,0.36); border-radius: 24px; background: radial-gradient(circle at center, rgba(215,180,106,0.10), transparent 62%), rgba(255,255,255,0.025); }
.video-placeholder-box span { color: rgba(245,248,252,0.72); font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 900px) { .offroad-home-card, .offroad-not-card, .offroad-video-placeholder { grid-template-columns: 1fr; } .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .offroad-home-card, .process-panel, .offroad-not-card, .offroad-video-placeholder { padding: 22px; border-radius: 24px; } .offroad-page-hero { display: block; min-height: auto; padding: 43svh 0 38px; background: linear-gradient(180deg, rgba(5,6,8,0.08) 0%, rgba(5,6,8,0.10) 34%, rgba(5,6,8,0.42) 62%, rgba(5,6,8,0.96) 100%), url('/assets/jrip-studios-hero-v29.webp'); background-size: 112% auto; background-position: 55% top; background-repeat: no-repeat; background-color: #050608; } .offroad-page-hero .page-hero-grid { width: min(100%, calc(100vw - 34px)); display: block; margin-left: auto; margin-right: auto; } .offroad-page-hero .page-hero-copy { max-width: none; padding-top: 10px; } .offroad-page-hero .eyebrow { margin: 0 0 10px; padding: 0; color: #d7b46a; background: transparent; box-shadow: none; text-shadow: none; font-size: 0.68rem; letter-spacing: 0.16em; line-height: 1.2; } .offroad-page-hero h1 { max-width: 11ch; margin: 0 0 14px; font-size: clamp(2.02rem, 8.6vw, 2.66rem); line-height: 1.02; letter-spacing: -0.052em; } .offroad-page-hero .hero-guide-line { max-width: 35rem; margin: 18px 0 0; padding-top: 0; font-size: 0.97rem; line-height: 1.55; color: rgba(245,248,252,0.86); font-weight: 700; } .offroad-page-hero .hero-guide-line::before { display: none; } .offroad-page-hero .page-hero-panel { margin-top: 24px; } .process-steps { grid-template-columns: 1fr; } .video-placeholder-box { min-height: 180px; } }
@media (max-width: 420px) { .offroad-page-hero { padding-top: 41svh; padding-bottom: 34px; } .offroad-page-hero .page-hero-grid { width: min(100%, calc(100vw - 28px)); } .offroad-page-hero h1 { font-size: clamp(1.92rem, 8.1vw, 2.35rem); } }


/* v110 Off-Road restoration + quote button fix */
.offroad-page .offroad-quote-section .quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.offroad-page .offroad-quote-section .quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0;
}

.offroad-page .offroad-quote-section .quote-actions .button {
  text-decoration: none;
}

@media (max-width: 900px) {
  .offroad-page .offroad-quote-section .quote-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offroad-page .offroad-quote-section .quote-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .offroad-page .offroad-quote-section .quote-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* v111 Off-Road page layout fix:
   Match the existing service-page bottom CTA and restore alternating section rhythm. */
.offroad-page .offroad-intro-section {
  background: rgba(255, 255, 255, 0.012);
}

.offroad-page .offroad-benefits-section {
  background:
    radial-gradient(circle at 84% 24%, rgba(215, 180, 106, 0.065), transparent 24rem),
    rgba(0, 0, 0, 0.10);
}

.offroad-page .offroad-process-section {
  background: rgba(255, 255, 255, 0.014);
}

.offroad-page .offroad-not-section {
  background:
    radial-gradient(circle at 16% 24%, rgba(215, 180, 106, 0.07), transparent 24rem),
    rgba(0, 0, 0, 0.12);
}

.offroad-page .offroad-vehicle-section {
  background: rgba(255, 255, 255, 0.012);
}

.offroad-page .offroad-standard-quote {
  background:
    radial-gradient(circle at 80% 18%, rgba(215, 180, 106, 0.10), transparent 24rem),
    rgba(0, 0, 0, 0.16);
}

.offroad-page .offroad-standard-quote .quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.offroad-page .offroad-standard-quote .quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.offroad-page .offroad-standard-quote .quote-actions .button {
  text-decoration: none;
}

@media (max-width: 900px) {
  .offroad-page .offroad-standard-quote .quote-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offroad-page .offroad-standard-quote .quote-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .offroad-page .offroad-standard-quote .quote-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* v112 Off-Road page final repair:
   Add robust rules that do not depend only on body scoping, so the bottom CTA and alternating backgrounds render correctly. */
.offroad-standard-quote {
  background:
    radial-gradient(circle at 80% 18%, rgba(215, 180, 106, 0.10), transparent 24rem),
    rgba(0, 0, 0, 0.16);
}

.offroad-standard-quote .quote-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.offroad-standard-quote .quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.offroad-standard-quote .quote-actions .button {
  text-decoration: none;
}

@media (max-width: 900px) {
  .offroad-standard-quote .quote-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offroad-standard-quote .quote-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .offroad-standard-quote .quote-actions .button {
    width: 100%;
    justify-content: center;
  }
}


/* v113 Off-Road consistency fix:
   Off-Road bottom quote section now uses the same contact-card style as other service pages.
   Homepage hero remains the primary place for gold call/email buttons. */

.offroad-page .offroad-standard-quote,
.offroad-page .offroad-quote-section {
  all: unset;
}

.offroad-page .quote-section {
  display: block;
}

/* Restore/force the existing quote contact block rhythm */
.offroad-page .quote-section .quote-grid,
.offroad-page .quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.offroad-page .quote-contact-card {
  display: grid;
  gap: 16px;
}

.offroad-page .quote-contact-card > div {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.095);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.028);
}

.offroad-page .quote-contact-card span {
  display: block;
  margin-bottom: 10px;
  color: rgba(245, 248, 252, 0.58);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.offroad-page .quote-contact-card a,
.offroad-page .quote-contact-card strong {
  color: rgba(245, 248, 252, 0.94);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 900;
  text-decoration: none;
}

/* Stronger alternating section backgrounds to match the rest of the site rhythm */
.offroad-page .offroad-intro-section {
  background: #07090d !important;
}

.offroad-page .offroad-benefits-section {
  background:
    radial-gradient(circle at 82% 18%, rgba(215, 180, 106, 0.075), transparent 24rem),
    #0b0e13 !important;
}

.offroad-page .offroad-process-section {
  background: #07090d !important;
}

.offroad-page .offroad-not-section {
  background:
    radial-gradient(circle at 16% 24%, rgba(215, 180, 106, 0.075), transparent 24rem),
    #0b0e13 !important;
}

.offroad-page .offroad-vehicle-section {
  background: #07090d !important;
}

.offroad-page .quote-section {
  background:
    radial-gradient(circle at 82% 16%, rgba(215, 180, 106, 0.08), transparent 24rem),
    #0b0e13 !important;
}

@media (max-width: 900px) {
  .offroad-page .quote-section .quote-grid,
  .offroad-page .quote-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offroad-page .quote-contact-card > div {
    padding: 20px 22px;
    border-radius: 20px;
  }
}


/* v114 Off-Road final consistency repair
   The Off-Road page now uses the exact .contact-section.page-cta block from the other service pages.
   These last rules neutralize prior experimental quote styles and restore the normal site rhythm. */
.offroad-page .quote-section,
.offroad-page .quote-grid,
.offroad-page .quote-contact-card,
.offroad-page .offroad-standard-quote,
.offroad-page .offroad-quote-section {
  all: revert;
}

.offroad-page .contact-section.page-cta {
  padding: clamp(72px, 9vw, 120px) 0;
  background:
    radial-gradient(circle at top right, rgba(215, 180, 106, 0.12), transparent 30rem),
    rgba(255, 255, 255, 0.035) !important;
  border-block: 1px solid var(--line);
}

.offroad-page .contact-section.page-cta .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.offroad-page .contact-section.page-cta .contact-card {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(8, 10, 13, 0.6);
  box-shadow: var(--shadow);
}

.offroad-page .contact-section.page-cta .contact-row {
  display: block;
  padding: 18px;
  border-radius: 16px;
  text-decoration: none;
}

.offroad-page .contact-section.page-cta .contact-row + .contact-row {
  border-top: 1px solid var(--line);
}

.offroad-page .contact-section.page-cta .contact-row span,
.offroad-page .contact-section.page-cta .contact-row strong {
  display: block;
  width: 100%;
}

/* Alternate off-road page sections using the same dark / raised-panel rhythm as the main site. */
.offroad-page .offroad-intro-section,
.offroad-page .offroad-process-section,
.offroad-page .offroad-vehicle-section {
  background: transparent !important;
  border-block: 0;
}

.offroad-page .offroad-benefits-section,
.offroad-page .offroad-not-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05)),
    rgba(0, 0, 0, 0.16) !important;
  border-block: 1px solid var(--line);
}

@media (max-width: 900px) {
  .offroad-page .contact-section.page-cta .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .offroad-page .contact-section.page-cta .container {
    width: 100%;
    max-width: none;
    padding-left: clamp(24px, 5vw, 46px);
    padding-right: clamp(24px, 5vw, 46px);
  }
}


/* v115 mobile navigation redesign:
   left hamburger, centered logo, full dark menu drawer below header. */
@media (max-width: 960px) {
  .header-inner {
    position: relative;
    display: grid !important;
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    align-items: center;
    gap: 0;
  }

  .brand-link {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
  }

  .brand-logo {
    width: clamp(150px, 44vw, 202px);
    max-height: 52px;
  }

  .nav-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
    display: inline-flex;
    z-index: 10002;
  }

  .site-nav {
    position: fixed !important;
    top: var(--mobile-header-height, var(--header-height));
    left: 0 !important;
    right: 0 !important;
    bottom: 0;
    width: 100vw;
    height: calc(100svh - var(--mobile-header-height, var(--header-height)));
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: clamp(26px, 7vw, 46px) 28px 34px;
    border: 0;
    border-radius: 0;
    background:
      radial-gradient(circle at 18% 10%, rgba(215, 180, 106, 0.08), transparent 22rem),
      rgba(6, 7, 9, 0.985);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    box-shadow: none;
    overflow-y: auto;
    transform: translateX(-100%) !important;
    opacity: 1;
    pointer-events: none;
    transition: transform 240ms ease;
    z-index: 10001;
  }

  .nav-open .site-nav {
    transform: translateX(0) !important;
    pointer-events: auto;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 16px 0;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    color: rgba(245, 248, 252, 0.92);
    background: transparent !important;
    font-size: clamp(1.15rem, 4vw, 1.45rem);
    font-weight: 900;
    letter-spacing: -0.02em;
  }

  .site-nav a::after {
    content: "→";
    color: rgba(215, 180, 106, 0.86);
    font-size: 1.35em;
    font-weight: 500;
    line-height: 1;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    color: #fff;
    background: transparent !important;
  }

  .site-nav .nav-cta {
    margin: 22px 0 0;
    justify-content: center;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(215, 180, 106, 0.55);
    border-radius: 999px;
    color: #050608;
    background: var(--accent) !important;
    text-align: center;
  }

  .site-nav .nav-cta::after {
    content: none;
  }

  .nav-open {
    overflow: hidden;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: var(--mobile-header-height);
    height: var(--mobile-header-height);
    padding-left: 0;
    padding-right: 0;
  }

  .nav-toggle {
    width: 48px;
    height: 48px;
  }

  .brand-logo {
    width: clamp(148px, 45vw, 194px);
    max-height: 48px;
  }
}

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

  .nav-toggle {
    width: 46px;
    height: 46px;
  }

  .brand-logo {
    width: clamp(142px, 46vw, 182px);
    max-height: 44px;
  }

  .site-nav {
    padding-left: 28px;
    padding-right: 28px;
  }
}


/* v116 no visual changes; navigation timing adjusted in script-v48.js. */

/* v117 no visual changes; same-site link delay removed in script-v49.js. */

/* v118 no visual changes; homepage logo scroll behavior added in script-v50.js. */


/* v120 Off-Road headline:
   keep the shared service-page hero font size, spacing, and rhythm;
   only control the phrase breaks on mobile. */
.offroad-page .mobile-keep {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .offroad-page .mobile-break {
    display: block;
  }
}


/* v121 Off-Road service-page hero consistency
   Match the mobile image-first hero rhythm used by Paint Correction and Ceramic Coating. */
@media (max-width: 760px) {
  .offroad-page-hero {
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg,
        rgba(5, 6, 8, 0.08) 0%,
        rgba(5, 6, 8, 0.04) 34%,
        rgba(5, 6, 8, 0.36) 62%,
        rgba(5, 6, 8, 0.96) 100%),
      url("/assets/jrip-studios-hero-v29.webp");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .offroad-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 34px));
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .offroad-page-hero .page-hero-copy {
    max-width: none;
    padding-top: 10px;
  }

  .offroad-page-hero .eyebrow {
    margin: 0 0 10px;
    padding: 0;
    color: #d7b46a;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    line-height: 1.2;
  }

  .offroad-page-hero h1 {
    max-width: 100%;
    margin: 0 0 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.88),
      0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .offroad-page-hero .hero-guide-line {
    max-width: 35rem;
    margin: 18px 0 0;
    padding-top: 0;
    color: rgba(245, 248, 252, 0.86);
    font-size: 0.97rem;
    line-height: 1.55;
    font-weight: 700;
    text-shadow:
      0 1px 12px rgba(0, 0, 0, 0.76),
      0 1px 3px rgba(0, 0, 0, 0.88);
  }

  .offroad-page-hero .hero-guide-line::before {
    display: none;
  }

  .offroad-page-hero .page-hero-panel {
    margin-top: 24px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(5, 6, 8, 0.62);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

@media (max-width: 420px) {
  .offroad-page-hero {
    padding-top: 41svh;
    padding-bottom: 34px;
    background-size: 112% auto;
    background-position: 58% top;
  }

  .offroad-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .offroad-page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .offroad-page-hero .hero-guide-line {
    font-size: 0.95rem;
  }
}


/* v122 Off-Road template rebuild
   Off-Road now uses the same service-page structure as Paint Correction/Ceramic Coating. */
.offroad-page-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.88), rgba(5, 6, 8, 0.46)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.10), rgba(5, 6, 8, 0.76)),
    url("/assets/jrip-studios-hero-v29.webp");
  background-size: cover;
  background-position: center center;
}

.offroad-title span {
  display: inline;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag-grid span {
  display: block;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.095);
  border-radius: 999px;
  color: rgba(245,248,252,0.88);
  background: rgba(255,255,255,0.035);
  font-weight: 800;
}

.step-number {
  display: inline-block;
  margin-bottom: 18px;
  color: #d7b46a;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .offroad-page-hero {
    display: block;
    min-height: auto;
    padding: 43svh 0 38px;
    border-bottom: 1px solid var(--line);
    background:
      linear-gradient(180deg,
        rgba(5, 6, 8, 0.08) 0%,
        rgba(5, 6, 8, 0.04) 34%,
        rgba(5, 6, 8, 0.36) 62%,
        rgba(5, 6, 8, 0.96) 100%),
      url("/assets/jrip-studios-hero-v29.webp");
    background-size: 100% auto;
    background-position: center top;
    background-repeat: no-repeat;
    background-color: #050608;
  }

  .offroad-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 34px));
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .offroad-page-hero .page-hero-copy {
    max-width: none;
    padding-top: 10px;
  }

  .offroad-page-hero .eyebrow {
    margin: 0 0 10px;
    padding: 0;
    color: #d7b46a;
    background: transparent;
    box-shadow: none;
    text-shadow: none;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    line-height: 1.2;
  }

  .offroad-page-hero h1 {
    max-width: 100%;
    margin: 0 0 14px;
    font-size: clamp(2.06rem, 8.8vw, 2.72rem);
    line-height: 1.02;
    letter-spacing: -0.052em;
    text-shadow:
      0 2px 18px rgba(0, 0, 0, 0.88),
      0 1px 4px rgba(0, 0, 0, 0.82);
  }

  .offroad-title span {
    display: block;
  }

  .offroad-title span:first-child,
  .offroad-title span:last-child {
    white-space: nowrap;
  }

  .offroad-page-hero .hero-guide-line {
    max-width: 35rem;
    margin: 18px 0 0;
    padding-top: 0;
    color: rgba(245, 248, 252, 0.86);
    font-size: 0.97rem;
    line-height: 1.55;
    font-weight: 700;
    text-shadow:
      0 1px 12px rgba(0, 0, 0, 0.76),
      0 1px 3px rgba(0, 0, 0, 0.88);
  }

  .offroad-page-hero .hero-guide-line::before {
    display: none;
  }

  .offroad-page-hero .page-hero-panel {
    margin-top: 24px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(5, 6, 8, 0.62);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}

@media (max-width: 420px) {
  .offroad-page-hero {
    padding-top: 41svh;
    padding-bottom: 34px;
    background-size: 112% auto;
    background-position: 58% top;
  }

  .offroad-page-hero .page-hero-grid {
    width: min(100%, calc(100vw - 28px));
  }

  .offroad-page-hero h1 {
    max-width: 100%;
    font-size: clamp(1.98rem, 8.45vw, 2.5rem);
  }

  .offroad-page-hero .hero-guide-line {
    font-size: 0.95rem;
  }
}


/* v123 Off-Road reveal system fix:
   Off-Road content now uses the same page-section/page-card-grid/page-process-grid hooks
   watched by the existing site-wide reveal script. */
.offroad-page .tag-grid.reveal-item {
  transition:
    opacity 620ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}


/* v124 Service-page card tightening
   Scope intentionally excludes the homepage. Applies to sub/service pages only. */

body:not(.home-page) .page-section .service-card,
body:not(.home-page) .page-section .process-step,
body:not(.home-page) .page-section .content-copy,
body:not(.home-page) .page-section .content-card,
body:not(.home-page) .page-section .page-card,
body:not(.home-page) .page-section .detail-card,
body:not(.home-page) .page-section .info-card {
  min-height: 0;
}

body:not(.home-page) .page-section .process-step {
  display: grid;
  align-content: start;
}

body:not(.home-page) .page-section .process-step > span:first-child {
  margin: 0;
}

body:not(.home-page) .page-section .process-step > span:first-child + h3 {
  margin-top: 0;
}

@media (max-width: 760px) {
  body:not(.home-page) .page-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  body:not(.home-page) .page-section .section-heading {
    margin-bottom: 28px;
  }

  body:not(.home-page) .page-section .cards,
  body:not(.home-page) .page-section .page-card-grid,
  body:not(.home-page) .page-section .process-grid,
  body:not(.home-page) .page-section .page-process-grid {
    gap: 16px;
  }

  body:not(.home-page) .page-section .service-card,
  body:not(.home-page) .page-section .process-step,
  body:not(.home-page) .page-section .content-copy,
  body:not(.home-page) .page-section .content-card,
  body:not(.home-page) .page-section .page-card,
  body:not(.home-page) .page-section .detail-card,
  body:not(.home-page) .page-section .info-card {
    padding: 24px 24px;
    border-radius: 24px;
  }

  body:not(.home-page) .page-section .service-card h3,
  body:not(.home-page) .page-section .process-step h3 {
    margin-bottom: 10px;
  }

  body:not(.home-page) .page-section .service-card p,
  body:not(.home-page) .page-section .process-step p,
  body:not(.home-page) .page-section .content-copy p,
  body:not(.home-page) .page-section .content-card p {
    line-height: 1.55;
  }

  /* Put number badge and card title on one line */
  body:not(.home-page) .page-section .process-step {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 12px;
    align-items: center;
  }

  body:not(.home-page) .page-section .process-step > span:first-child {
    grid-column: 1;
    grid-row: 1;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: inline-grid;
    place-items: center;
  }

  body:not(.home-page) .page-section .process-step > h3:first-of-type {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  body:not(.home-page) .page-section .process-step > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  body:not(.home-page) .page-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body:not(.home-page) .page-section .service-card,
  body:not(.home-page) .page-section .process-step,
  body:not(.home-page) .page-section .content-copy,
  body:not(.home-page) .page-section .content-card,
  body:not(.home-page) .page-section .page-card,
  body:not(.home-page) .page-section .detail-card,
  body:not(.home-page) .page-section .info-card {
    padding: 22px 22px;
    border-radius: 22px;
  }

  body:not(.home-page) .page-section .process-step {
    column-gap: 12px;
  }

  body:not(.home-page) .page-section .process-step > span:first-child {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
}


/* v125 Outlined numbered-card row fix
   Applies the same number + title row layout to cards that use the outlined 01/02/03 badge style. */

@media (max-width: 760px) {
  body:not(.home-page) .page-section .service-card:has(> .card-number),
  body:not(.home-page) .page-section .service-card:has(> .number-badge),
  body:not(.home-page) .page-section .service-card:has(> .service-number),
  body:not(.home-page) .page-section .service-card:has(> .step-number),
  body:not(.home-page) .page-section .service-card:has(> span:first-child + h3),
  body:not(.home-page) .page-section .page-card:has(> .card-number),
  body:not(.home-page) .page-section .page-card:has(> .number-badge),
  body:not(.home-page) .page-section .page-card:has(> .service-number),
  body:not(.home-page) .page-section .page-card:has(> .step-number),
  body:not(.home-page) .page-section .page-card:has(> span:first-child + h3) {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 12px;
    align-items: center;
  }

  body:not(.home-page) .page-section .service-card:has(> .card-number) > .card-number,
  body:not(.home-page) .page-section .service-card:has(> .number-badge) > .number-badge,
  body:not(.home-page) .page-section .service-card:has(> .service-number) > .service-number,
  body:not(.home-page) .page-section .service-card:has(> .step-number) > .step-number,
  body:not(.home-page) .page-section .service-card:has(> span:first-child + h3) > span:first-child,
  body:not(.home-page) .page-section .page-card:has(> .card-number) > .card-number,
  body:not(.home-page) .page-section .page-card:has(> .number-badge) > .number-badge,
  body:not(.home-page) .page-section .page-card:has(> .service-number) > .service-number,
  body:not(.home-page) .page-section .page-card:has(> .step-number) > .step-number,
  body:not(.home-page) .page-section .page-card:has(> span:first-child + h3) > span:first-child {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    align-self: center;
  }

  body:not(.home-page) .page-section .service-card:has(> .card-number) > h3:first-of-type,
  body:not(.home-page) .page-section .service-card:has(> .number-badge) > h3:first-of-type,
  body:not(.home-page) .page-section .service-card:has(> .service-number) > h3:first-of-type,
  body:not(.home-page) .page-section .service-card:has(> .step-number) > h3:first-of-type,
  body:not(.home-page) .page-section .service-card:has(> span:first-child + h3) > h3:first-of-type,
  body:not(.home-page) .page-section .page-card:has(> .card-number) > h3:first-of-type,
  body:not(.home-page) .page-section .page-card:has(> .number-badge) > h3:first-of-type,
  body:not(.home-page) .page-section .page-card:has(> .service-number) > h3:first-of-type,
  body:not(.home-page) .page-section .page-card:has(> .step-number) > h3:first-of-type,
  body:not(.home-page) .page-section .page-card:has(> span:first-child + h3) > h3:first-of-type {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    margin: 0;
  }

  body:not(.home-page) .page-section .service-card:has(> .card-number) > p,
  body:not(.home-page) .page-section .service-card:has(> .number-badge) > p,
  body:not(.home-page) .page-section .service-card:has(> .service-number) > p,
  body:not(.home-page) .page-section .service-card:has(> .step-number) > p,
  body:not(.home-page) .page-section .service-card:has(> span:first-child + h3) > p,
  body:not(.home-page) .page-section .page-card:has(> .card-number) > p,
  body:not(.home-page) .page-section .page-card:has(> .number-badge) > p,
  body:not(.home-page) .page-section .page-card:has(> .service-number) > p,
  body:not(.home-page) .page-section .page-card:has(> .step-number) > p,
  body:not(.home-page) .page-section .page-card:has(> span:first-child + h3) > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 0;
  }
}


/* v126 Service-page inline link clarity
   Inline text links on service/sub pages should look like links, not standalone headings. */
body:not(.home-page) .page-section .content-copy a,
body:not(.home-page) .page-section .content-card a,
body:not(.home-page) .page-section p a,
body:not(.home-page) .page-section li a {
  color: #d7b46a;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(215, 180, 106, 0.72);
}

body:not(.home-page) .page-section .content-copy a:hover,
body:not(.home-page) .page-section .content-copy a:focus-visible,
body:not(.home-page) .page-section .content-card a:hover,
body:not(.home-page) .page-section .content-card a:focus-visible,
body:not(.home-page) .page-section p a:hover,
body:not(.home-page) .page-section p a:focus-visible,
body:not(.home-page) .page-section li a:hover,
body:not(.home-page) .page-section li a:focus-visible {
  color: #f1d58a;
  text-decoration-color: rgba(241, 213, 138, 0.92);
}


/* v127 Off-Road hero placeholder image
   Temporary UTV/ATV lifestyle hero until Jrip Studios has its own off-road coating photos. */
.offroad-page-hero {
  background:
    linear-gradient(90deg, rgba(5, 6, 8, 0.90), rgba(5, 6, 8, 0.50)),
    linear-gradient(180deg, rgba(5, 6, 8, 0.08), rgba(5, 6, 8, 0.80)),
    url("/assets/jrip-studios-offroad-hero-placeholder-v1.webp");
  background-size: cover;
  background-position: center center;
}

@media (min-width: 761px) {
  .offroad-page-hero {
    background:
      linear-gradient(90deg, rgba(5, 6, 8, 0.90) 0%, rgba(5, 6, 8, 0.64) 42%, rgba(5, 6, 8, 0.30) 100%),
      linear-gradient(180deg, rgba(5, 6, 8, 0.10) 0%, rgba(5, 6, 8, 0.74) 100%),
      url("/assets/jrip-studios-offroad-hero-placeholder-v1.webp");
    background-size: cover;
    background-position: center center;
  }
}

@media (max-width: 760px) {
  .offroad-page-hero {
    background:
      linear-gradient(180deg,
        rgba(5, 6, 8, 0.05) 0%,
        rgba(5, 6, 8, 0.04) 34%,
        rgba(5, 6, 8, 0.34) 62%,
        rgba(5, 6, 8, 0.96) 100%),
      url("/assets/jrip-studios-offroad-hero-placeholder-v1.webp");
    background-size: 142% auto;
    background-position: 54% top;
    background-repeat: no-repeat;
    background-color: #050608;
  }
}

@media (max-width: 420px) {
  .offroad-page-hero {
    background-size: 158% auto;
    background-position: 55% top;
  }
}
