/* ==========================================================================
   ANAZ — Base tokens & minimal reset
   Shared by every component (header, hero, future sections). Keep this file
   limited to design tokens and element-level defaults.
   ========================================================================== */

:root {
    /* Brand colours */
    --anaz-navy: #0B2D49;
    --anaz-navy-dark: #061F36;
    --anaz-orange: #FF6500;
    --anaz-orange-light: #FF8A24;
    --anaz-orange-dark: #E85A00;
    --anaz-peach: #FFF0E5;
    --anaz-white: #FFFFFF;
    --anaz-cool-white: #F4F7FB;
    --anaz-ice: #E7EEF6;
    --anaz-text: #35465B;
    --anaz-muted: #6A7B8F;
    --anaz-border: #D8E0E8;

    /* Typography */
    --anaz-font: "Manrope", "Inter", "Segoe UI", Arial, sans-serif;

    /* Layout */
    --anaz-container: 1360px;
    --anaz-gutter: clamp(20px, 4vw, 48px);
    --anaz-header-h: 96px;

    /* Navy upper-right header block, shared by header + hero so they align.
       100% resolves against the full-width element that uses it. */
    --anaz-shape-slant: 40px;
    --anaz-shape-burger: 56px;
    --anaz-shape-pad: 26px;
    --anaz-shape-edge: max(var(--anaz-gutter), (100% - var(--anaz-container)) / 2);
    --anaz-shape-w: calc(var(--anaz-shape-edge) + var(--anaz-shape-burger) + var(--anaz-shape-pad) + var(--anaz-shape-slant));

    /* Shape & depth */
    --anaz-radius-button: 18px;
    --anaz-shadow-soft: 0 10px 30px rgba(11, 45, 73, 0.10);
    --anaz-shadow-orange: 0 12px 26px rgba(255, 101, 0, 0.28);
    --anaz-focus: 0 0 0 3px var(--anaz-white), 0 0 0 5px var(--anaz-orange);

    /* Motion */
    --anaz-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 1079px) {
    :root {
        --anaz-header-h: 80px;
        --anaz-shape-slant: 34px;
        --anaz-shape-burger: 52px;
    }
}

@media (max-width: 767px) {
    :root {
        --anaz-header-h: 68px;
        --anaz-shape-slant: 26px;
        --anaz-shape-burger: 46px;
        --anaz-shape-pad: 18px;
    }
}

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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    /* Anchored sections must clear the sticky header */
    scroll-padding-top: calc(var(--anaz-header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--anaz-font);
    color: var(--anaz-text);
    background: var(--anaz-white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.anaz-visually-hidden {
    position: absolute !important; /* utility must win over component positioning */
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.anaz-skip-link {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--anaz-navy);
    color: var(--anaz-white);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.anaz-skip-link:focus-visible {
    transform: none;
    outline: none;
    box-shadow: var(--anaz-focus);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important; /* honour the OS preference globally */
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
