/* ============================================================
   TTP Creative — Design System
   Background: #CCCAC6 · Accent: #FF4D1C · General Sans + Outfit + Fraunces
   ============================================================ */

/* === TOKENS === */
:root {
    --bg:          #CCCAC6;
    --surface:     #C0BDB9;
    --surface-2:   #B4B1AD;
    --text:        #0E0C0B;
    --muted:       #6A6560;
    --accent:      #FF4D1C;
    --accent-warm: #E8A020;
    --border:      rgba(14, 12, 11, 0.10);

    --f-display: 'Montserrat', 'Arial Black', sans-serif;
    --f-body:    'Montserrat', -apple-system, sans-serif;
    --f-accent:  'Fraunces', Georgia, serif;

    --r-sm:   4px;
    --r-md:   8px;
    --r-lg:   12px;
    --r-full: 99px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--f-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

/* Grain texture */
body::after {
    content: '';
    position: fixed; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    pointer-events: none;
    z-index: 9999;
    opacity: .5;
    mix-blend-mode: screen;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* === NAV === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 500;
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 48px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}
.logo-mark {
    position: relative;
    font-family: var(--f-display);
    font-weight: 900;
    font-size: 28px;
    letter-spacing: -.04em;
    line-height: 1;
    color: var(--text);
    display: inline-block;
}
.logo-sq {
    position: absolute;
    top: -6px;
    right: -12px;
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 1px;
    display: block;
}
.logo-name {
    font-family: var(--f-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .01em;
    color: var(--muted);
}
.nav-links {
    display: flex; align-items: center; gap: 36px; list-style: none;
}
.nav-links a {
    font-family: var(--f-body);
    font-size: 12px; font-weight: 500;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color .2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
    color: #fff !important;
    background: var(--accent);
    padding: 9px 20px;
    border-radius: var(--r-sm);
    transition: opacity .2s !important;
}
.nav-cta:hover { opacity: .85 !important; }

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
    display: block; width: 22px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: all .25s;
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 140px 48px 88px;
    position: relative; overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
    width: 1px; height: 38%;
    background: linear-gradient(to bottom, transparent, var(--accent) 50%, transparent);
    opacity: .3;
}
.hero-eye {
    font-family: var(--f-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 28px;
}
.hero-h1 {
    font-family: var(--f-display);
    font-size: clamp(64px, 13vw, 172px);
    font-weight: 400;
    line-height: .92; letter-spacing: -.025em;
    color: var(--text); max-width: 900px;
}
.hero-h1 em {
    color: var(--accent); font-style: normal; font-weight: 700;
}
.hero-bottom {
    display: grid; grid-template-columns: 1fr auto;
    gap: 32px; align-items: flex-end; margin-top: 64px;
}
.hero-tagline {
    font-family: var(--f-body);
    font-style: normal; font-weight: 400;
    font-size: clamp(15px, 1.8vw, 20px);
    line-height: 1.6; color: var(--text); max-width: 460px;
}
.hero-right {
    display: flex; flex-direction: column;
    align-items: flex-end; gap: 18px;
}
.hero-svc {
    font-family: var(--f-body);
    font-size: 11px; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); line-height: 2.1; text-align: right;
}
.hero-tagline em {
    color: var(--accent); font-style: normal; font-weight: 700;
}
.hero-btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-body);
    font-size: 12px; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--text); text-decoration: none;
    border: 1px solid var(--border);
    padding: 13px 26px; border-radius: var(--r-sm);
    transition: border-color .2s, color .2s;
}
.hero-btn:hover { border-color: var(--accent); color: var(--accent); }
.hero-btn .arr { transition: transform .2s; }
.hero-btn:hover .arr { transform: translateX(4px); }

/* === SHARED === */
.section {
    padding: 96px 48px;
    border-top: 1px solid var(--border);
}
.sec-label {
    font-family: var(--f-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--muted); margin-bottom: 56px;
}

/* === SERVICES === */
.svc-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
}
.svc-item {
    background: var(--bg);
    padding: 44px 32px;
    display: flex; flex-direction: column; gap: 20px;
    transition: background .2s;
}
.svc-item:hover { background: var(--surface); }
.svc-num {
    font-family: var(--f-display);
    font-size: 12px; font-weight: 600;
    letter-spacing: .1em; color: var(--accent);
}
.svc-name {
    font-family: var(--f-display);
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 600; line-height: 1.05; color: var(--text);
}
.svc-desc {
    font-family: var(--f-body);
    font-size: 15px; line-height: 1.7;
    color: var(--muted); flex: 1;
}
.svc-link {
    font-family: var(--f-body);
    font-size: 12px; font-weight: 500;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--text); text-decoration: none;
    display: flex; align-items: center; gap: 6px;
    transition: color .2s;
}
.svc-link:hover { color: var(--accent); }

/* === PROCESS === */
.proc-list {
    display: flex; flex-direction: column;
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
}
.proc-step {
    background: var(--bg);
    display: grid; grid-template-columns: 72px 1fr auto;
    gap: 44px; align-items: center;
    padding: 28px 32px;
    transition: background .2s;
}
.proc-step:hover { background: var(--surface); }
.proc-num {
    font-family: var(--f-display);
    font-size: clamp(44px, 5vw, 64px);
    font-weight: 700; line-height: 1;
    color: var(--accent); opacity: .55;
}
.proc-body h3 {
    font-family: var(--f-display);
    font-size: 20px; font-weight: 600;
    color: var(--text); margin-bottom: 6px;
}
.proc-body p {
    font-family: var(--f-body);
    font-size: 15px; line-height: 1.65; color: var(--muted);
}
.proc-tag {
    font-family: var(--f-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 5px 12px; border-radius: var(--r-full); white-space: nowrap;
}

/* === QUOTE === */
/* === TESTIMONIALS === */
.testi-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    border: 1px solid var(--border);
}
.testi-grid--single {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin: 0 auto;
}
.testi-card {
    background: var(--bg);
    padding: 44px 32px;
    display: flex; flex-direction: column; gap: 20px;
    transition: background .2s;
}
.testi-card:hover { background: var(--surface); }
.testi-card--empty {
    display: flex; align-items: center; justify-content: center;
    min-height: 220px;
    border: 2px dashed var(--border);
    background: transparent;
}
.testi-card--empty:hover { background: transparent; }
.testi-coming {
    font-size: 11px; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted); opacity: .5;
}
.q-mark {
    font-family: var(--f-body);
    font-size: 48px; line-height: .8;
    color: var(--accent); opacity: .5;
    user-select: none;
}
.testi-text {
    font-family: var(--f-body);
    font-style: italic; font-weight: 400;
    font-size: 15px; line-height: 1.7;
    color: var(--text); flex: 1;
}
.testi-attr {
    font-family: var(--f-body);
    font-size: 12px; font-weight: 500;
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--muted);
}

/* === CTA === */
.cta-section {
    padding: 120px 48px;
    border-top: 1px solid var(--border);
    display: flex; flex-direction: column;
    align-items: flex-start; gap: 28px;
}
.cta-h2 {
    font-family: var(--f-display);
    font-size: clamp(44px, 8vw, 92px);
    font-weight: 400; line-height: .95;
    letter-spacing: -.02em; color: var(--text); max-width: 680px;
}
.cta-h2 span { color: var(--accent); font-weight: 700; }
.cta-sub {
    font-family: var(--f-accent);
    font-style: italic; font-weight: 300;
    font-size: 20px; color: var(--muted); max-width: 460px;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--f-body);
    font-size: 13px; font-weight: 600;
    letter-spacing: .07em; text-transform: uppercase;
    color: #fff; background: var(--accent);
    padding: 15px 30px; border-radius: var(--r-sm);
    text-decoration: none;
    transition: opacity .2s, transform .15s;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }

/* === CONTACT FORM === */
.contact-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: start; margin-top: 56px;
}
.contact-intro h3 {
    font-family: var(--f-display);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 400; line-height: 1.05;
    color: var(--text); margin-bottom: 20px;
}
.contact-intro h3 span { color: var(--accent); font-weight: 700; }
.contact-intro p {
    font-family: var(--f-body);
    font-size: 15px; line-height: 1.7; color: var(--muted);
}
.contact-form {
    display: flex; flex-direction: column; gap: 16px;
}
.form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group {
    display: flex; flex-direction: column; gap: 6px;
}
.form-group label {
    font-family: var(--f-body);
    font-size: 11px; font-weight: 600;
    letter-spacing: .1em; text-transform: uppercase;
    color: var(--muted);
}
.form-group input,
.form-group textarea {
    font-family: var(--f-body);
    font-size: 15px; font-weight: 400;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 13px 16px;
    outline: none; width: 100%;
    transition: border-color .2s, background .2s;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); opacity: .7; }
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: var(--bg);
}
.form-group textarea {
    resize: vertical; min-height: 140px; line-height: 1.6;
}
.form-submit {
    margin-top: 8px;
}
.form-note {
    font-family: var(--f-body);
    font-size: 12px; color: var(--muted);
    margin-top: 12px;
}

/* === FOOTER === */
.footer {
    padding: 40px 48px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
}
.footer-links {
    display: flex; gap: 24px; list-style: none;
}
.footer-links a {
    font-family: var(--f-body);
    font-size: 12px; font-weight: 500;
    letter-spacing: .07em; text-transform: uppercase;
    color: var(--muted); text-decoration: none;
    transition: color .2s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
    font-family: var(--f-body);
    font-size: 12px; color: var(--muted);
    width: 100%; text-align: right;
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 0; transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .nav { padding: 18px 24px; }
    .nav-links { display: none; flex-direction: column; gap: 0; }
    .nav-links.open {
        display: flex;
        position: fixed; inset: 0; top: 61px;
        background: var(--bg);
        padding: 32px 24px; gap: 4px; z-index: 400;
    }
    .nav-links.open a {
        font-size: 20px; padding: 14px 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-toggle { display: flex; }

    .hero { padding: 120px 24px 64px; }
    .hero::before { display: none; }
    .hero-bottom { grid-template-columns: 1fr; gap: 28px; }
    .hero-right { align-items: flex-start; }
    .hero-svc { text-align: left; }

    .section { padding: 64px 24px; }

    .svc-grid { grid-template-columns: 1fr; }


    .proc-step {
        grid-template-columns: 48px 1fr;
        gap: 20px; padding: 24px;
    }
    .proc-tag { display: none; }

    .testi-grid { grid-template-columns: 1fr; }

    .cta-section { padding: 80px 24px; }
    .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
    .form-row { grid-template-columns: 1fr; }

    .footer { padding: 32px 24px; }
    .footer-copy { text-align: left; }
}

@media (max-width: 600px) {
    .hero-h1 { font-size: clamp(52px, 15vw, 80px); }
}
