/* Hand-written site CSS (not scanned by Tailwind). Brand tokens come from the @theme block
   in input.css and are available here as var(--color-*). */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}
/* Never distort an image: raster <img> carries width/height for CLS, so both axes follow the
   attribute-derived aspect ratio unless a utility pins one of them. */
img {
    height: auto;
    max-width: 100%;
}
body {
    font-family: var(--font-sans);
    color: var(--color-ink-800);
    background: var(--color-paper);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Wordmark - "Corporate." with the citron period. */
.wordmark {
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1;
}
.wordmark .dot {
    color: var(--color-citron-400);
}
.wordmark-dark .dot {
    color: var(--color-brand-500);
}

/* Header nav underline */
.nav-link {
    position: relative;
    transition: color 0.2s ease;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.15rem;
    height: 2px;
    border-radius: 2px;
    background: var(--color-brand-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
    transform: scaleX(1);
}

/* Hero: a large, low-opacity office photo under an ink gradient, plus a soft brand glow. */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--color-ink-950);
}
.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.42;
    transform: scale(1.04);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(60rem 30rem at 85% 10%, rgba(16, 180, 143, 0.28), transparent 60%),
        radial-gradient(40rem 26rem at 5% 95%, rgba(212, 240, 74, 0.12), transparent 60%),
        linear-gradient(180deg, rgba(5, 8, 15, 0.35) 0%, rgba(5, 8, 15, 0.55) 55%, rgba(5, 8, 15, 0.92) 100%);
}
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.hero-logo {
    filter: drop-shadow(0 18px 40px rgba(16, 180, 143, 0.35));
}

/* Inner-page banner (shorter hero) */
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: var(--color-ink-950);
}
/* Same large office-photo treatment as the home hero: the photo reads clearly, the left-weighted
   gradient keeps the headline legible. */
.page-hero .hero-photo {
    opacity: 0.85;
    object-position: right center;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(50rem 24rem at 90% 0%, rgba(16, 180, 143, 0.28), transparent 60%),
        linear-gradient(90deg, rgba(5, 8, 15, 0.88) 0%, rgba(5, 8, 15, 0.62) 55%, rgba(5, 8, 15, 0.35) 100%),
        linear-gradient(180deg, rgba(5, 8, 15, 0.2), rgba(5, 8, 15, 0.6));
}

/* Glass card used on dark sections */
.glass {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Card lift */
.lift {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -18px rgba(11, 18, 32, 0.35);
    border-color: var(--color-brand-300);
}

/* Interview timeline */
.timeline {
    counter-reset: step;
}
.timeline > li {
    counter-increment: step;
}
.timeline .step-num::before {
    content: counter(step, decimal-leading-zero);
}

/* FAQ accordion */
details.faq summary {
    list-style: none;
    cursor: pointer;
}
details.faq summary::-webkit-details-marker {
    display: none;
}
details.faq .faq-icon {
    transition: transform 0.25s ease;
}
details.faq[open] .faq-icon {
    transform: rotate(45deg);
}

/* Eyebrow label */
.eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .lift,
    .lift:hover {
        transition: none;
        transform: none;
    }
}
