@import url('https://api.fontshare.com/v2/css?f[]=cabinet-grotesk@800,700,500,400&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=satoshi@700,500,400&display=swap');
@import url('https://api.fontshare.com/v2/css?f[]=neue-montreal@700,500,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root {
  --c-emerald: #3F6A5A;
  --c-moss: #93AA94;
  --c-wheat: #BC9A5B;
  --c-oak: #6E5B4E;
  --c-fog: #F3F6F2;
  --c-stone: #5A6B62;
  --c-pine: #262F2C;
  --c-white: #FFFFFF;
  --c-border: rgba(63,106,90,0.12);
  --c-border-light: rgba(255,255,255,0.18);

  --g-hero: linear-gradient(135deg, #3F6A5A 0%, #6F8D7F 50%, #D9E3DC 100%);
  --g-btn: linear-gradient(135deg, #BC9A5B 0%, #D4B57C 100%);
  --g-bg: linear-gradient(180deg, #F3F6F2 0%, #E7ECE7 100%);
  --g-nature: linear-gradient(135deg, #3F6A5A 0%, #55776A 100%);
  --g-overlay: rgba(63,106,90,0.30);

  --f-display: 'Cormorant Garamond', Georgia, serif;
  --f-heading: 'Cabinet Grotesk', 'Helvetica Neue', sans-serif;
  --f-body: 'Neue Montreal', 'DM Sans', system-ui, sans-serif;
  --f-ui: 'Satoshi', system-ui, sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 40px;
  --radius-full: 9999px;

  --shadow-xs: 0 1px 4px rgba(38,47,44,0.04);
  --shadow-sm: 0 2px 12px rgba(38,47,44,0.06);
  --shadow-md: 0 8px 32px rgba(38,47,44,0.10);
  --shadow-lg: 0 20px 60px rgba(38,47,44,0.14);
  --shadow-xl: 0 32px 80px rgba(38,47,44,0.18);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-out: cubic-bezier(0, 0.55, 0.45, 1);

  --t-fast: 0.2s;
  --t-base: 0.45s;
  --t-slow: 0.7s;
  --t-slower: 1s;

  --header-h: 80px;
  --gap-sm: 16px;
  --gap: 24px;
  --gap-lg: 48px;
  --gap-xl: 80px;
  --gap-2xl: 120px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--f-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.65;
  color: var(--c-pine);
  background-color: var(--c-fog);
  overflow-x: hidden;
  position: relative;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

input, textarea, select {
  font-family: var(--f-body);
}

h1 {
  font-family: var(--f-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h2 {
  font-family: var(--f-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h3 {
  font-family: var(--f-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

h4 {
  font-family: var(--f-ui);
  font-weight: 600;
  line-height: 1.35;
}

h5, h6 {
  font-family: var(--f-ui);
  font-weight: 500;
}

.text-display { font-family: var(--f-display); }
.text-heading { font-family: var(--f-heading); }
.text-body { font-family: var(--f-body); }
.text-ui { font-family: var(--f-ui); }
.text-mono { font-family: var(--f-mono); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--f-ui);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--t-base) var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}

.btn--primary {
  background: var(--g-btn);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(188,154,91,0.30);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(188,154,91,0.45);
}

.btn--secondary {
  background: transparent;
  color: var(--c-pine);
  border: 1.5px solid var(--c-border);
}

.btn--secondary:hover {
  border-color: var(--c-emerald);
  color: var(--c-emerald);
  background: rgba(63,106,90,0.05);
}

.btn--white {
  background: rgba(255,255,255,0.15);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
}

.btn--white:hover {
  background: rgba(255,255,255,0.28);
  transform: translateY(-2px);
}

.btn--emerald {
  background: var(--c-emerald);
  color: var(--c-white);
  box-shadow: 0 4px 20px rgba(63,106,90,0.25);
}

.btn--emerald:hover {
  background: var(--c-stone);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(63,106,90,0.35);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 13px;
}

.btn--lg {
  padding: 18px 44px;
  font-size: 15px;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--t-fast) var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
}

.badge--emerald {
  background: rgba(63,106,90,0.10);
  color: var(--c-emerald);
  border: 1px solid rgba(63,106,90,0.20);
}

.badge--wheat {
  background: rgba(188,154,91,0.10);
  color: var(--c-oak);
  border: 1px solid rgba(188,154,91,0.25);
}

.badge--white {
  background: rgba(255,255,255,0.15);
  color: var(--c-white);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(8px);
}

.badge--dark {
  background: rgba(38,47,44,0.08);
  color: var(--c-pine);
  border: 1px solid rgba(38,47,44,0.12);
}

.tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-wheat);
  display: inline-block;
}

.divider {
  width: 40px;
  height: 2px;
  background: var(--c-wheat);
  border-radius: 2px;
}

.divider--wide {
  width: 80px;
}

.divider--full {
  width: 100%;
  height: 1px;
  background: var(--c-border);
}

.divider--v {
  width: 1px;
  height: 40px;
  background: var(--c-border);
}

@keyframes marquee-fwd {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes marquee-rev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.10s; }
.reveal-delay-2 { transition-delay: 0.20s; }
.reveal-delay-3 { transition-delay: 0.30s; }
.reveal-delay-4 { transition-delay: 0.40s; }
.reveal-delay-5 { transition-delay: 0.55s; }
.reveal-delay-6 { transition-delay: 0.70s; }

.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.00s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.10s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.20s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.30s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.40s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.50s; }

.underline-link {
  position: relative;
  display: inline-block;
}

.underline-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--t-base) var(--ease);
}

.underline-link:hover::after {
  width: 100%;
}

.glass-card {
  background: rgba(255,255,255,0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-balance { text-wrap: balance; }
.italic { font-style: italic; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.text-emerald { color: var(--c-emerald); }
.text-wheat { color: var(--c-wheat); }
.text-moss { color: var(--c-moss); }
.text-pine { color: var(--c-pine); }
.text-white { color: var(--c-white); }
.text-stone { color: var(--c-stone); }
.bg-emerald { background: var(--c-emerald); }
.bg-pine { background: var(--c-pine); }
.bg-fog { background: var(--c-fog); }
.bg-nature { background: var(--g-nature); }
