:root {
  --ink: #173025;
  --cream: #f3eee5;
  --paper: #ebe5da;
  --line: rgba(243, 238, 229, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100svh;
  padding: 18px;
}

.hero {
  min-height: calc(100svh - 36px);
  position: relative;
  overflow: hidden;
  background: #334c3e;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 30, 20, 0.7) 0%, rgba(10, 30, 20, 0.4) 38%, rgba(10, 30, 20, 0.02) 74%),
    linear-gradient(0deg, rgba(9, 26, 17, 0.32) 0%, transparent 35%);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/niko-interior.png") center center / cover no-repeat;
  transform: scale(1.015);
}

.topbar {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 34px 40px;
}

.wordmark {
  display: block;
  width: 320px;
  height: 90px;
  overflow: hidden;
  text-decoration: none;
}

.wordmark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.location,
.eyebrow,
footer,
.side-note {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.location {
  padding-top: 8px;
}

.hero-copy {
  width: min(720px, 70vw);
  min-height: calc(100svh - 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 136px 8vw 116px;
}

.eyebrow {
  margin: 0 0 24px;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(64px, 7.2vw, 122px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.intro {
  max-width: 510px;
  margin: 34px 0 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
}

.actions {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 38px;
}

.contact-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.primary-link,
.text-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 17px 19px;
  border: 1px solid var(--line);
  transition: background 180ms ease, color 180ms ease;
}

.primary-link:hover,
.primary-link:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

.text-link {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--cream);
}

footer {
  position: absolute;
  right: 40px;
  bottom: 30px;
  left: 40px;
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

footer a {
  text-decoration: none;
}

@media (max-width: 720px) {
  .site-shell {
    padding: 9px;
  }

  .hero {
    min-height: calc(100svh - 18px);
  }

  .hero::before {
    background: linear-gradient(0deg, rgba(11, 30, 20, 0.78) 0%, rgba(11, 30, 20, 0.34) 72%, rgba(11, 30, 20, 0.16) 100%);
  }

  .hero-image {
    background-position: 55% center;
  }

  .topbar {
    padding: 26px 22px;
  }

  .wordmark {
    width: 240px;
    height: 67px;
  }

  .location {
    max-width: 110px;
    line-height: 1.5;
    text-align: right;
  }

  .hero-copy {
    width: 100%;
    min-height: calc(100svh - 18px);
    justify-content: flex-end;
    padding: 140px 22px 106px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 74px);
  }

  .intro {
    margin-top: 24px;
    font-size: 14px;
    line-height: 1.6;
  }

  .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 28px;
  }

  .contact-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  footer {
    right: 22px;
    bottom: 22px;
    left: 22px;
  }

  footer span:last-child {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
