@charset "utf-8";

.adscene-home,
.adscene-home * { box-sizing: border-box; }
.adscene-home { overflow: hidden; background: #fff; color: #64748b; }
.adscene-home a { color: inherit; text-decoration: none; }
.home-shell { width: min(calc(100% - 40px), 1280px); margin: 0 auto; }
.home-section { padding: 104px 0; }
.home-section-header { max-width: 760px; margin-bottom: 48px; }
.home-section-label,
.home-eyebrow { margin: 0 0 14px; color: #0284c7; font-size: 14px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; }
.home-section-header h2,
.home-final-cta h2 { margin: 0; color: #0f172a; font-size: clamp(30px, 3.3vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1.22; word-break: keep-all; }
.home-section-header > p:last-child { max-width: 680px; margin: 20px 0 0; font-size: 18px; line-height: 1.75; word-break: keep-all; }

/* Hero */
.home-hero { position: relative; background: #f8fafc; }
.home-hero::before { position: absolute; top: 0; right: 0; width: 35%; height: 100%; background: #e0f2fe; content: ""; opacity: .42; }
.home-hero-layout { position: relative; display: grid; grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr); align-items: center; gap: clamp(42px, 6vw, 88px); min-height: 680px; padding: 72px 0; }
.home-hero-copy { position: relative; z-index: 1; }
.home-eyebrow { margin-bottom: 20px; }
.home-hero h1 { margin: 0; color: #0f172a; font-size: clamp(43px, 4.7vw, 68px); font-weight: 700; letter-spacing: -.055em; line-height: 1.13; word-break: keep-all; }
.home-hero h1 span { display: inline-block; margin-top: 8px; color: #0ea5e9; letter-spacing: -.035em; }
.home-hero-description { margin: 28px 0 0; color: #475569; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.7; word-break: keep-all; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.home-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 13px 25px; border: 1px solid transparent; border-radius: 8px; font-size: 16px; font-weight: 700; line-height: 1.4; transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease; }
.home-button-primary { background: #0ea5e9; color: #fff !important; }
.home-button-primary:hover { background: #0369a1; }
.home-button-secondary { border-color: #cbd5e1; background: #fff; color: #334155 !important; }
.home-button-secondary:hover { border-color: #0ea5e9; color: #0369a1 !important; }
.home-button:focus-visible,
.home-service-link:focus-visible,
.home-featured-card-link:focus-visible,
.home-featured-all:focus-visible,
.home-project-link:focus-visible,
.home-project-empty a:focus-visible { outline: 3px solid #0ea5e9; outline-offset: 4px; }
.home-hero-note { margin: 20px 0 0; color: #64748b; font-size: 14px; line-height: 1.65; }
.home-hero-visual { position: relative; z-index: 1; margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 1.18 / 1; background: #e2e8f0; box-shadow: 0 28px 60px rgba(15, 23, 42, .12); }
.home-hero-visual::after { position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .55); content: ""; pointer-events: none; }
.home-hero-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 69% center; }

/* Services */
.home-services { background: #fff; scroll-margin-top: 80px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-service-card { min-width: 0; }
.home-service-link { position: relative; display: flex; min-height: 100%; flex-direction: column; padding: 34px; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.home-service-link:hover { border-color: #7dd3fc; box-shadow: 0 20px 45px rgba(15, 23, 42, .08); transform: translateY(-4px); }
.home-service-number { position: absolute; top: 26px; right: 28px; color: #cbd5e1; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.home-service-icon { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; margin-bottom: 28px; background: #e0f2fe; color: #0369a1; }
.home-service-icon svg { width: 28px; height: 28px; }
.home-service-card h3 { margin: 0; color: #0f172a; font-size: 25px; font-weight: 700; letter-spacing: -.03em; }
.home-service-card p { margin: 16px 0 30px; color: #64748b; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.home-card-action { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #0369a1; font-size: 15px; font-weight: 700; }
.home-card-action span { transition: transform .18s ease; }
.home-service-link:hover .home-card-action span,
.home-project-link:hover .home-card-action span { transform: translateX(4px); }

/* Process */
.home-process { background: #f8fafc; }
.home-process-list { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; margin: 0; padding: 0; list-style: none; }
.home-process-list::before { position: absolute; top: 30px; left: 9%; right: 9%; height: 1px; background: #bae6fd; content: ""; }
.home-process-list li { position: relative; min-width: 0; }
.home-process-number { position: relative; z-index: 1; display: inline-flex; width: 62px; height: 62px; align-items: center; justify-content: center; margin-bottom: 26px; border: 1px solid #7dd3fc; background: #fff; color: #0369a1; font-size: 16px; font-weight: 800; letter-spacing: .06em; }
.home-process-list h3 { margin: 0; color: #0f172a; font-size: 23px; font-weight: 700; letter-spacing: -.025em; }
.home-process-list p { max-width: 340px; margin: 14px 0 0; font-size: 16px; line-height: 1.75; word-break: keep-all; }

/* Featured projects */
.home-featured-projects { background: #0f172a; color: #cbd5e1; }
.home-featured-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.home-featured-header > div { max-width: 760px; }
.home-featured-header .home-section-label { color: #7dd3fc; }
.home-featured-header h2 { margin: 0; color: #fff; font-size: clamp(30px, 3.3vw, 48px); font-weight: 700; letter-spacing: -.04em; line-height: 1.22; word-break: keep-all; }
.home-featured-header p:last-child { margin: 18px 0 0; color: #94a3b8; font-size: 17px; line-height: 1.7; word-break: keep-all; }
.home-featured-all { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid #38bdf8; color: #e0f2fe !important; font-size: 15px; font-weight: 700; }
.home-featured-all span { transition: transform .18s ease; }
.home-featured-all:hover span { transform: translateX(4px); }
.home-featured-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.home-featured-card { min-width: 0; overflow: hidden; background: #fff; }
.home-featured-card-link { display: flex; height: 100%; flex-direction: column; }
.home-featured-media { display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #1e293b; }
.home-featured-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-featured-card-link:hover .home-featured-media img { transform: scale(1.025); }
.home-featured-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 7px; background: #e0f2fe; color: #0369a1; letter-spacing: .09em; }
.home-featured-placeholder strong { color: #e11d48; font-size: 28px; }
.home-featured-placeholder span { font-size: 15px; font-weight: 800; }
.home-featured-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.home-featured-meta { display: flex; min-height: 20px; flex-wrap: wrap; align-items: center; gap: 7px; margin-bottom: 12px; color: #0284c7; font-size: 12px; font-weight: 700; }
.home-featured-meta span + span::before { margin-right: 7px; color: #cbd5e1; content: "/"; }
.home-featured-body h3 { display: -webkit-box; overflow: hidden; margin: 0; color: #0f172a; font-size: 21px; font-weight: 700; letter-spacing: -.025em; line-height: 1.45; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-featured-summary { display: -webkit-box; overflow: hidden; margin: 12px 0 24px; color: #64748b; font-size: 15px; line-height: 1.7; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-featured-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.home-featured-actor { display: inline-flex; align-items: center; min-height: 27px; padding: 5px 9px; background: #e0f2fe; color: #0369a1; font-size: 11px; font-weight: 700; line-height: 1.3; }
.home-featured-actor.is-partner { background: #f1f5f9; color: #475569; }
.home-featured-actor.is-joint { background: #ecfeff; color: #0e7490; }
.home-featured-more { flex: 0 0 auto; color: #0369a1; font-size: 13px; font-weight: 700; }
.home-featured-more span { display: inline-block; margin-left: 4px; transition: transform .18s ease; }
.home-featured-card-link:hover .home-featured-more span { transform: translateX(3px); }

/* Projects */
.home-projects { background: #fff; }
.home-projects-header { margin-bottom: 42px; }
.home-project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; margin: 0; padding: 0; list-style: none; }
.home-project-card { min-width: 0; overflow: hidden; border: 1px solid #e2e8f0; background: #fff; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.home-project-card:hover { border-color: #bae6fd; box-shadow: 0 18px 42px rgba(15, 23, 42, .08); transform: translateY(-3px); }
.home-project-link { display: flex; height: 100%; flex-direction: column; }
.home-project-media { display: block; overflow: hidden; aspect-ratio: 16 / 9; background: #e0f2fe; }
.home-project-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.home-project-link:hover .home-project-media img { transform: scale(1.025); }
.home-project-placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; gap: 7px; background: #e0f2fe; color: #0369a1; letter-spacing: .08em; }
.home-project-placeholder strong { color: #e11d48; font-size: 27px; }
.home-project-placeholder span { font-size: 20px; font-weight: 700; }
.home-project-placeholder-influencer { background: #f8fafc; }
.home-project-placeholder-drama { background: #e2e8f0; }
.home-project-body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.home-project-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #0284c7; font-size: 13px; font-weight: 700; }
.home-project-notice { padding: 3px 7px; background: #e0f2fe; color: #0369a1; font-size: 11px; }
.home-project-title { display: -webkit-box; overflow: hidden; color: #0f172a; font-size: 20px; font-weight: 700; letter-spacing: -.025em; line-height: 1.45; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-project-description { display: -webkit-box; overflow: hidden; margin: 12px 0 23px; color: #64748b; font-size: 15px; line-height: 1.7; word-break: keep-all; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-project-empty { padding: 60px 24px; border: 1px solid #e2e8f0; background: #f8fafc; text-align: center; }
.home-project-empty > span { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; background: #e0f2fe; color: #e11d48; font-weight: 800; }
.home-project-empty h3 { margin: 18px 0 0; color: #0f172a; font-size: 22px; }
.home-project-empty p { margin: 8px 0 20px; }
.home-project-empty div { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.home-project-empty a { padding: 8px 13px; border: 1px solid #bae6fd; background: #fff; color: #0369a1; font-size: 14px; font-weight: 700; }

/* Final CTA */
.home-final-cta { padding: 80px 0; background: #0369a1; color: #dbeafe; }
.home-final-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; }
.home-final-cta .home-section-label { color: #bae6fd; }
.home-final-cta h2 { color: #fff; font-size: clamp(30px, 3vw, 44px); }
.home-final-cta-inner > div > p:last-child { margin: 18px 0 0; font-size: 17px; line-height: 1.7; word-break: keep-all; }
.home-final-cta-action { min-width: 240px; text-align: center; }
.home-button-light { min-width: 210px; background: #fff; color: #075985 !important; }
.home-button-light:hover { background: #e0f2fe; }
.home-final-cta-action p { margin: 12px 0 0; color: #bae6fd; font-size: 13px; }

@media (max-width: 1023px) {
    .home-section { padding: 84px 0; }
    .home-hero-layout { grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: 36px; min-height: 610px; }
    .home-hero h1 { font-size: clamp(40px, 5.6vw, 56px); }
    .home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-service-card:last-child { grid-column: 1 / -1; }
    .home-service-card:last-child .home-service-link { min-height: auto; }
    .home-featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-process-list { gap: 32px; }
}

@media (max-width: 767px) {
    .home-shell { width: min(calc(100% - 32px), 640px); }
    .home-section { padding: 68px 0; }
    .home-section-header { margin-bottom: 34px; }
    .home-section-header h2,
    .home-final-cta h2 { font-size: clamp(29px, 8vw, 38px); }
    .home-section-header > p:last-child { margin-top: 16px; font-size: 16px; line-height: 1.7; }
    .home-hero::before { width: 100%; height: 34%; top: auto; bottom: 0; }
    .home-hero-layout { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 38px; padding: 58px 0 48px; }
    .home-hero h1 { font-size: clamp(38px, 11vw, 51px); line-height: 1.16; }
    .home-hero-description { margin-top: 22px; font-size: 18px; }
    .home-desktop-break { display: none; }
    .home-hero-actions { margin-top: 30px; }
    .home-hero-visual { width: 100%; max-height: 360px; aspect-ratio: 1.48 / 1; }
    .home-hero-visual img { object-position: 72% center; }
    .home-service-grid,
    .home-project-grid { grid-template-columns: 1fr; }
    .home-service-card:last-child { grid-column: auto; }
    .home-service-link { padding: 28px; }
    .home-process-list { display: flex; flex-direction: column; gap: 0; }
    .home-process-list::before { top: 31px; bottom: 31px; left: 30px; right: auto; width: 1px; height: auto; }
    .home-process-list li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 22px; padding-bottom: 38px; }
    .home-process-list li:last-child { padding-bottom: 0; }
    .home-process-number { margin: 0; }
    .home-process-list h3 { padding-top: 3px; font-size: 21px; }
    .home-process-list p { margin-top: 9px; }
    .home-featured-header { display: block; margin-bottom: 32px; }
    .home-featured-all { margin-top: 20px; }
    .home-featured-grid { grid-template-columns: 1fr; }
    .home-featured-body { padding: 22px; }
    .home-project-body { padding: 22px; }
    .home-final-cta { padding: 64px 0; }
    .home-final-cta-inner { grid-template-columns: 1fr; gap: 30px; }
    .home-final-cta-action { min-width: 0; text-align: left; }
}

@media (max-width: 399px) {
    .home-shell { width: calc(100% - 28px); }
    .home-hero-layout { padding-top: 48px; }
    .home-hero h1 { font-size: clamp(34px, 10.7vw, 42px); }
    .home-hero-actions { flex-direction: column; }
    .home-button { width: 100%; }
    .home-service-link { padding: 24px; }
    .home-process-list li { gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
    .adscene-home *,
    .adscene-home *::before,
    .adscene-home *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
