/* Landing page styles — foundation layer.
 *
 * The landing bundle is five files, loaded by core/home.html in this order:
 *   landing-base.css      utilities, section structure, buttons, rings/plates
 *   landing-hero.css      hero scene + trust strip
 *   landing-sections.css  steps, services, pillars, proof
 *   landing-footer.css    coverage, CTA band, marketing footer
 *   landing-motion.css    parallax tiers + reduced-motion override (must be last)
 *
 * Loaded only by core/home.html, so nothing here can reach the dashboard,
 * booking, or auth screens. Consumes brand.css tokens exclusively -- there are
 * no raw colour values in this bundle.
 *
 * Breakpoints are strictly 640 / 768 / 1024. core.tests pins that set project
 * wide; anything finer is handled with clamp() rather than a new query. Each
 * file carries the media rules for its own sections.
 */

/* ---------------------------------------------------------------- utilities */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Off-screen until focused, so keyboard users can jump the hero. */
.skip-link {
    position: absolute;
    left: var(--g-space-s);
    top: -100%;
    z-index: 100;
    background: var(--g-gold);
    color: var(--g-navy-950);
    font-family: var(--g-font-display);
    font-weight: var(--g-weight-bold);
    text-transform: uppercase;
    letter-spacing: var(--g-tracking-wide);
    text-decoration: none;
    padding: var(--g-space-2xs) var(--g-space-s);
    border-radius: var(--g-radius-s);
}

.skip-link:focus {
    top: var(--g-space-s);
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* Chrome-bevelled display text, recreating the wrap's wordmark treatment.
 * Guarded: without background-clip support, `color: transparent` would render
 * the headline invisible rather than merely unstyled. */
.chrome-text,
.gold-text {
    color: var(--g-chrome-100);
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
    .chrome-text {
        background-image: var(--g-chrome-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .gold-text {
        background-image: var(--g-gold-gradient);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

/* --------------------------------------------------------------- structure */

.section {
    padding-block: var(--g-section-y);
    position: relative;
    overflow: hidden;
}

.section--dark {
    background: var(--g-navy-900);
    color: var(--g-ink-inverse);
}

.section-head {
    max-width: 46rem;
    margin-bottom: var(--g-space-xl);
}

.section-eyebrow {
    font-family: var(--g-font-display);
    font-weight: var(--g-weight-bold);
    font-size: var(--g-step-0);
    text-transform: uppercase;
    letter-spacing: var(--g-tracking-wide);
    color: var(--g-gold);
    margin-bottom: var(--g-space-3xs);
}

.section-title {
    font-size: var(--g-step-5);
    font-style: italic;
    text-transform: uppercase;
    line-height: var(--g-leading-tight);
    margin-bottom: var(--g-space-s);
}

.section:not(.section--dark) .section-title {
    color: var(--g-navy-900);
}

.section-lede {
    font-size: var(--g-step-1);
    color: var(--g-ink-muted);
    max-width: 40rem;
}

.section--dark .section-lede {
    color: var(--g-ink-inverse-muted);
}

/* ----------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--g-space-2xs);
    font-family: var(--g-font-display);
    font-weight: var(--g-weight-heavy);
    font-size: var(--g-step-1);
    text-transform: uppercase;
    letter-spacing: var(--g-tracking-wide);
    text-decoration: none;
    padding: 0.7rem 1.4rem;
    border-radius: var(--g-radius-s);
    /* 44px minimum touch target. */
    min-height: 44px;
    transition: background var(--g-duration) var(--g-ease-out),
                transform var(--g-duration-fast) var(--g-ease-out);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn__icon {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.btn--call {
    background: var(--g-action);
    color: #ffffff;
    box-shadow: var(--g-shadow-inset-chrome), var(--g-shadow-m);
}

.btn--call:hover {
    background: var(--g-action-hover);
}

.btn--gold {
    background: var(--g-gold);
    color: var(--g-navy-950);
    box-shadow: var(--g-shadow-inset-chrome), var(--g-shadow-m);
}

.btn--gold:hover {
    background: var(--g-gold-deep);
}

.btn--ghost {
    background: transparent;
    color: var(--g-chrome-100);
    border: 2px solid var(--g-chrome-500);
}

.btn--ghost:hover {
    border-color: var(--g-gold);
    color: var(--g-gold);
}

.btn--lg {
    font-size: var(--g-step-2);
    padding: 0.85rem 1.8rem;
}

/* ------------------------------------------------------- rings and plates */

/* The wrap's gold icon rings. */
.ring {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 50%;
    border: 2px solid var(--g-gold);
    background: rgba(248, 160, 0, 0.08);
    color: var(--g-gold);
    flex-shrink: 0;
}

.ring--sm {
    width: 2.5rem;
    height: 2.5rem;
}

.ring__icon {
    width: 55%;
    height: 55%;
}

/* Chrome-edged plate. Angular, with a bevelled top edge -- the counterpoint to
 * the soft rounded cards the reference site uses. */
.plate {
    position: relative;
    background: var(--g-surface-raised);
    border: 1px solid var(--g-line);
    border-top: var(--g-bevel) solid var(--g-gold);
    border-radius: var(--g-radius-s);
    box-shadow: var(--g-shadow-s);
    transition: box-shadow var(--g-duration) var(--g-ease-out),
                transform var(--g-duration) var(--g-ease-out);
}

.section--dark .plate,
.proof .plate {
    background: var(--g-navy-700);
    border-color: var(--g-line-inverse);
    color: var(--g-ink-inverse);
}
