:root {
  --navy: #12027e;
  --ink: #1c1a2b;
  --muted: #4f4b5e;
  --violet: #5b21b6;
  --rule: #dedbe8;
  --paper: #f7f6fa;
  /* light end darkened from #b138f7 so white text passes 4.5:1 across the whole button */
  --brand: linear-gradient(135deg,#a02ce6,#391fd8);
  --brand-light: linear-gradient(135deg,#e0a8ff,#a99bff);
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
* {box-sizing:border-box}
body {margin:0;background:var(--paper);color:var(--ink);font:16px/1.6 'DM Sans','Segoe UI',Arial,sans-serif}
a {color:inherit;text-decoration:none}
button,summary {font:inherit;cursor:pointer}
address {font-style:normal}
:focus-visible {outline:3px solid #0786f6;outline-offset:4px}
main:focus {outline:none}
.shell {width:min(1200px,90%);margin-inline:auto}
.skip {position:fixed;z-index:30;top:10px;left:12px;background:white;color:var(--navy);font-weight:700;padding:12px 16px;border-radius:10px;transform:translateY(-160%)}
.skip:focus {transform:none}

/* Header */
header {position:fixed;z-index:10;inset:14px 0 auto;pointer-events:none}
header .shell {pointer-events:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:72px;padding:8px 14px 8px 16px;border:1px solid #ffffff91;border-radius:18px;background:#fffffff2;box-shadow:0 8px 36px #0d064024;backdrop-filter:blur(18px);transition:box-shadow .3s,background .3s}
header.scrolled .shell {background:#fffffffa;box-shadow:0 8px 28px #0d064020;border-color:#e1ddeb}
.logo {display:flex;min-height:44px;align-items:center;gap:10px;color:var(--navy);font-size:18px;font-weight:700;letter-spacing:-.02em;white-space:nowrap}
.logo img {display:block;width:50px;height:48px}
header nav,.actions,.visit-links {display:flex;align-items:center;gap:clamp(14px,2vw,28px)}
header nav a {display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;color:var(--ink)}
header nav a[aria-current="location"],header nav a:hover {color:var(--violet)}
.menu-trigger {display:none}

/* Buttons */
.button {display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:48px;padding:11px 22px;background:var(--brand);border:1px solid transparent;border-radius:100px;color:white;font-size:15px;font-weight:700;transition:transform .24s,box-shadow .24s,background-color .24s}
.button:hover {transform:translateY(-2px);box-shadow:0 10px 24px #391fd840}
header nav .button {min-height:44px;padding:9px 18px;background:var(--navy);color:white}
header nav .button:hover {color:white}
.button.secondary {background:#ffffff14;border-color:#ffffffb3;color:white}
.button.secondary:hover {background:#ffffff26;box-shadow:none}
.button.outline {background:white;border-color:#c9c3dc;color:var(--navy)}
.button.outline:hover {border-color:var(--navy);box-shadow:none}

/* Hero */
.hero {position:relative;isolation:isolate;display:grid;align-items:center;min-height:clamp(640px,90svh,940px);padding:140px max(5%,calc((100% - 1200px)/2)) 84px;overflow:hidden;background:#0d0640;color:#fff}
.hero figure {position:absolute;z-index:-2;inset:0;margin:0}
.hero picture {display:block;width:100%;height:100%}
.hero figure img {display:block;width:100%;height:100%;object-fit:cover;object-position:right center}
.hero figure:after {content:'';position:absolute;inset:0;background:linear-gradient(90deg,#07032af7 4%,#0d0640d6 36%,#0d06404d 70%,#0d064033),linear-gradient(0deg,#07032aa6,transparent 32%)}
.hero-copy {max-width:50%}
.hero h1 {font-size:clamp(44px,5.6vw,84px)}
.eyebrow,.kicker {font-size:12px;font-weight:600;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
.eyebrow {display:flex;align-items:center;gap:12px;color:#ddd2ff}
.eyebrow:before {content:'';width:28px;height:2px;background:var(--brand-light)}
h1,h2,p {margin:0}
h1 {font-size:clamp(46px,7.6vw,112px);font-weight:700;line-height:.98;letter-spacing:-.035em;margin:24px 0 26px}
.accent {background:var(--brand-light);-webkit-background-clip:text;background-clip:text;color:transparent}
.lede {max-width:40ch;color:#efecfa;font-size:clamp(17px,1.45vw,21px);line-height:1.55}
.actions {margin-top:32px;gap:14px;flex-wrap:wrap}

/* Sections */
h2 {color:var(--navy);font-size:clamp(36px,4.4vw,64px);letter-spacing:-.035em;line-height:1.04;font-weight:700;text-wrap:balance}
.kicker {display:block;color:var(--violet);margin-bottom:16px}
.repairs {padding-block:clamp(64px,8vw,116px)}
.repairs .intro {display:grid;grid-template-columns:1fr 1fr;gap:4% 8%;align-items:end;margin-bottom:clamp(28px,4vw,48px)}
.repairs .intro .kicker {grid-column:1/-1;margin-bottom:-4px}
.intro p {color:var(--muted);max-width:44ch;font-size:17px}
.services {display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.service {position:relative;display:flex;flex-direction:column;justify-content:flex-start;gap:0;overflow:hidden;background:white;border:1px solid var(--rule);border-radius:16px;padding:0;transition:transform .3s,border-color .3s,box-shadow .3s}
.service:hover,.service:focus-visible {transform:translateY(-4px);border-color:#b7a6e4;box-shadow:0 12px 30px #12027e12}
.service b {display:block;color:var(--navy);font-size:20px;letter-spacing:-.02em;line-height:1.25}
.service small {display:block;color:var(--muted);font-size:15px;line-height:1.45;margin-top:4px}
.service-photo {display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.service-text {padding:18px 42px 20px 20px}
.arrow {position:absolute;bottom:20px;right:16px;color:var(--violet);font-size:19px}
.also {margin-top:20px;color:var(--muted);font-size:15px}

.profile {display:grid;grid-template-columns:.95fr 1fr;gap:9%;align-items:center;background:white;border:1px solid var(--rule);border-radius:20px;padding:clamp(28px,5vw,68px)}
.profile p {color:var(--muted);max-width:52ch;font-size:17px}
.profile p+p {margin-top:14px}

.before-visit {display:grid;grid-template-columns:.8fr 1.42fr;gap:8%;padding-block:clamp(64px,8vw,116px)}
.questions {border-top:1px solid var(--rule)}
details {border-bottom:1px solid var(--rule)}
summary {list-style:none;display:flex;gap:20px;justify-content:space-between;align-items:center;min-height:64px;padding:16px 0;color:var(--navy);font-size:18px;font-weight:600}
summary::-webkit-details-marker {display:none}
summary:after {content:'+';font-size:24px;color:var(--violet)}
details[open] summary:after {content:'−'}
details p {color:var(--muted);max-width:60ch;padding-bottom:20px}

.visit {display:flex;justify-content:space-between;align-items:center;gap:32px;flex-wrap:wrap;border-top:1px solid var(--rule);padding:56px 0 72px}
.visit address {color:var(--muted);margin-top:14px;font-size:17px}
.visit-links {gap:12px;flex-wrap:wrap}

/* Footer */
footer {color:#e9e6f6;background:#0d0640;font-size:15px}
footer .shell {display:flex;justify-content:space-between;align-items:flex-start;gap:32px;flex-wrap:wrap;padding-block:48px 52px}
footer strong {display:block;color:white;font-size:17px;margin-bottom:8px}
footer address {color:#cfc9ea;line-height:1.6}
.footer-links {display:flex;flex-wrap:wrap;gap:4px 24px;margin:0;padding:0;list-style:none}
.footer-links a {display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#ffffff66}
.footer-links a:hover {text-decoration-color:white}
.action-bar {display:none}

/* Motion: image settle + section reveals only; hero copy renders immediately */
@keyframes enter {from{transform:translateY(23px);opacity:0}to{transform:none;opacity:1}}

@media(prefers-reduced-motion:no-preference) {

  .reveal.arrived {animation:enter .55s ease-out both}
}

@media(max-width:1000px) and (min-width:781px) {
  header nav {gap:14px}
  header nav a {font-size:14px}
  .logo span {display:none}
}
@media(max-width:780px) {
  :root {scroll-padding-top:92px}
  header {top:9px}
  header .shell {flex-wrap:wrap;min-height:62px;padding:6px 10px 6px 12px;border-radius:15px}
  .logo img {width:42px;height:40px}
  .js .menu-trigger {display:inline-flex;align-items:center;gap:10px;min-height:44px;background:var(--navy);color:white;border:0;border-radius:30px;padding:10px 16px;font-size:15px;font-weight:600}
  /* without JS the header nav stays visible as a wrapped row inside the header card */
  header nav {flex-wrap:wrap;gap:0 16px;width:100%}
  header nav a {min-height:44px;display:flex;align-items:center}
  html:not(.js) header {position:absolute}
  .js header nav {position:absolute;top:calc(100% + 6px);left:5%;right:5%;width:auto;display:grid;gap:0;background:white;border:1px solid var(--rule);box-shadow:0 12px 34px #0d064026;padding:12px 17px;border-radius:15px}
  .js header nav {max-height:calc(100vh - 160px);max-height:calc(100dvh - 160px - env(safe-area-inset-bottom));overflow-y:auto;overscroll-behavior-y:contain}
  .js header nav a {font-size:16px;min-height:48px;border-bottom:1px solid var(--rule)}
  .js header nav .button {margin-top:10px;border-bottom:0}
  .js .menu-trigger[aria-expanded="false"]+nav {display:none}
  .hero {min-height:clamp(580px,86svh,760px);align-items:end;padding:calc(78px + 62vw) 5% 44px}
  .hero-copy {max-width:100%}
  .hero h1 {font-size:clamp(46px,7.6vw,64px)}
  .hero figure {top:72px;height:125vw;bottom:auto}
  .hero figure img {object-position:88% top}
  .hero figure:after {background:linear-gradient(0deg,#0d0640 0%,#0d0640ef 28%,#0d0640aa 47%,transparent 59%)}
  .actions .button {flex:1 1 220px}
  .repairs .intro,.before-visit,.profile {grid-template-columns:1fr;gap:16px}
  .repairs .intro .kicker {margin-bottom:0}
  .before-visit {gap:24px}
  .repairs,.before-visit {padding-block:52px}
  .services {grid-template-columns:1fr 1fr;gap:10px}
  .profile {padding:28px 24px}
  .visit {gap:24px;padding:40px 0 48px}
  .visit-links .button {flex:1 1 240px}
  footer .shell {padding-block:40px 36px;gap:20px}
  /* clears the fixed action bar so the last footer links stay tappable */
  footer {padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .action-bar {position:fixed;z-index:15;inset:auto 0 0;display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fffffff5;border-top:1px solid var(--rule);box-shadow:0 -6px 24px #0d064014;backdrop-filter:blur(14px)}
  .action-bar a {display:flex;align-items:center;justify-content:center;min-height:52px;border:1px solid #c9c3dc;border-radius:14px;color:var(--navy);font-size:15px;font-weight:700}
  .action-bar .wa {background:var(--brand);border-color:transparent;color:white}
}
@media(max-width:600px) {
  .services {grid-template-columns:1fr;gap:8px}
  .service {flex-direction:row;justify-content:flex-start;align-items:center;gap:12px;min-height:80px;padding:9px 32px 9px 9px}
  .service:hover,.service:focus-visible {transform:none}
  .service-photo {width:80px;height:60px;flex:none;border-radius:8px}
  .service-text {padding:0}
  .service b {font-size:17px}
  .service small {font-size:14px;margin-top:2px}
  .arrow {top:50%;bottom:auto;right:12px;transform:translateY(-50%);font-size:0}
  .arrow:after {content:'›';font-size:26px;line-height:1}
}
@media(prefers-reduced-motion:reduce) {:root{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
@media print {header,.skip,.menu-trigger,.action-bar{display:none}body{padding:0}.hero{min-height:0;padding:30px;background:white;color:black}.hero figure{display:none}.hero-copy *{color:black}.accent{color:black;background:none}.shell{width:100%}}


.hero figure {overflow:hidden}
.hero-scene {position:relative;width:100%;height:100%;transform-origin:80% 60%}

@media(max-width:780px) {
  .hero-scene {transform-origin:58% 34%}
}

@media(min-width:1001px) { .services.four {grid-template-columns:repeat(4,1fr)} }
@media(min-width:601px) and (max-width:1000px) { .services.four {grid-template-columns:repeat(2,1fr)} }
