:root {
  --green:       #2C4A3E;
  --green-dark:  #1A2E28;
  --green-mid:   #3D6456;
  --orange:      #EA532C;
  --amber:       #F0A500;
  --cream:       #FFF9C4;
  --sand:        #FBF7EE;
  --sand-dark:   #EEE8D4;
  --sky:         #E8F5FA;
  --sky-mid:     #C8E8F4;
  --teal:        #3A8A9E;
  --white:       #FFFFFF;
  --text:        #1E2D28;
  --muted:       #628069;
  --radius:      12px;
  --radius-lg:   20px;
  --max-w:       1240px;
  --content-w:   720px;
  --sidebar:     320px;
  --r:           10px;
  --r-lg:        16px;
  --hero-wave-height: 88px;
  --hero-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 52 Q130 18 260 42 Q390 62 520 28 Q650 4 780 36 Q910 62 1040 24 Q1170 0 1300 30 Q1380 50 1440 22 L1440 80Z' fill='black'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
  :root {
    --hero-wave-height: 110px;
    --hero-wave-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 110 L0 72 Q360 10 720 64 Q1080 110 1440 45 L1440 110Z' fill='black'/%3E%3C/svg%3E");
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Nunito', sans-serif;
  font-size: 17px;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

.display { font-family: 'Bebas Neue', sans-serif; letter-spacing: 0.02em; }
h1.display { font-size: clamp(48px, 6vw, 84px); line-height: 0.95; }
h2.display { font-size: clamp(34px, 5vw, 62px); line-height: 1; }
h3 { font-size: 19px; font-weight: 800; }
p  { line-height: 1.68; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
section { position: relative; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 30px; border-radius: var(--radius);
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px;
  cursor: pointer; text-decoration: none; border: none;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
  letter-spacing: 0.01em;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary   { background: var(--amber); color: var(--green); box-shadow: 0 4px 20px rgba(240,165,0,0.35); }
.btn-primary:hover { background: #FFB800; box-shadow: 0 8px 28px rgba(240,165,0,0.45); }
.btn-ghost     { background: rgba(255,255,255,0.12); color: var(--white); border: 1.5px solid rgba(255,255,255,0.35); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.6); }
.btn-orange    { background: var(--orange); color: var(--cream); }
.btn-orange:hover { background: #d44520; box-shadow: 0 8px 24px rgba(234,83,44,0.3); }
.btn-green     { background: var(--green); color: var(--cream); }
.btn-green:hover { background: var(--green-mid); }
.btn-amber     { background: var(--amber); color: var(--green); font-weight: 800; }
.btn-amber:hover { background: #FFB800; }
.btn-sm        { padding: 10px 20px; font-size: 13px; }

/* ── Section labels ── */
.section-header { text-align: center; margin-bottom: 72px; }
.eyebrow {
  color: var(--amber); font-weight: 800; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 12px;
}
.section-header p { font-size: 17px; color: var(--muted); max-width: 520px; margin: 0 auto; }

/* ── Accessibility: focus styles ── */
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible { outline-offset: 4px; }
a:focus-visible { outline-offset: 2px; }

.skip-nav {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--amber); color: var(--green);
  padding: 8px 16px; border-radius: 0 0 8px 8px;
  font-weight: 800; font-size: 13px; text-decoration: none;
  transition: top 0.2s;
}
.skip-nav:focus { top: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ── Section wave dividers ── */
/* Usage: add data-wave-next="sand|white|green" to a <section> */
[data-wave-next] {
  position: relative;
}
[data-wave-next]::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  pointer-events: none;
  z-index: 2;
}
[data-wave-next="sand"]::after {
  background: var(--sand);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
[data-wave-next="white"]::after {
  background: var(--white);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
[data-wave-next="green"]::after {
  background: var(--green);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
[data-wave-next="green-dark"]::after {
  background: var(--green-dark);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 64' preserveAspectRatio='none'%3E%3Cpath d='M0 64 L0 36 Q180 8 360 28 Q540 48 720 20 Q900 2 1080 26 Q1260 50 1440 18 L1440 64Z' fill='black'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
