/* AJERES — design tokens + reset. Mobile-first. No !important. */
:root {
  --ink: #1b1712;
  --muted: #6e655b;
  --line: #ede7de;
  --accent: #ff5a36;
  --accent-ink: #db3f1c;
  --peach: #ffe6da;
  --accent-soft: #fff0ea;
  --cream: #fbf6ef;
  --glow: rgba(255, 90, 54, 0.5);
  --c-coral: #ff5a36;
  --c-amber: #f79315;
  --c-green: #1fa968;
  --c-blue: #3e7bfa;
  --c-purple: #7c5cfc;
  --c-pink: #ff4f97;
  --t-coral: #ffe7df;
  --t-amber: #ffefcf;
  --t-green: #d8f2e5;
  --t-blue: #e2eaff;
  --t-purple: #ece6ff;
  --t-pink: #ffe1ee;
  --foot-bg: #0f1835;
  --foot-fg: #e8eefc;
  --foot-mut: #9aabc8;
  --foot-line: rgba(232, 238, 252, 0.14);

  --c-bg: #ffffff;
  --c-bg-soft: var(--cream);
  --c-ink: var(--ink);
  --c-muted: var(--muted);
  --c-muted-2: #7a7166;
  --c-muted-3: #8a8176;
  --c-accent: var(--accent);
  --c-accent-hover: var(--accent-ink);
  --c-chip: var(--accent-soft);
  --c-sand: var(--cream);
  --c-milk: var(--cream);
  --c-line: var(--line);
  --c-line-strong: rgba(27, 23, 18, 0.16);

  --font: "Comfortaa", system-ui, -apple-system, sans-serif;
  --font-display: "Comfortaa", system-ui, sans-serif;
  --font-serif: "Comfortaa", system-ui, sans-serif;
  --radius: 14px;
  --radius-lg: 24px;
  --radius-pill: 10px;
  --radius-btn: 10px;
  --header-h: 96px;
  --space: 18px;
  --max: 1260px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  min-height: 100dvh;
}

::selection {
  background: var(--accent);
  color: #fff;
}

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

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

a:hover {
  color: var(--c-coral);
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3,
.heading {
  max-width: 100%;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
}

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

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(var(--space), env(safe-area-inset-left, 0px));
  padding-right: max(var(--space), env(safe-area-inset-right, 0px));
}

.section {
  padding: clamp(44px, 6vw, 90px) 0;
}

.section--tight {
  padding: clamp(32px, 4vw, 56px) 0;
}

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.heading {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-style: normal;
  font-synthesis: none;
}

h1,
h2,
h3,
h4,
em {
  font-style: normal;
  font-synthesis: none;
}

.heading--xl {
  font-size: clamp(1.75rem, 6vw, 3.25rem);
}

.heading--lg {
  width: 100%;
  font-size: clamp(1.65rem, 3.4vw, 3.125rem);
}

@media (min-width: 768px) {
  .heading--lg {
    white-space: nowrap;
  }
}

.heading--serif {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.02;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.55;
  color: var(--c-muted);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  border: none;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
  isolation: isolate;
  transition:
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.28s ease,
    filter 0.28s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn--primary {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 45%),
    var(
      --btn-primary-bg,
      linear-gradient(145deg, #ff7a52 0%, var(--accent) 48%, var(--accent-ink) 100%)
    );
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 14px 32px rgba(255, 90, 54, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 45%),
    linear-gradient(145deg, #ff8b66 0%, #ff6a48 48%, #e04822 100%);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px rgba(255, 90, 54, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}

.btn--ghost {
  color: var(--c-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, transparent 48%),
    var(--btn-secondary-bg, #ffffff);
  border: 1px solid rgba(27, 23, 18, 0.14);
  box-shadow:
    0 10px 24px rgba(20, 36, 64, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.04);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--c-ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, transparent 48%),
    #fffaf6;
  border-color: rgba(27, 23, 18, 0.22);
  transform: translateY(-2px);
  box-shadow:
    0 14px 30px rgba(20, 36, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.btn--dark {
  color: #fff;
  overflow: visible;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.26) 0%, transparent 45%),
    var(
      --btn-primary-bg,
      linear-gradient(145deg, #ff7a52 0%, var(--accent) 48%, var(--accent-ink) 100%)
    );
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow:
    0 14px 32px rgba(255, 90, 54, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.16);
  animation: aj-btn-pulse 2.8s ease-in-out infinite;
}

.btn--dark::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  background: rgba(255, 90, 54, 0.28);
  transform: scale(0.96);
  opacity: 0;
  animation: aj-btn-pulse-ring 2.8s ease-in-out infinite;
}

.btn--dark:hover,
.btn--dark:focus-visible {
  color: #fff;
  animation: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.32) 0%, transparent 45%),
    linear-gradient(145deg, #ff8b66 0%, #ff6a48 48%, #e04822 100%);
  border-color: rgba(255, 255, 255, 0.52);
  transform: translateY(-2px);
  box-shadow:
    0 20px 40px rgba(255, 90, 54, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}

.btn--dark:hover::before,
.btn--dark:focus-visible::before {
  animation: none;
  opacity: 0;
}

.btn--glass {
  color: #1b2430;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, transparent 48%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow:
    0 10px 28px rgba(20, 36, 64, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -1px 0 rgba(0, 0, 0, 0.06);
}

.btn--glass:hover,
.btn--glass:focus-visible {
  color: #1b2430;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, transparent 48%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow:
    0 14px 34px rgba(20, 36, 64, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(255, 255, 255, 0.42) 50%,
    rgba(255, 255, 255, 0.06) 65%,
    transparent 100%
  );
  transform: translateX(-160%) skewX(-18deg);
  animation: aj-btn-glint 5.2s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.btn--block {
  width: 100%;
}

@keyframes aj-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes aj-btn-glint {
  0%,
  18% {
    transform: translateX(-160%) skewX(-18deg);
  }
  48%,
  100% {
    transform: translateX(280%) skewX(-18deg);
  }
}

@keyframes aj-btn-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@keyframes aj-btn-pulse-ring {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.96);
  }
  50% {
    opacity: 0;
    transform: scale(1.16);
  }
}

@keyframes aj-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes aj-floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@keyframes aj-floaty3 {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(10px, -12px);
  }
}

@keyframes aj-panshift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes aj-drop-in {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  :root {
    --space: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --space: 42px;
  }
}
