:root {
  --forest-950: #0a1f16;
  --forest-900: #0c2419;
  --forest-800: #143d2e;
  --green-700: #1a5c45;
  --green-600: #1f6b4a;
  --green-500: #2d8659;
  --gold-600: #c49a1c;
  --gold-100: #faf6e8;
  --mint-300: #cfe6d8;
  --mint-100: #eef6f0;
  --surface: #ffffff;
  --border: #c5dcc9;
  --text: #143d2e;
  --muted: #355f4d;
  --shadow: 0 22px 60px rgba(10, 31, 22, 0.16);
  --page-bg:
    linear-gradient(135deg, rgba(10, 31, 22, 0.07) 0 1px, transparent 1px 72px),
    linear-gradient(155deg, #9fc8b2 0%, var(--mint-300) 48%, var(--mint-100) 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: var(--page-bg);
}

html {
  overflow-x: hidden;
  background-color: var(--mint-100);
}

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  min-height: 100svh;
  overflow-x: hidden;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@supports (min-height: 100dvh) {
  body {
    min-height: 100dvh;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: var(--page-bg);
  pointer-events: none;
}

a {
  color: inherit;
}

.maintenance-page {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  padding: calc(18px + env(safe-area-inset-top, 0px))
    calc(18px + env(safe-area-inset-right, 0px))
    calc(18px + env(safe-area-inset-bottom, 0px))
    calc(18px + env(safe-area-inset-left, 0px));
  overflow: hidden;
}

.page-frame {
  width: min(1080px, 100%);
  max-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  gap: 18px;
  align-items: stretch;
}

.message-panel,
.contact-panel {
  min-width: 0;
  border: 1px solid rgba(197, 220, 201, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.message-panel {
  display: grid;
  align-content: center;
  gap: 28px;
  padding: 46px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.brand-logo {
  width: 138px;
  height: 138px;
  flex: 0 0 auto;
  object-fit: contain;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid rgba(31, 107, 74, 0.24);
  box-shadow: 0 12px 32px rgba(10, 31, 22, 0.12);
}

.brand-copy {
  min-width: 0;
}

.eyebrow,
.contact-kicker {
  margin: 0 0 10px;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  color: var(--forest-950);
  font-size: 2.55rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.service-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding-top: 2px;
}

.service-note span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--forest-800);
  font-size: 0.92rem;
  font-weight: 700;
}

.service-note span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold-600);
}

.contact-panel {
  display: grid;
  align-content: center;
  padding: 34px;
}

.contact-panel h2 {
  margin-bottom: 22px;
  color: var(--forest-950);
  font-size: 1.72rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 0;
  font-style: normal;
}

.contact-item {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 14px 15px;
  border-radius: 8px;
  color: var(--forest-900);
  text-decoration: none;
  background: rgba(238, 246, 240, 0.82);
  border: 1px solid rgba(197, 220, 201, 0.9);
}

.contact-item:hover,
.contact-item:focus-visible {
  border-color: rgba(31, 107, 74, 0.55);
  outline: none;
}

.contact-item span {
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-item strong {
  min-width: 0;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-item-static {
  margin: 0;
}

@media (max-width: 860px) {
  html {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }

  body {
    height: auto;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    min-height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .maintenance-page {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    min-height: 100svh;
    place-items: start center;
    padding: calc(12px + env(safe-area-inset-top, 0px))
      calc(12px + env(safe-area-inset-right, 0px))
      calc(18px + env(safe-area-inset-bottom, 0px))
      calc(12px + env(safe-area-inset-left, 0px));
    overflow: visible;
  }

  .page-frame {
    grid-template-columns: 1fr;
    gap: 12px;
    max-height: none;
  }

  @supports (min-height: 100dvh) {
    body,
    .maintenance-page {
      min-height: 100dvh;
    }
  }

  .message-panel {
    gap: 18px;
    padding: 24px;
  }

  .brand-lockup {
    gap: 16px;
  }

  .brand-logo {
    width: 92px;
    height: 92px;
  }

  h1 {
    font-size: 1.86rem;
  }

  .lead {
    font-size: 0.98rem;
  }

  .contact-panel {
    padding: 22px;
  }

  .contact-panel h2 {
    margin-bottom: 14px;
    font-size: 1.38rem;
  }

  .contact-list {
    gap: 8px;
  }

  .contact-item {
    padding: 10px 12px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 76px;
    height: 76px;
  }

  .eyebrow,
  .contact-kicker {
    margin-bottom: 6px;
    font-size: 0.68rem;
  }

  h1 {
    font-size: 1.55rem;
  }

  .lead {
    font-size: 0.9rem;
    line-height: 1.42;
  }

  .service-note {
    gap: 6px;
  }

  .service-note span {
    font-size: 0.78rem;
  }

  .contact-item strong {
    font-size: 0.86rem;
  }
}

@media (max-height: 660px) {
  .message-panel,
  .contact-panel {
    box-shadow: 0 14px 36px rgba(10, 31, 22, 0.12);
  }

  .message-panel {
    gap: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .contact-panel {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .lead {
    line-height: 1.38;
  }

  .contact-item {
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

@media (max-height: 570px) and (max-width: 860px) {
  .contact-kicker {
    display: none;
  }

  .service-note {
    display: none;
  }

  .brand-logo {
    width: 68px;
    height: 68px;
  }

  h1 {
    font-size: 1.38rem;
  }

  .lead {
    font-size: 0.84rem;
  }

  .contact-panel h2 {
    margin-bottom: 8px;
    font-size: 1.2rem;
  }

  .contact-list {
    gap: 5px;
  }

  .contact-item {
    padding: 6px 8px;
  }

  .contact-item span {
    font-size: 0.66rem;
  }

  .contact-item strong {
    font-size: 0.8rem;
  }
}
