html, body { background-color: var(--base); color: var(--ink); }

:root {
  color-scheme: light;
  --ink: #152a45;
  --muted: #4d5c6a;
  --accent: #b84a24;
  --orange: #d65b2c;
  --logo-orange: #f0a85c;
  --focus-glow: 0 0 0 2px rgb(235 126 46 / 40%), 0 0 16px rgb(222 100 28 / 48%);
  --base: #fbfaf7;
  --ground: #f4f0e9;
  --line: #dfd8ce;
  --white: #fff;
  --on-accent: #fff;
  --action: #b84a24;
  --action-hover: #9f3e1e;
  --outline: #d8cfc2;
  --outline-hover: #ac9f8f;
  --header-bg: #fbfaf7f5;
  --tab-hover: #ffffff8c;
  --tab-selected: #ffffffd9;
  --map-ground: #e8eff6;
  --spotlight-tint: #885033;
  --spotlight-base: #62676d;
  --card-line: #e6ded3;
  --card-shadow: 0 2px 3px -1px rgb(41 32 22 / 11%), 0 16px 26px -14px rgb(41 32 22 / 25%);
  --card-shadow-raised: 0 4px 7px -3px rgb(41 32 22 / 15%), 0 22px 32px -15px rgb(41 32 22 / 30%);
  --header: 76px;
  --gutter: clamp(20px, 5vw, 72px);
  --motion-cycle: 5s;
  --ease: cubic-bezier(.2,.75,.2,1);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  font-synthesis: none;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 14px);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e5edf4;
  --muted: #b2bfcb;
  --accent: #f0ab77;
  --orange: #eb8b50;
  --base: #13191f;
  --ground: #171f27;
  --line: #36434f;
  --white: #1e2730;
  --outline: #566579;
  --outline-hover: #8194a8;
  --header-bg: #13191ff2;
  --tab-hover: #26323d;
  --tab-selected: #2a3945;
  --map-ground: #1b242b;
  --spotlight-tint: #edb184;
  --spotlight-base: #a2afbd;
  --card-line: #36434f;
  --card-shadow: 0 2px 3px -1px #0008, 0 16px 26px -14px #0009;
  --card-shadow-raised: 0 4px 7px -3px #0008, 0 22px 32px -15px #000b;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: linear-gradient(180deg, var(--base) 0%, var(--ground) 57%, var(--base) 100%); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.75; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1248px); margin-inline: auto; }
.skip-link { position: fixed; z-index: 30; inset: 12px auto auto var(--gutter); transform: translateY(-160%); padding: 12px 16px; background: var(--white); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 10; top: 0; background: var(--header-bg); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); }
.header-row { min-height: var(--header); display: grid; grid-template-columns: minmax(max-content, 1fr) auto minmax(max-content, 1fr); align-items: center; gap: 22px; }
.brand, .footer-brand { display: inline-flex; justify-self: start; align-items: center; gap: 10px; font-weight: 750; }
.brand { font-size: 24px; letter-spacing: .08em; }
.brand img, .footer-brand img { flex: none; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: clamp(6px, 1vw, 14px); }
.site-nav a { position: relative; display: grid; place-items: center; min-height: 44px; padding: 0 10px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .2s; }
.site-nav a::after { content: ''; position: absolute; inset: auto 10px 5px; height: 2px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--ink); }
.site-nav a:hover::after, .site-nav a[aria-current]::after { transform: scaleX(1); }
.header-tools { justify-self: end; display: flex; align-items: center; gap: 8px; }
.theme-choice {
  min-height: 44px;
  padding: 0 8px 0 10px;
  border: 1px solid var(--outline);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.theme-choice:hover { border-color: var(--outline-hover); }
.menu-toggle { display: none; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: .8em; min-height: 46px; padding: 0 16px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 720; white-space: nowrap; transition: transform .22s var(--ease), background .22s, border-color .22s; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button-primary { color: var(--on-accent); background: var(--action); padding-inline: 20px; }
.button-primary:hover { background: var(--action-hover); }
.button-outline { border-color: var(--outline); }
.button-outline:hover { background: var(--white); border-color: var(--outline-hover); }
.text-link { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 12px; font-size: 14px; font-weight: 720; }
.text-link span { transition: transform .22s var(--ease); }
.text-link:hover span { transform: translateY(4px); }

.hero { display: grid; align-items: center; min-height: calc(100svh - var(--header)); }
.hero-wrap { padding-block: clamp(46px, 8vh, 96px) 30px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: center; gap: clamp(30px, 4.2vw, 72px); }
.section-label { color: var(--accent); font-size: 14px; font-weight: 650; line-height: 1.5; margin-bottom: 12px; }
.hero h1 { font-size: clamp(42px,4.5vw,66px); line-height: 1.22; letter-spacing: -.045em; font-weight: 720; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lede { margin-top: 24px; max-width: 29em; color: var(--muted); font-size: clamp(16px,1.2vw,18px); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; }
.hero-visual { min-width: 0; border-radius: 18px; overflow: hidden; }
.visual-header { display: flex; min-height: 48px; align-items: center; padding: 4px 20px; border-bottom: 1px solid var(--line); }
.visual-header p { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.signal { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-flow { width: 100%; height: auto; }
.hero-assets { display: flex; align-items: center; gap: 16px 28px; min-height: 58px; margin-top: clamp(36px, 7vh, 76px); padding-top: 10px; border-top: 1px solid var(--line); }
.hero-assets > span { color: var(--muted); font-size: 13px; font-weight: 660; flex: none; }
.hero-asset-links { display: flex; gap: 6px clamp(16px,3vw,48px); flex-wrap: wrap; }
.hero-assets a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; }
.hero-assets a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .35em; }
.section { padding-block: clamp(56px, 7vw, 100px); }
.section > .wrap { position: relative; }
.section > .wrap::before { content: ''; position: absolute; top: calc(-1 * clamp(29px, 4vw, 53px)); inset-inline: 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 12px; margin-bottom: clamp(24px, 3vw, 40px); }
.section-head h2 { font-size: clamp(29px,3.25vw,48px); line-height: 1.26; letter-spacing: -.035em; font-weight: 700; }
.section-head > p, .intro-copy { font-size: 16px; color: var(--muted); max-width: 35em; }
.about-intro { display: grid; grid-template-columns: minmax(0,1.13fr) minmax(0,.87fr); align-items: center; gap: 24px clamp(28px,4.5vw,72px); margin-bottom: clamp(36px,5vw,68px); }
.about-visual { border-radius: 16px; }
.about-visual img { width: 100%; height: auto; border-radius: inherit; }
.intro-copy { max-width: 33em; }
.intro-copy p + p { margin-top: 12px; }
.source-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.source-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--accent); font-size: 13px; font-weight: 680; }
.source-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.org-heading { display: flex; gap: 4px 16px; align-items: baseline; flex-wrap: wrap; margin-bottom: 16px; }
.org-heading h3 { font-size: 24px; }
.org-heading p { color: var(--muted); font-size: 14px; }

.hero-visual, .about-visual, .org-chart, .service-card, .solution-shell, .partner-card, .contact-card, .map-card {
  border: 1px solid var(--card-line);
  background: var(--white);
  box-shadow: var(--card-shadow);
}
.hero-visual, .org-chart, .solution-shell, .map-card { box-shadow: var(--card-shadow-raised); }

@media (prefers-reduced-motion: no-preference) {
  [data-card-tilt] { transition: transform .26s var(--ease), box-shadow .26s var(--ease); }
  [data-card-tilt].is-tilted {
    transform: perspective(1100px) translateZ(4px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    box-shadow: var(--card-shadow-raised);
  }
}

.services-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.service-card { padding: clamp(16px,2.1vw,28px); border-radius: 14px; }
.service-card img { width: 100%; height: auto; margin-bottom: 16px; border: 1px solid var(--card-line); border-radius: 8px; background: var(--base); }
.service-card h3, .partner-card h3 { font-size: clamp(20px,1.65vw,24px); line-height: 1.4; font-weight: 680; }
.service-card p, .partner-card p { max-width: 28em; color: var(--muted); font-size: 16px; margin-top: 8px; }

#features { position: relative; }
.anchor-alias { position: absolute; inset: 0 auto auto 0; }
.solution-shell { border-radius: 16px; overflow: hidden; }
.solution-panels { position: relative; isolation: isolate; overflow: clip; }
.solution-panels .panel-leaving { position: absolute; inset: 0 0 auto; z-index: 1; pointer-events: none; }
.solution-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); padding: 6px 12px 0; border-bottom: 1px solid var(--line); background: var(--base); }
.solution-tabs button { position: relative; min-height: 54px; padding: 7px 9px; border: 0; color: var(--muted); background: transparent; font-size: 15px; font-weight: 680; transition: color .2s, background-color .2s; }
.solution-tabs button::after { content: ''; position: absolute; right: 10px; left: 10px; bottom: 0; height: 2px; background: var(--orange); opacity: 0; transform: scaleX(.55); transition: opacity .2s, transform .2s var(--ease); }
.solution-tabs button:hover { background: var(--tab-hover); }
.solution-tabs button[aria-selected="true"] { color: var(--accent); background: var(--tab-selected); border-radius: 7px 7px 0 0; }
.solution-tabs button[aria-selected="true"]::after { opacity: 1; transform: scaleX(1); }
.solution-tabs button:focus-visible, .solution-panel:focus-visible { outline-offset: -4px; }
.solution-panel { display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); align-items: center; gap: 36px; padding: clamp(24px,4vw,54px); min-height: 310px; }
.solution-copy h3 { font-size: clamp(24px,2.6vw,36px); line-height: 1.35; letter-spacing: -.03em; }
.solution-copy p { max-width: 30em; color: var(--muted); font-size: 16px; margin-block: 12px 20px; }
.solution-focus { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); color: var(--accent); font-size: 14px; font-weight: 650; }
.solution-focus b { color: var(--ink); }
.solution-visual { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--base); }
.solution-visual img { width: 100%; height: auto; }
.solution-compact { margin-top: 24px; }
.solution-compact .solution-tabs { grid-template-columns: repeat(9,minmax(0,1fr)); padding-top: 0; }
.solution-compact .solution-tabs button { min-height: 46px; }
.solution-compact .solution-panel { grid-template-columns: minmax(0,1fr) minmax(0,360px); gap: 20px; min-height: 0; padding: 16px 28px; background: var(--white); }
.solution-compact .solution-copy h3 { font-size: clamp(19px,2vw,25px); }
.solution-compact .solution-copy p { font-size: 15px; margin-block: 4px 0; }
.solution-compact .solution-visual img { aspect-ratio: 360 / 108; }

.partners-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.partner-card { display: grid; align-content: start; gap: 20px; padding: clamp(16px,2vw,24px); border-radius: 14px; }
.partner-card img { width: 100%; height: auto; border: 1px solid var(--card-line); border-radius: 8px; background: var(--base); }
.contact-grid { display: grid; grid-template-columns: minmax(0,.91fr) minmax(0,1.09fr); gap: 20px; }
.contact-people { display: grid; gap: 16px; }
.contact-card, .map-card { border-radius: 14px; overflow: hidden; }
.contact-card { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px 20px; padding: clamp(16px,2.2vw,32px); }
.contact-person { min-width: 0; }
.contact-role { color: var(--accent); font-size: 14px; font-weight: 650; }
.contact-card h3 { font-size: clamp(26px,2.6vw,36px); line-height: 1.25; margin: 4px 0 8px; }
.contact-card a { display: flex; align-items: center; width: fit-content; min-height: 44px; overflow-wrap: anywhere; }
.contact-phone { font-size: clamp(15px,1.5vw,21px); font-weight: 650; font-variant-numeric: tabular-nums; }
.contact-email { color: var(--muted); font-size: 14px; }
.contact-card a:hover { color: var(--accent); text-decoration: underline; }
.contact-qr { margin: 0; padding-inline-start: clamp(8px,1.5vw,20px); border-inline-start: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 12px; }
.contact-qr img { width: clamp(112px,10vw,132px); height: auto; margin-inline: auto; }
.contact-qr figcaption { margin-top: 4px; white-space: nowrap; }
.map-card { display: grid; grid-template-rows: 1fr auto; }
.map-body { position: relative; background: var(--map-ground); }
.map-preview { height: 100%; overflow: hidden; }
.map-preview img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; object-position: center; transform: scale(var(--map-zoom, 1)); transition: transform .28s var(--ease); }
.map-controls { position: absolute; top: 12px; right: 12px; display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--white); }
.map-controls button { width: 44px; height: 44px; font-size: 21px; border: 0; background: transparent; }
.map-controls button + button { border-top: 1px solid var(--line); }
.map-controls button:not(:disabled):hover { background: var(--base); }
.map-controls button:disabled { opacity: .4; }
.map-controls button:focus-visible { outline-offset: -4px; }
.map-credit { position: absolute; right: 6px; bottom: 5px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 28px; padding-inline: 8px; border-radius: 4px; background: var(--white); color: var(--ink); font-size: 11px; }
.map-address { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px 16px; align-items: center; padding: 16px 20px; border-top: 1px solid var(--line); }
.map-directions { border-color: #b76b3d; }
.focus-glow { transition: background-color .2s, border-color .2s, box-shadow .2s; }
.focus-glow:is(:hover, :focus-visible, :active, [aria-pressed="true"]) { box-shadow: var(--focus-glow); border-color: #854321; }
.map-directions:is(:hover, :focus-visible, :active) { background: var(--logo-orange); color: #2d2018; transform: none; }
.map-address h3 { font-size: 15px; margin-bottom: 4px; }
.map-address address { font-size: 13px; font-style: normal; color: var(--muted); line-height: 1.7; }
.site-footer { border-top: 1px solid var(--line); padding-block: 24px; }
.footer-row, .filing { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
.footer-row { justify-content: space-between; }
.footer-brand { min-height: 44px; }
.filing { color: var(--muted); font-size: 12px; }

@media (max-width: 1000px) {
  .header-row { gap: 16px; }
  .site-nav { gap: 1px; }
  .site-nav a { padding-inline: 8px; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-people { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .map-preview img { height: 360px; }
}
@media (max-width: 920px) {
  .header-row { grid-template-columns: 1fr auto; }
  .brand img { width: 34px; height: 34px; }
  .header-action { display: none; }
  .menu-toggle { display: block; min-height: 44px; min-width: 64px; border: 1px solid var(--line); background: transparent; border-radius: 8px; font-size: 14px; }
  .menu-toggle[aria-expanded="true"] { background: var(--white); }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 10px var(--gutter) 16px; background: var(--base); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .site-nav a { justify-items: start; padding-inline: 12px; }
  .site-nav a::after { right: auto; left: 12px; width: 3em; }
}
@media (max-width: 800px) {
  :root { --header: 64px; }
  .hero { align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 29px; }
  .hero-wrap { padding-top: 38px; }
  .hero h1 { font-size: clamp(39px,8vw,60px); }
  .hero-lede { margin-top: 14px; }
  .actions { margin-top: 15px; }
  .hero-assets { margin-top: 28px; }
  .about-intro { grid-template-columns: 1fr; gap: 20px; }
  .solution-compact .solution-tabs { grid-template-columns: repeat(5,minmax(0,1fr)); }
  .solution-panel { gap: 19px; padding: 23px; min-height: 260px; }
}
@media (max-width: 670px) {
  .partners-grid, .contact-people { grid-template-columns: 1fr; gap: 16px; }
  .partner-card { width: 100%; max-width: 500px; }
}
@media (max-width: 520px) {
  .brand { font-size: 21px; }
  .hero-wrap { padding-top: 32px; }
  .section-label { margin-bottom: 9px; }
  .actions { gap: 6px 18px; }
  .hero-assets { align-items: start; flex-direction: column; gap: 0; padding-top: 14px; }
  .hero-asset-links { gap: 1px 13px; }
  .visual-header { padding-left: 12px; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .solution-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 4px; gap: 2px; }
  .solution-compact .solution-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); padding-top: 4px; }
  .solution-tabs button { min-height: 45px; padding-inline: 4px; border-radius: 5px; font-size: 14px; }
  .solution-tabs button[aria-selected="true"] { border-radius: 5px; }
  .solution-panel { grid-template-columns: 1fr; min-height: auto; gap: 18px; padding: 18px; }
  .solution-compact .solution-panel { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .solution-copy p, .intro-copy, .section-head > p { font-size: 15px; }
  .map-preview img { min-height: 0; height: 275px; object-position: center; }
  .map-address { gap: 8px; padding-inline: 12px; }
  .map-directions { padding-inline: 8px; font-size: 13px; }
  .footer-row, .filing { gap: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .button:hover, .button:active, .text-link:hover span { transform: none; }
}
