/*
Theme Name: ByFlair Prism Spark Editable v1.6.8
Theme URI: https://byflair.com.au/
Author: ByFlair
Description: The bilingual ByFlair Prism Spark website with protected layouts, editable homepage content and secure enquiry templates.
Version: 1.6.8
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: byflair-prism-spark
*/

@font-face {
  font-family: "IBM Plex Sans SC";
  src: url("assets/fonts/IBMPlexSansSC-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans SC";
  src: url("assets/fonts/IBMPlexSansSC-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans SC";
  src: url("assets/fonts/IBMPlexSansSC-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans SC";
  src: url("assets/fonts/IBMPlexSansSC-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --ink: #111113;
  --paper: #ffffff;
  --soft: #f6f6f4;
  --soft-2: #ececea;
  --muted: #62636a;
  --line: #dcdce0;
  --lavender: #efedff;
  --accent: #756cf6;
  --accent-dark: #5147df;
  --accent-ink: #ffffff;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; color: var(--ink); background: var(--paper); font-family: "Archivo", Arial, sans-serif; line-height: 1.5; }
.lang-zh { font-family: "IBM Plex Sans SC", "PingFang SC", sans-serif; line-height: 1.72; }
h1, h2, h3 { font-family: "Archivo", Arial, sans-serif; }
.lang-zh h1, .lang-zh h2, .lang-zh h3 { font-family: "IBM Plex Sans SC", "PingFang SC", sans-serif; }
.lang-zh .wordmark { font-family: "Archivo", Arial, sans-serif; }
.lang-zh .brand-subtitle { font-family: "IBM Plex Mono", monospace; }
.lang-zh .eyebrow, .lang-zh .meta, .lang-zh .form-label { font-family: "IBM Plex Sans SC", "PingFang SC", sans-serif; }
.lang-zh .hero-main h1, .lang-zh .page-hero h1 { text-transform: none; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
button, input, select, textarea { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Keep the first paint calm while the brand fonts resolve. The elements retain
   their space, so the finished layout appears without visible reflow. */
.fonts-loading .site-header > *,
.fonts-loading .hero-main > *,
.fonts-loading .hero-situations { opacity: 0; }
.site-header > *, .hero-main > *, .hero-situations { transition: opacity .16s ease; }

.skip-link { position: fixed; top: 8px; left: 8px; z-index: 1000; transform: translateY(-160%); padding: 10px 14px; color: var(--accent-ink); background: var(--accent); font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 74px; display: grid; grid-template-columns: 210px 1fr auto auto; align-items: center; gap: 20px; padding: 0 28px; border-bottom: 1px solid rgba(17,17,19,.1); background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.brand-lockup { width: fit-content; display: grid; gap: 2px; align-content: center; }
.wordmark { font-size: 25px; font-weight: 900; line-height: .88; letter-spacing: 0; text-transform: uppercase; }
.brand-subtitle, .eyebrow, .meta, .form-label { font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; }
.eyebrow { font-size: 11px; line-height: 1.45; }
.hero-main > .eyebrow,
.flair-definition .eyebrow { font-size: 12px; }
.lang-zh .eyebrow { font-size: 12px; }
.lang-zh .hero-main > .eyebrow,
.lang-zh .flair-definition .eyebrow { font-size: 13px; }
.site-header nav { display: flex; justify-content: center; gap: 28px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.site-header nav a, .footer-links a, .text-link { position: relative; }
.site-header nav a::after, .footer-links a::after, .text-link::after { content: ""; position: absolute; right: 0; bottom: -5px; left: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.site-header nav a:hover::after, .site-header nav a[aria-current="page"]::after, .footer-links a:hover::after, .text-link:hover::after { transform: scaleX(1); transform-origin: left; }
.language-switch { min-height: 36px; display: inline-flex; align-items: center; padding: 0 11px; border: 1px solid var(--line); font-size: 12px; font-weight: 700; }
.language-switch:hover { background: var(--lavender); }

.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 17px; border: 1px solid var(--ink); border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; text-transform: uppercase; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; }
.button:hover { transform: translateY(-2px); }
.button.accent { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.button.accent:hover { border-color: var(--accent); color: var(--paper); background: var(--accent); }
.button.ghost:hover { border-color: var(--lavender); color: var(--ink); background: var(--lavender); }
.mobile-menu { display: none; }

.wrap { width: min(100%, var(--max)); margin: 0 auto; padding-right: 28px; padding-left: 28px; }
.section { position: relative; }
.section[id] { scroll-margin-top: 74px; }
.section-inner { padding-top: 96px; padding-bottom: 96px; }
.section.soft, .contact-home { background: var(--soft); }
.section-rule { border-top: 0; }
.section-marker { color: var(--muted); font-size: 14px; line-height: 1.35; }
.section-marker::before { content: none; }
.section-heading { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; margin-bottom: 54px; }
.section-heading h2 { max-width: 920px; margin: 0; font-size: 64px; line-height: .98; letter-spacing: 0; }
.section-heading p { max-width: 720px; margin-top: 20px; color: var(--muted); font-size: 19px; }

/* Home hero */
.home-hero { position: relative; min-height: calc(100svh - 74px); overflow: hidden; isolation: isolate; background: var(--paper); }
.hero-inner { position: relative; z-index: 2; min-height: inherit; display: flex; flex-direction: column; justify-content: space-between; padding-top: 72px; padding-bottom: 28px; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.hero-star-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-star { --star-size: 40px; position: absolute; top: 0; left: 0; width: var(--star-size); height: var(--star-size); pointer-events: auto; cursor: grab; touch-action: none; user-select: none; will-change: transform; }
.hero-star.dragging { cursor: grabbing; }
.hero-star i { position: absolute; inset: 0; display: block; clip-path: polygon(50% 0,58% 42%,100% 50%,58% 58%,50% 100%,42% 58%,0 50%,42% 42%); background: var(--star-colour); filter: drop-shadow(0 0 5px rgba(255,255,255,.9)) drop-shadow(0 0 18px var(--star-glow)); animation: starBreathe var(--star-pulse,3.8s) var(--star-delay,0s) ease-in-out infinite; }
.hero-star i::after { content: ""; position: absolute; inset: 36%; border-radius: 50%; background: rgba(255,255,255,.94); filter: blur(2px); }
.hero-star-primary { --star-size: 76px; --star-colour: linear-gradient(135deg,#a39bff 5%,#756cf6 60%,#5c52d6 100%); --star-glow: rgba(117,108,246,.44); --star-pulse: 4.1s; }
.hero-star-primary i { clip-path: polygon(50% 0,56% 44%,100% 50%,56% 56%,50% 100%,44% 56%,0 50%,44% 44%); }
.hero-star-secondary { --star-size: 34px; --star-colour: linear-gradient(135deg,#f3f9ff 0%,#b9dcff 55%,#8fbdf2 100%); --star-glow: rgba(121,183,255,.46); --star-pulse: 3.1s; --star-delay: .8s; }
.hero-star-secondary i { clip-path: polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%); transform: rotate(11deg); }
.hero-star-tertiary { --star-size: 20px; --star-colour: linear-gradient(135deg,#fff 0%,#d8d3ff 58%,#afa6ff 100%); --star-glow: rgba(159,152,255,.5); --star-pulse: 2.7s; --star-delay: 1.6s; }
.hero-star-tertiary i { clip-path: polygon(50% 0,55% 45%,100% 50%,55% 55%,50% 100%,45% 55%,0 50%,45% 45%); transform: rotate(-8deg); }
.hero-star.ignited i { animation: starIgnite .78s cubic-bezier(.16,.72,.23,1); }
.hero-generated-star { position: absolute; z-index: 3; width: var(--spark-size,12px); height: var(--spark-size,12px); pointer-events: none; background: var(--spark-colour,#a9a2ff); clip-path: polygon(50% 0,57% 43%,100% 50%,57% 57%,50% 100%,43% 57%,0 50%,43% 43%); filter: drop-shadow(0 0 9px rgba(117,108,246,.4)); animation: starBurst .94s cubic-bezier(.12,.64,.3,1) forwards; will-change: transform,opacity; }
@keyframes starBreathe { 0%,100% { transform: scale(.76) rotate(-2deg); opacity: .58; } 48% { transform: scale(1.08) rotate(2deg); opacity: 1; } 67% { transform: scale(.95); opacity: .86; } }
@keyframes starIgnite { 0% { transform: scale(.88); } 44% { transform: scale(1.58) rotate(4deg); filter: drop-shadow(0 0 7px #fff) drop-shadow(0 0 30px var(--star-glow)); } 100% { transform: scale(.94); } }
@keyframes starBurst { 0% { opacity: 0; transform: translate3d(0,0,0) scale(.25) rotate(0); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate3d(var(--burst-x),var(--burst-y),0) scale(.82) rotate(18deg); } }
.hero-main { max-width: 1160px; margin: auto 0; padding: 60px 0 70px; }
.hero-main > .eyebrow { display: inline-block; margin-bottom: 26px; color: var(--accent-dark); }
.hero-main h1 { max-width: 1080px; margin: 0; font-size: 102px; line-height: .94; font-weight: 900; letter-spacing: 0; text-wrap: balance; }
.hero-main h1 em { display: inline-block; color: var(--accent); font-style: normal; font-weight: 500; white-space: nowrap; word-break: normal; }
.hero-copy { max-width: 760px; margin-top: 34px; color: #36373b; font-size: 22px; line-height: 1.42; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.hero-situations { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.hero-situations a { min-height: 74px; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 5px; background: rgba(246,246,244,.92); transition: background .18s ease, transform .18s ease; }
.hero-situations a:hover { background: var(--lavender); transform: translateY(-2px); }
.hero-situations span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.hero-situations strong { font-size: 15px; }

/* Definition and client outcomes */
.flair-definition-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; }
.flair-definition h2 { margin: 18px 0 0; font-size: 32px; line-height: 1; }
.flair-definition h2 span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 14px; font-weight: 500; }
.flair-definition-copy { max-width: 900px; font-size: 46px; line-height: 1.08; font-weight: 600; }
.flair-definition-copy em { color: var(--accent-dark); font-style: normal; }
.flair-definition-copy + p { max-width: 760px; margin-top: 28px; color: var(--muted); font-size: 18px; }

.outcome-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.outcome-cards article { min-height: 290px; display: flex; flex-direction: column; padding: 26px; border-radius: 6px; background: var(--soft); transition: background .2s ease, transform .2s ease; }
.outcome-cards article:hover { background: var(--lavender); transform: translateY(-3px); }
.outcome-cards span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.outcome-cards h3 { max-width: 340px; margin: auto 0 18px; font-size: 29px; line-height: 1.06; }
.outcome-cards p { max-width: 390px; color: var(--muted); }

/* Six service areas */
.service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; align-items: start; }
.service-card { min-width: 0; overflow: hidden; border-radius: 6px; background: var(--paper); transition: background .2s ease, transform .2s ease; }
.service-card:hover, .service-card[open] { background: var(--lavender); }
.service-card:hover { transform: translateY(-3px); }
.service-card summary { min-height: 300px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; gap: 24px 16px; padding: 26px; list-style: none; cursor: pointer; }
.service-card summary::-webkit-details-marker { display: none; }
.service-card summary > span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.service-card h3 { grid-column: 1 / -1; align-self: end; max-width: 350px; margin: 0; font-size: 30px; line-height: 1.02; }
.service-card summary p { max-width: 390px; color: var(--muted); }
.service-card summary b { grid-column: 2; grid-row: 1; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--soft); font-size: 22px; font-weight: 400; line-height: 1; transition: transform .2s ease, background .2s ease; }
.service-card[open] summary b { background: var(--paper); transform: rotate(45deg); }
.service-card-detail { padding: 0 26px 28px; }
.service-card-detail ul { display: grid; gap: 9px; margin: 0; padding: 20px 0 0; border-top: 1px solid rgba(17,17,19,.14); list-style: none; }
.service-card-detail li { display: flex; gap: 9px; color: #3e3f44; font-size: 14px; }
.service-card-detail li::before { content: "•"; color: var(--accent-dark); }

/* Ways to begin: a project roadmap rather than another card grid. */
.route-section-heading { grid-template-columns: 230px minmax(0,830px); }
.route-map { position: relative; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; padding-top: 10px; }
.route-map::before { content: ""; position: absolute; top: 37px; right: 12.5%; left: 12.5%; height: 2px; background: var(--line); }
.route-map article { position: relative; min-height: 276px; display: grid; grid-template-rows: auto auto 1fr auto; padding-right: 18px; }
.route-map article > span { position: relative; z-index: 1; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--paper); font-family: "IBM Plex Mono", monospace; font-size: 11px; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.route-map article:hover > span { border-color: var(--accent); color: var(--paper); background: var(--accent); box-shadow: 0 0 0 7px var(--lavender); transform: scale(1.06); }
.route-map small { margin-top: 26px; color: var(--accent-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.route-map h3 { align-self: end; margin: 24px 0 14px; font-size: 28px; line-height: 1.06; }
.route-map p { max-width: 290px; color: var(--muted); font-size: 15px; }
.method-panel { margin-top: 64px; overflow: hidden; border-radius: 6px; color: var(--paper); background: var(--ink); }
.method-intro { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; align-items: end; padding: 32px 28px 24px; }
.method-intro .eyebrow { color: #c6c3ff; font-size: 12px; }
.method-intro h3 { max-width: 760px; margin: 0; font-size: 35px; line-height: 1.08; }
.method-flow { overflow: hidden; padding: 18px 0 20px; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.method-flow-track { width: max-content; display: flex; align-items: center; gap: 26px; padding-left: 26px; animation: frameworkFlow 24s linear infinite; }
.method-flow-track span { font-family: "Archivo", Arial, sans-serif; font-size: 53px; font-weight: 600; line-height: 1; }
.method-flow-track i { color: #bcb9ff; font-size: 34px; font-style: normal; }
@keyframes frameworkFlow { to { transform: translateX(-50%); } }
.method-notes { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; padding: 24px 28px 28px; }
.method-notes p { display: grid; grid-template-columns: auto 1fr; gap: 5px 10px; align-content: start; }
.method-notes span { grid-row: 1 / 3; color: #bcb9ff; font-family: "IBM Plex Mono", monospace; font-size: 10px; }
.method-notes strong { font-size: 17px; }
.method-notes em { color: #b7b8bd; font-size: 13px; font-style: normal; line-height: 1.45; }

/* Founder proof */
.proof-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: 76px; }
.proof-copy h2 { max-width: 570px; margin: 16px 0 24px; font-size: 62px; line-height: .98; }
.proof-copy p { max-width: 530px; color: var(--muted); font-size: 18px; }
.proof-copy .text-link { display: inline-block; margin-top: 30px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.fact { min-height: 156px; padding: 24px; border-radius: 6px; background: var(--paper); }
.fact strong { display: block; font-size: 32px; line-height: 1; }
.fact span { display: block; max-width: 330px; margin-top: 13px; color: var(--muted); }
.sector-note, .brand-experience { grid-column: 1 / -1; }
.sector-note { padding: 18px 2px 4px; color: var(--muted); }
.brand-experience { padding-top: 20px; }
.brand-experience > .eyebrow { font-size: 12px; }
.brand-pills { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; margin-top: 15px; }
.brand-pills span { min-width: 0; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 9px 8px; border: 1px solid var(--ink); border-radius: 5px; background: transparent; font-size: 12px; font-weight: 700; text-align: center; white-space: nowrap; transition: background .18s ease, border-color .18s ease; }
.brand-pills span:hover { border-color: var(--accent); background: var(--lavender); }
.experience-note { max-width: 760px; margin-top: 14px; color: var(--muted); font-size: 11px; }

/* Thinking */
.thinking-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.thinking-card { min-height: 290px; display: flex; flex-direction: column; padding: 26px; border-radius: 6px; background: var(--soft); transition: background .18s ease, transform .18s ease; }
.thinking-card:hover { background: var(--lavender); transform: translateY(-4px); }
.thinking-card .eyebrow { color: var(--muted); }
.thinking-card h3 { max-width: 380px; margin: 56px 0 20px; font-size: 27px; line-height: 1.08; }
.thinking-card b { margin-top: auto; font-size: 12px; text-transform: uppercase; }

/* Contact form on home and contact page */
.contact-shell { display: grid; grid-template-columns: minmax(330px,.72fr) minmax(0,1.28fr); border: 1px solid var(--ink); }
.home-contact-shell { overflow: hidden; border-color: var(--line); border-radius: 6px; background: var(--paper); }
.contact-intro { min-height: 620px; display: flex; flex-direction: column; padding: 38px; border-right: 1px solid var(--ink); background: var(--soft); }
.home-contact-shell .contact-intro { border-right-color: var(--line); background: var(--paper); }
.contact-intro h1, .contact-intro h2 { max-width: 560px; margin: 18px 0 24px; font-size: 58px; line-height: .96; }
.contact-intro > p { max-width: 480px; color: var(--muted); font-size: 18px; }
.contact-details { display: grid; gap: 8px; margin-top: auto; }
.contact-details a { width: fit-content; font-size: 20px; font-weight: 800; text-decoration: underline; }
.contact-details span { color: var(--muted); font-family: "IBM Plex Mono", monospace; font-size: 10px; text-transform: uppercase; }
.contact-scope { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 30px; }
.contact-scope span { min-height: 31px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); background: var(--paper); font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.enquiry-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-content: start; gap: 17px 24px; padding: 34px 38px; background: var(--paper); }
.enquiry-form label { min-width: 0; display: grid; gap: 7px; }
.enquiry-form label > span { font-family: "IBM Plex Mono", monospace; font-size: 10px; font-weight: 600; text-transform: uppercase; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea { width: 100%; min-width: 0; min-height: 46px; padding: 10px 0; border: 0; border-bottom: 1px solid #9a9ba0; border-radius: 0; color: var(--ink); background: transparent; transition: border-color .18s ease, background .18s ease; }
.enquiry-form input:hover, .enquiry-form select:hover, .enquiry-form textarea:hover { border-bottom-color: var(--accent); }
.enquiry-form textarea { min-height: 112px; resize: vertical; }
.enquiry-form .full { grid-column: 1 / -1; }
.enquiry-form .consent { display: flex; grid-template-columns: 18px 1fr; align-items: start; gap: 10px; color: var(--muted); font-size: 11px; }
.enquiry-form .consent input { width: 16px; min-height: 16px; margin: 2px 0 0; accent-color: var(--accent); }
.enquiry-form .consent span { font-family: inherit; font-size: inherit; font-weight: 400; text-transform: none; }
.enquiry-form .consent a { text-decoration: underline; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.form-status { color: var(--muted); font-size: 12px; }

.site-footer { min-height: 210px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 48px; padding: 42px 28px; color: var(--paper); background: var(--ink); }
.site-footer .wordmark { font-size: 44px; }
.site-footer .brand-subtitle { color: #b7b9bf; }
.footer-meta { display: grid; justify-items: end; gap: 10px; text-align: right; }
.footer-links { display: flex; gap: 20px; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.footer-meta p { color: #aeb0b5; font-size: 12px; }

/* Inner pages */
.page-hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; }
.page-hero h1 { max-width: 1050px; margin: 0; font-size: 94px; line-height: .9; text-transform: uppercase; }
.page-hero p { max-width: 730px; margin-top: 30px; color: var(--muted); font-size: 21px; }
.topic-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.topic-list span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 4px; font-family: "IBM Plex Mono", monospace; font-size: 10px; text-transform: uppercase; }
.featured-thinking { display: grid; grid-template-columns: 1.2fr .8fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.featured-thinking > div { min-height: 420px; display: flex; flex-direction: column; padding: 28px 34px 28px 0; }
.featured-thinking > div + div { padding-left: 34px; border-left: 1px solid var(--line); }
.featured-thinking h2 { max-width: 680px; margin: auto 0 20px; font-size: 54px; line-height: .98; }
.featured-thinking p { max-width: 650px; color: var(--muted); font-size: 18px; }
.featured-thinking .text-link { width: fit-content; margin-top: 24px; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.perspective-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid var(--ink); }
.perspective-card { min-height: 290px; display: flex; flex-direction: column; padding: 24px 28px 24px 0; border-bottom: 1px solid var(--line); }
.perspective-card:nth-child(odd) { border-right: 1px solid var(--line); }
.perspective-card:nth-child(even) { padding-left: 28px; }
.perspective-card h3 { max-width: 530px; margin: 52px 0 14px; font-size: 30px; line-height: 1.05; }
.perspective-card p { max-width: 590px; color: var(--muted); }
.perspective-card .meta { margin-top: auto; color: var(--muted); }
.privacy-grid { display: grid; grid-template-columns: 260px minmax(0,820px); gap: 90px; align-items: start; }
.privacy-aside { position: sticky; top: 110px; }
.privacy-aside p { margin-top: 10px; }
.privacy-aside nav { display: grid; gap: 10px; margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; }
.privacy-aside nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.privacy-content > h2 { margin: 0; font-size: 54px; line-height: 1; }
.privacy-intro { margin: 24px 0 52px; color: var(--muted); font-size: 19px; }
.policy-section { padding: 30px 0; border-top: 1px solid var(--line); }
.policy-section h2 { margin: 0 0 16px; font-size: 25px; }
.policy-section p + p { margin-top: 14px; }
.policy-section a { text-decoration: underline; }
.home-cta { background: var(--soft); }
.cta-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 50px; align-items: end; padding-top: 64px; padding-bottom: 64px; }
.cta-grid h2 { max-width: 980px; margin: 0; font-size: 72px; line-height: .94; }
.cta-grid p { max-width: 650px; margin-top: 18px; color: var(--muted); font-size: 18px; }

/* Compact pointer with a restrained iridescent trail. */
.bf-pointer, .bf-trail { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; opacity: 0; will-change: transform, opacity; }
.bf-pointer { width: 14px; height: 20px; background: var(--accent); clip-path: polygon(0 0, 0 78%, 28% 58%, 49% 100%, 69% 90%, 49% 52%, 100% 52%); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 8px rgba(117,108,246,.78)); transform-origin: 0 0; }
.bf-trail { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 1px; transform: rotate(45deg); box-shadow: 0 0 9px currentColor; }
.bf-pointer.visible, .bf-trail.visible { opacity: 1; }
.bf-pointer.interactive { width: 17px; height: 24px; }
@media (hover: hover) and (pointer: fine) { .has-bf-pointer, .has-bf-pointer a, .has-bf-pointer button, .has-bf-pointer summary, .has-bf-pointer input, .has-bf-pointer select, .has-bf-pointer textarea { cursor: none !important; } }

@media (max-width: 1180px) {
  .hero-main h1 { font-size: 88px; }
  .section-heading h2 { font-size: 56px; }
  .service-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-pills { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .section[id] { scroll-margin-top: 68px; }
  .site-header { grid-template-columns: 1fr auto auto; min-height: 68px; padding: 0 18px; }
  .site-header > nav, .site-header > .header-cta { display: none; }
  .mobile-menu { position: relative; display: block; }
  .mobile-menu summary { min-height: 36px; display: inline-flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); list-style: none; font-size: 11px; font-weight: 800; text-transform: uppercase; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu-panel { position: absolute; top: 44px; right: 0; width: min(280px,calc(100vw - 36px)); display: grid; border: 1px solid var(--ink); background: var(--paper); box-shadow: 0 14px 30px rgba(17,18,20,.12); }
  .mobile-menu-panel a { padding: 14px 16px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
  .mobile-menu-panel a:last-child { border-bottom: 0; }
  .hero-main h1 { max-width: 790px; font-size: 72px; }
  .hero-copy { max-width: 650px; font-size: 20px; }
  .flair-definition-grid, .proof-grid, .page-hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .flair-definition-copy { font-size: 38px; }
  .outcome-cards { grid-template-columns: 1fr; }
  .outcome-cards article { min-height: 230px; }
  .route-map { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .route-map::before { top: 28px; bottom: 30px; left: 27px; width: 2px; height: auto; }
  .route-map article { min-height: 190px; grid-template-columns: 74px minmax(0,1fr); grid-template-rows: auto auto 1fr; padding: 0 0 32px; }
  .route-map article > span { grid-row: 1 / 4; }
  .route-map small, .route-map h3, .route-map p { grid-column: 2; }
  .route-map small { margin-top: 4px; }
  .route-map h3 { align-self: start; margin: 15px 0 10px; }
  .route-map p { max-width: 600px; }
  .method-intro { grid-template-columns: 1fr; gap: 12px; }
  .method-notes { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 18px; }
  .thinking-grid { grid-template-columns: 1fr; }
  .thinking-card { min-height: 220px; }
  .featured-thinking, .contact-shell { grid-template-columns: 1fr; }
  .featured-thinking > div { min-height: 340px; }
  .featured-thinking > div + div { padding-left: 0; border-top: 1px solid var(--line); border-left: 0; }
  .contact-intro { min-height: 390px; border-right: 0; border-bottom: 1px solid var(--line); }
  .privacy-grid { grid-template-columns: 1fr; gap: 54px; }
  .privacy-aside { position: static; }
  .privacy-aside nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cta-grid { grid-template-columns: 1fr; }
  .cta-grid .button { justify-self: start; }
}

@media (max-width: 680px) {
  .wrap { padding-right: 18px; padding-left: 18px; }
  .section-inner { padding-top: 72px; padding-bottom: 72px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading p { font-size: 17px; }
  .home-hero { min-height: auto; }
  .hero-inner { min-height: calc(100svh - 68px); padding-top: 30px; padding-bottom: 18px; }
  .hero-main { padding: 44px 0 40px; }
  .hero-main > .eyebrow { margin-bottom: 20px; }
  .hero-main h1 { font-size: 52px; line-height: .99; }
  .lang-zh .hero-main h1 { font-size: 49px; line-height: 1.26; }
  .hero-copy { margin-top: 25px; font-size: 18px; }
  .hero-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .hero-actions .button { min-width: 0; padding: 0 9px; font-size: 10px; }
  .hero-situations { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x proximity; }
  .hero-situations a { min-width: 230px; scroll-snap-align: start; }
  .flair-definition-grid { gap: 32px; }
  .flair-definition-copy { font-size: 32px; }
  .flair-definition-copy + p { font-size: 17px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card summary { min-height: 265px; }
  .service-card h3 { font-size: 28px; }
  .hero-star-primary { --star-size: 58px; }
  .hero-star-secondary { --star-size: 28px; }
  .hero-star-tertiary { --star-size: 17px; }
  .method-intro { padding: 25px 18px 20px; }
  .method-intro h3 { font-size: 29px; }
  .method-flow-track span { font-size: 38px; }
  .method-flow-track i { font-size: 25px; }
  .method-notes { gap: 22px 12px; padding: 22px 18px 25px; }
  .method-notes p { grid-template-columns: 1fr; }
  .method-notes span { grid-row: auto; }
  .proof-copy h2 { font-size: 44px; }
  .facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .fact { min-height: 158px; padding: 18px 14px; }
  .fact strong { font-size: 25px; }
  .fact span { font-size: 13px; }
  .brand-pills { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-pills span { justify-content: center; text-align: center; }
  .thinking-grid { display: flex; overflow-x: auto; margin: 0 -18px; padding: 0 18px 10px; scroll-snap-type: x mandatory; }
  .thinking-card { min-width: min(82vw,330px); scroll-snap-align: start; }
  .contact-intro { min-height: 360px; padding: 30px 18px; }
  .contact-intro h1, .contact-intro h2 { font-size: 44px; }
  .enquiry-form { grid-template-columns: 1fr; padding: 28px 18px; }
  .enquiry-form .full { grid-column: auto; }
  .form-actions { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-meta { justify-items: start; text-align: left; }
  .page-hero { padding: 64px 0 54px; }
  .page-hero h1 { font-size: 50px; }
  .page-hero p { font-size: 18px; }
  .perspective-grid { grid-template-columns: 1fr; }
  .perspective-card:nth-child(odd) { border-right: 0; }
  .perspective-card:nth-child(even) { padding-left: 0; }
  .privacy-aside nav { grid-template-columns: 1fr; }
  .cta-grid h2 { font-size: 48px; }
}

.lang-zh .hero-main h1 { line-height: 1.22; }
.lang-zh .section-heading h2, .lang-zh .proof-copy h2, .lang-zh .contact-intro h1, .lang-zh .contact-intro h2, .lang-zh .cta-grid h2 { line-height: 1.2; }
.lang-zh .flair-definition-copy, .lang-zh .outcome-cards h3, .lang-zh .service-card h3, .lang-zh .route-map h3, .lang-zh .method-intro h3, .lang-zh .thinking-card h3 { line-height: 1.3; }
.lang-zh .section-heading p, .lang-zh .hero-copy, .lang-zh .proof-copy p { line-height: 1.75; }

@media (max-width: 390px) {
  .hero-main h1 { font-size: 46px; }
  .lang-zh .hero-main h1 { font-size: 43px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .bf-trail { display: none; }
  .hero-star { transform: none !important; }
  .method-flow-track { animation: none; }
}

/* Kinetic Yellow visual system */
:root {
  --ink: #0d0e0b;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --soft-2: #e8e8e3;
  --muted: #60615d;
  --line: #c9c9c2;
  --lavender: #f7f0ff;
  --accent: #8a32ff;
  --accent-dark: #651fe0;
  --accent-ink: #0d0e0b;
}

body { background: var(--paper); }
.site-header { min-height: 78px; border-bottom-color: rgba(255,255,255,.2); color: var(--paper); background: rgba(13,14,11,.96); }
.site-header .brand-subtitle { color: #c7c8c3; }
.site-header nav a::after { background: var(--accent); }
.language-switch { border-color: rgba(255,255,255,.32); color: var(--paper); }
.language-switch:hover { color: var(--ink); background: var(--accent); }
.site-header .header-cta { border-color: var(--accent); color: var(--ink); background: var(--accent); }
.site-header .header-cta:hover { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.button { border-radius: 0; }
.button.accent { border-color: var(--accent); color: var(--ink); background: var(--accent); }
.button.accent:hover { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.bf-pointer { filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 8px rgba(138,50,255,.78)); }
.bf-pointer.on-yellow { background: var(--ink); filter: drop-shadow(0 0 1px rgba(255,255,255,.86)) drop-shadow(0 0 7px rgba(13,14,11,.55)); }
.bf-trail.on-yellow { color: var(--ink) !important; background: var(--ink) !important; box-shadow: 0 0 8px rgba(13,14,11,.5); }

.home-hero { min-height: calc(100svh - 78px); color: var(--paper); background: var(--ink); }
.home-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(circle at 70% 20%,rgba(138,50,255,.055),transparent 29%),radial-gradient(circle at 22% 74%,rgba(160,190,255,.035),transparent 25%); }
.hero-inner { padding-top: 66px; padding-bottom: 26px; }
.hero-main { max-width: 1210px; padding-top: 52px; padding-bottom: 58px; }
.hero-main > .eyebrow { color: var(--accent); }
.hero-main h1 { max-width: 1160px; font-size: 108px; line-height: .89; text-transform: uppercase; }
.hero-main h1 em { color: var(--accent); font-weight: 900; }
.hero-copy { max-width: 820px; color: #d1d2cd; }
.hero-actions .button.ghost { border-color: rgba(255,255,255,.7); color: var(--paper); background: transparent; }
.hero-actions .button.ghost:hover { border-color: var(--accent); color: var(--ink); background: var(--accent); }
.hero-situations { gap: 1px; border: 1px solid #343530; background: #343530; }
.hero-situations a { border-radius: 0; color: var(--paper); background: #171814; }
.hero-situations a:hover { color: var(--ink); background: var(--accent); }
.hero-situations span { color: #a9aaa5; }
.hero-situations a:hover span { color: var(--ink); }

.hero-light-field { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.hero-firefly { --light: #8a32ff; --glow: rgba(138,50,255,.6); --trail: 82px; position: absolute; top: 0; left: 0; width: calc(var(--trail) + 14px); height: 14px; transform-origin: calc(100% - 7px) 50%; pointer-events: none; will-change: transform; }
.hero-firefly::before { content: ""; position: absolute; top: 6px; right: 8px; width: var(--trail); height: 2px; background: linear-gradient(90deg,transparent 0%,color-mix(in srgb,var(--light) 16%,transparent) 43%,var(--light) 100%); filter: blur(.35px) drop-shadow(0 0 5px var(--glow)); opacity: .72; }
.hero-firefly i { position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 4px 2px #fff,0 0 13px 6px var(--glow); animation: lightBreathe 2.4s ease-in-out infinite; }
.firefly-white { --light: #ffffff; --glow: rgba(255,255,255,.55); --trail: 66px; }
.firefly-blue { --light: #9bcaff; --glow: rgba(123,188,255,.52); --trail: 74px; }
.firefly-lilac { --light: #b9b1ff; --glow: rgba(165,153,255,.5); --trail: 58px; }
.firefly-small { --trail: 42px; opacity: .72; }
.firefly-small i { width: 6px; height: 6px; }
.hero-light-burst { position: absolute; z-index: 2; width: var(--burst-length,58px); height: 10px; pointer-events: none; transform-origin: 100% 50%; animation: lightBurst .9s ease-out forwards; }
.hero-light-burst::before { content: ""; position: absolute; top: 4px; right: 4px; width: 100%; height: 2px; background: linear-gradient(90deg,transparent,var(--burst-colour,#8a32ff)); box-shadow: 0 0 7px var(--burst-colour,#8a32ff); }
.hero-light-burst::after { content: ""; position: absolute; top: 2px; right: 0; width: 7px; height: 7px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px var(--burst-colour,#8a32ff); }
@keyframes lightBreathe { 0%,100% { opacity: .66; transform: scale(.72); } 50% { opacity: 1; transform: scale(1.15); } }
@keyframes lightBurst { 0% { opacity: 0; transform: translate3d(0,0,0) rotate(var(--burst-angle)) scaleX(.2); } 18% { opacity: 1; } 100% { opacity: 0; transform: translate3d(var(--burst-x),var(--burst-y),0) rotate(var(--burst-angle)) scaleX(1); } }

.capability-marquee { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); color: var(--ink); background: var(--soft); }
.capability-track { width: max-content; min-height: 58px; display: flex; align-items: center; gap: 20px; padding: 0 20px; animation: capabilityFlow 34s linear infinite; }
.capability-track span { font-size: 14px; font-weight: 800; text-transform: uppercase; }
.capability-track i { color: var(--accent-dark); font-style: normal; }
@keyframes capabilityFlow { to { transform: translateX(-50%); } }

.section-inner { padding-top: 104px; padding-bottom: 104px; }
.section-heading { padding-top: 0; }
.section-heading h2 { font-weight: 850; }
.section.soft.flair-definition { color: var(--ink); background: var(--soft); }
.flair-definition .eyebrow { color: var(--accent-dark); }
.flair-definition-copy em { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 4px; text-underline-offset: 7px; }
.flair-definition-copy + p { color: var(--muted); }
.outcome-cards article { border: 1px solid var(--line); border-radius: 0; background: var(--paper); }
.outcome-cards article:hover { border-color: var(--ink); color: var(--ink); background: var(--lavender); }

#services.section.soft { color: var(--ink); background: var(--soft); }
#services .section-marker { color: var(--accent-dark); }
#services .section-heading p { color: var(--muted); }
.service-grid { gap: 12px; border: 0; background: transparent; }
.service-card { border: 1px solid var(--line); border-radius: 0; color: var(--ink); background: var(--paper); }
.service-card:hover,.service-card[open] { border-color: var(--ink); color: var(--paper); background: var(--ink); }
.service-card summary p,.service-card-detail li { color: var(--muted); }
.service-card:hover summary p,.service-card[open] summary p,.service-card:hover .service-card-detail li,.service-card[open] .service-card-detail li { color: #c7c8c2; }
.service-card summary b { color: var(--ink); background: var(--accent); }
.service-card[open] summary b { color: var(--ink); background: var(--accent); }
.service-card-detail ul { border-top-color: currentColor; }

.route-map article > span { border-radius: 0; }
.route-map article:hover > span { border-color: var(--ink); color: var(--ink); background: var(--accent); box-shadow: 7px 7px 0 var(--ink); }
.route-map small { color: var(--accent-dark); }
.method-panel { border: 1px solid var(--ink); border-radius: 0; }
.method-intro .eyebrow { color: var(--accent); }
.method-flow-track { transform: translateX(0); animation-name: frameworkFlowForward; }
.method-flow-track i { color: var(--accent); }
.method-notes span { color: var(--accent); }
@keyframes frameworkFlowForward { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.fact { border-radius: 0; }
.fact:hover { color: var(--ink); background: var(--lavender); }
.brand-pills span { border-radius: 999px; }
.brand-pills span:hover { border-color: var(--ink); background: var(--lavender); }
.thinking-card { border: 1px solid var(--line); border-radius: 0; background: var(--paper); }
.thinking-card:hover { border-color: var(--ink); color: var(--ink); background: var(--lavender); }

.contact-home { background: var(--ink); }
.contact-home .section-inner { padding-top: 88px; padding-bottom: 88px; }
.home-contact-shell { grid-template-columns: minmax(360px,.78fr) minmax(0,1.22fr); border: 1px solid #464740; border-radius: 0; box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.home-contact-shell .contact-intro { min-height: 570px; padding: 42px; border-right-color: var(--line); color: var(--ink); background: var(--soft); box-shadow: none; }
.home-contact-shell .contact-intro > .eyebrow { color: var(--accent-dark); }
.home-contact-shell .contact-intro h2 { max-width: 520px; margin-top: 22px; font-size: 50px; line-height: 1.01; }
.home-contact-shell .contact-intro > p { color: var(--muted); }
.home-contact-shell .contact-details { color: var(--ink); }
.home-contact-shell .enquiry-form { gap: 14px 22px; padding: 38px 40px; }
.home-contact-shell .enquiry-form input,.home-contact-shell .enquiry-form select,.home-contact-shell .enquiry-form textarea { padding-right: 10px; padding-left: 10px; border: 1px solid transparent; border-bottom-color: #aaa9a2; background: #fafaf8; }
.home-contact-shell .enquiry-form input:focus,.home-contact-shell .enquiry-form select:focus,.home-contact-shell .enquiry-form textarea:focus { border-color: var(--ink); background: var(--paper); outline: 0; }
.enquiry-form input:hover,.enquiry-form select:hover,.enquiry-form textarea:hover { border-bottom-color: var(--ink); background: var(--lavender); }

.site-footer { border-top: 1px solid #343530; }
.site-footer .brand-subtitle { color: #b7b9bf; }
.page-hero { color: var(--paper); background: var(--ink); }
.page-hero .eyebrow { color: var(--accent); }
.page-hero p { color: #c7c8c2; }
.featured-thinking,.perspective-card,.privacy-content,.privacy-aside { border-color: var(--line); }
.cta-grid { color: var(--ink); background: var(--soft); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .mobile-menu summary { border-color: rgba(255,255,255,.35); color: var(--paper); }
  .mobile-menu-panel { border-color: var(--ink); color: var(--ink); background: var(--paper); }
  .hero-main h1 { font-size: 82px; }
  .home-contact-shell { grid-template-columns: 1fr; }
  .home-contact-shell .contact-intro { min-height: 410px; border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  .site-header { min-height: 70px; }
  .home-hero { min-height: auto; }
  .hero-inner { min-height: calc(100svh - 70px); padding-top: 26px; }
  .hero-main { padding-top: 48px; padding-bottom: 42px; }
  .hero-main h1 { font-size: 49px; line-height: .94; }
  .lang-zh .hero-main h1 { font-size: 43px; line-height: 1.22; }
  .hero-copy { color: #d0d1cc; }
  .hero-situations { border: 0; background: transparent; }
  .hero-situations a { border: 1px solid #343530; }
  .hero-firefly { --trail: 52px; }
  .firefly-white { --trail: 45px; }
  .firefly-blue { --trail: 48px; }
  .firefly-lilac { --trail: 38px; }
  .capability-track { min-height: 52px; gap: 16px; }
  .capability-track span { font-size: 12px; }
  .section-inner { padding-top: 76px; padding-bottom: 76px; }
  .contact-home .section-inner { padding-top: 54px; padding-bottom: 54px; }
  .home-contact-shell .contact-intro { min-height: 390px; padding: 30px 22px; border-right: 0; border-bottom-color: var(--line); }
  .home-contact-shell .contact-intro h2 { font-size: 41px; line-height: 1.08; }
  .home-contact-shell .enquiry-form { padding: 28px 22px; }
  .contact-scope { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-firefly { opacity: .62; }
  .hero-firefly i,.capability-track { animation: none; }
  .hero-light-burst { display: none; }
}

/* Prism Spark visual system */
:root {
  --ink: #0a0a0d;
  --paper: #ffffff;
  --soft: #f6f5f7;
  --soft-2: #e9e7ec;
  --muted: #686670;
  --line: #d8d5dd;
  --lavender: #f7f0ff;
  --accent: #8a32ff;
  --accent-dark: #651fe0;
  --accent-ink: #ffffff;
  --prism: linear-gradient(105deg,#7c3cff 0%,#d900d7 38%,#ff3f7f 70%,#ff6b35 100%);
  --prism-soft: linear-gradient(115deg,#f4edff 0%,#fff0f7 53%,#fff2e9 100%);
}

.site-header { border-bottom-color: rgba(255,255,255,.17); background: rgba(9,9,12,.92); }
.site-header nav a::after { background: var(--prism); }
.language-switch:hover,.site-header .header-cta,.button.accent { border-color: transparent; color: var(--paper); background: var(--prism); }
.site-header .header-cta:hover,.button.accent:hover { border-color: var(--paper); color: var(--ink); background: var(--paper); }
.skip-link { background: var(--prism); }

.home-hero { background: #09090c; }
.home-hero::after { background: radial-gradient(circle at 72% 23%,rgba(131,46,255,.19),transparent 32%),radial-gradient(circle at 15% 82%,rgba(255,59,125,.10),transparent 28%),linear-gradient(90deg,transparent 0 49.9%,rgba(255,255,255,.025) 50%,transparent 50.1% 100%); }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .28; background-image: linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px); background-size: 160px 160px; }
.hero-main > .eyebrow { color: #a56bff; }
.hero-main h1 em { color: transparent; background: var(--prism); -webkit-background-clip: text; background-clip: text; }
.hero-copy { color: #ceccd2; }
.hero-actions .button.ghost:hover,.hero-situations a:hover { border-color: transparent; color: var(--paper); background: var(--prism); }
.hero-situations { border-color: #323037; background: #323037; }
.hero-situations a { background: rgba(16,15,20,.92); }
.hero-situations a:hover span { color: rgba(255,255,255,.78); }
.hero-firefly { --light: #8b3cff; --glow: rgba(139,60,255,.66); }
.firefly-white { --light: #ff6b35; --glow: rgba(255,107,53,.54); }
.firefly-blue { --light: #ff3f7f; --glow: rgba(255,63,127,.58); }
.firefly-lilac { --light: #e400d4; --glow: rgba(228,0,212,.55); }
.capability-marquee { border-color: var(--line); background: var(--paper); }
.capability-track i { color: var(--accent); }

.flair-definition .eyebrow,#services .section-marker,.route-map small { color: var(--accent-dark); }
.flair-definition-copy em { text-decoration-color: #d900d7; }
.outcome-cards article:hover,.fact:hover,.thinking-card:hover,.brand-pills span:hover { border-color: #c9b6e9; background: var(--prism-soft); }
#services.section.soft { background: #f3f2f5; }
.service-card { border-color: #d4d1d9; }
.service-card:hover,.service-card[open] { border-color: #221b29; color: var(--paper); background: linear-gradient(145deg,#0b0b0e 0%,#151019 100%); }
.service-card summary b,.service-card[open] summary b { color: var(--paper); background: var(--prism); }
.service-card-detail li::before { color: #ff4b88; }
.route-map article:hover > span { border-color: transparent; color: var(--paper); background: var(--prism); box-shadow: 7px 7px 0 #201528; }

.method-panel { border-color: #2b2530; background: radial-gradient(circle at 90% 10%,rgba(128,47,255,.18),transparent 32%),#0a0a0d; }
.method-intro .eyebrow,.method-flow-track i,.method-notes span { color: #d782ff; }
.method-flow-track span:nth-of-type(4n+1) { color: #ffffff; }
.method-flow-track span:nth-of-type(4n+2) { color: #d7b4ff; }
.method-flow-track span:nth-of-type(4n+3) { color: #ff9bc0; }
.method-flow-track span:nth-of-type(4n) { color: #ffb08e; }

.brand-pills span:hover { border-color: #9b4eff; }
.contact-home { background: radial-gradient(circle at 85% 22%,rgba(128,47,255,.16),transparent 30%),#09090c; }
.home-contact-shell { border-color: #4b4650; }
.home-contact-shell .contact-intro { background: var(--prism-soft); }
.home-contact-shell .contact-intro > .eyebrow { color: var(--accent-dark); }
.contact-scope span { border-color: #d5cadd; background: rgba(255,255,255,.72); }
.home-contact-shell .enquiry-form input:hover,.home-contact-shell .enquiry-form select:hover,.home-contact-shell .enquiry-form textarea:hover { border-color: #c88cff; background: #fbf7ff; }
.home-contact-shell .enquiry-form input:focus,.home-contact-shell .enquiry-form select:focus,.home-contact-shell .enquiry-form textarea:focus { border-color: #8a32ff; box-shadow: 0 0 0 3px rgba(138,50,255,.09); }
.enquiry-form .consent input { accent-color: #8a32ff; }

.page-hero { background: radial-gradient(circle at 80% 25%,rgba(128,47,255,.18),transparent 30%),#09090c; }
.page-hero .eyebrow { color: #b979ff; }
.cta-grid { background: var(--prism-soft); }
.bf-pointer { background: var(--prism); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 9px rgba(212,0,199,.72)); }
.bf-pointer.on-yellow { background: var(--paper); filter: drop-shadow(0 0 1px #0a0a0d) drop-shadow(0 0 8px rgba(255,63,127,.7)); }
.bf-trail.on-yellow { color: #ffffff !important; background: #ffffff !important; box-shadow: 0 0 8px rgba(255,255,255,.68); }

@media (max-width: 680px) {
  .home-hero::before { background-size: 96px 96px; }
}

/* WordPress integration */
.admin-bar .site-header { top: 32px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.form-notice { grid-column: 1 / -1; margin: 0 0 16px; padding: 14px 16px; border: 1px solid #d8cddd; background: #faf7fc; font-size: 14px; font-weight: 700; }
.form-notice.success { border-color: #b795d1; }
.form-notice.error { border-color: #df725c; background: #fff4f1; }
.post-edit-link { display: inline-flex; margin-top: 24px; font-weight: 700; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

/* Customer-facing services catalogue */
.service-grid-cta { display: flex; justify-content: flex-end; margin-top: 24px; }
.services-page-hero { min-height: 620px; display: flex; align-items: center; }
.services-page-hero .page-hero-grid { width: 100%; align-items: start; }
.services-page-hero h1 { max-width: 980px; font-size: clamp(64px,7.3vw,112px); line-height: .91; text-wrap: balance; }
.lang-zh .services-page-hero h1 { max-width: 900px; line-height: 1.12; }
.services-page-hero p { max-width: 790px; }
.service-jump-links { max-width: 1040px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 42px; }
.service-jump-links a { min-height: 58px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid rgba(255,255,255,.25); color: #f4f3f6; font-size: 13px; font-weight: 700; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.service-jump-links a:hover { border-color: #c88cff; background: rgba(128,47,255,.14); transform: translateY(-2px); }
.service-jump-links span { color: #c88cff; font-family: "IBM Plex Mono",monospace; font-size: 10px; }
.services-catalogue-section { background: var(--paper); }
.service-page-note { display: grid; grid-template-columns: 170px minmax(0,720px) auto; gap: 28px; align-items: center; margin-bottom: 56px; padding: 22px 24px; background: var(--soft); }
.service-page-note .eyebrow { color: var(--accent-dark); }
.service-page-note p { color: var(--muted); }
.service-page-note .text-link { justify-self: end; font-size: 11px; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.service-catalogue-grid { border-top: 1px solid var(--ink); }
.service-catalogue-card { scroll-margin-top: 96px; display: grid; grid-template-columns: minmax(260px,.78fr) minmax(0,1.22fr); gap: 64px; padding: 52px 0; border-bottom: 1px solid var(--line); }
.service-catalogue-card header { display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-content: start; }
.service-catalogue-card header > span { padding-top: 7px; color: var(--accent-dark); font-family: "IBM Plex Mono",monospace; font-size: 11px; }
.service-catalogue-card h2 { max-width: 560px; margin: 0; font-size: 42px; line-height: 1.02; }
.service-catalogue-card header p { grid-column: 2; max-width: 540px; margin-top: 16px; color: var(--muted); font-size: 17px; }
.service-catalogue-card > div { align-self: stretch; display: flex; flex-direction: column; }
.service-catalogue-card ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 20px; margin: 0; padding: 0; list-style: none; }
.service-catalogue-card li { min-height: 46px; display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--soft); font-size: 14px; }
.service-catalogue-card li::before { content: "+"; color: var(--accent-dark); font-family: "IBM Plex Mono",monospace; font-weight: 700; }
.service-fit { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 13px; }
.scenario-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.scenario-grid a { position: relative; min-height: 290px; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); background: var(--paper); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.scenario-grid a:hover { border-color: #c88cff; background: var(--prism-soft); transform: translateY(-3px); }
.scenario-grid span { color: var(--accent-dark); font-family: "IBM Plex Mono",monospace; font-size: 10px; }
.scenario-grid h3 { max-width: 290px; margin: auto 0 16px; font-size: 26px; line-height: 1.08; }
.scenario-grid p { color: var(--muted); font-size: 14px; }
.scenario-grid b { position: absolute; top: 21px; right: 22px; font-size: 19px; font-weight: 400; }
.service-models-panel { overflow: hidden; color: var(--paper); background: radial-gradient(circle at 84% 14%,rgba(128,47,255,.19),transparent 29%),var(--ink); }
.service-models-heading { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 36px; align-items: end; padding: 42px 38px; }
.service-models-heading .eyebrow { color: #c88cff; }
.service-models-heading h2 { max-width: 850px; margin: 0; font-size: 56px; line-height: .98; }
.service-models-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.18); }
.service-models-grid article { min-height: 290px; display: flex; flex-direction: column; padding: 28px 32px; }
.service-models-grid article + article { border-left: 1px solid rgba(255,255,255,.18); }
.service-models-grid span { color: #c88cff; font-family: "IBM Plex Mono",monospace; font-size: 10px; }
.service-models-grid h3 { margin: auto 0 18px; font-size: 28px; }
.service-models-grid p { max-width: 380px; color: #bfc0c6; }
.services-contact { scroll-margin-top: 74px; }
.lang-zh .service-catalogue-card h2,.lang-zh .scenario-grid h3,.lang-zh .service-models-heading h2 { line-height: 1.25; }

@media (max-width: 1040px) {
  .service-jump-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-catalogue-card { gap: 38px; }
  .scenario-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .service-models-heading { grid-template-columns: 180px minmax(0,1fr); }
}

@media (max-width: 760px) {
  .services-page-hero { min-height: auto; }
  .services-page-hero h1 { font-size: 52px; }
  .lang-zh .services-page-hero h1 { font-size: 48px; }
  .service-jump-links { grid-template-columns: 1fr; margin-top: 32px; }
  .service-page-note { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .service-page-note .text-link { justify-self: start; margin-top: 4px; }
  .service-catalogue-card { grid-template-columns: 1fr; gap: 28px; padding: 42px 0; }
  .service-catalogue-card h2 { font-size: 34px; }
  .service-catalogue-card ul { grid-template-columns: 1fr; }
  .service-fit { margin-top: 20px; }
  .scenario-grid { grid-template-columns: 1fr; }
  .scenario-grid a { min-height: 240px; }
  .service-models-heading { grid-template-columns: 1fr; gap: 18px; padding: 32px 24px; }
  .service-models-heading h2 { font-size: 41px; }
  .service-models-grid { grid-template-columns: 1fr; }
  .service-models-grid article { min-height: 235px; padding: 26px 24px; }
  .service-models-grid article + article { border-top: 1px solid rgba(255,255,255,.18); border-left: 0; }
}

/* v1.6.3 responsive and motion refinements. */
@media (min-width: 901px) {
  .route-map::before { display: none; }
  .route-map article:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 27px;
    left: 56px;
    width: calc(100% + 26px - 56px);
    height: 2px;
    background: var(--line);
  }
}

@keyframes frameworkFlowForward {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (max-width: 680px) {
  .hero-situations {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
    scroll-snap-type: none;
  }
  .hero-situations a {
    width: 100%;
    min-width: 0;
    min-height: 68px;
    scroll-snap-align: none;
  }
}
