@charset "UTF-8";

/* ============================================================
   SUNNY DENKI — Electrical work / Fire safety / Machine control
   ============================================================ */

:root {
  /* Blue palette — white / vivid blue / soft tint / signal yellow (chirashi-aligned) */
  --paper:        #FFFFFF;
  --paper-soft:   #F6F9FC;
  --paper-deep:   #E8EEF5;
  --ink:          #102033;
  --ink-soft:     #2C435A;
  --ink-mute:     #667C92;
  --ink-faint:    #A7B6C6;
  --line:         #D8E1EA;
  --line-soft:    #E9EEF4;

  --green:        #1E6FD9;   /* PRIMARY BLUE — vivid (name preserved for compat) */
  --green-dark:   #0F4F9E;
  --green-light:  #5FA8E8;
  --wood:         #3A89D8;   /* mid blue (name preserved for compat) */
  --wood-soft:    #A9CDEC;
  --signal:       #FFD53B;   /* electric yellow — CTAs / attention */
  --signal-soft:  #FFE884;

  --font-serif:   'Shippori Mincho', 'Zen Old Mincho', 'Hiragino Mincho ProN', 'YuMincho', serif;
  --font-sans:    'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', sans-serif;
  --font-hand:    'Klee One', 'Yusei Magic', cursive;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius-sm:    6px;
  --radius:       8px;
  --radius-lg:    12px;
  --head-h:       76px;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-soft:  0 1px 2px rgba(15,34,54,0.05), 0 12px 30px -24px rgba(15,34,54,0.32);
  --shadow-lift:  0 8px 20px -18px rgba(15,34,54,0.28), 0 24px 54px -36px rgba(15,34,54,0.34);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--head-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}
body::before, body::after { content: none; display: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; letter-spacing: 0.01em; color: var(--ink); }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { opacity: 0.78; }
ul, ol { list-style: none; }
img, svg, iframe { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
em { font-style: normal; color: var(--green); font-weight: 700; }
::selection { background: var(--signal-soft); color: var(--ink); }

/* Hide drafting ornaments (legacy) */
.crop-marks, .dwg-stamp, .side-rail, #preloader, .ticker,
.hero-wave, .sun-motif, .hero-ghost, .tb-stamp, .title-block,
.spec-sheet::before, .spec-sheet::after, .map-frame [class^="mf-"],
.footer-rule, .spec-illust::after, .work-illust::after,
.service-hub-illust::after, .license-card::after, .callout::after,
.str-icon {
  display: none !important;
}
.brush-u {
  background: linear-gradient(transparent 70%, var(--signal-soft) 0);
  padding: 0 2px;
}

/* ---------- Layout ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 112px 0; position: relative; }

/* ---------- Header ---------- */
#header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--head-h); z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(1.15) blur(12px);
  -webkit-backdrop-filter: saturate(1.15) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
#header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
}
.header-inner {
  max-width: 1400px; height: 100%;
  margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--paper); color: var(--paper);
  border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.logo-body { display: flex; flex-direction: column; line-height: 1.15; }
.logo-jp { font-family: var(--font-serif); font-weight: 700; font-size: 17px; letter-spacing: 0.04em; color: var(--ink); }
.logo-en { font-size: 10px; color: var(--ink-mute); letter-spacing: 0.16em; margin-top: 3px; font-weight: 500; font-family: var(--font-mono); }

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop ul { display: flex; gap: 22px; align-items: center; }
.nav-desktop a {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 2px; position: relative;
  font-weight: 500; font-size: 14px; color: var(--ink-soft);
}
.nav-desktop em {
  font-family: var(--font-mono); font-style: normal;
  font-size: 10px; color: var(--ink-faint); font-weight: 500; letter-spacing: 0.14em;
}
.nav-desktop span { font-size: 14px; color: var(--ink-soft); font-weight: 500; letter-spacing: 0.06em; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--signal);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .35s var(--ease);
}
.nav-desktop a:hover::after, .nav-desktop a.is-current::after { transform: scaleX(1); }
.nav-desktop a.is-current em { color: var(--green); }
.nav-desktop a:hover { opacity: 1; color: var(--green); }

.cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 22px;
  background: var(--green); color: var(--paper);
  font-weight: 600; font-size: 13px; letter-spacing: 0.08em;
  border-radius: 999px;
  transition: background .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  box-shadow: var(--shadow-soft);
}
.cta:hover { background: var(--green-dark); color: var(--paper); opacity: 1; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.cta .cta-arrow { font-size: 13px; }

.hamburger {
  display: none; width: 38px; height: 38px;
  position: relative; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--paper);
}
.hamburger span {
  position: absolute; left: 10px; right: 10px;
  height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease);
}
.hamburger span:nth-child(1) { top: 13px; }
.hamburger span:nth-child(2) { top: 18px; }
.hamburger span:nth-child(3) { top: 23px; }
.hamburger.active span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed; top: var(--head-h); right: -100%;
  width: min(420px, 100vw); height: calc(100vh - var(--head-h));
  background: var(--paper);
  border-left: 1px solid var(--line);
  z-index: 999; padding: 32px 28px;
  display: flex; flex-direction: column;
  transition: right .4s var(--ease);
  overflow-y: auto;
}
.mobile-menu.active { right: 0; }
.mobile-head {
  display: flex; justify-content: space-between;
  letter-spacing: 0.16em; font-size: 10px; color: var(--ink-mute);
  padding-bottom: 16px; border-bottom: 1px solid var(--line);
  margin-bottom: 24px; font-weight: 500; font-family: var(--font-mono);
}
.mobile-list { display: flex; flex-direction: column; gap: 2px; flex-grow: 1; }
.mobile-link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 20px 0; font-weight: 700; font-size: 24px;
  font-family: var(--font-serif);
  border-bottom: 1px solid var(--line);
  color: var(--ink); width: 100%; text-align: left;
  transition: padding-left .25s var(--ease), color .25s var(--ease);
}
.mobile-link:hover { padding-left: 4px; opacity: 1; color: var(--green); }
.mobile-link em {
  font-family: var(--font-mono); font-style: normal;
  font-size: 11px; color: var(--wood); font-weight: 500; letter-spacing: 0.16em; min-width: 22px;
}
.mobile-link span { font-size: 10px; color: var(--ink-faint); letter-spacing: 0.18em; margin-left: auto; font-weight: 500; font-family: var(--font-mono); }
.mobile-cta {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; background: var(--green); color: var(--paper);
  font-size: 13px; letter-spacing: 0.08em;
  border-radius: 999px; margin-top: 28px; font-weight: 600;
}
.mobile-cta:hover { background: var(--green-dark); color: var(--paper); }
.mobile-foot {
  display: flex; flex-direction: column; gap: 6px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-soft); font-family: var(--font-serif);
}

/* ---------- Section Head ---------- */
.section-head {
  max-width: 1180px; margin: 0 auto 56px;
  padding: 0 28px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.sh-num {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; color: var(--wood);
}
.sh-num::before {
  content: ""; width: 28px; height: 1px; background: var(--wood);
  display: inline-block;
}
.sh-jp {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 44px);
  font-weight: 700; color: var(--ink);
  letter-spacing: 0.03em;
}
.sh-en {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  color: var(--ink-faint); letter-spacing: 0.22em;
}
.sh-rule { display: none; }
.section-head-dark .sh-jp { color: var(--paper); }
.section-head-dark .sh-en { color: rgba(255,255,255,0.5); }
.section-head-dark .sh-num { color: var(--signal); }
.section-head-dark .sh-num::before { background: var(--signal); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - var(--head-h));
  padding: calc(var(--head-h) + 56px) 28px 96px;
  display: grid; align-items: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 560px at 88% 12%, rgba(255, 213, 59, 0.22), transparent 62%),
    radial-gradient(ellipse 700px 480px at 8% 92%, rgba(30, 111, 217, 0.14), transparent 68%),
    radial-gradient(ellipse 500px 380px at 55% 60%, rgba(95, 168, 232, 0.08), transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F6FAFE 55%, #EEF5FC 100%);
}

/* Optional photo background layer */
.hero-photo-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: var(--hero-photo);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: 0;
}
.hero.has-photo .hero-photo-bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(238, 245, 252, 0.65) 100%);
}

/* Grid / dot pattern overlay */
.hero-grid-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(30, 111, 217, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 111, 217, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 85%);
  opacity: 0.9;
}
.hero-noise {
  position: absolute; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(15, 79, 158, 0.18) 0 1.5px, transparent 2px),
    radial-gradient(circle at 76% 16%, rgba(255, 213, 59, 0.35) 0 1.5px, transparent 2px),
    radial-gradient(circle at 42% 78%, rgba(15, 79, 158, 0.12) 0 1px, transparent 1.5px),
    radial-gradient(circle at 88% 66%, rgba(255, 213, 59, 0.3) 0 1.2px, transparent 1.8px);
  background-size: 520px 520px;
  background-repeat: repeat;
  opacity: 0.65;
  mix-blend-mode: multiply;
}

/* Decorative marquee band at top of hero */
.hero-marquee {
  position: absolute;
  top: calc(var(--head-h) + 4px); left: 0; right: 0;
  overflow: hidden;
  padding: 10px 0;
  background: linear-gradient(90deg, transparent 0%, rgba(15, 34, 54, 0.92) 8%, rgba(15, 34, 54, 0.92) 92%, transparent 100%);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.2em; font-weight: 500;
  z-index: 2;
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.hero-marquee-track {
  display: flex; gap: 28px; white-space: nowrap;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.hero-marquee-track span { flex-shrink: 0; }
.hero-marquee-track span:nth-child(even) { color: var(--signal); opacity: 0.85; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hero-inner {
  position: relative; z-index: 3;
  max-width: 1180px; margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px; align-items: center;
  padding-top: 32px;
  min-height: calc(100vh - var(--head-h) - 180px);
}
.hero-copy { max-width: 780px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 9px 18px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px; color: var(--ink-soft);
  letter-spacing: 0.14em; font-weight: 500;
  box-shadow: 0 2px 10px -4px rgba(15, 34, 54, 0.12);
}
.kicker-sep {
  color: var(--line);
  font-weight: 300;
}
.kicker-since {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--wood); font-weight: 600;
}
.kicker-tick {
  width: 8px; height: 8px; background: var(--signal);
  border-radius: 50%; display: inline-block;
  animation: pulse 2.2s ease-in-out infinite;
  box-shadow: 0 0 0 0 rgba(255, 213, 59, 0.5);
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 213, 59, 0.5); }
  50% { opacity: 0.7; transform: scale(0.82); box-shadow: 0 0 0 8px rgba(255, 213, 59, 0); }
}

@media (max-width: 768px) {
  .kicker-sep, .kicker-since { display: none; }
  .hero-marquee { font-size: 10px; padding: 8px 0; }
}

.hero-h1 {
  font-family: var(--font-serif);
  font-weight: 700; letter-spacing: 0.02em;
  line-height: 1.18; color: var(--ink);
  margin-top: 20px;
}
.hero-h1-sm {
  display: block;
  font-family: var(--font-hand), var(--font-serif);
  font-size: clamp(18px, 2vw, 24px);
  color: var(--wood);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.hero-h1-sm::before { content: "〜 "; }
.hero-h1-sm::after  { content: " 〜"; }
.hero-h1-lg {
  display: block;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: 0.02em;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.hero-h1-lg .brush-u {
  background: linear-gradient(transparent 68%, var(--signal) 68%, var(--signal) 96%, transparent 96%);
  padding: 0 6px;
  position: relative;
}
.hero-h1-lg .brush-u::after {
  content: "";
  position: absolute;
  top: -12px; right: -18px;
  width: 28px; height: 28px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M13 2L4 14h7l-1 8 9-12h-7l1-8z' fill='%23FFD53B' stroke='%230F2236' stroke-width='1.2' stroke-linejoin='round'/></svg>") no-repeat center / contain;
  animation: floatBolt 2.4s ease-in-out infinite;
  transform-origin: center;
}
@keyframes floatBolt {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-6px) rotate(6deg); }
}
.hero-h1 .r { display: inline-block; overflow: hidden; vertical-align: bottom; animation: revealUp 1.1s var(--ease) both; }
.hero-h1-sm .r:nth-child(1) { animation-delay: 0.1s; }
.hero-h1-lg .r:nth-child(1) { animation-delay: 0.3s; }
.hero-h1-lg .r:nth-child(2) { animation-delay: 0.5s; }
@keyframes revealUp {
  from { transform: translateY(115%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.hero-lede {
  max-width: 520px;
  font-size: 16px; line-height: 2;
  color: var(--ink-soft);
  margin-top: 28px;
  animation: fadeIn 1s var(--ease) 0.8s both;
}
.hero-lede em { color: var(--green); font-weight: 700; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.hero-actions {
  margin-top: 36px;
  display: flex; flex-wrap: wrap; gap: 14px;
  animation: fadeIn 1s var(--ease) 1s both;
}
.hero-call {
  position: relative;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 22px;
  background: var(--green); color: var(--paper);
  border-radius: 999px;
  box-shadow: var(--shadow-lift), 0 0 0 0 rgba(30, 111, 217, 0.4);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .3s var(--ease);
  overflow: visible;
}
.hero-call::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.22) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
  pointer-events: none;
}
.hero-call:hover { transform: translateY(-2px); background: var(--green-dark); color: var(--paper); opacity: 1; box-shadow: 0 24px 48px -16px rgba(15, 79, 158, 0.45); }
.hero-call:hover::before { transform: translateX(100%); }
.hero-call-pulse {
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--green);
  opacity: 0.45;
  pointer-events: none;
  animation: callPulse 2.4s ease-out infinite;
}
@keyframes callPulse {
  0%   { transform: scale(0.96); opacity: 0.5; }
  70%  { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
.hero-call-icon {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--signal); color: var(--green-dark);
  display: grid; place-items: center;
}
.hero-call-icon svg { width: 20px; height: 20px; }
.hero-call-label {
  display: flex; flex-direction: column; line-height: 1.2;
}
.hero-call-label small {
  font-size: 10px; letter-spacing: 0.18em; color: var(--signal-soft);
  font-family: var(--font-mono); margin-bottom: 2px;
}
.hero-call-label strong {
  font-family: var(--font-serif); font-size: 24px; font-weight: 700;
  letter-spacing: 0.04em;
}
.hero-form-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px;
  background: transparent; color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 999px;
  font-weight: 600; font-size: 14px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.hero-form-btn:hover { background: var(--green); color: var(--paper); }

.hero-badges {
  margin-top: 40px;
  display: flex; flex-wrap: wrap; gap: 12px 24px;
  font-size: 12px; color: var(--ink-mute);
  font-family: var(--font-mono); letter-spacing: 0.12em;
  animation: fadeIn 1s var(--ease) 1.2s both;
}
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero-badges span::before {
  content: "✓"; color: var(--green-light); font-weight: 700;
}


/* Hero illustration — compact, bottom-right */
.hero-visual {
  position: absolute;
  right: 0;
  bottom: -24px;
  aspect-ratio: 1 / 1.05;
  width: clamp(180px, 18vw, 240px);
  max-width: 240px;
  margin: 0;
  z-index: 2;
  animation: fadeIn 1.2s var(--ease) 0.6s both;
}

/* Outer halo ring — subtle glow behind the blob */
.hero-visual-halo {
  position: absolute; inset: -8%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 213, 59, 0.28) 0%, rgba(255, 213, 59, 0) 55%),
    conic-gradient(from 180deg at 50% 50%, rgba(30, 111, 217, 0.10), rgba(255, 213, 59, 0.18), rgba(95, 168, 232, 0.12), rgba(30, 111, 217, 0.10));
  filter: blur(18px);
  opacity: 0.9;
  animation: haloSpin 28s linear infinite;
  pointer-events: none;
}
@keyframes haloSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.hero-visual-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 35% 30%, #FFFFFF 0%, transparent 60%),
    linear-gradient(160deg, #F2F7FC 0%, #DCE8F4 100%);
  border-radius: 48% 52% 42% 58% / 54% 46% 54% 46%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.8),
    0 30px 60px -30px rgba(15, 79, 158, 0.35),
    var(--shadow-soft);
  animation: blobMorph 14s ease-in-out infinite;
}
@keyframes blobMorph {
  0%, 100% { border-radius: 48% 52% 42% 58% / 54% 46% 54% 46%; }
  33%      { border-radius: 58% 42% 52% 48% / 46% 58% 42% 54%; }
  66%      { border-radius: 44% 56% 58% 42% / 58% 44% 56% 42%; }
}

.hero-visual svg.hero-scene {
  position: absolute; inset: 8%;
  width: 84%; height: 84%;
  filter: drop-shadow(0 12px 24px rgba(15, 79, 158, 0.15));
  animation: sceneFloat 8s ease-in-out infinite;
}
@keyframes sceneFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Floating sparkle accents around the illustration */
.hero-sparkle {
  position: absolute;
  display: grid; place-items: center;
  color: var(--signal);
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(255, 213, 59, 0.5));
}
.hero-sparkle svg { width: 100%; height: 100%; }
.hero-sparkle.sp-1 { top: 6%;  left: -2%; width: 44px; height: 44px; animation: sparkleA 3.4s ease-in-out infinite; }
.hero-sparkle.sp-2 { top: 44%; right: -4%; width: 30px; height: 30px; color: var(--green); animation: sparkleB 2.8s ease-in-out infinite 0.4s; }
.hero-sparkle.sp-3 { bottom: 12%; left: 6%; width: 26px; height: 26px; animation: sparkleA 3.8s ease-in-out infinite 0.9s; }
@keyframes sparkleA {
  0%, 100% { transform: translateY(0) rotate(0) scale(1); opacity: 1; }
  40%      { transform: translateY(-10px) rotate(18deg) scale(1.12); opacity: 0.85; }
  60%      { transform: translateY(-4px) rotate(-8deg) scale(0.92); opacity: 1; }
}
@keyframes sparkleB {
  0%, 100% { transform: translateX(0) rotate(0) scale(1); }
  50%      { transform: translateX(8px) rotate(-12deg) scale(1.1); }
}

/* Floating info chips near the illustration */
.hero-chip {
  position: absolute;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex; align-items: center; gap: 10px;
  box-shadow: 0 18px 40px -18px rgba(15, 34, 54, 0.28), var(--shadow-soft);
  z-index: 2;
  font-family: var(--font-sans);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-chip .chip-body { display: flex; flex-direction: column; line-height: 1.25; }
.hero-chip .chip-body small {
  font-family: var(--font-mono);
  font-size: 9px; letter-spacing: 0.22em;
  color: var(--wood); font-weight: 600;
  margin-bottom: 2px;
}
.hero-chip .chip-body strong {
  font-family: var(--font-serif);
  font-size: 13px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.02em;
}
.hero-chip .chip-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2EBA5D;
  box-shadow: 0 0 0 4px rgba(46, 186, 93, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
.hero-chip svg { width: 22px; height: 22px; color: var(--signal); flex-shrink: 0; }

.hero-chip.chip-hours {
  top: 4%; right: -6%;
  transform: rotate(2deg);
  animation: chipFloat 6s ease-in-out infinite;
}
.hero-chip.chip-license {
  bottom: 8%; left: -8%;
  transform: rotate(-3deg);
  animation: chipFloat 7s ease-in-out infinite 0.6s;
}
@keyframes chipFloat {
  0%, 100% { transform: translateY(0) rotate(2deg); }
  50%      { transform: translateY(-8px) rotate(-1deg); }
}
.hero-chip.chip-license {
  animation-name: chipFloatB;
}
@keyframes chipFloatB {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

/* Stamp — yellow round badge with rotating text ring */
.hero-visual .hero-stamp {
  position: absolute; right: -28px; bottom: -28px;
  width: 108px; height: 108px;
  display: grid; place-items: center;
  z-index: 3;
  pointer-events: none;
}
.hero-visual .hero-stamp-body {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--signal);
  color: var(--ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; font-family: var(--font-serif);
  font-weight: 700; font-size: 9px; line-height: 1.15;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 24px -8px rgba(15, 34, 54, 0.35),
    inset 0 -4px 10px rgba(0, 0, 0, 0.08),
    inset 0 2px 4px rgba(255, 255, 255, 0.4);
  transform: rotate(-8deg);
}
.hero-visual .hero-stamp-body small {
  display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: 7px; letter-spacing: 0.18em; color: var(--green-dark);
  margin-top: 3px; line-height: 1;
}
.hero-visual .hero-stamp-ring {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  animation: stampSpin 22s linear infinite;
}
@keyframes stampSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute; left: 50%; bottom: 24px;
  transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--ink-mute); font-weight: 500;
  z-index: 3;
  text-decoration: none;
}
.hero-scroll-cue .cue-label { writing-mode: horizontal-tb; }
.hero-scroll-cue .cue-line {
  position: relative;
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--line), transparent);
  overflow: hidden;
}
.hero-scroll-cue .cue-line::after {
  content: "";
  position: absolute; top: -12px; left: 0;
  width: 1.5px; height: 20px;
  background: var(--green);
  animation: cueDrop 1.8s ease-in-out infinite;
}
@keyframes cueDrop {
  0%   { transform: translateY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: translateY(56px); opacity: 0; }
}
.hero-scroll-cue .cue-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal);
  box-shadow: 0 0 0 4px rgba(255, 213, 59, 0.25);
}
.hero-scroll-cue:hover { color: var(--green); opacity: 1; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track, .hero-visual-halo, .hero-visual-bg,
  .hero-visual svg.hero-scene, .hero-sparkle, .hero-chip,
  .hero-call-pulse, .hero-stamp-ring, .cue-line::after,
  .hero-h1-lg .brush-u::after {
    animation: none !important;
  }
}

.hero-foot {
  display: none;
}

/* Hide legacy hero elements */
.title-block, .hero-coord, .scroll-cue { display: none !important; }

/* ============================================================
   FV refinement — photo hero + service range blueprint card
   ============================================================ */
.hero {
  min-height: 100vh;
  padding: calc(var(--head-h) + 40px) 28px 64px;
  background: #F6FAFE;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.96) 0%,
      rgba(255,255,255,0.92) 31%,
      rgba(255,255,255,0.56) 52%,
      rgba(255,255,255,0.12) 76%,
      rgba(255,255,255,0.04) 100%),
    linear-gradient(180deg,
      rgba(255,255,255,0.18) 0%,
      rgba(242,247,252,0.10) 58%,
      rgba(242,247,252,0.55) 100%);
}
.hero-photo-bg {
  background-position: center right;
  opacity: 0.78;
}
.hero.has-photo .hero-photo-bg::after {
  background:
    radial-gradient(ellipse 720px 520px at 78% 26%, rgba(255,255,255,0) 0%, rgba(255,255,255,0.18) 66%, rgba(255,255,255,0.34) 100%),
    linear-gradient(90deg, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.18) 52%, rgba(255,255,255,0) 100%);
}
.hero-grid-bg {
  z-index: 1;
  background-size: 48px 48px;
  opacity: 0.28;
  mix-blend-mode: multiply;
}
.hero-noise {
  z-index: 1;
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(15,34,54,0.20) 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 72% 18%, rgba(30,111,217,0.18) 0 0.8px, transparent 1.2px),
    radial-gradient(circle at 44% 72%, rgba(255,213,59,0.18) 0 0.9px, transparent 1.4px);
  background-size: 180px 180px;
}
.hero-marquee {
  top: var(--head-h);
  padding: 8px 0;
  background: rgba(15, 34, 54, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  letter-spacing: 0.16em;
}
.hero-inner {
  max-width: 1400px;
  min-height: calc(100vh - var(--head-h) - 104px);
  grid-template-columns: minmax(580px, 1fr) minmax(530px, 0.92fr);
  gap: clamp(28px, 3.2vw, 46px);
  align-items: center;
  padding-top: 44px;
}
.hero-copy {
  max-width: 730px;
  padding-left: clamp(0px, 1.8vw, 28px);
}
.hero-h1 {
  margin-top: 0;
  line-height: 1.16;
}
.hero-h1-lg {
  font-size: clamp(48px, 5.05vw, 76px);
  letter-spacing: 0.015em;
  white-space: normal;
}
.hero-h1-lg .r {
  display: block;
  overflow: visible;
  white-space: nowrap;
}
.hero-h1-lg .brush-u {
  color: var(--green);
  background: linear-gradient(transparent 72%, rgba(255,213,59,0.72) 72%, rgba(255,213,59,0.72) 94%, transparent 94%);
}
.hero-h1-lg .brush-u::after {
  width: 24px;
  height: 24px;
  top: -8px;
  right: -16px;
}
.hero-lede {
  max-width: 650px;
  margin-top: 26px;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 2;
  font-weight: 700;
  color: var(--ink);
}
.hero-actions {
  margin-top: 34px;
  gap: 16px;
}
.hero-call,
.hero-form-btn {
  min-height: 64px;
  padding: 16px 34px;
  border-radius: 12px;
}
.hero-call {
  min-width: 250px;
  justify-content: center;
  box-shadow: 0 20px 44px -20px rgba(30,111,217,0.62), 0 2px 0 rgba(15,79,158,0.18);
}
.hero-call-label small {
  font-size: 13px;
  color: var(--paper);
  letter-spacing: 0.1em;
}
.hero-call-label strong {
  font-family: var(--font-sans);
  font-size: 16px;
  letter-spacing: 0.08em;
}
.hero-form-btn {
  min-width: 250px;
  justify-content: center;
  background: rgba(255,255,255,0.82);
  border: 2px solid var(--green);
  color: var(--green);
  box-shadow: 0 16px 34px -22px rgba(15,34,54,0.34);
}
.hero-badges {
  width: min(100%, 610px);
  margin-top: 34px;
  padding: 17px 22px;
  gap: 0;
  justify-content: space-between;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(212,225,238,0.86);
  border-radius: 12px;
  box-shadow: 0 22px 50px -28px rgba(15,34,54,0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
}
.hero-badges span {
  padding: 0 16px;
  border-right: 1px solid var(--line);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.hero-badges span:first-child { padding-left: 0; }
.hero-badges span:last-child {
  padding-right: 0;
  border-right: 0;
}

.service-range-card {
  position: relative;
  justify-self: end;
  align-self: end;
  right: auto;
  bottom: auto;
  width: min(100%, 610px);
  max-width: 610px;
  aspect-ratio: 1.78 / 1;
  margin: clamp(150px, 24vh, 220px) 0 0;
  padding: 28px 34px 26px;
  border: 1px solid rgba(212,225,238,0.9);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.88)),
    linear-gradient(90deg, rgba(30,111,217,0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(30,111,217,0.055) 1px, transparent 1px),
    #FFFFFF;
  background-size: auto, 26px 26px, 26px 26px, auto;
  box-shadow:
    0 30px 70px -34px rgba(15,34,54,0.46),
    0 12px 30px -26px rgba(15,34,54,0.34),
    inset 0 1px 0 rgba(255,255,255,0.88);
  backdrop-filter: blur(14px) saturate(1.05);
  -webkit-backdrop-filter: blur(14px) saturate(1.05);
}
.service-range-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 22%, rgba(30,111,217,0.12) 0 1px, transparent 1.6px),
    radial-gradient(circle at 74% 34%, rgba(15,34,54,0.08) 0 0.8px, transparent 1.4px),
    linear-gradient(116deg, rgba(255,255,255,0.58) 0%, transparent 24%, rgba(255,255,255,0.28) 46%, transparent 72%);
  background-size: 110px 110px, 150px 150px, auto;
  opacity: 0.52;
  mix-blend-mode: multiply;
}
.service-range-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.7),
    inset 0 -44px 70px rgba(242,247,252,0.56);
}
.range-card-sheen {
  position: absolute;
  top: -24%;
  right: 0;
  width: 46%;
  height: 78%;
  background: linear-gradient(112deg, rgba(255,255,255,0.62), rgba(255,255,255,0.12) 42%, transparent 72%);
  transform: skewX(-13deg);
  opacity: 0.72;
  pointer-events: none;
}
.range-card-tape {
  position: absolute;
  top: -2px;
  right: 86px;
  width: 78px;
  height: 32px;
  background: rgba(255,255,255,0.50);
  border-left: 1px solid rgba(255,255,255,0.72);
  border-right: 1px solid rgba(212,225,238,0.54);
  box-shadow: 0 10px 22px -18px rgba(15,34,54,0.3);
  transform: rotate(-8deg);
  z-index: 4;
}
.range-card-head {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  color: var(--green);
  letter-spacing: 0.18em;
  font-size: 14px;
  font-weight: 700;
}
.range-card-head i {
  width: 54px;
  height: 2px;
  background: var(--green);
  display: block;
}
.range-card-body {
  position: relative;
  z-index: 3;
  height: calc(100% - 96px);
  min-height: 220px;
}
.service-range-card svg.hero-scene {
  position: absolute;
  inset: auto;
  left: 50%;
  top: 44%;
  width: 39%;
  height: auto;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 15px 18px rgba(15,34,54,0.12));
  animation: none;
}
.range-label {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em;
  white-space: nowrap;
}
.label-light { left: 10px; top: 28px; }
.label-outlet { left: 10px; top: 92px; }
.label-breaker { left: 10px; top: 156px; }
.label-air { right: 8px; top: 42px; }
.label-lan { right: 8px; top: 134px; }
.range-line {
  position: absolute;
  z-index: 4;
  height: 2px;
  background: var(--green);
  transform-origin: left center;
}
.range-line::after {
  content: "";
  position: absolute;
  right: -3px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.12);
}
.line-light { left: 130px; top: 43px; width: 86px; transform: rotate(38deg); }
.line-outlet { left: 140px; top: 106px; width: 76px; transform: rotate(28deg); }
.line-breaker { left: 146px; top: 168px; width: 74px; transform: rotate(-24deg); }
.line-air { right: 112px; top: 60px; width: 88px; transform: rotate(140deg); }
.line-lan { right: 88px; top: 148px; width: 142px; transform: rotate(180deg); }
.range-pict {
  position: relative;
  width: 30px;
  height: 30px;
  display: inline-block;
  color: var(--green);
}
.range-pict::before,
.range-pict::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.range-pict.bulb::before {
  left: 9px; top: 6px;
  width: 12px; height: 12px;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: rgba(255,213,59,0.28);
}
.range-pict.bulb::after {
  left: 12px; top: 18px;
  width: 6px; height: 7px;
  border: 2px solid var(--green);
  border-top: 0;
}
.range-pict.outlet::before {
  inset: 3px 7px;
  border: 2px solid var(--green);
  border-radius: 4px;
}
.range-pict.outlet::after {
  left: 12px; top: 11px;
  width: 6px; height: 10px;
  border-left: 2px solid var(--green);
  border-right: 2px solid var(--green);
}
.range-pict.breaker::before {
  inset: 2px 5px;
  border: 2px solid var(--green);
  border-radius: 3px;
  background:
    linear-gradient(90deg, transparent 0 30%, rgba(30,111,217,0.16) 30% 36%, transparent 36% 64%, rgba(30,111,217,0.16) 64% 70%, transparent 70%);
}
.range-pict.breaker::after {
  left: 9px; right: 9px; top: 9px; bottom: 9px;
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
}
.range-pict.air::before {
  left: 2px; right: 2px; top: 8px;
  height: 13px;
  border: 2px solid var(--green);
  border-radius: 3px;
}
.range-pict.air::after {
  left: 8px; top: 22px;
  width: 14px; height: 5px;
  border-bottom: 2px solid var(--green);
  border-radius: 50%;
}
.range-pict.lan::before {
  left: 2px; top: 6px;
  width: 20px; height: 14px;
  border: 2px solid var(--green);
  border-radius: 2px;
}
.range-pict.lan::after {
  right: 1px; top: 12px;
  width: 8px; height: 10px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
}
.range-card-services {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 12px;
  border-top: 2px solid rgba(30,111,217,0.72);
}
.range-card-services span {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.range-card-services span::before {
  content: "";
  position: absolute;
  top: -17px;
  left: 50%;
  width: 2px;
  height: 12px;
  background: var(--green);
}
.range-card-services span::after {
  content: "";
  position: absolute;
  top: -20px;
  left: calc(50% - 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.range-card-services i {
  position: relative;
  width: 38px;
  height: 30px;
  display: block;
}
.range-card-services i::before,
.range-card-services i::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.mini-shop::before {
  left: 4px; right: 4px; bottom: 2px; height: 18px;
  border: 2px solid var(--green);
  border-top: 0;
}
.mini-shop::after {
  left: 0; right: 0; top: 5px; height: 9px;
  border: 2px solid var(--green);
  border-radius: 8px 8px 2px 2px;
  background: rgba(255,213,59,0.34);
}
.mini-factory::before {
  left: 2px; right: 2px; bottom: 2px; height: 18px;
  border: 2px solid var(--green);
  clip-path: polygon(0 100%, 0 42%, 22% 42%, 22% 20%, 42% 42%, 42% 20%, 62% 42%, 100% 42%, 100% 100%);
}
.mini-factory::after {
  left: 7px; top: 1px; width: 5px; height: 18px;
  background: var(--green);
}
.mini-cubicle::before {
  inset: 3px 5px;
  border: 2px solid var(--green);
  border-radius: 2px;
  background: rgba(30,111,217,0.07);
}
.mini-cubicle::after {
  top: 8px; bottom: 8px; left: 50%;
  border-left: 2px solid var(--green);
  box-shadow: -8px 0 0 -1px var(--green), 8px 0 0 -1px var(--green);
}
.mini-fire::before {
  left: 8px; top: 5px;
  width: 16px; height: 16px;
  border: 2px solid #D4433C;
  border-radius: 50%;
  background: rgba(255,213,59,0.22);
}
.mini-fire::after {
  right: 3px; bottom: 3px;
  width: 10px; height: 20px;
  border: 2px solid #D4433C;
  border-radius: 6px 6px 2px 2px;
}
.mini-plc::before {
  inset: 3px 2px;
  border: 2px solid var(--green);
  border-radius: 2px;
  background:
    repeating-linear-gradient(90deg, rgba(30,111,217,0.16) 0 4px, transparent 4px 8px);
}
.mini-plc::after {
  left: 8px; right: 8px; top: 9px; height: 3px;
  background: var(--signal);
  box-shadow: 0 7px 0 var(--green);
}

@media (max-width: 1180px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }
  .service-range-card {
    justify-self: start;
    width: min(100%, 680px);
    margin: 24px 0 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--head-h) + 52px) 20px 56px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.93) 0%, rgba(255,255,255,0.90) 46%, rgba(255,255,255,0.68) 100%),
      linear-gradient(90deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.28) 100%);
  }
  .hero-photo-bg {
    opacity: 0.48;
    background-position: 62% center;
  }
  .hero-inner {
    padding-top: 10px;
    gap: 28px;
  }
  .hero-h1-lg {
    font-size: clamp(38px, 11vw, 58px);
  }
  .hero-lede {
    font-size: 15px;
    line-height: 1.9;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-call,
  .hero-form-btn {
    width: 100%;
    min-width: 0;
  }
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 14px 10px;
  }
  .hero-badges span {
    border-right: 0;
    padding: 0;
    font-size: 10.5px;
    letter-spacing: 0.04em;
  }
  .service-range-card {
    width: 100%;
    aspect-ratio: auto;
    min-height: 470px;
    padding: 22px 18px 20px;
  }
  .range-card-body {
    min-height: 320px;
  }
  .service-range-card svg.hero-scene {
    top: 48%;
    width: 58%;
  }
  .range-label {
    font-size: 10px;
    gap: 6px;
  }
  .range-pict {
    width: 24px;
    height: 24px;
  }
  .label-light { left: 0; top: 20px; }
  .label-outlet { left: 0; top: 78px; }
  .label-breaker { left: 0; top: 136px; }
  .label-air { right: 0; top: 36px; }
  .label-lan { right: 0; top: 116px; }
  .line-light { left: 92px; top: 36px; width: 54px; }
  .line-outlet { left: 104px; top: 91px; width: 50px; }
  .line-breaker { left: 110px; top: 147px; width: 52px; }
  .line-air { right: 86px; top: 52px; width: 55px; }
  .line-lan { right: 70px; top: 128px; width: 74px; }
  .range-card-services {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
  }
  .range-card-services i {
    transform: scale(0.82);
  }
  .range-card-services span {
    font-size: 8px;
  }
}

/* ============================================================
   VOICES — お客様の声
   ============================================================ */
.voices-section {
  background: var(--paper-soft);
  padding: 96px 0;
}
.voices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.voice-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  position: relative;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column; gap: 16px;
}
.voice-card::before {
  content: """;
  position: absolute; top: 8px; left: 18px;
  font-family: var(--font-serif);
  font-size: 80px; font-weight: 700;
  color: var(--signal-soft); line-height: 1;
  opacity: 0.9;
}
.voice-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px;
  background: var(--paper-soft);
  border-radius: 999px;
  font-size: 11px; color: var(--green);
  font-weight: 600; letter-spacing: 0.1em;
  align-self: flex-start;
  position: relative; z-index: 1;
}
.voice-body {
  font-family: var(--font-serif);
  font-size: 16px; line-height: 1.85;
  color: var(--ink); font-weight: 500;
  position: relative; z-index: 1;
}
.voice-meta {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  margin-top: auto;
}
.voice-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--wood-soft); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700; font-size: 16px;
}
.voice-meta-body { display: flex; flex-direction: column; line-height: 1.35; }
.voice-meta-name { font-size: 13px; font-weight: 700; color: var(--ink); }
.voice-meta-area { font-size: 11px; color: var(--ink-mute); font-family: var(--font-mono); letter-spacing: 0.1em; }

/* ============================================================
   CONCEPT — 綱領
   ============================================================ */
#concept { background: var(--paper); }
.concept-quote {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 68px);
  line-height: 1.32;
  letter-spacing: 0.04em;
  position: relative;
  margin-bottom: 56px;
  color: var(--ink);
  padding: 0 0 0 28px;
  border-left: 4px solid var(--signal);
}
.quote-open, .quote-close { color: var(--wood); font-weight: 700; }
.concept-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--ink-faint);
  font-style: normal; font-weight: 500;
}

.concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 64px;
}
.concept-body p {
  font-size: 16px; line-height: 2;
  margin-bottom: 1.4em; color: var(--ink-soft);
}
.concept-body em { color: var(--green); font-weight: 700; }

.concept-specs {
  background: var(--paper-soft);
  border-radius: var(--radius);
  padding: 4px 0;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}
.concept-specs > div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line-soft);
  gap: 16px; align-items: baseline;
}
.concept-specs > div:last-child { border-bottom: none; }
.concept-specs dt {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--wood); font-weight: 500;
}
.concept-specs dd {
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.spec-more {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 12px;
  padding: 12px 20px;
  background: var(--green); color: var(--paper);
  border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  align-self: flex-start;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.spec-more:hover { background: var(--green-dark); color: var(--paper); opacity: 1; transform: translateY(-1px); }

/* ============================================================
   SERVICE cards
   ============================================================ */
.service-section { background: var(--paper-soft); }
.service-stack {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.spec-sheet {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.spec-sheet:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: var(--wood-soft);
}
.spec-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px;
  background: transparent;
  color: var(--ink-mute);
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  letter-spacing: 0.18em; font-weight: 500; font-size: 10px;
}
.spec-tag { color: var(--green); }
.spec-id  { color: var(--wood); }
.spec-illust {
  padding: 28px;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  color: var(--green-dark);
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line-soft);
}
.spec-illust svg { width: 100%; max-width: 260px; height: auto; }
.spec-illust.has-photo {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--paper-deep);
}
.spec-illust.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,34,54,0.02) 0%, rgba(15,34,54,0.18) 100%),
    radial-gradient(ellipse at 18% 14%, rgba(255,255,255,0.32), transparent 48%);
}
.spec-illust.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.spec-sheet:hover .spec-illust.has-photo img {
  transform: scale(1.045);
  filter: saturate(1.04) contrast(1.02);
}
.spec-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex-grow: 1; gap: 14px; }
.spec-title {
  font-family: var(--font-serif);
  font-size: 26px; font-weight: 700;
  color: var(--ink); letter-spacing: 0.02em;
}
.spec-sub {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--wood); font-weight: 500;
}
.spec-list {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 14.5px; color: var(--ink-soft);
}
.spec-list li { position: relative; padding-left: 22px; }
.spec-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-light); font-weight: 700;
}
.spec-foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px dashed var(--line);
  gap: 18px;
}
.spec-stamp {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--green); font-weight: 600;
  padding: 4px 10px;
  background: var(--paper-soft);
  border-radius: 4px;
}
.spec-foot .spec-more {
  margin-top: 0; padding: 10px 18px; font-size: 12px;
}

/* ============================================================
   STRENGTH — ３つのお約束
   ============================================================ */
.strength-section {
  background: var(--green-dark);
  color: var(--paper);
  position: relative; overflow: hidden;
}
.strength-section::before {
  content: ""; position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,59,0.18), transparent 70%);
  pointer-events: none;
}
.strength-stack { display: flex; flex-direction: column; }
.strength-row {
  display: grid;
  grid-template-columns: 100px 1fr 180px;
  gap: 48px; padding: 44px 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  align-items: start;
}
.strength-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.str-idx { display: flex; align-items: baseline; gap: 4px; }
.str-letter {
  font-family: var(--font-mono);
  font-weight: 700; font-size: 56px; line-height: 1;
  color: var(--signal);
  letter-spacing: 0;
}
.str-slash { color: rgba(255,255,255,0.35); font-size: 18px; font-weight: 700; }
.str-of {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.28em;
  color: rgba(255,255,255,0.55); font-weight: 700;
}
.str-body .str-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700; letter-spacing: 0.03em;
  margin-bottom: 14px;
  color: var(--paper);
}
.str-body .str-desc {
  font-size: 15px; line-height: 2;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
}
.str-body em { color: var(--signal); font-weight: 700; }
.str-meta {
  display: flex; flex-direction: column; gap: 6px;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.15);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.18em; font-weight: 500;
}
.str-meta span:first-child { color: rgba(255,255,255,0.45); font-size: 9px; }
.str-meta span:last-child  { color: var(--signal); font-weight: 600; }

/* Light variant (used on About page) */
.section .strength-stack .strength-row[style*="color: var(--ink)"] .str-letter { color: var(--wood) !important; }
.section .strength-stack .strength-row[style*="color: var(--ink)"] .str-body .str-desc em { color: var(--green) !important; }
.section .strength-stack .strength-row[style*="color: var(--ink)"] .str-meta span:last-child { color: var(--green) !important; }

/* ============================================================
   AREA / ACCESS
   ============================================================ */
.access-section { background: var(--paper); }
.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px; align-items: stretch;
}
.access-info {
  background: var(--paper-soft);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.access-info-head {
  display: flex; justify-content: space-between;
  padding: 14px 22px;
  background: var(--paper);
  color: var(--wood);
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-mono);
  letter-spacing: 0.18em; font-size: 10px; font-weight: 500;
}
.info-list { padding: 6px 0; }
.info-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.info-list > div:last-child { border-bottom: none; }
.info-list dt {
  font-weight: 700; font-size: 13px;
  color: var(--ink);
  display: flex; flex-direction: column; gap: 2px;
}
.info-list dt em {
  font-family: var(--font-mono);
  font-style: normal; font-size: 9px; letter-spacing: 0.2em;
  color: var(--wood); font-weight: 500;
}
.info-list dd { font-size: 14px; color: var(--ink-soft); line-height: 1.8; }
.info-note { font-size: 12px; color: var(--ink-mute); margin-left: 4px; }

.access-cta {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 18px 24px;
  background: var(--green); color: var(--paper);
  font-size: 13px; letter-spacing: 0.08em; font-weight: 600;
  margin-top: auto;
  transition: background .25s var(--ease);
}
.access-cta:hover { background: var(--green-dark); color: var(--paper); opacity: 1; }

.access-map { display: flex; flex-direction: column; gap: 12px; }
.map-frame {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--paper-soft);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line-soft);
}
.map-frame iframe {
  width: 100%; height: 100%;
  filter: hue-rotate(-10deg) saturate(0.85) contrast(1.02);
}
.map-caption {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; color: var(--wood); font-weight: 500;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--green-dark);
  color: var(--paper);
  padding: 96px 0; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,59,0.2), transparent 70%);
  pointer-events: none;
}
.cta-band-inner {
  position: relative; max-width: 1180px; margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px; align-items: center;
}
.cta-band h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.8vw, 60px);
  letter-spacing: 0.03em; line-height: 1.3;
  color: var(--paper);
}
.cta-band h2 em { color: var(--signal); font-weight: 700; }
.cta-band-meta {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6); font-weight: 500;
}
.cta-band-buttons { display: flex; flex-direction: column; gap: 12px; min-width: 300px; }
.cta-band-btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  background: var(--signal); color: var(--ink);
  font-size: 14px; letter-spacing: 0.08em; font-weight: 700;
  border-radius: 999px;
  transition: transform .25s var(--ease), background .25s var(--ease);
  box-shadow: var(--shadow-lift);
}
.cta-band-btn:hover { transform: translateY(-2px); background: var(--signal-soft); opacity: 1; color: var(--ink); }
.cta-band-btn span:last-child { font-family: var(--font-serif); font-size: 18px; }
.cta-band-btn.outline {
  background: transparent; color: var(--paper);
  border: 1.5px solid rgba(255,255,255,0.35);
  box-shadow: none;
}
.cta-band-btn.outline:hover { background: rgba(255,255,255,0.1); color: var(--paper); border-color: var(--paper); }
.cta-band-btn.outline span:last-child { font-family: var(--font-sans); font-size: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 0 28px;
  color: var(--paper);
}
.footer-inner {
  max-width: 1400px; margin: 0 auto;
  padding: 0 28px 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
}
.footer-block {
  display: flex; flex-direction: column; gap: 12px;
}
.fb-head span {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--wood-soft); font-weight: 500;
}
.fb-body { display: flex; flex-direction: column; gap: 4px; }
.fb-body span { font-size: 13px; color: var(--paper); font-weight: 500; }
.fb-body .fb-name { font-family: var(--font-serif); font-size: 16px; font-weight: 700; }
.fb-body .fb-en {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.14em; color: var(--ink-faint); font-weight: 500;
}
.footer-block-rev .fb-body span:first-child em { color: var(--signal); font-weight: 700; }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  padding: 24px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  color: var(--ink-faint); font-weight: 500;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(15,34,54,0.64);
  z-index: 3000;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
  padding: 20px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content {
  background: var(--paper);
  border-radius: var(--radius);
  width: 100%; max-width: 560px;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(16px);
  transition: transform .35s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(15,34,54,0.5);
}
.modal-overlay.active .modal-content { transform: none; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  color: var(--ink-mute);
  z-index: 2; display: grid; place-items: center;
  border-radius: 50%;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.modal-close:hover { background: var(--paper-soft); color: var(--ink); opacity: 1; }
.modal-close svg { width: 18px; height: 18px; }

.modal-head {
  padding: 28px 32px 20px;
  display: flex; flex-direction: column; gap: 6px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-soft);
}
.modal-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--green); font-weight: 600;
}
.modal-title {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 700; color: var(--ink);
  letter-spacing: 0.03em;
}
.modal-sub {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--wood); font-weight: 500;
}

.modal-info {
  display: grid; grid-template-columns: 70px 1fr;
  padding: 20px 32px;
  border-bottom: 1px solid var(--line-soft);
  gap: 8px 16px;
}
.modal-info dt {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--wood); font-weight: 500; padding-top: 3px;
}
.modal-info dd { font-size: 14px; font-weight: 600; color: var(--ink); }

.contact-form { padding: 28px 32px 32px; }
.form-lead {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 13px; color: var(--ink-mute);
  margin-bottom: 24px; font-weight: 500;
  letter-spacing: 0.1em;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700;
  margin-bottom: 8px; color: var(--ink);
}
.form-group label em {
  font-family: var(--font-mono);
  font-style: normal; font-size: 10px; letter-spacing: 0.14em;
  color: var(--wood); background: var(--paper-soft);
  padding: 2px 8px; border-radius: 4px; font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px;
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px; color: var(--ink);
  transition: border-color .25s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--green);
}
.submit-btn {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; padding: 18px 22px;
  background: var(--green); color: var(--paper);
  font-size: 13px; letter-spacing: 0.08em; font-weight: 600;
  margin-top: 8px; border-radius: 999px;
  transition: background .25s var(--ease);
}
.submit-btn:hover { background: var(--green-dark); color: var(--paper); }

/* ============================================================
   PAGE HERO (sub pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--head-h) + 64px) 0 64px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
  position: relative; overflow: hidden;
  isolation: isolate;
}
.page-hero.has-photo::before {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--page-photo);
  background-size: cover;
  background-position: center;
  filter: saturate(0.75);
  opacity: 0.4;
  z-index: -2;
}
.page-hero.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(120deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.55) 50%, rgba(242,247,252,0.35) 100%);
  z-index: -1;
}
.page-hero-inner {
  max-width: 1180px; margin: 0 auto;
  width: 100%;
  padding: 0 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
}
.page-hero--plain .page-hero-inner {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.page-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--ink-soft); margin-bottom: 18px; font-weight: 500;
}
.page-eyebrow .dot { width: 8px; height: 8px; background: var(--signal); display: inline-block; border-radius: 50%; }
.page-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 88px);
  letter-spacing: 0.03em; line-height: 1.2;
  color: var(--ink);
}
.page-title small {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(11px, 1.2vw, 13px);
  color: var(--wood);
  letter-spacing: 0.2em;
  margin-top: 16px; font-weight: 500;
}
.page-lede {
  font-size: 16px; line-height: 2;
  color: var(--ink-soft); max-width: 480px;
}
.page-lede em { color: var(--green); font-weight: 700; }

.crumbs {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.18em;
  color: var(--ink-mute);
  flex-wrap: wrap; font-weight: 500;
}
.crumbs a:hover { color: var(--green); opacity: 1; }
.crumbs .sep { color: var(--line-soft); }
.crumbs .curr { color: var(--green); }

.prose { max-width: 820px; font-size: 16px; line-height: 1.95; color: var(--ink-soft); }
.prose p { margin-bottom: 1.4em; }
.prose h3 {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 24px;
  letter-spacing: 0.02em;
  margin: 2.4em 0 0.8em;
  color: var(--ink);
}
.prose h3::before {
  content: ""; display: inline-block;
  width: 28px; height: 2px; background: var(--signal);
  margin-right: 12px; vertical-align: middle;
}
.prose ul { padding-left: 0; margin-bottom: 1.4em; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.prose ul li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--green-light); font-weight: 700;
}
.prose em { color: var(--green); font-weight: 700; }

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
}

/* FAQ */
.faq { max-width: 900px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item[open] summary em { transform: rotate(45deg); color: var(--signal); }
.faq-item summary {
  display: flex; align-items: baseline; gap: 18px;
  padding: 22px 4px;
  cursor: pointer; list-style: none;
  font-family: var(--font-serif);
  font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary em {
  font-style: normal; font-size: 24px; font-weight: 300;
  color: var(--wood);
  transition: transform .25s var(--ease), color .25s;
  margin-left: auto;
}
.faq-item summary small {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--wood);
  letter-spacing: 0.2em; margin-right: 14px; font-weight: 500;
}
.faq-body {
  padding: 0 4px 22px 40px;
  font-size: 14.5px; line-height: 1.9; color: var(--ink-soft);
}

/* Process */
.process {
  display: flex; flex-direction: column;
  position: relative; padding-left: 0;
  margin-top: 32px;
}
.process-step {
  position: relative;
  padding: 28px 0 28px 72px;
  border-bottom: 1px solid var(--line);
}
.process-step::before {
  content: ""; position: absolute;
  left: 20px; top: 38px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 4px var(--paper), 0 0 0 5px var(--signal-soft);
}
.process-step:not(:last-child)::after {
  content: ""; position: absolute;
  left: 26px; top: 52px; bottom: -8px;
  width: 2px; background: var(--line);
}
.process-step:last-child { border-bottom: none; }
.process-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--wood); margin-bottom: 10px; font-weight: 500;
}
.process-title {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 22px;
  letter-spacing: 0.03em; margin-bottom: 10px; color: var(--ink);
}
.process-desc { font-size: 14.5px; color: var(--ink-soft); max-width: 640px; line-height: 1.9; }
.process-desc em { color: var(--green); font-weight: 700; }

/* Works grid */
.works-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.work-card {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
}
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.work-card header {
  padding: 12px 18px;
  background: transparent; color: var(--ink-mute);
  display: flex; justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  letter-spacing: 0.18em; font-size: 10px; font-weight: 500;
}
.work-card header span:last-child { color: var(--wood); }
.work-illust {
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
  color: var(--green-dark); padding: 24px;
}
.work-illust svg { width: 100%; max-width: 200px; height: auto; opacity: 0.9; }
.work-illust.has-photo { padding: 0; overflow: hidden; }
.work-illust.has-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-illust.has-photo img { transform: scale(1.06); }
.work-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; gap: 10px; }
.work-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.work-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; }
.work-kv {
  display: grid; grid-template-columns: 72px 1fr;
  gap: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; font-weight: 500;
  border-top: 1px dashed var(--line); padding-top: 12px; margin-top: auto;
}
.work-kv dt { color: var(--wood); }
.work-kv dd { color: var(--ink); font-weight: 600; font-family: var(--font-sans); letter-spacing: 0; }

/* History */
.history { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.history-row {
  display: grid; grid-template-columns: 220px 1fr;
  gap: 48px; padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.history-row:last-child { border-bottom: none; }
.history-year {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 22px; color: var(--ink);
  letter-spacing: 0.02em;
}
.history-year small {
  font-family: var(--font-mono);
  font-size: 10px; color: var(--wood);
  letter-spacing: 0.2em; display: block;
  margin-top: 6px; font-weight: 500;
}
.history-desc { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; }

/* License */
.license-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.license-card {
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--paper);
  padding: 28px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.license-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.license-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--wood); font-weight: 500;
}
.license-title {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 22px; color: var(--ink); letter-spacing: 0.02em;
}
.license-desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.9; }
.license-desc em { color: var(--green); font-weight: 700; }
.license-meta {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.08em;
  padding-top: 10px; margin-top: auto;
  border-top: 1px dashed var(--line-soft);
}
.license-meta dt { color: var(--ink-faint); font-weight: 500; }
.license-meta dd { color: var(--ink-soft); font-weight: 500; }
.license-meta div { display: flex; gap: 10px; align-items: baseline; }
.license-pdf {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; font-weight: 600;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  align-self: flex-start; padding-bottom: 2px;
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.license-pdf:hover { color: var(--ink); gap: 12px; }
.license-pdf svg { width: 12px; height: 12px; }
.license-thumb {
  display: block; position: relative;
  margin: -28px -28px 18px;
  aspect-ratio: 4 / 5;
  background: var(--paper-deep);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.license-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s var(--ease);
}
.license-thumb:hover img { transform: scale(1.03); }
.license-thumb::after {
  content: "PDF を開く";
  position: absolute; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: var(--ink); color: var(--paper);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 2px 10px -4px rgba(15, 34, 54, 0.4);
  opacity: 0.92;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.license-thumb:hover::after { opacity: 1; transform: translateY(-2px); }
.license-card:has(.license-thumb) .license-pdf { display: none; }
.license-emblem {
  display: grid; place-items: center;
  margin: -28px -28px 18px;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 50% 36%, rgba(30, 111, 217, 0.07), transparent 58%),
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(15, 34, 54, 0.045) 14px 15px),
    var(--paper-deep);
  border-bottom: 1px solid var(--line-soft);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.license-emblem-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  padding: 24px;
  text-align: center;
}
.license-emblem-mark {
  width: 86px; height: 86px;
  display: grid; place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
  position: relative;
}
.license-emblem-mark svg { width: 42px; height: 42px; }
.license-emblem-mark::before {
  content: ""; position: absolute; inset: -8px;
  border: 1px dashed var(--line);
  border-radius: 50%;
}
.license-emblem-label {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.24em;
  color: var(--ink-mute); font-weight: 600;
}
.license-emblem-jp {
  font-family: var(--font-serif);
  font-size: 14px; letter-spacing: 0.06em;
  color: var(--ink); font-weight: 700;
}

/* Area */
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area-chip {
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  background: var(--paper); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
  box-shadow: var(--shadow-soft);
}
.area-chip:hover { transform: translateY(-2px); border-color: var(--wood-soft); }
.area-chip .area-en {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--wood); font-weight: 500;
}
.area-chip .area-jp {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 16px; color: var(--ink); letter-spacing: 0.02em;
}

/* Service hub */
.service-hub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-hub-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  overflow: hidden;
  text-decoration: none; color: inherit;
}
.service-hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); opacity: 1; }
.service-hub-card header {
  padding: 14px 22px; background: transparent;
  color: var(--ink-mute);
  display: flex; justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  letter-spacing: 0.18em; font-size: 10px; font-weight: 500;
}
.service-hub-card header .h-num { color: var(--wood); }
.service-hub-illust {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  padding: 40px;
  color: var(--green-dark);
  background: linear-gradient(180deg, var(--paper-soft) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line-soft);
}
.service-hub-illust svg { width: 100%; max-width: 340px; height: auto; }
.service-hub-illust.has-photo { padding: 0; overflow: hidden; }
.service-hub-illust.has-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-hub-card:hover .service-hub-illust.has-photo img { transform: scale(1.05); }
.service-hub-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.service-hub-body h3 {
  font-family: var(--font-serif);
  font-weight: 700; font-size: 24px; color: var(--ink); letter-spacing: 0.02em;
}
.service-hub-body .sh-sub {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; color: var(--wood); font-weight: 500;
}
.service-hub-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.9; }
.service-hub-footer {
  padding: 16px 32px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; font-weight: 500;
  color: var(--ink-mute);
}
.service-hub-footer .sh-more {
  color: var(--green); display: inline-flex; gap: 8px; align-items: center;
  font-weight: 700;
}
.service-hub-card:hover .sh-more { color: var(--green-dark); }

/* Callout */
.callout {
  border-radius: var(--radius);
  background: var(--paper-soft);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px; align-items: center;
  margin: 28px 0;
  border-left: 4px solid var(--signal);
}
.callout-tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--ink); background: var(--signal);
  padding: 5px 10px; border-radius: 4px;
  align-self: start; font-weight: 700;
}
.callout-body p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.95; margin: 0; }
.callout-body strong { color: var(--green); font-weight: 700; }

/* Tables */
section table {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft) !important;
}
section table thead {
  background: var(--green) !important;
  color: var(--paper) !important;
  font-family: var(--font-mono) !important;
  letter-spacing: 0.16em !important;
  font-size: 10px !important;
}
section table thead th {
  padding: 14px 16px !important;
  border-right: 1px solid rgba(255,255,255,0.2) !important;
  text-align: left; font-weight: 500 !important;
}
section table tbody { background: var(--paper) !important; }
section table tbody td {
  padding: 16px !important;
  border-right: 1px dashed var(--line) !important;
  border-bottom: 1px dashed var(--line) !important;
}
section table tbody tr:last-child td { border-bottom: none !important; }
section table tbody td[style*="color: var(--signal)"] { color: var(--green) !important; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-top: 40px; min-height: 0; }
  .hero-copy { max-width: none; }
  .hero-visual {
    position: static;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    right: auto; bottom: auto;
  }
  .hero-chip.chip-hours { right: -4%; }
  .hero-chip.chip-license { left: -4%; }
  .hero-scroll-cue { display: none; }
  .concept-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-stack { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .strength-row { grid-template-columns: 90px 1fr; gap: 24px; }
  .str-meta {
    grid-column: 1 / -1; padding-left: 0;
    border-left: none; border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 12px; margin-top: 8px;
    flex-direction: row; justify-content: space-between;
  }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .voices-grid { grid-template-columns: 1fr; }
  .page-hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .license-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .service-hub-grid { grid-template-columns: 1fr; }
  .history-row { grid-template-columns: 140px 1fr; gap: 24px; }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-buttons { min-width: 0; }
}

@media (max-width: 768px) {
  :root { --head-h: 64px; }
  .nav-desktop { display: none; }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .section-head { padding: 0 20px; margin-bottom: 36px; }
  .hero { padding: calc(var(--head-h) + 48px) 20px 64px; }
  .hero-inner { gap: 32px; padding-top: 12px; }
  .hero-visual { max-width: 240px; }
  .hero-visual .hero-stamp { width: 94px; height: 94px; right: -18px; bottom: -20px; }
  .hero-visual .hero-stamp-body { width: 70px; height: 70px; font-size: 8.5px; }
  .hero-visual .hero-stamp-body small { font-size: 6.5px; }
  .hero-h1-lg { font-size: clamp(42px, 11vw, 64px); }
  .hero-h1-lg .brush-u::after { width: 20px; height: 20px; top: -8px; right: -14px; }
  .hero-call { padding: 14px 20px 14px 18px; }
  .hero-call-label strong { font-size: 20px; }
  .hero-chip {
    padding: 8px 12px;
    border-radius: 12px;
  }
  .hero-chip .chip-body strong { font-size: 11px; }
  .hero-chip.chip-hours { right: 0; top: 2%; }
  .hero-chip.chip-license { left: 0; bottom: 2%; }
  .hero-sparkle.sp-1 { width: 32px; height: 32px; }
  .hero-sparkle.sp-2 { width: 22px; height: 22px; }
  .hero-sparkle.sp-3 { width: 20px; height: 20px; }
  .concept-quote { font-size: 28px; padding-left: 20px; }
  .strength-row { padding: 32px 0; }
  .str-letter { font-size: 44px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding: 0 20px 32px; }
  .footer-bottom { flex-direction: column; gap: 6px; padding: 20px 20px 0; }
  .works-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .license-grid, .area-grid { grid-template-columns: 1fr; }
  .history-row { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
  .history-year small { margin-top: 2px; }
  .modal-content { max-height: 95vh; }
  .callout { grid-template-columns: 1fr; gap: 12px; padding: 20px 22px; }
  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .faq-body { padding-left: 4px; }
  .process-step { padding-left: 56px; }
}

/* Final FV overrides after legacy responsive rules */
@media (max-width: 1024px) {
  .service-range-card.hero-visual {
    max-width: 680px;
    margin: 24px 0 0;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: calc(var(--head-h) + 52px) 20px 56px;
  }
  .hero-copy {
    width: 100%;
    min-width: 0;
    padding-left: 0;
  }
  .hero-h1-lg {
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1.22;
  }
  .hero-h1-lg .r {
    white-space: normal;
  }
  .hero-lede {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .hero-actions,
  .hero-badges {
    width: 100%;
    max-width: 100%;
  }
  .service-range-card.hero-visual {
    max-width: none;
    min-height: 470px;
    margin: 4px 0 0;
  }
}

/* ============================================================
   Premium corporate refinements
   ============================================================ */
#header {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 0 rgba(16, 32, 51, 0.06);
}

#header.scrolled {
  box-shadow: 0 14px 34px -30px rgba(16, 32, 51, 0.35);
}

.section {
  padding: 120px 0;
}

.hero {
  min-height: 760px;
  background: #F6F9FC;
}

.hero-photo-bg {
  opacity: 1;
  background-position: center right;
  filter: saturate(0.98) contrast(1.02);
}

.hero.has-photo .hero-photo-bg::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 34%, rgba(255, 255, 255, 0.42) 62%, rgba(255, 255, 255, 0.06) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.58) 0%, rgba(246, 249, 252, 0.12) 52%, rgba(246, 249, 252, 0.65) 100%);
}

.hero-grid-bg {
  background-size: 64px 64px;
  opacity: 0.42;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.55) 52%, transparent 88%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0,0,0,0.55) 52%, transparent 88%);
}

.hero-noise {
  display: none;
}

.hero-marquee {
  display: none;
}

.hero-inner {
  min-height: 620px;
  padding-top: 0;
}

.hero-copy {
  max-width: 720px;
  padding-top: 28px;
}

.hero-h1 {
  margin-top: 0;
}

.hero-h1-lg {
  color: #102033;
  text-wrap: balance;
}

.hero-lede {
  max-width: 560px;
  color: #2C435A;
  font-weight: 500;
}

.hero-badges {
  color: #526B82;
}

.hero-visual {
  display: none;
}

.hero-scroll-cue {
  z-index: 4;
}

.page-hero {
  min-height: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  background: #F6F9FC;
}

.page-hero.has-photo::before {
  filter: saturate(0.98) contrast(1.02);
  opacity: 1;
  background-position: center right;
}

.page-hero.has-photo::after {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.86) 38%, rgba(255,255,255,0.34) 70%, rgba(255,255,255,0.08) 100%),
    linear-gradient(180deg, rgba(246,249,252,0.52) 0%, rgba(246,249,252,0.12) 46%, rgba(246,249,252,0.72) 100%);
}

.page-title {
  color: #102033;
  text-wrap: balance;
}

.concept-quote {
  text-wrap: balance;
}

.spec-sheet,
.service-hub-card,
.work-card,
.license-card,
.area-chip,
.voice-card,
.faq-item,
.process-step {
  border-color: rgba(216, 225, 234, 0.9);
  box-shadow: var(--shadow-soft);
}

.spec-sheet:hover,
.service-hub-card:hover,
.work-card:hover,
.license-card:hover {
  transform: translateY(-3px);
}

.spec-illust.has-photo::before,
.service-hub-illust.has-photo::before,
.work-illust.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16,32,51,0) 48%, rgba(16,32,51,0.18) 100%);
}

.service-hub-illust.has-photo,
.work-illust.has-photo {
  position: relative;
  background: var(--paper-deep);
}

.spec-illust.has-photo img,
.service-hub-illust.has-photo img,
.work-illust.has-photo img {
  filter: saturate(1.02) contrast(1.01);
}

.strength-section {
  background: linear-gradient(135deg, #102033 0%, #153756 58%, #0F4F9E 100%);
}

.strength-section::before {
  display: none;
}

.cta,
.hero-call,
.submit-btn,
.mobile-cta,
.spec-more {
  box-shadow: 0 10px 24px -18px rgba(15, 79, 158, 0.7);
}

@media (max-width: 1024px) {
  .hero {
    min-height: 700px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .page-hero.has-photo::before,
  .hero-photo-bg {
    background-position: 64% center;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 80px 0;
  }

  .hero {
    min-height: 650px;
    padding: calc(var(--head-h) + 64px) 20px 72px;
  }

  .hero.has-photo .hero-photo-bg::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.87) 44%, rgba(255,255,255,0.48) 100%),
      linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.26) 100%);
  }

  .hero-photo-bg {
    background-position: 68% center;
  }

  .hero-inner {
    min-height: 0;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-h1-lg {
    font-size: clamp(34px, 10vw, 44px);
  }

  .hero-badges {
    gap: 10px 16px;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero.has-photo::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 52%, rgba(255,255,255,0.54) 100%),
      linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.36) 100%);
  }

  .page-hero.has-photo::before {
    background-position: 67% center;
  }
}

/* ============================================================
   Design comp implementation pass
   ============================================================ */
:root {
  --head-h: 68px;
}

.reveal {
  opacity: 1;
  transform: none;
}

.hero-h1 .r,
.hero-lede,
.hero-actions,
.hero-badges {
  animation: none;
  opacity: 1;
  transform: none;
}

.hero-h1-lg .brush-u::after {
  content: none !important;
  display: none !important;
}

.container,
.section-head,
.hero-inner,
.page-hero-inner,
.footer-inner,
.cta-band-inner {
  max-width: 1240px;
}

.section {
  padding: 104px 0;
}

.section-head {
  margin-bottom: 48px;
}

.section-head .sh-jp {
  font-size: clamp(30px, 3.2vw, 42px);
}

.section-lead-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}

.section-lead-row .prose {
  max-width: 620px;
  margin: 0;
}

#header {
  height: var(--head-h);
}

.header-inner {
  max-width: 1440px;
  padding: 0 40px;
}

.logo-mark {
  width: 38px;
  height: 38px;
  background: var(--paper);
}

.logo-jp {
  font-size: 16px;
}

.logo-en {
  font-size: 9px;
  color: #60778E;
}

.nav-desktop ul {
  gap: 30px;
}

.nav-desktop a {
  font-weight: 700;
}

.cta {
  padding: 10px 22px;
  background: #1167D8;
}

.cta,
.cta span {
  color: #fff !important;
}

.hero {
  min-height: min(820px, 100vh);
  padding: calc(var(--head-h) + 50px) 44px 72px;
}

.hero-inner {
  min-height: 610px;
}

.hero-copy {
  max-width: 680px;
}

.hero-h1-lg {
  font-size: clamp(48px, 5vw, 76px);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-h1-lg .r {
  display: block;
}

.hero-h1-lg .r:first-child {
  display: inline-block;
}

.hero-h1-lg .brush-u {
  color: #1F74E0;
}

.hero-lede {
  margin-top: 26px;
  font-size: 17px;
  line-height: 2.05;
}

.hero-actions {
  margin-top: 34px;
}

.hero-call,
.hero-form-btn,
.cta-band-btn {
  border-radius: 8px;
}

.hero-form-btn {
  min-width: 250px;
  justify-content: center;
  background: rgba(255,255,255,0.86);
}

.hero-badges {
  width: min(100%, 560px);
  padding: 16px 22px;
  border: 1px solid rgba(216,225,234,0.95);
  border-radius: 8px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: center;
}

.hero-badges span {
  min-width: 0;
  justify-content: center;
  position: relative;
}

.hero-badges span + span::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: rgba(120, 140, 165, 0.32);
  transform: translateY(-50%);
}

.hero-scroll-cue {
  display: none;
}

.concept-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 68px;
}

.concept-quote {
  max-width: 780px;
}

.concept-body {
  max-width: 620px;
}

.concept-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.concept-photo-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-soft);
}

.concept-photo-grid img:first-child {
  grid-column: span 2;
}

.service-section {
  background: linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
}

.service-stack,
.service-hub-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.spec-sheet,
.service-hub-card,
.work-card {
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
}

.spec-head,
.service-hub-card header,
.work-card header {
  padding: 14px 18px;
  min-height: 52px;
  align-items: center;
}

.spec-illust,
.service-hub-illust {
  aspect-ratio: 16 / 10;
}

.spec-body,
.service-hub-body {
  padding: 24px 22px 22px;
}

.spec-title,
.service-hub-body h3 {
  font-size: 22px;
}

.spec-list {
  font-size: 13.5px;
  line-height: 1.8;
}

.spec-foot,
.service-hub-footer {
  margin-top: auto;
}

.strength-section {
  padding: 80px 0;
}

.strength-section .section-head {
  align-items: center;
  text-align: center;
}

.strength-stack {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.strength-row {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 32px;
  border-top: none;
  border-right: 1px solid rgba(255,255,255,0.18);
}

.strength-row:last-child {
  border-bottom: none;
  border-right: none;
}

.str-letter {
  font-size: 36px;
}

.str-body .str-title {
  font-size: 22px;
  min-height: 58px;
}

.str-body .str-desc {
  font-size: 14px;
}

.str-meta {
  margin-top: auto;
  padding-left: 0;
  border-left: none;
}

.works-preview-section {
  background: #FFFFFF;
}

.works-preview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.works-preview-grid .work-illust {
  aspect-ratio: 16 / 10;
}

.works-preview-grid .work-body {
  padding: 20px 18px 22px;
}

.works-preview-grid .work-title {
  font-size: 17px;
}

.flow-section {
  background: linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
}

.home-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.home-flow article {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  min-width: 0;
}

.home-flow article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 36px;
  right: -22px;
  font-family: var(--font-mono);
  color: #1F74E0;
  font-size: 20px;
}

.home-flow span {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: #1F74E0;
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.home-flow strong {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
}

.home-flow p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.home-cta-band {
  padding: 88px 0;
  background:
    linear-gradient(90deg, rgba(15,79,158,0.96) 0%, rgba(15,79,158,0.94) 48%, rgba(15,79,158,0.62) 72%, rgba(15,79,158,0.18) 100%),
    url("/assets/images/hero/contact.jpg") center right / cover no-repeat;
}

.home-cta-band::before {
  display: none;
}

.cta-kicker {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.76);
}

.home-cta-band .cta-band-inner {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
}

.home-cta-band .cta-band-btn {
  min-height: 62px;
}

.home-cta-band .cta-band-btn.outline {
  background: rgba(255,255,255,0.08);
}

.page-hero {
  min-height: 460px;
  padding-bottom: 72px;
}

.page-hero-inner {
  align-items: end;
}

.page-title {
  font-size: clamp(48px, 6vw, 82px);
}

section table {
  box-shadow: var(--shadow-soft);
}

@media (max-width: 1180px) {
  .service-stack,
  .service-hub-grid,
  .works-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .concept-grid {
    grid-template-columns: 1fr;
  }

  .strength-stack {
    grid-template-columns: 1fr;
  }

  .strength-row {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }

  .home-flow {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .home-flow article {
    grid-template-columns: 76px 1fr;
    justify-items: start;
    text-align: left;
    column-gap: 18px;
    padding: 16px;
    background: #FFFFFF;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
  }

  .home-flow article:not(:last-child)::after {
    display: none;
  }

  .home-flow span {
    grid-row: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --head-h: 60px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .logo-mark {
    width: 36px;
    height: 36px;
  }

  .logo-jp {
    font-size: 15px;
  }

  .logo-en {
    max-width: 200px;
    font-size: 8px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--head-h) + 56px) 20px 64px;
  }

  .hero.has-photo .hero-photo-bg::after {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.84) 44%, rgba(255,255,255,0.58) 100%),
      linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.24) 100%);
  }

  .hero-photo-bg {
    background-position: 70% center;
  }

  .hero-h1-lg {
    font-size: clamp(38px, 11vw, 48px);
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.9;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-call,
  .hero-form-btn {
    width: 100%;
    min-width: 0;
  }

  .hero-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 12px 10px;
  }

  .hero-badges span {
    min-width: 0;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    gap: 4px;
  }

  .hero-badges span::before {
    font-size: 11px;
  }

  .concept-photo-grid {
    gap: 10px;
  }

  .service-stack,
  .service-hub-grid,
  .works-preview-grid {
    grid-template-columns: 1fr;
  }

  .section-lead-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .strength-row {
    padding: 28px 20px;
  }

  .str-body .str-title {
    min-height: 0;
  }

  .home-flow article {
    grid-template-columns: 56px 1fr;
  }

  .home-flow span {
    width: 56px;
    height: 56px;
    font-size: 13px;
  }

  .home-cta-band {
    padding: 64px 0;
    background:
      linear-gradient(180deg, rgba(15,79,158,0.98) 0%, rgba(15,79,158,0.94) 74%, rgba(15,79,158,0.70) 100%),
      url("/assets/images/hero/contact.jpg") center right / cover no-repeat;
  }

  .home-cta-band .cta-band-inner {
    grid-template-columns: 1fr;
  }

  .cta-band h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .cta-band-buttons {
    min-width: 0;
  }
}

/* Services concept fidelity */
.service-page-lede {
  margin-top: 32px;
  max-width: 560px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.9;
  color: var(--ink);
}

.service-feature-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.service-feature-list li {
  position: relative;
  padding-left: 18px;
}

.service-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1F74E0;
  font-weight: 700;
}

.service-matrix-section {
  background: #FFFFFF;
}

.matrix-card {
  padding: 42px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(255,255,255,0.96);
  box-shadow: var(--shadow-soft);
  overflow-x: auto;
}

.scope-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  font-family: var(--font-sans);
}

.scope-table thead {
  background: #F6F9FC !important;
  color: var(--ink) !important;
  letter-spacing: 0 !important;
}

.scope-table th,
.scope-table td {
  border: 1px solid var(--line-soft) !important;
  padding: 18px 16px !important;
  text-align: center;
}

.scope-table thead th {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  background: #F6F9FC !important;
}

.scope-table tbody th {
  width: 170px;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  background: #FBFCFE;
}

.scope-table td {
  color: #1F74E0;
  font-size: 22px;
  font-weight: 700;
}

.matrix-card p {
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-mute);
}

.service-flow-section {
  background: linear-gradient(180deg, #F6F9FC 0%, #FFFFFF 100%);
}

.service-flow-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 30px;
}

.service-flow-line article {
  position: relative;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.service-flow-line article:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 44px;
  right: -24px;
  color: #1F74E0;
  font-family: var(--font-mono);
  font-size: 20px;
}

.service-flow-line span {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: #FFFFFF;
  color: #1F74E0;
  font-family: var(--font-mono);
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.service-flow-line strong {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ink);
}

.service-flow-line p {
  font-size: 13px;
  line-height: 1.75;
  color: var(--ink-soft);
}

.quality-section {
  background: #FFFFFF;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.quality-grid article {
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #F8FBFE;
  box-shadow: var(--shadow-soft);
}

.quality-grid span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: #1F74E0;
  font-weight: 700;
}

.quality-grid h3 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ink);
}

.quality-grid p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ink-soft);
}

.service-final-cta {
  padding: 0 0 96px;
  background: #FFFFFF;
}

.service-final-cta-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  min-height: 330px;
  border-radius: 8px;
  overflow: hidden;
  background: #0F4F9E;
  box-shadow: var(--shadow-lift);
}

.service-final-cta-photo {
  background: url("/assets/images/hero/about.jpg") center / cover no-repeat;
  min-height: 280px;
}

.service-final-cta-body {
  padding: 54px 64px;
  color: #FFFFFF;
  background: linear-gradient(120deg, rgba(15,79,158,0.94), rgba(17,103,216,0.96));
}

.service-final-cta-body p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.72);
}

.service-final-cta-body h2 {
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 48px);
  color: #FFFFFF;
}

.service-final-cta-body h2 em {
  color: var(--signal);
}

.service-final-cta-body > span {
  display: block;
  margin-top: 14px;
  color: rgba(255,255,255,0.84);
}

.service-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.service-final-actions a,
.service-final-actions button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 8px;
  font-weight: 700;
}

.service-final-actions a {
  background: #FFFFFF;
  color: #0F4F9E;
  font-family: var(--font-serif);
  font-size: 22px;
}

.service-final-actions button {
  background: var(--signal);
  color: var(--ink);
}

@media (max-width: 1180px) {
  .service-flow-line,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-flow-line article:not(:last-child)::after {
    display: none;
  }

  .service-final-cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-page-lede {
    font-size: 16px;
    line-height: 1.8;
  }

  .matrix-card {
    padding: 18px;
    margin: 0 -4px;
  }

  .service-flow-line,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .service-flow-line article {
    grid-template-columns: 64px 1fr;
    justify-items: start;
    text-align: left;
    gap: 8px 16px;
    padding: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 8px;
    background: #FFFFFF;
  }

  .service-flow-line span {
    width: 64px;
    height: 64px;
    grid-row: span 2;
  }

  .service-final-cta {
    padding-bottom: 72px;
  }

  .service-final-cta-body {
    padding: 34px 24px;
  }

  .service-final-actions {
    display: grid;
  }
}

/* Compact subpage page headers */
.page-hero {
  min-height: 320px;
  padding: calc(var(--head-h) + 34px) 0 42px;
}

.page-hero-inner {
  gap: 32px;
}

.crumbs {
  margin-bottom: 16px;
}

.page-eyebrow {
  margin-bottom: 12px;
}

.page-title {
  font-size: clamp(38px, 4.8vw, 62px);
  line-height: 1.14;
}

.page-title small {
  margin-top: 10px;
}

.page-lede {
  font-size: 15px;
  line-height: 1.85;
}

.service-page-lede {
  margin-top: 18px;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.75;
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 280px;
    padding: calc(var(--head-h) + 34px) 0 34px;
  }

  .page-hero-inner {
    gap: 18px;
  }

  .crumbs {
    margin-bottom: 14px;
  }

  .page-title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .page-title small {
    font-size: 10px;
    margin-top: 9px;
  }

  .page-lede {
    font-size: 14px;
    line-height: 1.75;
  }
}

/* ============================================================
   Mobile UX Optimization Layer (final overrides)
   ============================================================ */
@media (max-width: 768px) {
  /* --- Layout: spacing & overflow guard --- */
  html, body {
    overflow-x: hidden;
  }
  body {
    -webkit-text-size-adjust: 100%;
  }
  .section {
    padding: 64px 0;
  }
  .section-head {
    margin-bottom: 28px;
  }

  /* --- Hamburger touch target (Apple HIG 44pt) --- */
  .hamburger {
    width: 44px;
    height: 44px;
  }
  .hamburger span {
    left: 12px;
    right: 12px;
  }
  .hamburger span:nth-child(1) { top: 16px; }
  .hamburger span:nth-child(2) { top: 21px; }
  .hamburger span:nth-child(3) { top: 26px; }
  .hamburger.active span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .hamburger.active span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

  /* --- Hero: prevent CTA pulse from causing horizontal scroll --- */
  .hero-actions {
    overflow: hidden;
    padding: 4px 0;
  }
  .hero-call {
    overflow: visible;
  }
  .hero-call-pulse {
    inset: -2px;
  }

  /* --- Header logo readability --- */
  .logo-en {
    display: none;
  }
  .logo-jp {
    font-size: 14px;
    letter-spacing: 0.02em;
  }

  /* --- Forms: 16px to disable iOS zoom on focus --- */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: 14px 14px;
  }
  .form-group label {
    font-size: 13px;
  }
  .contact-form {
    padding: 22px 18px 26px;
  }
  .submit-btn {
    padding: 18px 20px;
    font-size: 13px;
    min-height: 52px;
  }

  /* --- FAQ: bigger tap target, less padding --- */
  .faq-item summary {
    padding: 18px 12px 18px 4px;
    min-height: 56px;
    gap: 10px;
  }
  .faq-item summary em {
    flex: 0 0 auto;
  }
  .faq-body {
    padding: 0 12px 18px 4px;
    line-height: 1.85;
  }

  /* --- Tables: horizontal scroll wrapper --- */
  section table,
  .matrix-card table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    width: 100%;
    margin: 0;
  }
  section table thead,
  section table tbody,
  section table tr {
    display: table;
    width: 100%;
    table-layout: auto;
  }
  section table th,
  section table td {
    white-space: normal;
    font-size: 13px;
    padding: 10px 12px !important;
  }

  /* --- matrix-card on service pages: avoid edge clipping --- */
  .matrix-card {
    margin: 0;
    padding: 18px 16px;
    border-radius: 8px;
  }

  /* --- Tighter gaps on stacked cards --- */
  .home-flow,
  .service-stack,
  .service-hub-grid,
  .works-preview-grid {
    gap: 12px !important;
  }

  /* --- About strength row letter sizing --- */
  .strength-row {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 22px 18px;
  }
  .str-letter {
    font-size: 36px;
  }
  .str-body .str-title {
    font-size: 18px;
  }
  .str-body p {
    font-size: 14px;
    line-height: 1.85;
  }

  /* --- Process / flow steps tightening --- */
  .process-step {
    padding-left: 48px;
    padding-right: 4px;
  }

  /* --- CTA bands: stack & full-width buttons --- */
  .cta-band-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }
  .cta-band-buttons a,
  .cta-band-buttons button {
    width: 100%;
    justify-content: center;
  }

  /* --- Mobile menu: comfortable tap rows --- */
  .mobile-link {
    min-height: 60px;
    align-items: center;
  }
  .mobile-cta {
    min-height: 60px;
  }

  /* --- Modal close: enlarge tap area --- */
  .modal-close {
    width: 44px;
    height: 44px;
  }

  /* --- Footer: compact stacking --- */
  .footer-inner {
    gap: 28px;
    padding: 0 20px 28px;
  }
  .footer-col h4 {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .footer-col li,
  .footer-col p {
    font-size: 13px;
    line-height: 1.85;
  }

  /* --- Service-flow card icon centering on mobile --- */
  .service-flow-line article {
    align-items: center;
  }

  /* --- Hero badges sub-typography --- */
  .hero-badges span {
    font-size: 10.5px;
    line-height: 1.4;
  }

  /* --- Scroll-cue hidden globally on mobile (was already 1024 hidden) --- */
  .hero-scroll-cue {
    display: none;
  }

  /* --- Concept quote / large pull-quotes --- */
  .concept-quote {
    font-size: clamp(22px, 6.4vw, 28px);
    line-height: 1.55;
    padding-left: 16px;
  }
}

@media (max-width: 420px) {
  /* Even tighter tweaks for compact phones (iPhone SE/mini) */
  .section {
    padding: 56px 0;
  }
  .hero {
    padding: calc(var(--head-h) + 44px) 18px 56px;
  }
  .hero-h1-lg {
    font-size: clamp(30px, 9.2vw, 38px);
  }
  .hero-lede {
    font-size: 14px;
    line-height: 1.85;
  }
  .container {
    padding: 0 18px;
  }
  .hero-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 12px 8px;
  }
  .hero-badges span {
    font-size: 10px;
    letter-spacing: 0.02em;
    gap: 3px;
  }
  .strength-row {
    grid-template-columns: 56px 1fr;
    gap: 12px;
    padding: 20px 16px;
  }
  .str-letter {
    font-size: 32px;
  }
  .matrix-card {
    padding: 16px 14px;
  }
  .footer-inner {
    padding: 0 18px 24px;
  }
}

/* ============================================================
   ★ DESIGN REFINEMENT — Layout improvements
   ============================================================ */

/* --- HERO: editorial right-panel composition --- */
@media (min-width: 1025px) {
  .hero {
    padding-top: calc(var(--head-h) + 88px);
    padding-bottom: 128px;
  }

  .hero.has-photo .hero-photo-bg {
    inset: 0 0 0 auto;
    width: 58%;
    opacity: 1;
    border-left: none;
    mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 100%);
  }
  .hero.has-photo .hero-photo-bg::after {
    background:
      linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.0) 70%, rgba(238,245,252,0.45) 100%),
      linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(15,34,54,0.10) 100%);
  }
  .hero-grid-bg {
    opacity: 0.55;
    mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 60%);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 46%, transparent 60%);
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
    padding-top: 16px;
  }
  .hero-h1 { margin-top: 0; }
  .hero-copy { max-width: none; padding-right: 12px; }

  /* Decorative rotating stamp REMOVED — replaced by inline credential eyebrow above H1 */
  .hero-visual {
    display: none !important;
  }
  .hero-copy {
    padding-top: 0;
  }
}

/* --- HERO EYEBROW: official credential line above H1 --- */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 14px;
  padding: 10px 18px 10px 14px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 79, 158, 0.18);
  border-left: 3px solid var(--green);
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  line-height: 1.4;
  color: var(--ink-soft);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px -10px rgba(15, 79, 158, 0.18);
}
.hero-eyebrow .he-mark {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(30, 111, 217, 0.16);
  flex-shrink: 0;
}
.hero-eyebrow .he-en {
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--green);
  font-size: 10.5px;
  padding-right: 4px;
  border-right: 1px solid rgba(15, 79, 158, 0.18);
}
.hero-eyebrow .he-jp {
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  font-weight: 700;
}
.hero-eyebrow .he-jp-sub {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  padding-left: 8px;
  border-left: 1px dashed rgba(15, 79, 158, 0.22);
}

@media (max-width: 768px) {
  .hero-eyebrow {
    gap: 0 8px;
    padding: 8px 12px;
    font-size: 10px;
    margin-bottom: 20px;
  }
  .hero-eyebrow .he-en { font-size: 9.5px; }
  .hero-eyebrow .he-jp { font-size: 11px; }
  .hero-eyebrow .he-jp-sub { font-size: 10px; padding-left: 6px; }
}

/* HERO marquee: more presence */
.hero-marquee {
  font-size: 11.5px;
  letter-spacing: 0.24em;
  padding: 12px 0;
  background: linear-gradient(90deg, transparent 0%, var(--ink) 6%, var(--ink) 94%, transparent 100%);
}
.hero-marquee-track span:nth-child(even) {
  color: var(--signal);
  opacity: 1;
}

/* --- SERVICE GRID: 2 columns at desktop (was 4) --- */
@media (min-width: 1181px) {
  .service-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 30px !important;
    max-width: 1180px;
    margin: 0 auto;
  }
  .spec-illust { aspect-ratio: 16 / 8 !important; }
  .spec-head { padding: 18px 28px !important; min-height: 56px !important; }
  .spec-body { padding: 32px 36px 34px !important; gap: 18px !important; }
  .spec-title { font-size: 28px !important; }
  .spec-list { font-size: 15px !important; line-height: 1.9 !important; }
}

/* --- WORKS GRID: 2 columns at desktop (was 4) --- */
@media (min-width: 1181px) {
  .works-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
    max-width: 1180px;
    margin: 0 auto;
  }
  .works-preview-grid .work-illust { aspect-ratio: 16 / 9 !important; }
  .works-preview-grid .work-body { padding: 26px 28px 28px !important; }
  .works-preview-grid .work-title { font-size: 21px !important; }
  .works-preview-grid .work-card header { padding: 16px 22px !important; }
}

/* --- STRENGTH (3つのお約束): row-based editorial layout --- */
@media (min-width: 1025px) {
  .strength-section { padding: 120px 0 !important; }
  .strength-section .section-head {
    align-items: flex-start !important;
    text-align: left !important;
  }
  .strength-stack {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    max-width: 1024px;
    margin: 0 auto;
    border: none !important;
  }
  .strength-row {
    display: grid !important;
    grid-template-columns: 96px 1fr 200px !important;
    gap: 56px !important;
    padding: 56px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.16) !important;
    border-right: none !important;
    border-bottom: none !important;
    align-items: center;
  }
  .strength-row:last-child {
    border-bottom: 1px solid rgba(255,255,255,0.16) !important;
  }
  .str-letter {
    font-size: 64px !important;
    line-height: 1 !important;
  }
  .str-body .str-title {
    min-height: 0 !important;
    font-size: 30px !important;
    margin-bottom: 18px !important;
    line-height: 1.45 !important;
  }
  .str-body .str-desc {
    font-size: 15.5px !important;
    line-height: 2 !important;
    max-width: 580px;
  }
  .str-meta {
    flex-direction: column;
    align-items: flex-start !important;
    padding-left: 28px !important;
    border-left: 1px solid rgba(255,255,255,0.16) !important;
    gap: 6px !important;
  }
  .str-meta span:first-child {
    font-family: var(--font-mono);
    font-size: 10px !important;
    letter-spacing: 0.24em !important;
    color: rgba(255,255,255,0.5) !important;
  }
  .str-meta span:last-child {
    font-family: var(--font-serif);
    font-size: 18px !important;
    font-weight: 700;
    color: var(--signal) !important;
    margin-top: 4px;
  }
}

/* --- FLOW: dotted connecting line between steps --- */
@media (min-width: 1181px) {
  .home-flow {
    position: relative;
    padding: 0 48px;
  }
  .home-flow::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 8%;
    right: 8%;
    height: 0;
    border-top: 1.5px dashed var(--wood-soft);
    z-index: 0;
  }
  .home-flow article {
    position: relative;
    z-index: 1;
  }
  .home-flow article:not(:last-child)::after {
    display: none !important;
  }
  .home-flow span {
    background: var(--paper) !important;
    border: 2px solid var(--green) !important;
    color: var(--green) !important;
    width: 76px !important;
    height: 76px !important;
    box-shadow: 0 0 0 6px var(--paper), var(--shadow-soft) !important;
  }
  .home-flow strong { font-size: 18px !important; margin-top: 6px; }
  .home-flow p { font-size: 13.5px !important; }
}

/* --- FOOTER: brand-led 4 column composition at desktop --- */
.footer-block-rev { display: none !important; }

@media (min-width: 1025px) {
  .footer {
    padding: 88px 0 28px !important;
  }
  .footer-inner {
    grid-template-columns: 1.6fr 1fr 1.05fr 0.85fr !important;
    gap: 56px !important;
    padding-bottom: 56px !important;
    align-items: start;
  }
  .footer-block {
    gap: 16px !important;
  }
  .footer-block:first-child {
    padding-right: 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .footer-block:first-child .fb-body {
    gap: 8px !important;
  }
  .footer-block:first-child .fb-name {
    font-size: 22px !important;
    line-height: 1.3;
  }
  .footer-block:first-child .fb-en {
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    color: rgba(255,255,255,0.42) !important;
  }
  .footer-block:first-child .fb-tagline {
    margin-top: 14px;
    font-size: 12.5px;
    line-height: 1.85;
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.04em;
    max-width: 280px;
  }
  .fb-body span { font-size: 13.5px !important; line-height: 1.7; }
  .fb-body .fb-pre { color: rgba(255,255,255,0.55) !important; font-size: 12px !important; }
  .fb-body a {
    color: var(--paper);
    transition: color .2s var(--ease);
  }
  .fb-body a:hover { color: var(--signal); }
}

/* --- HOME CTA BAND: stronger final CTA --- */
@media (min-width: 1025px) {
  .home-cta-band { padding: 112px 0 !important; }
  .home-cta-band .cta-band-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 440px) !important;
    gap: 64px !important;
    align-items: center;
  }
  .cta-band h2 { font-size: clamp(36px, 4vw, 52px) !important; }
  .home-cta-band .cta-band-btn { min-height: 70px !important; padding: 18px 26px !important; }
  .home-cta-band .cta-band-btn:first-child span:last-child {
    font-size: 22px !important;
    letter-spacing: 0.04em;
  }
}

/* --- MOBILE FIXED CTA BAR --- */
.mobile-cta-bar { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 28px -14px rgba(15, 34, 54, 0.22);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  .mobile-cta-bar a,
  .mobile-cta-bar button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }
  .mobile-cta-bar .mcta-call {
    background: var(--green);
    color: var(--paper);
  }
  .mobile-cta-bar .mcta-call:hover { opacity: 1; }
  .mobile-cta-bar .mcta-call svg {
    width: 18px; height: 18px;
    flex-shrink: 0;
  }
  .mobile-cta-bar .mcta-call strong {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.03em;
  }
  .mobile-cta-bar .mcta-form {
    background: var(--signal);
    color: var(--ink);
  }
  .mobile-cta-bar .mcta-form span:last-child {
    font-family: var(--font-mono);
    font-size: 14px;
  }
  body { padding-bottom: 64px; }
  .hero-scroll-cue { display: none !important; }
}

/* --- TIGHTER tablet layout for services/works --- */
@media (min-width: 769px) and (max-width: 1180px) {
  .service-stack,
  .service-hub-grid,
  .works-preview-grid {
    gap: 22px !important;
  }
  .spec-title { font-size: 24px !important; }
  .spec-body { padding: 26px 26px 26px !important; }
}

/* --- SERVICES HUB (services.html): 2 cols at desktop instead of 4 --- */
@media (min-width: 1181px) {
  .service-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 32px !important;
    max-width: 1180px;
    margin: 0 auto;
  }
  .service-hub-illust { aspect-ratio: 16 / 8 !important; }
  .service-hub-card header { padding: 18px 28px !important; min-height: 56px !important; }
  .service-hub-body { padding: 32px 36px 34px !important; }
  .service-hub-body h3 { font-size: 28px !important; }
}

/* --- STRENGTH: add icon markers per row --- */
@media (min-width: 1025px) {
  .strength-row {
    grid-template-columns: 64px 110px 1fr 200px !important;
    gap: 32px !important;
  }
  /* hide /POINT text when icon is present (icon does the marker job) */
  .strength-row .str-slash,
  .strength-row .str-of {
    display: none !important;
  }
  .strength-row .str-idx {
    justify-content: flex-start;
    align-items: center;
  }
  .strength-row::before {
    content: "";
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 213, 59, 0.10);
    border: 1px solid rgba(255, 213, 59, 0.35);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
    align-self: center;
  }
  /* Icon 01: Wrench / Technical */
  .strength-row:nth-child(1)::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD53B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a4 4 0 0 1-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 1 5.4-5.4l-2 2-2-2 2-2a4 4 0 0 1 1 5z'/></svg>");
  }
  /* Icon 02: Lightning / Speed */
  .strength-row:nth-child(2)::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FFD53B' stroke='%23FFD53B' stroke-width='1' stroke-linejoin='round'><path d='M13 2L4 14h7l-1 8 9-12h-7l1-8z'/></svg>");
  }
  /* Icon 03: Magnifier / Integrity */
  .strength-row:nth-child(3)::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFD53B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='7'/><line x1='21' y1='21' x2='16.5' y2='16.5'/><line x1='8' y1='11' x2='14' y2='11'/><line x1='11' y1='8' x2='11' y2='14'/></svg>");
  }
}

/* --- HERO MARQUEE: re-enable on all sizes --- */
.hero-marquee {
  display: block !important;
  z-index: 5 !important;
  background: linear-gradient(90deg, transparent 0%, var(--ink) 4%, var(--ink) 96%, transparent 100%) !important;
}
.hero-marquee-track {
  display: flex !important;
  animation: marquee 38s linear infinite !important;
}
@media (min-width: 769px) {
  .hero {
    padding-top: calc(var(--head-h) + 88px) !important;
  }
}
@media (max-width: 768px) {
  .hero-marquee {
    font-size: 9.5px !important;
    letter-spacing: 0.16em !important;
    padding: 7px 0 !important;
  }
  .hero {
    padding-top: calc(var(--head-h) + 56px) !important;
  }
}

/* --- MOBILE HERO: full-bleed photo + text overlay (Option A) --- */
.hero-mobile-photo {
  display: none;
}

@media (max-width: 768px) {
  /* Photo as full-bleed background — worker visible in middle zone */
  .hero.has-photo .hero-photo-bg {
    opacity: 1 !important;
    background-position: 72% 38% !important;
    background-size: cover !important;
    filter: brightness(1) saturate(1.08) contrast(1.04);
  }
  .hero.has-photo .hero-photo-bg::after {
    background:
      /* dark zones where text sits, transparent middle so worker shows */
      linear-gradient(180deg,
        rgba(15, 34, 54, 0.62) 0%,
        rgba(15, 34, 54, 0.38) 16%,
        rgba(15, 34, 54, 0.08) 32%,
        rgba(15, 34, 54, 0.06) 50%,
        rgba(15, 34, 54, 0.55) 72%,
        rgba(15, 34, 54, 0.92) 92%,
        rgba(15, 34, 54, 0.98) 100%) !important;
  }
  .hero::before {
    display: none !important;
  }
  .hero-grid-bg,
  .hero-noise {
    display: none !important;
  }
  .hero-mobile-photo {
    display: none !important;
  }

  /* Hero base: dark canvas */
  .hero {
    background: var(--ink) !important;
    padding: calc(var(--head-h) + 64px) 20px 36px !important;
    min-height: 100vh !important;
    color: var(--paper) !important;
  }
  .hero-inner {
    min-height: 0 !important;
  }
  .hero-copy {
    max-width: none !important;
    color: var(--paper);
  }

  /* Eyebrow: white-on-translucent credential chip */
  .hero-eyebrow {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2px !important;
    padding: 9px 14px !important;
    margin-bottom: 24px !important;
    font-size: 10px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-left: 3px solid var(--signal) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--paper) !important;
    box-shadow: 0 8px 24px -10px rgba(0,0,0,0.45);
  }
  .hero-eyebrow .he-mark {
    background: var(--signal) !important;
    box-shadow: 0 0 0 3px rgba(255, 213, 59, 0.22) !important;
  }
  .hero-eyebrow .he-en {
    border-right: none !important;
    padding-right: 0 !important;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
    width: 100%;
    font-size: 9.5px !important;
    color: var(--signal) !important;
  }
  .hero-eyebrow .he-jp {
    font-size: 12px !important;
    color: var(--paper) !important;
  }
  .hero-eyebrow .he-jp-sub {
    padding-left: 0 !important;
    border-left: none !important;
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.78) !important;
  }

  /* Headline: balanced size so 住宅から工場まで fits on ONE line */
  .hero-h1, .hero-h1 * {
    color: var(--paper) !important;
  }
  .hero-h1 {
    margin-top: 0 !important;
  }
  .hero-h1-lg {
    font-size: clamp(34px, 9.5vw, 44px) !important;
    line-height: 1.28 !important;
    letter-spacing: 0.01em !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
    white-space: normal !important;
  }
  .hero-h1-lg .r {
    display: block !important;
  }
  .hero-h1-lg .brush-u {
    background: linear-gradient(transparent 84%, var(--signal) 84%, var(--signal) 100%) !important;
    padding: 0 2px !important;
    color: var(--paper) !important;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.5);
  }
  .hero-h1-lg .brush-u::after {
    display: none !important;
  }

  .hero-lede {
    font-size: 13.5px !important;
    line-height: 1.95 !important;
    margin-top: 22px !important;
    color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    max-width: 320px;
  }
  .hero-lede em {
    color: var(--signal) !important;
  }

  /* Actions: full width, primary first */
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 32px !important;
  }
  .hero-call,
  .hero-form-btn {
    width: 100% !important;
    justify-content: center;
  }
  .hero-call {
    padding: 16px 22px !important;
  }
  .hero-call-label strong {
    font-size: 22px !important;
  }
  .hero-form-btn {
    color: var(--paper) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hero-form-btn:hover {
    background: var(--paper) !important;
    color: var(--ink) !important;
    border-color: var(--paper) !important;
  }

  /* Badges: white-on-translucent trust strip */
  .hero-badges {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px !important;
    padding: 12px 14px !important;
    margin-top: 24px !important;
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 6px !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hero-badges span {
    font-size: 10.5px !important;
    letter-spacing: 0.06em !important;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .hero-badges span::before {
    color: var(--signal) !important;
  }
}

/* --- HERO COPY: shift further left at desktop --- */
@media (min-width: 1025px) {
  .hero {
    padding-left: 56px !important;
    padding-right: 0 !important;
  }
  .hero-inner {
    max-width: none !important;
    margin: 0 !important;
    grid-template-columns: minmax(0, 560px) 1fr !important;
    gap: 0 !important;
  }
  .hero-copy {
    padding-right: 32px;
  }
}
@media (min-width: 1440px) {
  .hero {
    padding-left: 88px !important;
  }
  .hero-inner {
    grid-template-columns: minmax(0, 640px) 1fr !important;
  }
}

/* --- CONCEPT: pair quote with photo grid more tightly --- */
@media (min-width: 1025px) {
  .concept-quote {
    position: relative;
    padding-left: 40px !important;
    margin-bottom: 56px !important;
  }
  .concept-quote::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    background: linear-gradient(180deg, var(--signal) 0%, var(--green) 100%);
  }
  .concept-photo-grid img {
    transition: transform .4s var(--ease), filter .4s var(--ease);
  }
  .concept-photo-grid img:hover {
    transform: scale(1.02);
    filter: saturate(1.06) contrast(1.02);
  }
}

/* --- WORKS preview cards: subtle metadata row --- */
@media (min-width: 1025px) {
  .works-preview-grid .work-card header {
    border-bottom: 1px dashed var(--line);
  }
  .works-preview-grid .work-body {
    gap: 10px;
    display: flex;
    flex-direction: column;
  }
  .works-preview-grid .work-desc {
    font-size: 14px;
    line-height: 1.85;
    color: var(--ink-soft);
  }
}

/* --- FOOTER: cleaner block typography --- */
@media (min-width: 1025px) {
  .footer-block {
    gap: 14px !important;
  }
  .fb-head span {
    font-size: 11px !important;
    color: var(--signal) !important;
    font-weight: 600 !important;
  }
}

/* --- PAGE HERO: editorial polish for inner pages --- */
@media (min-width: 1025px) {
  .page-hero {
    min-height: 480px !important;
    padding-bottom: 88px !important;
  }
  .page-hero .breadcrumbs,
  .page-hero .page-eyebrow {
    margin-bottom: 18px;
  }
  .page-title {
    position: relative;
    padding-bottom: 24px;
  }
  .page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    background: var(--signal);
    border-radius: 2px;
  }
}

/* --- CONCEPT: tighter visual pairing of quote + body + photo --- */
@media (min-width: 1181px) {
  .concept-quote {
    margin-bottom: 40px !important;
    max-width: 720px !important;
    font-size: clamp(26px, 2.6vw, 34px) !important;
    line-height: 1.6 !important;
    padding-left: 32px !important;
  }
  .concept-quote::before {
    width: 3px !important;
    background: linear-gradient(180deg, var(--signal) 0%, var(--green) 60%, var(--green-dark) 100%) !important;
  }
  .concept-quote cite {
    margin-top: 14px !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    color: var(--ink-mute) !important;
    font-family: var(--font-mono) !important;
    font-style: normal !important;
    display: block;
  }
  .concept-grid {
    gap: 56px !important;
    align-items: start !important;
  }
  /* Single featured image — tall portrait-style */
  .concept-photo-grid {
    grid-template-columns: 1fr !important;
  }
  .concept-photo-grid img:first-child {
    grid-column: auto !important;
    aspect-ratio: 4 / 5 !important;
  }
  .concept-body p {
    margin-bottom: 18px;
  }
  .concept-body p:last-of-type {
    margin-bottom: 24px;
  }
}

/* --- CONTACT: emphasize phone card on contact.html --- */
@media (min-width: 1025px) {
  .contact-channels .license-card:first-child {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 24px 60px -28px rgba(15, 79, 158, 0.5) !important;
  }
  .contact-channels .license-card:first-child .license-tag {
    color: var(--signal) !important;
  }
  .contact-channels .license-card:first-child .license-title {
    color: var(--paper) !important;
  }
  .contact-channels .license-card:first-child .license-desc,
  .contact-channels .license-card:first-child .license-desc * {
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .contact-channels .license-card:first-child .license-desc a {
    color: var(--signal) !important;
    border-bottom-color: var(--signal) !important;
  }
}

/* --- HEADER NAV: subtle bottom indicator on hover/current --- */
.nav-desktop a {
  position: relative;
  padding-bottom: 4px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a.is-current::after {
  transform: scaleX(1);
}

/* --- WORK-KV: tighter layout in preview cards --- */
@media (min-width: 1181px) {
  .works-preview-grid .work-kv {
    grid-template-columns: 88px 1fr !important;
    gap: 6px 14px !important;
    padding-top: 16px !important;
    margin-top: 12px !important;
  }
  .works-preview-grid .work-kv dt {
    font-size: 10.5px !important;
  }
  .works-preview-grid .work-kv dd {
    font-size: 13.5px !important;
  }
}
