@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("fonts/source-sans-3.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #891f1f;
  --fg: #ffffff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.22);
  --soft: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--fg);
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--fg);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  text-decoration-color: rgba(255, 255, 255, 0.45);
}

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

a:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.page {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 3.5rem;
}

.hero {
  text-align: center;
  padding: 0.5rem 0 2.25rem;
}

.logo {
  width: min(240px, 68vw);
  margin: 0 auto 1.75rem;
  image-rendering: auto;
}

.hero h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.35rem, 8vw, 3.5rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.hero .tagline {
  margin: 0.7rem 0 0;
  font-weight: 300;
  font-size: clamp(1rem, 3.4vw, 1.2rem);
  letter-spacing: 0.04em;
  color: var(--muted);
}

.rule {
  display: block;
  width: min(7.5rem, 40vw);
  height: 1px;
  margin: 2.15rem auto 0;
  background: var(--line);
  border: 0;
}

.contacts {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.35rem;
}

.card {
  margin: 0;
  padding: 1.35rem 1.25rem 1.45rem;
  border: 1px solid var(--line);
  background: var(--soft);
}

.card h2 {
  margin: 0 0 0.85rem;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, "Times New Roman", serif;
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

address {
  font-style: normal;
  color: var(--muted);
  margin: 0 0 1rem;
}

.row {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  gap: 0.35rem 0.7rem;
  margin: 0.35rem 0 0;
  align-items: baseline;
}

.row dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.row dd {
  margin: 0;
}

.email {
  margin: 0.5rem 0 0;
  padding: 1.25rem 1.25rem 1.35rem;
  border: 1px solid var(--line);
  background: var(--soft);
  text-align: center;
}

.email .label {
  display: block;
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.email a {
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

@media (min-width: 720px) {
  .page {
    width: min(1120px, calc(100% - 4rem));
    padding: 3rem 0 4.5rem;
  }

  .hero {
    padding: 0.75rem 0 2.75rem;
  }

  .logo {
    width: 280px;
    margin-bottom: 2rem;
  }

  .contacts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    align-items: stretch;
  }

  .card {
    padding: 1.6rem 1.4rem 1.7rem;
  }

  .email {
    margin-top: 1.25rem;
    padding: 1.35rem 1.5rem;
  }
}

@media (min-width: 960px) {
  .logo {
    width: 300px;
  }

  .card h2 {
    font-size: 1.55rem;
  }
}
