:root {
  color-scheme: light;
  --paper: #f3f1ed;
  --white: #fffefa;
  --ink: #252a2b;
  --muted: #626967;
  --line: #deddd6;
  --orange: #d95d39;
  --content: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}

.container {
  width: min(var(--content), calc(100% - 48px));
  margin-inline: auto;
}

.demo-notice {
  display: flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px 14px;
  padding: 8px 20px;
  background: #252a2b;
  color: #f7f5ef;
  font-size: .79rem;
  text-align: center;
}

.demo-notice p {
  margin: 0;
  color: #d1d2cc;
}

.demo-tag {
  color: #ffc09f;
  font-size: .69rem;
  font-weight: 750;
  letter-spacing: .1em;
}

.demo-notice > a {
  color: #fff;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.site-header {
  position: sticky;
  z-index: 4;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(243, 241, 237, .96);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-decoration: none;
}

.brand strong {
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  background: var(--orange);
  color: #fff;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 36px);
}

.main-nav a {
  font-size: .88rem;
  text-decoration: none;
}

.main-nav a:not(.nav-cta):hover,
.footer-link:hover {
  color: var(--orange);
}

.main-nav .nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid #aaa9a0;
  border-radius: 7px;
  transition: background-color .18s ease, border-color .18s ease;
}

.main-nav .nav-cta:hover {
  border-color: var(--ink);
  background: var(--white);
}

.main-nav .nav-cta span,
.footer-link span {
  color: var(--orange);
}

.mobile-menu {
  display: none;
}

.hero {
  padding: clamp(66px, 9vw, 112px) 0 88px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(38px, 7vw, 88px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .13em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11ch;
  margin-bottom: 19px;
  font-size: clamp(3rem, 5vw, 4.55rem);
  font-weight: 700;
  letter-spacing: -.07em;
  line-height: .99;
}

.hero-text {
  max-width: 460px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 7px;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  box-shadow: 0 2px 3px rgba(37, 42, 43, .08);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--orange);
  border-color: var(--orange);
  box-shadow: 0 5px 12px rgba(217, 93, 57, .18);
  transform: translateY(-1px);
}

.button-light {
  border-color: #c9c7bf;
  background: transparent;
  box-shadow: none;
}

.button-light:hover {
  border-color: #a8a69f;
  background: #e7e4dd;
}

.hero-note {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.garage-art {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 360px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #e2dfd7;
  background: #e8e5dd;
}

.art-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(37, 42, 43, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(37, 42, 43, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}

.garage-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  max-height: 350px;
}

.art-caption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  margin: 0;
  color: #565c59;
  font-size: .72rem;
}

.art-stamp {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  color: #777a73;
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .1em;
  line-height: 1.4;
  text-align: right;
}

.services-section {
  padding: 72px 0 78px;
  background: var(--white);
}

.section-heading {
  margin-bottom: 29px;
}

.section-heading h2,
.about-layout h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 680;
  letter-spacing: -.06em;
  line-height: 1.1;
}

.section-heading > p:last-child {
  margin: 11px 0 0;
  color: var(--muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-item {
  position: relative;
  min-width: 0;
  min-height: 190px;
  padding: 25px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.service-item::before {
  display: block;
  width: 28px;
  height: 3px;
  margin-bottom: 22px;
  background: var(--orange);
  content: "";
}

.service-item:hover {
  border-color: #c8c4b8;
  box-shadow: 0 8px 22px rgba(37, 42, 43, .06);
  transform: translateY(-2px);
}

.service-item h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 680;
  letter-spacing: -.025em;
}

.service-item p {
  max-width: 38ch;
  margin: 0;
  color: var(--muted);
  font-size: .91rem;
}

.demo-footnote {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: .77rem;
}

.about-section {
  padding: 76px 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 50px;
}

.about-layout h2 {
  max-width: 12ch;
}

.about-layout > p {
  max-width: 57ch;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  min-height: 88px;
  align-items: center;
  gap: 14px clamp(18px, 3vw, 32px);
}

.footer-inner > p {
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}

.footer-link {
  color: var(--ink);
  font-size: .82rem;
  text-underline-offset: 3px;
}

@media (max-width: 850px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 680px;
  }

  .garage-art {
    min-height: 310px;
  }

  .garage-svg {
    max-height: 310px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    width: min(var(--content), calc(100% - 36px));
  }

  .demo-notice {
    flex-wrap: wrap;
    gap: 2px 9px;
    padding: 8px 12px;
    font-size: .69rem;
    line-height: 1.4;
  }

  .demo-notice p {
    flex: 1 1 100%;
    order: 2;
  }

  .demo-tag,
  .demo-notice > a {
    order: 1;
  }

  .header-inner {
    display: flex;
    min-height: 66px;
    gap: 12px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-menu summary {
    display: grid;
    width: 40px;
    height: 40px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 6px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu summary span {
    width: 17px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-menu nav {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    display: grid;
    min-width: 190px;
    padding: 6px;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(37, 42, 43, .12);
  }

  .mobile-menu nav a {
    padding: 10px 12px;
    font-size: .9rem;
    text-decoration: none;
  }

  .hero {
    padding: 57px 0 62px;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 12vw, 4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .button {
    flex: 1 1 100%;
  }

  .garage-art {
    min-height: 230px;
  }

  .garage-svg {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

  .art-caption {
    right: 10px;
    bottom: 8px;
    font-size: .65rem;
  }

  .art-stamp {
    top: 12px;
    right: 12px;
    font-size: .55rem;
  }

  .services-section,
  .about-section {
    padding-block: 58px;
  }

  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-item {
    min-height: 0;
    padding: 20px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    padding-block: 15px;
  }

  .footer-inner > p {
    justify-self: start;
    text-align: left;
  }

  .footer-link {
    grid-column: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
