:root {
  color-scheme: light;
  --ink: #1a1c22;
  --muted: #4d5360;
  --cream: #f6f1e8;
  --peach: #f1c8a2;
  --sage: #c4d6c0;
  --ocean: #8ab6c8;
  --coral: #e3866a;
  --shadow: rgba(26, 28, 34, 0.12);
  --glass: rgba(255, 255, 255, 0.6);
  --outline: rgba(26, 28, 34, 0.12);
  --radius: 24px;
  --max-width: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 10% 10%, #fdf6ec 0%, #f6efe4 40%, #f0e9da 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Fraunces", "Times New Roman", serif;
  margin: 0 0 0.5rem;
  font-weight: 700;
}

p {
  margin: 0;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 1;
}

.hero {
  position: relative;
  padding: 32px 24px 96px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(0.5px);
  z-index: 0;
}

.hero::before {
  background: radial-gradient(circle, rgba(227, 134, 106, 0.3), rgba(227, 134, 106, 0));
  top: -200px;
  right: -120px;
}

.hero::after {
  background: radial-gradient(circle, rgba(138, 182, 200, 0.35), rgba(138, 182, 200, 0));
  bottom: -300px;
  left: -120px;
}

.nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  font-family: "Fraunces", serif;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  margin-bottom: 14px;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 12px 24px var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px var(--shadow);
}

.nav-links .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px var(--shadow);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  margin: 64px auto 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-text h1 {
  font-size: clamp(2.6rem, 3vw + 1.5rem, 4.2rem);
}

.lead {
  margin: 20px 0 28px;
  font-size: 1.05rem;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-weight: 600;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.primary {
  background: var(--ink);
  color: #fff;
}

.secondary {
  background: transparent;
  color: var(--ink);
}

.primary:hover,
.secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px var(--shadow);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-panel {
  display: grid;
  gap: 20px;
}

.panel-card {
  background: var(--glass);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 20px 40px var(--shadow);
  border: 1px solid var(--outline);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.4s var(--ease);
}

.panel-card:hover {
  transform: translateY(-6px);
}

.panel-card.accent {
  background: linear-gradient(130deg, rgba(227, 134, 106, 0.2), rgba(138, 182, 200, 0.25));
}

.section {
  padding: 80px 24px;
}

.section-header {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-header p {
  color: var(--muted);
}

.story {
  background: #fff;
}

.story-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.story-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  background: #fffaf4;
  box-shadow: 0 12px 30px var(--shadow);
}

.features {
  background: linear-gradient(120deg, #f9f2e7 10%, #f8f6ef 60%, #f2ede1 100%);
}

.feature-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature {
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--outline);
  box-shadow: 0 10px 24px var(--shadow);
}

.principles {
  background: #f5f0e6;
}

.gallery {
  background: linear-gradient(140deg, #f7efe4 0%, #efe7dc 50%, #f6efe6 100%);
}

.gallery-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.gallery-card {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--outline);
  box-shadow: 0 18px 30px var(--shadow);
  display: grid;
  place-items: center;
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 12px 24px rgba(26, 28, 34, 0.15);
}

.policy-content {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
  color: var(--muted);
}

.policy-content p {
  color: var(--muted);
}

.policy-list {
  display: grid;
  gap: 20px;
  color: var(--ink);
}

.policy-section {
  background: #fffaf4;
  border: 1px solid var(--outline);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: 0 10px 22px var(--shadow);
}

.policy-section h3 {
  margin-bottom: 8px;
}

.policy-section ul {
  margin: 8px 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.policy-section ul li + li {
  margin-top: 6px;
}


.principle-list {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.principle {
  display: flex;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  background: #fff;
  box-shadow: 0 12px 26px var(--shadow);
}

.tag {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--sage);
  font-weight: 600;
}

.cta-section {
  padding-bottom: 110px;
}

.cta-panel {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 36px;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(26, 28, 34, 0.9), rgba(26, 28, 34, 0.75));
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-panel .secondary {
  border-color: #fff;
  color: #fff;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer {
  padding: 32px 24px 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
}

@media (max-width: 900px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-text {
    animation: float-in 1.1s var(--ease);
  }

  .hero-panel {
    animation: rise-in 1.1s var(--ease);
  }

  .story-card,
  .feature,
  .principle {
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  }

  .story-card:hover,
  .feature:hover,
  .principle:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px var(--shadow);
  }
}

@keyframes float-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
