@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@300;400;500&display=swap');

:root {
  --clr-primary: #3A183F;
  --clr-secondary: #5F6F45;
  --clr-accent: #C7783A;
  --clr-accent2: #B8A8C4;
  --clr-bg: #F3EFE6;
  --clr-text: #1D1B1E;
  --clr-dark: #1D1B1E;
  --clr-white: #FFFFFF;
  --clr-light: #E7DDCE;
  --clr-muted: rgba(29, 27, 30, 0.52);

  --grad-hero: linear-gradient(135deg, #3A183F 0%, #5F6F45 65%, #C7783A 100%);
  --grad-btn: linear-gradient(135deg, #C7783A 0%, #8E4B2A 100%);
  --grad-bg: linear-gradient(180deg, #F3EFE6 0%, #E7DDCE 100%);
  --grad-deep: linear-gradient(135deg, #1D1B1E 0%, #3A183F 100%);

  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 2px;
  --radius-md: 4px;

  --shadow-sm: 0 1px 4px rgba(58, 24, 63, 0.06), 0 2px 8px rgba(58, 24, 63, 0.04);
  --shadow-md: 0 4px 16px rgba(58, 24, 63, 0.10), 0 8px 32px rgba(58, 24, 63, 0.06);
  --shadow-lg: 0 16px 48px rgba(58, 24, 63, 0.14), 0 32px 80px rgba(58, 24, 63, 0.08);

  --transition: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --header-h: 72px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.75;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--clr-dark);
}

h1 { font-size: clamp(38px, 5.5vw, 80px); }
h2 { font-size: clamp(28px, 3.4vw, 54px); }
h3 { font-size: clamp(20px, 2.2vw, 32px); }
h4 { font-size: clamp(16px, 1.5vw, 22px); }
h5 { font-size: clamp(14px, 1.2vw, 17px); }

p {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.78;
}

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--clr-primary);
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

.mono {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  display: block;
  margin-bottom: 1rem;
}

.label--light {
  color: rgba(255, 255, 255, 0.5);
}

.label--secondary {
  color: var(--clr-secondary);
}

.label--muted {
  color: var(--clr-accent2);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  text-decoration: none;
}

.btn--primary {
  background: var(--grad-btn);
  color: var(--clr-white);
  border: 2px solid transparent;
  box-shadow: 0 4px 18px rgba(199, 120, 58, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(199, 120, 58, 0.42);
  color: var(--clr-white);
}

.btn--outline {
  background: transparent;
  color: var(--clr-accent);
  border: 1.5px solid var(--clr-accent);
}

.btn--outline:hover {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--clr-dark);
  color: #fff;
  border: 2px solid transparent;
}

.btn--dark:hover {
  background: var(--clr-primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.btn:hover svg {
  transform: translateX(4px);
}

.text-accent { color: var(--clr-accent); }
.text-primary { color: var(--clr-primary); }
.text-secondary { color: var(--clr-secondary); }
.text-muted { color: var(--clr-muted); }
.text-white { color: #fff !important; }

.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;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
  }
}
