:root {
  --ink: #111314;
  --graphite: #1c1e20;
  --paper: #f5f4ee;
  --wash: #eae8df;
  --yellow: #f3ca36;
  --yellow-light: #ffe37a;
  --orange: #f16c2c;
  --light-muted: #c8c9c5;
  --dark-muted: #4b504e;
  --line: #d2cfc3;
  --focus: #9b4019;
  --body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --page: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-padding-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--body);
}
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
img { display: block; max-inline-size: 100%; block-size: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.08; overflow-wrap: break-word; }
h2 { font-size: clamp(2rem, 5.8vw, 3.25rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.17rem, 2.4vw, 1.45rem); letter-spacing: -.025em; }
.wrap { width: min(var(--page), calc(100% - 2rem)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.skip {
  position: absolute;
  z-index: 1;
  inset: .75rem auto auto .75rem;
  transform: translateY(-200%);
  padding: .75rem;
  color: var(--ink);
  background: var(--yellow);
}
.skip:focus { transform: none; }

.site-header, .hero, .gallery-band, .site-footer { color: var(--paper); background: var(--ink); }
.site-header { border-bottom: 1px solid var(--graphite); }
.site-header a:focus-visible, .hero a:focus-visible, .gallery-band a:focus-visible,
.site-footer a:focus-visible { outline-color: var(--yellow); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.6rem; padding-block: .85rem; }
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .28em;
  min-height: 44px;
  width: max-content;
  font-size: 1.45rem;
  line-height: 1.8;
  font-weight: 850;
  letter-spacing: -.05em;
  text-decoration: none;
}
.brand strong { color: var(--yellow); }
nav { display: flex; flex-wrap: wrap; gap: .2rem 1.1rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-thickness: .07em; }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover, .site-footer nav a:hover { color: var(--yellow); }

.hero { border-bottom: .28rem solid var(--yellow); }
.hero-inner { display: grid; gap: 1.75rem; padding-block: clamp(2.4rem, 6vw, 5.3rem); }
.hero-content { min-width: 0; align-self: center; }
.hero h1 { max-width: 14ch; font-size: clamp(2.75rem, 6.7vw, 5rem); letter-spacing: -.062em; }
.hero h1 + p { max-width: 40ch; margin-top: 1rem; color: var(--light-muted); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: .7rem 1rem;
  border: 2px solid transparent;
  border-radius: .35rem;
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  font-weight: 760;
  line-height: 1.25;
  text-decoration: none;
}
.button:hover { background: var(--yellow-light); }
.hero .button { margin-top: 1.25rem; }
.hero-figure { min-width: 0; max-width: 960px; align-self: center; background: var(--graphite); }
.hero-caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .25rem .9rem;
  padding: .6rem .8rem;
  font-size: .86rem;
  color: var(--light-muted);
}

.section-head { display: grid; gap: .65rem; margin-bottom: 1.45rem; }
.section-head p { color: var(--dark-muted); }
.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  column-gap: 1.5rem;
  border-top: 1px solid var(--line);
}
.services li { padding: 1.15rem .6rem 1.2rem 0; border-bottom: 1px solid var(--line); }
.services h3 { border-left: 3px solid var(--orange); padding-left: .7rem; }
.services p { margin: .4rem 0 0 .9rem; color: var(--dark-muted); }
.quote {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.8rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: var(--wash);
}
.quote p, .contacts p { margin-top: .4rem; color: var(--dark-muted); }
.gallery-band .section-head p, .gallery figcaption, .site-footer p { color: var(--light-muted); }
.gallery { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.gallery figure { width: 100%; }
.gallery figcaption { padding-top: .55rem; font-size: .88rem; }
.photo-car { max-width: 680px; }
.photo-display { max-width: 287px; }

.visit { display: grid; gap: 2rem; }
address { margin-block: .8rem 1rem; font-style: normal; }
.contacts { border-top: 1px solid var(--line); padding-top: 1.2rem; }
.contacts ul { list-style: none; margin: .6rem 0 0; padding: 0; }
.contacts li a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 650; }
.button-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-outline:hover { background: var(--wash); }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1.6rem; padding-block: 1rem; }

@media (min-width: 36rem) {
  .wrap { width: min(var(--page), calc(100% - 3rem)); }
  .header-inner { justify-content: space-between; }
  .gallery { grid-template-columns: minmax(0, 680px) minmax(0, 287px); }
}
@media (min-width: 54rem) {
  .hero-inner { grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: 2rem; }
  .visit { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .contacts { border-top: 0; border-left: 1px solid var(--line); padding: .3rem 0 0 2rem; }
  .footer-inner nav { margin-inline-start: auto; }
}
