/* ============================================================
   Concrete Marketing HQ — Custom CSS
   Supplements compiled Tailwind. Add new patterns here.
   ============================================================ */

/* ── Specialty image tiles ── */
.specialty-tile {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    display: block;
    min-height: 240px;
}

.specialty-tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.specialty-tile:hover img {
    transform: scale(1.06);
}

.specialty-tile .tile-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,18,33,0.92) 0%, rgba(6,18,33,0.35) 60%, rgba(6,18,33,0.1) 100%);
    transition: background 0.3s ease;
}

.specialty-tile:hover .tile-overlay {
    background: linear-gradient(to top, rgba(6,18,33,0.80) 0%, rgba(6,18,33,0.25) 60%, rgba(6,18,33,0.05) 100%);
}

.specialty-tile .tile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
}

.specialty-tile .tile-arrow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    background: rgba(255,107,53,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.specialty-tile:hover .tile-arrow {
    opacity: 1;
    transform: translateY(0);
}

/* ── Editorial problem numbers ── */
.problem-row {
    border-top: 1px solid #e5e7eb;
    padding: 2.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    transition: background 0.2s ease;
}

.problem-row:last-child {
    border-bottom: 1px solid #e5e7eb;
}

.problem-number {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1;
    color: #e5e7eb;
    flex-shrink: 0;
    width: clamp(5.5rem, 9vw, 7.5rem);
    transition: color 0.3s ease;
    font-family: 'Marcellus', serif;
}

.problem-row:hover .problem-number {
    color: #FF6B35;
}

/* ── Phase steps connector line ── */
.phase-steps {
    position: relative;
}

/* ── Flagship Pillar Article Typography & Callouts ── */
.article-content {
    font-family: 'Source Sans Pro', sans-serif;
    color: #2b3a4a;
    font-size: 1.125rem;
    line-height: 1.8;
}

.article-content h2 {
    font-family: 'Marcellus', serif;
    font-size: 1.875rem;
    font-weight: 700;
    color: #061221;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-top: 1rem;
    border-top: 2px solid #f1f5f9;
    scroll-margin-top: 7rem;
}

.article-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.article-content h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #123249;
    margin-top: 2rem;
    margin-bottom: 1rem;
    scroll-margin-top: 7rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #FF6B35;
    background-color: #fff7f4;
    padding: 1.25rem 1.5rem;
    border-radius: 0 0.75rem 0.75rem 0;
    margin: 2rem 0;
    font-style: italic;
    color: #123249;
}

.article-content a {
    color: #447793;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(68, 119, 147, 0.3);
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.article-content a:hover {
    color: #FF6B35;
    text-decoration-color: #FF6B35;
}


.phase-steps::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: calc(16.66% + 2rem);
    right: calc(16.66% + 2rem);
    height: 2px;
    background: linear-gradient(to right, #DDE8ED, #447793, #DDE8ED);
    display: none;
}

@media (min-width: 1024px) {
    .phase-steps::before {
        display: block;
    }
}

/* ── Pull quote decoration ── */
.pull-quote-mark {
    font-size: clamp(6rem, 15vw, 10rem);
    line-height: 0.8;
    color: #DDE8ED;
    font-family: 'Marcellus', serif;
    user-select: none;
    display: block;
    margin-bottom: -2rem;
}
