:root {
    --brand: #455764;
    --accent: #2f78e8;
    --mint: #2fce9a;
    --paper: #f6f6f6;
    --white: #fff;
    --ink: #455764;
    --muted: #6d7a86;
    --line: #e4e8ec;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
    font-family: "HK Grotesk", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-head {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
    gap: 12px 28px;
    padding: 14px 24px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.site-head .site-nav { justify-content: center; }
.logo { font-weight: 800; letter-spacing: .12em; color: var(--brand); display: inline-flex; align-items: center; }
.logo img { height: 28px; width: auto; display: block; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.site-nav a {
    color: var(--brand); font-size: 14px;
    padding: 7px 12px; border-radius: 999px;
    transition: background .15s ease, color .15s ease;
}
.site-nav a.on,
.site-nav a.is-here {
    font-weight: 700;
    background: rgba(69, 87, 100, 0.11);
}
.site-nav .cta {
    background: var(--brand); color: #fff; padding: 8px 14px;
}
.site-nav a.cta.on,
.site-nav a.cta.is-here {
    background: var(--brand);
    box-shadow: 0 0 0 2px rgba(47, 120, 232, 0.45);
}
.nav-toggle { display: none; }
.hero { position: relative; min-height: min(78vh, 760px); background: var(--brand); color: #fff; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; pointer-events: none;
    background: var(--brand) center/cover no-repeat;
    transition: opacity .6s ease;
}
.hero-slide[style*="--hero-image"] {
    background-image: linear-gradient(180deg, rgba(69,87,100,.35), rgba(69,87,100,.82)), var(--hero-image);
}
.hero-slide.is-on { opacity: 1; pointer-events: auto; position: relative; min-height: min(78vh, 760px); }
.hero-copy { width: min(720px, calc(100% - 48px)); margin: 0 auto; padding: 18vh 0 12vh; }
.hero-copy h1 { font-size: clamp(2.2rem, 6vw, 4.4rem); line-height: 1.05; margin: 0 0 12px; }
.hero-tags {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 0 0 16px; max-width: min(100%, 640px);
}
.hero-tag {
    display: inline-flex; align-items: center;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    padding: 6px 12px;
    font-size: 12px; font-weight: 700; letter-spacing: .02em;
    line-height: 1.2;
    color: #fff;
    backdrop-filter: blur(6px);
}
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: 12px; margin: 0 0 10px; color: var(--muted); }
.hero .eyebrow { color: #d7e0e6; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.hero-nav {
    position: absolute; left: 0; right: 0; bottom: 24px;
    display: flex; justify-content: center; align-items: center; gap: 12px;
}
.hero-nav button, .hero-dots button {
    background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4);
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
}
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; }
.hero-dots button.on { background: #fff; }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--accent); color: #fff; border: 0; border-radius: 999px;
    padding: 10px 18px; font: inherit; cursor: pointer;
}
.btn.ghost { background: transparent; color: inherit; border: 1px solid currentColor; }
.hero .btn.ghost, .contact-band .btn { border-color: #fff; }
.band { padding: 72px 0; }
.band.alt { background: var(--paper); }
.section-head { display: flex; justify-content: space-between; gap: 16px; align-items: end; margin-bottom: 28px; }
.section-head h2, .page-hero h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); }
.split-intro { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.studio-brand { margin: 0 0 12px; }
.studio-brand img { height: 48px; width: auto; display: block; }
.studio-badges { text-align: center; }
.studio-badges img { display: block; width: min(100%, 420px); height: auto; margin: 0 auto; }
.studio-badge-links { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.studio-badge-links a { color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--muted); }
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.service-grid-3 { grid-template-columns: repeat(3, 1fr); }
.service-grid-4 { grid-template-columns: repeat(4, 1fr); }
.service-grid li { background: var(--white); border: 1px solid var(--line); padding: 24px 20px; border-radius: 16px; }
.service-grid li:nth-child(even) { background: var(--paper); }
.service-grid li h3 { margin: 0 0 10px; font-size: 1.35rem; font-weight: 700; color: var(--ink); }
.service-grid li p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.work-grid--media { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-card {
    display: flex; flex-direction: column; gap: 8px; color: inherit; background: #fff;
    border: 1px solid var(--line); border-radius: 16px; overflow: hidden; min-height: 100%;
}
.work-card.static { cursor: default; pointer-events: none; }
.work-card.is-bare { gap: 0; }
.work-card.is-bare .thumb { margin: 0; }
.work-card.is-partner .thumb {
    aspect-ratio: 16 / 10;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.work-card.is-partner .thumb img {
    position: static;
    width: auto;
    height: auto;
    max-width: 78%;
    max-height: 70%;
    object-fit: contain;
}
.work-card .thumb {
    aspect-ratio: 16 / 10;
    background: #111;
    overflow: hidden;
    display: block;
    position: relative;
    width: 100%;
}
.work-card .thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.work-card strong, .work-card span { padding: 0 14px; }
.work-card span { color: var(--muted); font-size: 14px; padding-bottom: 14px; }
.page-back { padding: 20px 0 0; }
.page-back .wrap { display: block; }
.page-back.is-inline { padding: 0 0 16px; }
.page-back .btn { font-size: 14px; }
.partner-rail-title {
    margin: 8px 0 14px;
    font-size: 1rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.partner-rail-title + .rail { margin-bottom: 28px; }
.logo-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.logo-row.dense { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.media-logos, .awards-logos {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}
.media-logos .logo-card,
.awards-logos .logo-card {
    min-height: 140px;
    padding: 20px;
}
.media-logos .logo-card img,
.awards-logos .logo-card img {
    max-height: 96px;
}
.logo-row.partners-logos,
.logo-row.dense.partners-logos {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}
.partners-logos .logo-card { min-height: 150px; padding: 22px; }
.partners-logos .logo-card img { max-height: 110px; max-width: 100%; width: auto; }
.media-report-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    align-items: start;
    justify-content: space-between;
}
.media-report-item {
    margin: 0;
    overflow: hidden;
}
.media-report-item img {
    width: 100%;
    max-width: 300px;
    height: 150px;
    object-fit: cover;
    display: block;
}
.media-slideshow {
    position: relative;
    background: #e8eef2;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}
.media-slideshow-stage {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #111;
}
.media-slideshow-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .5s ease;
    display: grid;
    place-items: center;
    background: #111;
    color: inherit;
}
.media-slideshow-slide.is-on {
    opacity: 1;
    pointer-events: auto;
}
.media-slideshow-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-slideshow-slide.is-logo {
    background: #fff;
    padding: 8%;
}
.media-slideshow-slide.is-logo img {
    width: auto;
    height: auto;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}
.media-slideshow-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border-top: 1px solid var(--line);
}
.media-slideshow-nav button {
    background: transparent;
    color: var(--brand);
    border: 1px solid var(--line);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font: inherit;
}
.media-slideshow-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; max-width: 70%; }
.media-slideshow-dots button { width: 8px; height: 8px; padding: 0; }
.media-slideshow-dots button.on { background: var(--brand); border-color: var(--brand); }
@media (max-width: 840px) {
    .work-grid--media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .media-report-grid { grid-template-columns: 1fr; }
    .media-report-item img { max-width: none; height: auto; aspect-ratio: 2 / 1; }
    .media-slideshow-stage { aspect-ratio: 4 / 3; }
}
.logo-card {
    min-height: 92px; display: grid; place-items: center; background: #fff;
    border: 1px solid var(--line); border-radius: 14px; padding: 12px; color: inherit; text-align: center;
}
.logo-card img { max-height: 56px; width: auto; margin: 0 auto; }
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.social-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; color: inherit; }
.social-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.social-card p { margin: 0; padding: 8px 12px; }
.social-card .platform { color: var(--accent); font-size: 12px; letter-spacing: .12em; }
.social-scroll-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}
#updates { scroll-margin-top: 80px; }
.social-scroll-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    max-height: min(720px, 80vh);
}
.social-scroll-label {
    margin: 0;
    padding: 14px 16px;
    font-size: 0.95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
}
.social-scroll-label a {
    color: inherit;
    text-decoration: none;
}
.social-scroll-label a:hover { color: var(--accent); }
.social-scroll-body {
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    -webkit-overflow-scrolling: touch;
    flex: 1;
}
.social-embed-frame {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    width: 100%;
    max-width: 500px;
    flex: 0 0 auto;
}
.social-embed-iframe {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    border: 0;
}
.social-embed-iframe.is-ig { max-width: 100%; height: 680px; min-height: 680px; }
.social-embed-iframe.is-fb { height: 680px; min-height: 680px; }
.contact-band { background: var(--brand); color: #fff; }
.contact-band .lede { color: #d7e0e6; }
.contact-band a { color: #fff; }
.contact-band h3 { margin: 0 0 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.contact-band .contact-list { margin-top: 28px; }
.page-hero { padding: 64px 0 12px; }
.case { padding: 48px 0 80px; }
.case-cover, .video { width: 100%; border-radius: 18px; overflow: hidden; margin: 24px 0; background: #111; }
.case-cover-link { display: block; }
.case-cover-link .case-cover { margin-bottom: 0; }
.case-cover { display: block; width: 100%; height: auto; object-fit: cover; max-height: 480px; }
.video-play { position: relative; display: block; width: 100%; border: 0; padding: 0; cursor: pointer; background: #111; }
.video-play img { width: 100%; opacity: .85; }
.video-play span {
    position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; border-radius: 50%;
    display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700;
}
.journey-tagline {
    margin: 12px 0 0;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
}
.journey-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
    border-left: 2px solid var(--line);
}
.journey-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 20px;
    padding: 0 0 36px 28px;
    position: relative;
}
.journey-item::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--brand);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--line);
}
.journey-year {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand);
    line-height: 1.2;
}
.journey-copy { min-width: 0; }
.journey-zh { margin: 0 0 10px; font-size: 1.05rem; line-height: 1.55; }
.journey-en { margin: 0; color: var(--muted); line-height: 1.55; }
.contact-list { display: flex; flex-direction: column; gap: 28px; }
.contact-list__channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}
.contact-list__address { width: 100%; }
.contact-address-block h3 { margin-bottom: 12px; }
.contact-address-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px 40px;
}
.contact-sublabel {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-band .contact-sublabel,
.contact-band .contact-office-name {
    color: #fff;
    opacity: 0.95;
}
.contact-office { margin-bottom: 12px; }
.contact-office:last-child { margin-bottom: 0; }
.contact-office-name { margin: 0 0 4px; font-weight: 700; color: var(--ink); }
.contact-map-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-map-link:hover { color: var(--accent); }
.contact-band .contact-map-link { color: #fff; }
.contact-band .contact-map-link:hover { opacity: 0.85; }
.more-wrap { text-align: center; margin-top: 28px; }
.text-link { font-weight: 700; }
.site-foot {
    padding: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px;
    text-align: center;
}
.site-foot p { margin: 0; }
@media (max-width: 1024px) {
    .service-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
    .split-intro { grid-template-columns: 1fr; }
    .service-grid-3,
    .service-grid-4 { grid-template-columns: 1fr; }
    .social-scroll-pair { grid-template-columns: 1fr; }
    /* Facebook embeds often fail on mobile; show Instagram first. */
    .social-scroll-box--ig { order: -1; }
    .social-scroll-box--fb { order: 0; }
    .social-scroll-box { max-height: min(640px, 75vh); }
    .journey-item { grid-template-columns: 1fr; gap: 8px; }
    .site-head { justify-content: space-between; flex-wrap: nowrap; }
    .site-head .site-nav { justify-content: flex-start; }
    .nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; margin-left: auto; }
    .site-nav { display: none; position: absolute; top: 58px; left: 0; right: 0; background: #fff; padding: 16px 24px 24px; flex-direction: column; align-items: flex-start; }
    .site-nav.open { display: flex; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide { transition: none; }
}
