/* ==========================================================================
   360 BRAND CLUB — LANDING PAGE STYLES
   ========================================================================== */

:root {
    --primary: #F43D46;
    --primary-dark: #D92F39;
    --plum: #55404D;
    --black: #171417;
    --white: #FFFFFF;
    --off-white: #F7F5F4;
    --light-gray: #E9E6E6;
    --gray: #777174;
    --border: #DDD8D9;

    --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --container: 1320px;
    --pad: clamp(24px, 5vw, 64px);

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur-fast: 0.2s;
    --dur: 0.4s;
    --dur-slow: 0.7s;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    line-height: 1.5;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
img, video { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; }
input, textarea { font-family: inherit; font-size: 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--black); color: var(--white);
    padding: 12px 20px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 16px; }

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

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- TYPE SCALE ---------- */
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }

.eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2.1rem, 4.6vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.lede {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    color: var(--gray);
    max-width: 620px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.hl { color: var(--primary); }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 15px 26px;
    border-radius: 100px;
    white-space: nowrap;
    transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--dur-fast) var(--ease); }

.btn-primary {
    background: var(--primary);
    color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-primary:hover .icon-arrow { transform: translateX(4px); }

.btn-ghost {
    background: transparent;
    color: var(--black);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--black); }
.btn-ghost:hover .icon-down { transform: translateY(3px); }

.btn-text {
    color: var(--gray);
    padding: 15px 8px;
}
.btn-text:hover { color: var(--black); }

.btn-sm { padding: 11px 20px; font-size: 0.85rem; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 500;
    transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
    border-bottom: 1px solid transparent;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 24px rgba(23,20,23,0.04);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.header-logo img { height: 70px; width: auto; }

.header-nav { display: flex; gap: 36px; }
.header-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--black);
    position: relative;
    padding: 4px 0;
}
.header-nav a::after {
    content: '';
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: var(--primary);
    transition: width var(--dur-fast) var(--ease);
}
.header-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
}
.menu-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--black);
    transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    max-height: 0;
    overflow: hidden;
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: max-height var(--dur-slow) var(--ease), border-color var(--dur);
}
.mobile-menu.open { max-height: 420px; border-bottom-color: var(--border); }
.mobile-menu nav { display: flex; flex-direction: column; padding: 8px var(--pad) 28px; gap: 4px; }
.mobile-menu nav a {
    padding: 14px 0;
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 1px solid var(--light-gray);
}
.mobile-menu nav .btn { margin-top: 18px; justify-content: center; }

/* ---------- HERO ---------- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px var(--pad) 40px;
    position: relative;
    background: var(--off-white);
}
.hero-inner {
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.hero-title {
    font-size: clamp(2.5rem, 8vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.06em;
    font-weight: 700;
    margin-bottom: 28px;
}
.hero-sub {
    font-size: clamp(1.15rem, 1.8vw, 1.45rem);
    font-weight: 600;
    color: var(--plum);
    margin-bottom: 18px;
    letter-spacing: -0.01em;
}
.hero-body {
    font-size: 1.05rem;
    color: var(--gray);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.6;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual { perspective: 1200px; }
.hv-frame {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px -20px rgba(23,20,23,0.16);
    transition: transform 0.15s ease-out;
    will-change: transform;
}
.hv-browser-bar {
    display: flex; gap: 6px;
    padding: 12px 14px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
}
.hv-browser-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--light-gray); }
.hv-browser-bar span:nth-child(1) { background: #E9C0C0; }

.hv-media { aspect-ratio: 4 / 3.1; position: relative; background: var(--off-white); }
.hv-media video, .hv-media img { width: 100%; height: 100%; object-fit: cover; }

.hv-abstract { position: relative; width: 100%; height: 100%; overflow: hidden; }
.hv-grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hv-card {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 20px -6px rgba(23,20,23,0.12);
    transition: transform 0.2s var(--ease);
}
.hv-card-1 { top: 14%; left: 10%; }
.hv-card-2 { top: 8%; right: 12%; color: var(--primary); border-color: rgba(244,61,70,0.3); }
.hv-card-3 { top: 42%; left: 6%; }
.hv-card-4 { bottom: 26%; right: 8%; }
.hv-card-5 { bottom: 12%; left: 16%; color: var(--primary); border-color: rgba(244,61,70,0.3); }
.hv-card-6 { top: 62%; right: 24%; }
.hv-cursor { position: absolute; top: 48%; left: 48%; z-index: 3; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2)); }

.hero-scroll-indicator {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gray);
    animation: bobDown 2.2s ease-in-out infinite;
}
@keyframes bobDown { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 6px); } }
.hero-scroll-indicator svg { width: 16px; height: 16px; }

/* ---------- SECTION SPACING ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- PROBLEM SECTION ---------- */
.problem-section { background: var(--white); }
.problem-words {
    margin-top: 56px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 28px;
}
.pw {
    font-size: clamp(2.6rem, 7vw, 6rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--light-gray);
    transition: color 0.5s var(--ease);
}
.pw.is-active { color: var(--black); }

/* ---------- SERVICES ---------- */
.services-section { background: var(--off-white); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    margin-top: 56px;
    border-radius: 4px;
    overflow: hidden;
}
.service-card {
    background: var(--white);
    padding: 44px 40px;
    position: relative;
    transition: background var(--dur-fast) var(--ease);
    min-height: 220px;
    display: flex;
    flex-direction: column;
}
.service-card:hover { background: var(--off-white); }
.service-num {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    margin-bottom: 22px;
    display: block;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.service-card p { color: var(--gray); font-size: 0.98rem; line-height: 1.55; max-width: 380px; }
.service-arrow {
    position: absolute;
    top: 40px; right: 40px;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.service-arrow svg { width: 15px; height: 15px; transition: transform var(--dur-fast) var(--ease); }
.service-card:hover .service-arrow { border-color: var(--primary); background: var(--primary); color: var(--white); transform: translate(3px,-3px); }

.section-cta { margin-top: 56px; }

/* ---------- OUR EDGE ---------- */
.edge-section { padding: 0; }
.edge-top { background: var(--white); padding: clamp(80px, 11vw, 150px) 0 60px; }
.edge-top-inner { max-width: 900px; }
.hl-block { margin-top: -6px; }
.edge-copy { max-width: 540px; margin-top: 8px; }
.edge-copy p { font-size: 1.15rem; color: var(--gray); line-height: 1.6; margin-bottom: 10px; }

.edge-bottom {
    background: var(--plum);
    color: var(--white);
    padding: clamp(70px, 10vw, 120px) 0;
}
.edge-statements { display: flex; flex-direction: column; gap: 6px; margin-bottom: 44px; }
.edge-statement {
    font-size: clamp(1.8rem, 4.4vw, 3.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: rgba(255,255,255,0.55);
}
.edge-statement:last-child { color: var(--white); }
.edge-final {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    font-weight: 600;
    color: var(--primary);
    letter-spacing: -0.01em;
}

/* ---------- CAPABILITY / BUILT TO WORK ---------- */
.capability-section { background: var(--off-white); }
.capability-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}
.capability-item {
    border-top: 2px solid var(--black);
    padding-top: 20px;
}
.capability-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.capability-item p { color: var(--gray); font-size: 0.95rem; line-height: 1.55; }

/* ---------- SELECTED WORK ---------- */
.work-section { background: var(--white); }
.work-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 44px 32px;
}
.work-item:nth-child(3n+1) { grid-column: span 2; }
.work-item:nth-child(3n+1) .project-media { aspect-ratio: 16/8; }

.project-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    background: var(--off-white);
    border: 1px solid var(--border);
}
.project-media video {
    width: 100%; height: 100%; object-fit: cover;
}

/* Full-page screenshot preview — image sits top-aligned at natural
   proportions and pans downward on hover via JS-driven transform. */
.project-media .scroll-preview-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(0);
    will-change: transform;
}

/* Simple fallback path (no natural-height scroll possible, e.g. very
   short screenshots) — gentle scale on hover instead. */
.project-media img.no-scroll-preview {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.work-item:hover .project-media img.no-scroll-preview { transform: scale(1.045); }

.project-media .no-media-fallback {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 600; color: var(--gray);
    letter-spacing: 0.05em; text-transform: uppercase;
    background: repeating-linear-gradient(135deg, var(--off-white), var(--off-white) 10px, var(--light-gray) 10px, var(--light-gray) 11px);
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 18px;
    gap: 16px;
}
.project-meta h3 { font-size: 1.3rem; margin-bottom: 6px; letter-spacing: -0.02em; }
.project-category { color: var(--primary); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 8px; }
.project-tags { color: var(--gray); font-size: 0.88rem; }
.project-link {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.88rem; font-weight: 600;
    white-space: nowrap;
    padding-top: 4px;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.work-item:hover .project-link,
.work-item:focus-within .project-link { opacity: 1; transform: translateX(0); }
.project-link svg { width: 14px; height: 14px; }

@media (hover: none) {
    .project-link { opacity: 1; transform: none; }
}

/* ---------- CTA BREAK ---------- */
.cta-break {
    background: var(--plum);
    color: var(--white);
    padding: clamp(90px, 13vw, 160px) 0;
    text-align: center;
}
.cta-break-title {
    font-size: clamp(2.2rem, 5.4vw, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 22px;
}
.cta-break-body {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 560px;
    margin: 0 auto 40px;
}
.cta-break .btn-primary { margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--off-white); }
.faq-list { margin-top: 48px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 4px;
    text-align: left;
    font-size: clamp(1.02rem, 1.6vw, 1.2rem);
    font-weight: 600;
}
.faq-plus {
    flex-shrink: 0;
    width: 26px; height: 26px;
    position: relative;
}
.faq-plus::before, .faq-plus::after {
    content: '';
    position: absolute;
    background: var(--black);
    transition: transform var(--dur-fast) var(--ease);
}
.faq-plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-plus::after { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-item.open .faq-plus::before { background: var(--primary); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-slow) var(--ease);
}
.faq-answer-inner { padding: 0 4px 26px; color: var(--gray); font-size: 1rem; line-height: 1.6; max-width: 700px; }

/* ---------- FINAL CTA ---------- */
.final-cta-section { background: var(--white); text-align: left; }
.final-cta-title {
    font-size: clamp(1.9rem, 4.2vw, 3.3rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 26px;
    max-width: 900px;
}
.final-cta-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }

/* ---------- FOOTER ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 72px 0 0; }
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand img { height: 30px; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.95rem; max-width: 280px; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a, .footer-cta-link { font-size: 0.95rem; color: rgba(255,255,255,0.75); text-align: left; width: fit-content; }
.footer-links a:hover, .footer-cta-link:hover { color: var(--primary); }
.footer-contact p { color: rgba(255,255,255,0.75); font-size: 0.95rem; margin-bottom: 10px; }
.footer-bottom { padding: 22px var(--pad); }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ---------- MOBILE STICKY CTA ---------- */
.mobile-sticky-cta {
    display: none;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 400;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(0);
    transition: transform var(--dur) var(--ease);
}
.mobile-sticky-cta.hidden-cta { transform: translateY(120%); }
.mobile-sticky-cta .btn { width: 100%; justify-content: center; }

/* ---------- REVEAL ANIMATIONS ---------- */
.reveal-up, .reveal-scale, .reveal-left { opacity: 0; transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal-up { transform: translateY(28px); }
.reveal-scale { transform: scale(0.96); }
.reveal-left { transform: translateX(-24px); }
.reveal-up.in-view, .reveal-scale.in-view, .reveal-left.in-view { opacity: 1; transform: none; }

/* ================= LEAD FORM ================= */
.form-overlay {
    position: fixed; inset: 0;
    z-index: 900;
    background: rgba(23,20,23,0.55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--dur) var(--ease);
}
.form-overlay.visible { opacity: 1; }
.form-overlay[hidden] { display: none; }

.form-panel {
    background: var(--off-white);
    width: 100%;
    max-width: 760px;
    max-height: 92vh;
    border-radius: 22px 22px 0 0;
    padding: 48px clamp(24px, 5vw, 64px) 32px;
    position: relative;
    overflow-y: auto;
    transform: translateY(40px);
    transition: transform var(--dur-slow) var(--ease);
    display: flex;
    flex-direction: column;
}
.form-overlay.visible .form-panel { transform: translateY(0); }

@media (min-width: 860px) {
    .form-overlay { align-items: center; }
    .form-panel { border-radius: 22px; max-height: 88vh; }
}

.form-close {
    position: absolute; top: 22px; right: 22px;
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    background: var(--white);
    transition: border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.form-close:hover { border-color: var(--primary); transform: rotate(90deg); }
.form-close svg { width: 16px; height: 16px; }

.form-progress-wrap { margin-bottom: 32px; padding-right: 50px; }
.form-progress-label { font-size: 0.78rem; font-weight: 700; color: var(--gray); letter-spacing: 0.06em; }
.form-progress-bar { margin-top: 10px; height: 3px; background: var(--light-gray); border-radius: 4px; overflow: hidden; }
.form-progress-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.5s var(--ease); width: 20%; }

.form-steps { flex: 1; }
.form-step { animation: stepIn 0.4s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.form-step[hidden] { display: none; }

.form-question {
    font-size: clamp(1.5rem, 3.4vw, 2.2rem);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 10px;
}
.form-sub { color: var(--gray); font-size: 1rem; margin-bottom: 30px; }

.option-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.option-card {
    text-align: left;
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 12px;
    padding: 20px 20px 20px 22px;
    position: relative;
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.option-card:hover { border-color: var(--plum); transform: translateY(-2px); }
.option-card.selected {
    border-color: var(--primary);
    background: rgba(244, 61, 70, 0.05);
}
.option-title { font-weight: 600; font-size: 1rem; padding-right: 26px; }
.option-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.4; }
.option-check {
    position: absolute; top: 18px; right: 18px;
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: var(--white);
    transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.option-card.selected .option-check {
    border-color: var(--primary);
    background: var(--primary);
}
.option-card.selected .option-check::after {
    content: '';
    position: absolute; top: 5px; left: 3.5px;
    width: 10px; height: 6px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(-45deg);
}

.option-grid-compact { grid-template-columns: repeat(2, 1fr); }
.option-card-compact { flex-direction: row; align-items: center; justify-content: space-between; padding: 18px 20px; }
.option-card-compact .option-title { padding-right: 0; font-size: 0.94rem; }
.option-card-compact .option-check { position: static; flex-shrink: 0; }

.option-grid-fun { grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 460px; }
.option-card-fun {
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    border-radius: 18px;
    gap: 14px;
    background: var(--white);
}
.option-emoji { font-size: 2.6rem; line-height: 1; }
.option-card-fun .option-title { font-size: 1.1rem; }
.form-step-fun .form-question { color: var(--plum); }

.form-error {
    color: var(--primary-dark);
    font-size: 0.86rem;
    font-weight: 500;
    margin-top: 18px;
}

.form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; }
.field input, .field textarea {
    border: 1.5px solid var(--border);
    background: var(--white);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: 0.98rem;
    transition: border-color var(--dur-fast) var(--ease);
    resize: vertical;
}
.field input:focus, .field textarea:focus { border-color: var(--primary); outline: none; }
.field input.invalid, .field textarea.invalid { border-color: var(--primary-dark); }
.field-error { color: var(--primary-dark); font-size: 0.8rem; }

.form-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 36px;
    padding-top: 4px;
}
.form-nav .btn-text { margin-right: auto; }
.form-nav .btn-text svg { width: 16px; height: 16px; }

.form-microcopy { text-align: center; color: var(--gray); font-size: 0.82rem; margin-top: 18px; }

/* success */
.form-success { text-align: center; padding: 30px 0 10px; display: flex; flex-direction: column; align-items: center; }
.success-mark { width: 68px; height: 68px; margin-bottom: 24px; }
.success-mark svg { width: 100%; height: 100%; }
.success-mark path#successCheck {
    stroke-dasharray: 40;
    stroke-dashoffset: 40;
    animation: drawCheck 0.6s var(--ease) 0.2s forwards;
}
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
.form-success .btn { margin-top: 20px; }

body.form-open { overflow: hidden; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { max-width: 560px; }
    .services-grid { grid-template-columns: 1fr; }
    .capability-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; margin-bottom: 8px; }
}

@media (max-width: 860px) {
    .header-nav { display: none; }
    .menu-toggle { display: flex; }
    .header-actions .btn-sm.js-open-form { display: none; }
    .hero { padding-top: 120px; }
    .work-item:nth-child(3n+1) { grid-column: span 1; }
    .work-item:nth-child(3n+1) .project-media { aspect-ratio: 16/10; }
    .work-grid { grid-template-columns: 1fr; }
    .mobile-sticky-cta { display: block; }
    body { padding-bottom: 0; }
}

@media (max-width: 768px) {
    .edge-top-inner, .capability-grid, .work-grid { }
    .capability-grid { grid-template-columns: 1fr 1fr; }
    .option-grid-fun { max-width: 100%; }
}

@media (max-width: 640px) {
    .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
    .capability-grid { grid-template-columns: 1fr; }
    .form-fields { grid-template-columns: 1fr; }
    .option-grid, .option-grid-compact { grid-template-columns: 1fr; }
    .service-card { padding: 34px 26px; }
    .service-arrow { top: 30px; right: 26px; }
    .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(2.6rem, 12vw, 4rem); }
    .cta-break, .final-cta-section, .section { }
    .form-panel { padding: 40px 20px 24px; }
}
