*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: var(--tracking-tight);
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: var(--tracking-cn);
  line-height: 1.35;
  color: var(--ink-900);
}

::selection {
  background: rgba(13, 148, 136, 0.18);
  color: var(--ink-900);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.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;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  color: var(--accent-strong);
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 600;
  letter-spacing: var(--tracking-cn);
  line-height: 1.35;
  color: var(--ink-900);
}

.section-head p {
  margin-top: 14px;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: var(--tracking-tight);
  color: var(--text-secondary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  transition: transform 0.35s var(--ease), background 0.25s ease, color 0.25s ease,
    box-shadow 0.35s var(--ease), border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--ink-900);
  color: var(--text-inverse);
  box-shadow: 0 10px 28px rgba(11, 31, 51, 0.22);
}

.btn-primary:hover {
  background: var(--ink-800);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 148, 136, 0.28);
}

.btn-accent:hover {
  background: var(--accent-strong);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-strong);
  color: var(--ink-900);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: #fff;
  border-color: rgba(11, 31, 51, 0.22);
}

.btn-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow svg,
.btn-arrow:hover svg {
  transform: translateX(3px);
}

.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.88rem;
}

a:focus-visible,
button:focus-visible,
.select:focus-visible,
select:focus-visible,
.filter-chip:focus-visible,
.btn:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

body.nav-open {
  overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}
.reveal-delay-4 {
  transition-delay: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
