/* Ascend by Gyde: the executive AI advisory session.
 *
 * v2 design language. Extracted from a 235-line inline <style> block.
 * Scope stays #ascend-page / .ascend-page and class names are unchanged so the
 * booking modal JS and the 823-line template keep working untouched.
 */

.ascend-page {
    --as-ink: #242623;
    --as-olive: #203625;
    --as-deep: #132a1c;
    --as-lime: #e5fe96;
    --as-green: #657d00;
    --as-paper: #f4f4f0;
    --as-line: rgba(36, 38, 35, .16);
    --as-line-light: rgba(255, 255, 255, .17);
    --as-muted: #666a64;
    --as-soft: #6d716a;

    /* Legacy aliases: the template still carries a few inline style attributes
       that reference these. Remapped onto the v2 palette. */
    --charcoal: var(--as-ink);
    --white: #fff;
    --light-green: var(--as-lime);
    --dark-green: var(--as-green);
    --light-gray: var(--as-paper);
    --medium-gray: var(--as-muted);
    --light-olive: var(--as-paper);
    --dark-olive: var(--as-olive);
    --spacing-1: .25rem; --spacing-2: .5rem; --spacing-3: .75rem; --spacing-4: 1rem;
    --spacing-5: 1.25rem; --spacing-6: 1.5rem; --spacing-8: 2rem; --spacing-10: 2.5rem;
    --spacing-12: 3rem; --spacing-16: 4rem; --spacing-20: 5rem; --spacing-24: 6rem;
    --border-radius: 6px; --border-radius-lg: 8px;

    color: var(--as-ink);
    background: #fff;
    overflow: clip;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
}
.ascend-page *, .ascend-page *::before, .ascend-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.ascend-page img { max-width: 100%; height: auto; }
.ascend-page section[id] { scroll-margin-top: 130px; }
.ascend-page .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* Shared type ---------------------------------------------------------------- */

.ascend-page .section-label { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--as-green); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ascend-page .section-label:before { width: 28px; height: 1px; background: currentColor; content: ""; }
.ascend-page .section-title { margin: 0; font-size: clamp(34px, 3.9vw, 52px); line-height: 1.03; font-weight: 500; letter-spacing: -.05em; }
.ascend-page .section-sub { max-width: 780px; margin: 20px 0 0; color: var(--as-muted); font-size: 16px; line-height: 1.65; }

/* Buttons -------------------------------------------------------------------- */

.ascend-page .btn-primary,
.ascend-page .btn-secondary,
.ascend-page .btn-white-outline { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 54px; padding: 0 24px; border: 1px solid transparent; border-radius: 6px; font-family: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.ascend-page .btn-primary { background: var(--as-lime); color: var(--as-ink); }
.ascend-page .btn-primary:hover { transform: translateY(-2px); background: #f0ffbf; color: var(--as-ink); }
.ascend-page .btn-secondary { border-color: var(--as-line); background: transparent; color: var(--as-ink); }
.ascend-page .btn-secondary:hover { transform: translateY(-2px); background: var(--as-paper); }
/* On the dark grounds the default dark-on-dark treatment is invisible, so the
   secondary button inherits the outline styling there. */
.ascend-page .hero .btn-secondary,
.ascend-page .cta .btn-secondary { border-color: rgba(255,255,255,.32); color: #fff; }
.ascend-page .hero .btn-secondary:hover,
.ascend-page .cta .btn-secondary:hover { background: rgba(255,255,255,.08); color: #fff; }
.ascend-page .btn-white-outline { border-color: rgba(255,255,255,.32); background: transparent; color: #fff; }
.ascend-page .btn-white-outline:hover { transform: translateY(-2px); background: rgba(255,255,255,.08); color: #fff; }

/* The template ships inline SVG icons. Keep them, but square off the badge so
   it reads as part of the v2 language rather than the old rounded style. */
.ascend-page .icon-badge { display: grid; place-items: center; flex-shrink: 0; width: 42px; height: 42px; border: 1px solid rgba(101,125,0,.35); background: rgba(229,254,150,.34); }
.ascend-page .icon-badge svg { width: 20px; height: 20px; fill: none; stroke: var(--as-green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Hero ----------------------------------------------------------------------- */

.ascend-page .hero { position: relative; padding: 156px 0 88px; background: var(--as-olive); color: #fff; }
.ascend-page .hero .container { position: relative; text-align: center; }
.ascend-page .hero h1 { max-width: 900px; margin: 0 auto; font-size: clamp(40px, 4.5vw, 64px); line-height: 1.01; font-weight: 500; letter-spacing: -.055em; }
.ascend-page .hero h1 span { color: var(--as-lime); }
.ascend-page .hero-sub { max-width: 660px; margin: 26px auto 0; color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.65; }
.ascend-page .hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 36px; }
.ascend-page .hero-crosslink { margin: 26px 0 0; color: rgba(255,255,255,.6); font-size: 13px; text-align: center; }
.ascend-page .hero-crosslink a { color: var(--as-lime); text-decoration: underline; text-underline-offset: 3px; }

/* Sections ------------------------------------------------------------------- */

.ascend-page .why-now,
.ascend-page .what,
.ascend-page .prepare,
.ascend-page .deliverables,
.ascend-page .flow,
.ascend-page .formats,
.ascend-page .different,
.ascend-page .who,
.ascend-page .compare,
.ascend-page .faq { padding: 104px 0; border-top: 1px solid var(--as-line); }
.ascend-page .why-now,
.ascend-page .deliverables,
.ascend-page .formats,
.ascend-page .who { background: var(--as-paper); }

/* Waves ---------------------------------------------------------------------- */

.ascend-page .waves-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--as-line); border-left: 1px solid var(--as-line); }
.ascend-page .wave-card { min-height: 230px; padding: 25px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); background: #fff; }
.ascend-page .wave-card.active { background: var(--as-ink); color: #fff; }
.ascend-page .wave-tag { display: inline-block; margin-bottom: 18px; padding: 5px 9px; border: 1px solid rgba(101,125,0,.35); color: var(--as-green); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ascend-page .wave-card.active .wave-tag { border-color: rgba(229,254,150,.4); background: rgba(229,254,150,.14); color: var(--as-lime); }
.ascend-page .wave-card h4 { margin-bottom: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.ascend-page .wave-card .wave-period { margin-bottom: 14px; color: var(--as-soft); font-size: 12px; }
.ascend-page .wave-card.active .wave-period { color: rgba(255,255,255,.55); }
.ascend-page .wave-card p { color: var(--as-muted); font-size: 14px; line-height: 1.65; }
.ascend-page .wave-card.active p { color: rgba(255,255,255,.66); }

/* What / deliverables / who cards ---------------------------------------------- */

.ascend-page .what-grid,
.ascend-page .deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--as-line); border-left: 1px solid var(--as-line); }
.ascend-page .what-card,
.ascend-page .deliverable-card { display: flex; flex-direction: column; min-height: 220px; padding: 25px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); background: #fff; transition: background .2s ease, transform .2s ease; }
.ascend-page .what-card:hover,
.ascend-page .deliverable-card:hover { z-index: 1; background: var(--as-paper); transform: translateY(-4px); }
.ascend-page .what-card-header,
.ascend-page .deliverable-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.ascend-page .what-card h3,
.ascend-page .deliverable-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.ascend-page .what-card p,
.ascend-page .deliverable-card p { color: var(--as-muted); font-size: 14px; line-height: 1.65; }

.ascend-page .who-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; border-top: 1px solid var(--as-line); border-left: 1px solid var(--as-line); }
.ascend-page .who-card { min-height: 150px; padding: 22px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); background: #fff; }
.ascend-page .who-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 16px; font-weight: 600; letter-spacing: -.02em; }
.ascend-page .who-card-text { color: var(--as-muted); font-size: 13px; line-height: 1.6; }

/* Prepare -------------------------------------------------------------------- */

.ascend-page .prepare-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; }
.ascend-page .prepare-block { min-height: 200px; padding-right: 30px; }
.ascend-page .prepare-num { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 22px; border: 1px solid var(--as-green); border-radius: 50%; color: var(--as-green); font-size: 12px; font-weight: 700; }
.ascend-page .prepare-block h3 { margin-bottom: 12px; font-size: 20px; font-weight: 600; letter-spacing: -.03em; }
.ascend-page .prepare-block p { color: var(--as-muted); font-size: 14px; line-height: 1.65; }
.ascend-page .prepare-end { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--as-line); color: var(--as-ink); font-size: 18px; line-height: 1.6; }
.ascend-page .prepare-end strong { color: var(--as-green); font-weight: 600; }

/* Flow (the four sections of the session) -------------------------------------- */

.ascend-page .flow-steps { margin-top: 52px; border-top: 1px solid var(--as-line); }
.ascend-page .flow-step { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 22px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--as-line); }
.ascend-page .flow-step-num { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--as-green); border-radius: 50%; color: var(--as-green); font-size: 12px; font-weight: 700; }
.ascend-page .flow-step-content h3 { margin-bottom: 10px; font-size: 21px; font-weight: 600; letter-spacing: -.03em; }
.ascend-page .flow-step-content p { max-width: 700px; color: var(--as-muted); font-size: 15px; line-height: 1.7; }
.ascend-page .flow-step-duration { padding: 6px 10px; border: 1px solid var(--as-line); color: var(--as-green); font-size: 11px; font-weight: 700; white-space: nowrap; }

/* Formats --------------------------------------------------------------------- */

.ascend-page .formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 52px; border-top: 1px solid var(--as-line); border-left: 1px solid var(--as-line); }
.ascend-page .format-card { display: flex; flex-direction: column; min-height: 250px; padding: 25px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); background: #fff; }
.ascend-page .format-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.ascend-page .format-card h3 { font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.ascend-page .format-duration { margin-bottom: 14px; font-size: 34px; line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.ascend-page .format-card p { color: var(--as-muted); font-size: 14px; line-height: 1.65; }

/* What makes this different ----------------------------------------------------- */

.ascend-page .different-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 52px; border-top: 1px solid var(--as-line); border-left: 1px solid var(--as-line); }
.ascend-page .diff-card { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; align-items: start; min-height: 150px; padding: 25px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); background: #fff; }
.ascend-page .diff-card-text h3 { margin-bottom: 10px; font-size: 18px; font-weight: 600; letter-spacing: -.025em; }
.ascend-page .diff-card-text p { color: var(--as-muted); font-size: 14px; line-height: 1.65; }

/* Compare: what Ascend produces vs what comes later ------------------------------- */

.ascend-page .compare-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 52px; border-top: 1px solid var(--as-line); border-left: 1px solid var(--as-line); }
.ascend-page .compare-col { padding: 28px; border-right: 1px solid var(--as-line); border-bottom: 1px solid var(--as-line); }
.ascend-page .compare-col.is-ascend { background: var(--as-paper); }
.ascend-page .compare-col.is-after { background: #fff; }
.ascend-page .compare-col h3 { margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--as-line); font-size: 19px; font-weight: 600; letter-spacing: -.03em; }
.ascend-page .compare-col ul { list-style: none; }
.ascend-page .compare-col li { position: relative; padding: 9px 0 9px 20px; color: var(--as-muted); font-size: 14px; line-height: 1.6; }
.ascend-page .compare-col li:before { position: absolute; left: 0; color: var(--as-green); content: "\21b3"; }

/* FAQ ------------------------------------------------------------------------------ */

.ascend-page .faq-list { margin-top: 52px; border-top: 1px solid var(--as-line); }
.ascend-page .faq-item { padding: 26px 0; border-bottom: 1px solid var(--as-line); }
.ascend-page .faq-item h3 { margin-bottom: 12px; font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.ascend-page .faq-item p { max-width: 760px; color: var(--as-muted); font-size: 14px; line-height: 1.75; }

/* Closing CTA ------------------------------------------------------------------------ */

.ascend-page .cta { position: relative; padding: 112px 0; background: var(--as-deep); color: #fff; text-align: center; }
.ascend-page .cta .container { position: relative; }
.ascend-page .cta .section-label { justify-content: center; color: var(--as-lime); }
.ascend-page .cta .section-title { max-width: 800px; margin: 0 auto; }
.ascend-page .cta .section-sub { margin: 24px auto 0; color: rgba(255,255,255,.65); }
.ascend-page .cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 36px; }

/* Booking modal ------------------------------------------------------------------------ */

.ascend-page .ascend-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(19,42,28,.6); }
.ascend-page .ascend-modal.active { display: flex; }
.ascend-page .ascend-modal-content { width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; border: 1px solid var(--as-line); background: #fff; }
.ascend-page .ascend-modal-header { position: relative; padding: 26px 28px; border-bottom: 1px solid var(--as-line); }
.ascend-page .ascend-modal-header h3 { font-size: 22px; font-weight: 600; letter-spacing: -.03em; }
.ascend-page .ascend-modal-header p { margin-top: 8px; color: var(--as-muted); font-size: 14px; }
.ascend-page .ascend-modal-close { position: absolute; top: 20px; right: 22px; border: 0; background: none; color: var(--as-soft); font-size: 20px; line-height: 1; cursor: pointer; }
.ascend-page .ascend-modal-close:hover { color: var(--as-ink); }
.ascend-page .ascend-modal-body { padding: 26px 28px; }
.ascend-page .ascend-form-group { margin-bottom: 16px; }
.ascend-page .ascend-form-group label { display: block; margin-bottom: 7px; color: var(--as-soft); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ascend-page .ascend-form-group input,
.ascend-page .ascend-form-group select,
.ascend-page .ascend-form-group textarea { width: 100%; padding: 13px; border: 1px solid var(--as-line); border-radius: 4px; background: #fff; color: var(--as-ink); font-family: inherit; font-size: 14px; }
.ascend-page .ascend-form-group input:focus,
.ascend-page .ascend-form-group select:focus,
.ascend-page .ascend-form-group textarea:focus { outline: none; border-color: var(--as-green); }
.ascend-page .ascend-checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.ascend-page .ascend-checkbox-group label { display: inline-flex; align-items: center; gap: 7px; margin: 0; color: var(--as-ink); font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.ascend-page .ascend-form-success { padding: 34px 24px; text-align: center; }
.ascend-page .success-icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 18px; border-radius: 50%; background: var(--as-lime); font-size: 22px; }

/* Responsive -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
    .ascend-page .waves-grid,
    .ascend-page .what-grid,
    .ascend-page .deliverables-grid,
    .ascend-page .formats-grid,
    .ascend-page .prepare-grid { grid-template-columns: repeat(2, 1fr); }
    .ascend-page .who-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
    .ascend-page .container { padding-left: 22px; padding-right: 22px; }
    .ascend-page .hero { padding: 126px 0 66px; }
    .ascend-page .hero h1 { font-size: 38px; }
    .ascend-page .why-now,
    .ascend-page .what,
    .ascend-page .prepare,
    .ascend-page .deliverables,
    .ascend-page .flow,
    .ascend-page .formats,
    .ascend-page .different,
    .ascend-page .who,
    .ascend-page .compare,
    .ascend-page .faq { padding: 74px 0; }
    .ascend-page .cta { padding: 82px 0; }
    .ascend-page .section-title { font-size: 32px; }
    .ascend-page .different-grid,
    .ascend-page .compare-grid { grid-template-columns: 1fr; }
    .ascend-page .flow-step { grid-template-columns: 48px minmax(0, 1fr); }
    .ascend-page .flow-step-duration { grid-column: 2; justify-self: start; }
}

@media (max-width: 560px) {
    .ascend-page .hero h1 { font-size: 32px; }
    .ascend-page .section-title { font-size: 28px; }
    .ascend-page .waves-grid,
    .ascend-page .what-grid,
    .ascend-page .deliverables-grid,
    .ascend-page .formats-grid,
    .ascend-page .prepare-grid,
    .ascend-page .who-grid { grid-template-columns: 1fr; }
    .ascend-page .wave-card,
    .ascend-page .what-card,
    .ascend-page .deliverable-card,
    .ascend-page .format-card,
    .ascend-page .who-card,
    .ascend-page .prepare-block { min-height: 0; }
    .ascend-page .prepare-block { padding-right: 0; }
    .ascend-page .hero-actions,
    .ascend-page .cta-actions { flex-direction: column; align-items: stretch; }
    .ascend-page .diff-card { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .ascend-page * { scroll-behavior: auto !important; transition: none !important; }
}
