:root {
  color-scheme: light;
  --ink: #191917;
  --paper: #f1efe8;
  --signal: #f39829;
  --rust: #9b3f12;
  --muted: #59564e;
  --display: Impact, 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
  --body: 'Segoe UI', system-ui, sans-serif;
  --gutter: clamp(1.125rem, 5vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.5 var(--body); }
a { color: inherit; }
[id] { scroll-margin-top: 1.25rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
h1, h2, p { margin: 0; }
.shell { width: min(100%, 96rem); margin-inline: auto; padding-inline: var(--gutter); }

.skip { position: absolute; left: 1rem; top: 1rem; z-index: 2; padding: .6rem 1rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }

.masthead { background: #000; color: var(--paper); }
.masthead-inner { min-height: 6.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.wordmark { display: block; flex-shrink: 0; width: 10.6rem; margin-left: -.45rem; }
.wordmark img { display: block; width: 100%; height: auto; }
.masthead nav { display: flex; align-items: center; gap: clamp(1.3rem, 3.5vw, 3rem); }
.masthead nav a { padding-block: .7rem; font-size: .94rem; font-weight: 700; text-decoration: none; }
.masthead nav a:hover { text-decoration: underline; text-underline-offset: .35em; }

.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper); border-top: 1px solid #4e4b42; }
.hero-inner { display: grid; grid-template-areas: 'hero'; padding-right: 0; }
.hero-copy { position: relative; z-index: 1; grid-area: hero; display: flex; align-items: flex-start; flex-direction: column; justify-content: center; width: min(100%, 50rem); padding: clamp(4.25rem, 8.2vw, 8.4rem) 1rem clamp(4.1rem, 7vw, 7.4rem) 0; }
.eyebrow { font-size: .875rem; font-weight: 800; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: .65rem; margin-bottom: 1.6rem; }
.hero-copy .eyebrow span { height: 3px; width: 1.7rem; background: var(--signal); }
.hero h1 { font: 900 clamp(4rem, 8.6vw, 9.35rem)/.89 var(--display); letter-spacing: -.015em; text-transform: uppercase; }
.hero h1 > span { display: block; }
.hero h1 > span:last-child { margin-top: .075em; color: var(--signal); font-size: 1.31em; letter-spacing: -.035em; }
.hero-period { color: var(--paper); }
.hero-description { max-width: 31rem; margin-top: 1.75rem; font-size: clamp(1rem, 1.65vw, 1.25rem); font-weight: 650; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.35rem; padding: .75rem 1.25rem; border: 1px solid transparent; border-radius: 0; font: 800 1rem/1.25 var(--body); text-decoration: none; cursor: pointer; }
.button-dark { background: var(--paper); color: var(--ink); margin-top: 1.9rem; }
.button-dark:hover { background: var(--signal); }
.button-dark:focus-visible { outline-color: var(--paper); }
.hero-visual { position: absolute; inset: 0 0 0 30%; clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%); background: #383834; }
.hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 47%; }
.hero-visual::after { position: absolute; inset: 0; background: linear-gradient(90deg, #191917 0%, #191917e8 17%, #19191742 47%, transparent 75%); content: ''; }

.garage-info { background: var(--signal); border-bottom: 1px solid #aa5c1f; }
.info-inner { display: grid; grid-template-columns: 1.26fr 1fr .68fr; }
.info-item { display: grid; align-content: center; gap: .3rem; min-height: 6.65rem; padding: 1.1rem 1rem 1.1rem 0; text-decoration: none; }
.info-item + .info-item { padding-left: clamp(1rem, 3vw, 2.6rem); border-left: 1px solid #aa5c1f; }
.info-item .eyebrow { font-size: .82rem; }
.info-item span:last-child { font-size: clamp(.94rem, 1.3vw, 1.09rem); font-weight: 700; }
a.info-item:hover span:last-child { text-decoration: underline; text-underline-offset: .22em; }

.services { display: grid; grid-template-columns: .74fr 1fr; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
h2 { font: normal clamp(3.4rem, 7vw, 6.15rem)/.95 var(--display); text-transform: uppercase; }
.services h2 span { color: var(--rust); }
.contact h2 span { color: var(--signal); }
.services p { max-width: 27ch; margin-top: 1.2rem; color: var(--muted); font-size: 1.125rem; }
.service-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--ink); }
.service-list li { display: flex; align-items: center; gap: .8rem; min-height: 3.55rem; padding-block: .72rem; border-bottom: 1px solid #cbc7ba; font-size: clamp(1.17rem, 2vw, 1.65rem); font-weight: 750; line-height: 1.22; }
.service-list li::before { width: .35rem; height: .8rem; margin-left: .25rem; background: var(--rust); transform: skewX(-19deg); content: ''; flex: 0 0 .35rem; }

.contact { background: var(--ink); color: var(--paper); }
.contact-inner { display: grid; grid-template-columns: .74fr 1fr; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(3.5rem, 7vw, 7rem); }
.contact-email { margin-top: 1.2rem; font-size: 1.06rem; overflow-wrap: anywhere; }
form { display: grid; gap: 1.1rem; }
.field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
form label { display: grid; gap: .38rem; min-width: 0; font-size: .94rem; font-weight: 700; }
form :is(input, textarea) { width: 100%; min-height: 3rem; padding: .7rem .75rem; border: 1px solid #8b877c; border-radius: 0; background: #272723; color: var(--paper); font: 1rem/1.4 var(--body); }
form textarea { min-height: 8.5rem; resize: vertical; }
form :is(input, textarea):focus { border-color: var(--paper); }
.contact form .button { justify-self: start; }
.button-red { background: var(--signal); color: var(--ink); }
.button-red:hover { background: var(--paper); }
.button-red:focus-visible { outline-color: var(--paper); }
.button:disabled { cursor: wait; opacity: .72; }
.form-status { color: #d0cdc2; font-size: .875rem; }
.form-status:empty { display: none; }
.footer { background: #000; color: var(--paper); border-top: 1px solid #544f45; }
.footer-inner { display: grid; grid-template-columns: minmax(9rem, .74fr) minmax(0, 1fr) auto; align-items: center; gap: 1rem clamp(1rem, 6vw, 5.5rem); padding-block: 1.25rem; }
.footer-logo { display: block; width: 10.6rem; max-width: 100%; height: auto; margin-left: -.45rem; }
.footer-contact { display: grid; justify-items: start; gap: .4rem; font-style: normal; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-phone { color: var(--signal); font-weight: 750; }
.footer-top { justify-self: start; font-size: .875rem; }
.footer a { text-underline-offset: .2em; }

@media (max-width: 52rem) {
  .contact-inner, .services { grid-template-columns: .62fr 1fr; gap: 2.5rem; }
  .hero-visual { left: 19%; }
  .hero-visual::after { background: linear-gradient(90deg, #191917 0%, #191917ba 33%, transparent 90%); }
  .hero h1 { font-size: clamp(3.5rem, 10vw, 6.25rem); }
}

@media (max-width: 42rem) {
  .masthead-inner { min-height: 4.65rem; }
  .wordmark { width: 8.5rem; }
  .hero-inner { padding: 0; }
  .hero-copy { min-height: min(36rem, 138vw); justify-content: flex-end; padding: 4.1rem var(--gutter) 2.75rem; }
  .hero h1 { font-size: clamp(3.3rem, 12.6vw, 5.95rem); }
  .hero-copy .eyebrow { margin-bottom: 1.05rem; }
  .hero-description { margin-top: 1rem; }
  .hero-visual { inset: 0; clip-path: none; }
  .hero-visual::after { background: linear-gradient(0deg, #191917 0%, #191917e8 27%, #19191783 62%, #19191723 100%); }
  .hero-visual img { object-position: 62% 46%; }
  .info-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  a.info-item:first-child { grid-column: 1 / -1; border-bottom: 1px solid #aa5c1f; }
  .info-item { min-height: 4.95rem; }
  .info-item:nth-child(2) { border-left: 0; padding-left: 0; }
  .info-item:last-child { padding-right: 0; }
  .services, .contact-inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr); gap: .75rem; padding-block: 1rem 1.8rem; }
  .footer-logo { width: 8.5rem; }
}

@media (max-width: 24rem) {
  .masthead nav { gap: .95rem; }
  .hero h1 { font-size: clamp(2.8rem, 13.6vw, 3.7rem); }
  .field-pair { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.hero h1 {
  text-shadow: 0 .045em .16em rgb(0 0 0 / .52);
}

.hero-call {
  display: inline-grid;
  grid-template-columns: 3.7rem minmax(0, 1fr);
  min-height: 3.7rem;
  max-width: 100%;
  margin-top: 1.9rem;
  border-bottom: 2px solid #9b5420;
  background: var(--signal);
  box-shadow: 0 .45rem 1.25rem rgb(0 0 0 / .3);
  color: var(--ink);
  text-decoration: none;
}

.hero-call-icon {
  display: grid;
  place-items: center;
  padding-right: .45rem;
  background: linear-gradient(108deg, #241e18 0 83%, transparent 84%);
  color: var(--signal);
  font: 1.65rem/1 'Segoe UI Symbol', system-ui, sans-serif;
}

.hero-call-copy {
  display: grid;
  align-content: center;
  gap: .16rem;
  padding: .52rem 1.25rem .5rem .65rem;
}

.hero-call-label {
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.15;
}

.hero-call-number {
  font: 700 .875rem/1.25 Consolas, monospace;
  letter-spacing: .035em;
  white-space: nowrap;
}

.hero-call:is(:hover, :focus-visible) {
  background: #ffb853;
}

.hero-call:focus-visible {
  outline-color: var(--paper);
}

.hero-visual {
  z-index: 0;
}

.hero-visual::before {
  position: absolute;
  z-index: 1;
  inset: -12% -12% -12% 16%;
  background:
    linear-gradient(119deg, transparent 34%, rgb(228 126 48 / .12) 45%, transparent 59%),
    radial-gradient(ellipse at 64% 32%, rgb(255 162 75 / .24), transparent 50%);
  mix-blend-mode: screen;
  opacity: .47;
  pointer-events: none;
  content: '';
}

.hero-visual::after {
  z-index: 2;
  pointer-events: none;
}

.service-list li {
  position: relative;
  isolation: isolate;
}

.service-list li::before {
  background: #a23f13;
}

.service-list li::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(100deg, rgb(243 152 41 / .24), rgb(255 253 246 / .85) 29%, rgb(255 253 246 / .24));
  box-shadow: inset 0 -1px rgb(156 94 37 / .15);
  opacity: 0;
  pointer-events: none;
  content: '';
}

@media (hover: hover) and (pointer: fine) {
  .service-list li:hover::after {
    opacity: .8;
  }

  .service-list li:hover::before {
    background: #bb550f;
    box-shadow: 0 0 .68rem .14rem rgb(243 152 41 / .46);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-call {
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
  }

  .hero-call:active {
    transform: translateY(1px);
    box-shadow: 0 .2rem .7rem rgb(0 0 0 / .25);
  }

  .hero-visual::before {
    animation: atelier-light 7.5s ease-in-out infinite alternate both;
  }

  .hero.is-out-of-view .hero-visual::before {
    animation-play-state: paused;
  }

  .service-list li:nth-child(2) { --light-delay: .36s; }
  .service-list li:nth-child(3) { --light-delay: .72s; }
  .service-list li:nth-child(4) { --light-delay: 1.08s; }
  .service-list li:nth-child(5) { --light-delay: 1.44s; }

  .service-list.is-lit li::after {
    animation: service-glow 1.55s ease-in-out var(--light-delay, 0s);
  }

  .service-list.is-lit li::before {
    animation: service-marker 1.55s ease-in-out var(--light-delay, 0s);
  }

  .service-list li::after { transition: opacity .23s ease-out; }
  .service-list li::before { transition: background-color .23s ease-out, box-shadow .23s ease-out; }
}

@media (max-width: 42rem) {
  .hero-visual::before { inset: -7% -15% 12% 4%; }
}

@keyframes atelier-light {
  0% { opacity: .28; transform: translate3d(-14%, -3%, 0); }
  52% { opacity: .78; }
  100% { opacity: .38; transform: translate3d(12%, 3%, 0); }
}

@keyframes service-glow {
  0% { opacity: 0; }
  44% { opacity: .84; }
  100% { opacity: 0; }
}

@keyframes service-marker {
  0% { box-shadow: 0 0 0 0 transparent; }
  44% { background: #c95d13; box-shadow: 0 0 .75rem .16rem rgb(243 152 41 / .62); }
  100% { box-shadow: 0 0 0 0 transparent; }
}
