:root {
  color-scheme: light;
  --ink: #202327;
  --muted: #535b63;
  --paper: #f8f9f9;
  --grey: #e9edf0;
  --line: #d0d7dd;
  --blue: #205781;
}
* { box-sizing: border-box }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, "Segoe UI", sans-serif }
a { color: inherit; text-underline-offset: .23em }
a:hover { color: var(--blue) }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px }
img { display: block; width: 100%; object-fit: cover }
p { margin: 0 0 1em; color: var(--muted) }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.035em; font-weight: 650 }
h1 { font-size: clamp(2.25rem, 4.1vw, 4.15rem) }
h2 { font-size: clamp(1.5rem, 2.7vw, 2.35rem) }
.wrap { width: min(1140px, calc(100% - 64px)); margin-inline: auto }
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5 }
.bar { min-height: 72px; display: flex; justify-content: space-between; gap: 24px; align-items: center }
.brand { color: var(--blue); font-weight: 760; font-size: 1.18rem; white-space: nowrap; text-decoration: none }
.bar nav { display: flex; gap: clamp(12px, 2vw, 28px); align-items: center }
.bar nav a { text-decoration: none; font-size: .94rem }
.bar nav a[aria-current] { color: var(--blue); text-decoration: underline }
.bar nav a:last-child { border: 1px solid var(--line); padding: 8px 13px }
.toggle { display: none }
.button { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; padding: 10px 17px; border: 1px solid var(--blue); border-radius: 3px; cursor: pointer; font: inherit; font-weight: 620 }
.button:hover { background: #183f5e; color: #fff }
.button.outline { background: transparent; color: var(--blue) }
.text-link { color: var(--blue); font-weight: 620 }
.front { background: var(--grey); padding-block: 40px }
.front-layout { display: grid; grid-template-columns: .9fr 1.22fr; align-items: center; gap: clamp(25px, 5vw, 74px) }
.front h1 { max-width: 14ch }
.front p { max-width: 43ch }
.front img { aspect-ratio: 1.38; object-position: center }
.front-contact { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 17px; margin-top: 24px }
.front-contact>a:nth-child(2) { font-size: .95rem }
.section { padding-block: 52px }
.service-list { border-top: 1px solid var(--line) }
.service-row { display: grid; grid-template-columns: minmax(0,1fr) 8rem 8rem; gap: 22px; align-items: center; padding: 17px 0; border-bottom: 1px solid var(--line) }
.service-row h2 { font-size: 1.17rem; letter-spacing: -.012em; margin-bottom: 4px }
.service-row h2 a { text-decoration: none }
.service-row p { margin: 0 }
.row-price { color: var(--ink); font-weight: 650 }
.maintenance-link { margin-top: 20px }
.work-section,.cta,.foot { background: var(--grey) }
.heading,.cta-inner { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px }
.heading h2 { margin: 0 }
.work-strip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px }
.work-strip img { height: clamp(175px,31vw,370px) }
.intro { border-bottom: 1px solid var(--line); background: var(--grey); padding-block: 42px 34px }
.lead { margin: 0; max-width: 62ch }
.detail,.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,5vw,70px); align-items: start }
.detail img,.split img { aspect-ratio: 4/3; margin-bottom: 18px }
.package { border-top: 2px solid var(--line); padding-top: 20px }
.package .text-link { display: block; margin-top: 12px }
.kicker { font-weight: 650 }
.big-price { font-size: 1.85rem; font-weight: 680; color: var(--blue) }
.checks { margin: 0 0 20px; padding-left: 20px }
.checks li { padding-block: 3px }
.plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px }
.cta-inner { align-items: center; padding-block: 30px; margin-bottom: 0 }
.cta p { margin: 0 }
.gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px }
.gallery img { aspect-ratio: 4/3 }
dialog { max-width: min(95vw,1100px); max-height: 95vh; padding: 12px; border: 1px solid var(--line) }
dialog::backdrop { background: #000b }
dialog img { max-height: 80vh; object-fit: contain }
dialog button { display: block; margin: 0 0 10px auto }
label { display: block; margin-bottom: 12px; font-weight: 620 }
input, select, textarea { display: block; width: 100%; background: #fff; border: 1px solid #9faab4; border-radius: 2px; padding: .5rem; margin-top: 4px; font: inherit; color: var(--ink) }
.contact a,.foot a { overflow-wrap: anywhere }
.hint { margin: 12px 0 0; font-size: .92rem }
.foot { padding-block: 28px; border-top: 1px solid var(--line) }
.foot-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px }
.foot a:not(.brand) { display: block }
.sr,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%) }
.skip:focus { position: fixed; z-index: 10; padding: 8px; background: white }
@media(max-width: 780px) {
  .wrap { width: calc(100% - 36px) }
  .bar { min-height: 61px }
  .toggle { display: block; border: 1px solid var(--line); background: white; padding: 6px 12px; font: inherit; cursor: pointer }
  .bar nav { display: none; position: absolute; top: 100%; inset-inline: 0; padding: 10px 18px; background: white; border-bottom: 1px solid var(--line) }
  .bar nav.open { display: grid; gap: 0 }
  .bar nav a { padding: 8px }
  .front { padding-block: 27px 20px }
  .front-layout,.detail,.split,.plans,.foot-grid { grid-template-columns: 1fr }
  .front img { aspect-ratio: 1.6 }
  .section { padding-block: 32px }
  .service-row { grid-template-columns: 1fr auto; gap: 6px 12px }
  .service-row>div { grid-column: 1/-1 }
  .work-strip { gap: 8px }
  .work-strip img { height: clamp(118px,34vw,250px) }
  .gallery { gap: 9px }
  .cta-inner { align-items: start; flex-direction: column }
}


/* Charcoal photography sections and light service pages */
:root {
  --charcoal: #151a20;
  --navy: #1e2833;
  --on-dark: #f2f5f7;
  --dark-muted: #c1cbd6;
  --light-blue: #8bb8df;
}
.top,.foot,.work-section { background: var(--charcoal); color: var(--on-dark); border-color: #3a4652 }
.top .brand,.foot .brand,.bar nav a[aria-current],.work-section .text-link { color: var(--light-blue) }
.bar { min-height: 77px }
.bar nav a:hover { color: var(--light-blue) }
.bar nav a:last-child { border-color: #677788 }
.foot p,.front p { color: var(--dark-muted) }
.foot a:hover,.front-contact>a:nth-child(2):hover { color: var(--light-blue) }
.front { background: var(--navy); color: var(--on-dark); padding-block: clamp(35px,5vw,73px) }
.front-layout { grid-template-columns: .73fr 1.27fr; gap: clamp(26px,4.75vw,69px) }
.front h1 { font-size: clamp(2.55rem,4.6vw,4.85rem); max-width: 12ch; line-height: 1.02; letter-spacing: -.055em }
.front img { aspect-ratio: 1.36; border: 1px solid #526070; object-position: center 47% }
.front-contact .button { background: var(--light-blue); border-color: var(--light-blue); color: #142333 }
.front-contact .button:hover { background: #b4d5f0 }
.front-contact>a:nth-child(2) { color: var(--on-dark) }
.intro { background: var(--navy); color: var(--on-dark); border-color: #485563 }
.intro p { color: var(--dark-muted) }
.section { padding-block: clamp(34px,5vw,68px) }
.service-row { grid-template-columns: minmax(0,1fr) 9rem 8rem; padding-block: 20px }
.service-row h2 { font-size: 1.22rem }
.work-section .heading { margin-bottom: 24px }
.work-strip { grid-template-columns: 1.35fr 1fr; gap: 10px }
.work-strip img { height: clamp(170px,32vw,375px) }
.gallery { padding-block: clamp(24px,4vw,52px) }
.gallery img { aspect-ratio: 4/3 }
:where(.top,.front,.foot,.work-section) :focus-visible { outline-color: var(--light-blue) }
@media(max-width: 780px) {
  .bar { min-height: 63px }
  .toggle,.bar nav { color: var(--on-dark); background: var(--charcoal); border-color: #677788 }
  .bar nav a:last-child { margin-top: 6px }
  .front { padding-block: 29px 19px }
  .front-layout { grid-template-columns: 1fr; gap: 21px }
  .front h1 { font-size: clamp(2.55rem,8.8vw,4rem); max-width: 15ch }
  .front img { aspect-ratio: 1.5 }
  .service-row { grid-template-columns: 1fr auto }
  .work-strip img { height: clamp(125px,34vw,250px) }
}

.front .ferrari-hero { height: auto; aspect-ratio: 1.25; object-position: center 51% }
.gallery .ferrari-gallery { height: auto; aspect-ratio: 4/5; object-position: center 54% }
@media(max-width: 780px) {
  .front .ferrari-hero { aspect-ratio: 1.18 }
}

.compare-section { background: var(--grey); border-block: 1px solid var(--line); }
.comparison { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(10px,3vw,36px); }
.comparison>div { background: var(--paper); padding: clamp(10px,2.5vw,30px); }
.comparison-result { border-top: 1px solid var(--line); padding-top: 15px; overflow-wrap: anywhere }
.comparison select { max-width: 100%; }
.compare-price { color: var(--blue); font-weight: 680; font-size: 1.2rem; }
.gallery { grid-template-columns: repeat(3,minmax(0,1fr)); }
.gallery img { aspect-ratio: 4/3; }
.gallery .ferrari-gallery { aspect-ratio: 4/3; }
.film-section { background: var(--navy); color: var(--on-dark); border-top: 1px solid #3a4652; }
.film-layout { display: grid; grid-template-columns: 1fr minmax(0,1.75fr); align-items: center; gap: 30px; }
.film-layout p { color: var(--dark-muted); }
.film-layout .text-link { color: var(--light-blue); }
.film-layout video { width: 100%; max-height: 540px; aspect-ratio: 4/3; object-fit: contain; background: #101419; }
@media(max-width: 780px) {
  .film-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .comparison .checks { padding-left: 15px; }
  .comparison-result h3 { font-size: 1.05rem; }
}

.work-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
.work-strip img { height: auto; aspect-ratio: 4/3; }
.film-layout { grid-template-columns: 1fr minmax(0,390px); gap: clamp(24px,8vw,110px); }
.film-layout p { max-width: 53ch; }
.film-layout video { display: block; width: 100%; max-height: none; aspect-ratio: 9/16; object-fit: cover; object-position: center; }
@media(max-width: 780px) {
  .work-strip { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .film-layout { grid-template-columns: 1fr; }
  .film-layout video { width: min(100%,390px); }
}
