/* ClipDancer — refined dark, editing-suite aesthetic. Timecode is the signature. */

:root {
    --bg:        #0c0c0e;
    --bg-2:      #121215;
    --surface:   #16161a;
    --surface-2: #1c1c21;
    --line:      rgba(255, 255, 255, 0.09);
    --line-2:    rgba(255, 255, 255, 0.16);
    --text:      #ece9e2;
    --muted:     #8f8c84;
    --muted-2:   #6f6c65;
    --accent:    #f08a3c;
    --accent-dim:#9a5a28;

    --display: "Bricolage Grotesque", Georgia, serif;
    --body:    "Hanken Grotesk", system-ui, sans-serif;
    --mono:    "JetBrains Mono", ui-monospace, monospace;

    --wrap: 1120px;
    --r: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-image:
        radial-gradient(900px 500px at 78% -8%, rgba(240, 138, 60, 0.10), transparent 60%),
        radial-gradient(700px 600px at -5% 12%, rgba(240, 138, 60, 0.045), transparent 55%);
    background-attachment: fixed;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

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

/* ---- buttons ---------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--body); font-weight: 600; font-size: 0.96rem;
    padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
    cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #1a0f06; }
.btn-primary:hover { background: #ff9a4d; }
.btn-ghost { border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-card { background: transparent; border-color: var(--line-2); width: 100%; justify-content: center; margin-top: auto; }
.btn-card:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; justify-content: center; }

/* ---- header ----------------------------------------------------------- */
.site-head {
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(12px);
    background: rgba(12, 12, 14, 0.72);
    border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
    width: 16px; height: 16px; border-radius: 4px; background: var(--bg);
    border: 1.5px solid var(--accent); position: relative;
}
.brand-mark::after {
    content: ""; position: absolute; inset: 0; margin: auto;
    width: 0; height: 0; border-style: solid;
    border-width: 4px 0 4px 6px; border-color: transparent transparent transparent var(--accent);
    left: 1px;
}
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; }
.nav a { color: var(--muted); transition: color .15s; }
.nav a:hover { color: var(--text); }
.nav-cta { color: var(--accent) !important; font-weight: 600; }

/* ---- hero ------------------------------------------------------------- */
.hero { padding: 116px 0 84px; }
.kicker { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.18em; margin: 0 0 22px; }
.hero-title {
    font-family: var(--display); font-weight: 800;
    font-size: clamp(2.7rem, 7.5vw, 5.4rem); line-height: 1.02;
    letter-spacing: -0.035em; margin: 0 0 26px; max-width: 16ch;
}
.hero-sub { font-size: 1.16rem; color: var(--muted); max-width: 56ch; margin: 0 0 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.tc-strip {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 64px; padding-top: 26px; border-top: 1px solid var(--line);
    color: var(--muted-2); font-size: 0.78rem; letter-spacing: 0.1em;
}
.tc-strip .tick { width: 26px; height: 1px; background: var(--line-2); }
.tc-strip span:first-child { color: var(--accent); }

/* ---- generic band ----------------------------------------------------- */
.band { padding: 78px 0; border-top: 1px solid var(--line); }
.section-title {
    font-family: var(--display); font-weight: 600;
    font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.03em;
    margin: 0 0 40px; max-width: 20ch;
}

/* ---- sample ----------------------------------------------------------- */
.sample-frame {
    border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden;
    background: var(--surface); position: relative;
}
.sample-frame.is-wide { aspect-ratio: 16 / 9; }
.sample-frame.is-tall { aspect-ratio: 9 / 16; max-width: 360px; }
.sample-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sample-placeholder {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    gap: 16px; color: var(--muted-2); font-size: 0.82rem; letter-spacing: 0.08em;
    background:
        repeating-linear-gradient(135deg, transparent 0 22px, rgba(255,255,255,0.012) 22px 44px),
        var(--surface);
}
.sample-placeholder .play {
    width: 0; height: 0; border-style: solid;
    border-width: 9px 0 9px 15px; border-color: transparent transparent transparent var(--accent);
}

/* ---- steps ------------------------------------------------------------ */
.steps {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
}
.steps li { background: var(--bg); padding: 30px 26px; }
.step-no { color: var(--accent); font-size: 0.85rem; }
.steps h3 { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: 14px 0 8px; }
.steps p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---- pricing ---------------------------------------------------------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.price-card {
    display: flex; flex-direction: column;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 30px 26px; position: relative; transition: border-color .2s, transform .2s;
}
.price-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.price-card.is-featured { border-color: var(--accent-dim); background: var(--surface-2); }
.badge {
    position: absolute; top: -10px; left: 26px; background: var(--accent); color: #1a0f06;
    font-size: 0.66rem; letter-spacing: 0.12em; padding: 4px 10px; border-radius: 999px;
}
.price-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; margin: 0 0 12px; }
.price-amt { font-family: var(--display); font-weight: 800; font-size: 2.2rem; margin: 0 0 6px; letter-spacing: -0.03em; }
.price-cad { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); font-weight: 400; }
.price-blurb { color: var(--muted); font-size: 0.95rem; margin: 0 0 20px; }
.price-feats { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; }
.price-feats li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--text); }
.price-feats li::before {
    content: ""; position: absolute; left: 0; top: 9px;
    width: 8px; height: 8px; border-bottom: 1.5px solid var(--accent); border-right: 1.5px solid var(--accent);
    transform: rotate(45deg) translateY(-2px);
}

/* ---- contact ---------------------------------------------------------- */
.band-contact { background: var(--bg-2); }
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-lead { color: var(--muted); font-size: 1.08rem; max-width: 42ch; }
.contact-form {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
    padding: 30px; display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field > span { font-size: 0.85rem; color: var(--muted); letter-spacing: 0.01em; }
.field .opt { color: var(--muted-2); font-size: 0.7rem; }
.field input, .field select, .field textarea {
    font-family: var(--body); font-size: 1rem; color: var(--text);
    background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px;
    padding: 12px 14px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 138, 60, 0.14);
}
.field textarea { resize: vertical; }
.field-err { color: #ff8d6b; font-size: 0.8rem; }
.form-ok { color: var(--accent); margin: 0; }
.form-err { color: #ff8d6b; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---- footer ----------------------------------------------------------- */
.site-foot { border-top: 1px solid var(--line); padding: 36px 0; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-tc { color: var(--muted-2); font-size: 0.78rem; margin-left: 10px; }
.foot-right { display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 0.85rem; }
.foot-right a:hover { color: var(--accent); }

/* ---- entrance motion -------------------------------------------------- */
.hero > .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .kicker    { animation-delay: .02s; }
.hero-title      { animation-delay: .08s; }
.hero-sub        { animation-delay: .16s; }
.hero-cta        { animation-delay: .24s; }
.tc-strip        { animation-delay: .34s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---- responsive ------------------------------------------------------- */
@media (max-width: 860px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; }
    .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
    .nav a:not(.nav-cta) { display: none; }
}
@media (max-width: 520px) {
    body { font-size: 16px; }
    .hero { padding: 80px 0 60px; }
    .band { padding: 56px 0; }
    .steps { grid-template-columns: 1fr; }
    .wrap { padding: 0 20px; }
}

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