/* ==========================================================================
   興承開發 — Unified Stylesheet
   --------------------------------------------------------------------------
   Built on Tobeyo Design System (colors_and_type.css)
   Includes:
     1. Token re-mapping (my legacy --color-* → Tobeyo tokens)
     2. All multi-page class library (.btn, .card, .section, .hero, etc)
     3. Tobeyo-style .xc-* component library (homepage hero, services, why, etc)
   ========================================================================== */

@import url("colors_and_type.css");

/* =========================================================================
   1. LEGACY VAR MAPPING — bridges my old multi-page CSS to Tobeyo palette
   ========================================================================= */
:root {
  --color-primary:        var(--tobeyo-teal-700);
  --color-primary-dark:   var(--tobeyo-teal-900);
  --color-primary-light:  var(--tobeyo-teal-600);
  --color-accent:         var(--tobeyo-terra-600);
  --color-accent-dark:    var(--tobeyo-terra-800);
  --color-accent-light:   var(--tobeyo-terra-500);
  --color-cream:          var(--tobeyo-sand-050);
  --color-stone:          var(--tobeyo-sand-100);
  --color-text:           var(--tobeyo-ink-400);
  --color-text-soft:      var(--tobeyo-ink-200);
  --color-text-muted:     var(--tobeyo-ink-100);
  --color-border:         var(--tobeyo-sand-200);
  --color-white:          #ffffff;
  --color-black:          var(--tobeyo-ink-500);

  --font-serif: var(--font-display);
  --max-width: 1240px;
  --max-width-narrow: 880px;
  --header-h: 76px;

  --shadow-sm: 0 1px 2px rgba(45, 42, 38, 0.06), 0 1px 1px rgba(45, 42, 38, 0.04);
  --shadow-md: 0 2px 8px rgba(45, 42, 38, 0.08), 0 1px 2px rgba(45, 42, 38, 0.04);
  --shadow-lg: 0 8px 24px rgba(45, 42, 38, 0.10), 0 2px 6px rgba(45, 42, 38, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--fg-1);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--fg-link); text-decoration: none; transition: color .2s var(--ease-out); }
a:hover { color: var(--fg-link-hover); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--tobeyo-ink-500);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2.2vw, 26px); }
h4 { font-size: 18px; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--tobeyo-teal-700); font-weight: 700; }

p { margin: 0 0 1em; color: var(--fg-1); }

.container        { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: var(--max-width-narrow); margin: 0 auto; padding: 0 32px; }

/* =========================================================================
   TOPBAR + HEADER + NAV
   ========================================================================= */
.topbar {
  background: var(--tobeyo-ink-500);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  padding: 8px 0;
  letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: rgba(255,255,255,.85); }
.topbar a:hover { color: var(--tobeyo-terra-500); }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span::before { content: "›"; margin-right: 6px; color: var(--tobeyo-terra-500); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-1);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 62px; width: auto; max-width: 240px; object-fit: contain; display: block; }
.brand-text { display: none; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); color: var(--tobeyo-ink-500); font-size: 20px; letter-spacing: .04em; font-weight: 700; }
.brand-text small { color: var(--tobeyo-ink-100); font-size: 9px; letter-spacing: .22em; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 12px 14px;
  color: var(--fg-1); font-weight: 500; font-size: 14px;
}
.nav-item > a:hover, .nav-item.active > a { color: var(--tobeyo-teal-700); }

.nav-submenu {
  position: absolute; top: 100%; left: 0;
  min-width: 240px; background: var(--bg-surface);
  border-top: 2px solid var(--tobeyo-teal-700);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .25s var(--ease-out);
  list-style: none; margin: 0; padding: 10px 0;
}
.nav-item:hover .nav-submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-submenu li a { display: block; padding: 9px 20px; font-size: 14px; color: var(--fg-2); }
.nav-submenu li a:hover { background: var(--tobeyo-teal-050); color: var(--tobeyo-teal-700); }

.nav-cta {
  margin-left: 16px; padding: 10px 18px;
  background: var(--tobeyo-teal-700); color: #fff !important;
  border-radius: var(--radius-sm); font-weight: 500; font-size: 14px;
  transition: all 180ms var(--ease-out);
}
.nav-cta:hover { background: var(--tobeyo-teal-800); box-shadow: var(--shadow-sm); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--tobeyo-ink-400); margin: 5px 0; transition: .25s; }

/* =========================================================================
   PAGE HERO (inner pages — smaller)
   ========================================================================= */
.page-hero {
  position: relative;
  padding: 120px 0 100px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(74, 163, 150, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(217, 118, 86, 0.30) 0%, transparent 60%),
    linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.018) 18px 19px);
  pointer-events: none;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.025em;
  text-shadow: 0 3px 18px rgba(0,0,0,.55);
}
.page-hero .breadcrumb {
  font-size: 12px; color: rgba(255,255,255,.65); letter-spacing: .14em;
  margin-bottom: 28px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.65); }
.page-hero .breadcrumb a:hover { color: var(--tobeyo-terra-500); }
.page-hero .lead {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255,255,255,.92);
  line-height: 1.8;
  font-size: 17px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero.has-bg {
  background-color: #123f3b;
  background-size: cover;
  background-position: center;
}
.page-hero.hero-about {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .03), rgba(7, 27, 25, .18)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-about.webp?v=20260524");
}
.page-hero.hero-services {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .07), rgba(7, 27, 25, .18)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-services.webp?v=20260524");
}
.page-hero.hero-geothermal {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .07), rgba(7, 27, 25, .18)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-geothermal.webp?v=20260524");
}
.page-hero.hero-geothermal-power {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .07), rgba(7, 27, 25, .19)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-geothermal-power.webp?v=20260524");
}
.page-hero.hero-solutions {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .03), rgba(7, 27, 25, .19)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-solutions.webp?v=20260524");
}
.page-hero.hero-hot-spring {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .02), rgba(7, 27, 25, .16)),
    linear-gradient(90deg, rgba(7, 27, 25, .09), rgba(7, 27, 25, .02) 50%, rgba(7, 27, 25, .09)),
    url("../images/heroes/page-hot-spring.webp?v=20260524");
}
.page-hero.hero-cases {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .07), rgba(7, 27, 25, .18)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-cases.webp?v=20260524");
}
.page-hero.hero-contact {
  background-image:
    linear-gradient(180deg, rgba(7, 27, 25, .07), rgba(7, 27, 25, .18)),
    linear-gradient(90deg, rgba(7, 27, 25, .10), rgba(7, 27, 25, .03) 50%, rgba(7, 27, 25, .10)),
    url("../images/heroes/page-contact.webp?v=20260524");
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 15px; letter-spacing: .02em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 180ms var(--ease-out);
  text-align: center;
}
.btn-primary { background: var(--tobeyo-teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--tobeyo-teal-800); box-shadow: var(--shadow-md); transform: translateY(-1px); color: #fff; }
.btn-outline { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.30); backdrop-filter: blur(10px); }
.btn-outline:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.55); color: #fff; transform: translateY(-1px); }
.btn-dark { background: var(--tobeyo-teal-900); color: #fff; }
.btn-dark:hover { background: var(--tobeyo-ink-500); color: #fff; }

/* =========================================================================
   SECTION SCAFFOLDING
   ========================================================================= */
.section { padding: 100px 0; }
.section-tight { padding: 60px 0; }
.section-alt  { background: var(--tobeyo-sand-100); }
.section-dark {
  position: relative;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(20, 117, 107, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 90% 90%, rgba(168, 74, 48, 0.25) 0%, transparent 65%),
    linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark h2 em, .section-dark h3 em { color: var(--tobeyo-terra-500); }
.section-dark p { color: rgba(255,255,255,.85); }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .18em;
  color: var(--tobeyo-teal-700); font-weight: 500;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-dark .section-head .eyebrow { color: var(--tobeyo-terra-500); }
.section-head h2 { margin-bottom: 16px; }
.section-head .divider { width: 48px; height: 2px; background: var(--tobeyo-terra-600); margin: 18px auto 22px; }
.section-head p { font-size: 17px; line-height: 1.8; color: var(--fg-2); }

/* =========================================================================
   FEATURE ROW (image + text)
   ========================================================================= */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature-row .visual {
  aspect-ratio: 1/1;
  border-radius: var(--radius-xl);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 120px;
  color: rgba(255,255,255,.18);
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(74, 163, 150, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 75%, rgba(217, 118, 86, 0.4) 0%, transparent 65%),
    linear-gradient(135deg, #0a4a44 0%, #14322f 100%);
  box-shadow: var(--shadow-lg);
}
.feature-row .visual::before {
  content: ""; position: absolute; inset: 18px;
  border: 1px solid rgba(255,255,255,.12); border-radius: calc(var(--radius-xl) - 12px);
}
.feature-row .content .eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .18em;
  color: var(--tobeyo-teal-700); font-weight: 500; margin-bottom: 16px;
}

/* =========================================================================
   CARDS (generic)
   ========================================================================= */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: all 280ms var(--ease-out);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tobeyo-teal-100); }
.card .card-num {
  font-family: var(--font-display); font-size: 14px;
  color: var(--tobeyo-teal-700); letter-spacing: .15em;
  margin-bottom: 14px; font-weight: 500;
}
.card h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.75; margin: 0 0 18px; color: var(--fg-2); flex: 1; }
.card .more { font-size: 14px; color: var(--tobeyo-teal-700); font-weight: 500; letter-spacing: .04em; }
.card .more::after { content: " →"; transition: .2s; }
.card:hover .more::after { margin-left: 4px; }

.card-bordered {
  background: var(--tobeyo-terra-050);
  border-color: var(--tobeyo-terra-100);
}

/* =========================================================================
   PROCESS STRIP (6 流程)
   ========================================================================= */
.process-strip {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
.process-item {
  text-align: center; padding: 32px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 240ms var(--ease-out);
}
.process-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.process-item .num {
  font-family: var(--font-display); font-size: 12px;
  color: var(--tobeyo-teal-700); letter-spacing: .2em;
  margin-bottom: 14px; font-weight: 700;
}
.process-item .icon {
  width: 56px; height: 56px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--tobeyo-teal-050);
  color: var(--tobeyo-teal-700);
  border-radius: 50%;
  font-size: 24px;
}
.process-item h4 { color: var(--tobeyo-ink-500); font-family: var(--font-display); font-size: 18px; margin: 0 0 6px; }
.process-item small { color: var(--fg-3); font-size: 11px; letter-spacing: .2em; }

/* =========================================================================
   STATS
   ========================================================================= */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--tobeyo-teal-900);
  border-radius: var(--radius-xl);
  padding: 8px;
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.stats .stat { padding: 40px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,.10); }
.stats .stat:last-child { border-right: none; }
.stats .stat .num { font-family: var(--font-display); font-size: 48px; color: var(--tobeyo-terra-500); font-weight: 700; line-height: 1; }
.stats .stat .num small { font-size: 16px; margin-left: 4px; color: rgba(255,255,255,.7); font-weight: 500; }
.stats .stat .label { font-size: 13px; letter-spacing: .08em; color: rgba(255,255,255,.75); margin-top: 14px; }

/* =========================================================================
   KNOWLEDGE GRID (12 主題)
   ========================================================================= */
.knowledge-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.knowledge-grid .item {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  text-align: left;
  transition: all 240ms var(--ease-out);
  box-shadow: var(--shadow-xs);
  color: inherit;
  overflow: hidden;
}
.knowledge-grid .item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--tobeyo-teal-100);
  background: var(--tobeyo-surface-2);
}
.knowledge-grid .item .topic-thumb {
  aspect-ratio: 3 / 2;
  width: 100%;
  overflow: hidden;
  background: var(--tobeyo-teal-050);
}
.knowledge-grid .item .topic-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms var(--ease-out), filter 240ms var(--ease-out);
}
.knowledge-grid .item:hover .topic-thumb img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}
.knowledge-grid .item .num {
  font-family: var(--font-display); font-size: 22px;
  color: var(--tobeyo-teal-700); margin: 20px 22px 10px;
  font-weight: 700;
}
.knowledge-grid .item h4 {
  color: var(--tobeyo-ink-500); margin: 0 22px 8px;
  font-size: 16px; font-family: var(--font-display); font-weight: 700;
}
.knowledge-grid .item p { font-size: 13px; color: var(--fg-3); margin: 0 22px 24px; line-height: 1.65; }

/* =========================================================================
   ARTICLE BODY (long-form content pages)
   ========================================================================= */
.article { padding: 80px 0 100px; background: var(--bg-surface); }
.article-body { max-width: 820px; margin: 0 auto; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  margin: 56px 0 22px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--tobeyo-terra-600);
  color: var(--tobeyo-ink-500);
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 36px 0 14px;
  color: var(--tobeyo-teal-700);
}
.article-body p {
  font-size: 16px;
  line-height: 1.85;
  margin: 0 0 1.2em;
  color: var(--fg-1);
}
.article-body ul, .article-body ol {
  padding-left: 1.4em;
  margin: 1em 0 1.4em;
  color: var(--fg-1);
  line-height: 1.85;
}
.article-body li { margin-bottom: .55em; }
.article-body ::marker { color: var(--tobeyo-terra-600); }
.article-body blockquote {
  border-left: 3px solid var(--tobeyo-terra-600);
  background: var(--tobeyo-terra-050);
  padding: 22px 28px;
  margin: 30px 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--tobeyo-ink-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body table {
  width: 100%; border-collapse: collapse;
  margin: 24px 0; font-size: 14px;
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.article-body th, .article-body td {
  padding: 14px 16px;
  border: 1px solid var(--border-2);
  text-align: left;
}
.article-body th { background: var(--tobeyo-teal-900); color: #fff; font-weight: 600; letter-spacing: .04em; }
.article-body tr:nth-child(even) td { background: var(--tobeyo-sand-050); }
.article-body .note {
  background: var(--tobeyo-warning-bg);
  border-left: 3px solid var(--tobeyo-warning);
  padding: 18px 22px; margin: 24px 0;
  font-size: 14px; line-height: 1.75;
  color: var(--tobeyo-ink-400);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.article-body strong { color: var(--tobeyo-ink-500); }

/* =========================================================================
   TOC + PILLAR NAV
   ========================================================================= */
.toc {
  background: var(--tobeyo-teal-050);
  padding: 24px 28px;
  border-left: 3px solid var(--tobeyo-teal-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 0 0 40px;
}
.toc strong {
  color: var(--tobeyo-teal-800); font-family: var(--font-display);
  display: block; margin-bottom: 12px; letter-spacing: .04em;
  font-size: 15px;
}
.toc ol { margin: 0; padding-left: 1.4em; font-size: 14px; line-height: 1.9; }
.toc ol li::marker { color: var(--tobeyo-teal-700); font-weight: 700; }
.toc ol li a { color: var(--fg-1); }
.toc ol li a:hover { color: var(--tobeyo-teal-700); }

.pillar-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border-2);
}
.pillar-nav a {
  display: block; padding: 20px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 240ms var(--ease-out);
}
.pillar-nav a:hover { background: var(--tobeyo-teal-700); color: #fff; border-color: var(--tobeyo-teal-700); transform: translateY(-2px); }
.pillar-nav small {
  display: block; font-size: 11px; letter-spacing: .2em;
  color: var(--fg-3); margin-bottom: 6px;
}
.pillar-nav a:hover small { color: rgba(255,255,255,.7); }
.pillar-nav strong { font-family: var(--font-display); font-size: 16px; color: var(--tobeyo-ink-500); }
.pillar-nav a:hover strong { color: #fff; }
.pillar-nav .next { text-align: right; }

/* =========================================================================
   SERVICE CATEGORY (hub layout)
   ========================================================================= */
.service-cat {
  display: grid; grid-template-columns: 300px 1fr; gap: 48px;
  padding: 60px 0; border-bottom: 1px solid var(--border-2);
}
.service-cat:last-child { border-bottom: none; }
.service-cat .cat-title { position: sticky; top: 110px; align-self: start; }
.service-cat .cat-title .num {
  font-family: var(--font-display); font-size: 13px;
  color: var(--tobeyo-teal-700); letter-spacing: .18em; margin-bottom: 10px;
  font-weight: 500;
}
.service-cat .cat-title h2 { font-size: 32px; margin: 0 0 12px; }
.service-cat .cat-title p { font-size: 14px; color: var(--fg-2); }
.service-cat .cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-cat .cat-list .item {
  background: var(--tobeyo-sand-050);
  border-left: 3px solid var(--tobeyo-terra-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 22px 24px;
}
.service-cat .cat-list .item h4 { margin: 0 0 8px; font-size: 16px; color: var(--tobeyo-ink-500); font-family: var(--font-display); }
.service-cat .cat-list .item p { font-size: 13px; line-height: 1.7; margin: 0; color: var(--fg-2); }

/* =========================================================================
   CASE GRID
   ========================================================================= */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-item {
  display: flex; flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 280ms var(--ease-out);
}
.case-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-item .case-img {
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(74, 163, 150, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 75%, rgba(217, 118, 86, 0.35) 0%, transparent 65%),
    linear-gradient(135deg, #0a4a44 0%, #14322f 100%);
  color: rgba(255,255,255,.4);
  font-family: var(--font-display); font-size: 56px;
}
.case-item .case-body { padding: 24px 26px 26px; }
.case-item .case-tag {
  display: inline-block; padding: 5px 10px;
  background: var(--tobeyo-teal-050); color: var(--tobeyo-teal-700);
  font-size: 11px; letter-spacing: .14em;
  border-radius: var(--radius-xs);
  margin-bottom: 12px;
}
.case-item h3 { font-family: var(--font-display); font-size: 19px; margin: 0 0 8px; line-height: 1.35; color: var(--tobeyo-ink-500); }
.case-item .case-meta { font-size: 12px; color: var(--fg-3); line-height: 1.65; }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info .info-item { padding: 22px 0; border-bottom: 1px dashed var(--border-2); }
.contact-info .info-item:last-child { border-bottom: none; }
.contact-info .label { font-size: 12px; letter-spacing: .14em; color: var(--tobeyo-teal-700); margin-bottom: 6px; font-weight: 500; }
.contact-info .value { font-size: 17px; color: var(--tobeyo-ink-500); font-weight: 700; font-family: var(--font-display); }
.contact-info .sub { font-size: 13px; color: var(--fg-3); margin-top: 4px; }

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.contact-form .field { margin-bottom: 18px; }
.contact-form label {
  display: block; font-size: 13px;
  color: var(--tobeyo-ink-400); margin-bottom: 8px;
  font-weight: 500; letter-spacing: .04em;
}
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border-2);
  background: var(--bg-page);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: 14px;
  transition: .2s;
  color: var(--fg-1);
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--tobeyo-teal-700);
  box-shadow: 0 0 0 3px rgba(20, 117, 107, .12);
  background: #fff;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* =========================================================================
   CTA BANNER + FOOTER
   ========================================================================= */
.cta-banner {
  position: relative;
  color: #fff;
  padding: 90px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(20, 117, 107, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 85% 80%, rgba(217, 118, 86, 0.55) 0%, transparent 65%),
    linear-gradient(120deg, #0e5f58 0%, #14322f 45%, #a84a30 100%);
}
.cta-banner h2 { color: #fff; margin-bottom: 16px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-banner h2 em { color: var(--tobeyo-terra-500); }
.cta-banner p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 32px; font-size: 16px; line-height: 1.8; }

.site-footer { background: var(--tobeyo-ink-500); color: rgba(255,255,255,.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; }
.site-footer h5 {
  color: #fff; font-size: 13px; letter-spacing: .14em;
  font-family: var(--font-sans);
  margin-bottom: 22px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site-footer ul { list-style: none; padding: 0; margin: 0; font-size: 14px; line-height: 2; }
.site-footer ul a { color: rgba(255,255,255,.62); }
.site-footer ul a:hover { color: var(--tobeyo-terra-500); }
.site-footer .footer-brand img { height: 64px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 18px; background: rgba(255,255,255,.96); padding: 8px 12px; border-radius: var(--radius-sm); display: block; }
.site-footer .footer-brand p { color: rgba(255,255,255,.6); font-size: 14px; line-height: 1.85; }
.site-footer .footer-brand p strong { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 28px; font-size: 12px; color: rgba(255,255,255,.4);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom .lang { display: flex; gap: 14px; }


/* =========================================================================
   2. XC-* COMPONENT LIBRARY (Tobeyo design — used by homepage)
   ========================================================================= */
.xc-root { background: var(--bg-page); }
.num { font-variant-numeric: tabular-nums lining-nums; font-feature-settings: "tnum" 1, "lnum" 1; }

/* HERO (homepage) */
.xc-hero {
  position: relative;
  min-height: 760px;
  display: flex; align-items: center;
  padding: 140px 32px 120px;
  color: #fff;
  overflow: hidden;
}
.xc-hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xc-hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% center;
  opacity: 1;
}
.xc-hero-paint {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 42, 40, 0.66) 0%, rgba(9, 42, 40, 0.30) 38%, rgba(9, 42, 40, 0.02) 100%),
    linear-gradient(180deg, rgba(6, 18, 18, 0.04) 0%, rgba(6, 18, 18, 0.22) 100%);
}
.xc-hero-waves { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.xc-hero-steam { position: absolute; right: -6%; top: -10%; width: 70%; height: 110%; opacity: 0.45; mix-blend-mode: screen; }
.xc-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% 110%, rgba(0,0,0,0.20) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.12) 100%);
}
.xc-hero-inner { position: relative; z-index: 1; max-width: 1160px; width: 100%; margin: 0 auto; }
.xc-hero-eyebrow { font-size: 12px; font-weight: 500; letter-spacing: 0.32em; color: var(--tobeyo-terra-500); margin-bottom: 28px; }
.xc-hero-h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(44px, 6.5vw, 88px);
  line-height: 1.12; letter-spacing: -0.035em;
  color: #fff; margin: 0 0 28px;
  text-wrap: balance; max-width: 14ch;
}
.xc-hero-h1 em { font-style: italic; color: var(--tobeyo-terra-500); }
.xc-hero-lead { font-size: 18px; line-height: 1.85; color: rgba(255,255,255,0.88); margin: 0 0 40px; max-width: 620px; }
.hide-sm { display: inline; }
.xc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.xc-hero-meta { display: flex; gap: 18px; align-items: center; font-size: 14px; color: rgba(255,255,255,0.78); flex-wrap: wrap; }
.xc-hero-meta b { color: var(--tobeyo-terra-500); font-size: 22px; font-weight: 700; margin-right: 4px; }
.xc-hero-meta .dot { color: rgba(255,255,255,0.3); font-size: 6px; }

.xc-scroll {
  position: absolute; z-index: 2; bottom: 32px; right: 40px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: rgba(255,255,255,0.7); font-size: 10px; letter-spacing: 0.4em; font-weight: 500;
}
.xc-scroll:hover { color: #fff; }
.xc-scroll-arrow { font-size: 22px; animation: xc-bob 2.4s ease-in-out infinite; }
@keyframes xc-bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* xc helpers */
.xc-eyebrow { display: inline-block; font-size: 13px; font-weight: 500; letter-spacing: 0.18em; color: var(--tobeyo-teal-700); margin-bottom: var(--space-4); text-transform: uppercase; }
.xc-eyebrow-light { color: var(--tobeyo-terra-500); }
.xc-h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2; letter-spacing: -0.025em;
  color: var(--tobeyo-ink-500);
  font-weight: 700; margin: 0 0 var(--space-5);
  text-wrap: balance;
}
.xc-h2 em { font-style: italic; color: var(--tobeyo-teal-700); font-weight: 700; }
.xc-h2-light { color: #fff; }
.xc-h2-light em { color: var(--tobeyo-terra-500); }
.xc-center { text-align: center; margin-left: auto; margin-right: auto; }
.xc-lead { font-size: 19px; line-height: 1.75; color: var(--fg-2); margin: 0 0 var(--space-5); }
.xc-link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500;
  color: var(--tobeyo-teal-700); letter-spacing: 0.02em;
  border-bottom: 1px solid var(--tobeyo-teal-100);
  padding-bottom: 4px;
  transition: all 200ms var(--ease-out);
}
.xc-link-arrow:hover { color: var(--tobeyo-teal-800); border-bottom-color: var(--tobeyo-teal-700); }

.xc-btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-weight: 500; font-size: 15px; padding: 12px 22px; border-radius: var(--radius-sm); border: 1px solid transparent; cursor: pointer; transition: all 180ms var(--ease-out); }
.xc-btn-lg { font-size: 16px; padding: 16px 28px; }
.xc-btn-primary { background: var(--tobeyo-teal-700); color: #fff; box-shadow: var(--shadow-sm); }
.xc-btn-primary:hover { background: var(--tobeyo-teal-800); box-shadow: var(--shadow-md); transform: translateY(-1px); color: #fff; }
.xc-btn-ghost-light { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.30); backdrop-filter: blur(10px); }
.xc-btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); color: #fff; }
.xc-btn-outline { background: transparent; color: var(--tobeyo-teal-700); border-color: var(--tobeyo-teal-700); }
.xc-btn-outline:hover { background: var(--tobeyo-teal-700); color: #fff; }

/* Section scaffolding */
.xc-section { padding: 120px 32px; }
.xc-section-tint { padding: 120px 32px; background: var(--tobeyo-sand-100); }
.xc-section-inner { max-width: 1240px; margin: 0 auto; }
.xc-section-head { text-align: center; margin: 0 auto 64px; max-width: 760px; }
.xc-section-head-row { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; max-width: none; margin-bottom: 56px; gap: 40px; flex-wrap: wrap; }
.xc-section-head-row .xc-h2 { margin-bottom: 0; }
.xc-section-sub { font-size: 16px; color: var(--fg-2); margin: 0; line-height: 1.7; }

/* About */
.xc-about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 96px; align-items: center; }
.xc-about-text .xc-h2 { font-size: clamp(36px, 4.5vw, 60px); }
.xc-about-aside { display: flex; flex-direction: column; gap: 32px; }
.xc-quote-card { position: relative; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-xl); padding: 48px 44px 40px; box-shadow: var(--shadow-md); }
.xc-quote-mark { position: absolute; top: 14px; left: 24px; font-family: var(--font-display); font-size: 96px; line-height: 1; color: var(--tobeyo-teal-100); font-weight: 700; }
.xc-quote-card p { position: relative; font-family: var(--font-display); font-size: 26px; line-height: 1.5; color: var(--tobeyo-ink-500); margin: 16px 0 24px; font-weight: 500; }
.xc-quote-card p em { font-style: italic; color: var(--tobeyo-teal-700); }
.xc-quote-by { font-size: 13px; color: var(--fg-3); letter-spacing: 0.06em; }
.xc-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--tobeyo-teal-900); border-radius: var(--radius-xl); padding: 32px 16px; color: #fff; box-shadow: var(--shadow-lg); }
.xc-stat-strip > div { text-align: center; padding: 0 12px; border-right: 1px solid rgba(255,255,255,0.10); }
.xc-stat-strip > div:last-child { border-right: 0; }
.xc-stat-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; color: var(--tobeyo-terra-500); }
.xc-stat-unit { font-size: 16px; margin-left: 2px; color: rgba(255,255,255,0.9); font-weight: 500; font-family: var(--font-sans); }
.xc-stat-lbl { font-size: 12px; margin-top: 8px; color: rgba(255,255,255,0.7); letter-spacing: 0.06em; }

/* Services */
.xc-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xc-svc-card { position: relative; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 40px 32px 36px; transition: all 280ms var(--ease-out); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; color: inherit; }
.xc-svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--tobeyo-teal-100); }
.xc-svc-num { font-family: var(--font-display); font-size: 14px; font-weight: 500; letter-spacing: 0.15em; color: var(--tobeyo-teal-700); margin-bottom: 18px; }
.xc-svc-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; color: var(--tobeyo-ink-500); margin: 0 0 16px; line-height: 1.3; }
.xc-svc-desc { font-size: 15px; line-height: 1.75; color: var(--fg-2); margin: 0 0 24px; flex: 1; }
.xc-svc-list { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px dashed var(--border-2); display: flex; flex-direction: column; gap: 10px; }
.xc-svc-list li { font-size: 14px; color: var(--fg-1); display: flex; gap: 10px; align-items: center; }
.xc-tick { color: var(--tobeyo-terra-600); font-size: 12px; }
.xc-svc-feature { background: var(--tobeyo-teal-900); color: #fff; border-color: var(--tobeyo-teal-900); }
.xc-svc-feature .xc-svc-num { color: var(--tobeyo-terra-500); }
.xc-svc-feature .xc-svc-title { color: #fff; }
.xc-svc-feature .xc-svc-desc { color: rgba(255,255,255,0.82); }
.xc-svc-feature .xc-svc-list { border-top-color: rgba(255,255,255,0.15); }
.xc-svc-feature .xc-svc-list li { color: rgba(255,255,255,0.92); }
.xc-svc-feature .xc-tick { color: var(--tobeyo-terra-500); }
.xc-svc-feature:hover { border-color: var(--tobeyo-teal-900); }
.xc-svc-accent { background: var(--tobeyo-terra-050); border-color: var(--tobeyo-terra-100); }
.xc-svc-accent .xc-svc-num { color: var(--tobeyo-terra-700); }
.xc-svc-accent .xc-tick { color: var(--tobeyo-terra-700); }

/* Process */
.xc-process-section { padding-bottom: 100px; }
.xc-process { list-style: none; margin: 0 0 48px; padding: 0; display: flex; gap: 12px; align-items: stretch; justify-content: space-between; flex-wrap: nowrap; }
.xc-step { flex: 1; min-width: 200px; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; position: relative; box-shadow: var(--shadow-sm); transition: all 240ms var(--ease-out); }
.xc-step:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.xc-step-num { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; color: var(--tobeyo-teal-700); margin-bottom: 12px; }
.xc-step-icon { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--tobeyo-teal-700); background: var(--tobeyo-teal-050); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.xc-step-icon svg { width: 32px; height: 32px; }
.xc-step-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 8px; color: var(--tobeyo-ink-500); }
.xc-step-desc { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 0; }
.xc-step-arrow { display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--tobeyo-teal-500); font-weight: 300; padding: 0 4px; }
.xc-process-note { margin: 0 auto; max-width: 760px; padding: 20px 28px; background: var(--tobeyo-teal-050); border-left: 3px solid var(--tobeyo-teal-700); border-radius: var(--radius-sm); font-size: 15px; line-height: 1.75; color: var(--tobeyo-ink-300); text-align: center; }
.xc-process-note-icon { color: var(--tobeyo-teal-700); font-size: 14px; margin-right: 8px; }
.xc-process-note b { color: var(--tobeyo-teal-800); font-weight: 700; }

/* Why */
.xc-why { position: relative; padding: 120px 32px; color: #fff; overflow: hidden; }
.xc-why-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xc-why-paint { position: absolute; inset: 0; background: radial-gradient(ellipse 90% 70% at 12% 18%, rgba(20, 117, 107, 0.45) 0%, transparent 60%), radial-gradient(ellipse 80% 60% at 90% 95%, rgba(168, 74, 48, 0.28) 0%, transparent 65%), linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%); }
.xc-why-topo { position: absolute; inset: 0; width: 100%; height: 100%; }
.xc-why-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 70%, rgba(0,0,0,0.25) 100%); }
.xc-why-inner { position: relative; z-index: 1; }
.xc-why-inner .xc-h2 { text-align: center; margin: 0 auto 56px; max-width: 22ch; }
.xc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.xc-why-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-md); padding: 32px 28px; backdrop-filter: blur(8px); transition: all 240ms var(--ease-out); }
.xc-why-card:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); transform: translateY(-3px); }
.xc-why-num { font-family: var(--font-display); font-size: 42px; font-weight: 700; color: var(--tobeyo-terra-500); line-height: 1; margin-bottom: 16px; }
.xc-why-card h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0 0 12px; color: #fff; line-height: 1.35; }
.xc-why-card p { font-size: 14px; line-height: 1.75; color: rgba(255,255,255,0.78); margin: 0; }

/* Knowledge */
.xc-know-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.xc-know-feature { display: flex; flex-direction: column; background: var(--bg-surface); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border-1); transition: all 280ms var(--ease-out); color: inherit; }
.xc-know-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xc-know-img { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #0a4a44, #14322f); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-family: var(--font-display); font-size: 56px; }
.xc-know-img image-slot { width: 100%; height: 100%; display: block; }
.xc-know-body { padding: 36px 36px 32px; }
.xc-know-tag { display: inline-block; font-size: 11px; letter-spacing: 0.2em; color: var(--tobeyo-terra-700); background: var(--tobeyo-terra-050); padding: 6px 12px; border-radius: var(--radius-xs); margin-bottom: 18px; font-weight: 500; }
.xc-know-body h3 { font-family: var(--font-display); font-size: 30px; font-weight: 700; margin: 0 0 14px; line-height: 1.3; color: var(--tobeyo-ink-500); }
.xc-know-body p { font-size: 15px; line-height: 1.75; color: var(--fg-2); margin: 0 0 20px; }
.xc-know-more { font-size: 14px; font-weight: 500; color: var(--tobeyo-teal-700); letter-spacing: 0.04em; }
.xc-know-list { display: flex; flex-direction: column; gap: 0; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.xc-know-row { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 24px 28px; border-bottom: 1px solid var(--border-1); transition: background 200ms; color: inherit; }
.xc-know-row:last-child { border-bottom: 0; }
.xc-know-row:hover { background: var(--tobeyo-sand-050); }
.xc-know-row-no { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--tobeyo-teal-700); letter-spacing: 0.05em; }
.xc-know-row h4 { font-family: var(--font-sans); font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--tobeyo-ink-500); }
.xc-know-row p { font-size: 13px; color: var(--fg-2); margin: 0; line-height: 1.6; }
.xc-know-row-arrow { font-size: 20px; color: var(--tobeyo-teal-500); transition: transform 200ms; }
.xc-know-row:hover .xc-know-row-arrow { transform: translateX(4px); color: var(--tobeyo-teal-700); }

/* Achievements */
.xc-ach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.xc-ach-card { display: flex; flex-direction: column; background: var(--bg-surface); border: 1px solid var(--border-1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 280ms var(--ease-out); color: inherit; }
.xc-ach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.xc-ach-img { aspect-ratio: 4/3; background: linear-gradient(135deg, #0a4a44, #14322f); position: relative; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.4); font-family: var(--font-display); font-size: 48px; }
.xc-ach-img image-slot { width: 100%; height: 100%; display: block; }
.xc-ach-meta { padding: 24px 28px 28px; }
.xc-ach-tag { display: inline-block; font-size: 11px; letter-spacing: 0.16em; color: var(--tobeyo-teal-700); background: var(--tobeyo-teal-050); padding: 5px 10px; border-radius: var(--radius-xs); margin-bottom: 12px; font-weight: 500; }
.xc-ach-meta h4 { font-family: var(--font-display); font-size: 22px; font-weight: 700; margin: 0; color: var(--tobeyo-ink-500); line-height: 1.35; }
.xc-ach-cta { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 56px; flex-wrap: wrap; font-size: 16px; color: var(--fg-2); }

/* CTA / Contact (full) */
.xc-cta-section { position: relative; padding: 120px 32px; color: #fff; overflow: hidden; }
.xc-cta-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.xc-cta-paint { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 20% 30%, rgba(20, 117, 107, 0.55) 0%, transparent 60%), radial-gradient(ellipse 80% 60% at 85% 80%, rgba(217, 118, 86, 0.55) 0%, transparent 65%), linear-gradient(120deg, #0e5f58 0%, #14322f 45%, #a84a30 100%); }
.xc-cta-waves { position: absolute; inset: 0; width: 100%; height: 100%; }
.xc-cta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.2) 100%); }
.xc-cta-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.xc-cta-content .xc-h2 { max-width: 18ch; }
.xc-cta-lead { font-size: 17px; line-height: 1.8; color: rgba(255,255,255,0.88); margin: 0 0 36px; max-width: 540px; }
.xc-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.xc-cta-card { background: rgba(255,255,255,0.97); color: var(--fg-1); border-radius: var(--radius-xl); padding: 40px 36px; box-shadow: var(--shadow-xl); backdrop-filter: blur(8px); }
.xc-cta-card h4 { font-family: var(--font-display); font-size: 24px; font-weight: 700; margin: 0; color: var(--tobeyo-ink-500); }
.xc-cta-en { font-size: 12px; letter-spacing: 0.18em; color: var(--tobeyo-ink-100); margin: 4px 0 28px; }
.xc-info { margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.xc-info > div { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px dashed var(--border-2); }
.xc-info > div:last-child { border-bottom: 0; padding-bottom: 0; }
.xc-info dt { font-size: 12px; letter-spacing: 0.12em; color: var(--fg-3); font-weight: 500; }
.xc-info dd { margin: 0; font-size: 15px; color: var(--fg-1); line-height: 1.55; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1100px) {
  .xc-process { flex-wrap: wrap; justify-content: center; }
  .xc-step-arrow { display: none !important; }
  .xc-services-grid, .xc-ach-grid { grid-template-columns: repeat(2, 1fr); }
  .xc-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .process-strip { grid-template-columns: repeat(3, 1fr); }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .service-cat { grid-template-columns: 1fr; }
  .service-cat .cat-title { position: static; }
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .xc-about-grid { grid-template-columns: 1fr; gap: 56px; }
  .xc-cta-inner { grid-template-columns: 1fr; gap: 48px; }
  .xc-section, .xc-section-tint, .xc-why, .xc-cta-section { padding: 90px 24px; }
}
@media (max-width: 768px) {
  .topbar { display: none; }
  .nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: auto;
    height: calc(100dvh - var(--header-h));
    background: var(--bg-page);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 0;
    overflow-y: auto;
    transform: none;
    transition: .3s;
  }
  .nav.open { display: flex; transform: none; }
  .nav-item > a { padding: 14px 0; border-bottom: 1px solid var(--border-2); }
  .nav-submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 10px 14px; min-width: 0; }
  .nav-toggle { display: block; }
  .nav-cta { margin: 16px 0 0; text-align: center; justify-content: center; }
  .grid-2, .grid-3, .grid-4, .grid-6 { grid-template-columns: 1fr; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .process-strip { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .stats .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .case-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .pillar-nav { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .service-cat .cat-list { grid-template-columns: 1fr; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .xc-hero { padding: 100px 20px 90px; min-height: 600px; }
  .xc-hero-photo { object-position: 91% center; }
  .xc-hero-h1 {
    max-width: 10ch;
    font-size: 38px;
    line-height: 1.12;
  }
  .xc-hero-lead {
    max-width: 305px;
  }
  .xc-hero-paint {
    background:
      linear-gradient(90deg, rgba(9, 42, 40, 0.70) 0%, rgba(9, 42, 40, 0.48) 54%, rgba(9, 42, 40, 0.14) 100%),
      linear-gradient(180deg, rgba(6, 18, 18, 0.04) 0%, rgba(6, 18, 18, 0.20) 100%);
  }
  .xc-services-grid, .xc-ach-grid { grid-template-columns: 1fr; }
  .xc-why-grid { grid-template-columns: 1fr; }
  .xc-know-grid { grid-template-columns: 1fr; }
  .xc-section, .xc-section-tint, .xc-why, .xc-cta-section { padding: 70px 20px; }
  .hide-sm { display: none; }
  .xc-scroll { display: none; }
}

/* =========================================================================
   3. THREE CORES — primary business architecture
   ========================================================================= */
.xc-cores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
}
.xc-core-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-xl);
  padding: 44px 36px 36px;
  transition: all 320ms var(--ease-out);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  overflow: hidden;
  color: inherit;
}
.xc-core-card::before {
  content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--tobeyo-teal-700), var(--tobeyo-terra-600));
}
.xc-core-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--tobeyo-teal-100);
}
.xc-core-no {
  font-family: var(--font-display);
  font-size: 13px; letter-spacing: 0.3em;
  color: var(--tobeyo-terra-600);
  margin-bottom: 20px; font-weight: 500;
}
.xc-core-icon {
  width: 64px; height: 64px;
  margin: 0 0 24px;
  background: var(--tobeyo-teal-050);
  color: var(--tobeyo-teal-700);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
}
.xc-core-icon svg { width: 36px; height: 36px; }
.xc-core-title {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 700;
  color: var(--tobeyo-ink-500);
  margin: 0 0 14px; line-height: 1.25;
}
.xc-core-tag {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.18em;
  background: var(--tobeyo-terra-050); color: var(--tobeyo-terra-700);
  padding: 4px 10px; border-radius: var(--radius-xs);
  margin-bottom: 14px; font-weight: 500;
}
.xc-core-desc {
  font-size: 15px; line-height: 1.85;
  color: var(--fg-2); margin: 0 0 26px;
  flex: 1;
}
.xc-core-list {
  list-style: none; margin: 0 0 26px; padding: 22px 0 0;
  border-top: 1px dashed var(--border-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px;
}
.xc-core-list li {
  font-size: 13px; color: var(--fg-1);
  padding-left: 14px; position: relative;
}
.xc-core-list li::before {
  content: "✦"; position: absolute; left: 0; top: 0;
  color: var(--tobeyo-terra-600); font-size: 10px;
}
.xc-core-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--tobeyo-teal-700);
  letter-spacing: 0.04em;
  padding-bottom: 4px; border-bottom: 1px solid var(--tobeyo-teal-100);
  align-self: flex-start;
}
.xc-core-card:hover .xc-core-cta { color: var(--tobeyo-teal-800); border-bottom-color: var(--tobeyo-teal-700); }

/* 3-core variants (subtle differentiation) */
.xc-core-card.is-hotspring .xc-core-icon { background: var(--tobeyo-teal-050); color: var(--tobeyo-teal-700); }
.xc-core-card.is-heat       .xc-core-icon { background: var(--tobeyo-terra-050); color: var(--tobeyo-terra-700); }
.xc-core-card.is-power      .xc-core-icon { background: #f4ecdf; color: #7d5a1f; }

/* =========================================================================
   4. MANIFESTO — poetic brand banner
   ========================================================================= */
.xc-manifesto {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 760px;
  padding: 150px 32px;
  color: #fff;
  overflow: hidden;
  text-align: left;
}
.xc-manifesto-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.xc-manifesto-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(1.05) contrast(1.08);
}
.xc-manifesto-paint {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,22,24,0.70) 0%, rgba(5,22,24,0.48) 38%, rgba(5,22,24,0.14) 68%, rgba(5,22,24,0.03) 100%),
    linear-gradient(180deg, rgba(4,13,14,0.03) 0%, rgba(4,13,14,0.22) 100%);
}
.xc-manifesto-strata {
  position: absolute; inset: 0; opacity: 0.22; mix-blend-mode: screen;
}
.xc-manifesto-inner { position: relative; z-index: 1; width: 100%; max-width: 1180px; margin: 0 auto; }
.xc-manifesto-eyebrow {
  font-size: 12px; letter-spacing: 0.5em;
  color: var(--tobeyo-terra-500); font-weight: 500;
  margin-bottom: 36px;
}
.xc-manifesto-headline {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700; line-height: 1.18;
  letter-spacing: 0;
  color: #fff; margin: 0 0 28px;
  max-width: 960px;
  text-wrap: balance;
}
.xc-manifesto-headline em { font-style: italic; color: var(--tobeyo-terra-500); }
.xc-manifesto-sub {
  font-size: 18px; line-height: 2;
  color: rgba(255,255,255,0.8);
  max-width: 680px; margin: 0 0 56px;
  letter-spacing: 0.04em;
}
.xc-manifesto-poem {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  max-width: 860px;
  background: rgba(6,24,24,0.34);
  border-top: 1px solid rgba(255,255,255,0.15);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  padding: 36px 0;
}
.xc-manifesto-poem > div {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.12);
}
.xc-manifesto-poem > div:last-child { border-right: none; }
.xc-manifesto-poem .line-1 {
  font-family: var(--font-display);
  font-size: 22px; line-height: 1.7;
  color: rgba(255,255,255,0.92);
  font-weight: 500;
  margin: 0 0 8px;
}
.xc-manifesto-poem .line-2 {
  font-size: 13px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.15em;
  margin: 0;
}
.xc-manifesto-foot {
  font-family: var(--font-display);
  font-size: 17px; color: var(--tobeyo-terra-500);
  letter-spacing: 0.1em;
  margin-top: 48px; font-weight: 500;
}

/* =========================================================================
   5. SOLUTIONS — 10 industry / scenario pages
   ========================================================================= */
.xc-solutions-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.xc-sol-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 22px 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-md);
  transition: all 240ms var(--ease-out);
  box-shadow: var(--shadow-xs);
  color: inherit;
  text-align: left;
  min-height: 200px;
}
.xc-sol-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--tobeyo-teal-100);
  background: var(--tobeyo-surface-2);
}
.xc-sol-no {
  font-family: var(--font-display); font-size: 11px;
  letter-spacing: 0.25em; color: var(--tobeyo-terra-600);
  font-weight: 700; margin-bottom: 12px;
}
.xc-sol-card h4 {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--tobeyo-ink-500);
  margin: 0 0 8px; line-height: 1.4;
  letter-spacing: -0.01em;
}
.xc-sol-card p {
  font-size: 13px; line-height: 1.7;
  color: var(--fg-2); margin: 0 0 16px;
  flex: 1;
}
.xc-sol-card .xc-sol-more {
  font-size: 12px; color: var(--tobeyo-teal-700);
  letter-spacing: 0.06em; font-weight: 500;
}
.xc-sol-card .xc-sol-more::after { content: " →"; transition: .2s; }
.xc-sol-card:hover .xc-sol-more::after { margin-left: 4px; }

/* Solution category tints — visual grouping */
.xc-sol-card.is-build  { border-top: 3px solid var(--tobeyo-teal-700); }
.xc-sol-card.is-ops    { border-top: 3px solid var(--tobeyo-terra-600); }
.xc-sol-card.is-tech   { border-top: 3px solid #7d5a1f; }
.xc-sol-card.is-legal  { border-top: 3px solid var(--tobeyo-ink-200); }

/* Responsive */
@media (max-width: 1100px) {
  .xc-cores-grid { grid-template-columns: 1fr; gap: 24px; }
  .xc-solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .xc-manifesto-headline { font-size: 50px; }
  .xc-manifesto-poem { grid-template-columns: 1fr; gap: 24px; padding: 32px 0; }
  .xc-manifesto-poem > div { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); padding-bottom: 24px; }
  .xc-manifesto-poem > div:last-child { border-bottom: none; padding-bottom: 0; }
}
@media (max-width: 768px) {
  .xc-cores-grid { grid-template-columns: 1fr; }
  .xc-core-list { grid-template-columns: 1fr; }
  .xc-solutions-grid { grid-template-columns: 1fr; }
  .xc-manifesto {
    min-height: 680px;
    padding: 100px 20px;
  }
  .xc-manifesto-photo { object-position: 62% center; }
  .xc-manifesto-paint {
    background:
      linear-gradient(90deg, rgba(5,22,24,0.76) 0%, rgba(5,22,24,0.58) 54%, rgba(5,22,24,0.24) 100%),
      linear-gradient(180deg, rgba(4,13,14,0.08) 0%, rgba(4,13,14,0.32) 100%);
  }
  .xc-manifesto-headline { font-size: 38px; }
  .xc-manifesto-sub { font-size: 16px; }
}

/* =========================================================================
   6. PHOTO INTEGRATION — real images from twxcd archive
   ========================================================================= */

/* Hero background photo */
.xc-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.xc-hero-bg .xc-hero-photo + .xc-hero-paint {
  /* Photo present: dark teal on left for text, transparent on right to show engineers */
  background:
    linear-gradient(90deg,
      rgba(10, 74, 68, 0.88) 0%,
      rgba(10, 74, 68, 0.78) 25%,
      rgba(10, 74, 68, 0.45) 45%,
      rgba(10, 74, 68, 0.15) 65%,
      rgba(10, 74, 68, 0.05) 100%
    ),
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0) 30%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 0.25) 100%
    );
}
/* Dim decorative SVG layers when photo present (don't obscure engineers) */
.xc-hero-bg:has(.xc-hero-photo) .xc-hero-waves { opacity: 0.35; }
.xc-hero-bg:has(.xc-hero-photo) .xc-hero-steam { opacity: 0.25; }

/* Process step icon as photo */
.xc-step-icon {
  overflow: hidden;
  background: var(--tobeyo-teal-050);
}
.xc-step-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Card images replacing single-character placeholders */
.xc-know-img img,
.xc-ach-img img,
.case-item .case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.xc-know-img,
.xc-ach-img,
.case-item .case-img {
  /* Reset character-fallback styles when img present */
  position: relative;
}

/* Team member photo */
.team-member {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 280ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
.team-member:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--tobeyo-teal-100); }
.team-member-photo {
  aspect-ratio: 1/1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--tobeyo-teal-100), var(--tobeyo-sand-200));
}
.team-member-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-member-body { padding: 22px 22px 24px; }
.team-member-role { font-family: var(--font-display); font-size: 12px; letter-spacing: .25em; color: var(--tobeyo-teal-700); margin-bottom: 8px; font-weight: 500; }
.team-member-body h3 { font-size: 1.1rem; margin: 0 0 10px; font-family: var(--font-display); color: var(--tobeyo-ink-500); }
.team-member-body p { font-size: 13px; line-height: 1.7; color: var(--fg-2); margin: 0; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .team-grid { grid-template-columns: 1fr; } }

/* In-article photo */
.article-body figure {
  margin: 32px 0;
}
.article-body .article-main-visual {
  margin: -8px 0 44px;
}
.article-body figure img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.article-body .article-main-visual img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.article-body figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: var(--fg-3);
  text-align: center;
  letter-spacing: .04em;
}
.article-body .article-main-visual + h2,
.article-body .article-main-visual + p {
  margin-top: 0;
}

/* One-stop scope poster */
.service-scope-poster {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 34px 0 52px;
  margin-left: 50%;
  padding: 34px;
  width: min(1120px, calc(100vw - 64px));
  transform: translateX(-50%);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 76, 70, 0.98) 0%, rgba(12, 49, 45, 0.98) 52%, rgba(91, 54, 37, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-xl);
}
.service-scope-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.7;
}
.service-scope-poster::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 51%;
  z-index: -1;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217,118,86,0.85), rgba(255,255,255,0.5), rgba(217,118,86,0.85), transparent);
}
.scope-poster-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: center;
}
.scope-logo-lockup {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 18px 42px rgba(0,0,0,0.20);
}
.scope-logo-lockup img {
  width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}
.scope-poster-title span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--tobeyo-terra-500);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.scope-poster-title h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}
.scope-poster-title p {
  max-width: 680px;
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.75;
}
.scope-flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 32px;
}
.scope-stage {
  position: relative;
  min-height: 246px;
  padding: 52px 18px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
.scope-stage::before {
  content: attr(data-step);
  position: absolute;
  top: 18px;
  right: 18px;
  color: rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.scope-stage-label {
  margin-bottom: 10px;
  color: var(--tobeyo-terra-500);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scope-stage h4 {
  margin: 0 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: 0;
}
.scope-stage ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.scope-stage li {
  position: relative;
  padding-left: 15px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.6;
}
.scope-stage li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--tobeyo-terra-500);
}
.scope-support-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}
.scope-support-grid > div {
  min-height: 98px;
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 244, 225, 0.10);
  border: 1px solid rgba(217,118,86,0.34);
}
.scope-support-grid strong,
.scope-support-grid span {
  display: block;
}
.scope-support-grid strong {
  margin-bottom: 6px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0;
}
.scope-support-grid span {
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  line-height: 1.65;
}
.scope-poster-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
  letter-spacing: 0.08em;
}
@media (max-width: 900px) {
  .service-scope-poster { padding: 28px; }
  .scope-poster-top { grid-template-columns: 1fr; }
  .scope-logo-lockup { width: 220px; }
  .scope-poster-title h3 { font-size: 30px; }
  .scope-flow { grid-template-columns: repeat(2, 1fr); }
  .scope-support-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .service-scope-poster {
    margin: 28px 0 44px;
    padding: 22px;
    width: auto;
    transform: none;
  }
  .scope-logo-lockup {
    width: 190px;
    padding: 13px 15px;
  }
  .scope-logo-lockup img { width: 154px; }
  .scope-poster-title span {
    font-size: 11px;
    letter-spacing: 0.16em;
  }
  .scope-poster-title h3 { font-size: 25px; }
  .scope-poster-title p { font-size: 15px; }
  .scope-flow { grid-template-columns: 1fr; }
  .scope-stage { min-height: 0; }
  .service-scope-poster::after { display: none; }
  .scope-poster-footer {
    display: block;
    font-size: 12px;
    line-height: 1.8;
  }
  .scope-poster-footer span { display: block; }
}

/* Footer credit line for 映策智造 */
.footer-credit {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.footer-credit a {
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: all 200ms var(--ease-out);
}
.footer-credit a:hover {
  color: var(--tobeyo-terra-500);
  border-bottom-color: var(--tobeyo-terra-500);
}

/* =========================================================================
   7. CASE DETAIL PAGE — 案場詳情頁
   ========================================================================= */
.case-hero {
  position: relative;
  padding: 140px 0 90px;
  color: #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.case-hero .breadcrumb {
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.7);
  margin-bottom: 28px;
}
.case-hero .breadcrumb a {
  color: rgba(255,255,255,.7);
}
.case-hero .breadcrumb a:hover {
  color: var(--tobeyo-terra-500);
}
.case-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.case-hero-sub {
  font-size: 17px;
  color: var(--tobeyo-terra-500);
  margin: 0 0 32px;
  font-weight: 500;
  letter-spacing: .04em;
}
.case-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  font-size: 14px;
  color: rgba(255,255,255,.85);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.case-hero-meta b {
  display: block;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255,255,255,.5);
  margin-bottom: 4px;
  font-weight: 500;
  font-family: var(--font-display);
}
@media (max-width: 600px) {
  .case-hero { padding: 90px 0 70px; }
  .case-hero-meta { gap: 18px; }
}

.case-summary {
  font-size: 19px;
  line-height: 1.85;
  color: var(--fg-1);
  border-left: 3px solid var(--tobeyo-terra-600);
  padding: 6px 0 6px 22px;
  margin: 8px 0 48px;
}

.case-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 40px;
  font-size: 15px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.case-specs th {
  text-align: left;
  background: var(--tobeyo-teal-050);
  color: var(--tobeyo-teal-800);
  padding: 14px 18px;
  width: 30%;
  font-weight: 500;
  letter-spacing: .04em;
  border-bottom: 1px solid var(--border-2);
  font-family: var(--font-display);
}
.case-specs td {
  padding: 14px 18px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-2);
  color: var(--fg-1);
}
.case-specs tr:last-child th,
.case-specs tr:last-child td {
  border-bottom: none;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0 48px;
}
@media (max-width: 768px) {
  .case-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .case-gallery { grid-template-columns: 1fr; }
}
.case-gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--tobeyo-sand-200);
  box-shadow: var(--shadow-sm);
  transition: all 280ms var(--ease-out);
}
.case-gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.case-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
.case-gallery-item:hover img {
  transform: scale(1.05);
}

/* =========================================================================
   8. CASE-TYPE DETAIL PAGE (text-rich, no photos)
   ========================================================================= */
.case-type-hero {
  position: relative;
  padding: 120px 0 80px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(74, 163, 150, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 80% 80%, rgba(217, 118, 86, 0.30) 0%, transparent 60%),
    linear-gradient(140deg, #0a4a44 0%, #14322f 50%, #1a1815 100%);
}
.case-type-hero::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent 0 18px, rgba(255,255,255,.018) 18px 19px);
  pointer-events: none;
}
.case-type-hero .container {
  position: relative; z-index: 1;
}
.case-type-hero .breadcrumb {
  font-size: 12px;
  letter-spacing: .14em;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
}
.case-type-hero .breadcrumb a {
  color: rgba(255,255,255,.65);
}
.case-type-hero .breadcrumb a:hover {
  color: var(--tobeyo-terra-500);
}
.case-type-tag {
  display: inline-block;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xs);
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--tobeyo-terra-500);
  font-weight: 500;
  margin-bottom: 16px;
}
.case-type-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -.025em;
  line-height: 1.25;
}
.case-type-meta {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  margin: 0;
  line-height: 1.7;
}

.case-tech-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 32px;
  display: grid;
  gap: 12px;
}
.case-tech-list li {
  padding: 14px 16px 14px 44px;
  background: var(--tobeyo-teal-050);
  border-left: 3px solid var(--tobeyo-teal-700);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-1);
  position: relative;
}
.case-tech-list li::before {
  content: "✦";
  position: absolute;
  left: 18px;
  top: 14px;
  color: var(--tobeyo-terra-600);
  font-size: 14px;
}

/* Case card hover-lift when wrapped in <a> */
a.case-item {
  color: inherit;
  text-decoration: none;
}
a.case-item:hover {
  color: inherit;
}

/* =========================================================================
   9. HERO SLOGAN — 日本技術 · 台灣施工 · MIT 品質
   ========================================================================= */
.xc-hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(217, 118, 86, 0.45);
  border-radius: var(--radius-full);
  margin-bottom: 28px;
  backdrop-filter: blur(6px);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
  color: #fff;
}
.xc-hero-slogan .xc-slogan-sep {
  color: var(--tobeyo-terra-500);
  font-weight: 300;
  font-size: 14px;
}
.xc-hero-slogan .xc-slogan-mit {
  color: var(--tobeyo-terra-500);
  letter-spacing: 0.18em;
}
@media (max-width: 600px) {
  .xc-hero-slogan {
    font-size: 13px;
    padding: 8px 16px;
    gap: 10px;
    letter-spacing: 0.08em;
  }
  .xc-hero-slogan .xc-slogan-sep { font-size: 12px; }
}

/* Also surface slogan in about + footer (subtle) */
.brand-positioning {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--tobeyo-terra-600);
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-positioning::before,
.brand-positioning::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tobeyo-terra-100);
  max-width: 40px;
}
