:root {
    --color-ink: #17110c;
    --color-muted: #6f6257;
    --color-subtle: #988a7c;
    --color-bg: #fff8ef;
    --color-surface: #fffdf8;
    --color-surface-strong: #fff5e8;
    --color-band-warm: #fff1de;
    --color-band-sage: #edf5ee;
    --color-line: #eadccc;
    --color-line-strong: #d8c2ad;
    --color-brand: #f6a21a;
    --color-brand-strong: #c86f00;
    --color-brand-soft: #ffe3ae;
    --color-accent: #2f7d6d;
    --color-accent-soft: #dff3ec;
    --color-dark: #20150e;
    --color-dark-soft: #3b281d;
    --shadow-sm: 0 1px 2px rgba(32, 21, 14, 0.08), 0 8px 24px rgba(32, 21, 14, 0.06);
    --shadow-md: 0 18px 50px rgba(32, 21, 14, 0.12);
    --shadow-lg: 0 32px 80px rgba(32, 21, 14, 0.18);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 28px;
    --container: 1180px;
    --gutter: clamp(20px, 4vw, 56px);
    --section: clamp(46px, 6vw, 78px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    color: var(--color-ink);
    background:
        radial-gradient(circle at 12% -8%, rgba(246, 162, 26, 0.22), transparent 34rem),
        linear-gradient(180deg, #fff7ec 0%, #fffdf8 34%, #fff8ef 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
h1,
h2,
h3,
h4 {
    margin-top: 0;
}

p {
    color: var(--color-muted);
}

h1,
h2,
h3 {
    line-height: 1.02;
    letter-spacing: 0;
    overflow-wrap: break-word;
}

h1 {
    max-width: 11ch;
    font-size: clamp(2.55rem, 5.4vw, 5.35rem);
}

h2 {
    max-width: 18ch;
    font-size: clamp(1.8rem, 3.1vw, 3.2rem);
}

h3 {
    font-size: clamp(1.08rem, 1.45vw, 1.35rem);
}

ul,
ol {
    margin-top: 0;
}

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

button {
    color: inherit;
}

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

.button:focus-visible {
    outline-offset: 2px;
}

::selection {
    color: var(--color-dark);
    background: var(--color-brand-soft);
}

.skip-link {
    position: fixed;
    left: 16px;
    top: 16px;
    z-index: 1000;
    transform: translateY(-140%);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    background: var(--color-dark);
    color: #fff;
    transition: transform 180ms var(--ease);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow,
.section-kicker {
    margin-bottom: 14px;
    color: var(--color-brand-strong);
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.page-copy,
.hero-copy {
    max-width: 720px;
    font-size: clamp(1.02rem, 1.35vw, 1.2rem);
    line-height: 1.65;
}

.inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-brand-strong);
    font-weight: 800;
}

.inline-link:hover {
    color: var(--color-accent);
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatSoft {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.55;
    }
    50% {
        opacity: 0.85;
    }
}

.hero-content > *,
.page-hero-content > * {
    animation: fadeInUp 700ms var(--ease) both;
}

.hero-content > *:nth-child(2),
.page-hero-content > *:nth-child(2) {
    animation-delay: 80ms;
}

.hero-content > *:nth-child(3),
.page-hero-content > *:nth-child(3) {
    animation-delay: 160ms;
}

.hero-content > *:nth-child(4),
.page-hero-content > *:nth-child(4) {
    animation-delay: 240ms;
}

.hero::before,
.page-hero::before {
    animation: floatSoft 9s ease-in-out infinite, pulseGlow 9s ease-in-out infinite;
}

.hero-bg {
    animation: floatSoft 11s ease-in-out infinite;
}

/* Stagger reveal-on-scroll items based on sibling order, so any
   group of [data-reveal] cards animates in as a cascade rather
   than popping in all at once. */
[data-reveal]:nth-child(2) { transition-delay: 70ms; }
[data-reveal]:nth-child(3) { transition-delay: 140ms; }
[data-reveal]:nth-child(4) { transition-delay: 210ms; }
[data-reveal]:nth-child(5) { transition-delay: 280ms; }
[data-reveal]:nth-child(6) { transition-delay: 350ms; }

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