@font-face {
  font-family: "Instrument Sans";
  src: url("./assets/instrument-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ground: #101110;
  --paper: #f2eee6;
  --muted: #b9b5ab;
  --gold: #e3ba68;
  --rule: #34332f;
  --gutter: clamp(16px, 4.2vw, 80px);
  --masthead-height: clamp(78px, 10vh, 108px);
  --footer-height: 80px;
  font-family: "Instrument Sans", system-ui, sans-serif;
  background: var(--ground);
  color: var(--paper);
}

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

body {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
}

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

.page-width {
  width: min(1440px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 2;
  inset: 10px auto auto 10px;
  padding: 10px 14px;
  background: var(--ground);
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus { transform: none; }

.masthead, .footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
}

.masthead { min-height: var(--masthead-height); }
.brand { display: block; }

.brand img {
  display: block;
  width: clamp(127px, 13vw, 180px);
  height: auto;
}

.languages {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.07em;
}

.languages a {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  color: var(--muted);
  text-decoration: none;
}

.languages a[aria-current], .languages a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 6px;
}

main {
  display: grid;
  align-items: stretch;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(430px, 49vw, 680px);
  min-height: clamp(410px, min(49vw, 100svh - var(--masthead-height) - var(--footer-height)), 680px);
  padding: clamp(32px, 5.5vw, 92px);
  background: #181916;
  border: 1px solid var(--rule);
}

.hero-art, .hero-art img, .hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art { z-index: -2; }

.hero-art img {
  display: block;
  object-fit: cover;
  object-position: center 53%;
}

.hero::after {
  content: "";
  z-index: -1;
  background:
    linear-gradient(0deg, #0d0e0ded, transparent 53%),
    linear-gradient(90deg, #0d0e0de8, #0d0e0d85 36%, transparent 71%);
}

.hero-copy { position: relative; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 17px;
  color: var(--paper);
  font-size: clamp(0.68rem, 1.05vw, 0.8rem);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 39px;
  height: 2px;
  background: linear-gradient(90deg, var(--paper) 29%, var(--gold) 29%);
}

h1 {
  margin: 0;
  font-size: clamp(3.1rem, 6.5vw, 7rem);
  font-weight: 530;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

h1 span {
  color: var(--gold);
  font-weight: 400;
}

.footer {
  min-height: var(--footer-height);
  padding-block: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 44px;
  color: var(--paper);
  text-decoration-color: #8f8064;
  text-underline-offset: 4px;
}

.contact:hover, .contact span { color: var(--gold); }

@media (max-width: 640px) {
  .masthead { min-height: 72px; }

  .hero {
    min-height: clamp(410px, 66svh, 670px);
    padding: clamp(18px, 5.4vw, 36px);
    padding-bottom: 36px;
  }

  .hero-art img { object-position: 66% 42%; }

  .hero::after {
    background: linear-gradient(0deg, #0d0e0d 4%, #0d0e0df2 20%, #0d0e0d6b 51%, transparent 77%);
  }

  .eyebrow { margin-bottom: 13px; }
  .eyebrow::before { flex-basis: 29px; }
  h1 { font-size: clamp(1.9rem, 10vw, 4.4rem); }
  .footer { min-height: 70px; }
}

@media (max-width: 370px) {
  .footer { font-size: 0.76rem; }
}
