:root {
  --obsidian: #0b0b0b;
  --ivory: #f8f1e7;
  --ivory-muted: rgba(248, 241, 231, 0.78);
  --ivory-line: rgba(248, 241, 231, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  background: var(--obsidian);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--ivory);
  color: var(--obsidian);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

.page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--obsidian);
}

.header {
  position: absolute;
  z-index: 4;
  top: max(24px, env(safe-area-inset-top));
  left: clamp(24px, 5vw, 72px);
}

.brand-link {
  display: inline-flex;
  text-decoration: none;
}

.brand {
  display: block;
  width: clamp(110px, 10vw, 150px);
  height: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--obsidian);
}

.hero-media,
.hero-media picture,
.hero-image,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero-media,
.hero-media picture {
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  z-index: 1;
  background:
    linear-gradient(
      90deg,
      rgba(11, 11, 11, 0.88) 0%,
      rgba(11, 11, 11, 0.72) 28%,
      rgba(11, 11, 11, 0.36) 53%,
      rgba(11, 11, 11, 0.06) 80%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(700px, 52vw);
  padding: clamp(128px, 16vh, 180px) clamp(32px, 7vw, 120px) clamp(48px, 8vh, 96px);
}

.hero__brand-mark {
  margin-bottom: clamp(52px, 8vh, 92px);
}

.hero__logo {
  display: block;
  width: clamp(72px, 7vw, 108px);
  height: auto;
  margin-bottom: 16px;
}

.hero__brand-name {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.34em;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: var(--ivory-muted);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.32em;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.hero__description {
  max-width: 620px;
  margin: 30px 0 0;
  font-size: clamp(0.76rem, 1vw, 0.94rem);
  line-height: 1.75;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero__statement {
  margin: 12px 0 0;
  color: var(--ivory-muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-style: italic;
}

.hero__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: clamp(48px, 7vh, 80px);
  padding-top: 22px;
  border-top: 1px solid var(--ivory-line);
}

.hero__contact {
  min-width: 190px;
  text-decoration: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.hero__contact span {
  display: block;
  margin-bottom: 6px;
  color: var(--ivory-muted);
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero__contact strong {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.hero__contact:hover,
.hero__contact:focus-visible {
  opacity: 0.72;
  transform: translateY(-2px);
}

.hero__contact:focus-visible,
.brand-link:focus-visible {
  outline: 2px solid var(--ivory);
  outline-offset: 4px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(24px, 5vw, 72px) calc(18px + env(safe-area-inset-bottom));
  background: var(--obsidian);
  color: var(--ivory-muted);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.noscript-note {
  padding: 24px;
  background: var(--ivory);
  color: var(--obsidian);
  font: 600 1rem/1.5 Arial, Helvetica, sans-serif;
}

.noscript-note a {
  color: inherit;
}

@media (max-width: 768px) {
  .header {
    display: none;
  }

  .hero {
    min-height: 100svh;
    align-items: flex-end;
  }

  .hero-image {
    object-position: center center;
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(11, 11, 11, 0.12) 0%,
        rgba(11, 11, 11, 0.08) 28%,
        rgba(11, 11, 11, 0.48) 58%,
        rgba(11, 11, 11, 0.94) 100%
      );
  }

  .hero__content {
    width: 100%;
    padding:
      108px
      24px
      max(24px, env(safe-area-inset-bottom));
  }

  .hero__brand-mark {
    position: absolute;
    top: max(24px, env(safe-area-inset-top));
    left: 24px;
    margin: 0;
  }

  .hero__logo {
    width: 56px;
    margin-bottom: 8px;
  }

  .hero__brand-name {
    font-size: 0.55rem;
    letter-spacing: 0.25em;
  }

  .hero__message {
    margin-top: 39vh;
  }

  .hero__eyebrow {
    font-size: 0.58rem;
    letter-spacing: 0.24em;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 15vw, 5.25rem);
  }

  .hero__description {
    max-width: 340px;
    margin-top: 20px;
    font-size: 0.63rem;
    line-height: 1.8;
    letter-spacing: 0.13em;
  }

  .hero__statement {
    font-size: 0.88rem;
  }

  .hero__contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-top: 22px;
    padding-top: 14px;
  }

  .hero__contact {
    min-width: 0;
  }

  .hero__contact:last-child {
    grid-column: 1 / -1;
  }

  .hero__contact strong {
    font-size: 0.66rem;
    white-space: normal;
  }

  .footer {
    flex-direction: column;
    gap: 8px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 390px) {
  .hero__content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero__brand-mark {
    left: 20px;
  }

  .hero__contacts {
    grid-template-columns: 1fr;
  }

  .hero__contact:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
}
