:root {
  --sand: #f7efe4;
  --sand-2: #f1e6d6;
  --ink: #1c2b33;
  --ink-soft: #4a5b64;
  --sea: #16697a;
  --sea-deep: #0e4a58;
  --terracotta: #d9713c;
  --terracotta-deep: #c25a28;
  --white: #ffffff;
  --line: rgba(28, 43, 51, 0.12);
  --shadow: 0 18px 40px -24px rgba(14, 74, 88, 0.45);
  --radius: 18px;
  --container: 1120px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.1; margin: 0; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus { left: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 239, 228, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 600;
}
.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--terracotta), var(--sea));
  box-shadow: var(--shadow);
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.2px;
}
.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.site-nav a:hover { color: var(--sea); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-soft);
}
.lang-switch button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 4px 2px;
  transition: color 0.2s;
}
.lang-switch button[aria-pressed="true"] { color: var(--terracotta-deep); }
.lang-switch button:hover { color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: var(--shadow);
}
.btn-primary:hover { background: var(--terracotta-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--sea-deep);
  border: 1px solid var(--sea);
}
.btn-ghost:hover { background: rgba(22, 105, 122, 0.08); }
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 108px;
  background-color: var(--sand);
  background-image:
    linear-gradient(
      90deg,
      var(--sand) 0%,
      rgba(247, 239, 228, 0.96) 42%,
      rgba(247, 239, 228, 0.82) 60%,
      rgba(247, 239, 228, 0.2) 100%
    ),
    linear-gradient(180deg, rgba(247, 239, 228, 0) 70%, var(--sand-2) 100%),
    url("header.jpg");
  background-size: cover, cover, cover;
  background-position: center, center, center 30%;
  background-repeat: no-repeat;
}
.hero-inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--sea);
  margin: 0 0 14px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 600;
  margin-bottom: 20px;
}
.lede {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-glow {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(217, 113, 60, 0.28), transparent 65%);
  filter: blur(20px);
  z-index: 1;
}

/* Sections */
.section { padding: 84px 0; }
.section-alt { background: var(--sand-2); }
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 40px;
  max-width: 720px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-icon { font-size: 2rem; margin-bottom: 14px; }
.card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card p { margin: 0; color: var(--ink-soft); }

/* Split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.split-text p { color: var(--ink-soft); margin: 0 0 16px; }
.split-text .section-title { margin-bottom: 22px; }
.value-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.value-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: 12px;
  padding: 18px 20px;
  display: grid;
  gap: 4px;
}
.value-list strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }
.value-list span { color: var(--ink-soft); font-size: 0.96rem; }

/* Community */
.community-card {
  background: linear-gradient(135deg, var(--sea-deep), var(--sea));
  color: var(--white);
  border-radius: 26px;
  padding: 54px 48px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--shadow);
}
.community-card .eyebrow { color: rgba(255, 255, 255, 0.82); }
.community-card .section-title { color: var(--white); margin-bottom: 16px; }
.community-text p { color: rgba(255, 255, 255, 0.9); margin: 0 0 26px; max-width: 540px; }
.community-card .btn-primary { background: var(--white); color: var(--sea-deep); }
.community-card .btn-primary:hover { background: var(--sand); }
.community-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.community-emoji { font-size: 4rem; }

/* Contact */
.contact-inner { text-align: center; max-width: 680px; margin: 0 auto; }
.contact-inner .section-title { margin: 0 auto 18px; }
.contact-inner .lede { margin: 0 auto 30px; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.8);
  padding: 30px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.9rem;
}
.site-footer .brand-name { color: var(--white); }
.footer-meta { color: rgba(255, 255, 255, 0.6); }
.footer-copy { margin-left: auto; color: rgba(255, 255, 255, 0.6); }

/* Responsive */
@media (max-width: 860px) {
  .site-nav { display: none; }
  .hero {
    padding: 84px 0 76px;
    background-image:
      linear-gradient(
        90deg,
        var(--sand) 0%,
        rgba(247, 239, 228, 0.9) 55%,
        rgba(247, 239, 228, 0.6) 100%
      ),
      linear-gradient(180deg, rgba(247, 239, 228, 0) 60%, var(--sand-2) 100%),
      url("header.jpg");
  }
  .cards { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .community-card { grid-template-columns: 1fr; padding: 40px 30px; text-align: center; }
  .community-text p { margin-left: auto; margin-right: auto; }
  .community-visual { max-width: 200px; margin: 0 auto; }
}

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