/* =================================================================
   Motion Movement - stylesheet
   Tokens pulled directly from the brand deck: hero orange, ink black,
   true black, cream, and a muted brick accent.
   ================================================================= */

:root {
    --orange: #F63B05;
    --orange-dim: #D93403;
    --ink: #181818;
    --black: #000000;
    --cream: #FFFAE5;
    --brick: #A73111;
    --gray-on-black: #B9B9B9;
    --gray-on-cream: #5B5650;
    --border-on-black: rgba(255, 250, 229, 0.12);
    --border-on-cream: rgba(24, 24, 24, 0.12);

    --font-display: 'Anton', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-script: 'Caveat', cursive;

    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

    --shell-width: 1200px;
    --radius-sm: 10px;
    --radius-md: 16px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--black);
    color: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 1rem; top: -60px; z-index: 999;
    background: var(--cream); color: var(--ink); padding: .6rem 1rem;
    border-radius: var(--radius-sm); transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

.shell {
    width: 100%;
    max-width: var(--shell-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------- Header / nav ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-on-black);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}
.brand img { height: 30px; width: auto; }
.site-nav ul { display: flex; gap: 2.1rem; }
.site-nav a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--cream);
    opacity: .82;
    position: relative;
    padding: .3rem 0;
    transition: opacity .15s ease;
}
.site-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -2px;
    width: 100%; height: 2px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s var(--ease-out);
}
.site-nav a:hover { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
    .site-nav a:hover::after { transform: scaleX(1); }
}

.site-header__actions { display: flex; align-items: center; gap: 1rem; }

.nav-toggle {
    display: none;
    width: 40px; height: 40px;
    background: transparent; border: 0;
    flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span {
    width: 22px; height: 2px; background: var(--cream);
    transition: transform .25s var(--ease-in-out), opacity .2s 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); }

.mobile-nav {
    position: fixed;
    top: 76px; right: 0;
    width: min(320px, 86vw);
    height: calc(100vh - 76px);
    background: #0c0c0c;
    border-left: 1px solid var(--border-on-black);
    transform: translateX(100%);
    transition: transform .32s var(--ease-drawer, var(--ease-in-out));
    z-index: 99;
    padding: 2rem 1.75rem;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-nav a { font-size: 1.1rem; font-weight: 500; }
.mobile-nav__cta {
    display: inline-block;
    margin-top: .5rem;
    background: var(--orange);
    color: var(--cream);
    padding: .7rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    width: fit-content;
}

@media (max-width: 860px) {
    .site-nav, .nav-cta { display: none; }
    .nav-toggle { display: inline-flex; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.7rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    transition: transform .15s var(--ease-out), background-color .15s ease, color .15s ease, border-color .15s ease;
}
@media (hover: hover) and (pointer: fine) {
    .btn:hover { transform: translateY(-2px); }
}
.btn:active { transform: translateY(0); }

.btn--dark { background: var(--ink); color: var(--cream); }
@media (hover: hover) and (pointer: fine) {
    .btn--dark:hover { background: #000; }
}
.btn--outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) {
    .btn--outline-dark:hover { background: var(--ink); color: var(--cream); }
}
.btn--outline-light { background: transparent; color: var(--cream); border-color: var(--border-on-black); }
@media (hover: hover) and (pointer: fine) {
    .btn--outline-light:hover { border-color: var(--orange); color: var(--orange); }
}
.btn--small { padding: .6rem 1.2rem; font-size: .85rem; }
.btn--block { width: 100%; }

.btn__spinner { display: none; }
.btn.is-loading .btn__label { opacity: 0; }
.btn.is-loading .btn__spinner {
    display: block;
    position: absolute;
    width: 18px; height: 18px;
    border: 2px solid rgba(255, 250, 229, .35);
    border-top-color: var(--cream);
    border-radius: 50%;
    animation: spin .7s linear infinite;
}
.btn.is-loading { position: relative; color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--orange);
    color: var(--ink);
    padding: 130px 0 70px;
    overflow: hidden;
}
.hero__dancers {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: min(42vw, 460px);
    opacity: .9;
    pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }

.hero__eyebrow {
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--brick);
    margin-bottom: .25rem;
}

.hero__title {
    font-family: var(--font-display);
    line-height: .92;
    font-size: clamp(3.2rem, 11vw, 7.5rem);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero__title-line { display: block; }
.hero__title-line--ink { color: var(--ink); }
.hero__title-line--cream { color: var(--cream); position: relative; }
.hero__script {
    font-family: var(--font-script);
    font-style: normal;
    text-transform: none;
    font-size: .32em;
    color: var(--ink);
    margin-left: .3em;
    vertical-align: middle;
    position: relative;
    top: -.15em;
}

.hero__sub {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    max-width: 46ch;
    color: rgba(24,24,24,.86);
    margin-bottom: 2.25rem;
}

.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, auto);
    gap: 2.2rem;
    margin: 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(24,24,24,.18);
}
.hero__stats dt {
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    opacity: .7;
    margin-bottom: .3rem;
}
.hero__stats dd {
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
    display: flex;
    align-items: center;
    gap: .45rem;
}
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #1a7d34;
    display: inline-block;
    animation: pulse 2s var(--ease-in-out) infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(26,125,52,.45); }
    50% { box-shadow: 0 0 0 6px rgba(26,125,52,0); }
}

@media (max-width: 760px) {
    .hero { padding-top: 110px; }
    .hero__dancers { opacity: .5; width: 60vw; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--black { background: var(--black); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--ink); }

.section-head { max-width: 760px; margin-bottom: 3.2rem; }
.section-head h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: clamp(1.9rem, 4.2vw, 3rem);
    line-height: 1.05;
    margin-bottom: 1.1rem;
}
.section-head p { font-size: 1.05rem; line-height: 1.6; max-width: 62ch; }
.section--black .section-head p { color: var(--gray-on-black); }
.section--cream .section-head p { color: var(--gray-on-cream); }

/* Stat grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-on-black);
    border: 1px solid var(--border-on-black);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.stat-card { background: var(--black); padding: 2.2rem 1.6rem; }
.stat-card__number {
    font-family: var(--font-display);
    color: var(--orange);
    font-size: clamp(2.1rem, 4vw, 2.8rem);
    margin-bottom: .6rem;
}
.stat-card__label { color: var(--gray-on-black); font-size: .92rem; line-height: 1.45; }

@media (max-width: 860px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Phase row */
.phase-row {
    display: flex;
    align-items: stretch;
    gap: 0;
}
.phase-card {
    flex: 1;
    background: var(--black);
    color: var(--cream);
    border-radius: var(--radius-md);
    padding: 2.4rem 2rem;
    border: 1px solid var(--border-on-black);
}
.phase-card__tag {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: .9rem;
}
.phase-card h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: .9rem;
}
.phase-card p { color: var(--gray-on-black); line-height: 1.6; font-size: .98rem; }

.phase-row__connector {
    width: 48px;
    flex-shrink: 0;
    position: relative;
    align-self: center;
}
.phase-row__connector::before {
    content: '';
    position: absolute;
    top: 50%; left: 0;
    width: 100%; height: 2px;
    background: var(--brick);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease-in-out);
}
.phase-row__connector.is-drawn::before { transform: scaleX(1); }

@media (max-width: 900px) {
    .phase-row { flex-direction: column; gap: 1.5rem; }
    .phase-row__connector { width: 2px; height: 32px; margin: 0 auto; }
    .phase-row__connector::before { width: 2px; height: 100%; top: 0; }
}

/* Gap grid */
.gap-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}
.gap-card {
    padding: 2rem;
    border: 1px solid var(--border-on-black);
    border-radius: var(--radius-md);
    background: #0a0a0a;
}
.gap-card h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.2rem;
    color: var(--orange);
    margin-bottom: .8rem;
}
.gap-card p { color: var(--gray-on-black); line-height: 1.6; font-size: .96rem; }

@media (max-width: 700px) {
    .gap-grid { grid-template-columns: 1fr; }
}

/* Ambition */
.ambition {
    background: var(--black);
    padding: clamp(5rem, 11vw, 8.5rem) 0;
    border-top: 1px solid var(--border-on-black);
    border-bottom: 1px solid var(--border-on-black);
}
.ambition__inner { max-width: 880px; }
.ambition__kicker {
    font-family: var(--font-script);
    font-size: 1.6rem;
    color: var(--cream);
    opacity: .8;
    margin-bottom: .5rem;
}
.ambition h2 {
    font-family: var(--font-display);
    text-transform: uppercase;
    color: var(--orange);
    font-size: clamp(2.1rem, 5.4vw, 3.6rem);
    line-height: 1.04;
    margin-bottom: 1.4rem;
}
.ambition__sub { color: var(--gray-on-black); font-size: 1.08rem; line-height: 1.65; max-width: 64ch; }

/* Traction */
.traction-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}
.traction-card {
    padding: 1.8rem;
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-on-cream);
}
.traction-card h3 { font-size: 1.05rem; margin-bottom: .6rem; }
.traction-card p { color: var(--gray-on-cream); font-size: .92rem; line-height: 1.55; }

@media (max-width: 900px) {
    .traction-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.6rem;
}
.team-card { text-align: left; }
.team-card__photo {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--brick);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card__photo img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(55%);
    transition: filter .3s ease, transform .4s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .team-card:hover .team-card__photo img { filter: grayscale(0%); transform: scale(1.04); }
}
.team-card__initials {
    font-family: var(--font-display);
    font-size: 3.2rem;
    color: var(--cream);
}
.team-card h3 { font-size: 1.02rem; margin-bottom: .2rem; }
.team-card__role { color: var(--orange); font-size: .82rem; font-weight: 600; margin-bottom: .6rem; }
.team-card__bio { color: var(--gray-on-black); font-size: .88rem; line-height: 1.5; }

@media (max-width: 960px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .team-grid { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
    .team-card__bio { display: none; }
}

/* Contact */
.contact__shell {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}
.contact__intro h2 { margin-bottom: 1rem; }
.contact__intro > p { color: var(--gray-on-cream); font-size: 1.05rem; line-height: 1.6; margin-bottom: 2rem; max-width: 46ch; }

.contact__quick { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 2.2rem; }
.contact__quick-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.3rem;
    background: #fff;
    border: 1px solid var(--border-on-cream);
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: border-color .15s ease, transform .15s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
    .contact__quick-link:hover { border-color: var(--orange); transform: translateY(-2px); }
}
.contact__quick-value { color: var(--orange); font-weight: 600; font-size: .92rem; }

.contact__ways {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    padding-top: 1.8rem;
    border-top: 1px solid var(--border-on-cream);
}
.contact__ways h4 { font-size: .92rem; margin-bottom: .4rem; }
.contact__ways p { font-size: .84rem; color: var(--gray-on-cream); line-height: 1.5; }

.contact__form-wrap {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-on-cream);
    padding: 2.2rem;
    position: relative;
}

.form-row { margin-bottom: 1.2rem; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .4rem; }
.form-row label span { font-weight: 400; color: var(--gray-on-cream); }
.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    font-family: inherit;
    font-size: .95rem;
    padding: .75rem .9rem;
    border: 1px solid var(--border-on-cream);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--ink);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(246,59,5,.12);
    outline: none;
}
.form-row textarea { resize: vertical; min-height: 110px; }

.form-row.has-error input,
.form-row.has-error select,
.form-row.has-error textarea { border-color: #c0392b; }
.form-row__error {
    display: none;
    color: #c0392b;
    font-size: .8rem;
    margin-top: .35rem;
}
.form-row.has-error .form-row__error { display: block; }

.form-note { font-size: .8rem; color: var(--gray-on-cream); text-align: center; margin-top: 1rem; }

.inquiry-success, .inquiry-error { text-align: center; padding: 1rem 0; }
.inquiry-success h3 {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.6rem;
    margin-bottom: .8rem;
}
.inquiry-success p { color: var(--gray-on-cream); margin-bottom: 1.6rem; }
.inquiry-success__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.inquiry-success__reset {
    background: none; border: 0; text-decoration: underline;
    color: var(--gray-on-cream); font-size: .88rem;
}
.inquiry-error p { color: #c0392b; }

@media (max-width: 900px) {
    .contact__shell { grid-template-columns: 1fr; }
    .contact__ways { grid-template-columns: 1fr; }
    .form-row--split { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp button ---------- */
.whatsapp-float {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.28);
    z-index: 90;
    transform: scale(0);
    animation: pop-in .4s var(--ease-out) .6s forwards;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }
@media (hover: hover) and (pointer: fine) {
    .whatsapp-float:hover { transform: scale(1.07); }
}
@keyframes pop-in {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---------- Footer ---------- */
.site-footer { background: #050505; border-top: 1px solid var(--border-on-black); padding: 4rem 0 2rem; }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
.site-footer__brand img { height: 26px; margin-bottom: 1rem; }
.site-footer__brand p { color: var(--gray-on-black); font-size: .9rem; line-height: 1.6; max-width: 36ch; }
.site-footer__col h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--orange); margin-bottom: 1rem; }
.site-footer__col ul { display: flex; flex-direction: column; gap: .65rem; }
.site-footer__col a { color: var(--gray-on-black); font-size: .92rem; transition: color .15s ease; }
@media (hover: hover) and (pointer: fine) {
    .site-footer__col a:hover { color: var(--cream); }
}
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border-on-black);
    font-size: .82rem;
    color: #6b6b6b;
}

@media (max-width: 760px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
[data-reveal-group] [data-reveal] {
    transition-delay: calc(var(--stagger, 0) * 70ms);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    [data-reveal] {
        transform: none;
        transition: opacity .3s ease;
    }
    .whatsapp-float { animation: none; transform: scale(1); }
    .pulse-dot { animation: none; }
}
