:root {
  --bg: #f7f5f0;
  --bg-warm: #f3efe6;
  --surface: #ffffff;
  --surface-alt: #efece4;
  --text: #1c2420;
  --muted: #5c6a62;
  --primary: #2f5d4a;
  --primary-hover: #244a3b;
  --accent: #8fa88f;
  --accent-soft: #d8e3d6;
  --solar: #d4a84b;
  --border: #ddd6c8;
  --border-strong: #c8beb0;
  --focus: #2f5d4a;
  --danger: #9b3a2f;
  --success: #2f5d4a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(28, 36, 32, 0.05);
  --shadow-md: 0 10px 30px rgba(28, 36, 32, 0.08);
  --shadow-lg: 0 18px 50px rgba(28, 36, 32, 0.1);
  --container: 1240px;
  --section-space: clamp(4rem, 8vw, 7rem);
  --header-h: 76px;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-bg: rgba(247, 245, 240, 0.92);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  position: relative;
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(212, 168, 75, 0.12), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(143, 168, 143, 0.18), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  min-height: 100vh;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--primary-hover);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--surface);
  color: var(--text);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: var(--section-space) 0;
  max-width: 100%;
}

.section-alt {
  background: color-mix(in srgb, var(--surface-alt) 70%, transparent);
}

.section-dark {
  background: linear-gradient(160deg, #1f332b 0%, #243d33 55%, #2a463a 100%);
  color: #f4f7f4;
}

.section-dark .muted,
.section-dark .section-kicker {
  color: rgba(244, 247, 244, 0.72);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.85rem;
}

.section-kicker::before {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: currentColor;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 700;
}

.section-lead {
  max-width: 42rem;
  color: var(--muted);
  margin: 0 0 2rem;
  font-size: 1.08rem;
}

.muted {
  color: var(--muted);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 0.9rem;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease),
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.btn .arrow {
  transition: transform 0.25s var(--ease);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--primary);
  color: #f7faf7;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-light {
  background: #f4f7f4;
  color: #1c2420;
}

.btn-light:hover {
  background: #fff;
  color: #1c2420;
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--primary) 25%, var(--border));
  }
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, #e7ece4 0%, #d8e0d4 45%, #c9d5c8 100%);
  border: 1px solid var(--border);
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.media-frame.has-label::after {
  content: attr(data-label);
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(28, 36, 32, 0.72);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.media-frame.portrait {
  aspect-ratio: 4 / 5;
}

@media (max-width: 768px) {
  .media-frame.portrait {
    aspect-ratio: 4 / 3;
  }

  .media-frame.pos-face img {
    object-position: center 15%;
  }

  .hero-visual .media-frame {
    aspect-ratio: 4 / 3;
    min-height: 240px;
  }
}

.media-frame.square {
  aspect-ratio: 1 / 1;
}

.media-frame.pos-right img {
  object-position: 72% center;
}

.media-frame.pos-left img {
  object-position: 28% center;
}

.media-frame.pos-top img {
  object-position: center 22%;
}

.media-frame.pos-face img {
  object-position: center 18%;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.stagger > .reveal:nth-child(2) {
  transition-delay: 0.08s;
}

.stagger > .reveal:nth-child(3) {
  transition-delay: 0.16s;
}

.stagger > .reveal:nth-child(4) {
  transition-delay: 0.24s;
}

.stagger > .reveal:nth-child(5) {
  transition-delay: 0.32s;
}

.stagger > .reveal:nth-child(6) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .stagger > .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .btn,
  .card,
  .btn .arrow {
    transition: none !important;
  }
}
