:root {
  --bg: #FCFAF6;
  --white: #ffffff;
  --ink: #1c1917;
  --ink-soft: #3f3b37;
  --muted: #5c5752;
  --brown: #a0572c;
  --brown-dark: #864820;
  --line: #d8cfc6;
  --card-1: #DFE0DA;
  --card-2: #EFE4EC;
  --card-3: #F6F3EC;
  --heading: "Manrope", "Segoe UI", sans-serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --shadow: 0 10px 30px rgba(60, 40, 20, 0.06);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 24px;
}

.logo img {
  height: 52px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: #2b2926;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brown);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
}

.hero {
  background:
    linear-gradient(90deg, rgba(248, 242, 234, 0.58) 0%, rgba(248, 242, 234, 0.34) 28%, rgba(248, 242, 234, 0.08) 46%, rgba(248, 242, 234, 0) 58%),
    url("../images/banner.jpg") center 28% / cover no-repeat;
  color: var(--ink);
}

.hero-copy {
  max-width: 720px;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 0 84px;
}

.badge {
  align-self: flex-start;
  margin: 0 0 22px;
  padding: 7px 14px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.55);
  color: var(--brown);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.mission-copy h2 {
  font-family: var(--heading);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero h1 {
  margin: 0;
  max-width: 13em;
  font-size: clamp(40px, 4.2vw, 54px);
  color: #171412;
}

.lead {
  margin: 20px 0 0;
  max-width: 520px;
  color: #3a342e;
  font-size: 16.5px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-actions .btn {
  min-height: 44px;
  padding: 0 22px;
  border-width: 1px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}

.hero-actions .btn-primary {
  background: #a0562b;
  border-color: #a0562b;
  color: #fff;
}

.hero-actions .btn-primary:hover {
  background: #8b4a24;
  border-color: #8b4a24;
}

.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, 0.50);
  border-color: rgba(255, 255, 255, 0.9);
  color: #2a2622;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 2px rgba(40, 28, 16, 0.08);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: #fff;
  color: #1c1917;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: var(--brown);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brown-dark);
}

.btn-ghost {
  background: rgba(255, 252, 248, 0.88);
  border-color: #cfc4b8;
  color: #2c2825;
}

.btn-ghost:hover {
  background: #fff;
  border-color: #2c2825;
}

.mission {
  padding: 78px 0 36px;
  background: var(--bg);
}

.mission-layout {
  display: grid;
  grid-template-columns: minmax(280px, 450px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.mission-copy .eyebrow {
  margin: 0 0 14px;
  color: #a0562b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mission-copy h2 {
  margin: 0;
  font-size: clamp(32px, 2.6vw, 38px);
  max-width: 100%;
}

.mission-copy p {
  margin: 18px 0 0;
  max-width: 100%;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  min-height: 248px;
  padding: 22px 20px 18px;
  border-radius: 18px;
  color: var(--ink-soft);
  transition: transform 0.2s ease;
}

.card:nth-child(1) { background: var(--card-1); }
.card:nth-child(2) { background: var(--card-2); }
.card:nth-child(3) { background: var(--card-3); }

.card:hover {
  transform: translateY(-3px);
}

.card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d3cbc2;
  color: #1c1917;
}

.card:nth-child(1) .card-icon { background: #828a7d52; }
.card:nth-child(2) .card-icon { background: #decfda; }
.card:nth-child(3) .card-icon { background: #ded9cf; }

.card-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.card h3 {
  margin: 0;
  color: #2c2a26;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card p {
  margin: 10px 0 0;
  color: #4a453f;
  font-size: 15.5px;
  line-height: 1.5;
}

.card-arrow {
  margin-top: auto;
  padding-top: 22px;
  color: #2a2724;
  font-size: 18px;
  line-height: 1;
}

.site-footer {
  margin-top: auto;
  padding: 0 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid #e6e0d8;
  color: #8a847c;
  font-size: 13.5px;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-rule {
  width: 1px;
  height: 14px;
  background: #d5d0ca;
}

.soon-dialog {
  width: min(440px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(40, 28, 16, 0.18);
}

.soon-dialog::backdrop {
  background: rgba(28, 25, 23, 0.48);
}

.soon-card {
  position: relative;
  padding: 48px 36px 36px;
  text-align: center;
}

.soon-card h2 {
  margin: 0 0 22px;
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.65;
  color: #3a342e;
}

.soon-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #5c5752;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.soon-close:hover {
  background: #f6f1eb;
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .mission-layout {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: 0;
  }

  .hero-copy {
    min-height: 0;
    max-width: none;
    padding: 64px 0 280px;
  }

  .hero {
    background:
      linear-gradient(180deg, rgba(251, 247, 242, 0.94) 0%, rgba(251, 247, 242, 0.88) 46%, rgba(251, 247, 242, 0.15) 78%),
      url("../images/banner.jpg") center 30% / cover no-repeat;
  }

}

@media (max-width: 760px) {
  .container {
    width: min(1280px, calc(100% - 32px));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header {
    position: sticky;
  }

  .header-inner {
    min-height: 72px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 16px 16px;
    background: #fff;
    border-bottom: 1px solid #efe8e0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 12px 8px;
  }

  .hero h1 br {
    display: none;
  }

  .footer-inner {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .card { transition: none; }
}
