:root {
    --background: 40 33% 98%;
    --background-pure: 0 0% 100%;
    --foreground: 213 56% 10%;
    --card: 0 0% 100%;
    --card-foreground: 213 56% 10%;
    --popover: 0 0% 100%;
    --popover-foreground: 213 56% 10%;
    --navy: 222 60% 30%;
    --navy-foreground: 40 33% 98%;
    --brand: 222 60% 30%;
    --brand-foreground: 40 33% 98%;
    --primary: 222 60% 30%;
    --primary-foreground: 40 33% 98%;
    --secondary: 36 24% 94%;
    --secondary-foreground: 222 60% 30%;
    --muted: 36 18% 92%;
    --muted-foreground: 222 14% 36%;
    --accent: 42 80% 46%;
    --accent-foreground: 0 0% 100%;
    --accent-soft: 42 70% 58%;
    --destructive: 0 70% 45%;
    --destructive-foreground: 0 0% 100%;
    --border: 213 20% 88%;
    --rule: 213 18% 80%;
    --input: 213 20% 88%;
    --ring: 43 89% 38%;
    --radius: 0.25rem;
    --sidebar-background: 0 0% 100%;
    --sidebar-foreground: 213 56% 10%;
    --sidebar-primary: 213 56% 10%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 36 24% 94%;
    --sidebar-accent-foreground: 213 56% 10%;
    --sidebar-border: 213 20% 88%;
    --sidebar-ring: 43 89% 38%;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    padding: 0;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    font-family: 'Ubuntu', system-ui, sans-serif;
    font-feature-settings: "ss01", "cv11";
    letter-spacing: -0.01em;
}

main {
    display: block;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

::selection {
    background: hsl(var(--accent) / 0.25);
    color: hsl(var(--navy));
}

.container-page {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 768px) {
    .container-page {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .container-page {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.eyebrow {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .22em;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.rule {
    height: 1px;
    width: 100%;
    background: hsl(var(--rule));
}

.link-underline {
    position: relative;
    display: inline-block;
}

.link-underline::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 100%;
    transform: scaleX(0);
    transform-origin: right;
    background: hsl(var(--accent));
    transition: transform .5s ease-out;
}

.link-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.display-num {
    color: hsl(var(--accent));
    font-size: 3.25rem;
    line-height: 1;
    font-weight: 300;
    font-feature-settings: "lnum";
}

.soft-rule {
    border-color: hsl(var(--rule) / .45);
}

.type-kicker {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: .24em;
    color: hsl(var(--muted-foreground));
    font-weight: 500;
}

.type-hero {
    font-size: clamp(2.75rem, 6.3vw, 6rem);
    line-height: 1.02;
    letter-spacing: -0.028em;
    color: hsl(var(--navy));
}

.type-intro {
    font-size: clamp(1.06rem, 1.3vw, 1.34rem);
    line-height: 1.72;
    color: hsl(var(--muted-foreground));
}

.type-section-title {
    font-size: clamp(2rem, 3.7vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: hsl(var(--navy));
}

.type-card-title {
    font-size: clamp(2rem, 2.5vw, 2.75rem);
    line-height: 1.08;
    letter-spacing: -0.022em;
    color: hsl(var(--navy));
}

.type-body {
    font-size: 1rem;
    line-height: 1.78;
    color: hsl(var(--muted-foreground));
}

.field-label {
    display: block;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: .18em;
    color: hsl(var(--accent));
    margin-bottom: .42rem;
    font-weight: 600;
}

.field-input {
    width: 100%;
    background: transparent;
    border-bottom: 1px solid hsl(var(--rule));
    padding: .72rem 0;
    outline: none;
    color: hsl(var(--navy));
    font-size: 1.02rem;
    line-height: 1.45;
    transition: border-color .25s ease;
}

.field-input::placeholder {
    color: hsl(var(--muted-foreground) / .45);
}

.contact-meta-title {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: hsl(var(--muted-foreground));
    margin-bottom: .55rem;
    font-weight: 500;
}

.contact-meta-value {
    font-size: 1.08rem;
    line-height: 1.45;
    color: hsl(var(--navy));
}

.field-input:focus {
    border-color: hsl(var(--accent));
}

@keyframes accordion-down {
    from { height: 0; }
    to { height: var(--radix-accordion-content-height); }
}

@keyframes accordion-up {
    from { height: var(--radix-accordion-content-height); }
    to { height: 0; }
}

@keyframes fade-in {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in-slow {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.animate-accordion-down { animation: accordion-down .2s ease-out both; }
.animate-accordion-up { animation: accordion-up .2s ease-out both; }
.animate-fade-in { animation: fade-in .8s cubic-bezier(0.22, 1, 0.36, 1) both; }
.animate-fade-in-slow { animation: fade-in-slow 1.4s ease-out both; }

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition-property: opacity, transform;
    transition-duration: .9s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
