/* Wanglong Studio v12.3 — typography and visual hierarchy only.
   Keeps original navigation, cards, forms and backend functionality intact.
   Loaded after studio-v12.css and studio-v12.1-fixes.css. */
:root {
  --type-display: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  --type-body: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  --type-technical: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, monospace;
  --type-ink:#18263e;
  --type-sub:#566780;
  --type-blue:#315ec8;
}
body {
  font-family:var(--type-body);
  font-size:15px;
  line-height:1.72;
  font-weight:450;
  color:var(--type-ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4,strong,b,.brand,.button,.filter-chip,.nav-links a { font-family:var(--type-display); }
h1,h2,h3,h4 { color:var(--type-ink); font-synthesis:weight; }
h1,h2,h3 { text-wrap:balance; }
p { letter-spacing:.008em; }
/* Navigation: sturdy labels, without making the header dense. */
.nav-links a {font-size:13px; font-weight:650; letter-spacing:.012em;}
.nav-links .nav-contact {font-weight:800;}
.brand>span {font-weight:850; letter-spacing:-.035em;}
.brand small {font-family:var(--type-technical);font-weight:700;letter-spacing:.11em;}
/* First-fold statement — two distinctly styled heading lines; text remains editable in backend. */
.hero {position:relative; isolation:isolate; padding-top:60px; padding-bottom:55px;}
.hero::before {content:"";position:absolute;z-index:-1;pointer-events:none;left:50%;top:4%;transform:translateX(-50%);width:min(1060px,98vw);height:82%;background:radial-gradient(ellipse at 51% 24%,rgba(64,100,183,.09),transparent 63%);}
.hero .hero-kicker {font-family:var(--type-technical);font-size:11px;font-weight:800;letter-spacing:.09em;color:#a75b33;padding:8px 17px;margin-bottom:27px;}
.hero h1 {max-width:1020px;margin:0 auto 23px; font-family:var(--type-display);font-size:clamp(45px,4.65vw,68px);font-weight:900;letter-spacing:-.052em;line-height:1.25;}
.hero-title-line {display:block;}
.hero h1>.hero-title-line:not(.hero-title-focus) {color:#182a43;}
.hero-title-line+.hero-title-line {margin-top:5px;}
.hero-title-line.hero-title-focus {background:linear-gradient(110deg,#16407f 3%,#315dbe 48%,#405cbb 88%);-webkit-background-clip:text;background-clip:text;color:#3156aa;-webkit-text-fill-color:transparent;}
.hero>p {max-width:750px;margin:0 auto 30px;font-size:16px;line-height:1.86;font-weight:500;color:#566882;letter-spacing:.015em;}
.hero-actions-three .button {font-size:14px;font-weight:800;letter-spacing:.012em;min-height:49px;}
.hero-topics>span {font-weight:650;font-size:11px;color:#62748b;padding:6px 14px;}
/* Section headings: generous type, editorial accent, consistent hierarchy. */
.eyebrow,.project-label,.hero-kicker,.service-category {font-family:var(--type-technical);}
.eyebrow {display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:11px;font-weight:800;letter-spacing:.15em;color:#c46c41;}
.eyebrow::before {content:"";display:inline-block;width:17px;height:2px;border-radius:4px;background:#dc7b49;}
.section-heading {margin-bottom:30px;}
.section-heading h2,.split-heading h2 {font-size:clamp(29px,2.8vw,40px);font-weight:850;line-height:1.3;letter-spacing:-.045em;color:#17273e;margin:12px 0 12px;}
.section-heading h2::after {content:"";display:block;width:36px;height:4px;margin:15px auto 0;border-radius:8px;background:linear-gradient(90deg,#ed8a52,#416ad4);}
.section-heading p,.split-heading p {font-size:15px;line-height:1.85;font-weight:480;color:#66768d;max-width:720px;margin-left:auto;margin-right:auto;}
.split-heading h2 {max-width:760px;}
/* Controls / chips — they are now identifiable at a glance. */
.filter-chip {font-size:13px;font-weight:750;letter-spacing:.01em;}
.filter-chip.active {font-weight:850;}
.service-search input {font-weight:500;}
.button,.text-button,.service-card .card-link {font-weight:800;letter-spacing:.015em;}
/* Service cards — title should be the visual anchor, not the icon. */
.service-card {position:relative;overflow:hidden;}
.service-card::before {content:"";position:absolute;left:24px;right:24px;top:0;height:3px;opacity:.65;border-radius:0 0 4px 4px;background:linear-gradient(90deg,#3565bf,#ef925e);transform:scaleX(.22);transform-origin:left;transition:transform .3s ease,opacity .3s ease;}
.service-card:hover::before,.service-card:focus-within::before {transform:scaleX(1);opacity:1;}
.core-services .service-category,.service-category {font-size:11px;font-weight:750;letter-spacing:.028em;color:#78869a;}
.core-services .service-card h3,.service-card h3 {font-size:21px;font-weight:850;line-height:1.42;letter-spacing:-.035em;margin-top:10px;white-space:normal;overflow-wrap:anywhere;}
.core-services .service-card>p,.service-card>p {font-size:14.5px;line-height:1.76;font-weight:500;color:#586b83;min-height:0;}
.service-tags>span {font-size:11px;font-weight:650;line-height:1.5;}
.service-card .card-link {font-size:13px;}
.service-cta strong {font-size:17px;font-weight:850;color:#243954;}
.service-cta>div>span {font-size:13px;font-weight:500;}
.supporting-services>span {font-weight:800;font-size:14px;}
.capability-links a {font-weight:700;}
/* Case studies and process cards. */
.project-label {font-size:11px;font-weight:800;letter-spacing:.09em;color:#a56d51;}
.project-info h3 {font-size:23px;font-weight:850;line-height:1.35;letter-spacing:-.035em;}
.project-info p {font-size:14px;line-height:1.8;font-weight:480;color:#697b8f;}
.project-info a {font-size:13px;font-weight:800;}
.work-mode h3 {font-size:18px;font-weight:850;line-height:1.42;letter-spacing:-.025em;}
.work-mode p,.value-card p {font-size:14px;line-height:1.75;font-weight:480;color:#68788b;}
.value-card h3 {font-size:19px;font-weight:850;letter-spacing:-.03em;line-height:1.42;}
.tool-card h3 {font-size:17px;font-weight:800;}
.tool-card p {font-size:13px;line-height:1.75;}
/* About / contact / FAQ / detail pages share the same type system. */
.contact-copy h2,.faq-layout h2 {font-size:clamp(32px,3.6vw,47px);line-height:1.36;font-weight:900;letter-spacing:-.052em;}
.contact-copy>p {font-size:16px;line-height:1.84;font-weight:480;}
.contact-card strong {font-weight:850;letter-spacing:-.02em;}
.faq-list summary {font-size:15px;font-weight:750;line-height:1.55;color:#34445d;}
.faq-list details p {font-size:14px;line-height:1.85;}
.detail-title h1,.studio-catalog h1,.studio-request-page h1 {font-size:clamp(31px,3.2vw,45px);font-weight:900;line-height:1.35;letter-spacing:-.045em;}
.detail-title>p {font-size:15px;font-weight:480;line-height:1.85;}
.detail-block h2,.inquiry-card h2 {font-size:23px;font-weight:850;line-height:1.4;}
.detail-block li,.check-list li {font-size:14px;line-height:1.8;}
.studio-packages h3 {font-size:19px;font-weight:800;}
/* Keep form entry legible while elevating labels, do not override focus styling. */
.brief-form label,.brief-form label>span {font-weight:700!important;font-size:14px!important;}
.brief-form label input:not([type=checkbox]),.brief-form label select,.brief-form label textarea {font-weight:500!important;}
.brief-form .button[type=submit] {font-weight:850;}
/* Tablet */
@media(max-width:960px){
  .nav-links a{font-size:14px;}
  .hero{padding-top:49px;}
  .hero h1{font-size:clamp(38px,5.5vw,55px);}
  .section-heading h2,.split-heading h2{font-size:32px;}
  .core-services .service-card h3,.service-card h3{font-size:19px;}
  .project-info h3{font-size:20px;}
}
/* Phone, especially iOS and Android: no 10px body copy, no forced no-wrap headings. */
@media(max-width:600px){
  body{font-size:14px;line-height:1.7;}
  .hero{padding-top:43px;padding-bottom:37px;}
  .hero::before{top:10%;height:75%;}
  .hero .hero-kicker{font-size:10px;letter-spacing:.065em;line-height:1.4;padding:7px 12px;margin-bottom:23px;}
  .hero h1{font-size:clamp(31px,8.7vw,39px);letter-spacing:-.05em;line-height:1.32;margin-bottom:19px;}
  .hero-title-line {white-space:normal;overflow-wrap:normal;}
  .hero-title-line+.hero-title-line{margin-top:7px;}
  .hero>p{font-size:14px;line-height:1.83;font-weight:500;max-width:480px;margin-bottom:24px;}
  .hero-actions-three .button {font-size:12px;min-height:46px;font-weight:800;}
  .hero-topics>span {font-size:10px;font-weight:700;padding:5px 10px;}
  .eyebrow {font-size:10px;letter-spacing:.11em;}
  .section-heading h2,.split-heading h2{font-size:29px;line-height:1.32;letter-spacing:-.042em;margin-top:11px;}
  .section-heading h2::after{height:3px;margin-top:12px;}
  .section-heading p,.split-heading p{font-size:13.5px;line-height:1.8;}
  .section-heading{margin-bottom:23px;}
  .filter-chip{font-size:12px;font-weight:750;}
  .core-services .service-card {padding:19px 14px;}
  .service-card::before{left:14px;right:14px;transform:scaleX(.4);}
  .core-services .service-category,.service-category{font-size:10px;font-weight:750;line-height:1.5;letter-spacing:0;}
  .core-services .service-card h3,.service-card h3{font-size:17px;line-height:1.45;font-weight:850;letter-spacing:-.025em;white-space:normal;margin-top:9px;}
  .service-grid.core-services .service-card>p,.service-card>p{font-size:13.5px;line-height:1.72;min-height:0;font-weight:500;color:#596a81;}
  .service-tags>span{font-size:10px;}
  .service-card .card-link{font-size:12px;font-weight:850;}
  .service-cta strong{font-size:16px;}
  .project-info h3{font-size:20px;}
  .project-info p{font-size:13px;}
  .project-label{font-size:10px;}
  .work-mode h3{font-size:17px;}
  .work-mode p,.value-card p,.about-note p{font-size:13px;line-height:1.76;}
  .value-card h3{font-size:18px;}
  .tool-card h3{font-size:16px;}
  .tool-card p,.workflow p{font-size:12px;line-height:1.75;}
  .contact-copy h2,.faq-layout h2{font-size:34px;}
  .contact-copy>p{font-size:14px;}
  .faq-list summary{font-size:14px;}
  .detail-title h1,.studio-catalog h1,.studio-request-page h1{font-size:31px;}
  .detail-block h2,.inquiry-card h2{font-size:21px;}
  .detail-block li,.check-list li{font-size:13px;}
  .brief-form label,.brief-form label>span{font-size:13px!important;}
}
@media(max-width:380px){
  .hero h1{font-size:clamp(29px,8.3vw,32px);}
  .core-services .service-card h3,.service-card h3{font-size:16px;}
  .hero-actions-three .button{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){.service-card::before{transition:none;}}
