:root {
    --ink: #111214;
    --ink-2: #1b1c1f;
    --paper: #f5f3ee;
    --paper-2: #ebe9e2;
    --white: #ffffff;
    --orange: #ee512f;
    --orange-dark: #c93b21;
    --orange-soft: #f9b29f;
    --muted: #777875;
    --line: #d8d5ce;
    --line-dark: rgba(255, 255, 255, .16);
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --font-zh: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', Arial, sans-serif;
    --container: 1200px;
    --nav-height: 78px;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow: 0 20px 60px rgba(18, 18, 18, .11);
    --ease: 220ms cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-zh);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, select, input, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.container { width: min(100% - 48px, var(--container)); margin: 0 auto; }
.eyebrow, .section-kicker, .hero-index, .metric-label, .card-index, .case-meta, .breadcrumb, .footer-label {
    font-family: var(--font-sans);
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow, .section-kicker { color: var(--orange); font-size: 12px; font-weight: 700; }
.section-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-kicker::before { content: ''; width: 32px; height: 2px; background: currentColor; }
.section-title { margin: 0; font-size: clamp(1.85rem, 3.4vw, 2.75rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.section-subtitle { max-width: 620px; color: var(--muted); margin: 16px 0 0; font-size: 1rem; line-height: 1.7; }
.section-header { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 48px; }
.section-header > div:last-child { max-width: 530px; }
.text-center { text-align: center; }
.text-center .section-kicker { justify-content: center; }
.text-center .section-subtitle { margin-inline: auto; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-dark { color: var(--white); background: var(--ink); }
.section-dark .section-title, .section-dark h3 { color: var(--white); }
.section-dark .section-subtitle { color: rgba(255,255,255,.68); }
.section-paper { background: var(--paper-2); }

/* Navigation */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    height: var(--nav-height);
    background: rgba(245, 243, 238, .88);
    border-bottom: 1px solid rgba(17, 18, 20, .09);
    backdrop-filter: blur(18px);
    transition: background var(--ease), box-shadow var(--ease);
}
.navbar.scrolled { background: rgba(245, 243, 238, .97); box-shadow: 0 8px 30px rgba(17,18,20,.06); }
.nav-container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: 212px; }
.brand-mark { position: relative; width: 31px; height: 31px; border: 2px solid currentColor; color: var(--orange); font-family: var(--font-sans); font-size: 21px; font-weight: 700; line-height: 27px; text-align: center; }
.brand-mark::after { content: ''; position: absolute; left: 5px; right: -5px; bottom: -5px; height: 2px; background: var(--orange); }
.brand-copy { display: grid; line-height: 1; gap: 5px; }
.brand-name { font-size: 17px; font-weight: 900; letter-spacing: -.06em; }
.brand-tagline { font: 8px/1 var(--font-sans); letter-spacing: .08em; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 34px); }
.nav-links a { position: relative; padding: 8px 0; color: #454642; font-size: 14px; font-weight: 700; transition: color var(--ease); }
.nav-links a::after { content: ''; position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform var(--ease); }
.nav-links a:hover, .nav-links a.active { color: var(--orange); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: flex; justify-content: end; min-width: 212px; }
.btn, .btn-contact { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 100px; cursor: pointer; font-size: 14px; font-weight: 800; transition: transform var(--ease), background var(--ease), color var(--ease), border-color var(--ease); }
.btn:hover, .btn-contact:hover { transform: translateY(-2px); }
.btn-primary, .btn-contact { color: var(--white); background: var(--orange); box-shadow: 0 8px 18px rgba(238, 81, 47, .2); }
.btn-primary:hover, .btn-contact:hover { background: var(--orange-dark); }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
.btn-ghost:hover { color: var(--orange); border-color: var(--orange); }
.btn-light { color: var(--ink); background: var(--white); }
.btn-light:hover { background: var(--orange-soft); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.4); background: transparent; }
.btn-outline-light:hover { color: var(--ink); border-color: var(--white); background: var(--white); }
.mobile-menu-btn { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: transform var(--ease), opacity var(--ease); }
.mobile-menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; min-height: 520px; padding: calc(var(--nav-height) + 40px) 0 72px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero-home { background-image: linear-gradient(90deg, rgba(17,18,20,.94) 0%, rgba(17,18,20,.76) 50%, rgba(17,18,20,.38) 100%), url('../images/generated/hero-home-brand.jpg'); background-position: center; background-size: cover; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(240px, .55fr); align-items: end; gap: 80px; min-height: 360px; }
.hero-content { max-width: 790px; }
.hero-brand-logo { display: block; width: min(280px, 60%); height: auto; margin-bottom: 24px; border-radius: 3px; }
.hero-index { display: block; margin-bottom: 24px; color: rgba(255,255,255,.56); font-size: 12px; }
.hero h1 { max-width: 780px; margin: 0; color: var(--white); font-size: clamp(2.5rem, 5vw, 4.4rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.mobile-only-break { display: none; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 590px; margin: 28px 0 0; color: rgba(255,255,255,.76); font-size: 1.05rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-side-note { align-self: end; padding: 20px 0 0 24px; border-left: 1px solid rgba(255,255,255,.32); }
.hero-side-note .hero-number { display: block; color: var(--orange); font: 700 44px/1 var(--font-sans); letter-spacing: -.08em; }
.hero-side-note p { max-width: 230px; margin: 12px 0 0; color: rgba(255,255,255,.66); font-size: .93rem; }
.hero-rule { position: absolute; right: 0; bottom: 42px; left: 0; z-index: 1; height: 1px; background: rgba(255,255,255,.2); }
.hero-rule span { display: block; width: 32%; height: 2px; background: var(--orange); }
.subpage-hero { min-height: 310px; padding: calc(var(--nav-height) + 42px) 0 54px; color: var(--white); background: linear-gradient(90deg, rgba(17,18,20,.94), rgba(17,18,20,.72)), url('../images/generated/hero-subpage-new.jpg') center / cover; }
.subpage-hero h1 { max-width: 760px; margin: 20px 0 0; color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.12; letter-spacing: -.03em; font-weight: 700; }
.subpage-hero p { max-width: 580px; margin: 24px 0 0; color: rgba(255,255,255,.68); }
.breadcrumb { color: var(--orange); font-size: 12px; font-weight: 700; }

/* Proof rail */
.metric-rail { position: relative; z-index: 2; margin-top: -1px; color: var(--white); background: var(--orange); }
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.metric { min-height: 130px; padding: 26px 28px; border-right: 1px solid rgba(255,255,255,.28); }
.metric:last-child { border-right: 0; }
.metric-value { display: block; font: 700 clamp(2rem, 4vw, 3.1rem)/1 var(--font-sans); letter-spacing: -.07em; }
.metric-label { display: block; margin-top: 10px; font-size: 11px; opacity: .78; }
.metric-note { margin: 8px 0 0; font-size: .82rem; opacity: .78; }

/* General content */
.intro-grid, .split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(42px, 7vw, 110px); }
.copy-large { margin: 24px 0 0; color: #4e504d; font-size: 1.15rem; line-height: 1.9; }
.copy { color: var(--muted); }
.copy + .copy { margin-top: 15px; }
.image-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.image-frame:hover img { transform: scale(1.03); }
.image-frame.tall { min-height: 560px; }
.image-frame.landscape { min-height: 360px; }
.image-frame .image-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--white); font-size: 12px; }
.image-caption span:last-child { color: var(--orange-soft); font-family: var(--font-sans); }
.orange-mark { display: inline-block; width: 12px; height: 12px; margin-right: 8px; border-radius: 50%; background: var(--orange); vertical-align: middle; }
.content-callout { padding: 30px; border-left: 3px solid var(--orange); background: var(--paper-2); }
.content-callout strong { display: block; margin-bottom: 8px; font-size: 1.2rem; }
.content-callout p { margin: 0; color: var(--muted); }
.stat-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.stat-line strong { display: block; font: 700 2rem/1 var(--font-sans); letter-spacing: -.07em; }
.stat-line span { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; }

/* Cards */
.grid-2, .grid-3, .grid-4, .service-grid, .resource-grid, .case-grid { display: grid; gap: 18px; }
.grid-2, .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3, .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4, .resource-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card, .resource-card, .process-card, .case-card { position: relative; padding: 30px; border: 1px solid var(--line); background: var(--paper); transition: transform var(--ease), border-color var(--ease), background var(--ease), box-shadow var(--ease); }
.service-card:hover, .resource-card:hover, .process-card:hover, .case-card:hover { transform: translateY(-6px); border-color: var(--orange); box-shadow: 0 15px 30px rgba(17,18,20,.08); }
.section-dark .service-card, .section-dark .resource-card, .section-dark .process-card { border-color: var(--line-dark); background: rgba(255,255,255,.04); }
.section-dark .service-card:hover, .section-dark .resource-card:hover, .section-dark .process-card:hover { background: rgba(238,81,47,.08); }
.card-index { display: inline-block; color: var(--orange); font-size: 12px; font-weight: 700; }
.service-card h3, .resource-card h3, .process-card h3 { margin: 26px 0 12px; font-size: 1.28rem; letter-spacing: -.04em; }
.service-card p, .resource-card p, .process-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.section-dark .service-card p, .section-dark .resource-card p, .section-dark .process-card p { color: rgba(255,255,255,.6); }
.service-card.featured { color: var(--white); border-color: var(--orange); background: var(--orange); }
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,.78); }
.service-card.featured .card-index { color: var(--white); }
.card-arrow { position: absolute; right: 28px; bottom: 26px; color: var(--orange); font: 600 20px/1 var(--font-sans); }
.featured .card-arrow { color: var(--white); }

/* Home sections */
.home-intro { padding-top: 108px; }
.home-intro .image-frame { height: 460px; }
.home-case { overflow: hidden; color: var(--white); background: var(--ink); }
.home-case .split-grid { gap: 70px; }
.home-case .section-kicker { color: var(--orange-soft); }
.home-case .section-subtitle, .home-case .copy { color: rgba(255,255,255,.64); }
.case-feature-image { position: relative; min-height: 470px; overflow: hidden; border-radius: var(--radius-lg); }
.case-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.case-feature-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65)); }
.case-feature-image .case-overlay { position: absolute; right: 24px; bottom: 22px; left: 24px; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.case-overlay strong { display: block; color: var(--white); font-size: 1.3rem; }
.case-overlay span { display: block; color: var(--orange-soft); font: 12px var(--font-sans); letter-spacing: .08em; }
.case-impact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 34px; }
.impact { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.impact strong { display: block; color: var(--white); font: 700 2.25rem/1 var(--font-sans); letter-spacing: -.08em; }
.impact span { display: block; margin-top: 8px; color: rgba(255,255,255,.55); font-size: .82rem; }
.client-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.client-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 30px 0; }
.client-list span { color: #6b6c68; font-size: 1.06rem; font-weight: 900; letter-spacing: -.04em; }
.client-list span:nth-child(odd) { color: var(--ink); }
.client-section { background: var(--paper-2); }
.client-logo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.client-logo-card { display: flex; align-items: center; justify-content: center; height: 82px; margin: 0; padding: 14px 18px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.client-logo-card:hover { border-color: var(--orange); box-shadow: 0 8px 22px rgba(17,18,20,.07); transform: translateY(-2px); }
.client-logo-card img { max-height: 38px; max-width: 85%; width: auto; height: auto; object-fit: contain; filter: grayscale(100%) opacity(.68); transition: filter var(--ease), transform var(--ease); }
.client-logo-card:hover img { filter: grayscale(0%) opacity(1); transform: scale(1.05); }
.client-note { margin: 22px 0 0; color: var(--muted); font-size: .78rem; }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.timeline::before { content: ''; position: absolute; top: 15px; right: 7%; left: 7%; height: 1px; background: var(--line); }
.timeline-item { position: relative; z-index: 1; padding-top: 48px; }
.timeline-dot { position: absolute; top: 8px; left: 0; width: 15px; height: 15px; border: 4px solid var(--paper); border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.timeline-year { color: var(--orange); font: 700 16px var(--font-sans); }
.timeline-item h3 { margin: 12px 0 10px; font-size: 1.08rem; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .9rem; }

/* Services */
.service-hero-note { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 44px; border: 1px solid var(--line-dark); background: var(--line-dark); }
.service-hero-note div { padding: 18px; background: rgba(17,18,20,.54); }
.service-hero-note strong { display: block; color: var(--white); font: 700 1.5rem var(--font-sans); }
.service-hero-note span { display: block; margin-top: 5px; color: rgba(255,255,255,.56); font-size: .8rem; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-card { min-height: 220px; border: 0; background: var(--paper); }
.process-card:not(:last-child)::after { content: '→'; position: absolute; top: 28px; right: -13px; z-index: 2; color: var(--orange); font: 700 24px var(--font-sans); }

/* Cases */
.case-card { padding: 0; overflow: hidden; }
.case-card .case-image { height: 270px; overflow: hidden; }
.case-card .case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.case-card:hover .case-image img { transform: scale(1.04); }
.case-card-body { padding: 28px; }
.case-meta { color: var(--orange); font-size: 11px; font-weight: 700; }
.case-card h3 { margin: 14px 0 10px; font-size: 1.4rem; letter-spacing: -.05em; }
.case-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.case-labels { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.case-labels span, .roadmap-tag { padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .78rem; }
.case-lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: 60px; align-items: center; }
.case-lead-image { min-height: 520px; overflow: hidden; border-radius: var(--radius-lg); }
.case-lead-image img { width: 100%; height: 100%; object-fit: cover; }
.case-gallery-section { background: var(--paper-2); }
.case-gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.case-gallery-grid figure { position: relative; min-height: 220px; margin: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--ink); }
.case-gallery-grid .case-gallery-feature { grid-column: span 6; grid-row: span 2; min-height: 458px; }
.case-gallery-grid .case-gallery-card { grid-column: span 3; }
.case-gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.case-gallery-grid figure:hover img { transform: scale(1.04); }
.case-gallery-grid figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; align-items: end; justify-content: space-between; gap: 12px; padding: 48px 16px 14px; color: var(--white); background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.case-gallery-grid figcaption strong { font-size: .96rem; }
.case-gallery-grid figcaption span { color: rgba(255,255,255,.68); font: 10px var(--font-sans); letter-spacing: .06em; text-align: right; }
.case-bullets { display: grid; gap: 17px; margin: 28px 0 0; padding: 0; list-style: none; }
.case-bullets li { position: relative; padding-left: 22px; color: var(--muted); }
.case-bullets li::before { content: ''; position: absolute; top: .8em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.case-secondary { display: grid; grid-template-columns: .8fr 1.2fr; gap: 55px; align-items: center; padding: 52px; background: var(--paper-2); }
.case-secondary-visual { position: relative; min-height: 300px; padding: 30px; overflow: hidden; color: var(--white); background: var(--ink); border-radius: var(--radius-md); }
.case-secondary-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .48; transition: transform 500ms var(--ease); }
.case-secondary-visual:hover img { transform: scale(1.04); }
.case-secondary-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.2), rgba(0,0,0,.75)); }
.case-secondary-visual strong { position: relative; z-index: 1; display: block; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -.04em; }
.case-secondary-visual span { position: absolute; right: 30px; bottom: 25px; z-index: 1; font: 700 12px var(--font-sans); letter-spacing: .12em; color: var(--orange-soft); }

/* OTT */
.resource-card strong { display: block; margin-top: 24px; color: var(--orange); font: 700 2rem/1 var(--font-sans); letter-spacing: -.08em; }
.resource-card h3 { margin-top: 8px; }
.ad-type { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 55px; align-items: center; padding: 58px 0; border-bottom: 1px solid var(--line); }
.ad-type.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.ad-type.reverse .ad-image { order: 2; }
.ad-image { position: relative; height: 370px; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink); }
.ad-badge { position: absolute; top: 16px; left: 16px; z-index: 3; padding: 6px 14px; border-radius: 100px; color: var(--white); background: rgba(17,18,20,.82); backdrop-filter: blur(10px); font: 700 11px/1 var(--font-sans); letter-spacing: .06em; border: 1px solid rgba(255,255,255,.2); }
.ad-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.ad-image:hover img { transform: scale(1.04); }
.ad-title { display: flex; align-items: center; gap: 14px; }
.ad-title .ad-number { color: var(--orange); font: 700 1.2rem var(--font-sans); }
.ad-title h3 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.4rem); letter-spacing: -.06em; }
.ad-description { margin: 20px 0 0; color: var(--muted); }
.ad-list { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .94rem; }
.ad-list li { padding-left: 20px; position: relative; }
.ad-list li::before { content: '↗'; position: absolute; left: 0; color: var(--orange); }
.roadmap-box { padding: 36px; border: 1px solid var(--line-dark); background: rgba(255,255,255,.035); }
.roadmap-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.roadmap-group { min-height: 170px; }
.roadmap-group + .roadmap-group { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.roadmap-group h3 { margin: 0; font-size: 1rem; }
.roadmap-group p { color: rgba(255,255,255,.52); font-size: .84rem; }
.roadmap-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.section-dark .roadmap-tag { color: rgba(255,255,255,.7); border-color: var(--line-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: stretch; }
.form-card, .contact-aside { padding: clamp(28px, 5vw, 56px); background: var(--white); border: 1px solid var(--line); }
.form-card h2, .contact-aside h2 { margin: 0; font-size: 2rem; letter-spacing: -.06em; }
.form-card > p, .contact-aside > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.form-group { margin-top: 18px; }
.form-label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 700; }
.form-control { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--ink); background: var(--paper); outline: none; transition: border-color var(--ease), box-shadow var(--ease); }
.form-control:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(238,81,47,.12); }
.form-control.is-invalid { border-color: var(--orange-dark); background: #fff8f5; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(201,59,33,.14); }
textarea.form-control { min-height: 126px; resize: vertical; }
.form-card .btn { width: 100%; margin-top: 22px; }
.field-error { min-height: 18px; margin: 5px 0 0; color: var(--orange-dark); font-size: .78rem; line-height: 1.35; }
.field-meta { display: flex; align-items: start; justify-content: space-between; gap: 14px; }
.character-count { flex: 0 0 auto; margin-top: 5px; color: var(--muted); font: 11px var(--font-sans); }
.form-status { min-height: 25px; margin: 14px 0 0; color: var(--orange-dark); font-size: .88rem; }
.form-status:empty { min-height: 0; margin: 0; }
.form-submit { position: relative; }
.form-submit:disabled { cursor: wait; opacity: .72; transform: none; }
.form-button-loading { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.form-button-loading[hidden], [hidden] { display: none !important; }
.loading-spinner { display: inline-block; width: 15px; height: 15px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--white); border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.submit-success { margin-top: 28px; padding: 26px; border: 1px solid rgba(238,81,47,.28); background: #fff8f5; }
.submit-success[hidden] { display: none; }
.success-heading { display: flex; align-items: center; gap: 13px; }
.success-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 50%; color: var(--white); background: var(--orange); font-weight: 800; }
.success-heading strong, .success-heading span { display: block; }
.success-heading strong { font-size: 1.1rem; }
.success-heading div > span { margin-top: 2px; color: var(--muted); font-size: .8rem; }
.submit-success > p { margin: 17px 0; color: var(--muted); font-size: .9rem; }
.success-reference { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid rgba(238,81,47,.2); border-bottom: 1px solid rgba(238,81,47,.2); }
.success-reference span { color: var(--muted); font-size: .8rem; }
.success-reference strong { color: var(--orange-dark); font: 700 .85rem var(--font-sans); letter-spacing: .08em; }
.submit-success .btn { width: auto; min-height: 42px; margin-top: 18px; }
.contact-aside { color: var(--white); border: 0; background: var(--ink); }
.contact-aside h2 { color: var(--white); }
.contact-aside > p { color: rgba(255,255,255,.62); }
.contact-steps { display: grid; gap: 0; margin-top: 42px; }
.contact-step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.contact-step strong { display: block; color: var(--orange-soft); font: 700 1.2rem var(--font-sans); }
.contact-step h3 { margin: 0; color: var(--white); font-size: 1rem; }
.contact-step p { margin: 3px 0 0; color: rgba(255,255,255,.56); font-size: .86rem; }

/* Footer */
.footer { padding: 70px 0 24px; color: rgba(255,255,255,.68); background: var(--ink-2); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 44px; padding-bottom: 58px; }
.footer .brand-name { color: var(--white); }
.footer .brand-tagline { color: rgba(255,255,255,.45); }
.footer-desc { max-width: 340px; margin: 20px 0 0; color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-label { display: block; margin-bottom: 16px; color: var(--orange-soft); font-size: 11px; font-weight: 700; }
.footer-links { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .88rem; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line-dark); color: rgba(255,255,255,.38); font-size: .78rem; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: var(--paper); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity var(--ease), transform var(--ease), background var(--ease); }
.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { color: var(--white); background: var(--orange); border-color: var(--orange); }

/* Motion */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
    :root { --nav-height: 70px; }
    .container { width: min(100% - 36px, var(--container)); }
    .nav-links { gap: 16px; }
    .nav-cta { min-width: auto; }
    .brand { min-width: auto; }
    .hero-grid, .case-lead { gap: 44px; }
    .grid-4, .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-grid { grid-template-columns: repeat(3, 1fr); }
    .process-card:nth-child(3)::after { display: none; }
    .footer-top { grid-template-columns: 1.4fr repeat(2, 1fr); }
    .footer-top > :last-child { grid-column: 2 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 32px, var(--container)); }
    .section { padding: 78px 0; }
    .section-sm { padding: 58px 0; }
    .section-header { display: block; margin-bottom: 34px; }
    .section-header > div:last-child { margin-top: 18px; }
    .nav-links { position: fixed; inset: var(--nav-height) 0 0; display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 36px; background: var(--paper); border-top: 1px solid var(--line); transform: translateX(100%); transition: transform var(--ease); }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
    .nav-links a::after { bottom: -1px; }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: block; }
    .hero { min-height: 690px; padding: calc(var(--nav-height) + 76px) 0 80px; }
    .hero-grid, .intro-grid, .split-grid, .case-lead, .case-secondary, .contact-grid { grid-template-columns: 1fr; }
    .hero-grid { min-height: 500px; gap: 50px; }
    .hero-grid, .hero-content { min-width: 0; max-width: 100%; }
    .hero h1 { max-width: 100%; font-size: clamp(2.8rem, 14vw, 5.8rem); letter-spacing: -.07em; overflow-wrap: anywhere; }
    .hero-lede { width: 100%; max-width: min(100%, 330px); overflow-wrap: anywhere; word-break: break-all; white-space: normal; }
    .subpage-hero p { max-width: 330px; overflow-wrap: anywhere; word-break: break-all; }
    .mobile-only-break { display: block; }
    .hero-brand-logo { width: min(260px, 78%); }
    .hero-side-note { max-width: 290px; }
    .metric-grid { grid-template-columns: repeat(2, 1fr); }
    .metric { min-height: 112px; padding: 20px; }
    .metric:nth-child(2) { border-right: 0; }
    .metric:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.28); }
    .home-intro .image-frame, .image-frame.tall { min-height: 380px; height: 380px; }
    .grid-2, .grid-3, .service-grid, .case-grid, .grid-4, .resource-grid { grid-template-columns: 1fr; }
    .timeline { grid-template-columns: 1fr; gap: 24px; padding-left: 24px; }
    .timeline::before { top: 14px; bottom: 14px; left: 7px; width: 1px; height: auto; right: auto; }
    .timeline-item { padding-top: 0; padding-left: 24px; }
    .timeline-dot { top: 3px; left: -24px; }
    .service-hero-note { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .process-card { min-height: auto; }
    .process-card:not(:last-child)::after { top: auto; right: 50%; bottom: -17px; transform: rotate(90deg); }
    .process-card:nth-child(3)::after { display: block; }
    .case-lead-image { min-height: 360px; }
    .case-secondary { padding: 28px; gap: 28px; }
    .client-logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .case-gallery-grid { grid-template-columns: 1fr 1fr; }
    .case-gallery-grid .case-gallery-feature { grid-column: 1 / -1; grid-row: auto; min-height: 320px; }
    .case-gallery-grid .case-gallery-card { grid-column: span 1; min-height: 190px; }
    .case-gallery-grid figcaption { display: block; }
    .case-gallery-grid figcaption span { display: block; margin-top: 4px; text-align: left; }
    .ad-type, .ad-type.reverse { grid-template-columns: 1fr; gap: 28px; padding: 42px 0; }
    .ad-type.reverse .ad-image { order: 0; }
    .ad-image { height: 280px; }
    .roadmap-box { padding: 22px; }
    .roadmap-flow { grid-template-columns: 1fr; gap: 24px; }
    .roadmap-group + .roadmap-group { padding-top: 24px; padding-left: 0; border-top: 1px solid var(--line-dark); border-left: 0; }
    .form-grid { grid-template-columns: 1fr; gap: 0; }
    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
    .footer-top > :first-child { grid-column: 1 / -1; }
    .footer-top > :last-child { grid-column: auto; }
    .footer-bottom { display: block; }
    .footer-bottom p + p { margin-top: 8px; }
}

@media (max-width: 980px) {
    .client-logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
    .client-logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
