@import url("/src/art-direction.css");

@layer base {

@font-face {
  font-family: "Noto Sans TC";
  src: url("/fonts/NotoSansTC-Subset.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f5f0;
  --paper-deep: #eeebe4;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --navy: #1f3a5f;
  --line: #d9d4ca;
  --lime: #c9a9a0;
  --jtiti: #2e6f5e;
  --gutter: clamp(22px, 4vw, 56px);
  --header-height: 84px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
html { background: var(--paper); color: var(--ink); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: .01em;
}
body.menu-open { overflow: hidden; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { cursor: pointer; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }

h1, h2, h3, p, ol, dl { margin-top: 0; }
figure { margin: 0; }
h1, h2, h3 { margin-bottom: .55em; font-weight: 500; line-height: 1.18; letter-spacing: -.025em; }
h1 { font-size: clamp(40px, 4vw, 48px); }
h2 { font-size: clamp(28px, 3vw, 32px); }
h3 { font-size: 22px; }
p { margin-bottom: 1.2em; }
.shell { width: min(1120px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.section-space { padding-block: 96px; }
.eyebrow, .en-sub, figcaption, .status, .product-panel span, .product-panel b, .form-note, dt {
  font-family: "IBM Plex Sans", "Noto Sans TC", sans-serif;
}
.eyebrow { margin-bottom: 22px; color: var(--navy); font-size: 13px; font-weight: 600; letter-spacing: .16em; }
.en-sub { color: var(--muted); font-size: 14px; letter-spacing: .025em; }
.lead { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.5; }
figcaption { margin-top: 9px; color: var(--muted); font-size: 12px; letter-spacing: .04em; }

.site-header { position: sticky; top: 0; z-index: 40; display: grid; align-items: center; height: var(--header-height); border-bottom: 1px solid var(--line); background: rgba(247,245,240,.94); backdrop-filter: blur(16px); transition: height .25s ease; }
.site-header.is-condensed { height: 66px; }
.header-inner { width: min(1240px, calc(100% - 2 * var(--gutter))); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 36px; }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-lockup img { width: 48px; height: 48px; }
.brand-lockup > span { display: grid; line-height: 1; }
.brand-lockup strong { font-family: "IBM Plex Sans", sans-serif; color: var(--navy); font-size: 20px; font-weight: 500; letter-spacing: -.035em; }
.brand-lockup small { margin-top: 6px; color: var(--muted); font-size: 10px; letter-spacing: .22em; }
.desktop-nav { display: flex; align-items: center; justify-self: end; gap: clamp(20px, 2.4vw, 36px); font-size: 14px; }
.desktop-nav a, .submenu-trigger { position: relative; color: #333; }
.desktop-nav > a::after, .submenu-trigger::after { content: ""; position: absolute; left: 0; bottom: 1px; width: 100%; height: 1px; background: var(--navy); transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.desktop-nav > a:hover::after, .desktop-nav > a[aria-current="page"]::after, .submenu-trigger:hover::after, .submenu-trigger[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-dropdown { position: relative; }
.submenu-trigger { border: 0; background: transparent; padding: 10px 0; font-size: inherit; }
.submenu { position: absolute; top: 100%; left: auto; right: 0; z-index: 45; display: grid; min-width: 190px; transform: none; border: 1px solid var(--line); background: var(--paper); box-shadow: none; visibility: hidden; opacity: 0; pointer-events: none; }
.submenu.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.submenu a { padding: 14px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; font-size: 13px; }
.submenu a:last-child { border-bottom: 0; }
.submenu a:hover { background: var(--paper-deep); }
.menu-toggle, .mobile-close { width: 44px; height: 44px; border: 0; background: transparent; }
.menu-toggle { display: none; grid-column: 2; padding: 10px; }
.menu-toggle span { display: block; height: 1px; margin: 6px 0; background: var(--ink); }
.mobile-menu { position: fixed; inset: 0; z-index: 60; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; border: 0; padding: 70px 9vw; overflow-y: auto; background: var(--navy); color: var(--paper); }
.mobile-menu:not([open]) { display: none; }
.mobile-menu::backdrop { background: rgba(26,26,26,.62); }
.mobile-close { position: absolute; top: 18px; right: 18px; color: var(--paper); font-size: 36px; }
.mobile-menu a { border-bottom: 1px solid rgba(255,255,255,.18); padding-bottom: 8px; }

.button { min-height: 50px; padding: 12px 24px; border-radius: 0; font-family: "IBM Plex Sans", "Noto Sans TC", sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .04em; transition: color .22s ease, background-color .22s ease, border-color .22s ease; }
.button-solid { border-color: var(--navy); background: var(--navy); color: white; }
.button-solid:hover { background: transparent; color: var(--navy); }
.button-outline { border-color: currentColor; background: transparent; }
.button-outline:hover { background: var(--navy); border-color: var(--navy); color: white; }
.text-link { display: inline-block; padding-bottom: 3px; border-bottom: 1px solid currentColor; font-size: 14px; }
.text-link:hover { color: var(--navy); }

.home-hero { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); align-items: center; gap: 28px; min-height: calc(100svh - var(--header-height)); padding-block: 72px; }
.hero-copy { grid-column: 1 / span 6; padding-right: 34px; }
.hero-copy h1 { max-width: 600px; font-size: clamp(46px, 5vw, 68px); }
.hero-copy > p:not(.eyebrow):not(.en-sub) { max-width: 570px; }
.hero-media { grid-column: 7 / -1; margin-bottom: 0; }
.hero-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; border-bottom: 1px solid var(--line); }
.section-head h2 { margin-bottom: 24px; }
.pathways { border-top: 1px solid var(--line); }
.path-list { border-top: 1px solid var(--line); }
.path-list > a { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 24px; min-height: 152px; border-bottom: 1px solid var(--line); transition: background-color .22s ease, padding .22s ease; }
.path-list > a:hover { padding-inline: 18px; background: var(--paper-deep); }
.path-list > a > span { color: var(--navy); font: 500 14px/1 "IBM Plex Sans", sans-serif; }
.path-list h3 { margin-bottom: 7px; }
.path-list p { margin-bottom: 0; color: var(--muted); }
.path-list b { color: var(--navy); font: 400 24px/1 "IBM Plex Sans", sans-serif; }
.advisor-summary { background: var(--paper-deep); }
.split-heading, .editorial-grid { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 28px; }
.split-heading > div:first-child, .editorial-grid > h2 { grid-column: 1 / span 4; }
.advisor-rows, .editorial-grid > p, .editorial-grid > div { grid-column: 6 / -1; }
.advisor-rows article { padding-block: 22px; border-top: 1px solid var(--line); }
.advisor-rows h3 { margin-bottom: 6px; }
.advisor-rows p { margin-bottom: 0; color: var(--muted); }
.closing-cta { padding-block: 88px; background: var(--navy); color: white; }
.closing-cta .eyebrow { color: #cfd7e0; }
.closing-cta h2 { max-width: 700px; font-size: clamp(38px,5vw,60px); }
.closing-cta .button { margin-top: 18px; }
.closing-cta .button-outline:hover { background: white; border-color: white; color: var(--navy); }

.page-title { padding-block: 100px 38px; border-bottom: 1px solid var(--line); }
.page-title h1 { font-size: clamp(52px,8vw,94px); }
.page-title > p:last-child { max-width: 640px; color: var(--muted); }
.page-hero { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: clamp(40px,7vw,92px); min-height: calc(100svh - var(--header-height)); padding-block: 64px; }
.page-hero figure { margin-bottom: 0; }
.page-hero figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.page-hero > div > p:not(.eyebrow):not(.lead):not(.en-sub) { color: var(--muted); }
.lab-intro, .about-intro, .jtiti-intro { background: var(--paper-deep); }
.numbered-services ol, .feature-list ol { margin: 0 0 42px; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.numbered-services li, .feature-list li { display: grid; grid-template-columns: 90px 1fr; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.numbered-services li span, .feature-list li > span { color: var(--navy); font: 500 14px/1.5 "IBM Plex Sans", sans-serif; }
.numbered-services li h3, .feature-list li h3, .feature-list li p { margin-bottom: 0; }
.feature-list li p { color: var(--muted); }
.case-link { border-top: 1px solid var(--line); }
.case-link .shell { display: grid; grid-template-columns: 3fr 6fr 3fr; gap: 28px; align-items: start; }
.case-link h2 { grid-column: 1 / span 2; font-size: clamp(34px,4vw,52px); }
.case-link > .shell > p:not(.eyebrow) { grid-column: 2 / -1; }
.case-link .text-link { grid-column: 2; }

.product-overview { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.product-panel { position: relative; display: grid; min-height: 680px; overflow: hidden; color: white; }
.product-panel::after { content: ""; position: absolute; inset: 0; background: rgba(18,25,30,.22); transition: background-color .3s ease; }
.product-panel:hover::after { background: rgba(18,25,30,.1); }
.product-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.product-panel:hover img { transform: scale(1.025); }
.product-panel > div { position: relative; z-index: 1; align-self: end; padding: 42px; }
.product-panel span { font-size: 12px; letter-spacing: .08em; }
.product-panel h2 { margin-block: 12px 4px; font-size: clamp(34px,4vw,50px); }
.product-panel p { margin-bottom: 22px; }
.product-panel b { font-size: 13px; font-weight: 500; }
.product-panel.jtiti img { filter: saturate(.75); }

.lime-page { --accent: var(--lime); background: #f6f0ed; }
.lime-page .site-header { background: rgba(246,240,237,.94); }
.lime-hero { display: grid; grid-template-columns: 5fr 7fr; min-height: calc(100svh - var(--header-height)); }
.lime-copy { display: flex; flex-direction: column; justify-content: center; padding: 9vw clamp(28px,7vw,120px); background: var(--lime); color: #252020; }
.lime-copy .eyebrow, .lime-copy .en-sub { color: #4f4140; }
.lime-copy h1 { font-family: "IBM Plex Sans", "Noto Sans TC", sans-serif; font-size: clamp(66px,8vw,116px); font-weight: 400; letter-spacing: -.055em; }
.lime-hero figure { margin-bottom: 0; background: #eadfd9; }
.lime-hero figure img { width: 100%; height: calc(100% - 35px); object-fit: cover; }
.lime-hero figcaption { padding-inline: 12px; }
.status { display: inline-flex; align-self: flex-start; padding: 7px 11px; border: 1px solid currentColor; font-size: 12px; }
.lime-story { background: url("/lime-texture-1254.webp") center / cover; }
.lime-research { padding-block: 96px; background: #2a2424; color: white; }
.lime-research .eyebrow { color: var(--lime); }
.lime-research p { max-width: 650px; }
.lime-research .button { margin-top: 20px; }
.lime-research .button:hover { background: var(--lime); border-color: var(--lime); color: #2a2424; }

.jtiti-page { --accent: var(--jtiti); }
.jtiti-page .page-hero { border-bottom: 5px solid var(--jtiti); }
.jtiti-page .eyebrow { color: var(--jtiti); }
.jtiti-status { color: var(--jtiti); }
.flow-section { background: #e7eee9; }
.flow-section img { width: 100%; margin-bottom: 42px; }
.jtiti-page .button-solid { border-color: var(--jtiti); background: var(--jtiti); }
.jtiti-page .button-solid:hover { background: transparent; color: var(--jtiti); }

.brand-map-list { border-top: 1px solid var(--line); }
.brand-map-list article { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.brand-map-list span { color: var(--navy); font-size: 13px; }
.brand-map-list h3, .brand-map-list p { margin-bottom: 0; }
.brand-map-list p { color: var(--muted); }
.advisors { background: var(--navy); color: white; }
.advisors .eyebrow { color: #cfd7e0; }
.advisors .section-head { border-color: rgba(255,255,255,.22); }
.advisor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; }
.advisor-grid article { display: grid; grid-template-columns: 62px 1fr; gap: 24px; }
.advisor-grid .initial { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid rgba(255,255,255,.4); font-size: 24px; }
.advisor-grid p { color: #d5dbe3; }
.company-info dl { border-top: 1px solid var(--line); }
.company-info dl > div { display: grid; grid-template-columns: 180px 1fr; padding: 22px 0; border-bottom: 1px solid var(--line); }
.company-info dt { color: var(--muted); font-size: 13px; }
.company-info dd { margin: 0; }

.brief-builder { display: grid; grid-template-columns: 4fr 7fr; gap: 9%; align-items: start; }
.brief-heading { position: sticky; top: 110px; }
.notice { padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.consult-form { display: grid; gap: 26px; }
.consult-form label { color: #3f3f3f; font-size: 14px; }
.consult-form input, .consult-form select, .consult-form textarea { border: 0; border-bottom: 1px solid #9f9b94; padding: 11px 0; background: transparent; }
.consult-form textarea { min-height: 130px; }
.consult-form .button { justify-self: start; }
.form-note { color: var(--muted); font-size: 12px; }
.brief-result { padding: 30px; border: 1px solid var(--navy); }
.brief-result pre { overflow-wrap: anywhere; white-space: pre-wrap; font: 14px/1.75 "Noto Sans TC", sans-serif; }

.site-footer { padding: 32px var(--gutter); background: #151515; color: #efede8; }
.site-footer .shell { display: flex; align-items: center; gap: 28px; }
.site-footer .shell span:first-child { margin-right: auto; }

.redirect-page { background: var(--paper); color: var(--ink); }
.redirect-page h1 { font-size: 40px; }

.motion-enhanced [data-reveal] { opacity: 0; transform: translateY(12px); }
.motion-reduced [data-reveal], .motion-fallback [data-reveal] { opacity: 1; transform: none; }

@media (hover: hover) and (pointer: fine) {
  .text-link, .button, .path-list > a, .product-panel { cursor: pointer; }
}

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; --gutter: 20px; }
  body { font-size: 16px; line-height: 1.72; }
  h1 { font-size: 38px; }
  h2 { font-size: 27px; }
  h3 { font-size: 19px; }
  .section-space { padding-block: 56px; }
  .brand-lockup img { width: 42px; height: 42px; }
  .brand-lockup strong { font-size: 18px; }
  .home-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 48px 28px; }
  .hero-copy, .hero-media { grid-column: 1; }
  .hero-copy { padding-right: 0; }
  .hero-copy h1 { font-size: clamp(40px,11.5vw,50px); }
  .hero-media { margin-top: 24px; }
  .path-list > a { grid-template-columns: 48px 1fr auto; gap: 14px; min-height: 126px; }
  .path-list > a:hover { padding-inline: 0; }
  .split-heading, .editorial-grid { grid-template-columns: 1fr; gap: 18px; }
  .split-heading > div:first-child, .editorial-grid > h2, .advisor-rows, .editorial-grid > p, .editorial-grid > div { grid-column: 1; }
  .page-title { padding-block: 66px 28px; }
  .page-title h1 { font-size: 52px; }
  .page-hero { grid-template-columns: 1fr; min-height: 0; padding-block: 50px; gap: 32px; }
  .case-link .shell { grid-template-columns: 1fr; }
  .case-link h2, .case-link > .shell > p:not(.eyebrow), .case-link .text-link { grid-column: 1; }
  .numbered-services li, .feature-list li { grid-template-columns: 50px 1fr; }
  .product-overview { grid-template-columns: 1fr; gap: 20px; }
  .product-panel { min-height: 550px; }
  .product-panel > div { padding: 28px; }
  .lime-hero { grid-template-columns: 1fr; }
  .lime-copy { min-height: 520px; padding: 64px var(--gutter); }
  .lime-copy h1 { font-size: clamp(64px,23vw,92px); }
  .lime-hero figure img { height: auto; }
  .brand-map-list article { grid-template-columns: 1fr; gap: 7px; }
  .advisor-grid { grid-template-columns: 1fr; gap: 48px; }
  .advisor-grid article { grid-template-columns: 48px 1fr; gap: 16px; }
  .advisor-grid .initial { width: 48px; height: 48px; font-size: 19px; }
  .company-info dl > div { grid-template-columns: 1fr; gap: 6px; }
  .brief-builder { grid-template-columns: 1fr; gap: 40px; }
  .brief-heading { position: static; }
  .site-footer .shell { flex-wrap: wrap; }
  .site-footer .shell span:first-child { flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

}
