@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-400-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-400-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-600-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Jost";
  src: url("assets/fonts/jost-600-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --page: #f2f4ee;
  --surface: #f8f9f5;
  --text: #10271f;
  --muted: #52645d;
  --line: #cfd8d2;
  --accent: #08724e;
  --accent-hover: #075f42;
  --accent-text: #f7fbf8;
  --focus: #b06920;
  font-family: "Jost", "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--page);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--text);
  color: var(--surface);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.maintenance {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  min-height: 100dvh;
  padding: clamp(14px, 2.2vw, 34px);
  gap: clamp(18px, 2.4vw, 38px);
}

.maintenance-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(20px, 3.8vw, 64px);
}

.brand {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 15px;
  text-decoration: none;
}

.brand img {
  width: 64px;
  height: 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  object-fit: cover;
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.brand small {
  color: var(--accent);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.message {
  width: min(100%, 640px);
  margin: auto 0;
  padding-block: clamp(36px, 6vh, 72px);
}

.status {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.lead {
  max-width: 530px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

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

.button:focus-visible,
.contact-row a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.button-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-text);
}

.button-primary:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
}

.button-secondary {
  background: transparent;
  color: var(--text);
}

.button-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-row span {
  max-width: 360px;
}

.contact-row a {
  color: var(--text);
  font-weight: 600;
  text-underline-offset: 4px;
}

.maintenance-visual {
  position: relative;
  min-height: calc(100dvh - clamp(28px, 4.4vw, 68px));
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #d6ddd8;
}

.maintenance-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(5 49 35 / 0.02), rgb(5 49 35 / 0.16));
  content: "";
  pointer-events: none;
}

.maintenance-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #071c16;
    --surface: #0e2a20;
    --text: #f0f5f1;
    --muted: #b2c2ba;
    --line: #315246;
    --accent: #64cf9e;
    --accent-hover: #7bd9ae;
    --accent-text: #062219;
    --focus: #e5ae67;
  }
}

@media (max-width: 920px) {
  .maintenance {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .maintenance-copy {
    min-height: auto;
    padding: clamp(18px, 6vw, 42px);
  }

  .message {
    padding-block: clamp(68px, 14vh, 112px);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(46px, 11vw, 72px);
  }

  .maintenance-visual {
    min-height: min(72dvh, 720px);
  }
}

@media (max-width: 560px) {
  .maintenance {
    gap: 14px;
  }

  .maintenance-copy {
    padding: 18px 10px 24px;
  }

  .brand img {
    width: 54px;
    height: 54px;
  }

  .brand strong {
    font-size: 21px;
  }

  .message {
    padding-block: 62px 72px;
  }

  h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .actions {
    display: grid;
    margin-top: 30px;
  }

  .button {
    width: 100%;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .maintenance-visual {
    min-height: 58dvh;
  }
}

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