:root {
  --cream: #f6eedb;
  --warm-stone: #d5c7aa;
  --sage: #8e9b60;
  --olive: #66754c;
  --forest: #2d5634;
  --gold: #c9972b;
  --ink: #213623;
  --shadow: rgba(45, 86, 52, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--cream);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", Arial, sans-serif;
  background:
    linear-gradient(90deg, rgba(102, 117, 76, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(102, 117, 76, 0.1) 1px, transparent 1px),
    var(--cream);
  background-size: 58px 58px, 58px 58px, auto;
}

a {
  color: inherit;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 56px);
}

.maintenance-hero {
  width: min(1120px, 100%);
  min-height: min(760px, calc(100vh - 40px));
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  position: relative;
  padding: clamp(22px, 4vw, 54px);
  border: 1px solid rgba(102, 117, 76, 0.22);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(142, 155, 96, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(246, 238, 219, 0.95), rgba(213, 199, 170, 0.58));
  box-shadow: 0 28px 70px var(--shadow);
}

.brand-panel,
.content-panel {
  position: relative;
  z-index: 1;
}

.brand-panel {
  display: grid;
  place-items: center;
}

.brand-logo {
  width: min(430px, 100%);
  aspect-ratio: 1;
  display: block;
  object-fit: contain;
  border-radius: 0;
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.content-panel {
  max-width: 560px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--olive);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 11vw, 8.8rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0;
}

.status {
  max-width: none;
  margin: 22px 0 0;
  color: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 4.9vw, 4.8rem);
  line-height: 0.96;
  white-space: nowrap;
}

.message {
  max-width: 34rem;
  margin: 26px 0 0;
  color: rgba(33, 54, 35, 0.86);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: 1.7;
}

.message-secondary {
  margin-top: 22px;
  font-size: 16px;
}

.message-lead {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 2.5vw, 2.25rem);
  line-height: 1.15;
}

.phone-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  margin-top: 30px;
  padding: 14px 22px;
  border-radius: 999px;
  color: var(--cream);
  background: var(--forest);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(45, 86, 52, 0.24);
}

.contact-divider {
  width: min(100%, 560px);
  height: 1px;
  margin-top: clamp(34px, 5vw, 54px);
  background: rgba(201, 151, 43, 0.5);
}

.phone-link:focus-visible,
.socials a:focus-visible {
  outline: 3px solid rgba(201, 151, 43, 0.9);
  outline-offset: 4px;
}

.socials {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.socials a {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(201, 151, 43, 0.48);
  border-radius: 50%;
  background: rgba(246, 238, 219, 0.44);
  color: var(--gold);
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.socials a:hover {
  background: rgba(201, 151, 43, 0.13);
  border-color: rgba(201, 151, 43, 0.85);
  transform: translateY(-2px);
}

.socials svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.decorative-leaves {
  width: min(360px, 38vw);
  position: absolute;
  right: -118px;
  bottom: -142px;
  z-index: 0;
  display: block;
  opacity: 0.74;
  pointer-events: none;
  transform: rotate(-18deg);
}

@media (max-width: 820px) {
  .page-shell {
    place-items: start center;
    padding: 14px;
  }

  .maintenance-hero {
    min-height: calc(100vh - 28px);
    grid-template-columns: 1fr;
    align-content: center;
    gap: 18px;
    padding: 24px 18px 22px;
  }

  .maintenance-hero::before {
    display: none;
  }

  .brand-logo {
    width: min(286px, 76vw);
  }

  .content-panel {
    max-width: none;
    text-align: center;
  }

  .status {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.35rem, 10.5vw, 3.8rem);
  }

  .message {
    margin-left: auto;
    margin-right: auto;
  }

  .phone-link {
    justify-content: center;
  }

  .socials {
    justify-content: center;
    gap: 12px;
  }

  .decorative-leaves {
    width: min(220px, 58vw);
    right: -100px;
    bottom: -96px;
    opacity: 0.34;
  }

  .contact-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .socials a {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 420px) {
  .maintenance-hero {
    padding: 20px 14px;
  }

  .brand-logo {
    width: min(238px, 72vw);
  }

  .eyebrow {
    margin-bottom: 12px;
    font-size: 0.7rem;
  }

  .phone-link {
    width: 100%;
  }
}
