/* ============================================================
   HOMEPAGE-SPECIFIC STYLES
   ============================================================ */

/* ====================================================
   HERO
   ==================================================== */
.hero {
    padding: 60px 0 100px;
    position: relative;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 12px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 36px;
}
.hero-eyebrow .pulse {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--yellow-deep);
    position: relative;
}
.hero-eyebrow .pulse::before {
    content: '';
    position: absolute; inset: -3px;
    border-radius: 50%;
    background: var(--yellow-deep);
    opacity: 0.35;
    animation: ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes ping {
    0% { transform: scale(1); opacity: 0.4; }
    75%, 100% { transform: scale(2.5); opacity: 0; }
}
.hero-eyebrow .divider {
    width: 28px; height: 1px;
    background: var(--ink); opacity: 0.4;
}

.hero h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(40px, 6.2vw, 84px);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.035em;
    color: var(--ink);
    margin-bottom: 32px;
}
.hero h1 em {
    font-style: italic;
    color: var(--yellow-deep);
    font-weight: 400;
}
.hero h1 .ink-highlight {
    position: relative;
    display: inline-block;
    isolation: isolate;
}
.hero h1 .ink-highlight::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: -4px; right: -4px;
    bottom: 0.06em;
    height: 0.32em;
    background: var(--yellow);
    transform: skewX(-10deg);
}

.hero-sub {
    font-size: 19px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 40px;
}
.hero-sub b { color: var(--ink); font-weight: 600; }

.hero-cta-row {
    display: flex; gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-visual-wrap {
    position: relative;
    aspect-ratio: 4/5;
}
.hero-visual {
    position: absolute; inset: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #ddd;
    will-change: transform;
}
.hero-visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 1.4s var(--ease-out);
}
.hero-visual:hover img { transform: scale(1.03); }
.hero-visual::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}
.hero-visual-tag {
    position: absolute; top: 24px; left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--ink);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 11px; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    z-index: 3;
    display: inline-flex; align-items: center; gap: 8px;
}
.hero-visual-tag .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--yellow-deep);
}
.hero-visual-name {
    position: absolute; left: 28px; bottom: 28px; right: 28px;
    color: white; z-index: 3;
}
.hero-visual-name .role {
    font-size: 11px; color: var(--yellow);
    letter-spacing: 2px; text-transform: uppercase;
    font-weight: 600; margin-bottom: 4px;
}
.hero-visual-name .name {
    font-family: 'Fraunces', serif;
    font-size: 30px; font-weight: 400;
    letter-spacing: -0.02em; line-height: 1;
}
.hero-floating-card {
    position: absolute;
    bottom: -28px; right: -20px;
    background: var(--yellow);
    color: var(--ink);
    padding: 18px 22px;
    border-radius: 14px;
    z-index: 4;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
    transform: rotate(-3deg);
    transition: transform 0.4s var(--ease-out);
    max-width: 240px;
}
.hero-floating-card:hover { transform: rotate(0deg) translateY(-2px); }
.hero-floating-card .num {
    font-family: 'Fraunces', serif;
    font-size: 22px; font-weight: 500;
    line-height: 1; margin-bottom: 4px;
}
.hero-floating-card .label {
    font-size: 11px; opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1px; font-weight: 600;
}

/* ====================================================
   JOURNEY / LEGACY
   ==================================================== */
.journey-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}
.journey-photo-stack {
    position: relative;
    aspect-ratio: 4/5;
    position: sticky;
    top: 110px;
}
.journey-photo-main {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}
.journey-photo-main img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.journey-photo-secondary {
    position: absolute;
    width: 45%; aspect-ratio: 3/4;
    bottom: -30px; right: -30px;
    border-radius: 14px;
    overflow: hidden;
    border: 6px solid var(--bg-elev);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    z-index: 2;
    transform: rotate(3deg);
    transition: transform 0.5s var(--ease-out);
}
.journey-photo-secondary:hover { transform: rotate(0deg) scale(1.05); }
.journey-photo-secondary img {
    width: 100%; height: 100%; object-fit: cover;
}
.journey-badge-floating {
    position: absolute;
    top: 24px; left: -20px;
    background: var(--ink); color: white;
    padding: 14px 18px;
    border-radius: 12px;
    z-index: 3;
    transform: rotate(-2deg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.journey-badge-floating b {
    font-family: 'Fraunces', serif;
    color: var(--yellow);
    font-size: 22px; font-weight: 500;
    display: block; line-height: 1;
}
.journey-badge-floating span {
    font-size: 10px; opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.timeline {
    border-left: 2px solid var(--line);
    padding-left: 36px;
    position: relative;
}
.timeline-item {
    position: relative;
    padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -44px;
    top: 8px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--bg-elev);
    border: 3px solid var(--yellow);
    z-index: 2;
}
.timeline-item::after {
    content: '';
    position: absolute;
    left: -42px;
    top: 6px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.3;
    animation: timeline-pulse 2.5s ease-in-out infinite;
}
@keyframes timeline-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.8); opacity: 0; }
}
.timeline-year {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--yellow-deep);
    line-height: 1;
    margin-bottom: 8px;
}
.timeline-content h5 {
    font-family: 'Fraunces', serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}
.timeline-content p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
}

/* ====================================================
   SERVICES GRID
   ==================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 60px;
}
.service-card {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 40px 32px;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    display: block;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: var(--yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}
.service-card:hover {
    border-color: var(--ink);
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.08);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
    width: 56px; height: 56px;
    background: var(--ink);
    color: var(--yellow);
    border-radius: 14px;
    display: flex;
    align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: all 0.3s var(--ease-out);
}
.service-card:hover .service-icon {
    background: var(--yellow);
    color: var(--ink);
    transform: rotate(-8deg) scale(1.08);
}
.service-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: -0.015em;
}
.service-card p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 20px;
}
.service-list {
    list-style: none;
    margin-bottom: 26px;
}
.service-list li {
    font-size: 13.5px;
    color: var(--ink-2);
    padding: 5px 0 5px 20px;
    position: relative;
}
.service-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 12px;
    width: 6px; height: 6px;
    background: var(--yellow);
    border-radius: 50%;
}
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    transition: gap 0.3s var(--ease-out);
}
.service-link .arr {
    color: var(--yellow-deep);
    transition: transform 0.3s var(--ease-out);
    display: inline-block;
}
.service-card:hover .service-link {
    color: var(--yellow-deep);
    gap: 14px;
}
.service-card:hover .service-link .arr {
    transform: translateX(4px);
}

/* ====================================================
   AGENCY (Search Extension)
   ==================================================== */
.agency-section {
    background: var(--yellow);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.agency-section::before {
    content: '';
    position: absolute;
    top: -150px; right: -150px;
    width: 500px; height: 500px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
}
.agency-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.agency-eyebrow {
    display: inline-block;
    background: var(--ink);
    color: var(--yellow);
    padding: 7px 14px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.agency-grid h2 {
    font-family: 'Fraunces', serif;
    font-size: clamp(34px, 4.5vw, 56px);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 22px;
}
.agency-grid h2 em { font-style: italic; }
.agency-grid > div:first-child p {
    font-size: 17px;
    color: var(--ink-2);
    margin-bottom: 24px;
    line-height: 1.6;
    max-width: 480px;
}
.agency-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}
.agency-service-pill {
    background: rgba(0, 0, 0, 0.08);
    padding: 8px 14px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink);
    transition: all 0.25s var(--ease-out);
}
.agency-service-pill:hover {
    background: var(--ink);
    color: var(--yellow);
    transform: translateY(-2px);
}
.agency-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: var(--ink);
    color: white;
    padding: 32px;
    border-radius: 18px;
}
.agency-stat b {
    font-family: 'Fraunces', serif;
    font-size: 40px;
    font-weight: 400;
    color: var(--yellow);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}
.agency-stat span {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 600;
}

/* ====================================================
   CONTENT (Podcast + YouTube)
   ==================================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 60px;
}
.content-card {
    background: var(--ink);
    color: white;
    padding: 50px 40px;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out);
    display: block;
}
.content-card:hover { transform: translateY(-8px); }
.content-card::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 214, 10, 0.15), transparent 70%);
    transition: transform 0.6s var(--ease-out);
}
.content-card:hover::before { transform: scale(1.3); }
.content-card-icon {
    width: 60px; height: 60px;
    background: var(--yellow);
    color: var(--ink);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    position: relative;
    transition: transform 0.4s var(--ease-out);
}
.content-card:hover .content-card-icon {
    transform: rotate(-8deg) scale(1.05);
}
.content-card-eyebrow {
    font-size: 11px;
    color: var(--yellow);
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 14px;
}
.content-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}
.content-card h3 em { font-style: italic; color: var(--yellow); }
.content-card p {
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
}
.content-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--yellow);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 18px;
    border: 1px solid var(--yellow);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}
.content-card:hover .content-card-link {
    background: var(--yellow);
    color: var(--ink);
}

/* ====================================================
   LEARN (compact courses section)
   ==================================================== */
.learn-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 50px;
}
.learn-head > .reveal:last-child {
    display: flex;
    justify-content: flex-end;
}
.learn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.learn-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 22px;
    transition: all 0.35s var(--ease-out);
    display: block;
}
.learn-card:hover {
    background: rgba(255, 214, 10, 0.06);
    border-color: var(--yellow);
    transform: translateY(-4px);
}
.learn-card-tag {
    display: inline-block;
    background: var(--yellow);
    color: var(--ink);
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.learn-card-tag.outline {
    background: transparent;
    color: var(--yellow);
    border: 1px solid var(--yellow);
}
.learn-card h4 {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 500;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
}
.learn-card h4 em { font-style: italic; color: var(--yellow); }
.learn-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.learn-card-meta span {
    font-size: 12px;
    color: #aaa;
}
.learn-card-meta span b {
    color: var(--yellow);
    font-weight: 600;
    margin-right: 6px;
}

/* ====================================================
   REVIEWS
   ==================================================== */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-elev);
    padding: 12px 22px;
    border-radius: 100px;
    border: 1px solid var(--line);
    margin-top: 24px;
    font-size: 13px;
    color: var(--muted);
}
.google-rating-badge i.fa-google { color: #4285F4; font-size: 16px; }
.google-rating-badge .rating {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    color: var(--ink);
    font-weight: 500;
}
.google-rating-badge .stars-g {
    color: var(--yellow-deep);
    font-size: 13px;
    letter-spacing: 2px;
}
.test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.test {
    background: var(--bg-elev);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s var(--ease-out);
}
.test:hover {
    border-color: var(--ink);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}
.test .stars {
    color: var(--yellow-deep);
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 16px;
}
.test blockquote {
    font-family: 'Fraunces', serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--ink-2);
    margin-bottom: 24px;
    flex: 1;
}
.test-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.test-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces', serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink);
}
.test-name { font-weight: 600; font-size: 14px; }
.test-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ====================================================
   RESPONSIVE
   ==================================================== */
@media (max-width: 991px) {
    .hero { padding: 40px 0 70px; }
    .hero-grid { grid-template-columns: 1fr; gap: 50px; }
    .journey-grid { grid-template-columns: 1fr; gap: 60px; }
    .journey-photo-stack { max-width: 360px; margin: 0 auto; position: relative; top: auto; }
    .services-grid { grid-template-columns: 1fr; }
    .agency-section { padding: 80px 0; }
    .agency-grid { grid-template-columns: 1fr; gap: 50px; }
    .agency-stats { grid-template-columns: repeat(2, 1fr); }
    .content-grid { grid-template-columns: 1fr; }
    .learn-head { grid-template-columns: 1fr; gap: 24px; }
    .learn-head > .reveal:last-child { justify-content: flex-start; }
    .learn-grid { grid-template-columns: repeat(2, 1fr); }
    .test-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .hero-floating-card { display: none; }
    .learn-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 28px; }
    .timeline-item::before { left: -35px; }
    .timeline-item::after { left: -33px; }
    .agency-stats { padding: 24px; }
    .agency-stat b { font-size: 32px; }
    .content-card { padding: 36px 28px; }
}
