/* ===========================
   Ops+Advisory — Squarespace Match
   =========================== */

:root {
    --text: #161614;
    --text-light: #555;
    --blue: #1BA9EE;
    --blue-dark: #1A52A7;
    --blue-cta: #044CB8;
    --border: #bbb;
    --font: 'ABeeZee', sans-serif;
}

/* ---- Reset & Base ---- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); font-size: 16px; line-height: 1.8; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
a:hover { opacity: 0.7; }
.u { text-decoration: underline; }

/* ---- Layout ---- */

section { max-width: 1300px; margin: 0 auto; padding: 48px 60px; }
hr { border: none; border-top: 1px solid var(--border); max-width: 1360px; margin: 0 auto; }

/* ---- Header ---- */

.header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-inner {
    max-width: 1300px; margin: 0 auto; padding: 12px 60px;
    display: flex; align-items: center; justify-content: space-between;
}
.header-logo { height: 50px; width: auto; }
.header-nav { font-size: 14px; font-weight: 400; letter-spacing: 1.14px; color: var(--text); text-transform: uppercase; }

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

.hero { text-align: center; padding-top: 48px; padding-bottom: 40px; }
.brand-banner { max-width: 672px; margin: 0 auto 24px; }
.hero-photo { width: 69px; height: 69px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.hero h1 { font-size: 21px; font-weight: 400; line-height: 1.6; margin: 0 auto 12px; }

.hero-subtitle {
    font-size: 19px; font-weight: 400; line-height: 1.6;
    max-width: 1013px; margin: 0 auto 48px;
    color: var(--blue-dark);
}
.hero-subtitle em { font-style: italic; }

.hero-body {
    font-size: 18px; font-weight: 400; line-height: 1.6;
    max-width: 1013px; margin: 0 auto;
}

/* ---- Services ---- */

.services { padding-top: 40px; padding-bottom: 40px; }
.services-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; }
.services-group h3 { margin-bottom: 12px; font-size: 18px; font-weight: 400; text-align: center; }
.services-ops-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.services-ops-1, .services-ops-2, .services-strat { text-align: center; }
.services-ops-1 p, .services-ops-2 p, .services-strat p { font-size: 14px; line-height: 2.4; color: var(--text); }

/* ---- Pitch ---- */

.pitch { text-align: center; padding-top: 24px; padding-bottom: 48px; }
.pitch p { font-size: 24.6px; line-height: 1.5; margin-bottom: 16px; }
.pitch p:last-child { margin-bottom: 0; }
.pitch em { font-style: italic; }

/* ---- About ---- */

.about h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; text-align: center; }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; align-items: start; }
.about-photo { width: 100%; border-radius: 2px; }

.about-links {
    display: flex; justify-content: space-between;
    margin-top: 100px; padding: 0 20px;
}
.about-links a {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 12.5px; letter-spacing: -0.88px; color: var(--text);
}
.about-links img { width: 29px; height: 29px; object-fit: contain; }

.about-text p { font-size: 18px; line-height: 1.5; margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }

/* ---- Testimonial ---- */

.testimonial { padding: 20px 30px; }
.testimonial blockquote {
    background: #D2EBFE;
    border: 2px solid var(--text);
    padding: 36px 48px; margin: 0; text-align: center;
}
.testimonial blockquote p { font-size: 21px; line-height: 1.5; color: var(--blue); }
.testimonial blockquote em { font-style: italic; }
.testimonial blockquote strong { font-weight: 700; color: var(--blue); }
.testimonial cite { display: block; margin-top: 20px; font-size: 21px; font-style: normal; color: var(--blue); }
.testimonial cite em { font-style: italic; }

/* ---- Client Logos ---- */

.logos { padding: 32px 60px; }
.logo-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: center; gap: 12px; }
.logo-grid img { justify-self: center; max-width: min(140px, 100%); max-height: 90px; width: auto; height: auto; object-fit: contain; opacity: 1; }
.logo-grid img[alt="Studio Source"] { max-width: min(168px, 100%); max-height: 108px; }

/* ---- Contact ---- */

.contact { padding-top: 48px; padding-bottom: 64px; text-align: center; }
.contact-heading { font-size: 21px; font-weight: 400; line-height: 1.6; color: var(--text); margin-bottom: 12px; }
.contact-subheading { font-size: 19px; font-weight: 400; line-height: 1.6; color: var(--text); margin-bottom: 0; }
.contact-cta { font-size: 18px; font-weight: 400; margin: 24px 0 0; }
.contact-cta strong { font-weight: 700; color: var(--blue-cta); text-decoration: underline; }

.contact-form { max-width: 820px; margin: 36px auto 0; text-align: left; }
.form-group { margin-bottom: 20px; }
.form-group > label { display: block; font-size: 15px; font-weight: 400; margin-bottom: 6px; color: var(--text); }
.req { font-size: 15px; color: var(--text); }
.field-hint { display: block; font-size: 15px; color: var(--text); margin-bottom: 6px; padding: 8px 0; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.name-field { display: flex; flex-direction: column; }
.field-note { font-size: 15px; color: var(--text); margin-top: 4px; }

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%; font-family: var(--font); font-size: 15px;
    padding: 5px 10px; border: none; border-bottom: 1px solid var(--border);
    border-radius: 0; background: transparent; color: var(--text);
    outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-bottom-color: var(--text); }
.form-group textarea { resize: vertical; min-height: 100px; }

.check-row { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.check-label { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 400; cursor: pointer; }
.check-label input[type="checkbox"] { width: 15px; height: 15px; }

.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span {
    display: block; font-size: 15px; padding: 1px 10px;
    border: 1px solid rgba(22, 22, 20, 0.55); border-radius: 999px;
    color: var(--text); background: transparent; transition: all 0.15s;
    line-height: 1.5;
}
.pill:hover span { background: rgba(0,0,0,0.04); }
.pill input:checked + span { background: var(--text); color: #fff; border-color: var(--text); }

.btn-send {
    display: block; margin: 0 auto; font-family: var(--font); font-size: 16px; font-weight: 500;
    letter-spacing: 0.32px; color: var(--blue-cta); background: transparent;
    border: 1px solid rgba(4, 76, 184, 0.4); padding: 16px 28px; cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.btn-send:hover { background: rgba(0,0,0,0.04); }

/* ---- Footer ---- */

.footer { padding: 12px 60px; max-width: 1300px; margin: 0 auto; border-top: 1px solid var(--border); position: relative; }
.footer-inner {
    min-height: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
}
.footer-left-zone {
    justify-self: start;
    display: flex;
    align-items: center;
}
.footer-logo { display: block; flex-shrink: 0; }
.footer-logo img { height: 50px; width: auto; }
.footer-links {
    justify-self: center;
    display: grid;
    grid-template-columns: repeat(3, max-content);
    align-items: center;
    column-gap: clamp(28px, 5vw, 72px);
}
.footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.footer-col a { font-size: 12px; color: #000; text-decoration: underline; letter-spacing: 1.14px; }
.footer-col-copy {
    align-items: center;
}
.footer-copyright {
    justify-self: end;
    font-size: 12px;
    color: var(--text);
    letter-spacing: 1.14px;
}

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

@media (max-width: 1100px) {
    .services-grid { grid-template-columns: 1fr; row-gap: 20px; }
    .services-group-strat { width: 100%; max-width: 620px; margin: 0 auto; }
    .pitch { padding-top: 0; }
}

@media (min-width: 601px) and (max-width: 1100px) {
    .logo-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 24px 8px; }
    .logo-grid img { grid-column: span 2; }
    .logo-grid img:nth-child(5) { grid-column: 2 / span 2; }
}

@media (max-width: 900px) {
    section { padding: 36px 24px; }
    .header-inner { padding: 20px 24px; }
    .about-layout { grid-template-columns: 1fr; gap: 24px; }
    .about-sidebar { text-align: center; }
    .about-photo { max-width: 300px; margin: 0 auto; }
    .about-links { justify-content: center; gap: 32px; padding: 0; margin-top: 20px; }
    .footer { padding-inline: 24px; }
}

@media (max-width: 600px) {
    section { padding: 32px 16px; }
    .header-inner { padding: 16px; }
    .services-ops-columns { grid-template-columns: 1fr; gap: 16px; }
    .services-group-strat { max-width: none; }
    .brand-banner { max-width: 280px; }
    .hero h1 { font-size: 18px; }
    .pitch p { font-size: 18px; }
    .name-row { grid-template-columns: 1fr; }
    .check-row { flex-direction: column; gap: 8px; }
    .logo-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; }
    .logo-grid img { max-width: 70px; max-height: 50px; }
    .footer { padding: 12px 16px; }
    .footer-logo img { height: 42px; }
    .footer-links { column-gap: clamp(10px, 3vw, 20px); }
    .footer-col a,
    .footer-copyright {
        font-size: 11px;
        letter-spacing: 0.65px;
    }
}

@media (max-width: 360px) {
    .footer { padding-inline: 10px; }
    .footer-logo img { height: 36px; }
    .footer-links { column-gap: 8px; }
    .footer-col a,
    .footer-copyright {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
}
