:root {
  color-scheme: light;
  --paper: #f5f1e9;
  --surface: #fffdf8;
  --logo-white: #fefefe;
  --ink: #24221f;
  --muted-ink: #625c54;
  --bronze: #766047;
  --bronze-light: #aa967b;
  --line: #d4c9ba;
  --display-font: "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --body-font: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html {
  min-width: 20rem;
  background: var(--paper);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(90deg, rgb(118 96 71 / 12%) 1px, transparent 1px) center /
      min(25vw, 20rem) 100%,
    var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
}

::selection {
  background: var(--bronze);
  color: white;
}

.maintenance-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(0.75rem, 2.5vw, 2rem);
}

.maintenance-card {
  display: grid;
  width: min(100%, 58rem);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 2rem 5rem rgb(36 34 31 / 10%);
}

.brand-panel {
  display: grid;
  min-height: 13rem;
  place-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--logo-white);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.brand-logo {
  display: block;
  width: min(100%, 17rem);
  height: auto;
}

.content-panel {
  padding: clamp(1.75rem, 5vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--bronze);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.92;
  text-wrap: balance;
}

.introduction {
  max-width: 37rem;
  color: var(--muted-ink);
  line-height: 1.7;
  text-wrap: pretty;
}

.introduction {
  margin: 1.75rem 0 0;
  font-size: 1.05rem;
}

.phone-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  border: 1px solid var(--ink);
  border-radius: 0.375rem;
  background: var(--ink);
  color: white;
  padding: 0.75rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.phone-button:hover {
  border-color: var(--bronze);
  background: var(--bronze);
}

.phone-button:active {
  transform: translateY(1px);
}

.phone-button:focus-visible {
  outline: 3px solid var(--bronze-light);
  outline-offset: 4px;
}

.small-print {
  margin: 1.25rem 0 0;
  color: var(--muted-ink);
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (min-width: 50rem) {
  .maintenance-card {
    grid-template-columns: minmax(16rem, 0.72fr) minmax(25rem, 1.28fr);
  }

  .brand-panel {
    min-height: 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .content-panel {
    align-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
