/* ==========================================================================
   mmsc — Corporate site stylesheet
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-2: #f4f4f5;
  --surface: #ffffff;
  --ink: #0b1b3a;
  --ink-2: #3f3f46;
  --ink-3: #71717a;
  --line: #e4e4e7;
  --line-2: #d4d4d8;
  --accent: #1f6bff;
  --accent-ink: #0d4fd8;
  --accent-soft: #e8f0ff;
  --dark: #060d24;
  --dark-2: #0d1733;
  --dark-line: #1f2b4a;

  --radius-s: 8px;
  --radius: 14px;
  --radius-l: 20px;
  --max: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(88px, 12vw, 144px);

  --font: "Inter", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(20, 22, 26, 0.04), 0 8px 24px rgba(20, 22, 26, 0.06);
  --shadow-l: 0 2px 4px rgba(20, 22, 26, 0.04), 0 24px 48px rgba(20, 22, 26, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "palt" 1;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.en { font-family: "Inter", system-ui, sans-serif; letter-spacing: -0.01em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 24px;
  border-radius: 999px; border: 1px solid transparent;
  font-size: 15px; font-weight: 500; letter-spacing: 0.04em;
  cursor: pointer; white-space: nowrap;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #1a2f5e; }
.btn-secondary { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ecebe7; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color .2s ease;
}
.text-link:hover { border-color: var(--ink); }
.text-link svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
/* Blur lives on a pseudo-element so the fixed mobile menu isn't trapped by backdrop-filter */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 250, 248, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; letter-spacing: -0.03em; }
.logo-mark {
  width: 26px; height: 26px; border-radius: 7px; background: var(--ink);
  display: grid; place-items: center;
}
.logo-mark::before { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--bg); transform: rotate(45deg); }

.global-nav { display: flex; align-items: center; gap: 32px; }
.global-nav ul { display: flex; gap: 28px; }
.global-nav a:not(.btn) { font-size: 14px; color: var(--ink-2); transition: color .2s ease; }
.global-nav a:not(.btn):hover, .global-nav a[aria-current="page"] { color: var(--ink); }
.global-nav a[aria-current="page"] { font-weight: 600; }

.nav-toggle {
  display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer;
  position: relative; margin-right: -8px;
}
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Section scaffolding ---------- */
.section { padding: var(--section) 0; }
.section-alt { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: clamp(48px, 6vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.08em;
  color: var(--accent); margin-bottom: 20px; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; }

.h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.45; letter-spacing: 0.01em; }
.lead { margin-top: 20px; font-size: clamp(15px, 1.4vw, 17px); color: var(--ink-2); line-height: 2; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(22, 23, 26, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 23, 26, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 13px; color: var(--ink-2); margin-bottom: 28px;
}
.hero-badge b { flex: none; white-space: nowrap; font-weight: 600; font-size: 11px; letter-spacing: 0.06em; background: var(--accent-soft); color: var(--accent-ink); padding: 3px 9px; border-radius: 999px; }

.hero h1 { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.3; letter-spacing: 0.01em; font-weight: 700; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .muted { color: var(--ink-3); }
.hero-lead { margin-top: 28px; max-width: 520px; font-size: clamp(15px, 1.4vw, 17px); color: var(--ink-2); line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 28px 40px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts dt { font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.hero-facts dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.hero-facts dd small { font-size: 13px; font-weight: 500; margin-left: 2px; color: var(--ink-2); }

/* ---------- Hero illustration ----------
   Everything is sized in cqw (1% of .hero-visual's width) so the whole scene scales as one picture. */
.hero-visual { position: relative; aspect-ratio: 1 / 0.92; container-type: inline-size; }

.hv-glow {
  position: absolute; inset: -12% -30% -8% -6%; pointer-events: none;
  background:
    radial-gradient(closest-side at 58% 46%, rgba(31, 107, 255, 0.10), rgba(31, 107, 255, 0) 72%),
    radial-gradient(closest-side at 30% 78%, rgba(176, 131, 90, 0.10), rgba(176, 131, 90, 0) 70%);
}

/* Browser */
.hv-browser {
  position: absolute; top: 1cqw; left: 0; width: 136cqw;
  border-radius: 2.4cqw; overflow: hidden;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(22, 23, 26, 0.06),
    0 1px 1px rgba(22, 23, 26, 0.03),
    0 0.6cqw 1.4cqw -0.4cqw rgba(22, 23, 26, 0.06),
    0 3cqw 6cqw -1.6cqw rgba(22, 23, 26, 0.12),
    0 8cqw 14cqw -6cqw rgba(32, 40, 52, 0.20);
}
.hv-bar {
  position: relative; height: 6.4cqw; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, #fdfdfc 0%, #f3f2ef 100%);
  border-bottom: 1px solid rgba(22, 23, 26, 0.07);
  box-shadow: inset 0 1px 0 #fff;
}
.hv-lights { position: absolute; left: 2.4cqw; display: flex; gap: 1.2cqw; }
.hv-lights i {
  width: 1.9cqw; height: 1.9cqw; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8 0, #fff0 45%), var(--c, #e2e0db);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.hv-lights i:nth-child(1) { --c: #f0705f; }
.hv-lights i:nth-child(2) { --c: #f3bf4f; }
.hv-lights i:nth-child(3) { --c: #5fc463; }
.hv-url {
  display: inline-flex; align-items: center; gap: 0.9cqw;
  height: 3.9cqw; padding: 0 3.4cqw; border-radius: 99px;
  background: rgba(22, 23, 26, 0.045); box-shadow: inset 0 0 0 1px rgba(22, 23, 26, 0.04);
  font-size: 1.85cqw; line-height: 1; letter-spacing: 0.01em; color: #6b6d72; font-family: "Inter", sans-serif;
}
.hv-url svg { width: 1.6cqw; height: 1.6cqw; opacity: 0.6; }
.hv-screen { position: relative; }
/* Soft glass reflection across the screen */
.hv-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, 0.22) 46%, rgba(255, 255, 255, 0.06) 54%, rgba(255, 255, 255, 0) 62%);
}

/* The cafe site shown inside both devices */
.cs {
  --cs-bg: #f7f2eb; --cs-ink: #34271d; --cs-ink-2: #8a7a6c; --cs-line: #e7ddd0;
  --cs-btn: linear-gradient(180deg, #94674a 0%, #73503a 100%);
  --cs-serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --cs-photo:
    radial-gradient(circle at 74% 22%, rgba(255, 246, 222, 0.95) 0, rgba(255, 246, 222, 0) 20%),
    radial-gradient(circle at 58% 40%, rgba(255, 240, 210, 0.45) 0, rgba(255, 240, 210, 0) 11%),
    radial-gradient(circle at 86% 52%, rgba(255, 240, 210, 0.40) 0, rgba(255, 240, 210, 0) 9%),
    radial-gradient(circle at 40% 18%, rgba(255, 240, 210, 0.30) 0, rgba(255, 240, 210, 0) 8%),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(60, 36, 22, 0.45), rgba(60, 36, 22, 0) 70%),
    linear-gradient(155deg, #d7b48d 0%, #a97c56 45%, #6d4a32 100%);
  background: linear-gradient(180deg, #f9f5ef 0%, var(--cs-bg) 60%);
  color: var(--cs-ink);
  padding: 3.2cqw 4.4cqw 4.4cqw;
}
.cs-nav { display: flex; align-items: center; justify-content: space-between; }
.cs-logo { font-family: var(--cs-serif); font-size: 2.2cqw; font-weight: 600; letter-spacing: 0.22em; line-height: 1; }
.cs-links { display: flex; gap: 3cqw; margin-right: 18cqw; }
.cs-links b { width: 5cqw; height: 0.75cqw; border-radius: 1cqw; background: var(--cs-ink); opacity: 0.22; }
.cs-links b:nth-child(2) { width: 6.2cqw; }
.cs-links b:nth-child(4) { width: 4.2cqw; }

.cs-hero { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 4.4cqw; align-items: center; margin-top: 4.6cqw; }
.cs-copy { display: flex; flex-direction: column; align-items: flex-start; }
.cs-eyebrow { width: 11cqw; height: 0.75cqw; border-radius: 1cqw; background: #a97c56; opacity: 0.7; }
.cs-title { margin-top: 2.2cqw; font-family: var(--cs-serif); font-size: 3.7cqw; font-weight: 600; line-height: 1.55; letter-spacing: 0.04em; white-space: nowrap; }
.cs-lines { display: flex; flex-direction: column; gap: 1.1cqw; width: 100%; margin-top: 2.2cqw; }
.cs-lines s { display: block; height: 0.75cqw; border-radius: 1cqw; background: var(--cs-ink); opacity: 0.16; width: 92%; }
.cs-lines s + s { width: 68%; }
.cs-btn {
  display: inline-flex; align-items: center; gap: 1cqw; margin-top: 3.2cqw;
  padding: 1.5cqw 2.8cqw; border-radius: 99px;
  background: var(--cs-btn); color: #fff;
  font-size: 1.7cqw; font-weight: 600; letter-spacing: 0.06em; line-height: 1.3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0.3cqw 0.6cqw rgba(84, 54, 34, 0.18), 0 1.2cqw 2.4cqw -0.8cqw rgba(84, 54, 34, 0.45);
}
.cs-btn svg { width: 1.6cqw; height: 1.6cqw; }
.cs-photo {
  position: relative; height: 34cqw; border-radius: 1.6cqw; background: var(--cs-photo);
  box-shadow: inset 0 0 0 1px rgba(60, 36, 22, 0.08), 0 1.4cqw 3cqw -1.6cqw rgba(60, 36, 22, 0.35);
}

.cs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2cqw; margin-top: 4.2cqw; }
.cs-card {
  background: #fff; border-radius: 1.4cqw; padding: 1cqw;
  box-shadow: 0 0 0 1px rgba(60, 40, 22, 0.05), 0 0.3cqw 0.6cqw rgba(60, 40, 22, 0.04), 0 1.4cqw 2.6cqw -1.4cqw rgba(60, 40, 22, 0.18);
}
.cs-img { height: 12cqw; border-radius: 0.9cqw; }
.cs-img--1 { background: radial-gradient(circle at 70% 25%, rgba(255, 236, 205, 0.55), rgba(255, 236, 205, 0) 35%), linear-gradient(150deg, #8c5f40 0%, #4a3021 100%); }
.cs-img--2 { background: radial-gradient(circle at 50% 45%, #f6ead9 0, #f6ead9 14%, rgba(246, 234, 217, 0) 15%), radial-gradient(circle at 50% 45%, #c79d72 0, #c79d72 24%, rgba(199, 157, 114, 0) 25%), linear-gradient(150deg, #efe3d3 0%, #d8c2a6 100%); }
.cs-img--3 { background: radial-gradient(circle at 30% 30%, rgba(255, 248, 230, 0.6), rgba(255, 248, 230, 0) 35%), linear-gradient(150deg, #e8c48a 0%, #b9834a 100%); }
.cs-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1cqw; padding: 1.4cqw 0.6cqw 0.5cqw; font-size: 1.6cqw; line-height: 1.3; white-space: nowrap; }
.cs-row span { font-weight: 600; }
.cs-row em { font-style: normal; color: var(--cs-ink-2); font-family: "Inter", sans-serif; }
.cs-row--filler { align-items: center; }
.cs-row--filler s { display: block; height: 0.75cqw; border-radius: 1cqw; background: var(--cs-ink); opacity: 0.16; width: 42%; }
.cs-row--filler s + s { width: 16%; }
.cs-row--filler::after { content: "\00a0"; }

/* Phone */
.hv-floor {
  position: absolute; left: 71cqw; bottom: -1.6cqw; width: 31cqw; height: 5cqw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(22, 23, 26, 0.22), rgba(22, 23, 26, 0));
  filter: blur(0.8cqw);
}
.hv-phone {
  position: absolute; left: 70cqw; bottom: 0; width: 31cqw;
  padding: 0.9cqw; border-radius: 5.6cqw;
  background: linear-gradient(145deg, #4a4b50 0%, #1b1c1f 28%, #0e0f11 60%, #2c2d31 100%);
  box-shadow:
    inset 0 0 0 0.25cqw #2a2b2f,
    inset 0 0.2cqw 0.3cqw rgba(255, 255, 255, 0.18),
    0 0.8cqw 1.6cqw -0.6cqw rgba(22, 23, 26, 0.25),
    0 4cqw 7cqw -2cqw rgba(22, 23, 26, 0.32);
}
/* Side buttons */
.hv-phone::before, .hv-phone::after {
  content: ""; position: absolute; width: 0.5cqw; border-radius: 0.3cqw; background: linear-gradient(90deg, #2a2b2f, #4a4b50);
}
.hv-phone::before { left: -0.4cqw; top: 22%; height: 7cqw; box-shadow: 0 9cqw 0 #3a3b3f; }
.hv-phone::after { right: -0.4cqw; top: 28%; height: 10cqw; }
.hv-phone-screen {
  position: relative; aspect-ratio: 9 / 19.3; border-radius: 4.8cqw; overflow: hidden;
  background: #f9f5ef;
}
/* Glass reflection on the phone */
.hv-phone-screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 26%, rgba(255, 255, 255, 0) 40%);
  box-shadow: inset 0 0 0 0.2cqw rgba(0, 0, 0, 0.5);
}
.hv-status { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; height: 7cqw; padding: 0 3.4cqw 0 4.4cqw; }
.hv-time { font-family: "Inter", sans-serif; font-size: 1.75cqw; font-weight: 600; color: #1b1c1f; line-height: 1; }
.hv-island { position: absolute; left: 50%; top: 1.5cqw; transform: translateX(-50%); width: 9.6cqw; height: 2.9cqw; border-radius: 99px; background: #050506; }
.hv-sys { display: flex; align-items: center; gap: 0.8cqw; }
.hv-signal { display: flex; align-items: flex-end; gap: 0.25cqw; height: 1.3cqw; }
.hv-signal b { width: 0.42cqw; border-radius: 0.2cqw; background: #1b1c1f; }
.hv-signal b:nth-child(1) { height: 35%; }
.hv-signal b:nth-child(2) { height: 55%; }
.hv-signal b:nth-child(3) { height: 78%; }
.hv-signal b:nth-child(4) { height: 100%; }
.hv-battery { position: relative; width: 2.8cqw; height: 1.35cqw; border-radius: 0.4cqw; border: 0.18cqw solid rgba(27, 28, 31, 0.45); }
.hv-battery::before { content: ""; position: absolute; inset: 0.18cqw; right: 0.6cqw; border-radius: 0.2cqw; background: #1b1c1f; }
.hv-battery::after { content: ""; position: absolute; right: -0.55cqw; top: 0.3cqw; width: 0.3cqw; height: 0.5cqw; border-radius: 0 0.2cqw 0.2cqw 0; background: rgba(27, 28, 31, 0.45); }
.hv-home { position: absolute; z-index: 1; left: 50%; bottom: 1cqw; transform: translateX(-50%); width: 10cqw; height: 0.5cqw; border-radius: 99px; background: #1b1c1f; }

.cs--phone { padding: 0.6cqw 2.6cqw 0; background: none; }
.cs--phone .cs-logo { font-size: 1.6cqw; }
.cs-menu { display: flex; flex-direction: column; gap: 0.6cqw; }
.cs-menu b { width: 2.6cqw; height: 0.3cqw; border-radius: 1cqw; background: var(--cs-ink); }
.cs--phone .cs-photo { height: 19cqw; margin-top: 2.4cqw; border-radius: 1.6cqw; }
.cs--phone .cs-title { font-size: 2.35cqw; margin-top: 2.6cqw; }
.cs--phone .cs-lines { gap: 0.8cqw; margin-top: 1.6cqw; }
.cs--phone .cs-lines s { height: 0.55cqw; }
.cs--phone .cs-btn { display: flex; justify-content: center; margin-top: 2.4cqw; padding: 1.25cqw 0; font-size: 1.45cqw; }
.cs-card--row { display: flex; align-items: center; gap: 1.6cqw; margin-top: 2.6cqw; padding: 1cqw; border-radius: 1.4cqw; }
.cs-card--row .cs-img { flex: none; width: 7cqw; height: 7cqw; border-radius: 0.9cqw; }
.cs-card--row .cs-lines { margin-top: 0; }

/* ---------- Mock (faux website screenshots) ---------- */
.mock {
  --m-bg: #f4f1ec; --m-ink: #2b2723; --m-accent: #b0835a; --m-img: linear-gradient(135deg, #d9c7b0, #a88a6a);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #fbfbfa; }
.mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: #e3e2de; }
.mock-bar em { margin-left: 14px; height: 14px; flex: 0 1 46%; border-radius: 4px; background: #efeeeb; }
.mock-body { background: var(--m-bg); padding: 4.5% 6% 6%; aspect-ratio: 16 / 10.4; display: flex; flex-direction: column; gap: 9%; }
.mock-nav { display: flex; align-items: center; gap: 5%; }
.mock-nav i { width: 14%; height: 7px; border-radius: 2px; background: var(--m-ink); }
.mock-nav b { width: 7%; height: 4px; border-radius: 2px; background: var(--m-ink); opacity: .35; }
.mock-nav b:first-of-type { margin-left: auto; }
.mock-nav u { width: 11%; height: 12px; border-radius: 99px; background: var(--m-accent); }
.mock-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 7%; align-items: center; flex: 1; }
.mock-text { display: flex; flex-direction: column; gap: 9px; }
.mock-text i { height: 9px; border-radius: 2px; background: var(--m-ink); }
.mock-text i:nth-child(1) { width: 92%; }
.mock-text i:nth-child(2) { width: 70%; }
.mock-text s { height: 4px; border-radius: 2px; background: var(--m-ink); opacity: .25; width: 88%; }
.mock-text s + s { width: 64%; }
.mock-text em { margin-top: 6px; width: 36%; height: 14px; border-radius: 99px; background: var(--m-accent); }
.mock-img { height: 100%; min-height: 60px; border-radius: 6px; background: var(--m-img); }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; }
.mock-cards i { aspect-ratio: 4 / 2.4; border-radius: 5px; background: var(--m-ink); opacity: .08; }

.mock--center .mock-hero { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 10%; }
.mock--center .mock-text { align-items: center; width: 70%; }
.mock--center .mock-img { width: 100%; height: auto; aspect-ratio: 16 / 4; }
.mock--full .mock-hero { grid-template-columns: 1fr; position: relative; }
.mock--full .mock-img { position: absolute; inset: 0; border-radius: 6px; }
.mock--full .mock-text { position: relative; z-index: 1; width: 52%; padding: 7%; }
.mock--full .mock-text i, .mock--full .mock-text s { background: #fff; }
.mock--reverse .mock-hero { direction: rtl; }
.mock--reverse .mock-hero > * { direction: ltr; }

.mock-phone {
  --m-bg: #f4f1ec; --m-ink: #2b2723; --m-accent: #b0835a; --m-img: linear-gradient(135deg, #d9c7b0, #a88a6a);
  background: #111; border-radius: 22px; padding: 6px;
}
.mock-phone-screen { background: var(--m-bg); border-radius: 17px; aspect-ratio: 9 / 19; padding: 18% 10% 10%; display: flex; flex-direction: column; gap: 7%; overflow: hidden; }
.mock-phone-screen .mock-img { height: auto; aspect-ratio: 1 / 0.9; flex: none; }
.mock-phone-screen .mock-text { gap: 6px; }
.mock-phone-screen .mock-text i { height: 6px; }
.mock-phone-screen .mock-text s { height: 3px; }
.mock-phone-screen .mock-text em { height: 11px; width: 50%; }
.mock-phone-screen .mock-nav i { width: 34%; height: 5px; }
.mock-phone-screen .mock-nav b { width: 12%; height: 3px; }

/* Palettes for fictional client works */
.pal-cafe    { --m-bg: #f4efe8; --m-ink: #33281f; --m-accent: #a8774c; --m-img: linear-gradient(140deg, #d8c3a5 0%, #9c7553 100%); }
.pal-clinic  { --m-bg: #f2f6f6; --m-ink: #1f3a3d; --m-accent: #3f8a86; --m-img: linear-gradient(140deg, #cfe3e1 0%, #7fb2ad 100%); }
.pal-build   { --m-bg: #f1f0ec; --m-ink: #1d1e20; --m-accent: #c4572e; --m-img: linear-gradient(140deg, #c9c6bd 0%, #6e6a61 100%); }
.pal-salon   { --m-bg: #f7f1f0; --m-ink: #3a2a2c; --m-accent: #b9817e; --m-img: linear-gradient(140deg, #ecd6d2 0%, #c49a95 100%); }
.pal-tax     { --m-bg: #f3f4f7; --m-ink: #1b2440; --m-accent: #3a5a9b; --m-img: linear-gradient(140deg, #d3d9e8 0%, #8395bf 100%); }
.pal-bakery  { --m-bg: #faf5ec; --m-ink: #3b2d1c; --m-accent: #d29a3e; --m-img: linear-gradient(140deg, #f0dcb6 0%, #c9954f 100%); }
.pal-yoga    { --m-bg: #f2f3ee; --m-ink: #2c3327; --m-accent: #7c8b5f; --m-img: linear-gradient(140deg, #dde2cf 0%, #98a47b 100%); }
.pal-estate  { --m-bg: #f4f4f3; --m-ink: #111214; --m-accent: #1f6f5c; --m-img: linear-gradient(140deg, #c7d2cd 0%, #5d7a71 100%); }
.pal-school  { --m-bg: #f5f3f9; --m-ink: #29234a; --m-accent: #6655c7; --m-img: linear-gradient(140deg, #ddd8f1 0%, #9488d4 100%); }
.pal-mmsc    { --m-bg: #fafaf8; --m-ink: #16171a; --m-accent: #1f6bff; --m-img: linear-gradient(140deg, #dbe7ff 0%, #7fa8f5 100%); }

/* ---------- Concept ---------- */
.concept-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 112px); }
.concept-statement { font-size: clamp(26px, 3.2vw, 38px); line-height: 1.6; font-weight: 600; letter-spacing: 0.02em; }
.concept-statement span { color: var(--ink-3); }
.concept-body p + p { margin-top: 1.4em; }
.concept-body p { color: var(--ink-2); line-height: 2.1; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(64px, 8vw, 96px); border-top: 1px solid var(--line); }
.principle { padding: 36px 32px 0 0; }
.principle + .principle { padding-left: 32px; border-left: 1px solid var(--line); }
.principle-num { font-family: "Inter", sans-serif; font-size: 13px; color: var(--ink-3); letter-spacing: 0.04em; }
.principle h3 { margin-top: 14px; font-size: 20px; }
.principle h3 small { display: block; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 6px; }
.principle p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

/* ---------- Services (bento) ---------- */
.svc-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 20px; }
.svc {
  position: relative; display: flex; flex-direction: column;
  padding: 36px; border-radius: var(--radius-l); overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-l); }
.svc--lp { grid-row: span 2; background: var(--surface); border: 1px solid var(--line); }
.svc--corp { background: linear-gradient(160deg, #f6f6f7 0%, #ededef 100%); border: 1px solid #e4e4e7; }
.svc--care { background: linear-gradient(160deg, #0f1d42 0%, #060d24 100%); border: 1px solid #1c2a4d; color: #fff; }

.svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.svc-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; }
.svc-icon svg { width: 30px; height: 30px; }
.svc--lp .svc-icon {
  background: linear-gradient(150deg, #1b3270 0%, #0b1b3a 100%); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 12px 24px -10px rgba(22, 23, 26, 0.5);
}
.svc--corp .svc-icon {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fa 100%); color: var(--accent);
  box-shadow: 0 0 0 1px rgba(31, 107, 255, 0.10), 0 12px 24px -12px rgba(18, 70, 190, 0.4);
}
.svc--care .svc-icon {
  background: linear-gradient(150deg, rgba(156, 194, 255, 0.24) 0%, rgba(156, 194, 255, 0.06) 100%); color: #d6e5ff;
  box-shadow: inset 0 0 0 1px rgba(156, 194, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.svc-en span { margin-right: 10px; padding-right: 10px; border-right: 1px solid currentColor; opacity: 0.55; }
.svc-en { margin-top: 28px; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; color: var(--accent); }
.svc h3 { margin-top: 6px; font-size: 24px; }
.svc-text { margin-top: 14px; font-size: 15px; line-height: 1.9; color: var(--ink-2); }
.svc--lp .svc-text { max-width: 460px; }
.svc--care .svc-en { color: #9cc2ff; }
.svc--care .svc-text { color: #b4b6bb; }

.svc-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: center; flex: 1; }
.svc-split h3 { font-size: 22px; }

.svc-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line);
}
.svc--corp .svc-foot { border-top-color: rgba(31, 107, 255, 0.16); }
.svc--care .svc-foot { border-top-color: #22305a; }
.svc-price span { display: block; font-size: 12px; color: var(--ink-3); }
.svc-price strong { display: block; margin-top: 2px; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
.svc-price strong small { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }
.svc--care .svc-price span { color: #8a8c92; }
.svc--care .svc-price strong small { color: #b4b6bb; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }
.svc-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.svc:hover .svc-link svg { transform: translateX(3px); }
.svc--care .svc-link { color: #fff; }

/* LP: the structure of a landing page, leading to the inquiry */
.lp-visual {
  flex: 1; display: flex; align-items: center; justify-content: center;
  margin-top: 32px; padding: 36px 28px; border-radius: var(--radius);
  background:
    radial-gradient(circle at 1px 1px, rgba(22, 23, 26, 0.07) 1px, transparent 0) 0 0 / 16px 16px,
    linear-gradient(180deg, #fafafa 0%, #f1f1f2 100%);
}
.lp-stack { position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; }
.lp-stack::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 54%;
  background: #fff; border-radius: 12px;
  box-shadow: 0 0 0 1px rgba(22, 23, 26, 0.05), 0 2px 4px rgba(22, 23, 26, 0.04), 0 20px 40px -16px rgba(22, 23, 26, 0.25);
}
.lp-row { position: relative; display: grid; grid-template-columns: 54% 1fr; align-items: center; }
.lp-row + .lp-row .lp-block { border-top: 1px solid #efeff1; }
.lp-block s, .lp-block u, .lp-block i, .lp-block em { display: block; text-decoration: none; }
.lp-fv {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 7px;
  height: 112px; margin: 8px 8px 0; padding: 14px; border-radius: 8px;
  background:
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 38%),
    linear-gradient(150deg, #8fb6ff 0%, #1f6bff 100%);
}
.lp-row + .lp-row .lp-fv { border-top: 0; }
.lp-fv s { height: 6px; border-radius: 3px; background: #fff; width: 70%; }
.lp-fv s + s { width: 48%; opacity: 0.7; }
.lp-fv u { margin-top: 5px; width: 34%; height: 14px; border-radius: 99px; background: #fff; }
.lp-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; }
.lp-feat i { height: 36px; border-radius: 8px; background: var(--accent-soft); }
.lp-voice { display: flex; align-items: center; gap: 10px; padding: 14px; }
.lp-voice em { flex: none; width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(150deg, #e2c6a8, #b48a64); }
.lp-voice span { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.lp-voice s { height: 5px; border-radius: 3px; background: var(--ink); opacity: 0.13; width: 90%; }
.lp-voice s + s { width: 60%; }
.lp-cta { padding: 14px; }
.lp-cta u { height: 24px; border-radius: 99px; background: linear-gradient(180deg, #1b3270, #0b1b3a); box-shadow: 0 6px 12px -6px rgba(22, 23, 26, 0.5); }
.lp-label {
  position: relative; display: flex; align-items: baseline; gap: 8px;
  padding-left: 32px; font-size: 13px; line-height: 1.4; color: var(--ink-2); white-space: nowrap;
}
.lp-label::before { content: ""; position: absolute; left: 8px; top: 50%; width: 16px; border-top: 1px dashed var(--line-2); }
.lp-label b { font-family: "Inter", sans-serif; font-size: 11px; font-weight: 500; color: var(--ink-3); }
.lp-label--goal { color: var(--accent-ink); font-weight: 600; }
.lp-label--goal b { color: var(--accent); }
.lp-label--goal::before { border-top-style: solid; border-top-color: var(--accent); }

/* Corporate: a site map */
.map-visual { display: flex; flex-direction: column; align-items: flex-start; }
.map-root {
  padding: 7px 14px; border-radius: 9px; background: var(--ink); color: #fff;
  font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; line-height: 1.3;
  box-shadow: 0 8px 16px -8px rgba(22, 23, 26, 0.5);
}
.map-trunk { display: none; }
.map-children { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px 0 0 34px; }
.map-children::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 15px; border-left: 1px solid rgba(31, 107, 255, 0.32); }
.map-children span {
  position: relative; padding: 6px 12px; border-radius: 8px; background: #fff;
  font-size: 12.5px; line-height: 1.4; color: var(--ink-2); white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(31, 107, 255, 0.10), 0 4px 10px -6px rgba(18, 70, 190, 0.3);
}
.map-children span::before { content: ""; position: absolute; left: -16px; top: 50%; width: 16px; border-top: 1px solid rgba(31, 107, 255, 0.32); }

/* Maintenance: a status list */
.care-visual { display: flex; flex-direction: column; gap: 8px; }
.care-row {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-size: 13px; line-height: 1.4; color: #e2e3e6; white-space: nowrap;
}
.care-row em { margin-left: auto; padding: 2px 9px; border-radius: 99px; background: rgba(156, 194, 255, 0.13); color: #bcd5ff; font-size: 11.5px; font-style: normal; }
.care-check { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(110, 196, 146, 0.16); color: #86d1a5; }
.care-check svg { width: 12px; height: 12px; }

/* ---------- Works ---------- */
.works-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 32px); }
.works-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.work-card { display: block; }
.work-thumb { position: relative; border-radius: var(--radius-l); background: var(--bg-2); padding: 9% 9% 0; overflow: hidden; transition: background-color .3s ease; }
.section-alt .work-thumb { background: #e9e9ec; }
.work-thumb .mock { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; box-shadow: var(--shadow); transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.work-card:hover .work-thumb .mock { transform: translateY(-6px); }
.work-meta { margin-top: 20px; }
.work-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; font-size: 12px; line-height: 1; padding: 6px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.work-meta h3 { margin-top: 12px; font-size: 18px; }
.work-meta p { margin-top: 6px; font-size: 14px; color: var(--ink-3); }

/* ---------- Strengths ---------- */
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); overflow: hidden; }
.strength { padding: 40px 32px; }
.strength + .strength { border-left: 1px solid var(--line); }
.strength-icon { width: 40px; height: 40px; color: var(--ink); }
.strength-icon svg { width: 28px; height: 28px; stroke-width: 1.5; }
.strength h3 { margin-top: 24px; font-size: 19px; }
.strength p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.95; }
.strength .point { margin-top: 20px; font-size: 13px; color: var(--accent); font-weight: 500; }

/* ---------- Flow ---------- */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: flow; position: relative; }
.flow::before { content: ""; position: absolute; top: 22px; left: 22px; right: 10%; height: 1px; background: var(--line-2); }
.flow-step { position: relative; padding-right: 24px; }
.flow-dot {
  position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line-2);
  display: grid; place-items: center; font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600;
}
.section-alt .flow-dot { background: var(--bg-2); }
.flow-step:last-child .flow-dot { background: var(--ink); color: #fff; border-color: var(--ink); }
.flow-step .en-label { margin-top: 24px; font-family: "Inter", sans-serif; font-size: 12px; color: var(--ink-3); letter-spacing: 0.06em; }
.flow-step h3 { margin-top: 4px; font-size: 18px; }
.flow-step p { margin-top: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.9; }
.flow-step .term { display: inline-block; margin-top: 14px; font-size: 12px; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.flow-note { margin-top: 48px; font-size: 14px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: 108px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; gap: 16px;
  padding: 28px 0; font-size: 17px; font-weight: 600; line-height: 1.6;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q { font-family: "Inter", sans-serif; color: var(--accent); font-weight: 600; flex: none; }
.faq-item summary .txt { flex: 1; }
.faq-item summary .icon { flex: none; width: 20px; height: 20px; margin-top: 4px; position: relative; }
.faq-item summary .icon::before, .faq-item summary .icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 9.25px; height: 1.5px; background: var(--ink); transition: transform .25s ease; }
.faq-item summary .icon::after { transform: rotate(90deg); }
.faq-item[open] summary .icon::after { transform: rotate(0); }
.faq-answer { padding: 0 36px 32px 34px; color: var(--ink-2); font-size: 15px; line-height: 2; }

/* ---------- Contact CTA ---------- */
.contact { background: var(--dark); color: #fff; }
.contact .eyebrow { color: #9cc2ff; }
.contact .lead { color: #b9bbc0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.contact-points { margin-top: 40px; display: grid; gap: 16px; }
.contact-points li { display: flex; gap: 12px; font-size: 15px; color: #d8d9dc; }
.contact-points svg { width: 20px; height: 20px; flex: none; margin-top: 4px; color: #9cc2ff; }
.contact-alt { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--dark-line); font-size: 14px; color: #9a9ca2; }
.contact-alt a { color: #fff; border-bottom: 1px solid var(--dark-line); }

.contact-card { background: var(--dark-2); border: 1px solid var(--dark-line); border-radius: var(--radius-l); padding: clamp(28px, 4vw, 48px); }
.contact-card-label { font-family: "Inter", sans-serif; font-size: 12px; color: #9cc2ff; letter-spacing: 0.08em; text-transform: uppercase; }
.contact-card h3 { margin-top: 10px; font-size: 22px; }
.contact-card-desc { margin-top: 14px; font-size: 15px; color: #b9bbc0; line-height: 1.95; }
.contact-steps { margin: 28px 0 36px; border-top: 1px solid var(--dark-line); }
.contact-steps li { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--dark-line); font-size: 15px; color: #d8d9dc; }
.contact-steps span { font-family: "Inter", sans-serif; font-size: 13px; color: #74767c; padding-top: 2px; }
.contact-card .btn { width: 100%; height: 54px; }
.contact-card-note { margin-top: 14px; font-size: 12px; color: #8a8c92; text-align: center; }

/* Simple CTA band (subpages) */
.cta-band { background: var(--dark); color: #fff; text-align: center; }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: #b9bbc0; margin-left: auto; margin-right: auto; max-width: 560px; }
.cta-band .actions { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-secondary { color: #fff; border-color: var(--dark-line); }
.cta-band .btn-secondary:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #a3a5ab; border-top: 1px solid var(--dark-line); padding: 64px 0 40px; font-size: 14px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer .logo { color: #fff; }
.site-footer .logo-mark { background: #fff; }
.site-footer .logo-mark::before { background: var(--dark); }
.footer-desc { margin-top: 16px; max-width: 320px; line-height: 1.9; }
.footer-nav { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-nav h4 { font-family: "Inter", sans-serif; font-size: 12px; color: #fff; letter-spacing: 0.08em; font-weight: 500; margin-bottom: 16px; }
.footer-nav li + li { margin-top: 10px; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--dark-line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #74767c; }

/* ---------- Sub page header ---------- */
.page-hero { padding: clamp(72px, 10vw, 128px) 0 clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: var(--ink-3); margin-bottom: 32px; }
.breadcrumb a:hover { color: var(--ink); }
.page-hero h1 { font-size: clamp(40px, 6vw, 72px); font-family: "Inter", sans-serif; letter-spacing: -0.035em; font-weight: 600; line-height: 1.1; }
.page-hero h1 small { display: block; font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink-3); letter-spacing: 0.08em; margin-top: 16px; }
.page-hero .lead { max-width: 640px; margin-top: 32px; }

/* ---------- Works page ---------- */
.filter { display: none; }
.js .filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }
.filter button {
  height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--ink-2); cursor: pointer; transition: all .2s ease;
}
.filter button:hover { border-color: var(--line-2); color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filter .count { margin-left: 6px; font-family: "Inter", sans-serif; font-size: 12px; opacity: .6; }
.work-card[hidden] { display: none; }

.case { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.case .work-thumb { padding: 8% 8% 0; }
.case-label { font-family: "Inter", sans-serif; font-size: 12px; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.case h2 { margin-top: 14px; font-size: clamp(24px, 2.8vw, 32px); line-height: 1.5; }
.case-client { margin-top: 12px; font-size: 14px; color: var(--ink-3); }
.case-blocks { margin-top: 36px; display: grid; gap: 24px; }
.case-block h3 { font-size: 13px; color: var(--ink-3); font-weight: 500; letter-spacing: 0.06em; }
.case-block p { margin-top: 6px; font-size: 15px; color: var(--ink-2); line-height: 1.95; }
.case-specs { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.case-specs div { padding-top: 18px; }
.case-specs dt { font-size: 12px; color: var(--ink-3); }
.case-specs dd { margin: 4px 0 0; font-size: 15px; font-weight: 600; }

.work-detail { margin-top: 14px; display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.work-detail div { display: grid; grid-template-columns: 52px 1fr; gap: 8px; }
.work-detail dt { color: var(--ink-3); }
.work-detail dd { margin: 0; }

.note { margin-top: 48px; font-size: 13px; color: var(--ink-3); }

/* ---------- Services page ---------- */
.service-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 48px; }
.service-index a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  font-size: 15px; font-weight: 500; transition: border-color .2s ease;
}
.service-index a:hover { border-color: var(--ink); }
.service-index a span { font-family: "Inter", sans-serif; font-size: 12px; color: var(--ink-3); }
.service-index svg { width: 16px; height: 16px; color: var(--ink-3); }

.service-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.service-detail + .service-detail { margin-top: var(--section); padding-top: var(--section); border-top: 1px solid var(--line); }
.service-detail .sticky { position: sticky; top: 108px; }
.service-num { font-family: "Inter", sans-serif; font-size: 13px; color: var(--ink-3); }
.service-detail h2 { margin-top: 14px; font-size: clamp(28px, 3.4vw, 38px); }
.service-detail h2 small { display: block; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500; color: var(--accent); letter-spacing: 0.06em; margin-bottom: 10px; }
.service-detail .desc { margin-top: 24px; color: var(--ink-2); line-height: 2.05; }
.service-price { margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-price dt { font-size: 12px; color: var(--ink-3); }
.service-price dd { margin: 4px 0 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.service-price dd small { font-size: 13px; font-weight: 500; color: var(--ink-2); margin-left: 2px; }
.service-detail .btn { margin-top: 28px; }

.detail-block + .detail-block { margin-top: 48px; }
.detail-block h3 { font-size: 15px; font-weight: 600; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.check-list { margin-top: 8px; }
.check-list li { display: flex; gap: 12px; padding: 12px 0; font-size: 15px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.check-list li:last-child { border-bottom: 0; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 5px; color: var(--accent); }
.include-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.include-grid li { padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.include-grid strong { display: block; font-size: 15px; font-weight: 600; }
.include-grid span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-3); line-height: 1.8; }

.plan-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.plan-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.plan-table th, .plan-table td { padding: 18px 24px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.plan-table tr:last-child th, .plan-table tr:last-child td { border-bottom: 0; }
.plan-table thead th { font-size: 15px; font-weight: 600; background: #fbfbfa; padding-top: 28px; padding-bottom: 24px; }
.plan-table thead th span { display: block; font-family: "Inter", sans-serif; font-size: 12px; color: var(--ink-3); font-weight: 500; letter-spacing: 0.06em; margin-bottom: 4px; }
.plan-table thead th strong { display: block; margin-top: 10px; font-size: 24px; letter-spacing: -0.01em; }
.plan-table thead th strong small { font-size: 13px; color: var(--ink-2); font-weight: 500; }
.plan-table tbody th { font-weight: 500; color: var(--ink-3); font-size: 14px; width: 22%; }
.plan-table td { color: var(--ink-2); }
.plan-table .featured { background: var(--accent-soft); }
.plan-table thead .featured { background: var(--accent-soft); }
.plan-table .badge { display: inline-block; margin-left: 8px; font-size: 11px; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }

.option-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.option-list li { display: flex; justify-content: space-between; gap: 16px; padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.option-list li:nth-child(3n+2), .option-list li:nth-child(3n) { padding-left: 24px; border-left: 1px solid var(--line); }
.option-list span { color: var(--ink-3); font-size: 14px; white-space: nowrap; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .strengths { grid-template-columns: repeat(2, 1fr); }
  .strength:nth-child(3) { border-left: 0; }
  .strength:nth-child(n+3) { border-top: 1px solid var(--line); }
  .works-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; }
  .flow-step { display: grid; grid-template-columns: 44px 1fr; column-gap: 24px; padding: 0 0 36px; }
  .flow-step > *:not(.flow-dot) { grid-column: 2; }
  .flow-step .flow-dot { grid-row: 1 / span 5; }
  .flow-step .en-label { margin-top: 2px; }
  .flow-step .term { justify-self: start; }
  .option-list { grid-template-columns: 1fr 1fr; }
  .option-list li:nth-child(n) { padding-left: 0; border-left: 0; }
  .option-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}

@media (max-width: 880px) {
  .global-nav {
    position: fixed; inset: 68px 0 0; background: var(--bg); flex-direction: column; align-items: stretch;
    padding: 24px var(--gutter) 40px; gap: 24px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s ease, transform .25s ease, visibility .25s;
  }
  .nav-open .global-nav { opacity: 1; visibility: visible; transform: none; }
  .global-nav ul { flex-direction: column; gap: 0; }
  .global-nav ul a { display: block; padding: 16px 0; font-size: 17px !important; border-bottom: 1px solid var(--line); }
  .global-nav .btn { height: 52px; }
  .nav-toggle { display: block; }
  body.nav-open { overflow: hidden; }

  .hero-grid, .concept-grid, .contact-grid, .faq-layout, .case, .service-detail { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .faq-layout .section-head, .service-detail .sticky { position: static; }
  .principles { grid-template-columns: 1fr; }
  .principle, .principle + .principle { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc--lp { grid-row: auto; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .service-index { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero-badge { font-size: 12px; line-height: 1.5; }
  .works-grid, .works-grid.cols-3 { grid-template-columns: 1fr; }
  .strengths { grid-template-columns: 1fr; }
  .strength + .strength { border-left: 0; border-top: 1px solid var(--line); }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 20px 28px; }
  .faq-item summary { font-size: 16px; padding: 22px 0; }
  .faq-answer { padding: 0 0 24px 34px; }
  .include-grid { grid-template-columns: 1fr; }
  .option-list { grid-template-columns: 1fr; }
  .option-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .case-specs { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .service-price { grid-template-columns: 1fr; }
  .footer-nav { gap: 40px; }
}

/* Services bento: in-between widths */
@media (max-width: 1100px) and (min-width: 881px) {
  .svc-split { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}
@media (max-width: 640px) {
  .svc { padding: 28px 22px; }
  .svc-icon { width: 56px; height: 56px; border-radius: 16px; }
  .svc-icon svg { width: 26px; height: 26px; }
  .svc-split { grid-template-columns: 1fr; gap: 24px; }
  .lp-visual { padding: 28px 16px; }
  .lp-label { padding-left: 24px; font-size: 12px; gap: 6px; }
  .lp-label::before { left: 6px; width: 12px; }
  .lp-fv { height: 92px; }
}
@media (max-width: 640px) {
  .hv-phone { left: 63cqw; }
  .hv-floor { left: 64cqw; }
}
@media (max-width: 640px) {
  .lp-stack::before { width: 46%; }
  .lp-row { grid-template-columns: 46% 1fr; }
}

/* Hero mock: the site's heading drawn as two heavy bars (no copy) */
.cs-title { display: flex; flex-direction: column; gap: 1.5cqw; width: 100%; margin-top: 2.4cqw; white-space: normal; }
.cs-title i { display: block; height: 2.1cqw; border-radius: 0.5cqw; background: var(--cs-ink); opacity: 0.85; width: 86%; }
.cs-title i + i { width: 62%; }
.cs--phone .cs-title { gap: 1cqw; margin-top: 2.8cqw; }
.cs--phone .cs-title i { height: 1.45cqw; border-radius: 0.4cqw; }

/* ==========================================================================
   Monitor program / About page / Design samples
   ========================================================================== */
a.hero-badge { transition: border-color .2s ease, box-shadow .2s ease; }
a.hero-badge:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
a.hero-badge svg { width: 14px; height: 14px; color: var(--ink-3); flex: none; }
.hero-badge b { background: var(--ink); color: #fff; }

.concept-more { margin-top: 32px; }
.inline-link { color: var(--accent-ink); border-bottom: 1px solid currentColor; }

/* Monitor */
.monitor {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 24px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.monitor::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: none;
}
.monitor > * { position: relative; }
.monitor .lead { max-width: 560px; }
.monitor-sub { margin-top: 36px; font-size: 15px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.monitor .check-list { margin-top: 4px; }
.monitor-panel {
  padding: 32px; border-radius: 20px;
  background: linear-gradient(180deg, #fafafa 0%, #f3f3f4 100%);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 #fff;
}
.mp-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mp-label { font-size: 13px; font-weight: 600; color: var(--accent-ink); background: var(--accent-soft); padding: 4px 12px; border-radius: 99px; }
.mp-slots { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }
.mp-slots i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.mp-slots i:last-of-type { margin-right: 4px; }
.mp-list { margin-top: 20px; }
.mp-row { padding: 18px 0; border-bottom: 1px solid var(--line); }
.mp-row dt { font-size: 14px; color: var(--ink-2); }
.mp-row dd { margin: 6px 0 0; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mp-row s { font-size: 13px; color: var(--ink-3); }
.mp-row strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.mp-row strong small { font-size: 14px; font-weight: 500; color: var(--ink-2); margin-left: 2px; letter-spacing: 0; }
.monitor-panel .btn { width: 100%; height: 52px; margin-top: 24px; }
.mp-note { margin-top: 14px; font-size: 12px; line-height: 1.8; color: var(--ink-3); }

/* Design samples (works page) */
.sample-note { display: flex; gap: 12px; align-items: flex-start; margin-top: 36px; padding: 16px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); max-width: 640px; }
.sample-note svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--accent); }
.sample-note a { color: var(--accent-ink); border-bottom: 1px solid currentColor; }
.work-detail div { grid-template-columns: 64px 1fr; }
.tag--self { background: var(--accent-soft); border-color: transparent; color: var(--accent-ink); }

/* About page */
.about-message { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.about-photo {
  position: sticky; top: 108px; aspect-ratio: 4 / 5; border-radius: var(--radius-l);
  background: linear-gradient(160deg, #f1f1f2 0%, #e1e1e4 100%);
  display: grid; place-items: center; color: #bcb8b0; box-shadow: var(--shadow);
}
.about-photo svg { width: 72px; height: 72px; }
.about-message .h2 { margin-bottom: 32px; }
.about-message p + p { margin-top: 1.5em; }
.about-message p { color: var(--ink-2); line-height: 2.1; }
.about-sign { margin-top: 40px !important; padding-top: 24px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 16px; }
.about-sign span { font-size: 13px; color: var(--ink-3); }
.about-sign strong { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: 0.08em; }

.profile { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 7vw, 104px); }
.profile-name { font-size: 28px; font-weight: 600; letter-spacing: 0.08em; }
.profile-name small { display: block; margin-top: 6px; font-family: "Inter", sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--ink-3); }
.profile-role { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.skills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.skills .tag { font-size: 13px; padding: 8px 14px; }
.timeline { border-top: 1px solid var(--line); }
.timeline div { display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.timeline dt { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.timeline dd { margin: 0; font-size: 15px; color: var(--ink-2); }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promise { padding: 36px 32px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.promise-num { font-family: "Inter", sans-serif; font-size: 13px; color: var(--accent); font-weight: 600; }
.promise h3 { margin-top: 16px; font-size: 20px; }
.promise p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }

.company { border-top: 1px solid var(--line); max-width: 880px; }
.company div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.company dt { font-size: 14px; color: var(--ink-3); }
.company dd { margin: 0; font-size: 15px; }

@media (max-width: 880px) {
  .monitor, .about-message, .profile { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 360px; }
  .promise-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .monitor { padding: 28px 22px; border-radius: 20px; }
  .monitor-panel { padding: 24px 20px; }
  .company div, .timeline div { grid-template-columns: 1fr; gap: 4px; }
  .hero-badge { gap: 8px; }
}
@media (max-width: 640px) {
  .about-photo { max-width: 240px; }
}

/* ---------- Photos ----------
   Source images are 3:2; each placement crops with aspect-ratio + object-position
   so the original files stay untouched. */
.photo { margin: 0; overflow: hidden; border-radius: var(--radius-l); background: var(--bg-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Top / Concept: 2:1 band; 80% keeps the laptop top and the sketches' bottom edge in frame */
.photo--concept { aspect-ratio: 2 / 1; margin-top: clamp(56px, 7vw, 88px); }
.photo--concept img { object-position: 50% 80%; }
/* About: 16:7 under the page title; 65% keeps tablet, notebook and both cups in frame */
.photo--about { aspect-ratio: 16 / 7; margin-top: clamp(40px, 6vw, 64px); }
.photo--about img { object-position: 50% 65%; }
@media (max-width: 640px) {
  .photo--concept, .photo--about { aspect-ratio: 3 / 2; }
  .photo--concept img, .photo--about img { object-position: 50% 50%; }
}

/* ==========================================================================
   Redesign — deep-blue sky heroes
   Every page opens with a .hero or .page-hero "sky": a night-blue field with stars,
   and a light horizon (an ellipse of the page background) rising from below with a blue glow.
   ========================================================================== */
.accent-text { background: linear-gradient(90deg, #1f6bff 0%, #4c95ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header: fixed, white-on-sky at the top, light glass once scrolled ---------- */
.site-header { position: fixed; left: 0; right: 0; top: 0; }
.site-header::before { transition: opacity .25s ease; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

body:not(.nav-open) .site-header:not(.is-scrolled)::before { opacity: 0; }
body:not(.nav-open) .site-header:not(.is-scrolled) .logo { color: #fff; }
body:not(.nav-open) .site-header:not(.is-scrolled) .logo-mark { background: #fff; }
body:not(.nav-open) .site-header:not(.is-scrolled) .logo-mark::before { background: #0b1b3a; }
body:not(.nav-open) .site-header:not(.is-scrolled) .global-nav a:not(.btn) { color: rgba(255, 255, 255, 0.72); }
body:not(.nav-open) .site-header:not(.is-scrolled) .global-nav a:not(.btn):hover,
body:not(.nav-open) .site-header:not(.is-scrolled) .global-nav a[aria-current="page"] { color: #fff; }
body:not(.nav-open) .site-header:not(.is-scrolled) .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.22); background: rgba(255, 255, 255, 0.06); }
body:not(.nav-open) .site-header:not(.is-scrolled) .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.5); }
body:not(.nav-open) .site-header:not(.is-scrolled) .btn-primary { background: #fff; color: #0b1b3a; }
body:not(.nav-open) .site-header:not(.is-scrolled) .btn-primary:hover { background: #e6eeff; }
body:not(.nav-open) .site-header:not(.is-scrolled) .nav-toggle span { background: #fff; }

/* ---------- Sky ---------- */
.hero, .page-hero {
  position: relative; overflow: hidden; isolation: isolate; border-bottom: 0;
  --hz: calc(100% - var(--horizon, 96px));  /* y of the dome's lower edge */
  background: linear-gradient(180deg,
    #0a2f9e 0%, #1a5cf0 calc(var(--hz) - 120px), #4a8aff var(--hz),
    #a8c9ff calc(var(--hz) + var(--fade, 340px) * 0.24), #e1ecff calc(var(--hz) + var(--fade, 340px) * 0.56),
    var(--bg) calc(var(--hz) + var(--fade, 340px)));
  color: #fff;
}
/* Stars (three offset tilings read as a random field) */
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; bottom: auto; height: var(--hz); z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(170, 205, 255, 0.75) 0 1.2px, transparent 1.9px),
    linear-gradient(90deg, transparent 49.9%, rgba(120, 170, 255, 0.10) 50%, transparent 50.1%);
  background-size: 173px 151px, 241px 223px, 311px 287px, 420px 100%;
  background-position: 13px 27px, 97px 61px, 151px 113px, 0 0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%);
}
/* Dome: the night sky as a huge ellipse hanging from above, glowing blue along its lower edge */
.hero::after, .page-hero::after {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  left: 50%; transform: translateX(-50%);
  top: calc(var(--hz) - 1900px); width: max(240%, 2400px); height: 1900px; border-radius: 50%;
  background:
    radial-gradient(ellipse 34% 14% at 50% 100%, rgba(60, 130, 255, 0.85), rgba(60, 130, 255, 0) 100%),
    radial-gradient(ellipse 60% 9% at 50% 100%, rgba(40, 110, 255, 0.6), rgba(40, 110, 255, 0) 100%),
    linear-gradient(180deg, #01040f 0%, #01040f 60%, #020a26 78%, #041450 92%, #0a2fa0 100%);
  box-shadow:
    inset 0 -18px 40px -6px rgba(120, 180, 255, 0.55),
    0 6px 28px 2px rgba(110, 175, 255, 0.8),
    0 40px 110px 30px rgba(31, 107, 255, 0.55),
    0 80px 220px 80px rgba(31, 107, 255, 0.25);
}

/* ---------- Top hero ---------- */
.hero { --hz: 600px; padding: calc(68px + clamp(64px, 8vw, 104px)) 0 clamp(72px, 8vw, 112px); text-align: center; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero .hero-badge {
  margin: 0; color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero .hero-badge b { background: #fff; color: #0b1b3a; }
.hero .hero-badge svg { color: rgba(255, 255, 255, 0.6); }
.hero .hero-badge:hover { border-color: rgba(255, 255, 255, 0.4); box-shadow: none; }

.hero-title { position: relative; margin-top: 36px; }
.hero h1 { font-size: clamp(32px, 6vw, 82px); line-height: 1.28; font-weight: 700; letter-spacing: 0.01em; color: #fff; }
.hero h1 .line { display: block; white-space: nowrap; }
.hero h1 .accent {
  background: linear-gradient(90deg, #ffffff 0%, #b9d4ff 45%, #7fb0ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .hero-lead { margin: 28px auto 0; max-width: 640px; font-size: clamp(15px, 1.4vw, 17px); line-height: 2; color: rgba(255, 255, 255, 0.8); }

/* Collaboration cursors */
.presence { position: absolute; display: flex; align-items: flex-start; gap: 2px; pointer-events: none; }
.presence svg { width: 20px; height: 20px; flex: none; }
.presence span { margin-top: 16px; padding: 3px 9px; border-radius: 99px; font-size: 12px; line-height: 1.4; white-space: nowrap; font-family: "Inter", "Noto Sans JP", sans-serif; }
.presence--client { left: -112px; top: 18%; flex-direction: row-reverse; }
.presence--client svg { fill: #8fbaff; stroke: #fff; stroke-width: 1.2; transform: scaleX(-1); }
.presence--client span { background: rgba(10, 30, 80, 0.6); color: #dbe8ff; border: 1px solid rgba(255, 255, 255, 0.16); }
.presence--mmsc { right: -86px; bottom: 6%; }
.presence--mmsc svg { fill: #1f6bff; stroke: #fff; stroke-width: 1.2; }
.presence--mmsc span { background: #1f6bff; color: #fff; }


/* Illustration under the hero buttons, centered as a group (browser 0–136cqw) */
.hero .hero-visual { width: min(620px, 66vw); margin-top: 80px; transform: translateX(-18%); }

/* Industries row */
.industries { width: 100%; margin-top: clamp(64px, 8vw, 96px); }
.industries p { font-size: 13px; letter-spacing: 0.06em; color: var(--ink-3); }
.industries ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px 16px; margin-top: 32px; }
.industries li { display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.industries svg { width: 40px; height: 40px; color: #8db2f5; }

/* ---------- Statement ---------- */
.statement { padding-top: clamp(48px, 6vw, 80px); }
.statement-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.statement-title { font-size: clamp(30px, 4vw, 52px); line-height: 1.38; font-weight: 700; letter-spacing: 0.01em; color: var(--ink); }
.stats { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 4px 0 4px 32px; }
.stat + .stat { border-left: 1px solid var(--line-2); }
.stat-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 4px 10px -3px rgba(31, 107, 255, 0.6); }
.stat-icon svg { width: 13px; height: 13px; }
.stat-num { margin-top: 36px; font-family: "Inter", sans-serif; font-size: clamp(38px, 4.4vw, 56px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--ink); }
.stat-num small { margin-left: 4px; font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--ink-2); }
.stat-label { margin-top: 10px; font-size: 14px; color: var(--ink-3); }

/* ---------- Sub page heads ---------- */
.page-hero { --horizon: 96px; --fade: var(--horizon); padding: calc(68px + clamp(56px, 8vw, 104px)) 0 calc(var(--horizon) + clamp(24px, 4vw, 48px)); }
.page-hero:has(.service-index) { --horizon: 120px; }
.page-hero:has(.sample-note) { --horizon: 110px; }
.page-hero:has(.photo--about) { --horizon: 300px; }
.page-hero .breadcrumb { color: rgba(255, 255, 255, 0.55); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; }
.page-hero h1 small { color: #9cc2ff; }
.page-hero .lead { color: rgba(255, 255, 255, 0.78); }
.page-hero .eyebrow { color: #9cc2ff; }
.page-hero .sample-note { box-shadow: 0 16px 40px -18px rgba(8, 30, 90, 0.45); border-color: transparent; }
.page-hero .service-index a { border-color: transparent; box-shadow: 0 16px 40px -20px rgba(8, 30, 90, 0.5); }
.page-hero .photo { box-shadow: 0 30px 70px -30px rgba(8, 30, 90, 0.6); }

/* Dark bands pick up the same blue glow */
.contact, .cta-band {
  background:
    radial-gradient(ellipse 60% 70% at 50% 120%, rgba(31, 107, 255, 0.45), rgba(31, 107, 255, 0) 70%),
    var(--dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-actions .btn-ghost { display: none; }
  .global-nav ul { gap: 22px; }
}
@media (max-width: 880px) {
  .presence { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn-ghost { display: inline-flex; }
  .nav-actions .btn { height: 52px; }
  .statement-grid { grid-template-columns: 1fr; align-items: start; }
  .industries ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .hero { --hz: 428px; }
  .hero .hero-lead br { display: none; }
  .hero .hero-visual { margin-top: 56px; }
  .stat { padding-left: 20px; }
  .stat:first-child { padding-left: 0; }
}
.stat-num { white-space: nowrap; font-size: clamp(34px, 3.6vw, 48px); }
.stat:first-child { padding-left: 0; }
.page-hero .service-index a { color: var(--ink); }
.page-hero .service-index a span, .page-hero .service-index svg { color: var(--ink-3); }
/* About: let the photo cross the glowing horizon */
.page-hero:has(.photo--about) { --horizon: 320px; padding-bottom: clamp(56px, 6vw, 80px); }
.nav-open .site-header::before { background: var(--bg); opacity: 1; }
@media (max-width: 640px) {
  .page-hero:has(.photo--about) { --horizon: 230px; }
}

/* Hero buttons (on the night sky) */
.hero .hero-actions { justify-content: center; margin-top: 40px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, 0.25); background: rgba(255, 255, 255, 0.06); }
.hero .btn-ghost:hover { border-color: rgba(255, 255, 255, 0.55); }
.hero { --hz: 720px; }
.hero .hero-visual { margin-top: 112px; }
@media (max-width: 640px) {
  .hero { --hz: 540px; }
  .hero .hero-actions { flex-wrap: nowrap; }
  .hero .hero-actions .btn { flex: 1 1 0; padding: 0 12px; }
  .hero .hero-visual { margin-top: 88px; }
}
.btn svg { flex: none; }

/* ==========================================================================
   Palette B texture: faint grid on gray bands, a dot field beside the statement
   ========================================================================== */
.section-alt { position: relative; isolation: isolate; }
.section-alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(9, 9, 11, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 9, 11, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 85%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 45%, #000 25%, transparent 85%);
}
.statement { position: relative; isolation: isolate; }
.statement::before {
  content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 55%; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(9, 9, 11, 0.16) 1px, transparent 1.6px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 70% 50%, #000 15%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 75% at 70% 50%, #000 15%, transparent 75%);
}
@media (max-width: 880px) {
  .statement::before { width: 100%; top: 40%; }
}

/* Mock screens keep their 16:10.4 frame whatever the variant (content no longer stretches the box) */
.mock-body { overflow: hidden; }
.mock-hero { min-height: 0; }
.mock--full .mock-text { padding: 5% 6%; gap: 7px; }
.mock--full .mock-text { padding: 3.5% 6%; gap: 5px; }
.mock--full .mock-text s + s { display: none; }
