/* Caddick & Brown — homepage only.
   The statement hero and the sections beneath it. Tokens come from press.css. */

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

.hero {
    max-width: var(--page);
    margin: 0 auto;
    padding: 4.5rem var(--gutter) 3rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 7.2vw, 6rem);
    line-height: 1.0;
    letter-spacing: -0.028em;
    margin-bottom: 2rem;
    max-width: 16ch;
}
.hero-title em { font-style: normal; color: var(--accent); }

.hero-foot {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
}

.hero-lede {
    max-width: 30rem;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--ink-dim);
    margin: 0;
}

/* The thin band of terms under the statement */
.terms-band {
    border-top: 2px solid var(--accent);
}

.terms-band ul {
    max-width: var(--page);
    margin: 0 auto;
    padding: 1rem var(--gutter);
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.terms-band .is-open { color: var(--accent-soft); }

/* ---------- What I do ---------- */

.services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.75rem;
}

.service { display: flex; flex-direction: column; }
.service h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.service p { font-size: 0.95rem; line-height: 1.8; color: var(--ink-dim); margin-bottom: 1.1rem; }
.service p a { text-decoration: none; border-bottom: 1px solid rgba(255, 106, 42, 0.4); }
.service p a:hover { border-bottom-color: var(--accent); }
.service .tag { display: block; margin-top: auto; padding-top: 0.9rem; border-top: 1px solid var(--line); }

/* ---------- How I work ---------- */

.work-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
}

.principles { list-style: none; }

.principles li {
    display: flex;
    gap: 1.4rem;
    align-items: baseline;
    padding: 0.95rem 0;
    border-bottom: 1px solid var(--line-soft);
}
.principles li:last-child { border-bottom: none; }

.principles .n {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--accent);
    min-width: 1.9rem;
}
.principles span:last-child { font-size: 1rem; line-height: 1.65; color: #d8d2c8; }

.statement { border-left: 2px solid var(--accent); padding: 0.25rem 0 0.25rem 1.6rem; }
.statement p:first-child { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.45; color: var(--ink); margin-bottom: 0.85rem; }
.statement p:last-child { font-size: 0.9rem; line-height: 1.8; color: var(--ink-mute); margin: 0; }

/* ---------- The quote ---------- */

.quote-band { border-top: 1px solid var(--line); background: var(--surface); padding: 3rem 0; }

.quote-band blockquote {
    max-width: var(--page);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.quote-band p {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.42;
    max-width: 30ch;
    margin-bottom: 1.5rem;
}

.quote-band cite { font-style: normal; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.quote-band .cite-rule { width: 2.5rem; height: 1px; background: var(--accent); }
.quote-band .cite-name { font-size: 0.95rem; color: #d8d2c8; }
.quote-band .cite-role { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Apps ---------- */

.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.75rem; }

.app { display: flex; flex-direction: column; text-decoration: none; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.app h3 { font-size: 1.6rem; color: var(--ink); margin-bottom: 0.6rem; }
.app p { font-size: 0.95rem; line-height: 1.75; color: var(--ink-dim); margin-bottom: 0.9rem; }
.app .go { margin-top: auto; font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.app:hover h3 { color: var(--accent-soft); }

/* ---------- Who you'd be working with ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3.5rem; align-items: start; }
.about-grid > p { font-size: 1rem; line-height: 1.85; color: var(--ink-dim); margin: 0; }

.jump a {
    display: block;
    padding: 0.85rem 0;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
    color: var(--ink);
    text-decoration: none;
}
.jump a:last-child { border-bottom: 1px solid var(--line); }
.jump a:hover { color: var(--accent); }

/* ---------- Closing call ---------- */

.cta {
    border-top: 2px solid var(--accent);
    max-width: none;
}

.cta-inner {
    max-width: var(--page);
    margin: 0 auto;
    padding: 2.75rem var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.cta h2 { font-size: 2.1rem; margin-bottom: 0.4rem; }
.cta p { font-size: 0.95rem; color: var(--ink-dim); margin: 0; }

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

@media (max-width: 900px) {
    .hero { padding-top: 3rem; }
    .hero-title { max-width: none; }
    .hero-foot { flex-direction: column; align-items: flex-start; gap: 1.75rem; }

    .terms-band ul { flex-direction: column; gap: 0.5rem; }

    .services { grid-template-columns: 1fr; gap: 2.25rem; }
    .work-grid { grid-template-columns: 1fr; gap: 2.25rem; }
    .apps { grid-template-columns: 1fr; gap: 2.25rem; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }

    .cta-inner { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
}

@media (max-width: 560px) {
    .hero-foot .btn { width: 100%; }
    .quote-band p { max-width: none; }
}
