/* =========================================================================
   GLOBAL SOMERSAULT — globalsomersault.com
   Stylesheet built to GS_Website_Style_Guide_06152026
   Fonts: Bebas Neue (display) + DM Sans (body)
   Palette: Charcoal #1C1C1C · Amber #D4752A · White
   ========================================================================= */

@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap");

/* ---------- Design tokens ---------- */
:root {
    /* Color palette (Style Guide §2) */
    --charcoal:      #1C1C1C; /* primary background */
    --deep-gray:     #242424; /* secondary dark background */
    --surface-gray:  #2E2E2E; /* cards / dividers on dark */
    --amber:         #D4752A; /* primary accent */
    --amber-light:   #E8965A; /* accent hover */
    --amber-active:  #BB6320; /* accent active */
    --white:         #FFFFFF;
    --warm-gray:     #B0ADA8; /* secondary text */
    --off-white:     #F7F5F2; /* light section background */
    --border:        #3A3A3A; /* dividers on dark */

    /* Spacing system — use these values only (Style Guide §4) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 16px;
    --space-4: 24px;
    --space-5: 48px;
    --space-6: 96px;

    --content-max: 960px;
    --nav-height: 64px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Offset anchor targets so the fixed nav doesn't overlap headings */
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    color: var(--white);
    background: var(--charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* ---------- Display headings ---------- */
h1, h2 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.05;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Layout container ---------- */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding-left: 24px;  /* mobile side padding */
    padding-right: 24px;
}

.section {
    padding-top: var(--space-6);
    padding-bottom: var(--space-6);
}

/* =========================================================================
   1. NAVIGATION  (Style Guide §5 — Navigation)
   ========================================================================= */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--charcoal);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
}

.nav__inner {
    height: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.nav__logo {
    font-family: "Bebas Neue", sans-serif;
    font-size: 22px;
    letter-spacing: 0.05em;
    color: var(--white);
}

.nav__tagline {
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-size: 11px;
    color: var(--warm-gray);
    margin-top: 3px;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    list-style: none;
}

.nav__link {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--warm-gray);
    transition: color 150ms ease;
}

.nav__link:hover {
    color: var(--white);
}

.nav__link--yzm {
    color: var(--amber);
}

.nav__link--yzm:hover {
    color: var(--amber-light);
}

/* Hamburger (hidden on desktop) */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: transform 150ms ease, opacity 150ms ease;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================================
   2. HERO  (Style Guide §5 — Hero Section)
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: var(--nav-height);
}

.hero__circles {
    position: absolute;
    bottom: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero__headline {
    font-size: 72px;
    color: var(--white);
    line-height: 1.05;
    max-width: 16ch;
}

.hero__body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--warm-gray);
    max-width: 600px;
    line-height: 1.7;
    margin-top: 32px;
}

.hero__body p + p {
    margin-top: var(--space-4);
}

.hero__cta {
    margin-top: var(--space-5);
}

/* =========================================================================
   3. THE RECORD  (Style Guide §5 — Stat Line / Industry list)
   ========================================================================= */
.record {
    background: var(--off-white);
    color: var(--charcoal);
}

.section__header {
    font-size: 48px;
    color: var(--charcoal);
    margin-bottom: var(--space-5);
}

/* Stat line */
.stats {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--space-5);
    margin-bottom: var(--space-5);
}

.stat {
    text-align: center;
}

.stat__number {
    font-family: "Bebas Neue", sans-serif;
    font-size: 48px;
    line-height: 1;
    color: var(--charcoal);
}

.stat__label {
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: #777777;
    margin-top: var(--space-2);
}

.stat__divider {
    width: 1px;
    height: 40px;
    background: #CCCCCC;
    flex: 0 0 auto;
}

/* Industry list — single flowing paragraph */
.record__industries {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #555555;
    line-height: 1.8;
    max-width: 760px;
    margin-bottom: var(--space-5);
}

.record__closing {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--charcoal);
    line-height: 1.7;
    max-width: 680px;
}

/* =========================================================================
   3B. ABOUT LOU  (dark narrative section)
   ========================================================================= */
.about {
    background: var(--charcoal);
    color: var(--warm-gray);
}

/* Header variant for dark sections */
.section__header--on-dark {
    color: var(--white);
}

/* Thesis line — the most important sentence on the site */
.about__lead {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 1.4;
    color: var(--white);
    max-width: 760px;
    margin-bottom: var(--space-5);
}

.about__body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.8;
    color: var(--warm-gray);
    max-width: 720px;
}

.about__body p + p {
    margin-top: var(--space-4);
}

/* "The industries changed. The pattern didn't." */
.about__turn {
    color: var(--white);
    font-weight: 500;
}

/* see / decide / move — amber crescendo */
.about__crescendo {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-top: var(--space-5);
}

.about__crescendo span {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 1.2;
    color: var(--amber);
}

.about__closing {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: var(--white);
    margin-top: var(--space-5);
}

/* =========================================================================
   4. WORK WITH LOU  (Style Guide §5 — Offer Block)
   ========================================================================= */
.offer {
    background-color: var(--white);
    background-image: url("iso-pattern.png"); /* isometric drawing-paper grid */
    background-repeat: repeat;
    background-size: 96px auto;
    color: var(--charcoal);
    text-align: center;
}

.offer .container {
    max-width: 560px;
}

.offer .section__header {
    margin-bottom: var(--space-5);
}

.offer__title {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 28px;
    color: var(--charcoal);
}

.offer__title .accent {
    color: var(--amber);
}

.offer__body {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #555555;
    line-height: 1.7;
    margin-top: var(--space-4);
}

.offer__body p + p {
    margin-top: var(--space-3);
}

.offer__cta {
    margin-top: 32px;
}

.offer__secondary {
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-style: italic;
    font-size: 14px;
    color: #999999;
    margin-top: var(--space-4);
}

/* =========================================================================
   5. METHODOLOGY BAND  (Style Guide §5 — Methodology Band)
   ========================================================================= */
.methodology {
    background: var(--deep-gray);
    color: var(--white);
    text-align: center;
    padding: 64px 0;
}

.methodology__copy {
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: var(--warm-gray);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.methodology__link {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: var(--amber);
    margin-top: var(--space-3);
    transition: color 150ms ease;
}

.methodology__link:hover {
    color: var(--amber-light);
    text-decoration: underline;
}

/* =========================================================================
   6. FOOTER  (Style Guide §5 — Footer)
   ========================================================================= */
.footer {
    background: var(--charcoal);
    color: var(--warm-gray);
    padding: var(--space-5) 0;
}

.footer__name {
    font-family: "Bebas Neue", sans-serif;
    font-size: 20px;
    letter-spacing: 0.05em;
    color: var(--white);
}

.footer__subline {
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: var(--warm-gray);
    margin-top: var(--space-2);
}

.footer__contact {
    font-family: "DM Sans", sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: var(--warm-gray);
    margin-top: var(--space-3);
    line-height: 1.7;
}

.footer__contact a {
    color: var(--warm-gray);
    transition: color 150ms ease;
}

.footer__contact a:hover {
    color: var(--white);
}

.footer__copyright {
    font-family: "DM Sans", sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #555555;
    margin-top: var(--space-4);
}

/* =========================================================================
   BUTTONS & LINKS  (Style Guide §5 — Buttons)
   ========================================================================= */
.btn {
    display: inline-block;
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    color: var(--white);
    background: var(--amber);
    padding: 14px 32px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 150ms ease, transform 80ms ease;
}

.btn:hover {
    background: var(--amber-light);
}

.btn:active {
    background: var(--amber-active);
    transform: scale(0.98);
}

/* Secondary text link (amber, underline on hover, trailing arrow) */
.link {
    font-family: "DM Sans", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: var(--amber);
    transition: color 150ms ease;
}

.link:hover {
    color: var(--amber-light);
    text-decoration: underline;
}

/* =========================================================================
   RESPONSIVE  (Style Guide §7 — Breakpoints)
   ========================================================================= */

/* Tablet: 768px – 1023px */
@media (min-width: 768px) {
    .container,
    .nav__inner {
        padding-left: 48px;
        padding-right: 48px;
    }
    .hero__headline { font-size: 60px; }
}

/* Desktop: >= 1024px */
@media (min-width: 1024px) {
    .container,
    .nav__inner {
        padding-left: 24px;
        padding-right: 24px;
    }
    .hero__headline { font-size: 72px; }
}

/* Mobile: < 768px — nav collapses, stats stack */
@media (max-width: 767px) {
    .hero__headline { font-size: 48px; }

    /* Hamburger menu */
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: var(--charcoal);
        border-bottom: 1px solid var(--border);
        padding: var(--space-2) 24px var(--space-4);
        transform: translateY(-150%);
        transition: transform 200ms ease;
        z-index: 999;
    }

    .nav__links.is-open {
        transform: translateY(0);
    }

    .nav__links li {
        width: 100%;
    }

    .nav__link {
        display: block;
        width: 100%;
        padding: var(--space-3) 0;
        font-size: 16px;
    }

    /* Stat line stacks vertically; hide vertical dividers */
    .stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .stat {
        text-align: left;
    }

    .stat__divider {
        display: none;
    }

    .section__header {
        font-size: 40px;
    }
}

/* Honor reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}

/* =========================================================================
   GRAPHICS — added to accompany the copy (June 2026)
   Hero ripple · See/Decide/Move timeline · Record convergence
   ========================================================================= */

/* ---- Scroll reveal ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 700ms ease, transform 700ms ease;
}
[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

/* ---- 1. HERO — amber "signal" ripple ---- */
.hero__ripple {
    position: absolute;
    top: -180px;
    right: -140px;
    width: 780px;
    height: 780px;
    max-width: 86vw;
    z-index: 0;
    pointer-events: none;
}
.hero__ripple-glow {
    transform-box: fill-box;
    transform-origin: center;
    animation: gsPulse 6s ease-in-out infinite;
}
@keyframes gsPulse {
    0%, 100% { opacity: 0.78; transform: scale(1); }
    50%      { opacity: 1;    transform: scale(1.04); }
}
/* push the faint white "complexity" rings to the lower-left so the
   composition reads as complexity (left) vs. the clear signal (upper-right) */
.hero__circles {
    bottom: -280px;
    left: -300px;
    right: auto;
}

/* ---- 2. METHODOLOGY — See → Decide → Move timeline ---- */
.timeline {
    max-width: 720px;
    margin: 0 auto var(--space-5);
}
.timeline__row { display: flex; }
.timeline__cell {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 12px;
}
.timeline__row--labels .timeline__cell { gap: 3px; }
.timeline__num {
    font-family: "Bebas Neue", sans-serif;
    font-size: 15px;
    letter-spacing: 0.1em;
    color: var(--amber);
    line-height: 1;
}
.timeline__label {
    font-family: "Bebas Neue", sans-serif;
    font-size: 30px;
    letter-spacing: 0.03em;
    color: var(--white);
    line-height: 1;
}
.timeline__track {
    position: relative;
    height: 30px;
    margin: 22px 0;
}
.timeline__line {
    position: absolute;
    left: 16.66%;
    right: 7%;
    top: 50%;
    height: 3px;
    transform: translateY(-50%);
    background: linear-gradient(to right, rgba(212,117,42,0.28), var(--amber));
}
.timeline__arrow {
    position: absolute;
    right: 3%;
    top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 12px solid var(--amber);
}
.timeline__nodes {
    position: relative;
    display: flex;
    height: 100%;
    align-items: center;
}
.timeline__node { border-radius: 50%; display: block; }
.timeline__node--1 { width: 14px; height: 14px; border: 2px solid var(--amber); background: var(--deep-gray); }
.timeline__node--2 { width: 21px; height: 21px; border: 2px solid var(--amber); background: rgba(212,117,42,0.25); }
.timeline__node--3 { width: 28px; height: 28px; background: var(--amber); box-shadow: 0 0 0 7px rgba(212,117,42,0.16); }
.timeline__row--phrases { margin-top: 22px; }
.timeline__row--phrases p {
    font-size: 14px;
    line-height: 1.55;
    color: var(--warm-gray);
    margin: 0;
}
.timeline__cell--accent p { color: var(--white); }

/* ---- 3. THE RECORD — convergence diagram ---- */
.record__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-5);
    align-items: center;
}
.record__col .record__industries,
.record__col .record__closing { max-width: none; }
.record__viz { width: 100%; min-width: 0; }
.converge {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    height: auto;
    display: block;
    font-family: "DM Sans", sans-serif;
}
.converge__rings circle { fill: none; stroke: #DAD4CA; stroke-width: 1; }
.converge__spokes line { stroke: #C9A57E; stroke-width: 1; }
.converge__labels text { font-size: 13px; font-weight: 500; fill: #3A352F; }
.converge__core-label {
    font-family: "Bebas Neue", sans-serif;
    font-size: 16px;
    fill: #FFFFFF;
    letter-spacing: 0.04em;
}
@media (min-width: 900px) {
    .record__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 470px); }
}

/* ---- Graphics — mobile adjustments ---- */
@media (max-width: 767px) {
    .timeline__label { font-size: 19px; }
    .timeline__num { font-size: 12px; }
    .timeline__row--phrases p { font-size: 12px; }
    .timeline__node--3 { box-shadow: 0 0 0 5px rgba(212,117,42,0.16); }
    .hero__ripple { top: -120px; right: -180px; width: 560px; height: 560px; }
}
