:root {
    --bg: #f5f1e8;
    --surface: rgba(255, 255, 255, 0.72);
    --surface-strong: #fffdf8;
    --surface-dark: #14110f;
    --text: #171411;
    --muted: #5f584f;
    --line: rgba(23, 20, 17, 0.1);
    --accent: #ff6a3d;
    --accent-soft: rgba(255, 106, 61, 0.14);
    --shadow: 0 24px 60px rgba(47, 32, 15, 0.12);
    --pointer-x: 50%;
    --pointer-y: 50%;
    --pointer-glow-x: 50%;
    --pointer-glow-y: 50%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Instrument Sans", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(255, 106, 61, 0.18), transparent 28%),
        radial-gradient(circle at 80% 10%, rgba(60, 109, 255, 0.14), transparent 25%),
        linear-gradient(180deg, #f8f5ef 0%, #f1ece2 100%);
    line-height: 1.5;
    min-height: 100vh;
}

a {
    color: inherit;
}

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

.page-shell {
    position: relative;
    overflow: hidden;
}

.page-shell::selection {
    background: rgba(255, 106, 61, 0.18);
}

.page-shell::before,
.page-shell::after {
    content: "";
    position: fixed;
    inset: auto;
    pointer-events: none;
    z-index: 0;
    border-radius: 999px;
    filter: blur(30px);
    opacity: 0.55;
}

.page-shell::before {
    width: 22rem;
    height: 22rem;
    top: 8rem;
    right: -6rem;
    background: rgba(255, 106, 61, 0.18);
}

.page-shell::after {
    width: 18rem;
    height: 18rem;
    bottom: 8rem;
    left: -4rem;
    background: rgba(60, 109, 255, 0.14);
}

.page-shell .ambient-pointer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

.page-shell .ambient-pointer::before,
.page-shell .ambient-pointer::after {
    content: "";
    position: absolute;
    inset: 0;
    transition: opacity 220ms ease;
}

.page-shell .ambient-pointer::before {
    background:
        radial-gradient(circle 420px at var(--pointer-x) var(--pointer-y), rgba(255, 106, 61, 0.12), transparent 72%),
        radial-gradient(circle 620px at var(--pointer-glow-x) var(--pointer-glow-y), rgba(60, 109, 255, 0.08), transparent 74%);
    filter: blur(14px);
}

.page-shell .ambient-pointer::after {
    background:
        radial-gradient(circle 220px at var(--pointer-x) var(--pointer-y), rgba(255, 255, 255, 0.14), transparent 74%);
    mix-blend-mode: screen;
    opacity: 0.6;
}

.background-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-spark {
    position: absolute;
    display: block;
    width: clamp(220px, 24vw, 380px);
    aspect-ratio: 62 / 40;
    transform-origin: center;
    animation: background-spark-drift 18s ease-in-out infinite;
}

.bg-spark-one {
    top: 7%;
    right: 8%;
}

.bg-spark-two {
    top: 34%;
    left: -2%;
    width: clamp(180px, 20vw, 300px);
    animation-delay: -6s;
}

.bg-spark-three {
    right: 14%;
    bottom: 10%;
    width: clamp(240px, 26vw, 420px);
    animation-delay: -11s;
}

.bg-spark-piece {
    position: absolute;
    display: block;
    background: #9f7b43;
    opacity: 0.05;
    transform-origin: center;
    animation: background-spark-piece 8s ease-in-out infinite;
}

.bg-spark-piece-large {
    top: 34%;
    left: 11%;
    width: 37%;
    aspect-ratio: 1;
    clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
    animation-delay: -0.5s;
}

.bg-spark-piece-small {
    top: 3%;
    left: 26%;
    width: 9.5%;
    aspect-ratio: 1;
    clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
    animation-duration: 6.2s;
    animation-delay: -2.3s;
}

.bg-spark-piece-medium {
    top: 16%;
    right: 6%;
    width: 20%;
    aspect-ratio: 1;
    clip-path: polygon(50% 0, 64% 36%, 100% 50%, 64% 64%, 50% 100%, 36% 64%, 0 50%, 36% 36%);
    animation-duration: 7.1s;
    animation-delay: -4.1s;
}

.bg-spark-two .bg-spark-piece-large {
    animation-delay: -1.8s;
}

.bg-spark-two .bg-spark-piece-small {
    animation-delay: -3.4s;
}

.bg-spark-two .bg-spark-piece-medium {
    animation-delay: -5.2s;
}

.bg-spark-three .bg-spark-piece-large {
    animation-delay: -2.7s;
}

.bg-spark-three .bg-spark-piece-small {
    animation-delay: -4.8s;
}

.bg-spark-three .bg-spark-piece-medium {
    animation-delay: -6.3s;
}

@keyframes background-spark-drift {
    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    50% {
        transform: translate3d(0, -12px, 0) rotate(2deg);
    }
}

@keyframes background-spark-piece {
    0%,
    100% {
        opacity: 0.04;
        transform: translate3d(0, 0, 0) scale(0.96) rotate(0deg);
    }

    18% {
        opacity: 0.07;
        transform: translate3d(-1px, -2px, 0) scale(1);
    }

    24% {
        opacity: 0.11;
        transform: translate3d(1px, -4px, 0) scale(1.06) rotate(6deg);
    }

    30% {
        opacity: 0.06;
        transform: translate3d(0, -1px, 0) scale(0.98);
    }

    58% {
        opacity: 0.05;
        transform: translate3d(0, 0, 0) scale(0.97) rotate(0deg);
    }

    64% {
        opacity: 0.1;
        transform: translate3d(-1px, -3px, 0) scale(1.04) rotate(-5deg);
    }

    70% {
        opacity: 0.05;
        transform: translate3d(0, 0, 0) scale(0.98);
    }
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    padding: 26px 0 8px;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-brand {
    display: inline-flex;
    align-items: center;
}

.header-logo {
    height: 64px;
    width: auto;
    display: block;
}

.header-meta {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-meta span,
.eyebrow,
.panel-label,
.principle-index {
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 700;
}

.header-meta span {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(18px);
}

.hero,
.principles-section,
.brands-section,
.globe-section,
.footer {
    padding: 32px 0 88px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy,
.hero-panel,
.principle-card,
.world-map-wrap,
.globe-copy {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: var(--surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.reveal {
    opacity: 0;
    transition:
        opacity 700ms ease,
        transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms ease,
        border-color 220ms ease;
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal[data-reveal="up"] {
    transform: translate3d(0, 42px, 0);
}

.reveal[data-reveal="left"] {
    transform: translate3d(42px, 0, 0);
}

.reveal[data-reveal="right"] {
    transform: translate3d(-42px, 0, 0);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.hero-copy,
.hero-panel,
.globe-copy {
    border-radius: 32px;
}

.hero-copy {
    padding: 42px;
}

.eyebrow {
    color: var(--accent);
    margin-bottom: 18px;
}

h1,
h2,
h3 {
    font-family: "Space Grotesk", sans-serif;
    font-weight: 700;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.95;
    max-width: 10ch;
}

.hero-text {
    margin-top: 24px;
    font-size: 1.14rem;
    max-width: 42rem;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        background-color 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.button:hover,
.button:focus-visible,
.brand-card:hover,
.brand-card:focus-visible {
    transform: translateY(-4px);
}

.button-primary {
    background: var(--surface-dark);
    color: #f8f5ef;
    box-shadow: 0 18px 30px rgba(20, 17, 15, 0.18);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.55);
}

.button-primary:hover,
.button-primary:focus-visible {
    box-shadow: 0 24px 40px rgba(20, 17, 15, 0.24);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    border-color: rgba(255, 106, 61, 0.28);
    box-shadow: 0 18px 30px rgba(47, 32, 15, 0.1);
}

.hero-panel {
    padding: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 245, 239, 0.72)),
        var(--surface);
}

.panel-label {
    color: var(--muted);
}

.panel-quote {
    margin-top: 18px;
    font-size: 1.35rem;
    line-height: 1.35;
    max-width: 19ch;
}

.signal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.signal-card {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 20, 17, 0.08);
}

.signal-value {
    display: block;
    font-family: "Space Grotesk", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
}

.signal-label {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.95rem;
}

.section-intro {
    max-width: 42rem;
    margin-bottom: 28px;
}

.section-intro-wide {
    max-width: 56rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.principle-card {
    padding: 28px;
    border-radius: 28px;
}

.principle-index {
    color: var(--accent);
}

.principle-card h3 {
    font-size: 1.45rem;
    margin-top: 18px;
}

.principle-card p:last-child {
    margin-top: 14px;
    color: var(--muted);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.brands-layout {
    display: grid;
    grid-template-columns: minmax(240px, 0.62fr) minmax(0, 1.38fr);
    gap: 28px;
    align-items: start;
}

.brands-rail {
    position: relative;
}

.brands-intro {
    margin-bottom: 0;
}

.brands-copy {
    margin-top: 18px;
    color: var(--muted);
    font-size: 1.02rem;
    max-width: 28rem;
}

.brands-grid .reveal,
.brands-grid .reveal[data-reveal="up"],
.brands-grid .reveal[data-reveal="left"],
.brands-grid .reveal[data-reveal="right"] {
    opacity: 1;
    transform: translateY(var(--stack-offset, 0));
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 18px;
    border-radius: 28px;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(23, 20, 17, 0.08);
    box-shadow:
        0 18px 34px rgba(47, 32, 15, 0.08),
        0 2px 8px rgba(47, 32, 15, 0.04);
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms ease,
        border-color 220ms ease;
}

.brand-card img {
    width: 100%;
    height: 100%;
    max-width: 92%;
    max-height: 92%;
    object-fit: contain;
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.brand-card:hover,
.brand-card:focus-visible {
    transform: translateY(calc(var(--stack-offset, 0) - 4px));
    box-shadow:
        0 26px 46px rgba(47, 32, 15, 0.12),
        0 6px 16px rgba(47, 32, 15, 0.05);
    border-color: rgba(255, 106, 61, 0.32);
}

.brand-card:hover img,
.brand-card:focus-visible img {
    transform: scale(1.04);
    filter: saturate(1.05) contrast(1.02);
}

.globe-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: 32px;
    align-items: center;
}

.globe-copy {
    padding: 32px;
}

.globe-copy-sticky {
    position: relative;
}

.globe-copy p:last-of-type {
    margin-top: 18px;
    color: var(--muted);
}

.location-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.location-list li {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.58);
}

.world-map-wrap {
    position: relative;
    min-height: 460px;
    border: none;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    overflow: visible;
}

.map-stage {
    position: relative;
    width: min(100%, 780px);
    margin-left: auto;
}

.world-map {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.8;
    filter: contrast(1.04) saturate(0.95);
}

.map-dot {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff855f 0%, #ff6a3d 100%);
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow:
        0 0 0 10px rgba(255, 106, 61, 0.11),
        0 12px 24px rgba(23, 20, 17, 0.12);
    transform: translate(-50%, -50%);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease;
    animation: pulseMarker 2.8s ease-in-out infinite;
}

.map-dot::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(255, 106, 61, 0.28);
    transform: translate(-50%, -50%);
}

.map-dot:hover,
.map-dot:focus-visible {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow:
        0 0 0 14px rgba(255, 106, 61, 0.12),
        0 18px 28px rgba(23, 20, 17, 0.14);
}

.map-dot::after {
    content: attr(data-country);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(20, 17, 15, 0.92);
    color: #f8f5ef;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
}

.map-dot:hover::after,
.map-dot:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.footer {
    padding-top: 20px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 40px;
    border-top: 1px solid var(--line);
}

.footer-logo {
    height: 54px;
    width: auto;
    display: block;
    margin-bottom: 12px;
}

.footer-copy,
.copyright,
.trademark {
    color: var(--muted);
}

@media (min-width: 1101px) {
    .brands-section {
        padding-top: 56px;
    }

    .brands-rail {
        min-height: 100%;
    }

    .brands-intro {
        position: sticky;
        top: 112px;
        padding: 20px 0;
    }

    .brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .brand-card {
        --stack-offset: 0px;
    }

    .brand-card:nth-child(3n + 1) {
        --stack-offset: 92px;
    }

    .brand-card:nth-child(3n + 2) {
        --stack-offset: 28px;
    }

    .globe-layout {
        align-items: start;
        grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    }

    .globe-copy {
        padding: 0;
        border: none;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .globe-copy-sticky {
        position: sticky;
        top: 112px;
        padding: 32px;
        border-radius: 32px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        background: var(--surface);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
    }

    .world-map-wrap {
        min-height: 720px;
    }

    .map-stage {
        position: sticky;
        top: 132px;
        width: min(100%, 840px);
        transform: none;
    }

    .world-map {
        width: 100%;
    }

    .map-orb-one {
        top: 8rem;
        right: 9rem;
    }

    .map-orb-two {
        bottom: 9rem;
        left: 5rem;
    }
}

.map-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    opacity: 0.9;
    animation: floatOrb 10s ease-in-out infinite;
}

.map-orb-one {
    width: 240px;
    height: 240px;
    top: 1.5rem;
    right: 6rem;
    background: radial-gradient(circle, rgba(255, 106, 61, 0.24) 0%, rgba(255, 106, 61, 0.02) 72%);
}

.map-orb-two {
    width: 320px;
    height: 320px;
    bottom: 1rem;
    left: 2rem;
    background: radial-gradient(circle, rgba(60, 109, 255, 0.16) 0%, rgba(60, 109, 255, 0.02) 72%);
    animation-delay: -3s;
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -14px, 0) scale(1.04);
    }
}

@keyframes pulseMarker {
    0%,
    100% {
        box-shadow:
            0 0 0 10px rgba(255, 106, 61, 0.11),
            0 12px 24px rgba(23, 20, 17, 0.12);
    }

    50% {
        box-shadow:
            0 0 0 16px rgba(255, 106, 61, 0.02),
            0 12px 24px rgba(23, 20, 17, 0.12);
    }
}

@media (max-width: 1100px) {
    .hero-grid,
    .globe-layout,
    .principles-grid,
    .brands-layout {
        grid-template-columns: 1fr;
    }

    .brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .panel-quote {
        max-width: none;
    }
}

@media (max-width: 760px) {
    .bg-spark {
        opacity: 0.05;
    }

    .container {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        padding-top: 18px;
    }

    .header-logo {
        height: 56px;
    }

    .header-row,
    .footer-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero,
    .principles-section,
    .brands-section,
    .globe-section,
    .footer {
        padding-bottom: 64px;
    }

    .hero-copy,
    .hero-panel,
    .globe-copy,
    .principle-card,
    .brand-card {
        border-radius: 24px;
    }

    .world-map-wrap {
        min-height: 320px;
    }

    .world-map {
        width: 100%;
        margin-left: 0;
    }

    .hero-copy,
    .hero-panel,
    .globe-copy,
    .principle-card {
        padding: 24px;
    }

    .brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .brands-layout {
        gap: 20px;
    }

    .brand-card {
        min-height: 160px;
        padding: 14px;
    }

    .signal-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-text,
    .panel-quote {
        font-size: 1rem;
    }

    .header-logo {
        height: 50px;
    }

    .header-meta {
        gap: 8px;
    }

    .header-meta span,
    .location-list li {
        font-size: 0.75rem;
    }

    .footer-logo {
        height: 46px;
    }
}

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

    .reveal,
    .button,
    .brand-card,
    .brand-card img,
    .map-orb,
    .map-dot {
        transition: none;
        animation: none;
    }

    .page-shell .ambient-pointer {
        display: none;
    }

    .bg-spark,
    .bg-spark-piece {
        animation: none;
    }

    .reveal,
    .reveal[data-reveal="up"],
    .reveal[data-reveal="left"],
    .reveal[data-reveal="right"] {
        opacity: 1;
        transform: none;
    }
}
