:root {
  --green: #0d352e;
  --deep-green: #08251f;
  --green-soft: #16473b;
  --paper: #fbf6f1;
  --paper-2: #f2ebe3;
  --ink: #0d352e;
  --ink-soft: #587068;
  --yellow: #efb300;
  --coral: #d94d41;
  --mint: #a3bfab;
  --white: #fffdf9;
  --line: rgba(13, 53, 46, .16);
  --line-light: rgba(255, 255, 255, .22);
  --shadow: 0 28px 75px rgba(8, 37, 31, .14);
  --container: 1320px;
  --gutter: clamp(20px, 4.6vw, 76px);
  --radius: 24px;
  --display: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", serif;
  --body: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --script: "Segoe Script", "STXinwei", "KaiTi", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

/* 首页使用浏览器原生滚动，避免自定义轨道和缓动层吞掉滚轮步进。 */
html[data-leifei-brand="true"] {
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}

html[data-leifei-brand="true"],
html[data-leifei-brand="true"] body {
  overflow-y: auto !important;
}

html[data-leifei-brand="true"] body.is-locked {
  overflow-y: hidden !important;
}

/* 首页首屏与视口对齐，避免首屏内容把下一屏推到第二个视口之后。 */
html[data-leifei-brand="true"] .header_section {
  position: relative;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}

html[data-leifei-brand="true"] .header_section .header_container {
  position: relative;
  height: 100%;
}

html[data-leifei-brand="true"] .header_section .header-text-container {
  position: relative;
  z-index: 3;
}

html[data-leifei-brand="true"] .header_section .header-parallax-background {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1;
  height: 100% !important;
  margin-bottom: 0 !important;
}

html[data-leifei-brand="true"] .header_section .parallax-components {
  height: 100% !important;
}

/* 两侧预留超过山体横向位移上限的素材，避免视差层边缘露底。 */
html[data-leifei-brand="true"] .header_section .parallax-components > img[class^="mountain"] {
  width: calc(100% + 64px) !important;
  max-width: none !important;
  margin-left: -32px;
}
body {
  margin: 0;
  background: var(--green);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
body[data-page="home"] {
  --deep-green: #1f2b13;
  --paper: #fbf6f2;
  --paper-2: #fbf6f2;
  --white: #fff;
  --line-light: rgba(255, 255, 255, .25);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 4px; }

.container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}
.section { position: relative; padding: clamp(88px, 11vw, 170px) 0; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--green { background: var(--green); color: var(--white); }
.section--deep { background: var(--deep-green); color: var(--white); }
.section--soft { background: var(--paper-2); color: var(--ink); }
.section--round-top { border-radius: 42px 42px 0 0; }
.section--round-bottom { border-radius: 0 0 42px 42px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 20px var(--gutter) 0;
  pointer-events: none;
  transition: transform .6s ease, opacity .6s ease;
}
.site-header-inner {
  width: min(var(--container), 100%);
  min-height: 74px;
  margin: 0 auto;
  padding: 12px 15px 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(8, 37, 31, .78);
  box-shadow: 0 18px 55px rgba(0, 0, 0, .15);
  backdrop-filter: blur(18px) saturate(125%);
  pointer-events: auto;
  transition: background .35s ease, transform .35s ease, border-color .35s ease;
}
.site-header.is-scrolled .site-header-inner {
  background: rgba(8, 37, 31, .94);
  border-color: rgba(255, 255, 255, .24);
  transform: translateY(-5px) scale(.985);
}
.site-header.is-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
body[data-page="home"] .site-header-inner {
  border-color: rgba(255, 255, 255, .25);
  background: rgba(9, 37, 32, .82);
}
body[data-page="home"] .site-header.is-scrolled .site-header-inner {
  background: rgba(31, 43, 19, .94);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand img {
  width: auto;
  height: 41px;
  object-fit: contain;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.8vw, 26px);
  color: rgba(255, 253, 249, .82);
  font-size: 13px;
}
.nav-link, .site-nav-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 7px 0;
  border: 0;
  color: inherit;
  background: transparent;
  white-space: nowrap;
  transition: color .25s ease, opacity .25s ease;
}
.nav-link::after, .site-nav-toggle::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.nav-link:hover, .nav-link.is-active, .site-nav-toggle:hover, .site-nav-toggle[aria-expanded="true"] { color: var(--white); }
.nav-link:hover::after, .nav-link.is-active::after, .site-nav-toggle[aria-expanded="true"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav-item.is-active > .site-nav-toggle { color: var(--white); }
.site-nav-item.is-active > .site-nav-toggle::after { transform: scaleX(1); transform-origin: left; }
.site-nav-item { position: relative; display: block; flex: 0 0 auto; }
.site-nav-toggle svg { width: 13px; height: 13px; transition: transform .25s ease; }
.site-nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.site-nav-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  width: 230px;
  padding: 12px;
  z-index: 5;
  display: grid;
  gap: 4px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(8, 37, 31, .96);
  box-shadow: 0 24px 55px rgba(0, 0, 0, .28);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
}
.site-nav-item:hover .site-nav-dropdown, .site-nav-item:focus-within .site-nav-dropdown, .site-nav-item.is-open .site-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.site-nav-dropdown a {
  display: block;
  padding: 11px 12px;
  min-height: 42px;
  line-height: 1.4;
  border-radius: 12px;
  color: rgba(255, 253, 249, .8);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.site-nav-dropdown a:hover { color: var(--white); background: rgba(255, 255, 255, .09); transform: translateX(3px); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--green);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}
.nav-cta:hover { color: var(--deep-green); background: #ffc83d; transform: translateY(-2px); }
.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  color: var(--white);
  background: transparent;
}
.menu-button span, .menu-button::before, .menu-button::after {
  display: block;
  width: 17px;
  height: 2px;
  margin: 0 auto 4px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}
.menu-button::before, .menu-button::after { content: ""; }
.menu-button::after { margin-bottom: 0; }
.site-header.is-menu-open .menu-button span { opacity: 0; }
.site-header.is-menu-open .menu-button::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-menu-open .menu-button::after { transform: translateY(-6px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: min(960px, 100vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--green);
}
.hero--home { min-height: max(760px, 100vh); }
.hero-media, .hero-wash, .hero-grain { position: absolute; inset: 0; pointer-events: none; }
.hero-media {
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.06);
  filter: saturate(.82) contrast(.95);
  opacity: .8;
}
body:is([data-page="cases"], [data-page="news"]) .hero-media {
  opacity: 1;
  filter: none;
}
.hero-wash { background: linear-gradient(180deg, rgba(8, 37, 31, .7), rgba(8, 37, 31, .72) 48%, rgba(8, 37, 31, .76) 70%, var(--green) 100%); }
body:is([data-page="business-overview"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) .hero-wash {
  background: transparent;
}
body:is([data-page="business-overview"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) .hero-arc,
body:is([data-page="business-overview"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) .hero-mountain {
  display: none;
}
.hero-grain { opacity: .08; background-image: radial-gradient(rgba(255,255,255,.65) .6px, transparent .7px); background-size: 4px 4px; mix-blend-mode: soft-light; }
.hero-content { position: relative; z-index: 2; padding: 170px 0 68px; text-align: center; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 253, 249, .74);
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-kicker::before { content: ""; width: 9px; height: 9px; background: var(--coral); border-radius: 2px; }
.hero h1 {
  max-width: 12ch;
  margin: 25px auto 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.07em;
  text-shadow: 0 5px 22px rgba(8, 37, 31, .22);
}
.hero h1 span { display: block; color: rgba(255, 253, 249, .62); }
.hero-script {
  display: block;
  margin: 28px auto 0;
  color: var(--yellow);
  font-family: var(--script);
  font-size: clamp(23px, 3vw, 42px);
  line-height: 1.15;
  transform: rotate(-4deg);
}
.hero-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 52px;
  text-align: left;
}
.hero-footer p { max-width: 330px; margin: 0; color: rgba(255, 253, 249, .7); font-size: 13px; line-height: 1.8; }
.round-cta {
  position: relative;
  width: 142px;
  height: 142px;
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  padding: 20px;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  background: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s ease;
}
.round-cta::after { content: "↗"; position: absolute; right: 23px; bottom: 21px; font-size: 18px; }
.round-cta:hover { background: #ffc83d; transform: rotate(9deg) scale(1.05); }
.hero-arc { position: absolute; right: -10%; bottom: -24%; left: -10%; z-index: 0; height: 43%; border-radius: 50% 50% 0 0; background: var(--green); opacity: .92; }
.hero-mountain { position: absolute; right: -8%; bottom: -8%; left: -8%; z-index: 1; height: 55%; border-radius: 50% 50% 0 0; background: linear-gradient(160deg, rgba(13,53,46,.08), rgba(8,37,31,.18)), var(--hero-image) center 38%/cover; opacity: .84; }
.hero--home {
  min-height: max(760px, 100vh);
  align-items: stretch;
  isolation: isolate;
  background: #0d352e;
}
.hero--home .hero-media {
  z-index: 0;
  background-image: url("../assets/contban1.jpg");
  background-position: center 62%;
  transform: scale(1.12);
  filter: saturate(.35) contrast(.88) brightness(.4);
  opacity: .05;
}
.hero--home .hero-wash { background: linear-gradient(180deg, #0d352e 0%, rgba(13,53,46,.98) 42%, rgba(13,53,46,.72) 74%, rgba(13,53,46,.12) 100%); }
.hero--home .hero-content {
  min-height: 100%;
  height: 100%;
  padding: clamp(175px, 23vh, 225px) 0 155px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.hero--home .hero-kicker { max-width: 780px; line-height: 1.5; text-align: center; }
.hero--home h1 {
  width: 100%;
  max-width: 1120px;
  margin-top: 24px;
  font-size: clamp(50px, 6.8vw, 108px);
  line-height: .96;
  text-wrap: balance;
}
.hero--home h1 span { color: var(--mint); }
.hero--home .hero-script { margin-top: 22px; font-size: clamp(24px, 3vw, 42px); }
.hero--home .hero-footer {
  position: absolute;
  right: 0;
  bottom: 88px;
  left: 0;
  z-index: 4;
  margin-top: 0;
  align-items: flex-end;
}
.hero--home .hero-footer p { max-width: 290px; font-size: 12px; line-height: 1.85; }
.hero-orb {
  --hero-orb-x: 0px;
  --hero-orb-y: 0px;
  --hero-orb-scroll-y: 0px;
  --hero-orb-rotate: 15deg;
  --hero-orb-hover-rotate: 0deg;
  position: absolute;
  left: 50%;
  bottom: -24px;
  z-index: 6;
  width: clamp(154px, 16vw, 218px);
  height: clamp(154px, 16vw, 218px);
  padding: 26px;
  box-shadow: 0 0 0 14px rgba(239,179,0,.05), 0 0 58px rgba(239,179,0,.28);
  will-change: transform;
  transform: translate3d(calc(-50% + var(--hero-orb-x)), calc(var(--hero-orb-y) + var(--hero-orb-scroll-y)), 0) rotate(calc(var(--hero-orb-rotate) + var(--hero-orb-hover-rotate)));
  transition: background .25s ease, box-shadow .35s ease, transform .8s cubic-bezier(.2,.8,.2,1);
}
.hero-orb:hover {
  --hero-orb-hover-rotate: -7deg;
  background: #ffc83d;
  box-shadow: 0 0 0 18px rgba(239,179,0,.08), 0 18px 44px rgba(239,179,0,.32);
  transform: translate3d(calc(-50% + var(--hero-orb-x)), calc(var(--hero-orb-y) + var(--hero-orb-scroll-y)), 0) rotate(calc(var(--hero-orb-rotate) + var(--hero-orb-hover-rotate))) scale(1.05);
}
.hero--home .hero-mountain {
  right: -10%;
  bottom: -15%;
  left: -10%;
  z-index: 1;
  height: 64%;
  border-radius: 0;
  background-image: linear-gradient(180deg, #0d352e 0%, rgba(13,53,46,.98) 17%, rgba(13,53,46,.74) 32%, rgba(13,53,46,.14) 58%, rgba(13,53,46,0) 72%), url("../assets/contban1.jpg");
  background-position: center 44%;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: .48;
  filter: saturate(.72) brightness(.78) contrast(1.02);
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.38) 18%, #000 37%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.38) 18%, #000 37%, #000 100%);
  will-change: transform, opacity;
}
.hero--home .hero-mountain--far { right: -14%; bottom: -27%; left: -14%; z-index: 1; height: 75%; opacity: .22; filter: saturate(.48) brightness(.66); background-position: center 20%; }
.hero--home .hero-mountain--mid { right: -11%; bottom: -19%; left: -11%; z-index: 2; height: 67%; opacity: .48; filter: saturate(.68) brightness(.74); background-position: center 39%; }
.hero--home .hero-mountain--near { right: -7%; bottom: -13%; left: -7%; z-index: 3; height: 57%; opacity: .9; filter: saturate(.9) brightness(.86) contrast(1.03); background-position: center 58%; }
.hero--home .hero-arc { bottom: -35%; height: 55%; opacity: .9; }
.hero--home .reveal {
  filter: blur(8px);
  transform: translateY(20%);
  transition-property: opacity, transform, filter;
}
.hero--home .reveal.is-visible { filter: blur(0); }

.page-hero { min-height: 690px; }
.page-hero .hero-content { padding-bottom: 78px; }
.page-hero h1 { width: 100%; max-width: 1000px; font-size: clamp(48px, 6.5vw, 96px); line-height: 1.02; text-shadow: 0 6px 30px rgba(0,0,0,.46); }
.page-hero .hero-footer { align-items: center; }
.page-hero .hero-mountain { height: 36%; bottom: -13%; opacity: .62; }
body:is([data-page="business-overview"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"], [data-page="cases"], [data-page="news"]) .page-hero {
  --hero-background-overlap: clamp(52px, 9vw, 118px);
  overflow: visible;
  clip-path: inset(0 0 calc(-1 * var(--hero-background-overlap)));
}
body:is([data-page="business-overview"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"], [data-page="cases"], [data-page="news"]) .page-hero .hero-media {
  bottom: calc(-1 * var(--hero-background-overlap));
}

body[data-page="news"] .page-hero .hero-content { text-align: left; }
body[data-page="news"] .page-hero h1 { margin-left: 0; margin-right: 0; }
body[data-page="news"] .page-hero .hero-kicker { justify-content: flex-start; }
/* Business, news, and case pages use a layered handoff: the paper section rises over the hero while scrolling. */
body:is([data-page="business-overview"], [data-page="news"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"], [data-page="cases"]) main > .page-hero {
  position: sticky;
  top: 0;
  z-index: 0;
}
body:is([data-page="business-overview"], [data-page="news"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"], [data-page="cases"]) main > .section--round-top {
  --paper-arc-depth: clamp(52px, 9vw, 118px);
  position: relative;
  z-index: 1;
  isolation: isolate;
  border-radius: 50% 50% 0 0 / var(--paper-arc-depth) var(--paper-arc-depth) 0 0;
  box-shadow: 0 -22px 56px rgba(8, 37, 31, .16);
}
body:is([data-page="business-overview"], [data-page="news"], [data-page="new-media"], [data-page="project"], [data-page="ai-interaction"], [data-page="cases"]) main > .page-hero > .hero-mountain {
  --hero-layer-lift: 0px;
  --hero-layer-arc-depth: clamp(52px, 9vw, 118px);
  border-radius: 50% 50% 0 0 / var(--hero-layer-arc-depth) var(--hero-layer-arc-depth) 0 0;
  transform: translate3d(0, calc(-1 * var(--hero-layer-lift)), 0);
  will-change: transform, border-radius;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 2px; background: currentColor; }
.section-heading { max-width: 760px; margin-bottom: clamp(42px, 6vw, 78px); }
.section-heading--split { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-heading h2 {
  margin: 16px 0 0;
  font-family: var(--display);
  font-size: clamp(42px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.06em;
}
.section-heading h2 em { color: var(--coral); font-style: normal; }
.section-heading p { max-width: 420px; margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.9; }
.section--green .section-heading p, .section--deep .section-heading p { color: rgba(255, 253, 249, .67); }
.lead { max-width: 700px; margin: 0; font-size: clamp(17px, 1.8vw, 23px); line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; color: var(--yellow); font-size: 13px; font-weight: 800; transition: gap .25s ease, color .25s ease; }
.text-link:hover { gap: 14px; color: var(--coral); }
.section--paper .text-link { color: var(--coral); }

.intro-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 100px); align-items: end; }
.intro-grid .display { margin: 0; font-family: var(--display); font-size: clamp(40px, 4.6vw, 68px); font-weight: 400; line-height: 1.08; letter-spacing: -.06em; }
.intro-grid .display span { color: var(--coral); }
.intro-grid .copy { max-width: 470px; color: var(--ink-soft); font-size: 16px; line-height: 1.95; }
.image-card { position: relative; overflow: hidden; min-height: 430px; border-radius: var(--radius); box-shadow: var(--shadow); }
.image-card img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.image-card:hover img { transform: scale(1.06); }
.image-card figcaption { position: absolute; right: 22px; bottom: 20px; left: 22px; z-index: 1; color: var(--white); font-family: var(--display); font-size: 24px; line-height: 1.2; text-shadow: 0 4px 16px rgba(0,0,0,.3); }
.image-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.52)); pointer-events: none; }

.card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.info-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .55);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, background .3s ease;
}
.info-card:hover { transform: translateY(-10px); background: var(--white); box-shadow: var(--shadow); }
.section--green .info-card, .section--deep .info-card { border-color: var(--line-light); background: rgba(255, 255, 255, .06); }
.section--green .info-card:hover, .section--deep .info-card:hover { background: rgba(255, 255, 255, .12); }
.info-card::before { content: ""; position: absolute; top: -58px; right: -38px; width: 140px; height: 140px; border: 1px solid currentColor; border-radius: 50%; opacity: .12; transition: transform .5s ease; }
.info-card:hover::before { transform: scale(1.3); }
.card-index { display: block; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.info-card h3 { margin: 37px 0 11px; font-family: var(--display); font-size: 28px; font-weight: 400; line-height: 1.2; letter-spacing: -.05em; }
.info-card p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.95; }
.section--green .info-card p, .section--deep .info-card p { color: rgba(255, 253, 249, .68); }
.card-arrow { position: absolute; right: 26px; bottom: 23px; color: var(--yellow); font-size: 26px; transition: transform .3s ease; }
.info-card:hover .card-arrow { transform: translate(5px, -5px); }

.service-card {
  position: relative;
  min-height: 550px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green);
  box-shadow: var(--shadow);
}
.service-card img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .8s ease, opacity .5s ease; }
.service-card:hover img { transform: scale(1.07); opacity: .67; }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,37,31,.04) 25%, rgba(8,37,31,.88)); }
.service-card-body { position: absolute; right: 28px; bottom: 28px; left: 28px; z-index: 1; }
.service-card-body .card-index { color: var(--yellow); }
.service-card h3 { margin: 15px 0 8px; color: var(--white); font-family: var(--display); font-size: 35px; font-weight: 400; line-height: 1.12; letter-spacing: -.06em; }
.service-card p { max-width: 29ch; margin: 0; color: rgba(255, 253, 249, .75); font-size: 14px; line-height: 1.9; }
.service-card .card-arrow { color: var(--yellow); }

.process { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 8vw, 130px); align-items: start; }
.process-statement { position: sticky; top: 140px; }
.process-statement h2 { margin: 17px 0 20px; font-family: var(--display); font-size: clamp(46px, 5.8vw, 78px); font-weight: 400; line-height: 1.05; letter-spacing: -.07em; }
.process-statement p { max-width: 390px; color: rgba(255, 253, 249, .68); line-height: 1.9; }
.steps { display: grid; gap: 14px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.22);
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,.22); }
.step-number { color: var(--yellow); font-family: var(--display); font-size: 27px; }
.step h3 { margin: 0 0 7px; font-family: var(--display); font-size: 29px; font-weight: 400; line-height: 1.2; letter-spacing: -.05em; }
.step p { max-width: 440px; margin: 0; color: rgba(255, 253, 249, .66); font-size: 14px; line-height: 1.95; }

.loop-wrap { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; }
.loop { position: relative; width: min(470px, 100%); aspect-ratio: 1; margin: 0 auto; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; }
.loop::before, .loop::after { content: ""; position: absolute; border-radius: 50%; }
.loop::before { inset: 12%; border: 1px dashed rgba(239,179,0,.66); animation: spin 18s linear infinite; }
.loop::after { inset: 28%; background: var(--yellow); box-shadow: 0 0 0 18px rgba(239,179,0,.08), 0 0 90px rgba(239,179,0,.28); }
.loop-center { position: absolute; inset: 35%; z-index: 1; display: grid; place-items: center; color: var(--green); font-family: var(--display); font-size: clamp(23px, 3vw, 36px); line-height: 1.12; letter-spacing: -.05em; text-align: center; }
.loop-point { position: absolute; z-index: 2; width: 118px; padding: 10px; color: var(--white); font-size: 12px; line-height: 1.55; text-align: center; }
.loop-point::before { content: ""; display: block; width: 8px; height: 8px; margin: 0 auto 8px; border-radius: 50%; background: var(--coral); }
.loop-point:nth-child(2) { top: 7%; left: 50%; transform: translateX(-50%); }
.loop-point:nth-child(3) { top: 29%; right: -5%; }
.loop-point:nth-child(4) { right: -5%; bottom: 22%; }
.loop-point:nth-child(5) { bottom: 4%; left: 50%; transform: translateX(-50%); }
.loop-point:nth-child(6) { bottom: 22%; left: -5%; }
.loop-point:nth-child(7) { top: 29%; left: -5%; }
.loop-copy h3 { max-width: 12ch; margin: 0 0 18px; font-family: var(--display); font-size: clamp(40px, 4.6vw, 66px); font-weight: 400; line-height: 1.05; letter-spacing: -.07em; }
.loop-copy p { max-width: 460px; color: rgba(255, 253, 249, .68); line-height: 1.9; }

.carousel { position: relative; }
.quote-slide { display: none; }
.quote-slide.is-active { display: block; animation: quote-in .55s ease both; }
.quote {
  max-width: 940px;
  margin: 0 auto;
  color: var(--green);
  font-family: var(--display);
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.12;
  letter-spacing: -.06em;
  text-align: center;
}
.quote small { display: block; margin-top: 28px; color: var(--coral); font-family: var(--body); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 15px; margin-top: 44px; }
.carousel-button { width: 47px; height: 47px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; transition: background .25s ease, color .25s ease, transform .25s ease; }
.carousel-button:hover { color: var(--white); background: var(--green); transform: translateY(-2px); }
.carousel-dots { display: inline-flex; gap: 7px; }
.carousel-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(13,53,46,.28); }
.carousel-dot.is-active { width: 25px; border-radius: 99px; background: var(--coral); }

.case-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.case-card { position: relative; display: block; grid-column: span 4; min-height: 440px; overflow: hidden; isolation: isolate; border-radius: var(--radius); background: var(--green); }
.case-card:nth-child(1), .case-card:nth-child(4) { grid-column: span 6; }
.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .8;
  clip-path: circle(0% at 50% 50%);
  filter: saturate(.72) brightness(1.16);
  transition: clip-path 1.1s cubic-bezier(.2,.8,.2,1) .08s, filter 1.1s ease .08s, transform .8s ease, opacity .5s ease;
  will-change: clip-path, filter, transform;
}
.case-card.is-visible img { clip-path: circle(150% at 50% 50%); filter: saturate(1) brightness(1); }
.case-card:hover img { transform: scale(1.07); opacity: .56; }
.case-card::before {
  content: "";
  position: absolute;
  inset: -16%;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(255,253,249,.52) 19%, transparent 21%, transparent 33%, rgba(239,179,0,.48) 34%, transparent 36%, transparent 49%, rgba(255,253,249,.3) 50%, transparent 52%, transparent 65%, rgba(239,179,0,.22) 66%, transparent 68%);
  opacity: 0;
  transform: scale(.16);
  pointer-events: none;
}
.case-card.is-visible::before { animation: case-card-ripple 1.25s cubic-bezier(.2,.8,.2,1) .08s both; }
.case-card::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,37,31,.93)); }
.case-card-body { position: absolute; right: 25px; bottom: 24px; left: 25px; z-index: 2; }
.case-card-body .meta { display: flex; gap: 8px; flex-wrap: wrap; color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.case-card h3 { margin: 12px 0 4px; color: var(--white); font-family: var(--display); font-size: 31px; font-weight: 400; line-height: 1.15; letter-spacing: -.06em; }
.case-card p { max-width: 32ch; margin: 0; color: rgba(255,253,249,.7); font-size: 13px; line-height: 1.9; }

/* Keep the homepage AI interaction service title on one line. */
html[data-leifei-brand="true"] .services-section .begl-service-card.four .services-text-wrapper h1 {
  width: max-content !important;
  max-width: none !important;
  white-space: nowrap !important;
}

@keyframes case-card-ripple {
  0% { opacity: 0; transform: scale(.16); }
  18% { opacity: .78; }
  100% { opacity: 0; transform: scale(1.38); }
}

.logo-wall { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.logo-tile { min-height: 85px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.66); transition: transform .3s ease, background .3s ease; }
.logo-tile:hover { background: var(--white); transform: translateY(-5px); }
.logo-tile img { max-width: 100%; max-height: 45px; object-fit: contain; filter: saturate(.1) contrast(1.08); }
.platform-section { overflow: hidden; }
.platform-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.platform-tile { min-height: 164px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 17px; padding: 24px 18px; text-align: center; }
.platform-tile img { width: min(100%, 156px); height: auto; max-height: 62px; filter: none; transition: transform .3s ease; }
.platform-tile:hover img { transform: scale(1.05); }
.platform-tile span { color: var(--ink-soft); font-size: 13px; font-weight: 700; letter-spacing: .05em; line-height: 1.5; }

body[data-page="platform"] .admin-login-page {
  min-height: 0;
  padding: clamp(104px, 10vw, 150px) 0 0;
}
body[data-page="platform"] .admin-login-page > .container {
  width: 100%;
  max-width: none;
}
.admin-login-frame {
  display: block;
  width: 100%;
  height: 780px;
  border: 0;
  background: #fafbfc;
}

@media (min-width: 901px) {
  .resouce-section.resource-scroll-lock {
    height: calc(100vh + var(--resource-scroll-distance, 0px));
    min-height: 0;
  }

  .resouce-section.resource-scroll-lock .resource-container {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .resouce-section.resource-scroll-lock .div-block-39 {
    transform: translate3d(0, var(--resource-cards-shift, 0px), 0);
    will-change: transform;
  }

  .resouce-section.resource-scroll-lock .div-block-38 {
    position: relative;
    top: auto;
  }
}

body[data-page="business-overview"] .overview-disclaimer {
  max-width: 760px;
  margin: 44px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.9;
}

@media (min-width: 901px) {
  body[data-page="business-overview"] #solutions .card-grid--2 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page="business-overview"] #solutions .info-card {
    display: flex;
    min-height: 460px;
    flex-direction: column;
  }

  body[data-page="business-overview"] #solutions .info-card .text-link {
    margin-top: auto;
  }
}

.cta-section { overflow: hidden; }
.cta-section .main-button-circle-second.home-cta { font-size: calc(1.2cqw + 2px); }
.cta-panel { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(38px, 7vw, 90px); overflow: hidden; border-radius: 36px; color: var(--green); background: var(--yellow); }
.cta-panel::after { content: ""; position: absolute; right: -110px; bottom: -170px; width: 480px; height: 480px; border: 1px solid rgba(13,53,46,.35); border-radius: 50%; box-shadow: 0 0 0 36px rgba(13,53,46,.06), 0 0 0 72px rgba(13,53,46,.06); }
.cta-panel h2 { position: relative; z-index: 1; max-width: 9ch; margin: 0; font-family: var(--display); font-size: clamp(50px, 7vw, 108px); font-weight: 400; line-height: 1.02; letter-spacing: -.08em; }
.cta-panel .round-cta { z-index: 1; color: var(--yellow); background: var(--green); }
.cta-panel .round-cta:hover { color: var(--green); background: var(--white); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.contact-copy h2 { margin: 16px 0 20px; font-family: var(--display); font-size: clamp(48px, 5.4vw, 80px); font-weight: 400; line-height: 1.05; letter-spacing: -.07em; }
.contact-copy p { max-width: 420px; color: rgba(255, 253, 249, .68); line-height: 1.9; }
.contact-list { display: grid; gap: 10px; margin-top: 30px; }
.contact-list a, .contact-list div { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-list span { color: rgba(255,253,249,.55); font-size: 12px; }
.contact-list strong { color: var(--white); font-size: 15px; font-weight: 500; line-height: 1.6; text-align: right; }
.contact-form { padding: clamp(26px, 4vw, 46px); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.contact-form h3 { margin: 0 0 22px; font-family: var(--display); font-size: 34px; font-weight: 400; line-height: 1.1; letter-spacing: -.05em; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--ink-soft); font-size: 12px; }
.field input, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; outline: 0; resize: vertical; }
.field textarea { min-height: 100px; }
.field input:focus, .field textarea:focus { border-color: var(--coral); }
.form-submit { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.submit-button { min-height: 48px; padding: 0 22px; border: 0; border-radius: 999px; color: var(--white); background: var(--green); font-size: 13px; font-weight: 700; transition: background .25s ease, transform .25s ease; }
.submit-button:hover { background: var(--coral); transform: translateY(-2px); }
.form-status { min-height: 20px; color: var(--coral); font-size: 12px; }
.map-card { min-height: 300px; margin-top: 28px; overflow: hidden; border-radius: var(--radius); }
.map-card img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; filter: saturate(.8); }

.footer { padding: 35px 0 46px; background: var(--deep-green); color: rgba(255,253,249,.65); }
.footer-grid { display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; font-size: 12px; }
.footer-nav a:hover { color: var(--yellow); }
.footer-meta { font-size: 12px; line-height: 1.8; text-align: right; }
.footer-meta strong { display: block; color: var(--white); font-family: var(--display); font-size: 22px; font-weight: 400; line-height: 1.2; }

.detail-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 7vw, 110px); align-items: start; }
.detail-aside { position: sticky; top: 135px; }
.detail-aside h2 { margin: 15px 0; font-family: var(--display); font-size: clamp(40px, 4.6vw, 62px); font-weight: 400; line-height: 1.05; letter-spacing: -.06em; }
.detail-aside p { color: var(--ink-soft); line-height: 1.9; }
.detail-content { color: var(--ink); }
.detail-content h2 { margin: 0 0 24px; font-family: var(--display); font-size: clamp(35px, 4.2vw, 60px); font-weight: 400; line-height: 1.08; letter-spacing: -.06em; }
.detail-content h3 { margin: 42px 0 10px; font-family: var(--display); font-size: 28px; font-weight: 400; line-height: 1.2; }
.detail-content p { max-width: 710px; color: var(--ink-soft); font-size: 16px; line-height: 2; }
.detail-image { width: 100%; max-height: 580px; margin: 30px 0; overflow: hidden; border-radius: var(--radius); }
.detail-image img { width: 100%; height: 100%; max-height: 580px; object-fit: cover; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 34px; }
.tag { padding: 7px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--coral); font-size: 12px; }

.news-list { display: grid; gap: 14px; overflow-x: hidden; }
.news-item { display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.news-item:last-child { border-bottom: 1px solid var(--line); }
.news-date { color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.news-item h3 { margin: 0 0 5px; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.2; letter-spacing: -.05em; }
.news-item p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.9; }
.news-arrow { color: var(--coral); font-size: 26px; transition: transform .25s ease; }
.news-item:hover .news-arrow { transform: translateX(6px); }
body[data-page="news"] .news-list .news-item.reveal { transform: translate3d(72px, 0, 0); transition-property: opacity, transform; will-change: opacity, transform; }
body[data-page="news"] .news-list .news-item.reveal.is-visible { transform: translate3d(0, 0, 0); }
.news-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; margin-bottom: 65px; }
.news-feature img { width: 100%; height: 410px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.news-feature h2 { margin: 16px 0; font-family: var(--display); font-size: clamp(40px, 4.6vw, 64px); font-weight: 400; line-height: 1.05; letter-spacing: -.07em; }
.news-feature p { color: var(--ink-soft); line-height: 1.9; }

.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.filter-button { padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: transparent; font-size: 13px; transition: color .25s ease, background .25s ease; }
.filter-button:hover, .filter-button.is-active { color: var(--white); background: var(--green); }
.search-box { display: flex; gap: 10px; margin-bottom: 34px; }
.search-box input { flex: 1; min-height: 50px; padding: 0 17px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.55); outline: 0; }
.search-box input:focus { border-color: var(--coral); }
.search-box button { min-width: 100px; border: 0; border-radius: 999px; color: var(--white); background: var(--green); }
.search-result-empty { display: none; padding: 50px 0; color: var(--ink-soft); }
.search-result-empty.is-visible { display: block; }

.accordion { border-top: 1px solid var(--line-light); }
.accordion-item { border-bottom: 1px solid var(--line-light); }
.accordion-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 23px 0; border: 0; color: var(--white); background: transparent; text-align: left; }
.accordion-trigger strong { font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.3; letter-spacing: -.05em; }
.accordion-trigger span { color: var(--yellow); font-size: 25px; transition: transform .25s ease; }
.accordion-item.is-open .accordion-trigger span { transform: rotate(45deg); }
.accordion-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.accordion-panel > div { overflow: hidden; }
.accordion-item.is-open .accordion-panel { grid-template-rows: 1fr; }
.accordion-panel p { max-width: 650px; margin: 0 0 25px; color: rgba(255,253,249,.68); line-height: 1.9; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.page-wipe { position: fixed; inset: 0; z-index: 100; background: var(--yellow); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.page-wipe.is-leaving { animation: wipe-out .5s cubic-bezier(.8,0,.2,1) both; }
.back-top { position: fixed; right: 24px; bottom: 24px; z-index: 10000; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: var(--yellow); background: #0d352e; font-size: 24px; line-height: 1; cursor: pointer; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(12px); transition: filter .25s ease, box-shadow .25s ease, transform .25s ease, opacity .25s ease, visibility .25s ease; }
.back-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-top svg { display: block; width: 40px; height: 40px; pointer-events: none; }
.back-top:hover, .back-top:focus-visible { filter: brightness(1.08) saturate(1.05); box-shadow: 0 0 0 4px rgba(239,179,0,.2), 0 10px 24px rgba(13,53,46,.18); }
.back-top:active { filter: brightness(.98) saturate(1.02); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes quote-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes wipe-out { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); } 100% { transform: scaleY(1); } }

@media (max-width: 1120px) {
  .nav-menu { gap: 12px; }
  .nav-link, .site-nav-toggle { font-size: 12px; }
  .logo-wall { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { gap: 50px; }
}
@media (max-width: 900px) {
  .site-header { padding-top: 14px; }
  .site-header-inner { min-height: 64px; }
  .menu-button { display: block; }
  .nav-menu {
    position: fixed;
    top: 90px;
    right: var(--gutter);
    left: var(--gutter);
    display: grid;
    align-content: start;
    justify-content: stretch;
    gap: 3px;
    max-height: calc(100vh - 108px);
    padding: 18px;
    overflow: auto;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 25px;
    background: rgba(8,37,31,.98);
    box-shadow: 0 28px 70px rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
  }
  .site-header.is-menu-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
  .nav-link, .site-nav-toggle { width: 100%; justify-content: space-between; min-height: 48px; padding: 8px 10px; font-size: 15px; }
  .nav-link::after, .site-nav-toggle::after { right: 10px; left: 10px; }
  .site-nav-dropdown { position: static; width: auto; padding: 0 0 5px 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .site-nav-item.is-open .site-nav-dropdown, .site-nav-item:focus-within .site-nav-dropdown { display: grid; }
  .site-nav-dropdown a { padding: 9px 12px; font-size: 13px; }
  .nav-cta { width: 100%; margin-top: 8px; }
  .hero-content { padding-top: 150px; }
  .hero h1 { font-size: clamp(52px, 10.5vw, 90px); line-height: 1; }
  .hero--home .hero-content { padding-top: 185px; }
  .hero--home h1 { max-width: 1120px; font-size: clamp(50px, 8.8vw, 84px); line-height: 1; }
  .hero--home .hero-footer { bottom: 82px; }
  .hero--home .hero-orb { bottom: -24px; }
  .intro-grid, .loop-wrap, .contact-grid, .detail-layout, .news-feature { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-statement { position: static; }
  .detail-aside { position: static; }
  .loop { max-width: 460px; }
  .section-heading--split { display: block; }
  .section-heading--split p { margin-top: 24px; }
  .case-card, .case-card:nth-child(1), .case-card:nth-child(4) { grid-column: span 6; }
  .news-feature img { height: 330px; }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; --radius: 20px; }
  .site-header-inner { padding-left: 12px; }
  .brand img { height: 35px; }
  .hero, .hero--home { min-height: 760px; }
  .hero-content { padding: 130px 0 38px; }
  .hero h1 { max-width: 8ch; font-size: clamp(48px, 14vw, 78px); line-height: 1.04; }
  .hero-script { max-width: 12ch; font-size: 25px; line-height: 1.2; }
  .hero-footer { align-items: start; flex-direction: column; margin-top: 35px; }
  .round-cta { width: 112px; height: 112px; font-size: 11px; }
  .round-cta::after { right: 18px; bottom: 15px; }
  .hero--home .hero-content { padding: 145px 0 120px; }
  .hero--home .hero-kicker { max-width: 300px; font-size: 10px; line-height: 1.55; }
  .hero--home h1 { max-width: 9ch; font-size: clamp(48px, 13vw, 70px); line-height: 1.04; }
  .hero--home .hero-script { margin-top: 20px; font-size: 24px; }
  .hero--home .hero-footer { right: 0; bottom: 78px; left: 0; }
  .hero--home .hero-footer p { max-width: 230px; font-size: 11px; line-height: 1.75; }
  .hero--home .hero-orb { bottom: -24px; width: 118px; height: 118px; padding: 16px; font-size: 11px; }
  .hero--home .hero-orb::after { right: 18px; bottom: 15px; font-size: 16px; }
  .hero--home .hero-mountain--far { right: -38%; bottom: -24%; left: -38%; height: 68%; }
  .hero--home .hero-mountain--mid { right: -28%; bottom: -17%; left: -28%; height: 60%; }
  .hero--home .hero-mountain--near { right: -18%; bottom: -12%; left: -18%; height: 52%; }
  .page-hero { min-height: 630px; }
  .page-hero .hero-content { padding-bottom: 40px; }
  .section { padding: 78px 0; }
  .section-heading h2 { font-size: clamp(40px, 11vw, 62px); line-height: 1.08; }
  .intro-grid .display { font-size: clamp(40px, 11.5vw, 62px); line-height: 1.1; }
  .card-grid, .card-grid--2, .card-grid--4 { grid-template-columns: 1fr; }
  .image-card { min-height: 330px; }
  .service-card { min-height: 440px; }
  .service-card h3 { font-size: 32px; line-height: 1.15; }
  .loop-wrap { gap: 55px; }
  .loop { width: min(330px, 100%); }
  .loop-point { width: 88px; font-size: 10px; }
  .loop-center { font-size: 25px; line-height: 1.15; }
  .step { grid-template-columns: 45px 1fr; gap: 12px; }
  .step h3 { font-size: 25px; line-height: 1.25; }
  .case-card, .case-card:nth-child(1), .case-card:nth-child(4) { grid-column: span 12; min-height: 390px; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-tile { min-height: 70px; }
  .cta-panel { min-height: 430px; align-items: start; flex-direction: column; }
  .cta-panel h2 { font-size: 60px; line-height: 1.06; }
  .contact-list a, .contact-list div { display: grid; gap: 5px; }
  .contact-list strong { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .form-submit { align-items: start; flex-direction: column; }
  .news-item { grid-template-columns: 1fr auto; gap: 8px 15px; }
  .news-date { grid-column: 1 / -1; }
  .news-item p { grid-column: 1 / -1; }
  .news-feature img { height: 250px; }
  .footer-grid { align-items: start; flex-direction: column; }
  .footer-meta { text-align: left; }
  .back-top { right: 16px; bottom: 16px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .case-card img { clip-path: none; filter: none; }
  .case-card::before { display: none; }
  body[data-page="news"] .news-list .news-item.reveal,
  body[data-page="news"] .news-list .news-item.reveal.is-visible { transform: none; }
  body[data-page="news"] .page-hero .hero-script { transform: none; }
}

/* Business capability cards begin as a compact circular cluster and return to the source grid on scroll. */
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .section--round-top .card-grid.business-card-stack {
  position: relative;
  isolation: isolate;
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .section--round-top .card-grid.business-card-stack > :is(.service-card, .info-card) {
  --core-card-hover-y: 0px;
  z-index: 2;
  border-radius: var(--core-card-radius, var(--radius));
  transform: translate3d(var(--core-card-x, 0px), calc(var(--core-card-y, 0px) + var(--core-card-hover-y, 0px)), 0) scaleX(var(--core-card-scale-x, 1)) scaleY(var(--core-card-scale-y, 1)) rotate(var(--core-card-rotate, 0deg));
  transition: transform .1s linear, border-radius .16s ease-out;
  will-change: transform, border-radius;
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .section--round-top .card-grid.business-card-stack > :is(.service-card, .info-card):nth-child(2) { z-index: 3; }
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .section--round-top .card-grid.business-card-stack > .info-card:hover { --core-card-hover-y: -10px; }
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .section--round-top .card-grid.business-card-stack .service-card-body,
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .section--round-top .card-grid.business-card-stack > .info-card > * {
  opacity: var(--core-card-content-opacity, 1);
  transition: opacity .18s ease-out;
}

/* Business flow sections reveal their green surface from a fixed upper-right orb. */
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section {
  --delivery-orb-scale: 1;
  --delivery-text-split: 100%;
  --delivery-border-progress: 0%;
  position: relative;
  isolation: isolate;
  overflow: clip;
  background: var(--paper);
  color: var(--ink);
}
body[data-page="ai-interaction"] main > #loop.delivery-orb-section {
  --delivery-orb-color: var(--deep-green);
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: clamp(90px, 9vw, 124px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--delivery-orb-color, var(--green));
  transform: scale(var(--delivery-orb-scale));
  transform-origin: 50% 50%;
  pointer-events: none;
  will-change: transform;
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section > .container {
  position: relative;
  z-index: 1;
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section .process {
  position: relative;
  z-index: 1;
  color: var(--ink);
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section :is(.section-heading h2, .process-statement h2, .step h3, .info-card h3, .loop-copy h3, .loop-center, .loop-point) {
  --delivery-text-split: 100%;
  color: var(--ink);
  background-image: linear-gradient(90deg, var(--ink) 0 var(--delivery-text-split), var(--white) var(--delivery-text-split) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section :is(.section-heading p, .process-statement p, .step p, .info-card p, .loop-copy p) {
  --delivery-text-split: 100%;
  color: var(--ink-soft);
  background-image: linear-gradient(90deg, var(--ink-soft) 0 var(--delivery-text-split), rgba(255, 253, 249, .68) var(--delivery-text-split) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section .section-heading h2 em {
  color: var(--coral);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: var(--coral);
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section .info-card {
  border-color: var(--line);
  border-color: color-mix(in srgb, var(--line) calc(100% - var(--delivery-border-progress)), var(--line-light) var(--delivery-border-progress));
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section .step {
  border-top-color: rgba(13, 53, 46, .18);
  border-top-color: color-mix(in srgb, rgba(13, 53, 46, .18) calc(100% - var(--delivery-border-progress)), rgba(255, 255, 255, .22) var(--delivery-border-progress));
}
body:is([data-page="new-media"], [data-page="project"], [data-page="ai-interaction"]) main > .delivery-orb-section .step:last-child {
  border-bottom-color: rgba(13, 53, 46, .18);
  border-bottom-color: color-mix(in srgb, rgba(13, 53, 46, .18) calc(100% - var(--delivery-border-progress)), rgba(255, 255, 255, .22) var(--delivery-border-progress));
}
body[data-page="ai-interaction"] main > #loop.delivery-orb-section .loop {
  border-color: rgba(13, 53, 46, .25);
  border-color: color-mix(in srgb, rgba(13, 53, 46, .25) calc(100% - var(--delivery-border-progress)), rgba(255, 255, 255, .25) var(--delivery-border-progress));
}

@media (min-width: 992px) {
  /* Match the reference homepage: consume the service cards as a sticky stack before leaving the section. */
  html[data-leifei-brand="true"] .services-section .begleitung-services-container {
    position: relative;
    z-index: 10;
  }
  html[data-leifei-brand="true"] .services-section .begl-service-card {
    position: sticky;
    top: 100px;
    z-index: 1;
  }
  html[data-leifei-brand="true"] .services-section .begl-service-card:nth-child(2) { z-index: 2; }
  html[data-leifei-brand="true"] .services-section .begl-service-card:nth-child(3) { z-index: 3; }
  html[data-leifei-brand="true"] .services-section .begl-service-card:nth-child(4) { z-index: 4; }
  html[data-leifei-brand="true"] .services-section .begl-service-card.three .image-8._03 {
    translate: 0 clamp(32px, 5vw, 56px);
  }
  html[data-leifei-brand="true"] .services-section .begl-service-card.four .image-8._04 {
    transform: scaleX(-1) scale(1.08) translateY(12px);
    transform-origin: center center;
  }
  html[data-leifei-brand="true"] .services-section .begl-service-card.four .services-text-wrapper {
    position: absolute;
    top: 80px;
    right: 32px;
    bottom: auto;
    left: auto;
    z-index: 2;
  }

  html[data-leifei-brand="true"] #sign-section .postsign-wrapper {
    height: calc(150vh + 360px) !important;
  }
}

@media (max-width: 900px) {
  .platform-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .platform-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .platform-tile { min-height: 132px; gap: 12px; padding: 20px 12px; }
  .platform-tile img { width: min(100%, 128px); max-height: 52px; }
  .platform-tile span { font-size: 11px; letter-spacing: .03em; }
  .admin-login-frame { height: 720px; }
}

.pointer-effect-layer {
  position: fixed;
  z-index: 999;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.pointer-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.pointer-ripple {
  position: absolute;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid rgba(239, 179, 0, .92);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(239, 179, 0, .2), 0 0 18px rgba(239, 179, 0, .24);
  animation: pointer-ripple .62s cubic-bezier(.2, .72, .25, 1) forwards;
}
.pointer-ripple::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #efb300;
  box-shadow: 0 0 10px rgba(239, 179, 0, .58);
}
.pointer-pressed { filter: brightness(1.08); }
.case-card:hover {
  box-shadow: 0 16px 34px rgba(13, 53, 46, .22), 0 0 0 1px rgba(239, 179, 0, .34);
}
@keyframes pointer-ripple {
  0% { opacity: .95; transform: scale(.35); }
  65% { opacity: .52; }
  100% { opacity: 0; transform: scale(3.8); }
}
@media (prefers-reduced-motion: reduce) {
  .pointer-effect-layer { display: none; }
  .pointer-pressed { filter: none; }
  .case-card:hover { box-shadow: none; }
}

/* Case cards fan out from a compact arc while the case section enters the viewport. */
body[data-page="cases"] .case-arc-wall {
  position: relative;
  isolation: isolate;
}
body[data-page="cases"] .case-arc-wall .case-card {
  --case-card-x: 0px;
  --case-card-y: 0px;
  --case-card-scale: 1;
  --case-card-rotate: 0deg;
  --case-card-content-opacity: 1;
  position: relative;
  z-index: var(--case-card-z, 1);
  transform: translate3d(var(--case-card-x), var(--case-card-y), 0) scale(var(--case-card-scale)) rotate(var(--case-card-rotate));
  transform-origin: 50% 50%;
  transition: opacity .75s ease, transform .12s linear, box-shadow .35s ease;
  will-change: transform;
}
body[data-page="cases"] .case-arc-wall .case-card-body {
  opacity: var(--case-card-content-opacity);
  transition: opacity .28s ease;
}
body[data-page="cases"] .case-arc-wall .case-card:hover,
body[data-page="cases"] .case-arc-wall .case-card:focus-visible {
  z-index: 20;
}
body[data-page="cases"] .case-arc-wall .case-card:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 5px;
}

@media (max-width: 700px) {
  body[data-page="cases"] .case-arc-wall .case-card {
    transition: opacity .75s ease, transform .18s linear, box-shadow .35s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="cases"] .case-arc-wall .case-card {
    transform: none;
  }
  body[data-page="cases"] .case-arc-wall .case-card-body {
    opacity: 1;
  }
}

/* Homepage: keep the forest scene pinned while its side foliage opens into resources. */
html[data-leifei-brand="true"].bushes-scroll-locked,
html[data-leifei-brand="true"].bushes-scroll-locked body {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none !important;
}
html[data-leifei-brand="true"] .about-section .bushes-sticky-wrapper {
  --bushes-transition-distance: 0px;
  position: relative !important;
  z-index: 5;
  height: calc(100vh + var(--bushes-transition-distance)) !important;
  min-height: calc(100vh + var(--bushes-transition-distance)) !important;
  padding: 0 !important;
  overflow: visible !important;
  background: #021310 !important;
}
html[data-leifei-brand="true"] .about-section .bushes-sticky-wrapper > .sticky-bushes-trigger {
  position: relative !important;
  height: 100% !important;
  min-height: 0 !important;
}
html[data-leifei-brand="true"] .about-section .bushes-sticky-trigger {
  position: relative !important;
  height: 100% !important;
  min-height: 0 !important;
}
html[data-leifei-brand="true"] .about-section .bushes-sticky-trigger .div-block-73 {
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  min-height: 100vh !important;
  overflow: hidden !important;
  isolation: isolate;
}
html[data-leifei-brand="true"] .about-section .bushes-sticky-wrapper.bushes-transition-complete .div-block-73 {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
html[data-leifei-brand="true"] .about-section .bushes-sticky-trigger .bushes-image-left,
html[data-leifei-brand="true"] .about-section .bushes-sticky-trigger .div-block-74 {
  will-change: transform;
}
html[data-leifei-brand="true"] .resouce-section {
  position: relative !important;
  z-index: 6;
  margin-top: -100vh !important;
  background-color: #031310 !important;
  opacity: var(--bushes-resource-opacity, 0);
  pointer-events: none;
}
html[data-leifei-brand="true"] .resouce-section.bushes-resource-stage {
  position: fixed !important;
  inset: 0 !important;
  z-index: 6;
  width: 100% !important;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0 !important;
  overflow: hidden !important;
  will-change: opacity;
}
html[data-leifei-brand="true"] .resouce-section.bushes-resource-stage .resource-container {
  width: 100% !important;
  min-height: 100vh;
}
html[data-leifei-brand="true"] .resouce-section .image-15 {
  z-index: 0 !important;
  pointer-events: none !important;
}
html[data-leifei-brand="true"] .resouce-section .image-77 {
  z-index: 1 !important;
  pointer-events: none !important;
}
html[data-leifei-brand="true"] .resouce-section .resource-container > .image-77 {
  bottom: auto !important;
}
html[data-leifei-brand="true"] .resouce-section .resource-container {
  z-index: 2 !important;
  width: 100% !important;
  max-width: none !important;
}
html[data-leifei-brand="true"] .resouce-section .heading-container.resource {
  width: min(100%, 1920px) !important;
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1200px) {
  html[data-leifei-brand="true"] .resouce-section .resource-sticky-wrapper {
    width: 100%;
  }
  html[data-leifei-brand="true"] .resouce-section .heading-container-left {
    width: 46%;
    flex: 0 1 46%;
    transform: translateX(clamp(-5rem, -4vw, -2rem));
  }
  html[data-leifei-brand="true"] .resouce-section .div-block-39 {
    width: 54%;
    flex: 0 1 54%;
  }
  html[data-leifei-brand="true"] .resouce-section .div-block-40 {
    padding: clamp(2.75rem, 2vw, 3.25rem);
  }
}
html[data-leifei-brand="true"] .resouce-section .resource-sticky-wrapper {
  position: relative !important;
  z-index: 3 !important;
  isolation: isolate;
}
html[data-leifei-brand="true"] .resouce-section.bushes-resource-revealed {
  pointer-events: auto;
}
