/* AutoClinic Malaysia · Field Guide redesign */
:root {
  --red: #ed3b31;
  --navy: #111819;
  --ink: #f4f1e9;
  --muted: #b4b8b5;
  --line: #3c4444;
  --light: #252c2d;
  --white: #151b1c;
  --surface: #1d2425;
  --content-gutter: clamp(22px, 4.5vw, 76px);
  --content-max: 1500px;
  --page-inset: max(var(--content-gutter), calc((100vw - var(--content-max)) / 2));
  --section-space: clamp(64px, 8vw, 118px);
  --section-space-mobile: 56px;
}

html { background: var(--navy); color-scheme: dark; scrollbar-color: #697070 #151b1c; }
body { background: var(--navy); color: var(--muted); line-height: 1.7; }
h1, h2, h3 { color: var(--ink); }
h1, h2 { text-transform: uppercase; }
h1 { font-size: clamp(3rem, 7.4vw, 7rem); line-height: .92; letter-spacing: -.035em; }
h2 { font-size: clamp(2.2rem, 4.5vw, 4.4rem); line-height: .98; letter-spacing: -.03em; }
h3 { font-size: 1.55rem; line-height: 1.08; }
p { max-width: 68ch; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: #ff766e; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f2c04c; outline-offset: 4px; }
::selection { background: var(--red); color: white; }
.topbar { background: var(--red); color: white; padding: 8px var(--page-inset); }
.topbar a { color: white; }
.preview-badge { border-color: #ffffff65; }
.site-header { min-height: 88px; padding: 16px var(--page-inset); background: #f4f1e9; color: #151b1c; border-bottom: 1px solid #c7c4bb; box-shadow: none; }
.logo img { width: 228px; }
#navigation { gap: 8px; color: #151b1c; }
#navigation > a, #navigation summary { padding: 10px 14px; border-radius: 2px; }
#navigation > a:hover, #navigation summary:hover, #navigation [aria-current], #navigation .current { background: #dedbd2; color: #151b1c; }
#navigation [aria-current] { box-shadow: inset 0 -3px var(--red); }
.nav-services summary:after { border-color: currentColor; }
.service-dropdown { background: #202728; border: 1px solid var(--line); box-shadow: 0 18px 32px #0006; }
.service-dropdown a { color: var(--ink); }
.button { background: var(--red); border: 1px solid var(--red); border-radius: 2px; color: white; box-shadow: none; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.button:hover { background: #ff5147; border-color: #ff5147; color: white; box-shadow: none; transform: translateY(-2px); }
.button.outline { background: transparent; border-color: #aab0ad; color: var(--ink); }
.button.outline:hover { border-color: white; background: #ffffff12; }
.text-link { color: var(--ink); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.eyebrow, .project-copy small { color: #ff766e; letter-spacing: .12em; font-weight: 700; }
.section { box-sizing: border-box; width: calc(100% - 2 * var(--content-gutter)); max-width: var(--content-max); margin: auto; padding: var(--section-space) 0; }
.section-head { align-items: end; gap: 30px; margin-bottom: 42px; }
.section-head h2 { max-width: 760px; }
.section-head > p { color: var(--muted); }

/* The first screen is a full-bleed workshop photograph with a functional route board. */
.home-opening { width: 100%; max-width: none; min-height: min(760px, calc(100svh - 88px)); height: auto; margin: 0; padding: 90px var(--page-inset) 24px; display: flex; flex-direction: column; justify-content: space-between; border-radius: 0; background: #111819; isolation: isolate; }
.home-opening:before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #101617ed 0%, #101617b8 42%, #10161738 76%, #10161755 100%); }
.home-photo { inset: 0; width: 100%; height: 100%; margin: 0; z-index: -2; background: #111819; }
.home-photo > img { object-position: 58% center; }
.home-photo::after { content: none; }
.home-photo figcaption { left: var(--page-inset); bottom: 148px; width: auto; max-width: 450px; padding: 0; display: flex; gap: 14px; align-items: center; background: transparent; color: #daddd7; font-size: .72rem; letter-spacing: .12em; }
.home-photo figcaption > span:first-child { color: white; font-weight: 700; }
.home-title { position: relative; top: auto; left: auto; z-index: 2; width: min(800px, 76%); margin: auto 0 36px; padding: 0; color: var(--ink); }
.home-title h1 { max-width: 840px; color: white; font-size: clamp(4.2rem, 8.8vw, 8.5rem); line-height: .83; letter-spacing: -.045em; }
.home-title h1 span { color: #ff5a50; }
.home-title > div { max-width: 460px; margin: 30px 0 0; }
.home-title > div > p { max-width: 430px; margin-bottom: 22px; color: #e4e7e2; font-size: 1.05rem; }
.home-title .button { min-width: 188px; }
.service-rail { position: relative; z-index: 3; inset: auto; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); width: min(100%, var(--content-max)); margin: 0 auto; overflow: hidden; background: #141a1bf2; border: 1px solid #ffffff32; border-radius: 0; box-shadow: none; }
.service-rail a { min-height: 110px; padding: 20px 22px; border-right: 1px solid #ffffff28; border-bottom: 0; transition: background .2s ease; }
.service-rail a:last-child { border-right: 0; }
.service-rail a:hover, .service-rail a:focus-visible { background: var(--red); color: white; }
.service-rail strong { display: block; margin-bottom: 6px; color: white; font: 700 clamp(1.35rem, 2.1vw, 1.9rem)/1 Barlow, sans-serif; text-transform: uppercase; }
.service-rail span { color: #c3c8c5; font-size: .82rem; }
.service-rail a:hover span { color: #fff; }
.brand-strip { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); margin: 22px auto 0; padding: 12px 20px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 18px; background: #1d2425; border: 1px solid var(--line); border-radius: 0; }
.brand-strip a { min-height: 62px; display: grid; place-items: center; }
.brand-strip img { width: min(100%,116px); max-height: 48px; object-fit: contain; filter: grayscale(1) brightness(2); }
.brand-strip a:hover img { filter: none; }
.two-paths { border: 0; border-top: 1px solid var(--line); padding-top: var(--section-space); gap: 10%; }
.path-heading h2 { max-width: 560px; }
.path-heading p { margin-top: 22px; color: var(--muted); }
.path-list article { padding: 24px 0 30px; background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.path-list article + article { margin: 0; padding: 30px 0; }
.path-list h3 { color: var(--ink); text-transform: uppercase; }
.path-list article:last-child { border: 0; }
.aftermarket-intro.section { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.74fr); align-items: stretch; gap: clamp(30px,6vw,90px); padding: clamp(38px,5.5vw,76px); background: #252c2d; border: 1px solid var(--line); border-radius: 0; }
.aftermarket-copy { align-self: center; }
.aftermarket-copy h2 { max-width: 730px; }
.aftermarket-copy p { max-width: 62ch; margin: 26px 0; }
.aftermarket-feature { justify-content: center; min-height: 320px; padding: clamp(26px,3.7vw,48px); gap: 16px; background: #121819; border: 1px solid #424a4a; color: var(--muted); }
.aftermarket-feature img { width: min(100%,220px); height: 62px; filter: grayscale(1) brightness(2); }
.aftermarket-feature h3 { color: white; text-transform: uppercase; }
.aftermarket-feature p { color: #c3c8c5; }
.aftermarket-feature .button { margin-top: 6px; }
.workshop-story { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); margin: 0 auto; grid-template-columns: 1.1fr .9fr; overflow: hidden; background: #202627; color: var(--muted); border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.workshop-story > img { height: 440px; min-height: 0; object-fit: cover; }
.workshop-story > div { padding: clamp(32px,5vw,72px); align-self: center; }
.workshop-story h2 { margin: 0 0 22px; color: white; font-size: clamp(2.5rem,4vw,4.25rem); text-transform: uppercase; }
.workshop-story p { color: #c9ceca; }
.selected-work { border: 0; }
.selected-work .section-head { margin-bottom: 38px; }
.selected-work .gallery-grid { grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
.selected-work .project, .archive-gallery .project { overflow: hidden; border: 1px solid var(--line); border-radius: 0; background: #1b2223; color: var(--muted); }
.selected-work .project:nth-child(2) { margin-top: 52px; }
.selected-work .project:nth-child(3) { margin-top: 104px; }
.selected-work .project > img, .archive-gallery .project > img { display: block; width: 100%; border-radius: 0; aspect-ratio: 1/1; object-fit: cover; transition: filter .2s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.selected-work .project:hover > img, .archive-gallery .project:hover > img { filter: brightness(1.08); transform: scale(1.025); }
.project-copy { padding: 16px 18px 19px; }
.project-copy strong { color: var(--ink); font-size: 1.15rem; }
.project-copy > span { color: #e0e3de; }
.selected-work .project-copy { position: static; display: block; width: auto; height: auto; padding: 11px 15px 14px; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; border: 0; }
.selected-work .project-copy small, .selected-work .project-copy strong { display: none; }
.selected-work .project-copy > span { margin: 0; color: #eceee9; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.section-end { margin-top: 34px; }
.section-end .text-link { display: inline-flex; padding-bottom: 7px; border-bottom: 1px solid var(--red); text-decoration: none; }
.home-reviews { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); margin: 0 auto 68px; padding: clamp(30px,4.5vw,64px); background: #1c2324; border: 1px solid var(--line); border-radius: 0; }
.home-reviews .section-head { margin-bottom: 34px; }
.home-reviews .section-head h2 { color: white; }
.home-reviews .google-rating { padding: 12px 16px; border: 1px solid var(--line); border-radius: 0; background: #141a1b; color: white; }
.home-reviews .google-rating > strong { color: white; }
.home-reviews .review-featured { border-color: var(--red); }
.home-reviews .review-compact { border-color: var(--line); }
.home-reviews .review blockquote { color: #f1eee7; }
.home-reviews .review-person strong { color: white; }
.home-reviews .source-note { color: #a1a7a4; }
.cta-band { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); margin: 0 auto 30px; padding: clamp(34px,4.7vw,66px); display: flex; align-items: center; background: var(--red); border: 0; border-radius: 0; box-shadow: none; }
.cta-band h2, .cta-band .eyebrow { color: white; }
.cta-band h2 { max-width: 840px; }
.cta-band p:not(.eyebrow) { color: #ffe4df; }
.cta-band .button { background: #151b1c; border-color: #151b1c; color: white; }
.cta-band .button:hover { background: #2a3334; border-color: #2a3334; }

/* Service pages: large, literal section names and open, readable service rows. */
.service-heading { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); margin: 0 auto; padding: 38px 0 28px; }
.service-heading h1 { font-size: clamp(4rem,9vw,8.2rem); line-height: .84; letter-spacing: -.045em; }
.breadcrumbs { margin-bottom: 24px; color: #aeb4b1; font-size: .8rem; }
.breadcrumbs a { color: #e5e7e1; }
.service-stage { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); max-width: var(--content-max); margin: 0 auto; overflow: hidden; display: grid; grid-template-columns: 1.18fr .82fr; border: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.service-stage figure { min-height: 470px; background: #1b2223; }
.service-stage figure img { object-fit: cover; }
.service-stage figcaption { padding: 12px 18px; background: #111819e8; color: #e5e7e1; }
.service-brief { padding: clamp(30px,4.5vw,62px); background: #22292a; color: #c9ceca; }
.service-brief h2 { color: white; text-transform: uppercase; }
.service-brief .button { background: var(--red); color: white; }
.service-brief .text-link { margin-top: 22px; color: white; }
.page-intro { background: #22292a; border: 0; }
.page-intro .intro-copy { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); max-width: var(--content-max); margin: 0 auto; padding: 42px 0 54px; }
.page-intro h1 { max-width: 980px; margin: 0 0 20px; font-size: clamp(3.5rem,8vw,7.4rem); line-height: .86; }
.intro-description { max-width: 720px; color: #c8cdca; font-size: 1.1rem; }
.page-intro + .section { padding-top: 40px; }
.service-row { grid-template-columns: .78fr 1.22fr; gap: 10%; padding: 44px 0; border-color: var(--line); }
.service-row h2 { color: white; }
.service-row p:not(.eyebrow) { color: var(--muted); }
.row-image { background: #212828; }
.row-image img { filter: saturate(.86); }
.brand-cards article { display: grid; grid-template-columns: 150px 190px 1fr 150px; gap: 22px; align-items: center; margin: 0; padding: 24px 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.brand-cards img { margin: 0; width: 125px; height: 55px; filter: grayscale(1) brightness(2); }
.brand-cards h3 { color: white; }
.brand-cards p { color: var(--muted); }
.brand-cards .text-link { justify-self: end; }
.setup-section { width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); margin: 0 auto; padding: clamp(32px,5vw,72px); background: #22292a; border: 1px solid var(--line); border-radius: 0; gap: 8%; }
.setup-section h2 { color: white; }
.steps li { border-color: var(--line); }
.steps strong { color: white; }
.steps p { color: var(--muted); }
.setup-section figure img { border-radius: 0; }
.option-grid article { padding: 26px; background: #22292a; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0; }
.option-grid h3 { color: white; }
.option-grid p { color: var(--muted); }
.fitment-note { border-color: var(--line); }
.tuning-grid > article { padding: 30px; background: #1d2425; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0; box-shadow: none; }
.tuning-grid h2 { color: white; }
.tuning-grid .brand-mark { filter: grayscale(1) brightness(2); }
.product-option { border-color: var(--line); }
.product-option h3 { color: white; }
.product-option p { color: var(--muted); }
.benefits-grid { gap: 28px; }
.benefits-grid article { padding: 12px 0; border: 0; border-top: 1px solid var(--red); }
.benefits-grid h3 { color: white; }
.packages-section { width: 100%; max-width: none; padding: 70px max(var(--content-gutter),calc((100vw - var(--content-max))/2)); background: #202728; border: 0; border-radius: 0; }
.packages-section > * { max-width: var(--content-max); margin-left: auto; margin-right: auto; }
.packages-section .section-head { width: 100%; }
.package-inclusions { background: #141a1b; color: #e1e3df; border: 1px solid var(--line); border-left: 3px solid var(--red); }
.oil-package { border-color: var(--line); border-radius: 0; background: #1c2324; box-shadow: none; }
.oil-copy h3, .oil-copy .package-price { color: white; }
.oil-copy .interval { color: var(--muted); }
.package-note { color: var(--muted); }
.addon-card { border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 0; background: #1c2324; }
.addon-card h3, .addon-card .package-price { color: white; }

/* The contact panels have a deliberate inner margin on every shaded surface. */
.enquiry-section { box-sizing: border-box; width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); max-width: var(--content-max); margin: 0 auto; padding: clamp(34px,5vw,70px); gap: clamp(30px,6vw,88px); background: #202728; color: var(--ink); border: 1px solid var(--line); }
.enquiry-intro h2 { color: white; }
.enquiry-intro > p:not(.eyebrow) { color: #c8ceca; }
.phone { color: white; }
.enquiry-note { border-color: #66706d; }
form { padding: clamp(24px,3.5vw,44px); background: #f3f0e8; color: #333838; border: 0; border-radius: 0; box-shadow: none; }
form h3 { color: #151b1c; text-transform: uppercase; }
label { color: #252b2c; }
input, textarea, select { border: 1px solid #b9beb9; border-radius: 0; background: #fffefa; color: #1a1d1e; }
input::placeholder, textarea::placeholder { color: #646b68; }
.form-note { color: #5b615f; }
.visit-section { box-sizing: border-box; width: min(calc(100% - 2 * var(--content-gutter)),var(--content-max)); max-width: var(--content-max); margin: 0 auto; padding: clamp(34px,5vw,70px); gap: clamp(30px,6vw,88px); background: #f0eee7; color: #333838; border: 0; }
.visit-section h2 { color: #151b1c; }
.visit-section p { color: #4d5552; }
.visit-card { padding: clamp(24px,3.5vw,42px); background: #202728; color: #d4d8d4; border: 1px solid #454d4c; border-top: 3px solid var(--red); border-radius: 0; box-shadow: none; }
.visit-card > div { border-color: #495151; }
.visit-card strong, .visit-card > a { color: white; }
.faq-section { gap: 10%; }
.faq-list details { border-color: var(--line); }
.faq-list summary { color: white; }
.faq-list details p { color: var(--muted); }
.enquiry-section + .visit-section { margin-top: 0; }

footer { padding: 54px var(--page-inset) 24px; background: #0d1213; color: #aeb4b1; border-top: 1px solid var(--line); border-radius: 0; }
.footer-grid { max-width: var(--content-max); margin: 0 auto; gap: 44px; }
.footer-grid h3 { color: white; }
.footer-grid a { color: #dce0da; }
.footer-bottom { max-width: var(--content-max); margin: 34px auto 0; padding-top: 20px; border-color: #343b3b; color: #939b97; }
.footer-bottom a { color: #d0d5d0; }
.mobile-actions { padding: 10px var(--content-gutter); padding-bottom: max(10px,env(safe-area-inset-bottom)); background: #101617f5; border-color: var(--line); }
.mobile-actions a { border-radius: 0; }
.mobile-actions a:last-child { background: #252c2d; color: white; }
.filters .filter { background: #1d2425; border-color: var(--line); color: var(--ink); }
.filters .filter.active { background: var(--red); border-color: var(--red); color: white; }
.archive-gallery .project-copy { color: var(--muted); }
dialog { background: #161d1e; color: white; border: 1px solid var(--line); border-radius: 0; }
.dialog-caption h3 { color: white; }
.gallery-controls button, .dialog-close { color: white; border-radius: 0; }

@media (max-width: 1100px) {
  .home-opening { min-height: 660px; }
  .brand-strip { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
  .brand-cards article { grid-template-columns: 130px 160px 1fr; }
  .brand-cards .text-link { grid-column: 2 / 4; justify-self: start; }
  .enquiry-section, .visit-section { gap: 32px; }
}
@media (max-width: 700px) {
  .topbar, .site-header, footer { padding-left: var(--content-gutter); padding-right: var(--content-gutter); }
  .site-header { min-height: 76px; }
  .logo img { width: min(205px,58vw); }
  #navigation { background: #111819; color: white; }
  #navigation > a, #navigation summary { color: white; }
  #navigation > a:hover, #navigation summary:hover, #navigation [aria-current], #navigation .current { background: #252c2d; color: white; }
  #navigation > a, #navigation summary { border-radius: 0; }
  .home-opening { min-height: 0; height: auto; padding: 50px var(--content-gutter) 16px; gap: 42px; }
  .home-opening:before { background: linear-gradient(180deg,#101617b8 0%,#10161765 40%,#101617c9 100%); }
  .home-photo > img { object-position: 59% center; }
  .home-title { width: 100%; margin: 0 0 4px; }
  .home-title h1 { font-size: clamp(3.1rem,13vw,5rem); line-height: .87; }
  .home-title > div { max-width: 360px; margin-top: 22px; }
  .home-title > div > p { font-size: .95rem; }
  .home-photo figcaption { display: none; }
  .service-rail { grid-template-columns: 1fr; }
  .service-rail a { min-height: 72px; padding: 14px 16px; border-right: 0; border-bottom: 1px solid #ffffff28; }
  .service-rail a:last-child { border-bottom: 0; }
  .service-rail strong { font-size: 1.42rem; margin-bottom: 4px; }
  .brand-strip { grid-template-columns: repeat(4,minmax(0,1fr)); padding: 9px; gap: 4px; }
  .brand-strip a { min-height: 44px; }
  .brand-strip img { width: min(100%,78px); max-height: 34px; }
  .section { padding-top: var(--section-space-mobile); padding-bottom: var(--section-space-mobile); }
  .section-head { display: grid; gap: 18px; margin-bottom: 27px; }
  .section-head h2 { font-size: 2.45rem; }
  .two-paths { grid-template-columns: 1fr; gap: 30px; padding-top: 56px; }
  .path-heading h2 { font-size: 2.8rem; }
  .aftermarket-intro.section { grid-template-columns: 1fr; gap: 25px; padding: 28px 22px; }
  .aftermarket-copy h2 { font-size: 2.5rem; }
  .aftermarket-feature { min-height: 0; padding: 24px; }
  .aftermarket-feature .button { width: 100%; text-align: center; }
  .workshop-story { grid-template-columns: 1fr; }
  .workshop-story > img { min-height: 0; height: 260px; }
  .workshop-story > div { padding: 28px 22px; }
  .workshop-story h2 { font-size: 2.55rem; }
  .selected-work .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  .selected-work .project:nth-child(2), .selected-work .project:nth-child(3) { margin-top: 0; }
  .selected-work .project > img { aspect-ratio: 4/3; }
  .home-reviews { margin-bottom: 46px; padding: 28px 22px; }
  .home-reviews .review-grid { grid-template-columns: 1fr; grid-template-rows: auto; gap: 0; }
  .home-reviews .review-featured { grid-row: auto; padding: 24px 0; }
  .cta-band { margin-bottom: 18px; padding: 28px 22px; flex-direction: column; align-items: flex-start; gap: 22px; }
  .cta-band h2 { font-size: 2.65rem; }
  .cta-band .button { width: 100%; text-align: center; }
  .service-heading { padding: 28px 0 22px; }
  .service-heading h1 { font-size: clamp(3.4rem,14vw,5.5rem); }
  .service-stage { grid-template-columns: 1fr; }
  .service-stage figure { min-height: 260px; order: 1; }
  .service-brief { order: 2; padding: 26px 22px; }
  .service-brief h2 { font-size: 2.3rem; }
  .page-intro .intro-copy { padding: 30px 0 36px; }
  .page-intro h1 { font-size: clamp(3.25rem,13vw,5.4rem); }
  .intro-description { font-size: 1rem; }
  .service-row { grid-template-columns: 1fr; gap: 20px; padding: 28px 0; }
  .service-row:nth-child(even) .row-image { order: 0; }
  .row-image { height: 220px; }
  .service-row h2 { font-size: 2.6rem; }
  .brand-cards article { grid-template-columns: 100px 1fr; gap: 12px 18px; padding: 20px 0; }
  .brand-cards img { width: 95px; height: 45px; grid-column: 1; grid-row: 1; }
  .brand-cards h3 { grid-column: 2; grid-row: 1; font-size: 1.45rem; }
  .brand-cards p, .brand-cards .text-link { grid-column: 1 / -1; }
  .brand-cards .text-link { justify-self: start; }
  .setup-section { grid-template-columns: 1fr; gap: 27px; padding: 28px 22px; }
  .setup-section h2 { font-size: 2.55rem; }
  .option-grid { grid-template-columns: 1fr; gap: 14px; }
  .option-grid article { padding: 22px; }
  .tuning-grid { grid-template-columns: 1fr; gap: 20px; }
  .tuning-grid > article { padding: 24px 20px; }
  .tuning-grid h2 { font-size: 2.5rem; }
  .benefits-grid { grid-template-columns: 1fr 1fr; gap: 18px; padding-top: 28px; padding-bottom: 28px; }
  .benefits-grid h3 { font-size: 1.25rem; }
  .packages-section { padding: 50px var(--content-gutter); }
  .package-grid { display: block; }
  .oil-package { grid-template-columns: 72px 1fr; gap: 15px; padding: 20px 0; }
  .oil-photo { height: 140px; padding: 5px 0; }
  .oil-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .oil-copy h3 { font-size: 1.55rem; }
  .oil-copy .package-price { margin: 14px 0; font-size: 2rem; }
  .oil-copy .interval { margin: 0 0 14px; }
  .oil-copy .button { width: 100%; }
  .addon-grid { grid-template-columns: 1fr; gap: 16px; }
  .addon-card { padding: 22px; }
  .enquiry-section, .visit-section { grid-template-columns: 1fr; gap: 28px; padding: 28px 22px; }
  .enquiry-intro h2, .visit-section h2 { font-size: 2.65rem; }
  .phone { font-size: 1.9rem; }
  form { padding: 22px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  form h3 { font-size: 1.65rem; }
  .faq-section { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand img { width: min(205px,58vw); }
  .footer-bottom { flex-direction: column; gap: 15px; }
  dialog { width: 94vw; max-height: 90dvh; }
  #full-image { max-height: 58dvh; }
}

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

/* Light mode: warm service-manual paper with charcoal type and signal-red wayfinding. */
:root { --red:#c8322a; --navy:#f4f1e9; --ink:#171b1b; --muted:#5a625f; --line:#d2cec4; --light:#e9e6de; --white:#fffdf8; --surface:#f9f7f1; }
html { background:#f4f1e9; color-scheme:light; scrollbar-color:#8e918c #ebe8e0; }
body { background:#f4f1e9; color:#5a625f; }
h1,h2,h3 { color:#171b1b; }
a { color:#171b1b; }
a:hover { color:#a92721; }
.topbar { background:#c8322a; color:white; }
.topbar a { color:white; }
.site-header { background:#f4f1e9; color:#171b1b; border-color:#d2cec4; }
#navigation { color:#171b1b; }
#navigation > a, #navigation summary { color:#171b1b; }
#navigation > a:hover, #navigation summary:hover, #navigation [aria-current], #navigation .current { background:#e5e1d8; color:#171b1b; }
.service-dropdown { background:#fffdf8; border-color:#d2cec4; box-shadow:0 15px 32px #171b1b18; }
.service-dropdown a { color:#171b1b; }
.service-dropdown a:hover { background:#e9e6de; color:#a92721; }
.button { background:#c8322a; border-color:#c8322a; color:white; }
.button:hover { background:#a92721; border-color:#a92721; color:white; }
.text-link { color:#171b1b; text-decoration-color:#c8322a; }
.eyebrow, .project-copy small { color:#a92721; }
.section-head > p, .path-heading p, .path-list p { color:#5a625f; }
.service-rail { background:#f4f1e9f5; border-color:#d2cec4; box-shadow:0 8px 26px #11181924; }
.service-rail a { border-color:#d2cec4; }
.service-rail strong { color:#171b1b; }
.service-rail span { color:#5a625f; }
.service-rail a:hover, .service-rail a:focus-visible { background:#c8322a; color:white; }
.service-rail a:hover strong, .service-rail a:hover span { color:white; }
.brand-strip { background:#e9e6de; border-color:#d2cec4; }
.brand-strip img { filter:grayscale(.25); }
.brand-strip a:hover img { filter:none; }
.path-list article { border-color:#d2cec4; }
.path-list h3 { color:#171b1b; }
.aftermarket-intro.section { background:#e9e6de; border-color:#d2cec4; }
.aftermarket-copy h2, .aftermarket-copy p { color:#171b1b; }
.aftermarket-feature { background:#fffdf8; border-color:#d2cec4; color:#5a625f; }
.aftermarket-feature img { filter:none; }
.aftermarket-feature h3 { color:#171b1b; }
.aftermarket-feature p { color:#5a625f; }
.aftermarket-feature .button { background:#c8322a; border-color:#c8322a; color:white; }
.workshop-story { background:#e9e6de; border-color:#d2cec4; color:#5a625f; }
.workshop-story h2 { color:#171b1b; }
.workshop-story p { color:#5a625f; }
.workshop-story .text-link { color:#171b1b; }
.selected-work .project, .archive-gallery .project { background:#fffdf8; border-color:#d2cec4; color:#5a625f; }
.project-copy strong, .project-copy > span { color:#171b1b; }
.selected-work .project-copy > span { color:#363d3a; }
.home-reviews { background:#e9e6de; border-color:#d2cec4; }
.home-reviews .section-head h2, .home-reviews .review blockquote, .home-reviews .review-person strong { color:#171b1b; }
.home-reviews .google-rating { background:#fffdf8; border-color:#d2cec4; color:#171b1b; }
.home-reviews .google-rating > strong { color:#171b1b; }
.home-reviews .review-featured { border-color:#c8322a; }
.home-reviews .review-compact { border-color:#d2cec4; }
.home-reviews .source-note { color:#626966; }
.cta-band { background:#c8322a; }
.cta-band h2, .cta-band p:not(.eyebrow) { color:white; }
.cta-band .button { background:#171b1b; border-color:#171b1b; color:white; }
.service-heading h1, .breadcrumbs { color:#171b1b; }
.breadcrumbs a { color:#414846; }
.service-stage { border-color:#d2cec4; }
.service-stage figcaption { background:#171b1bdf; color:white; }
.service-brief { background:#e9e6de; color:#5a625f; }
.service-brief h2 { color:#171b1b; }
.service-brief .text-link { color:#171b1b; }
.page-intro { background:#e9e6de; }
.page-intro h1 { color:#171b1b; }
.intro-description { color:#5a625f; }
.service-row { border-color:#d2cec4; }
.service-row h2, .brand-cards h3, .option-grid h3, .tuning-grid h2, .product-option h3 { color:#171b1b; }
.service-row p:not(.eyebrow), .brand-cards p, .option-grid p, .product-option p { color:#5a625f; }
.row-image { background:#e9e6de; }
.brand-cards article { border-color:#d2cec4; }
.brand-cards img, .tuning-grid .brand-mark { filter:none; }
.setup-section { background:#e9e6de; border-color:#d2cec4; }
.setup-section h2, .steps strong { color:#171b1b; }
.steps li { border-color:#d2cec4; }
.steps p { color:#5a625f; }
.option-grid article, .tuning-grid > article { background:#fffdf8; border-color:#d2cec4; }
.fitment-note { border-color:#d2cec4; }
.product-option { border-color:#d2cec4; }
.benefits-grid article { border-color:#c8322a; }
.benefits-grid h3 { color:#171b1b; }
.packages-section { background:#e9e6de; }
.package-inclusions { background:#fffdf8; color:#414846; border-color:#d2cec4; border-left-color:#c8322a; }
.oil-package, .addon-card { background:#fffdf8; border-color:#d2cec4; }
.oil-copy h3, .oil-copy .package-price, .addon-card h3, .addon-card .package-price { color:#171b1b; }
.oil-copy .interval, .package-note { color:#5a625f; }
.enquiry-section { background:#e9e6de; color:#171b1b; border-color:#d2cec4; }
.enquiry-intro h2, .enquiry-intro > p:not(.eyebrow), .phone { color:#171b1b; }
.enquiry-hours { color:#5a625f; }
.enquiry-note { border-color:#c8c4ba; }
.enquiry-note strong, .enquiry-note a { color:#171b1b; }
form { background:#fffdf8; color:#414846; }
form h3, label { color:#171b1b; }
input, textarea, select { border-color:#b9b5ab; background:white; color:#171b1b; }
.form-note { color:#5a625f; }
.visit-section { background:#e9e6de; color:#414846; }
.visit-section h2 { color:#171b1b; }
.visit-section p { color:#5a625f; }
.visit-card { background:#fffdf8; color:#5a625f; border-color:#d2cec4; border-top-color:#c8322a; }
.visit-card > div { border-color:#d2cec4; }
.visit-card strong, .visit-card > a { color:#171b1b; }
.faq-list details { border-color:#d2cec4; }
.faq-list summary { color:#171b1b; }
.faq-list details p { color:#5a625f; }
footer { background:#e3e0d7; color:#4e5653; border-color:#ccc8be; }
.footer-grid h3, .footer-grid a { color:#171b1b; }
.footer-bottom { border-color:#c9c5bb; color:#5a625f; }
.footer-bottom a { color:#414846; }
.mobile-actions { background:#f4f1e9f5; border-color:#d2cec4; }
.mobile-actions a:last-child { background:#e9e6de; color:#171b1b; }
.filters .filter { background:#fffdf8; border-color:#d2cec4; color:#171b1b; }
.filters .filter.active { background:#c8322a; border-color:#c8322a; color:white; }
dialog { background:#fffdf8; color:#171b1b; border-color:#d2cec4; }
.dialog-caption h3, .gallery-controls button, .dialog-close { color:#171b1b; }

/* Soft corners make the light surfaces read as deliberate panels, not flat bands. */
:root { --radius-panel:24px; --radius-card:16px; --radius-small:12px; }
.service-rail { border-radius:var(--radius-card); }
.brand-strip { border-radius:var(--radius-card); }
.aftermarket-intro.section, .workshop-story, .home-reviews, .cta-band,
.service-stage, .setup-section, .enquiry-section, .visit-section {
  border-radius:var(--radius-panel);
}
.aftermarket-feature, .selected-work .project, .archive-gallery .project,
.home-reviews .google-rating, .option-grid article, .tuning-grid > article,
.oil-package, .addon-card, .visit-card, form, .package-inclusions {
  border-radius:var(--radius-card);
}
.service-dropdown, .filters .filter, .filters .filter.active, dialog {
  border-radius:var(--radius-small);
}
.selected-work .project > img, .archive-gallery .project > img {
  border-radius:0;
}
.aftermarket-feature img { border-radius:8px; }
input, textarea, select { border-radius:10px; }
.button, .mobile-actions a, .gallery-controls button, .dialog-close {
  border-radius:10px;
}
footer { border-radius:var(--radius-panel) var(--radius-panel) 0 0; }
.mobile-actions { border-radius:16px 16px 0 0; }
.page-intro {
  width:min(calc(100% - 2 * var(--content-gutter)),var(--content-max));
  margin:0 auto;
  overflow:hidden;
  border-radius:var(--radius-panel);
}
.page-intro .intro-copy {
  box-sizing:border-box;
  width:100%;
  max-width:none;
  padding:clamp(32px,4vw,52px) clamp(22px,4vw,52px) clamp(40px,5vw,62px);
}
.packages-section {
  box-sizing:border-box;
  width:min(calc(100% - 2 * var(--content-gutter)),var(--content-max));
  margin:0 auto;
  padding:clamp(34px,4vw,60px);
  border-radius:var(--radius-panel);
}

@media (max-width:700px) {
  :root { --radius-panel:18px; --radius-card:14px; --radius-small:10px; }
  .page-intro .intro-copy { padding:28px 22px 32px; }
  .packages-section { padding:32px 18px; }
}

@media (max-width: 768px) {
  #navigation {
    background-color: #ffffff;
  }
}

/* Rounded hit areas keep navigation hover and selected states in the same system. */
.site-header #navigation > a,
.site-header #navigation summary {
  border-radius:10px;
}
