:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #10251f;
  color: #fff;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; margin: 0; }

body { background: #10251f; }

button, a { font: inherit; }

.hero {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(8, 26, 21, .96) 0%, rgba(8, 26, 21, .86) 38%, rgba(8, 26, 21, .18) 72%), image-set(url("assets/golestan-market-hero.webp") type("image/webp"), url("assets/golestan-market-hero.png") type("image/png"));
  background-size: cover;
  background-position: center;
}

.site-header, .hero-content, footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 750;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 21px;
}

.language-selector {
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 4px;
  background: rgba(8,26,21,.45);
}

.language-selector button {
  min-width: 42px;
  min-height: 44px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-weight: 750;
}

.language-selector button:hover,
.language-selector button:focus-visible,
.language-selector button.is-active { background: #fff; color: #17352d; }

.hero-content {
  align-self: center;
  padding-block: 64px;
}

.eyebrow {
  margin: 0 0 20px;
  color: #f1c86d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 8vw, 104px);
  font-weight: 500;
  line-height: .96;
  letter-spacing: 0;
}

.intro {
  max-width: 570px;
  margin: 28px 0 32px;
  color: rgba(255,255,255,.86);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 4px;
  color: #10251f;
  background: #f1c86d;
  text-decoration: none;
  font-weight: 800;
}

.contact-button:hover, .contact-button:focus-visible { background: #fff; }

.email { margin: 16px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.7);
  font-size: 13px;
}

@media (max-width: 700px) {
  .hero {
    min-height: 100svh;
    background-image: linear-gradient(180deg, rgba(8,26,21,.55) 0%, rgba(8,26,21,.94) 58%, #081a15 100%), image-set(url("assets/golestan-market-hero.webp") type("image/webp"), url("assets/golestan-market-hero.png") type("image/png"));
    background-position: 62% center;
  }
  .site-header, .hero-content, footer { width: min(100% - 32px, 1180px); }
  .site-header { padding-block: 20px; }
  .language-selector button { min-width: 38px; }
  .hero-content { align-self: end; padding-block: 72px 40px; }
  h1 { font-size: clamp(48px, 14vw, 72px); }
  .intro { font-size: 18px; }
  footer { flex-direction: column; gap: 8px; }
}

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