:root {
  --ink: #0E1418;
  --paper: #F4EDE3;
  --copper: #B87333;
  --amber: #E8C07A;
  --muted: #C9BBA8;
  --sans: "IBM Plex Sans", "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: Fraunces, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --tap: 2.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  font-size: 1.0625rem;
  line-height: 1.45;
  font-weight: 400;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -5rem;
  z-index: 80;
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
}

.chrome {
  position: sticky;
  top: 0;
  z-index: 50;
}

.studio-demo-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin: 0;
  padding: 0.45rem 1rem;
  padding-top: max(0.45rem, env(safe-area-inset-top, 0px));
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  border-bottom: 1px solid #1c262c;
}

.studio-demo-bar a {
  color: var(--paper);
  text-underline-offset: 0.15em;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.emergency {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0 1rem;
  min-height: var(--tap);
  background: var(--copper);
  color: var(--ink);
}

.emergency-kicker {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.emergency-call {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0.25rem 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.still {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--ink);
}

.still picture,
.still img {
  width: 100%;
  height: 100%;
  display: block;
}

.still img {
  object-fit: cover;
  object-position: 50% 46%;
}

.still-hero {
  min-height: 28rem;
  height: calc(100svh - 6.75rem);
  max-height: 52rem;
  border-bottom: 3px solid var(--paper);
}

.gap {
  background: var(--ink);
  color: var(--amber);
}

.work-type {
  max-width: min(22.5rem, 100%);
  margin: 0 0 0 auto;
  padding: 1.6rem 1.1rem 1.85rem;
}

.plate {
  position: absolute;
  left: 0;
  bottom: 0;
  max-width: min(22.5rem, 100%);
  margin: 0;
  padding: 1.05rem 1.1rem 1.2rem;
  background: var(--ink);
  color: var(--amber);
}

.kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
}

h1 {
  margin: 0.35rem 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 6.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--amber);
}

.lede {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.3;
  color: var(--amber);
}

.beat {
  background: var(--ink);
  color: var(--paper);
  padding: 4.5rem 1.15rem 4.75rem;
  text-align: center;
}

.beat-time {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

.beat-line {
  margin: 0.85rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 5.5vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
}

.peak {
  background: var(--copper);
  color: var(--ink);
  padding: 2.25rem 1rem 2.5rem;
  text-align: center;
}

.peak-kicker {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.peak-call {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.55rem auto 0;
  min-height: 4.25rem;
  padding: 0.4rem 0.25rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 11vw, 3.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.close {
  background: var(--paper);
  color: var(--ink);
  padding: 2rem 1.15rem 2.5rem;
}

.close-block {
  max-width: 28rem;
  margin: 0 auto;
  padding: 1.35rem 0;
  border-bottom: 1px solid #d6cbbd;
}

.close-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

h2 {
  margin: 0 0 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

.services {
  margin: 0;
  padding: 0;
  list-style: none;
}

.services li {
  margin: 0 0 1rem;
}

.services li:last-child {
  margin-bottom: 0;
}

.services strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.15;
}

.services span {
  display: block;
  margin-top: 0.2rem;
  color: #4a4038;
}

.towns,
.hours,
.where {
  margin: 0;
}

.towns {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.45;
}

.hours {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
}

.where {
  margin-top: 0.45rem;
  color: #4a4038;
}

footer {
  background: var(--ink);
  color: var(--paper);
  padding: 1.75rem 1.15rem calc(1.75rem + env(safe-area-inset-bottom));
}

footer p {
  margin: 0 0 0.4rem;
  max-width: 28rem;
}

footer a {
  color: var(--paper);
  font-weight: 700;
  text-underline-offset: 0.18em;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}

.demo-mark {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.emergency-call:focus-visible,
.peak-call:focus-visible {
  outline-color: var(--ink);
}

@media (min-width: 40rem) {
  .plate {
    padding: 1.25rem 1.4rem 1.4rem;
  }

  .work-type {
    padding: 2rem 1.4rem 2.15rem;
  }

  .close,
  footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
