/* =========================================================
   BuzzMaker 博創行銷 — 網站樣式 v2
   品牌色沿用 v1：主紅 #c90b18、深紅 #970815、深灰 #393635、
   暖白 #faf8f3；輔色綠 #dff5bd、黃 #efe7ae。修改 :root 即可全站套用。
   ========================================================= */
:root {
  --red: #c90b18;
  --red-deep: #970815;
  --red-tint: #fbe9ea;
  --ink: #393635;
  --ink-2: #595757;
  --ink-deep: #211d1c;
  --muted: #6b6661;
  --paper: #faf8f3;
  --soft: #f2eee6;
  --white: #fff;
  --line: #e3ded4;
  --line-dark: rgba(255, 255, 255, .14);
  --green: #dff5bd;
  --yellow: #efe7ae;

  --font: "Manrope", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 1px 2px rgba(33, 29, 28, .04), 0 12px 32px -12px rgba(33, 29, 28, .16);
  --shadow-lg: 0 30px 60px -24px rgba(33, 29, 28, .28);
  --header-h: 78px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink-deep); font-weight: 800; letter-spacing: -.02em; }
h1 { isolation: isolate; font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.22; font-weight: 900; letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.6rem); line-height: 1.35; }
h3 { font-size: 1.28rem; line-height: 1.5; }
p { color: var(--muted); }
strong { color: var(--ink-deep); font-weight: 700; }
em { font-style: normal; color: var(--red); position: relative; white-space: nowrap; }
h1 em::after {
  content: ""; position: absolute; left: -.04em; right: -.04em; bottom: .08em; height: .28em;
  background: var(--yellow); z-index: -1; border-radius: 3px;
}
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink-deep); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); line-height: 1.5; margin-bottom: 18px;
}
.eyebrow-light { color: #ff9ca3; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.14rem); line-height: 1.95; max-width: 620px; margin-top: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1.4; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i { transform: translate(2px, -2px); }
.btn-lg { padding: 15px 28px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: .88rem; }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(201, 11, 24, .6); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost { border-color: var(--ink); color: var(--ink-deep); }
.btn-ghost:hover { background: var(--ink-deep); border-color: var(--ink-deep); color: #fff; }
.btn-outline { border-color: var(--line); background: var(--white); color: var(--ink-deep); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--paper); transform: translateY(-2px); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-deep); border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--red); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
/* 毛玻璃放在偽元素上，避免 backdrop-filter 影響手機選單的 position: fixed */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
.menu-open .site-header::before { background: var(--paper); }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 150px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav > a:not(.btn) { position: relative; font-weight: 700; font-size: .95rem; color: var(--ink); padding: 6px 0; }
.main-nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.main-nav > a:not(.btn):hover::after, .main-nav > a:not(.btn)[aria-current=page]::after { transform: scaleX(1); }
.main-nav > a:not(.btn)[aria-current=page] { color: var(--red); }
.nav-cta { margin-left: 6px; }
.mobile-only { display: none; }
.menu-toggle { display: none; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(56px, 7vw, 100px); }
.hero::before {
  content: ""; position: absolute; width: 720px; height: 720px; right: -220px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 11, 24, .10), transparent 65%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.hero-points .i { color: var(--red); stroke-width: 2.4; }
.hero-visual { position: relative; }
.hero-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5 / 4.4; background: var(--soft); }
.hero-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual::before {
  content: ""; position: absolute; inset: auto -18px -18px auto; width: 58%; height: 58%;
  border-radius: var(--radius-lg); background: var(--red); z-index: -1;
}
.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); line-height: 1.45;
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { display: block; font-size: .95rem; }
.float-card small { display: block; color: var(--muted); font-size: .78rem; }
.fc-1 { left: -28px; top: 14%; }
.fc-2 { right: 18px; bottom: 22px; flex-direction: column; align-items: flex-start; gap: 2px; animation-delay: -3s; }
.fc-label { font-size: .64rem; letter-spacing: .14em; font-weight: 800; color: var(--red); }
.pulse { position: relative; width: 12px; height: 12px; border-radius: 50%; background: #2fb344; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #2fb344; animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
@keyframes floaty { 50% { transform: translateY(-8px); } }

/* ---------- Ticker ---------- */
.ticker { background: var(--ink-deep); color: #fff; overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ticker span { display: inline-flex; align-items: center; font-weight: 700; font-size: 1.02rem; letter-spacing: .02em; white-space: nowrap; padding-inline: 26px; }
.ticker span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-left: 52px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { border-bottom: 1px solid var(--line); background: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; }
.stat { padding: 40px 24px 36px; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat strong { display: flex; align-items: flex-start; font-size: clamp(2.3rem, 3.6vw, 3.3rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; color: var(--ink-deep); font-variant-numeric: tabular-nums; }
.stat sup { font-size: .5em; color: var(--red); margin-left: 2px; top: 0; }
.stat > span { display: block; margin-top: 10px; font-size: .88rem; color: var(--muted); }
.stats-note { align-self: center; padding-left: 36px; font-size: 1.02rem; color: var(--ink); font-weight: 600; line-height: 1.8; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-soft { background: var(--soft); }
.section-ink { background: var(--ink-deep); color: #fff; }
.section-ink h2, .section-ink h3 { color: #fff; }
.section-ink p { color: rgba(255, 255, 255, .7); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 48px; }
.section-head-side { display: grid; gap: 18px; justify-items: start; }

/* ---------- Service cards (home bento) ---------- */
.svc-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc-card {
  display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card-lg { grid-column: span 2; grid-row: span 2; }
.svc-media { overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.svc-card-lg .svc-media { aspect-ratio: auto; flex: 1; min-height: 280px; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.svc-card-lg .svc-body { padding: 30px 32px 28px; }
.svc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.svc-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.svc-icon .i { width: 22px; height: 22px; }
.svc-no { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.svc-card h3 { font-size: 1.15rem; }
.svc-card-lg h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
.svc-card-lg p { margin-top: 12px; }
.svc-more { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--red); }
.svc-more .i { transition: transform .25s var(--ease); }
.svc-card:hover .svc-more .i { transform: translate(3px, -3px); }

/* ---------- Approach (steps) ---------- */
.approach-head { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px 64px; align-items: end; margin-bottom: 64px; }
.approach-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { position: relative; padding: 32px 28px 8px 0; border-top: 1px solid var(--line-dark); }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 44px; height: 3px; background: var(--red); }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line-dark); }
.step + .step::before { left: 28px; }
.step-no { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.step-en { display: block; margin-top: 14px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ff9ca3; }
.step h3 { margin: 6px 0 10px; font-size: 1.3rem; }
.step p { font-size: .93rem; line-height: 1.85; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-copy h2 { margin-bottom: 20px; }
.industry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 30px 0 32px; }
.industry-grid li { padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); line-height: 1.5; }
.industry-grid li:nth-child(1) { background: var(--red-tint); border-color: transparent; }
.industry-grid li:nth-child(4) { background: var(--green); border-color: transparent; }
.industry-grid strong { display: block; font-size: 1.08rem; }
.industry-grid span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

/* ---------- Values ---------- */
.values-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 900; color: var(--red); line-height: 1.4; margin-bottom: 18px; letter-spacing: -.02em; }
.value-pills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 30px; }
.value-pills li { padding: 16px 14px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); text-align: center; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
.value-pills strong { display: block; font-size: 1.3rem; letter-spacing: .1em; color: var(--ink-deep); margin-bottom: 2px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--red); color: #fff; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .16); pointer-events: none; }
.cta-band::before { width: 560px; height: 560px; right: -140px; top: -240px; }
.cta-band::after { width: 360px; height: 360px; right: 120px; bottom: -250px; background: rgba(151, 8, 21, .45); border: 0; }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: clamp(56px, 7vw, 88px); }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.cta-band .eyebrow-light { color: #ffd0d3; }
.cta-text { color: rgba(255, 255, 255, .82); margin-top: 14px; }
.cta-actions { display: grid; gap: 16px; justify-items: end; }
.cta-mail { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .9); font-size: .92rem; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.cta-mail:hover { color: #fff; border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: rgba(255, 255, 255, .7); padding-top: 72px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .7fr 1.3fr; gap: 40px; padding-bottom: 56px; }
.footer-brand img { width: 150px; margin-bottom: 20px; }
.footer-brand p { color: rgba(255, 255, 255, .6); font-size: .88rem; max-width: 320px; }
.footer-h { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .14em; margin-bottom: 18px; }
.footer-list { display: grid; gap: 10px; }
.footer-list a:hover, .footer-contact a:hover { color: #fff; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 12px; line-height: 1.7; }
.footer-contact .i { margin-top: .3em; color: #ff8b93; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid var(--line-dark); font-size: .78rem; color: rgba(255, 255, 255, .45); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 11, 24, .09), transparent 65%); pointer-events: none;
}
.page-hero .wrap { position: relative; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .84rem; color: var(--muted); margin-bottom: 34px; }
.crumbs a:hover { color: var(--red); }
.crumbs span[aria-current] { color: var(--ink-deep); font-weight: 600; }
.page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.page-hero-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: end; }

/* ---------- About ---------- */
.about-id { display: grid; grid-template-columns: 110px 1fr; gap: 26px; align-items: center; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.about-id dl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.about-id dt { font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.about-id dd { font-weight: 800; color: var(--ink-deep); font-size: 1.02rem; }
.wide-media { margin-top: clamp(32px, 5vw, 56px); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 21 / 8; }
.wide-media img { width: 100%; height: 100%; object-fit: cover; }
.about-layout { display: grid; grid-template-columns: 220px 1fr; gap: clamp(32px, 6vw, 96px); padding-block: clamp(40px, 6vw, 80px) clamp(56px, 8vw, 110px); }
.toc { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; }
.toc-h { font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--ink-deep); margin-bottom: 14px; }
.toc ol { display: grid; border-left: 2px solid var(--line); margin-bottom: 28px; }
.toc a:not(.btn) { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; font-size: .92rem; color: var(--muted); transition: color .2s, border-color .2s; }
.toc a:not(.btn):hover, .toc a.is-active { color: var(--red); border-color: var(--red); font-weight: 700; }
.about-body { max-width: 800px; }
.about-sec { padding-block: 44px; border-top: 1px solid var(--line); }
.about-sec:first-child { padding-top: 0; border-top: 0; }
.about-no { font-size: .74rem; font-weight: 800; letter-spacing: .14em; color: var(--red); margin-bottom: 12px; }
.about-sec h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 20px; }
.about-sub { font-size: 1.12rem; font-weight: 700; color: var(--ink); margin: -6px 0 18px; }
.about-sec p { line-height: 2; }
.about-sec p + p { margin-top: 1.1em; }
.stage-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px 0; }
.stage-line li { position: relative; padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); line-height: 1.5; }
.stage-line li:not(:last-child)::after { content: "→"; position: absolute; right: -12px; top: 50%; transform: translate(50%, -50%); color: var(--red); font-weight: 800; z-index: 1; }
.stage-line span { display: block; font-size: .78rem; color: var(--red); font-weight: 700; }
.stage-line strong { font-size: 1rem; }
.insight-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 28px; }
.insight-grid li { display: flex; gap: 14px; align-items: baseline; padding: 16px 18px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 600; color: var(--ink); line-height: 1.6; }
.insight-grid span { font-size: .78rem; font-weight: 800; color: var(--red); }
.callout { position: relative; padding: 24px 28px; border-radius: 0 14px 14px 0; border-left: 4px solid var(--red); background: var(--red-tint); font-size: 1.12rem; font-weight: 800; color: var(--ink-deep) !important; line-height: 1.7 !important; }
.tag-list, .industry-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.industry-row li { padding: 10px 22px; border-radius: 999px; background: var(--ink-deep); color: #fff; font-weight: 700; }
.flow { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; counter-reset: f; }
.flow li { counter-increment: f; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.flow li::before { content: counter(f, decimal-leading-zero); font-size: .72rem; font-weight: 800; color: var(--red); }

/* ---------- Services index ---------- */
.jump-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.jump-list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; transition: border-color .2s, color .2s; }
.jump-list a:hover { border-color: var(--red); color: var(--red); }
.jump-list span { font-size: .72rem; font-weight: 800; color: var(--red); }
.svc-rows { padding-block: clamp(32px, 5vw, 64px) clamp(56px, 8vw, 100px); }
.svc-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 4vw, 52px); }
.svc-row + .svc-row { border-top: 1px solid var(--line); }
.svc-row.is-rev .svc-row-media { order: 2; }
.svc-row-media { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--soft); box-shadow: var(--shadow); }
.svc-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-row-media:hover img { transform: scale(1.04); }
.svc-row-no { position: absolute; left: 16px; top: 16px; padding: 6px 14px; border-radius: 999px; background: var(--red); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .08em; line-height: 1.3; box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.svc-row h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 14px; }
.svc-row h2 a:hover { color: var(--red); }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 24px 0 30px; }
.check-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.6; }
.check-list .i { color: var(--red); stroke-width: 2.4; margin-top: .2em; }
.img-note { font-size: .78rem; color: var(--muted); padding-top: 24px; border-top: 1px solid var(--line); }
.integrate { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px 88px; align-items: center; }
.integrate-map { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.integrate-map span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; font-size: .92rem; }
.integrate-map .i { color: var(--red); }

/* ---------- Service detail ---------- */
.svc-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.svc-hero-media { position: relative; }
.svc-hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.svc-hero-media figcaption { margin-top: 12px; font-size: .76rem; color: var(--muted); text-align: right; }
.detail-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 88px); align-items: start; }
.prose { max-width: 760px; }
.prose p { line-height: 2; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin: 52px 0 18px; padding-top: 30px; border-top: 1px solid var(--line); }
.prose a:not(.btn) { color: var(--red); border-bottom: 1px solid rgba(201, 11, 24, .35); }
.prose a:not(.btn):hover { border-color: var(--red); }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.scope-grid li { display: flex; gap: 14px; align-items: baseline; padding: 18px 20px; border-radius: 14px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--ink-deep); line-height: 1.55; transition: border-color .2s, transform .2s; }
.scope-grid li:hover { border-color: var(--red); transform: translateY(-2px); }
.scope-grid span { font-size: .76rem; font-weight: 800; color: var(--red); }
.detail-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { padding: 28px; border-radius: var(--radius); background: var(--ink-deep); color: #fff; }
.aside-card h3 { color: #fff; margin-bottom: 10px; }
.aside-card p { color: rgba(255, 255, 255, .7); font-size: .92rem; margin-bottom: 22px; }
.aside-card .btn { width: 100%; }
.aside-eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #ff9ca3; margin-bottom: 10px; }
.aside-mail { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.aside-mail:hover { color: #fff; }
.aside-nav { padding: 22px 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.aside-nav .aside-eyebrow { color: var(--red); }
.aside-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: .92rem; }
.aside-nav a span { font-size: .72rem; font-weight: 800; color: var(--muted); }
.aside-nav a .i { margin-left: auto; color: var(--muted); transition: transform .2s, color .2s; }
.aside-nav a:hover { color: var(--red); }
.aside-nav a:hover .i { color: var(--red); transform: translateX(3px); }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; padding-bottom: clamp(56px, 8vw, 96px); }
.pager a { display: grid; gap: 4px; padding: 22px 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.pager a:hover { border-color: var(--red); box-shadow: var(--shadow); }
.pager small { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.pager strong { font-size: 1.05rem; }
.pager .pager-next { text-align: right; justify-items: end; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 24px); }
.info-card { display: flex; gap: 16px; padding: 24px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.info-card .aside-eyebrow { color: var(--red); margin-bottom: 6px; }
.info-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--red-tint); color: var(--red); }
.info-icon .i { width: 22px; height: 22px; }
.info-text { color: var(--ink-deep); font-weight: 600; line-height: 1.75; }
.info-card-red { display: block; background: var(--red); border-color: var(--red); color: #fff; padding: 30px 28px; }
.info-card-red .aside-eyebrow { color: #ffd0d3; }
.info-card-red p { color: rgba(255, 255, 255, .8); font-size: .9rem; margin-top: 8px; }
.info-big { display: inline-block; font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; color: #fff; overflow-wrap: anywhere; border-bottom: 2px solid rgba(255, 255, 255, .35); }
.info-big:hover { border-color: #fff; }
.contact-form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-form h2 { font-size: 1.6rem; }
.form-help { font-size: .88rem; margin: 8px 0 28px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0 0 20px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-size: .9rem; font-weight: 700; color: var(--ink-deep); margin-bottom: 8px; padding: 0; }
.field label em { color: var(--red); }
.field input, .field textarea {
  width: 100%; min-width: 0; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(201, 11, 24, .1); }
.field input::placeholder, .field textarea::placeholder { color: #a8a29a; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); background: var(--red-tint); }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; margin: 0 !important; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-size: .86rem; font-weight: 600; transition: all .2s; }
.chip:hover span { border-color: var(--ink-2); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form-status { font-size: .9rem; flex: 1; min-width: 220px; }
.form-status[data-type=success] { color: #217a35; font-weight: 700; }
.form-status[data-type=error] { color: var(--red); font-weight: 700; }
.form-status[data-type=info] { color: var(--ink); }

.nf { min-height: 50vh; display: grid; align-items: center; border: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.svc-bento .reveal:nth-child(2), .steps .reveal:nth-child(2), .stats-grid .reveal:nth-child(2) { transition-delay: .08s; }
.svc-bento .reveal:nth-child(3), .steps .reveal:nth-child(3), .stats-grid .reveal:nth-child(3) { transition-delay: .16s; }
.svc-bento .reveal:nth-child(4), .steps .reveal:nth-child(4), .stats-grid .reveal:nth-child(4) { transition-delay: .24s; }
.svc-bento .reveal:nth-child(5) { transition-delay: .32s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav { gap: 24px; }
  .svc-bento { grid-template-columns: repeat(2, 1fr); }
  .svc-card-lg { grid-row: auto; }
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stats-note { grid-column: 1 / -1; padding: 22px 0 28px; border-top: 1px solid var(--line); }
  .stats-note br { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: 1fr 300px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .brand { width: 128px; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; border-radius: 12px;
    border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; z-index: 2;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-deep); border-radius: 2px; transition: transform .25s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; background: var(--paper); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .main-nav { opacity: 1; visibility: visible; transform: none; }
  .main-nav > a:not(.btn) { padding: 16px 0; font-size: 1.2rem; border-bottom: 1px solid var(--line); }
  .main-nav > a:not(.btn)::after { display: none; }
  .mobile-only { display: grid; }
  .mobile-svc { gap: 2px; padding: 12px 0 18px; border-bottom: 1px solid var(--line); }
  .mobile-svc a { display: flex; gap: 10px; padding: 7px 0; font-size: .95rem; color: var(--muted); font-weight: 600; }
  .mm-no { font-size: .72rem; font-weight: 800; color: var(--red); min-width: 20px; padding-top: .25em; }
  .nav-cta { margin: 24px 0 0; padding: 15px; font-size: 1rem; }

  .hero-grid, .page-hero-grid, .svc-hero-grid, .split, .values-grid, .integrate, .contact-grid, .section-head, .approach-head { grid-template-columns: 1fr; }
  .hero-visual { max-width: 640px; }
  .fc-1 { left: 12px; top: 12px; }
  .hero-visual::before { right: -10px; bottom: -10px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .split-media { aspect-ratio: 16 / 10; }
  .svc-row, .svc-row.is-rev { grid-template-columns: 1fr; }
  .svc-row.is-rev .svc-row-media { order: 0; }
  .about-layout { grid-template-columns: 1fr; }
  .toc { position: static; }
  .toc ol { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin-bottom: 0; }
  .toc a:not(.btn) { margin: 0; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-size: .86rem; }
  .toc .btn { display: none; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-aside, .contact-info { position: static; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { justify-items: start; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .actions .btn { flex: 1 1 auto; }
  .hero-points { gap: 8px 16px; }
  .fc-2 { display: none; }
  .ticker span { font-size: .92rem; padding-inline: 18px; }
  .ticker span::after { margin-left: 36px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 16px 24px; border-bottom: 1px solid var(--line); }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(even) { border-right: 0; }
  .svc-bento { grid-template-columns: 1fr; }
  .svc-card-lg { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 26px 0 0; border-left: 0; }
  .step + .step::before { left: 0; }
  .industry-grid, .insight-grid, .scope-grid, .check-list, .field-row { grid-template-columns: 1fr; }
  .field-row { gap: 0; }
  .value-pills { grid-template-columns: 1fr 1fr; }
  .stage-line { grid-template-columns: 1fr; }
  .stage-line li:not(:last-child)::after { right: 50%; top: auto; bottom: -12px; transform: translate(50%, 50%) rotate(90deg); }
  .about-id { grid-template-columns: 76px 1fr; padding: 20px; gap: 18px; }
  .wide-media { aspect-ratio: 16 / 9; }
  .pager { grid-template-columns: 1fr 1fr; }
  .pager a:nth-child(2) { display: none; }
  .pager a { padding: 16px 18px; }
  .pager strong { font-size: .95rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
