:root {
  --black: #1d1d1b;
  --black-soft: #2f2f2b;
  --white: #ffffff;
  --cream: #f7f2eb;
  --sand: #eee5d9;
  --stone: #7b7168;
  --line: rgba(29, 29, 27, 0.12);
  --accent: #c3007a;
  --accent-dark: #93005b;
  --accent-soft: rgba(195, 0, 122, 0.10);
  --shadow: 0 30px 90px rgba(31, 24, 19, 0.16);
  --radius-lg: 34px;
  --radius-md: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  margin: 0;
  color: var(--black);
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at 10% 10%, rgba(195, 0, 122, 0.16), transparent 24rem),
    radial-gradient(circle at 84% 18%, rgba(29, 29, 27, 0.12), transparent 22rem),
    linear-gradient(135deg, #fbf8f3 0%, var(--cream) 48%, var(--sand) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: clamp(5px, 0.8vw, 10px);
  background: linear-gradient(180deg, var(--black) 0%, var(--black) 68%, var(--accent) 68%, var(--accent) 100%);
  z-index: 20;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(29, 29, 27, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 29, 27, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 70%);
}

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

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

a {
  color: inherit;
  text-decoration-color: rgba(195, 0, 122, 0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease, opacity 160ms ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--black);
  border-radius: 999px;
  transform: translateY(-150%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  width: min(var(--container), calc(100% - 42px));
  min-height: 112px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 0 14px;
}

.site-header--compact {
  min-height: 94px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(31, 24, 19, 0.08);
  text-decoration: none;
}

.brand__logo {
  display: block;
  width: clamp(150px, 20vw, 226px);
}

.legal-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  color: var(--black-soft);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.legal-nav a:hover,
.legal-nav a:focus-visible,
.legal-nav a[aria-current="page"] {
  color: var(--white);
  background: var(--black);
}

.maintenance {
  position: relative;
  z-index: 5;
  width: min(var(--container), calc(100% - 42px));
  min-height: calc(100vh - 188px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
  padding: clamp(28px, 5vw, 76px) 0 44px;
}

.maintenance__panel,
.info-card,
.legal-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.maintenance__panel {
  min-height: clamp(440px, 58vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 7vw, 82px);
}

.maintenance__panel::before {
  content: "";
  position: absolute;
  right: clamp(22px, 4vw, 48px);
  top: clamp(22px, 4vw, 48px);
  width: clamp(98px, 15vw, 180px);
  aspect-ratio: 1;
  border: 1px solid rgba(195, 0, 122, 0.22);
  border-radius: 50%;
}

.maintenance__panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 9px;
  background: linear-gradient(90deg, var(--black) 0 72%, var(--accent) 72% 100%);
}

.kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-bottom: 24px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kicker::before {
  content: "";
  width: 38px;
  height: 2px;
  background: currentColor;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3.1rem, 8vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
}

.lead {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--black-soft);
  font-size: clamp(1.18rem, 2.2vw, 1.65rem);
  font-weight: 700;
}

.subtext {
  position: relative;
  z-index: 1;
  max-width: 540px;
  margin-bottom: 0;
  color: var(--stone);
  font-size: 1.02rem;
}

.divider {
  position: relative;
  z-index: 1;
  width: min(210px, 48vw);
  height: 4px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, var(--black), var(--black) 62%, var(--accent) 62%, var(--accent));
  border-radius: 999px;
}

.hero-circle-image {
  position: absolute;
  right: clamp(22px, 4vw, 48px);
  top: clamp(22px, 4vw, 48px);
  width: clamp(98px, 15vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(195, 0, 122, 0.14);
  box-shadow: 0 12px 26px rgba(31, 24, 19, 0.12);
  z-index: 1;
  background: #f4efe8;
}

.hero-circle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.info-card {
  padding: clamp(28px, 3.5vw, 42px);
}

.info-card::before {
  content: "";
  display: block;
  width: 74px;
  height: 5px;
  margin-bottom: 28px;
  background: var(--accent);
  border-radius: 999px;
}

.info-card__label {
  margin-bottom: 14px;
  color: var(--stone);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

address {
  font-style: normal;
}

.info-card address {
  margin-bottom: 24px;
  font-size: 1.03rem;
}

.contact-list {
  margin-bottom: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.contact-list div {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 14px;
  padding: 8px 0;
}

.contact-list dt {
  color: var(--stone);
  font-weight: 700;
}

.contact-list dd {
  margin: 0;
  font-weight: 700;
}

.site-footer {
  position: relative;
  z-index: 5;
  width: min(var(--container), calc(100% - 42px));
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--stone);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.legal-page {
  position: relative;
  z-index: 5;
  width: min(920px, calc(100% - 42px));
  margin: 0 auto;
  padding: 42px 0 70px;
}

.legal-card {
  padding: clamp(30px, 5vw, 58px);
}

.legal-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 7px;
  background: linear-gradient(90deg, var(--black) 0 72%, var(--accent) 72% 100%);
}

.legal-card h1 {
  margin-bottom: 28px;
  font-size: clamp(2.3rem, 5vw, 4.4rem);
}

.legal-card h2 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.legal-card section {
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-card section:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.legal-note {
  margin-top: 34px;
  padding: 16px 18px;
  color: var(--stone);
  background: var(--accent-soft);
  border-left: 5px solid var(--accent);
  border-radius: 14px;
}

.back-link {
  margin-bottom: 0;
  font-weight: 800;
}

@media (max-width: 880px) {
  .site-header,
  .maintenance,
  .legal-page,
  .site-footer {
    width: min(100% - 28px, var(--container));
  }

  .site-header {
    min-height: auto;
    align-items: flex-start;
    padding-top: 18px;
  }

  .maintenance {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .maintenance__panel {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  body::before {
    width: 5px;
  }

  .site-header {
    flex-direction: column;
    gap: 16px;
  }

  .legal-nav {
    justify-content: flex-start;
  }

  .brand__logo {
    width: min(178px, 76vw);
  }

  .maintenance__panel,
  .info-card,
  .legal-card {
    border-radius: var(--radius-md);
  }

  .maintenance__panel {
    min-height: 390px;
    padding: 34px 24px 46px;
  }

  .hero-circle-image {
    width: 92px;
    right: 20px;
    top: 20px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  .lead {
    font-size: 1.12rem;
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .site-footer {
    padding-bottom: 24px;
  }
}
