/* ============================================================
   R Creative | rcreative.marketing
   main.css — Full Design System
   Built from R-Creative-Pattern-Library-v2.html
   ============================================================ */

/* ── 1. Custom Properties ───────────────────────────────────── */
:root {
    /* Primary Palette */
    --color-black:          #060606;
    --color-surface:        #101010;
    --color-surface-raised: #1A1A1A;
    --color-yellow:         #FEE700;
    --color-yellow-dim:     #C9B800;
    --color-white:          #FFFFFF;
    --color-text-body:      #C8C8C8;
    --color-text-muted:     #7A7A7A;

    /* Atmospheric Purple — light source only, never UI elements */
    --color-glow-deep:      #1A0038;
    --color-glow-mid:       #2A0050;
    --color-glow-soft:      #4B0082;

    /* Legacy aliases (for partials that reference old names) */
    --color-primary:        var(--color-yellow);
    --color-accent:         var(--color-yellow);
    --color-bg:             var(--color-black);
    --color-text:           var(--color-text-body);

    /* Typography */
    --font-base:            'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading:         'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --line-height-tight:    1.1;
    --line-height-normal:   1.7;

    /* Spacing (base-8) */
    --spacing-xs:           4px;
    --spacing-sm:           8px;
    --spacing-md:           16px;
    --spacing-lg:           32px;
    --spacing-xl:           64px;
    --space-4:              4px;
    --space-8:              8px;
    --space-16:             16px;
    --space-24:             24px;
    --space-32:             32px;
    --space-48:             48px;
    --space-64:             64px;
    --space-96:             96px;

    /* Border radius */
    --radius-sm:            2px;
    --radius-md:            4px;

    /* Shadows */
    --shadow-sm:            0 2px 6px rgba(0, 0, 0, 0.4);
    --shadow-md:            0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-card:          0 4px 12px rgba(0, 0, 0, 0.6);
    --shadow-glow-yellow:   0 0 0 1px rgba(254, 231, 0, 0.1);
}

/* ── 2. Reset ───────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

img,
video,
svg {
    max-width: 100%;
    display: block;
}

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
}

/* ── 3. Base ────────────────────────────────────────────────── */
body {
    font-family: var(--font-base);
    font-size: 16px;
    line-height: var(--line-height-normal);
    color: var(--color-text-body);
    background: var(--color-black);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-white);
    line-height: var(--line-height-tight);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: 64px; font-weight: 800; }
h2 { font-size: 40px; }
h3 { font-size: 28px; font-weight: 600; }
h4 { font-size: 20px; font-weight: 600; }
h5 { font-size: 16px; font-weight: 600; }
h6 { font-size: 14px; font-weight: 600; }

p {
    line-height: var(--line-height-normal);
    color: var(--color-text-body);
}

a {
    color: var(--color-yellow);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--color-yellow-dim);
}

ul, ol {
    list-style: none;
}

strong {
    color: var(--color-white);
    font-weight: 700;
}

em {
    font-style: italic;
}

/* ── 4. Layout Containers ───────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-32);
}

main {
    min-height: 60vh;
    padding: var(--space-64) 0;
}

hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: var(--space-48) 0;
}

/* ── 5. Site Header — White with Brand Yellow Glow ──────────── */
.site-header {
    background:
        radial-gradient(
            ellipse 100% 200% at 50% 110%,
            rgba(254, 231, 0, 0.13) 0%,
            rgba(254, 231, 0, 0.05) 45%,
            transparent 68%
        ),
        var(--color-white);
    border-bottom: 3px solid var(--color-yellow);
    box-shadow:
        0 4px 32px rgba(254, 231, 0, 0.28),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

.site-header__brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-24) var(--space-32) var(--space-16);
}

.site-header__logo-link {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.15s ease;
}

.site-header__logo-link:hover {
    opacity: 0.85;
}

.site-header__logo {
    height: 150px;
    width: auto;
    display: block;
}

/* ── 6. Site Navigation ─────────────────────────────────────── */
.site-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 var(--space-32) var(--space-16);
    position: relative;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    list-style: none;
    flex-wrap: nowrap;
    justify-content: center;
}

.site-nav__item {
    position: relative;
}

/* Nav links */
.site-nav__item > a,
.site-nav__dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--color-black);
    font-family: var(--font-base);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, background 0.15s ease;
    white-space: nowrap;
}

.site-nav__item > a:hover,
.site-nav__dropdown-trigger:hover {
    color: #000;
    background: rgba(254, 231, 0, 0.15);
}

/* Active page state */
.nav__link--active,
[aria-current="page"] {
    color: #000 !important;
    background: rgba(254, 231, 0, 0.18) !important;
    border-bottom: 2px solid var(--color-yellow);
}

/* Dropdown trigger reset */
.site-nav__dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
}

/* Dropdown caret */
.site-nav__dropdown-caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.site-nav__dropdown-trigger[aria-expanded="true"] .site-nav__dropdown-caret {
    transform: rotate(180deg);
}

/* Dropdown panel */
.site-nav__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 230px;
    background: var(--color-white);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--color-yellow);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow:
        0 8px 24px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(254, 231, 0, 0.12);
    z-index: 200;
    list-style: none;
    overflow: hidden;
}

.site-nav__dropdown--open {
    display: block;
}

.site-nav__dropdown li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    color: var(--color-black);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-radius: 0;
    transition: background 0.15s ease, color 0.15s ease;
}

.site-nav__dropdown li a i {
    width: 16px;
    text-align: center;
    font-size: 13px;
    color: var(--color-black);
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.site-nav__dropdown li a:hover {
    background: rgba(254, 231, 0, 0.14);
    color: #000;
}

.site-nav__dropdown li a:hover i {
    color: var(--color-yellow-dim);
}

.site-nav__dropdown li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Desktop hover — show dropdown on hover */
@media (min-width: 769px) {
    /* Extend li's bounding box downward so the gap between
       trigger and dropdown panel doesn't break the hover chain */
    .site-nav__item {
        padding-bottom: 8px;
    }

    .site-nav__item--dropdown:hover > .site-nav__dropdown {
        display: block;
    }

    .site-nav__item--dropdown:hover > .site-nav__dropdown-trigger .site-nav__dropdown-caret {
        transform: rotate(180deg);
    }
}

/* Mobile hamburger toggle */
.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-8);
    z-index: 10;
    /* Centering handled by flex parent on mobile */
}

.site-nav__toggle-bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    border-radius: 1px;
    transition: transform 0.25s ease, opacity 0.2s ease;
    transform-origin: center;
}

/* Hamburger → X animation when open */
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── 7. Typography Scale ────────────────────────────────────── */
.hero-h1 {
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: var(--line-height-tight);
}

.section-h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: var(--line-height-tight);
}

.subsection-h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: var(--line-height-tight);
}

.card-h4 {
    font-size: 20px;
    font-weight: 600;
}

.body-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-body);
    line-height: var(--line-height-normal);
}

.label-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.highlight {
    color: var(--color-yellow);
}

/* ── 8. Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.04em;
    line-height: 1;
}

.btn i {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-black);
}

.btn-primary:hover {
    background: var(--color-yellow-dim);
    color: var(--color-black);
    transform: scale(1.02);
}

.btn-primary:hover i {
    transform: translateX(2px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-yellow);
    border: 1px solid var(--color-yellow);
    padding: 13px 31px;
}

.btn-secondary:hover {
    background: rgba(254, 231, 0, 0.08);
    color: var(--color-yellow);
}

.btn-secondary:hover i {
    transform: translateX(2px);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 13px 31px;
}

.btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
}

/* ── 9. Cards ────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-24);
}

.card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    border-color: rgba(254, 231, 0, 0.35);
    box-shadow:
        var(--shadow-glow-yellow),
        inset 0 0 30px rgba(42, 0, 80, 0.12);
}

.card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-16);
}

.card p {
    color: var(--color-text-body);
    line-height: var(--line-height-normal);
}

.card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-24);
}

.card-icon i {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.card:hover .card-icon i {
    color: var(--color-yellow);
}

/* ── 10. Tags ────────────────────────────────────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(254, 231, 0, 0.08);
    border: 1px solid rgba(254, 231, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tag i {
    font-size: 11px;
}

/* ── 11. Glow Sections ──────────────────────────────────────── */
/* Atmospheric purple glow — applied to hero sections */
.glow-hero {
    background:
        radial-gradient(
            ellipse 80% 60% at 50% 0%,
            rgba(42, 0, 80, 0.35) 0%,
            rgba(26, 0, 56, 0.15) 45%,
            transparent 70%
        ),
        var(--color-black);
}

.glow-section {
    background:
        radial-gradient(
            ellipse 80% 60% at 50% 20%,
            rgba(42, 0, 80, 0.25) 0%,
            rgba(26, 0, 56, 0.1) 50%,
            transparent 70%
        ),
        var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-64) var(--space-32);
}

/* ── 12. Blog Index ──────────────────────────────────────────── */
.blog-index {
    padding: var(--space-64) 0;
}

.blog-index__list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-32);
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--space-32);
    list-style: none;
}

.blog-index__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--space-96) 0;
    color: var(--color-text-muted);
    font-size: 18px;
}

/* Blog Card */
.blog-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    border-color: rgba(254, 231, 0, 0.35);
    box-shadow:
        var(--shadow-glow-yellow),
        inset 0 0 30px rgba(42, 0, 80, 0.08);
}

.blog-card__image-link {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image {
    transform: scale(1.03);
}

.blog-card__body {
    padding: var(--space-32);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--space-16);
}

.blog-card__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.blog-card__date {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.blog-card__title-link {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.15s ease;
}

.blog-card__title-link:hover {
    color: var(--color-yellow);
}

.blog-card__excerpt {
    color: var(--color-text-body);
    font-size: 15px;
    line-height: var(--line-height-normal);
    flex: 1;
}

.blog-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    list-style: none;
}

.blog-card__tag {
    display: inline-flex;
    align-items: center;
    background: rgba(254, 231, 0, 0.08);
    border: 1px solid rgba(254, 231, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-yellow);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.15s ease;
    margin-top: auto;
}

.blog-card__read-more:hover {
    gap: 10px;
    color: var(--color-yellow-dim);
}

/* ── 13. Blog Post ───────────────────────────────────────────── */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-64) var(--space-32);
}

.blog-post article {
    color: var(--color-text-body);
}

.blog-post h1 {
    font-size: 48px;
    margin-bottom: var(--space-24);
}

.blog-post h2 {
    font-size: 32px;
    margin-top: var(--space-48);
    margin-bottom: var(--space-16);
}

.blog-post h3 {
    font-size: 24px;
    margin-top: var(--space-32);
    margin-bottom: var(--space-16);
}

.blog-post p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-24);
}

.blog-post ul,
.blog-post ol {
    margin-bottom: var(--space-24);
    padding-left: var(--space-32);
}

.blog-post li {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-8);
    list-style: disc;
}

.blog-post ol li {
    list-style: decimal;
}

.blog-post a {
    color: var(--color-yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-post blockquote {
    border-left: 3px solid var(--color-yellow);
    padding-left: var(--space-24);
    margin: var(--space-32) 0;
    color: var(--color-text-body);
    font-style: italic;
}

.blog-post img {
    border-radius: var(--radius-md);
    margin: var(--space-32) 0;
    width: 100%;
}

.blog-post code {
    font-family: 'Courier New', monospace;
    font-size: 14px;
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 2px 6px;
    color: var(--color-text-body);
}

.blog-post pre {
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-24);
    overflow-x: auto;
    margin-bottom: var(--space-24);
}

.blog-post pre code {
    background: none;
    border: none;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
}

/* ── 14. Contact Form ────────────────────────────────────────── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    max-width: 640px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-form__label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-white);
}

.contact-form__label span {
    color: var(--color-yellow);
}

.contact-form__input,
.contact-form__textarea {
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: var(--font-base);
    font-size: 15px;
    color: var(--color-white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    -webkit-appearance: none;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: rgba(254, 231, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(254, 231, 0, 0.08);
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
    color: var(--color-text-muted);
}

.contact-form__textarea {
    resize: vertical;
    min-height: 140px;
    line-height: var(--line-height-normal);
}

.contact-form__actions {
    display: flex;
    align-items: center;
    padding-top: var(--space-8);
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--color-yellow);
    color: var(--color-black);
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.contact-form__submit:hover {
    background: var(--color-yellow-dim);
    transform: scale(1.02);
}

.contact-form__submit:active {
    transform: scale(0.99);
}

.form-success,
.form-error {
    padding: var(--space-16) var(--space-24);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.form-success {
    background: rgba(75, 0, 130, 0.15);
    border: 1px solid rgba(75, 0, 130, 0.5);
    color: #c49ef5;
}

.form-error {
    background: rgba(220, 50, 50, 0.08);
    border: 1px solid rgba(220, 50, 50, 0.25);
    color: #f0a0a0;
}

/* ── 15. Site Footer — White with Brand Yellow Glow ─────────── */
.site-footer {
    background:
        radial-gradient(
            ellipse 100% 200% at 50% -10%,
            rgba(254, 231, 0, 0.13) 0%,
            rgba(254, 231, 0, 0.05) 45%,
            transparent 68%
        ),
        var(--color-white);
    border-top: 3px solid var(--color-yellow);
    box-shadow:
        0 -4px 32px rgba(254, 231, 0, 0.28),
        0 -2px 8px rgba(0, 0, 0, 0.08);
    margin-top: var(--space-96);
    padding: var(--space-64) var(--space-32) var(--space-48);
}

.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-64);
    align-items: start;
    margin-bottom: var(--space-48);
}

/* Left column */
.site-footer__col--brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-24);
}

.site-footer__logo-link {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.15s ease;
}

.site-footer__logo-link:hover {
    opacity: 0.8;
}

.site-footer__logo {
    height: 150px;
    width: auto;
    display: block;
}

.site-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-style: normal;
}

.site-footer__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.15s ease;
}

.site-footer__contact-item i {
    width: 16px;
    text-align: center;
    font-size: 15px;
    color: var(--color-black);
    flex-shrink: 0;
    transition: color 0.15s ease;
}

.site-footer__contact-item:hover {
    color: var(--color-yellow-dim);
}

.site-footer__contact-item:hover i {
    color: var(--color-yellow-dim);
}

.site-footer__cta {
    width: 100%;
    justify-content: center;
}

/* Right column: nav */
.site-footer__nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-32);
    align-items: start;
}

.site-footer__nav-heading {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-black);
    margin-bottom: var(--space-16);
    opacity: 0.45;
}

.site-footer__nav-group ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
    list-style: none;
}

.site-footer__nav-group a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
    opacity: 0.75;
}

.site-footer__nav-group a i {
    width: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--color-black);
    flex-shrink: 0;
    opacity: 0.6;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.site-footer__nav-group a:hover {
    color: var(--color-black);
    opacity: 1;
}

.site-footer__nav-group a:hover i {
    color: var(--color-yellow-dim);
    opacity: 1;
}

.site-footer__copyright {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-32);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 12px;
    color: #888;
    font-weight: 500;
    text-align: center;
}

/* ── 16. Utility Classes ────────────────────────────────────── */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-8  { margin-top: var(--space-8); }
.mt-16 { margin-top: var(--space-16); }
.mt-24 { margin-top: var(--space-24); }
.mt-32 { margin-top: var(--space-32); }
.mt-48 { margin-top: var(--space-48); }
.mt-64 { margin-top: var(--space-64); }

.mb-8  { margin-bottom: var(--space-8); }
.mb-16 { margin-bottom: var(--space-16); }
.mb-24 { margin-bottom: var(--space-24); }
.mb-32 { margin-bottom: var(--space-32); }
.mb-48 { margin-bottom: var(--space-48); }

/* ── 17. Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes wordReveal {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.8; }
    50%       { opacity: 1; }
}

@keyframes borderPulse {
    0%, 100% { border-color: rgba(254, 231, 0, 0.15); }
    50%       { border-color: rgba(254, 231, 0, 0.55); }
}

@keyframes shimmer {
    0%   { background-position: -400px 0; }
    100% { background-position:  400px 0; }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    40%       { transform: translateY(-6px); }
    60%       { transform: translateY(-3px); }
}

/* Scroll-reveal entry */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Page-load animate */
.header-animate {
    opacity: 0;
    animation: fadeUp 0.6s ease-out forwards;
}

.header-animate:nth-child(2) { animation-delay: 0.15s; }
.header-animate:nth-child(3) { animation-delay: 0.30s; }

/* ── 18. Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {
    h1, .hero-h1 { font-size: 48px; }
    h2, .section-h2 { font-size: 32px; }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-16);
    }

    h1, .hero-h1 { font-size: 36px; }
    h2, .section-h2 { font-size: 26px; }
    h3, .subsection-h3 { font-size: 22px; }

    /* Header */
    .site-header__brand {
        padding: var(--space-16) var(--space-16) var(--space-12, 12px);
    }

    .site-header__logo {
        height: 100px;
    }

    /* Nav — mobile collapse */
    .site-nav {
        padding: 0 var(--space-16) var(--space-8);
        min-height: 56px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        justify-content: center;
        align-items: center;
    }

    .site-nav__toggle {
        display: flex;
        position: static;
        transform: none;
    }

    .site-nav__menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--color-white);
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        border-bottom: 2px solid var(--color-yellow);
        box-shadow: 0 8px 20px rgba(254, 231, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        flex-wrap: nowrap;
        z-index: 200;
        padding: 0;
    }

    .site-nav__menu--open {
        display: flex;
    }

    .site-nav__item {
        width: 100%;
    }

    .site-nav__item > a,
    .site-nav__dropdown-trigger {
        width: 100%;
        padding: 12px var(--space-24);
        border-radius: 0;
        font-size: 13px;
        justify-content: flex-start;
    }

    /* Mobile dropdown — inline, not overlapping */
    .site-nav__dropdown {
        position: static;
        transform: none;
        min-width: unset;
        box-shadow: none;
        border: none;
        border-left: 3px solid var(--color-yellow);
        border-radius: 0;
        background: rgba(254, 231, 0, 0.04);
        padding: var(--space-4) 0;
    }

    .site-nav__dropdown li a {
        padding: 10px var(--space-32) 10px calc(var(--space-24) + 12px);
        font-size: 12px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    /* Blog */
    .blog-index {
        padding: var(--space-48) 0;
    }

    .blog-index__list {
        grid-template-columns: 1fr;
        padding: 0 var(--space-16);
    }

    .blog-post {
        padding: var(--space-48) var(--space-16);
    }

    .blog-post h1 {
        font-size: 30px;
    }

    /* Cards */
    .card-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .site-footer {
        padding: var(--space-48) var(--space-16) var(--space-32);
        margin-top: var(--space-64);
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }

    .site-footer__col--brand {
        align-items: center;
        text-align: center;
    }

    .site-footer__contact {
        align-items: center;
    }

    .site-footer__nav {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-24);
    }

    .site-footer__cta {
        width: 100%;
    }

    /* Contact form */
    .contact-form {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .blog-card__image {
        height: 180px;
    }
}

/* ── 19. Homepage ───────────────────────────────────────────── */

/* Sections control their own spacing */
.home {
    padding: 0;
}

/* Hero */
.home__hero {
    padding: var(--space-96) 0;
    overflow: hidden;
}

.home__hero-label {
    opacity: 0;
    animation: fadeUp 0.4s ease-out forwards;
    margin-bottom: var(--space-16);
}

.home__hero-headline {
    margin-bottom: var(--space-24);
}

/* Word-by-word reveal — hero H1 only */
.home__hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: wordReveal 0.4s ease-out forwards;
}

.home__hero-headline .word:nth-child(1) { animation-delay: 0.05s; }
.home__hero-headline .word:nth-child(2) { animation-delay: 0.15s; }
.home__hero-headline .word:nth-child(3) { animation-delay: 0.25s; }
.home__hero-headline .word:nth-child(4) { animation-delay: 0.35s; }
.home__hero-headline .word:nth-child(5) { animation-delay: 0.45s; }
.home__hero-headline .word:nth-child(6) { animation-delay: 0.55s; }
.home__hero-headline .word:nth-child(7) { animation-delay: 0.65s; }

.home__hero-sub {
    font-size: 18px;
    color: var(--color-text-body);
    max-width: 640px;
    margin-bottom: var(--space-32);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.75s forwards;
}

.home__hero-cta {
    opacity: 0;
    animation: fadeUp 0.5s ease-out 0.9s forwards;
}

/* Problem */
.home__problem {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.home__problem-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.home__problem-copy p {
    font-size: 18px;
}

.home__problem-copy p:nth-child(2) {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
}

/* Three Problems We Solve */
.home__difference {
    padding: var(--space-96) 0;
    background: var(--color-black);
}

.home__difference-intro {
    margin-bottom: var(--space-48);
}

.home__difference-lead {
    font-size: 18px;
    max-width: 720px;
    margin-top: var(--space-16);
}

.home__difference .card {
    display: flex;
    flex-direction: column;
}

.home__difference .card h4 {
    margin-top: var(--space-8);
}

/* Pipeline Audit */
.home__pipeline-wrap {
    padding: var(--space-64) 0 var(--space-96);
    background: var(--color-black);
}

.home__pipeline-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
    align-items: center;
    text-align: center;
}

.home__pipeline-inner h2 {
    line-height: 1.2;
}

.home__pipeline-inner > p {
    font-size: 18px;
    max-width: 600px;
}

/* What We Do */
.home__services {
    padding: var(--space-96) 0;
    background: var(--color-surface);
}

.home__services-header {
    margin-bottom: var(--space-48);
}

.home__services-lead {
    font-size: 18px;
    max-width: 640px;
    margin: var(--space-16) auto 0;
}

.home__services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
}

.home__services-grid .card {
    display: flex;
    flex-direction: column;
}

.home__services-featured {
    border-color: rgba(254, 231, 0, 0.3);
    animation: borderPulse 3s ease-in-out infinite;
}

/* Text link CTA — used on service + industry cards */
.home__card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-yellow);
    text-decoration: none;
    margin-top: auto;
    padding-top: var(--space-24);
    transition: gap 0.2s ease, color 0.15s ease;
}

.home__card-link:hover {
    gap: 10px;
    color: var(--color-yellow-dim);
}

.home__card-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.home__card-link:hover i {
    transform: translateX(2px);
}

/* Who We Help */
.home__industries {
    padding: var(--space-96) 0;
    background: var(--color-black);
}

.home__industries-header {
    margin-bottom: var(--space-48);
}

.home__industries-lead {
    font-size: 18px;
    max-width: 640px;
    margin: var(--space-16) auto 0;
}

.home__industries-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
}

.home__industries-grid .card {
    display: flex;
    flex-direction: column;
}

/* Testimonial */
.home__testimonial {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.home__quote {
    max-width: 800px;
    margin: 0 auto;
    border-left: 3px solid var(--color-yellow);
    padding-left: var(--space-32);
}

.home__quote blockquote p {
    font-size: 22px;
    font-style: italic;
    line-height: 1.65;
    color: var(--color-white);
    margin-bottom: var(--space-24);
}

.home__quote figcaption {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
}

/* Closing CTA — white section */
.home__cta {
    background:
        radial-gradient(
            ellipse 100% 200% at 50% 110%,
            rgba(254, 231, 0, 0.13) 0%,
            rgba(254, 231, 0, 0.05) 45%,
            transparent 68%
        ),
        var(--color-white);
    border-top: 3px solid var(--color-yellow);
    padding: var(--space-96) 0;
}

.home__cta h2 {
    color: var(--color-black);
    margin-bottom: var(--space-16);
}

.home__cta p {
    font-size: 18px;
    color: #555;
    max-width: 480px;
    margin: 0 auto var(--space-32);
}

/* Contact section */
.home__contact {
    padding: var(--space-96) 0;
    background: var(--color-black);
}

.home__contact-header {
    margin-bottom: var(--space-48);
}

.home__contact-header p {
    font-size: 18px;
    max-width: 560px;
    margin-top: var(--space-16);
}

/* ── 20. Homepage Responsive ────────────────────────────────── */
@media (max-width: 768px) {
    .home__hero {
        padding: var(--space-64) 0;
    }

    .home__hero-sub {
        font-size: 16px;
    }

    .home__services-grid,
    .home__industries-grid {
        grid-template-columns: 1fr;
    }

    .home__problem,
    .home__difference,
    .home__pipeline-wrap,
    .home__services,
    .home__industries,
    .home__testimonial,
    .home__cta,
    .home__contact {
        padding: var(--space-64) 0;
    }

    .home__quote blockquote p {
        font-size: 18px;
    }

    .home__pipeline-inner > p {
        font-size: 16px;
    }
}

/* ── 21. About Page ─────────────────────────────────────────── */
.about {
    padding: 0;
}

/* Hero */
.about__hero {
    padding: var(--space-96) 0;
    overflow: hidden;
}

.about__hero-label {
    opacity: 0;
    animation: fadeUp 0.4s ease-out forwards;
    margin-bottom: var(--space-16);
}

.about__hero-headline {
    margin-bottom: var(--space-24);
}

.about__hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: wordReveal 0.4s ease-out forwards;
}

.about__hero-headline .word:nth-child(1) { animation-delay: 0.05s; }
.about__hero-headline .word:nth-child(2) { animation-delay: 0.15s; }
.about__hero-headline .word:nth-child(3) { animation-delay: 0.25s; }
.about__hero-headline .word:nth-child(4) { animation-delay: 0.35s; }
.about__hero-headline .word:nth-child(5) { animation-delay: 0.45s; }
.about__hero-headline .word:nth-child(6) { animation-delay: 0.55s; }
.about__hero-headline .word:nth-child(7) { animation-delay: 0.65s; }

.about__hero-sub {
    font-size: 18px;
    color: var(--color-text-body);
    max-width: 640px;
    margin-bottom: var(--space-16);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.75s forwards;
}

.about__hero-sub--delay {
    animation-delay: 0.9s;
}

/* Story */
.about__story {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.about__story-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.about__story-content p {
    font-size: 18px;
}

/* How We Work */
.about__how {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.about__how-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.about__how-content p {
    font-size: 18px;
}

/* Values */
.about__values {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.about__values-header {
    margin-bottom: var(--space-48);
}

.about__values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-24);
}

.about__value-card {
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 40px 32px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.about__value-card:hover {
    border-color: rgba(254, 231, 0, 0.35);
    box-shadow:
        var(--shadow-glow-yellow),
        inset 0 0 30px rgba(42, 0, 80, 0.12);
}

.about__value-card:hover .card-icon i {
    color: var(--color-yellow);
}

.about__value-bar {
    width: 32px;
    height: 3px;
    background: var(--color-yellow);
    margin-bottom: var(--space-16);
}

.about__value-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: var(--space-16);
}

.about__value-card p {
    color: var(--color-text-body);
    line-height: var(--line-height-normal);
}

/* Meet Joshua */
.about__founder {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.about__founder-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: center;
}

.about__founder-photo img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    object-fit: cover;
    max-height: 600px;
    object-position: top;
}

.about__founder-bio {
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.about__founder-bio p {
    font-size: 18px;
}

/* The Team */
.about__team {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.about__team-content {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.about__team-content p {
    font-size: 18px;
}

/* ── 22. About Page Responsive ──────────────────────────────── */
@media (max-width: 768px) {
    .about__hero,
    .about__story,
    .about__how,
    .about__values,
    .about__founder,
    .about__team {
        padding: var(--space-64) 0;
    }

    .about__hero-sub {
        font-size: 16px;
    }

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

    .about__founder-inner {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }

    .about__story-content p,
    .about__how-content p,
    .about__team-content p,
    .about__founder-bio p {
        font-size: 16px;
    }
}

/* ── 21. Contact Page ───────────────────────────────────────── */

.contact {
    padding: 0;
}

.contact__hero {
    padding: var(--space-96) 0;
    overflow: hidden;
}

.contact__hero-label {
    opacity: 0;
    animation: fadeUp 0.4s ease-out forwards;
    margin-bottom: var(--space-16);
}

.contact__hero-headline {
    margin-bottom: 0;
}

.contact__hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: wordReveal 0.4s ease-out forwards;
}

.contact__hero-headline .word:nth-child(1) { animation-delay: 0.05s; }
.contact__hero-headline .word:nth-child(2) { animation-delay: 0.15s; }
.contact__hero-headline .word:nth-child(3) { animation-delay: 0.25s; }

.contact__body {
    padding: var(--space-96) 0;
}

.contact__grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-96);
    align-items: start;
}

.contact__col-label {
    margin-bottom: var(--space-32);
}

/* Contact info list */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.contact-info-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
}

.contact-info-list__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-info-list__icon i {
    font-size: 16px;
}

.contact-info-list__item:hover .contact-info-list__icon {
    color: var(--color-yellow);
    border-color: rgba(254, 231, 0, 0.3);
}

.contact-info-list__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding-top: 2px;
}

.contact-info-list__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.contact-info-list__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-white);
    transition: color 0.15s ease;
}

.contact-info-list__link:hover {
    color: var(--color-yellow);
}

.contact-info-list__link--external i {
    font-size: 11px;
    opacity: 0.7;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.contact-info-list__link--external:hover i {
    transform: translate(2px, -2px);
    opacity: 1;
}

@media (max-width: 900px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--space-64);
    }
}

@media (max-width: 768px) {
    .contact__hero {
        padding: var(--space-64) 0;
    }

    .contact__body {
        padding: var(--space-64) 0;
    }
}

/* ── 22. Service Pages — Shared Components ──────────────────── */

/* Remove default main padding so hero glow starts flush at top */
.branding-logo-design,
.digital-marketing,
.the-intake-engine,
.web-design-development {
    padding: 0;
}

/* Hero */
.svc__hero {
    padding: var(--space-96) 0;
    overflow: hidden;
}

.svc__hero-label {
    opacity: 0;
    animation: fadeUp 0.4s ease-out forwards;
    margin-bottom: var(--space-16);
}

.svc__hero-headline {
    margin-bottom: var(--space-24);
}

.svc__hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: wordReveal 0.4s ease-out forwards;
}

.svc__hero-headline .word:nth-child(1)  { animation-delay: 0.05s; }
.svc__hero-headline .word:nth-child(2)  { animation-delay: 0.15s; }
.svc__hero-headline .word:nth-child(3)  { animation-delay: 0.25s; }
.svc__hero-headline .word:nth-child(4)  { animation-delay: 0.35s; }
.svc__hero-headline .word:nth-child(5)  { animation-delay: 0.45s; }
.svc__hero-headline .word:nth-child(6)  { animation-delay: 0.55s; }
.svc__hero-headline .word:nth-child(7)  { animation-delay: 0.65s; }
.svc__hero-headline .word:nth-child(8)  { animation-delay: 0.72s; }
.svc__hero-headline .word:nth-child(9)  { animation-delay: 0.79s; }
.svc__hero-headline .word:nth-child(10) { animation-delay: 0.86s; }
.svc__hero-headline .word:nth-child(11) { animation-delay: 0.93s; }
.svc__hero-headline .word:nth-child(12) { animation-delay: 1.00s; }

.svc__hero-sub {
    font-size: 18px;
    color: var(--color-text-body);
    max-width: 640px;
    margin-bottom: var(--space-24);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.85s forwards;
}

.svc__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-16);
    opacity: 0;
    animation: fadeUp 0.5s ease-out 1.0s forwards;
}

/* Problem / Empathy */
.svc__problem {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__problem-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.svc__problem-inner h2 {
    margin-bottom: var(--space-32);
}

.svc__problem-inner p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-16);
}

.svc__problem-inner p:last-child {
    margin-bottom: 0;
}

/* Deliverables / What We Build */
.svc__deliverables {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__deliverables-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-64);
}

.svc__deliverables-header h2 {
    margin-bottom: var(--space-16);
}

.svc__deliverables-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

/* Process */
.svc__process {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__process-header {
    max-width: 720px;
    margin: 0 auto var(--space-64);
}

.svc__process-header h2 {
    margin-bottom: var(--space-16);
}

.svc__process-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

.svc__process-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 860px;
    margin: 0 auto;
    padding-left: 72px;
}

/* Vertical connecting line */
.svc__process-steps::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 22px;
    bottom: 22px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(254, 231, 0, 0.45), rgba(254, 231, 0, 0.06));
    z-index: 0;
}

.svc__step {
    display: flex;
    gap: var(--space-32);
    align-items: flex-start;
    padding: 0 0 var(--space-48) 0;
    position: relative;
}

.svc__step:last-child {
    padding-bottom: 0;
}

.svc__step-num {
    position: absolute;
    left: -72px;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-black);
    border: 2px solid rgba(254, 231, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--color-yellow);
    flex-shrink: 0;
    z-index: 1;
    line-height: 1;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.svc__step:hover .svc__step-num {
    border-color: rgba(254, 231, 0, 0.9);
    background: rgba(254, 231, 0, 0.07);
}

.svc__step-content {
    flex: 1;
    padding-top: 10px;
}

.svc__step-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-8);
    line-height: 1.2;
}

.svc__step-content p {
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
}

/* Connection / Differentiator */
.svc__connection {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__connection-inner {
    max-width: 800px;
    margin: 0 auto;
}

.svc__connection-inner h2 {
    margin-bottom: var(--space-24);
}

.svc__connection-inner p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-16);
}

.svc__connection-inner p:last-of-type {
    margin-bottom: 0;
}

.svc__connection-inner .btn {
    margin-top: var(--space-32);
}

/* Two-column split variant (web design page) */
.svc__connection-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-64);
    align-items: start;
}

.svc__connection-left h2 {
    margin-bottom: var(--space-24);
}

.svc__connection-left p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-16);
    color: var(--color-text-body);
}

.svc__connection-left p:last-child {
    margin-bottom: 0;
}

.svc__connection-right .glow-section {
    position: sticky;
    top: var(--space-32);
}

@media (max-width: 900px) {
    .svc__connection-split {
        grid-template-columns: 1fr;
        gap: var(--space-48);
    }

    .svc__connection-right .glow-section {
        position: static;
    }
}

/* FAQ — Accordion */
.svc__faq {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__faq-header {
    max-width: 800px;
    margin: 0 auto var(--space-64);
}

.svc__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.svc__faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.svc__faq-item:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.svc__faq-trigger {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-24);
    padding: var(--space-24) 0;
    text-align: left;
    color: var(--color-white);
    font-family: var(--font-base);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.svc__faq-trigger:hover {
    color: var(--color-yellow);
}

.svc__faq-icon {
    font-size: 16px;
    color: var(--color-yellow);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.svc__faq-trigger[aria-expanded="true"] .svc__faq-icon {
    transform: rotate(45deg);
}

.svc__faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
}

.svc__faq-answer.is-open {
    max-height: 600px;
}

.svc__faq-answer p {
    padding-bottom: var(--space-24);
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
    font-size: 16px;
}

/* Services List (Digital Marketing) */
.svc__services {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__services-header {
    max-width: 720px;
    margin: 0 auto var(--space-64);
}

.svc__services-header h2 {
    margin-bottom: var(--space-16);
}

.svc__services-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

.svc__services-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-48);
    max-width: 860px;
    margin: 0 auto;
}

.svc__service-item {
    padding-left: var(--space-32);
    border-left: 3px solid rgba(254, 231, 0, 0.3);
    transition: border-color 0.25s ease;
}

.svc__service-item:hover {
    border-left-color: rgba(254, 231, 0, 0.7);
}

.svc__service-item-header {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.svc__service-item-header i {
    font-size: 22px;
    color: var(--color-yellow);
    flex-shrink: 0;
}

.svc__service-item h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
}

.svc__service-item p {
    font-size: 16px;
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
}

/* Why R Creative */
.svc__why {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__why-inner {
    max-width: 860px;
    margin: 0 auto;
}

.svc__why-inner h2 {
    margin-bottom: var(--space-24);
}

.svc__why-inner > p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-16);
}

/* Bullet list variant (branding, web design pages) */
.svc__why-list {
    margin: var(--space-32) 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc__why-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    color: var(--color-text-body);
    line-height: 1.7;
    padding: var(--space-16) var(--space-24);
    background: var(--color-surface-raised);
    border-radius: var(--radius-md);
    border-left: 3px solid rgba(254, 231, 0, 0.35);
}

.svc__why-list li i {
    color: var(--color-yellow);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Card grid variant (digital marketing page — 3×2) */
.svc__why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
    margin-top: var(--space-48);
}

.svc__why-card {
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-32);
    transition: border-color 0.25s ease;
}

.svc__why-card:hover {
    border-color: rgba(254, 231, 0, 0.2);
}

.svc__why-card .card-icon {
    margin-bottom: var(--space-16);
}

.svc__why-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-8);
    line-height: 1.3;
}

.svc__why-card p {
    font-size: 14px;
    color: var(--color-text-body);
    line-height: 1.7;
    margin: 0;
}

/* Industries Grid (Web Design page) */
.svc__industries {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__industries-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-64);
}

.svc__industries-header h2 {
    margin-bottom: var(--space-16);
}

.svc__industries-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

/* Force 2×2 layout for who-we-build-for grid */
.svc__industries .card-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 860px;
    margin: 0 auto;
}

/* Intake Engine — What Is It */
.svc__what-is-it {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__what-is-it-inner {
    max-width: 800px;
    margin: 0 auto;
}

.svc__what-is-it-inner h2 {
    margin-bottom: var(--space-24);
}

.svc__what-is-it-inner p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-16);
}

.svc__what-is-it-inner p:last-of-type {
    margin-bottom: 0;
}

.svc__what-is-it-list {
    margin: var(--space-24) 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc__what-is-it-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 16px;
}

.svc__what-is-it-list li i {
    color: var(--color-yellow);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Intake Engine — Pricing Tiers */
.svc__pricing {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__pricing-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-64);
}

.svc__pricing-header h2 {
    margin-bottom: var(--space-16);
}

.svc__pricing-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

.svc__pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-24);
    align-items: start;
}

.svc__pricing-card {
    background: var(--color-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-48) var(--space-32);
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.svc__pricing-card:hover {
    border-color: rgba(254, 231, 0, 0.2);
}

.svc__pricing-card--featured {
    border-color: rgba(254, 231, 0, 0.35);
    box-shadow: var(--shadow-glow-yellow), inset 0 0 30px rgba(42, 0, 80, 0.12);
    animation: borderPulse 3s ease-in-out infinite;
}

.svc__pricing-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(254, 231, 0, 0.08);
    border: 1px solid rgba(254, 231, 0, 0.2);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.svc__pricing-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.2;
    margin: 0;
}

.svc__pricing-price {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-yellow);
    line-height: 1;
}

.svc__pricing-delivery {
    font-size: 13px;
    color: var(--color-text-muted);
}

.svc__pricing-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: var(--space-8) 0;
}

.svc__pricing-card p {
    font-size: 15px;
    color: var(--color-text-body);
    line-height: 1.7;
    flex: 1;
    margin: 0;
}

/* Intake Engine — Rush Option */
.svc__rush {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-64) 0;
}

.svc__rush-inner {
    max-width: 720px;
    margin: 0 auto;
}

.svc__rush-inner h2 {
    margin-bottom: var(--space-16);
}

.svc__rush-inner p {
    font-size: 17px;
    color: var(--color-text-body);
    line-height: 1.8;
}

/* Intake Engine — How It Works */
.svc__how {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__how-header {
    max-width: 720px;
    margin: 0 auto var(--space-64);
}

.svc__how-header h2 {
    margin-bottom: var(--space-16);
}

.svc__how-header p {
    font-size: 17px;
    color: var(--color-text-body);
    line-height: 1.8;
}

/* Intake Engine — Platform Table */
.svc__platforms {
    background: var(--color-surface);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-96) 0;
}

.svc__platforms-header {
    margin-bottom: var(--space-48);
}

.svc__platforms-header h2 {
    margin-bottom: var(--space-16);
}

.svc__table-wrap {
    overflow-x: auto;
}

.svc__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.svc__table th {
    text-align: left;
    padding: var(--space-16) var(--space-24);
    background: var(--color-surface-raised);
    color: var(--color-white);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-bottom: 2px solid rgba(254, 231, 0, 0.25);
}

.svc__table td {
    padding: var(--space-16) var(--space-24);
    color: var(--color-text-body);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.svc__table tr:last-child td {
    border-bottom: none;
}

.svc__table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.svc__table td:first-child {
    font-weight: 600;
    color: var(--color-white);
}

/* Intake Engine — Who It's For */
.svc__who {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__who-inner {
    max-width: 800px;
    margin: 0 auto;
}

.svc__who-inner h2 {
    margin-bottom: var(--space-16);
}

.svc__who-inner > p {
    font-size: 17px;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: var(--space-32);
}

.svc__who-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.svc__who-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-16);
    color: var(--color-text-body);
    line-height: 1.7;
    padding: var(--space-16) var(--space-24);
    background: var(--color-surface);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid rgba(254, 231, 0, 0.4);
}

.svc__who-list li i {
    color: var(--color-yellow);
    margin-top: 4px;
    flex-shrink: 0;
}

/* Intake Engine — Custom Contact Form */
.svc__intake-contact {
    background: var(--color-black);
    padding: var(--space-96) 0;
}

.svc__intake-contact-header {
    margin-bottom: var(--space-48);
}

.svc__intake-contact-header h2 {
    margin-bottom: var(--space-16);
}

.svc__intake-contact-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

.svc__intake-form {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-24);
}

.svc__intake-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-24);
}

.svc__intake-form select {
    background: var(--color-surface-raised);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-size: 15px;
    color: var(--color-white);
    font-family: var(--font-base);
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc__intake-form select:focus {
    outline: none;
    border-color: rgba(254, 231, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(254, 231, 0, 0.08);
}

.svc__intake-form select option {
    background: var(--color-surface-raised);
    color: var(--color-white);
}

/* ── Responsive — Service Pages ──────────────────────────────── */

@media (max-width: 1024px) {
    .svc__pricing-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .svc__why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .svc__hero,
    .svc__problem,
    .svc__deliverables,
    .svc__process,
    .svc__connection,
    .svc__faq,
    .svc__services,
    .svc__why,
    .svc__pricing,
    .svc__rush,
    .svc__how,
    .svc__platforms,
    .svc__who,
    .svc__intake-contact,
    .svc__industries,
    .svc__what-is-it {
        padding: var(--space-64) 0;
    }

    /* Timeline: collapse to simple vertical stack */
    .svc__process-steps {
        padding-left: 56px;
    }

    .svc__process-steps::before {
        left: 17px;
    }

    .svc__step-num {
        left: -56px;
        width: 36px;
        height: 36px;
        font-size: 11px;
    }

    .svc__process-steps::before {
        left: 17px;
        top: 18px;
        bottom: 18px;
    }

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

    .svc__industries .card-grid {
        grid-template-columns: 1fr;
    }

    .svc__intake-form-row {
        grid-template-columns: 1fr;
    }

    .svc__hero-sub {
        font-size: 16px;
    }
}

/* ── 27. Who We Help Pages ──────────────────────────────────── */

/* Remove default main padding so hero glow starts flush at top */
.who-we-help {
    padding: 0;
}

/* Center all constrained-width content blocks */
.wwh__who-content,
.wwh__problem-content,
.wwh__why-content,
.wwh__system-content,
.wwh__solution-content {
    margin-left: auto;
    margin-right: auto;
}

/* Typography spacing — text-content blocks (label + h2 + paragraphs) */
.wwh__who-content .label-text,
.wwh__problem-content .label-text,
.wwh__why-content .label-text,
.wwh__system-content .label-text,
.wwh__solution-content .label-text {
    margin-bottom: var(--space-8);
}

.wwh__who-content h2,
.wwh__problem-content h2,
.wwh__why-content h2,
.wwh__system-content h2,
.wwh__solution-content h2 {
    margin-bottom: var(--space-24);
}

.wwh__who-content p,
.wwh__problem-content p,
.wwh__why-content p,
.wwh__system-content p,
.wwh__solution-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: var(--space-16);
}

.wwh__who-content p:last-child,
.wwh__problem-content p:last-child,
.wwh__why-content p:last-child,
.wwh__system-content p:last-child,
.wwh__solution-content p:last-child {
    margin-bottom: 0;
}

/* Typography spacing — section headers (label + h2 + optional intro p, precede card grids) */
.wwh__services-header .label-text,
.wwh__why-header .label-text,
.wwh__process-header .label-text {
    margin-bottom: var(--space-8);
}

.wwh__services-header h2,
.wwh__why-header h2,
.wwh__process-header h2 {
    margin-bottom: var(--space-16);
}

.wwh__services-header p,
.wwh__why-header p,
.wwh__process-header p {
    font-size: 17px;
    color: var(--color-text-body);
}

/* Hero */
.wwh__hero {
    padding: var(--space-96) 0;
    overflow: hidden;
}

.wwh__hero-label {
    opacity: 0;
    animation: fadeUp 0.4s ease-out forwards;
    margin-bottom: var(--space-16);
}

.wwh__hero-headline {
    margin-bottom: var(--space-24);
}

.wwh__hero-headline .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    animation: wordReveal 0.4s ease-out forwards;
}

.wwh__hero-headline .word:nth-child(1)  { animation-delay: 0.05s; }
.wwh__hero-headline .word:nth-child(2)  { animation-delay: 0.15s; }
.wwh__hero-headline .word:nth-child(3)  { animation-delay: 0.25s; }
.wwh__hero-headline .word:nth-child(4)  { animation-delay: 0.35s; }
.wwh__hero-headline .word:nth-child(5)  { animation-delay: 0.45s; }
.wwh__hero-headline .word:nth-child(6)  { animation-delay: 0.55s; }
.wwh__hero-headline .word:nth-child(7)  { animation-delay: 0.65s; }
.wwh__hero-headline .word:nth-child(8)  { animation-delay: 0.72s; }
.wwh__hero-headline .word:nth-child(9)  { animation-delay: 0.79s; }

.wwh__hero-sub {
    font-size: 18px;
    color: var(--color-text-body);
    max-width: 640px;
    margin-bottom: var(--space-24);
    opacity: 0;
    animation: fadeUp 0.6s ease-out 0.85s forwards;
}

.wwh__hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-16);
    opacity: 0;
    animation: fadeUp 0.5s ease-out 1.0s forwards;
}

@media (max-width: 768px) {
    .wwh__hero {
        padding: var(--space-64) 0;
    }

    .wwh__hero-sub {
        font-size: 16px;
    }
}
