:root {
  color-scheme: dark;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  background: #101010;
  color: #f5f1ea;
  --muted: #b8b3ab;
  --accent: #eac78e;
  --line: #3d3933;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.shell {
  width: min(100% - 96px, 1376px);
  margin-inline: auto;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 91px;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.brand-name {
  font-size: 34px;
  font-weight: 750;
  line-height: .9;
  letter-spacing: .085em;
}

.brand-detail {
  margin-top: 7px;
  font-size: 9px;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.header-contact {
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(34px, 5vw, 76px);
}

.message {
	grid-column: span 2;
	align-self: center;
}

.status {
  color: var(--accent);
  font-size: clamp(20px, 1.65vw, 34px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin: 0;
}

h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.025em;
}

.description {
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.6;
}

.actions {
  margin-top: 29px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
}

.button-primary { background: var(--accent); border-color: var(--accent); color: #17120c; }
.button-primary:hover { background: #f7d9a6; }
.button-secondary { min-height: 44px; padding: 8px 12px; }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.header-contact:hover, .contacts a:hover { color: var(--accent); }

.hero-image { margin: 0; background: #26221d; }
.hero-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.26;
  object-fit: cover;
  object-position: center;
}

.contacts {
  display: grid;
  grid-template-columns: 1.5fr 1fr .85fr;
  gap: 22px;
  border-top: 1px solid var(--line);
  padding-block: 24px 30px;
}

.contacts h2 {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: .79rem;
  font-weight: 400;
}

.contacts address { font-style: normal; }
.contacts a { font-size: .93rem; line-height: 1.55; text-decoration: none; }
.contacts a span { margin-left: .25em; color: var(--accent); }

@media (max-width: 990px) {
  .shell { width: calc(100% - 56px); }
  .contacts { grid-template-columns: 1.35fr 1fr; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 40px); }
  .header { min-height: 72px; }
  .brand-name { font-size: 29px; }
  .brand-detail { font-size: 8px; }
  .header-contact { font-size: .83rem; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 32px 26px; }
  .status { margin-bottom: 17px; }
  .description { margin-top: 17px; }
  .actions { margin-top: 21px; }
  .hero-image img { aspect-ratio: 1.55; }
  .contacts { gap: 18px; padding-block: 19px 24px; }
  .contacts h2 { margin-bottom: 5px; }
  .contacts a { font-size: .86rem; }
}

@media (max-width: 520px) {
  .actions > .button-primary { width: 100%; }
  .social-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .button-secondary { padding-inline: 6px; }
}
