:root {
  --ink: #0b0c0d;
  --paper: #f5efe3;
  --muted: #c7beb0;
  --gold: #e2aa3d;
  --line: rgba(245, 239, 227, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

.landing-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  z-index: -3;
  background-image: url("./classic-balkan-hero.jpg");
  background-position: 62% center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 8, 9, 0.98) 0%, rgba(7, 8, 9, 0.9) 34%, rgba(7, 8, 9, 0.28) 68%, rgba(7, 8, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(7, 8, 9, 0.72) 0%, transparent 42%);
}

.page-frame {
  width: min(100% - 56px, 1440px);
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  padding-top: clamp(24px, 4vw, 52px);
}

.brand-logo {
  display: block;
  width: clamp(220px, 22vw, 330px);
  height: auto;
  margin: -62px 0 -78px -53px;
}

.hero-content {
  align-self: center;
  width: min(650px, 56vw);
  padding: 56px 0;
}

.eyebrow {
  margin: 0 0 22px;
  color: #e5c98f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

h1 {
  max-width: 620px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6.2vw, 94px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.65;
}

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

.primary-action {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: var(--gold);
  color: #17120a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-action:hover {
  transform: translateY(-2px);
  background: #efbc57;
}

.primary-action:focus-visible {
  outline: 3px solid rgba(245, 239, 227, 0.9);
  outline-offset: 4px;
}

.email-link {
  color: #ded5c6;
  font-size: 14px;
  text-underline-offset: 5px;
  text-decoration-color: rgba(226, 170, 61, 0.55);
}

.launch-note {
  margin: 16px 0 0;
  color: rgba(245, 239, 227, 0.58);
  font-size: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 26px 0 30px;
  border-top: 1px solid var(--line);
  color: rgba(245, 239, 227, 0.64);
  font-size: 12px;
}

.site-footer p {
  flex: none;
  margin: 0;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.feature-list span {
  position: relative;
}

.feature-list span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -16px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  transform: translateY(-50%);
}

@media (max-width: 820px) {
  .hero-image {
    background-position: 67% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 8, 9, 0.96) 0%, rgba(7, 8, 9, 0.76) 68%, rgba(7, 8, 9, 0.5) 100%),
      linear-gradient(0deg, rgba(7, 8, 9, 0.9) 0%, transparent 52%);
  }

  .hero-content {
    width: min(650px, 88vw);
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .landing-shell {
    min-height: 100svh;
    overflow: visible;
  }

  .hero-image {
    position: fixed;
    inset: 0;
    height: auto;
    min-height: 0;
    background-image: url("./classic-balkan-hero-mobile.webp");
    background-position: 72% center;
    background-size: cover;
    transform: none;
  }

  .hero-overlay {
    position: fixed;
    inset: 0;
    background:
      linear-gradient(180deg, rgba(7, 8, 9, 0.24) 0%, rgba(7, 8, 9, 0.4) 46%, rgba(7, 8, 9, 0.7) 100%),
      linear-gradient(90deg, rgba(7, 8, 9, 0.28), rgba(7, 8, 9, 0.08));
  }

  .page-frame {
    width: min(100% - 40px, 1440px);
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .site-header {
    min-height: 104px;
    padding-top: 6px;
  }

  .brand-logo {
    width: 196px;
    margin: -34px 0 -58px -36px;
  }

  .hero-content {
    width: 100%;
    margin-top: 0;
    padding: clamp(160px, 22svh, 220px) 0 34px;
  }

  .eyebrow {
    max-width: 360px;
    margin-bottom: 12px;
    color: #d9bf8b;
    font-size: 14px;
    line-height: 1.45;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(43px, 11.5vw, 58px);
    letter-spacing: -0.04em;
    line-height: 1;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
  }

  .hero-copy {
    max-width: 420px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.58;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-top: 26px;
  }

  .primary-action {
    width: min(100%, 260px);
    min-height: 50px;
  }

  .email-link {
    padding-left: 2px;
  }

  .launch-note {
    margin-top: 16px;
  }

  .site-footer {
    gap: 16px;
    margin-top: auto;
    padding: 22px 0 26px;
  }

  .feature-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    line-height: 1.45;
  }

  .feature-list span:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 380px) {
  .page-frame {
    width: calc(100% - 32px);
  }

  .hero-content {
    padding-top: clamp(140px, 20svh, 180px);
  }

  h1 {
    font-size: 42px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .primary-action {
    transition: none;
  }
}
